/* Ayr United TV Styles and Layouts */

@media screen {


    .video-wrap {
        display: block;
        width: 95%;
        margin: 0 auto;
        overflow: hidden;
        align-items: center;
        padding: 20px;
    }


    .stream {
        position: absolute;
        z-index: 3;
        background-color: #000;
        left: 15%;
        bottom: 2%;
        padding: 10px;
        border-left: solid 5px var(--highlight);
    }


    .stream h5 {
        color: var(--highlight);
        font-size: 0.8em;
    }


    .stream h4 {
        color: #fff;
        font-size: 1.1em;
        margin-top: 10px;
        margin-bottom: 20px;
        width: 75%;
        line-height: 1.5em;

    }


    .stream p {
        color: #fff;
        font-size: 0.7em
    }


    .livestreamgame {
        width: 100%;
        height: 500px;
        margin: 0 auto;
        z-index: 2;
    }



    .livestreamgame h3 {
        display: none;
    }

    .category-wrap {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: flex-start;
        width: 100%;
        background-color: var(--black);
        margin-top: 25px;
        margin-bottom: 50px;
    }

    .category-wrap.topten {
        background-color: var(--lightgrey)
    }



    .tvSection {
        height: 300px;
        width: 100%;
        margin: 1%;
        background-position: 50%;
        background-repeat: no-repeat;
        background-size: cover;
        overflow: hidden;
        position: relative;
        display: block;
        flex-grow: 1;
    }

    .category-wrap.content .tvSection {
        width: 450px;
        height: 350px;
        margin: 10px
    }

    .tvSection.home {
        width: 19%;
    }

    .tv-grid .tvSection.video {
        width: 100%;
    }

    .tvSection.video {
        height: 300px;
        background-color: #fff;
        box-shadow: 10px 10px 40px #000;
    }

    .tvSection a {
        height: 100%;
        width: 100%;
        display: block;
        margin: 0;
    }

    .tvSection a:hover .tvSectionOverlay {
        height: 100px;
        background-color: #000;
        color: var(--white);
    }



    .tvSectionOverlay {
        position: absolute;
        width: 100%;
        height: 60px;
        /* padding-left: 25px; */
        bottom: 0;

        line-height: 60px;
        font-size: 15px;
        text-align: center;

        font-weight: 700;



        background-color: #00000090;
        color: #fff;
        z-index: 2;

        transition: all .5s ease-in-out;


    }

    .tvSectionOverlay:hover {
        height: 100px;
        background-color: #000;
    }

    .tvSectionOverlay span {
        display: block;
        margin: 0;
    }

    .tvSection span.lower {
        line-height: 30px;
        font-size: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 110%;
        background-color: #E2BA4E;
        margin: auto;
        margin-left: -10%;
        color: #000;
    }

    .video-overlay {
        color: #000;
        position: absolute;
        width: 100%;
        height: 100%;
        bottom: 0;
    }

    .video_desc,
    .video-thumbnail {
        display: block;
        width: 100%;
        height: 50%;
        position: relative;
    }

    .video_desc {
        overflow: visible;
        padding-top: 10px;
    }

    .video_desc:before {
        content: "";
        position: absolute;
        height: 5px;
        background-image: var(--lineargrad);
        width: 100%;
        left: 0;
        top: -5px;
    }

    .video-thumbnail img {
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
        object-fit: cover;
        aspect-ratio: 16/9;
        width: 100%;
    }

    .video-thumbnail img.main {
        opacity: 1;
    }

    .video-thumbnail:hover img.main {
        opacity: 0;
    }

    .video-thumbnail:hover img.alt {
        opacity: 1
    }

    .video_desc h3 {
        margin: 5px 20px;
        font-size: 0.7em;
        font-weight: 900;
        margin-bottom: 15px;
        /* height: 40px; */

    }

    .video_desc p {
        width: 90%;
        margin: 5px auto;
        font-size: 14px;
        line-height: 1.5em;
        color: #000;

    }

    .v-duration {
        position: absolute;
        bottom: 10px;
        right: 10px;
        height: 35px;
        background-color: #00000090;
        color: #fff;
        font-size: 14px;
        padding: 5px;
        align-items: center;
        justify-content: flex-start;
        display: flex;
        transition: color ease-in-out 1s;
        width: 100px;
        text-align: center;
    }

    .v-duration svg {
        margin: 0;
        margin-right: 10px;
        height: 25px;
        width: 25px;
    }

    .v-duration:hover {
        color: var(--highlight);
        background-color: var(--black);
    }

    p.bottom {
        position: absolute;
        bottom: 10px;
        left: 10px;
    }

    .listing-video {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-start;
        flex-wrap: wrap;
        margin: 0 -16px;
    }

    .listing__item {
        margin: 0 16px 32px;
        width: calc(50% - 32px);
        height: 450px;
        background-position: 50%;
        background-size: cover;
        flex-grow: 1;
    }

    .article-videos {
        width: 90%;
        margin: 10px auto;
        position: relative;
        align-items: center;
        display: flex;
        justify-content: flex-start;
        flex-direction: row;
        flex-wrap: wrap;
        opacity: 1;
        height: auto;
        transition: all ease-in 1s;
    }

    .article-videos.hidden {
        height: 0px;
        opacity: 0;
    }



    @media screen {

        .video_player_wrap {
            width: 50%;
            display: block;
            margin: 20px auto;
            box-shadow: 20px 20px 40px #000;
            min-height: 880px;
        }

        .wrap-back {
            background-color: rgb(158, 52, 52);
            height: 50px;
            color: #000000;
            width: 100%;
            line-height: 50px;
            padding-left: 25px;
        }

        .wrap-back a {
            color: #332c1a;
            font-weight: 700;
        }

        .wrap-back a:hover {
            text-decoration: underline;
        }

        .mux-player {
            width: 100%;
            display: block;
            min-height: 800px;
            max-height: 100%;
            height: 100%;

        }
    }



}

.yt_overlay {
    height: 800px;
    width: 100%;
    z-index: 3;
    position: absolute;
    top: 50px;
    left: 0;
}


@media only screen {
    .sliderRange {
        float: left;
        margin: 5px 1%;
        width: 98%;
        display: block;
        background: #f0f0f0;
        height: 7px;
        box-shadow: 0 1px 0px rgba(255, 255, 255, 0.25), inset 0 0 4px rgba(0, 0, 0, 0.9);
    }

    .sliderRange.vol {
        width: 100px;
    }

    .sliderRange div.ui-slider-range {
        display: block;
        height: 7px;
        -moz-transition-property: background-color;
        -o-transition-property: background-color;
        -webkit-transition-property: background-color;
        transition-property: background-color;
        -moz-transition-duration: 100ms;
        -o-transition-duration: 100ms;
        -webkit-transition-duration: 100ms;
        transition-duration: 100ms;
    }

    .sliderRange.redslide div.ui-slider-range {
        background-color: var(--red);
        float: left;
    }

    .sliderRange.redslide div.ui-slider-range.hilite,
    .slider.redslide div.ui-slider-range.dragging {
        background-color: #ffa09b;
    }

    .sliderRange.whiteslide div.ui-slider-range {
        background-color: var(--white);
        float: left;
        margin: 0;
    }

    .slider.whiteslide div.ui-slider-range.hilite,
    .slider.whiteslide div.ui-slider-range.dragging {
        background-color: #f0f0f0;
        float: left;
    }

    .sliderRange a.ui-slider-handle {
        position: absolute;
        top: -5px;
        margin-left: -9px;
        z-index: 2;
        height: 16px;
        width: 16px;
        background-color: var(--yellow);
        background-size: 100% 100%;
        outline: none;
    }

    .sliderRange.redslide a.ui-slider-handle {
        width: 0;
        height: 0px;
    }
}



.player_controls {
    z-index: 10;
    height: 90px;
    background-color: var(--black);
    color: var(--white);
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    cursor: pointer;
}


.control_wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-content: flex-start;
    width: 100%;
}

.control_wrap div {
    margin: 10px;
}


svg.playicon {
    width: 40px;
    height: 40px;
    fill: var(--white);
    vertical-align: middle;
    padding: 5px;
}

svg.playicon:hover {
    background-color: pink;
}

g.muted,
g.play-icon {
    opacity: 0;
}

.volume,
.time {
    width: 180px;
    text-align: center;
    line-height: 30px;
    height: 50px;
}

.volume {
    padding-top: 10px;
}

.volLevel {
    margin-top: -0px !important;
}

.spacer {
    flex-grow: 1;
}

/* breakpoints */

@media screen and (min-width: 760px) {
    .listing__item {
        width: calc(33% - 32px);
    }

    .tvSection {
        width: 48%;
    }

    .video-overlay p {
        font-size: 13px;
        line-height: 1.2em;
    }
}

@media screen and (min-width: 1024px) {
    .listing__item {
        width: calc(25% - 32px);
    }

    .tvSection.video {
        height: 350px;
    }
}

@media screen and (min-width: 1280px) {
    .tvSection {
        width: 31%;
    }

    .video-overlay p {
        font-size: 15px;
        line-height: 1.3em;
    }
}

@media screen and (min-width: 1440px) {
    .listing__item {
        width: calc(20% - 32px);
    }

    .tvSection {
        width: 30%;
        flex-grow: 0;
    }
}

@media screen and (min-width:1800px) {
    .livestreamgame {
        margin-top: -5%;
    }


    .tvSection.video {
        height: 480px;
    }

    .video-thumbnail {

        height: 60%;
    }

    .video-thumbnail img {
        height: 100%;
    }

}