﻿/*
 * Шапка kinogo_adptv + мобильная вёрстка (kinogo_new2)
 * Подключать ПОСЛЕ styles.min.css
 */

.header44 .main_menu a {
    margin-right: 20px;
}

.header44 .user_panel,
.loginin {
    font-size: 13px;
}

.header44 {
    width: 100%;
    overflow: auto;
    margin-top: -40px;
    padding-bottom: 50px;
}

.header44 .main_menu {
    padding-top: 14px;
    float: left;
}

.header44 .user_panel {
    float: right;
    padding-top: 10px;
    text-align: right;
    height: 22px;
}

.loginin {
    float: left;
    padding-left: 10px;
    color: #dfdfdf;
    padding-top: 5px;
}

.loginin a {
    color: #e0dfdc;
    text-decoration: underline;
}

.loginin .js-login {
    cursor: pointer;
}

.header44 .search_panel {
    float: right;
    width: 210px;
    margin-top: 14px;
    padding-left: 10px;
    height: 22px;
    position: relative;
    z-index: 10003;
}

.header44 .search_panel input.searchpb {
    width: 170px;
    height: 22px;
    box-sizing: border-box;
    color: #b6b6b6;
    box-shadow: 0 0 0 1px #111;
    border: 1px solid #404040;
    background-color: #333;
}

.header44 .search_panel .fbutton2 {
    float: right;
    font-weight: 700;
    border-radius: 4px;
    height: 22px;
    padding: 0 7px;
    border: 1px solid #404040;
    color: silver;
    cursor: pointer;
    background: #242424;
}

.header {
    position: absolute;
    left: 0;
    top: 0;
    height: 90px;
    z-index: 100;
}

.leftblok1_header {
    float: right;
}

.deepnavigation {
    padding-left: 15px;
    padding-top: 160px;
}

.horizontal2 {
    border-radius: 10px 0 10px 10px;
    width: 974px;
}

.clas__sec {
    display: none;
}

.btn-menu {
    display: none;
    color: #fff;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    padding: 0;
}

.btn-menu .fa-bars {
    font-size: 0;
    display: inline-block;
    width: 17px;
    height: 14px;
    position: relative;
    vertical-align: middle;
}

.btn-menu .fa-bars::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: #fff;
    box-shadow: 0 5.5px 0 #fff, 0 11px 0 #fff;
}

.side-panel {
    width: 300px;
    max-width: 88vw;
    height: 100%;
    height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #585858;
    padding: 0;
    z-index: 100050;
    position: fixed;
    left: -320px;
    top: 0;
    transition: left 0.4s;
    margin: 0;
    list-style: none;
}

.side-panel.active {
    left: 0;
}

.close-overlay {
    width: 100%;
    height: 100%;
    height: 100dvh;
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100040;
    display: none;
    cursor: pointer;
}

.side-panel .leftblok1,
.side-panel .leftblok2 {
    width: 100% !important;
    float: none !important;
}

.side-panel .dmobile {
    display: block !important;
}

body.opened-menu {
    overflow: hidden;
}

.clear-both {
    clear: both;
}

#in-toolbar,
#menu-btn,
#hamburger {
    display: none !important;
}

.header44 .main_menu img {
    width: 92px !important;
    height: 23px !important;
    max-width: 92px !important;
}

@media screen and (max-width: 950px) {
    .btn-menu {
        display: inline-block;
    }

    .header {
        height: auto;
        width: 100%;
    }

    .header44 {
        padding-bottom: 0;
        background: #000;
    }

    .horizontal2 {
        width: 100%;
        max-width: 100%;
    }
}

@media screen and (min-width: 100px) and (max-width: 768px) {
    .wrapper {
        padding-top: 365px !important;
    }

    .header {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 350px;
        background: #000;
        display: block;
        overflow: visible;
        box-sizing: border-box;
    }

    .clas__sec {
        display: block !important;
        position: absolute;
        top: 8px;
        left: 8px;
        z-index: 20;
        width: 40px;
        height: 40px;
    }

    .btn-menu {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
    }

    .header44 {
        display: block !important;
        position: relative;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding: 8px 8px 0 48px !important;
        overflow: hidden;
        background: #000;
        min-height: 44px;
        box-sizing: border-box;
    }

    .header44 .main_menu,
    .main_menu {
        float: left !important;
        padding: 6px 0 0 !important;
        margin: 0 !important;
        width: auto !important;
        display: block !important;
    }

    .header44 .main_menu a {
        margin-right: 0;
        line-height: 0;
    }

    .header44 .main_menu img {
        width: 80px !important;
        height: auto !important;
        max-width: 80px !important;
    }

    .header44 .search_panel {
        float: right !important;
        width: auto !important;
        max-width: calc(100% - 130px) !important;
        height: auto !important;
        margin: 0 !important;
        padding: 4px 0 0 !important;
        background: transparent !important;
        display: block !important;
    }

    .searchbar {
        width: auto !important;
        margin: 0 !important;
    }

    .searchbar form {
        display: flex;
        align-items: center;
        gap: 4px;
        margin: 0;
        flex-wrap: nowrap;
    }

    .header44 .search_panel input.searchpb {
        width: 100px;
        min-width: 0;
        flex: 1 1 auto;
        height: 28px;
        float: none;
        margin: 0;
    }

    .header44 .search_panel .fbutton2 {
        float: none;
        flex: 0 0 auto;
        height: 28px;
        line-height: 26px;
        min-width: 30px;
        padding: 0 7px;
    }

    .header44 .user_panel,
    .user_panel {
        clear: both;
        float: none !important;
        text-align: center !important;
        height: auto !important;
        display: block !important;
        background: #000;
        width: 100% !important;
        padding: 5px 0 7px !important;
        margin: 0;
    }

    .loginin {
        float: none !important;
        padding: 0;
    }

    .header55 {
        clear: both;
        width: 100%;
        background: #000;
        padding: 0;
        margin: 0;
    }

    .leftblok1_header,
    .navigation,
    .deepnavigation {
        background: #000;
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0;
    }

    .topmenu {
        display: none;
    }

    .menu,
    table.menu {
        display: block !important;
        float: none !important;
        width: 100%;
        border-spacing: 0;
        margin: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    table.menu tbody,
    table.menu tr {
        display: flex;
        flex-wrap: nowrap;
    }

    table.menu tr td {
        flex: 0 0 auto;
    }

    table.menu tr td a {
        font-size: 10px;
        padding: 5px 8px 0;
        white-space: nowrap;
        color: #ccc;
        height: 28px;
        line-height: 22px;
    }

    .clear-both {
        display: none;
    }

    .horizontal2 {
        clear: both;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0;
        padding: 0 4px;
        box-sizing: border-box;
        background: #000;
    }

    .horizontal {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .horizontal .carousel {
        width: 100% !important;
        max-width: 100%;
        height: auto !important;
        min-height: 150px;
    }

    .horizontal .carousel_container {
        width: 100% !important;
        max-width: 100%;
        height: auto !important;
        min-height: 150px;
        padding: 0 28px;
        box-sizing: border-box;
    }

    .horizontal ul,
    .horizontal ul.portfolio_items {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

    .horizontal ul li {
        width: 100px !important;
        height: auto !important;
        margin: 0 4px !important;
    }

    .horizontal ul li a {
        width: 94px !important;
        height: auto !important;
    }

    .inner img {
        width: 94px !important;
        height: auto !important;
        min-height: 0;
        max-height: 140px;
        object-fit: cover;
    }

    .carousel_left {
        left: 4px;
        top: 50%;
        margin-top: -16px;
    }

    .carousel_right {
        right: 4px;
        top: 50%;
        margin-top: -16px;
    }

    #menu-head {
        display: none !important;
    }
}

@media screen and (max-width: 760px) {
    .side-panel {
        width: 340px;
        left: -340px;
    }

    .leftblok_contener {
        overflow: hidden;
        display: block;
        background: #585858;
        max-width: 100%;
    }
}
