/*
 Theme Name:   Sahifa-Child
 Author:       Lis
 Author URI:   http://lis.im
 Template:     sahifa
*/

#p_desc {
    font-size: 14pt;
}

.header-schedule.short {
    height: 40px;
    display: block;
}

.header-schedule_background {
    background: linear-gradient(90deg, rgba(9,112,215,1) 0%, rgba(9,112,215,1) 50%, rgba(7,92,176,1) 50%, rgba(7,92,176,1) 100%);
    min-height: 40px;
    position: relative;
    display: block;
    width: 100vw;
    left: 0;
    position: absolute;
}


.header-schedule.short .left-schedule,
.header-schedule.short .right-schedule {
    width: 49%;
    float: left;
    display: block;
    position: relative;
    margin-left: 1%;
    display: block;
    line-height: 2.5em;
}

.header-schedule.short .left-schedule strong,
.header-schedule.short .right-schedule strong {
    color: #92bee1;
    margin: 10px;
    font-size: 14px;
}

.header-schedule.short .left-schedule span,
.header-schedule.short .right-schedule span {
    color: #FFF;
    font-size: 14px;
    font-weight: 600;
}


.search-line {
    background-color: #013665;
    float: right;
    width: 500px;
    height: 60px;
    position: relative;
    top: 20px;
    z-index: 999;
}

.search-line #searchform-header {
    margin-top: 13px;
}

.search-line #searchform-header input.search-live {
    width: 100%;
    height: 30px;
}

.search-block {
    padding-top: 0px !important;
}

.fixed-nav .search-line {
    top: 100px;
}

.fixed-nav-appear.fixed-nav .search-line {
    top: 50px;
}

.search-block .fa.fa-search {
    position: absolute;
    top: 15px;
    left: 17px;
}

.search-button {
    width: 35px !important;
    height: 35px !important;
    margin: 7px 7px 0;
}

::-webkit-scrollbar {
    height: 0 !important;
}

#fav_programs_title:before {
    content: "";
    background-color: #edf1f6;
    width: 200vw;
    height: 740px;
    transform: translateX(-50%);
    position: absolute;
}

#featured-posts {
    display: initial !important;
}

#featured-posts:before {
    content: "";
    background-color: #edf1f6;
    width: 200vw;
    height: 680px;
    transform: translateX(-50%);
    position: absolute;
    left: 0;

}

@media only screen and (max-width: 736px) {
    #featured-posts:before {
        top: -60px;
        height: 580px;
    }
}

.home h1.page-title {
    display: none !important;
}

header .logo h1,
header .logo h2 {
    display: inline-block !important;
    float: left !important;
}

header .logo h4 {
    display: inline-block !important;
    float: left !important;
    position: relative;
    top: 60px;
    text-transform: lowercase;
    margin-left: 20px;
    font-size: 12px;
    line-height: 20px;
    color: #96a0a8;
}

.search-block:after {
    border: 0px solid transparent !important;
}

.search-block .search-button {
    background-color: #fff !important;
    color: #013765 !important;
    margin: 7px 7px 0;
}


.search-block:hover .fa-search:before {
    content: "";
    color: #fff;
    width: 30px;
    height: 30px;
    position: relative;
    left: -2px;
    display: block;
    z-index: 99999;
    background-image: url(//static3.1tv.ru/assets/web/search-white-f1e1caee6b681bc80ae3fa93c86a0e6102266ca0689ff2b889e03d62a7cb98a5.svg);
    background-position: center center;
    background-color: #013765;
    background-size: 20px 20px;
    background-repeat: no-repeat;
    border-radius: 3px;
}

.search-block .fa-search:before {
    content: "";
    color: #013765;
    width: 30px;
    height: 30px;
    position: relative;
    left: -2px;
    display: block;
    z-index: 99999;
    background-image: url(//static3.1tv.ru/assets/web/search-blue-635e469c445b5332771e9b392f53ab090ab8236de40a64f903725009bd28c914.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 20px 20px;
}

.logomob {
    display: none;
}

@media only screen and (max-width: 700px) {
    .pk {
        display: none;
    }

    .mob {
        display: block;
    }

    .day-block {
        float: none;
        width: 100%;
        padding: 10px 10px 10px 0;
    }

    .e3lan.e3lan-top {
        display: none;
    }


    .logo {
        display: none;
    }

    .logomob {
        display: block;
    }

}

@media only screen and (max-width: 1045px) {
    .pk {
        display: none;
    }

    .mob {
        display: block;
    }

    .day-block {
        float: none;
        width: 100%;
        padding: 10px 10px 10px 0;
    }

    .e3lan.e3lan-top {
        display: none;
    }

    .logo {
        display: none;
    }

    .logomob {
        display: none;
    }
}

@media only screen and (max-width: 990px) {
    .pk {
        display: none;
    }

    .mob {
        display: block;
    }

    .day-block {
        float: none;
        width: 100%;
        padding: 10px 10px 10px 0;
    }

    .e3lan.e3lan-top {
        display: none;
    }


    .logo {
        display: none;
    }

    .logomob {
        display: block;
    }
}

@media only screen and (max-width: 900px) {
    .pk {
        display: none;
    }

    .mob {
        display: block;
    }

    .day-block {
        float: none;
        width: 100%;
        padding: 10px 10px 10px 0;
    }

    .e3lan.e3lan-top {
        display: none;
    }


    .logo {
        display: none;
    }

    .logomob {
        display: block;
    }
}

@media only screen and (max-width: 730px) {
    .pk {
        display: none;
    }

    .mob {
        display: block;
    }

    .day-block {
        float: none;
        width: 100%;
        padding: 10px 10px 10px 0;
    }

    .e3lan.e3lan-top {
        display: none;
    }

    .header-schedule.short {
        height: auto;
        display: inline-block;
    }

    .header-schedule.short .left-schedule, .header-schedule.short .right-schedule {
        width: 100%;
    }

    .header-schedule_background {
        /*background-color: #0757a8;*/
        background: linear-gradient(to top, #1f7ac2, #0757a8);
        min-height: 140px;
    }

    .right-schedule {
        border-top: 1px solid #2f74b9;
    }

    .l_progname {
        display: block;
        width: 100%;
    }

    #slide-out-open {
        top: 150px;
    }


    .logo {
        display: none;
    }

    .logomob {
        display: block;
    }
}

@media only screen and (max-width: 670px) {
    .pk {
        display: none;
    }

    .mob {
        display: block;
    }

    .day-block {
        float: none;
        width: 100%;
        padding: 10px 10px 10px 0;
    }

    .e3lan.e3lan-top {
        display: none;
    }


    .logo {
        display: none;
    }

    .logomob {
        display: block;
    }
}

@media only screen and (max-width: 500px) {
    .pk {
        display: none;
    }

    .mob {
        display: block;
    }

    .day-block {
        float: none;
        width: 100%;
        padding: 10px 10px 10px 0;
    }

    .e3lan.e3lan-top {
        display: none;
    }

    .dg_footer {
        height: 420px !important;
    }


    .logo {
        display: none;
    }

    .logomob {
        display: block;
    }
}

@media only screen and (max-width: 350px) {
    .pk {
        display: none;
    }

    .mob {
        display: block;
    }

    .day-block {
        float: none;
        width: 100%;
        padding: 10px 10px 10px 0;
    }

    .e3lan.e3lan-top {
        display: none;
    }

    .dg_footer {
        height: 380px !important;
    }

    .logo {
        display: none;
    }

    .logomob {
        display: block;
    }
}

.bann {
    z-index: 1001;
}

.wp-pap-mfp-popup table {
    display: none;
}

img#p_img {

    margin: 0 auto 25px auto;
    display: block;
    max-width: 100%;
}

div#popup_progdesc {
    width: 900px;
    max-width: 100%;
}

div#popup_progdesc h3 {
    text-align: center;
    font-size: 30px;
    margin-bottom: 20px;
    color: #0757A8;
    font-weight: bold;
}

a#p_more {
    background: #ccc;
    padding: 10px 42px;
    display: table;
    margin: 20px auto;
    border-radius: 8px;
    background: linear-gradient(to top, #ff7725, #ff9947);
    color: white;
    border-bottom: 3px solid #d4671b;
    font-size: 18px;
}

a#p_more:hover {
    background: linear-gradient(to bottom, #ff7725, #ff9947);
}

div#popup_progdesc h4 {
    text-align: center;
    color: #969292;
    font-size: 20px;
    border-bottom: 1px solid;
    display: table;
    margin: auto;
    margin-bottom: 20px;
}

ul#tv_ {
    right: 0;
    top: 110px;
    position: fixed;
    margin: 0px;
    padding: 0px;
    list-style: none;
    z-index: 9999;
}

ul#tv_ li {
    right: 0px;
    position: relative;
    margin: 2px;
    transition: all 0.7s ease-in;

}

ul#tv_ li a {
    background-color: #00e7ff;
    background-image: url(/wp-content/themes/sahifa-child/images/tv.png);
    text-align: right;

    display: block;
    width: 165px;
    height: 110px;
    background-repeat: no-repeat;
    text-decoration: none;
    font-size: 12px;
    color: #FFFFFF;
    font-weight: bold;
    background-size: contain;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    transition: all 0.7s ease-in;
}

ul#tv_ li a:hover {
    background-color: #dbef21;
}

ul#tv_ span {
    font-size: 20px;
    margin-top: 20px;
    display: inline-block;

    color: #cc3119;
}