﻿/* ----------- Extra small devices (portrait phones, less than 576px) ----------- */
@media (max-width: 575px) {

    p {
        font-size: 18px;
    }

    .h2, h2 {
        font-size: 1.5rem;
    }


        .itemMosaic .assetTitle {
            padding: 10px 5px 5px 0px;
            font-size: 12px;
        }

    img.itemImg:not(.M) {
        height: 100px;
    }


    .episodeImage {
        /* width: 30%; */
        -ms-flex: 0 0 40%;
        flex: 0 0 40%;
        max-width: 40%;
        padding: 0 0 0 10px;
    }

    .episodeText {
        -ms-flex: 0 0 60%;
        flex: 0 0 60%;
        max-width: 60%;
        padding: 0;
    }

    .episodeSynopsis {
        font-size: 13px;
        max-height: 5.4em;
        width: 100%;
        overflow: hidden;
        margin-top: 0px;
        line-height: 1.1em;
        padding-left: 7px;
    }



    #episodesInfo .episodeTitle {
        line-height: 17px;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        font-size: 17px;
        padding-left: 15px;
    }

    .episodeDuration {
        font-size: 14px;
    }

    #dvMainSeason #episodesInfo {
        padding: 0;
        position: relative;
        height: auto;
    }

    #episodesInfo .tab-pane .row {
        margin: 0 0 30px 0;
    }

    #dvMainSeason h2.itemTitle {
        padding: 5px;
        position: relative;
        bottom: 10px;
        background: #000;
        display: inline;
    }

    #dvMainSeason .itemTitleDiv {
        text-align: center;
    }

    #dvMainSeason #seasonInfo {
        position: relative;
    }

    #episodesInfo .nav-tabs {
        position: relative;
        top: auto;
        height: auto;
        line-height: 45px;
    }

    #episodesInfo .dropdown {
        z-index: 22;
    }


    #dvMainSeason select#seasons {
        margin: 15px 0;
    }

    #dvMainSeason #episodesInfo .tab-content {
        margin: 20px 0 0;
    }



    #dvMainSeason .promoImage {
        width: 100%;
    }

    #episodesInfo .dropdown-toggle::after {
        /* margin-left: 0.255em; */
        right: 5px;
        position: relative;
    }

    #dvMainSeason .itemDescription {
        text-align: right;
        font-size: 17px;
        line-height: 1.3;
    }

    #loginLogo {
        margin-bottom: 0;
    }

    #dvContent {
        min-height: 60vh;
    }
}

/* ----------- Small devices (landscape phones, 576px and up) ----------- */
@media (min-width: 992px) {
    #menusSmall .mainMenu .menuItem {
        margin-left: 20px;
    }

       

        .itemMosaic .assetTitle {
            font-size: 12px;
        }

    img.itemImg:not(.M) {
        height: 100px;
    }

    #dvLinear .channelBoxInner {
        width: auto;
        height: 100px;
    }

    #dvLinear .DvChannelIntroRow {
        min-height: auto;
        height: 550px;
        position: fixed;
        top: 60px;
        width: 50%;
    }

    #dvLinear .liveChannelMetadataSmall {
        font-size: 16px;
        line-height: 1;
    }

    #dvLinear #dvCurrentChannelIntro {
        position: relative;
        top: auto;
    }

    #dvLinear .pipImage {
        width: 60%;
        height: auto;
    }

    #dvCurrentEventTime {
        width: 60%;
    }

    #dvLinear .channelBox.selected .channelBoxInner:after, #dvMainSeason .episodeImage:after {
        background-size: 50px;
    }

    #dvProgressBar {
        width: 50%;
        min-width: 50%;
        bottom: 25px;
    }

        #dvProgressBar #dvTime {
            position: absolute;
            right: -80px;
            bottom: -13px;
        }

        #dvProgressBar #dvTimeOnGoing {
            position: absolute;
            left: -80px;
            bottom: -13px;
        }

        #dvProgressBar .inPr {
            position: absolute;
            left: 0px;
            background-image: url('../images/player/progressBg.png');
            width: 100%;
            min-width: 100%;
            height: 5px;
            z-index: 30;
        }

        #dvProgressBar #dvOnGoingProgreesBar {
            position: absolute;
            right: 0;
            left: 0px;
            top: 0;
            background-color: red;
            height: 5px;
            width: 0px;
            z-index: 30;
        }

        #dvProgressBar #dvBarIndicator {
            position: absolute;
            bottom: -7px;
            left: 0px;
            background-color: #fff;
            width: 13px;
            height: 10px;
        }

    #userBtns {
        position: absolute;
        right: 0;
        left: 0;
        bottom: 35px;
        text-align: center;
    }
}

/* ----------- Medium devices (tablets, 768px and up) ----------- */
@media (min-width: 768px) {
    img.itemImg:not(.M) {
        height: 120px;
    }


    #dvMainSeason #seasonInfo {
        padding-left: 40px;
        border-left: 1px solid #2d2d2d;
    }

    #dvMainSeason #episodesInfo {
        padding-right: 40px;
    }

    #dvMainMovie {
        margin: 40px 80px 0 80px;
    }

    #dvLinear #dvCurrentChannelIntro {
        top: 0;
    }

    #dvLinear .channelBoxInner {
        height: 135px;
    }

    #dvLinear .DvChannelIntroRow {
        height: auto;
        position: fixed;
        width: 41.6%;
        top: 60px;
    }

    #dvLinear .liveChannelTitle {
    }

    #dvLinear .pipImage {
        width: 60%;
    }

    #dvCurrentEventTime {
        width: 60%;
    }

    #dvLinear .channelBox.selected .channelBoxInner:after, #dvMainSeason .episodeImage:after {
        background-size: 60px;
    }

    #dvLinear .pipImageLink:after {
        background-size: 80px;
    }
}

/* ----------- Large devices (desktops, 992px and up) ----------- */
@media (min-width: 992px) {

    #dvHeader {
        height: 110px;
    }

    #dvPopupLogin {
        width: 80%;
    }

    #dvContent {
        margin: 110px 0 50px;
    }

    #dvBreadCrumbs {
        top: 110px;
    }

    #dvSearch {
        top: 50px;
        bottom: -50px;
    }

    img.itemImg:not(.M) {
        height: 150px;
    }

    #dvMainMovie {
        margin: 40px 80px 0 80px;
    }

        #dvMainMovie #moviePromo {
            text-align: left;
        }

            #dvMainMovie #moviePromo .imageWrapper {
                width: 80%;
            }

    #dvMainSeason #seasonInfo {
        padding-left: 40px;
        border-left: 1px solid #2d2d2d;
    }

    #dvMainSeason #episodesInfo {
        padding-right: 40px;
    }

    #dvLinear #dvCurrentChannelIntro {
        position: fixed;
        top: 110px;
        z-index: 99;
    }

    #dvLinear .currentChannelIntro:before {
        content: "";
        background: linear-gradient(to right, rgba(0,0,0,0.6) 25%, rgba(0,0,0,0.8) 40%, rgba(0,0,0,1) 60%);
        position: absolute;
        right: 0;
        left: 0;
        top: 0;
        bottom: 0;
    }


    #dvLinear .channelBoxInner {
        width: auto;
        height: 150px;
    }

    #dvLinear .DvChannelIntroRow {
        display: -ms-flexbox;
        display: flex;
        height: 280px;
        top: auto;
        position: relative;
        width: auto;
    }

    #dvLinear #dvMainChannels {
        /*margin-bottom: 200px;*/
        top: 380px;
    }

    #dvLinear .liveChannelTitle {
        font-size: 32px;
        line-height: 1.2;
    }

    #dvLinear .currentChannelIntro {
        background-size: 100%;
    }

    #dvLinear .DvLogoCol, .DvInfoCol {
        margin: auto;
    }

    #dvLinear .pipImage {
        width: 60%;
    }

    #dvCurrentEventTime {
        width: 60%;
    }

    .footerLinksMenu {
        bottom: 0px;
    }

    .dvSearchField input {
        width: 200px;
    }

    #userBtns {
        left: 85%;
        right: auto;
        bottom: 11px;
    }

    #fullScreen {
        position: absolute;
        right: -45px;
        bottom: -2px;
        height: 30px;
        width: 30px;
        background-size: contain;
        background-repeat: no-repeat;
        background-image: url('../images/player/full_screen.png');
    }

    .seasonsEpisodes, #serEpisodes {
        position: absolute;
        bottom: 33px;
        height: 300px;
        background: #252525;
        left: auto;
        right: -150px;
        overflow-y: scroll;
        display: none;
        width: 350px;
        text-align: center;
        padding: 15px;
        border-bottom: 30px solid #252525;
        margin: auto;
    }

    #dvPopupModal .listOptionsPopup li a {
        /* width:30%; */
    }

    #maindvPopupModal {
        width: 700px;
    }

    #dvPopupModal .listOptionsPopup li {
        width: 55%;
    }
}

/* -----------  Extra large devices (large desktops, 1200px and up) ----------- */
@media (min-width: 1200px) {

    #dvLinear .DvChannelIntroRow {
        min-height: 280px;
    }

    /*#dvLinear #dvMainChannels {
        margin-bottom: 250px;
    }*/

    #dvLinear .liveChannelSynopsis {
        font-size: 18px;
    }

    #dvLinear .channelBoxInner {
        height: 200px;
    }
}




/* -----------  Extra Extra large devices (Extra large desktops, 1500px and up) ----------- */
@media (min-width: 1500px) {
    img.itemImg:not(.M) {
        height: 220px;
    }

    #dvLinear .DvChannelIntroRow {
        height: 380px;
    }
}
