@media (max-width: 1050px) and (min-width: 820px)
{
    .content-wrapper h2 {
        padding-bottom: 0;
        margin-bottom: 10px;
    }

    .downloader2 {
        text-align: center;
    }

    .download-hover2 {
        float: none !important;
        display: inline-block !important;
        margin: 0 0 10px 0 !important;
    }

    .download-hover {
        margin-bottom: 15px;
    }
}

@media (max-width: 820px) {
    .download-container {
        margin-right: 0;
    }
    .select-languages {
        display: none;
    }
    .player-new-window {
        display: none;
    }
    .lx_wrap {
        padding-right: 0;
    }
    .external-video-block {
        padding-right: 0;
    }
    #main-content-wrapper {
        display:table;
        margin:0 auto;
        max-width: 625px;
    }

    .category-tabs .full {
        display: none;
    }
    .category-tabs .short {
        display: inline;
    }
    .content-wrapper .pagination .pages {
        display: none;
    }

    .content-wrapper .right-column {
        display: none;
    }

    #left-wrapper {
        width: 100%;
        margin-left: 0;
        padding-left: 15px;
        padding-right: 15px;
    }
    .content-wrapper .articles .article > .content {
        float: none;
    }
    .category-tabs > .tab {
        font-size: 14px;
        margin-right: 1%;
        width: 27%;
    }
    header .row div {
        text-align: center;
    }
    .player-new-window {
        display: none;
    }
    .video-player {
        display: inline-block;
    }

    #title-related-channels {
        display: block;
    }

    #main-related-channel {
        display: block;
        /*border: 1px solid #fff;*/
        margin-right: -20px;
        margin-left: -20px;
    }

    section.related-channels-main div img {
        width: 88px;
        height: 88px;
    }

    .boxlinks {
        display: none;
    }

    .channel-program {
    }

    .channel-program__logo {
        display: inline-block;
        width: auto !important;
        margin-left: 20px;
    }

    .channel-program-shows {
        clear: both;
        padding-top: 15px;
        margin-left: 5px !important;
        margin-right: 5px !important;
    }
    .channel-program__logo a div {
        display: block;
        float: left;
        font-size: 18px;
        padding: 20px 0 0 10px;
    }

    .channel-program__logo a img {
        float: left;
    }
    .channel-program__channel-picker {
        display: block !important;
        float: right;
        margin-top: 15px;
    }
    .show-full-list-telecasts {
        display: block !important;
    }

    .channel-program__channel-picker2 {
        display: block;
        width: 197px;
        margin: 0 auto !important;
        float: none;
    }

    .channel-program__picker-description {
        display: none;
    }

    .footer-left__show-without-sidebar {
        display: inline;
    }
}

@media (min-width: 820px) {
    #main-content-wrapper {
        display:table;
        margin:0 auto;
        padding-right: 25px;
    }
}

@media (min-width: 1040px) {
    .container {
        width: 1040px;
    }
}

@media (max-width: 1039px) {
    .container {
        width: 100%;
    }
}

@media (min-width: 768px) {

    .content-wrapper .articles .article > .content {
        float: none;
    }

}

@media (max-width: 767px) {
    .header-logo {
        float: none;
        margin: 0 auto;
    }

    .logo {
        background-image: url('/images/logo-mobile.png');
    }
}

@media (max-width: 992px) {
    .content-wrapper .main-filter ul.sort-filter {
        display: none;
    }
    /*
    .search-language {
        display: none;
    }
    */
    footer  > .pull-left, footer  > .pull-right {
        float: left !important;
    }

    #left-wrapper {
        padding-right: 15px;
    }

}

@media (min-width: 821px) and (max-width: 840px) {
    .metrics-icon-view {
        display: none;
    }

    .metrics > span {
        margin-right: 0;
    }


}

@media (max-width: 645px)
{
    .content-wrapper h2 {
        padding-bottom: 0;
        margin-bottom: 10px;
    }

    .downloader2 {
        text-align: center;
    }

    .download-hover2 {
        float: none !important;
        display: inline-block !important;
        margin: 0 0 10px 0 !important;
    }

    .download-hover {
        margin-bottom: 15px;
    }
}

@media (max-width: 500px) {
    .metrics-icon-view {
        display: none;
    }

    .metrics > span {
        margin-right: 0;
    }
}

@media (max-width: 460px) {
    .external-label {
        display: block;
    }

    .h1-mobile {
        display: block;
    }
    .h1-desktop {
        display: none;
    }
}
/*
@media (min-width: 992px) and (max-width: 1013px) {
    .content-wrapper .right-column {
        width: 35%;
    }

    #left-wrapper {
        width: 65%;
    }
}
*/
@media (max-width: 567px) {
    #main-content-wrapper {
        padding-right: 0px;
    }
    .category-tabs > .tab {
        font-size: 14px;
        margin-right: 1%;
        width: 27%;
    }

    .footer__links {
        list-style: none;
        padding: 0;
        text-align: center;
    }

    .footer__links li {
        display: inline;
        padding-right: 5%;
        font-size: 12px;
        line-height: 200%;
    }
    .footer__links li:last-child {
        padding-right: 0;
    }
    footer {
        margin-left: 0;
        margin-right: 0;
    }

    .hidden-mobile {
        display: none !important;
    }

    .visible-mobile {
        display: block;
    }

    .content-wrapper .articles .article > .content > .article-text {
        display: none;
    }


    .content-wrapper .articles .article > .content > .article-under-text {
        padding-top:15px;
        margin-left: 0;
    }

    .content-wrapper .articles .article > .content > .article-under-text p {
        line-height: 10%;
    }

    #main-related-channel {
        display: block;
        /*border: 1px solid #fff;*/
        margin-right: -20px;
        margin-left: -20px;
    }
    #tv-show {
        padding-right: 26px;
    }
    section.related-channels .line {
        display: inline-block;
        padding-bottom: 8px;
    }
    section.related-channels .line div {
        margin-right: 10px;
    }

    section.related-channels .line div:last-child {
        margin-right: 0px;
    }
    section.related-channels:first-child {
        margin-left: 0;
    }

    section.related-channels-main div img {
        width: 88px;
        height: 88px;
    }

    .last-item-channel-hidden {
        display: none !important;
    }

    .title {
        overflow: visible;
    }
}


@media (max-width: 900px) {
    footer .row .left {
        float: none;
    }

    .footer__right {
        padding-top: 10px;
        text-align: left;
    }
}


/*
@media (min-width: 768px) and (max-width: 991px) {
    .container {
        width: 100%;
    }
}
*/

@media (max-width: 356px) {
    section.related-channels-main div img {
        width: 75px;
        height: 75px;
    }
}
/*
@media (min-width: 566px) and (max-width: 672px) {
    section.related-channels-main div img {
        width: 88px;
        height: 88px;
    }


    .last-item-channel-show {
        display: inline-block !important;
    }

}
*/
/*
@media (min-width: 458px) and (max-width: 566px) {
    section.related-channels-main div img {
        width: 88px;
        height: 88px;
    }


    .last-item-channel-show {
        display: inline-block !important;
    }

}
*/

@media (min-width: 564px) and (max-width: 672px) {
    .last-item-channel-show {
        display: none !important;
    }
}

/*Iphone 6 - landscape*/
@media only screen
and (min-device-width: 375px)
and (max-device-width: 667px)
and (-webkit-min-device-pixel-ratio: 2)
and (orientation: landscape) {
    #stream  img{
        height: 330px;
    }
}

/* Iphone 5 - landscape */
@media only screen
and (min-device-width: 320px)
and (max-device-width: 588px)
and (-webkit-min-device-pixel-ratio: 2)
and (orientation: landscape) {
    #stream  img{
        height: 270px;
    }
}


/* Iphone 4 - landscape*/
@media only screen
and (min-device-width: 320px)
and (max-device-width: 480px)
and (-webkit-min-device-pixel-ratio: 2)
and (orientation: landscape) {
    #stream  img{
        height: 280px;
    }
}
/*
@media (max-width: 325px) {
    #main-related-channel {
        margin-right: -10px;
    }
}

*/

@media (max-width: 920px) and (min-width: 821px) {
    .boxlinks {
        padding-top: 10px;
        float: none !important;
        /*display: inline-block;*/
    }
    .box {
        text-align: center;
    }
    .block-current-time {
        display: inline-block;
        float: none !important;
    }
}

@media (max-width: 570px) {
    .channel-program__channel-picker {
        width: 197px;
        margin: 0 auto !important;
        float: none;
    }

    .channel-program__logo {
        margin-top: 10px;
        margin-bottom: 5px;
    }
}

@media (max-width: 430px) {
    .tabs li {
        width: 33px !important;
        font-size: 0.9em;
    }

    .downloader2 {
        padding: 0;
    }
}

@media (max-width: 370px) {
    .channel-program__logo a div {
        font-size: 1.1em;
    }
}

@media (max-width: 585px) and (min-width: 460px) {
    .h1-mobile {
        display: block;
    }
    .h1-desktop {
        display: none;
    }
}