/* MOSTVIDEO: separate header actions styles. Load after style.css. */

/* =====================================================================
   ÍÎÂÀß ÏÐÀÂÀß ÏÀÍÅËÜ ØÀÏÊÈ: àêêàóíò / çàêàçû / èçáðàííîå / êîðçèíà
   ===================================================================== */

.main-header_top {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    min-height: 86px;
    white-space: nowrap;
}

.main-header_top > .main-header_logo {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 280px;
            flex: 0 0 280px;
    width: 280px;
}

.main-header_top > .main-header_top-phone {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;
    width: auto;
    min-width: 0;
    margin-left: 18px;
    padding: 0;
}

.main-header_top .fixed-div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    width: 100%;
    height: auto;
}

.main-header_top .main-header_top-search-form,
.size_big .main-header_top-search-form,
.size_big .main-header_top-search-form.qmark {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 340px;
            flex: 1 1 340px;
    width: auto;
    min-width: 260px;
    max-width: 520px;
    margin-left: 0;
    padding: 6px 0 24px;
}

.main-header_top .main-header_top-search-form_input-text,
.size_big .main-header_top-search-form_input-text {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
    width: 100%;
    padding-right: 82px;
}

.main-header_top .main-header_top-search-form_input-submit,
.size_big .main-header_top-search-form_input-submit {
    top: 6px !important;
    right: 0;
    width: 74px;
    padding: 0;
}

.main-header_top .fixed-div2 {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 240px;
            flex: 0 0 240px;
    display: block;
    width: auto;
    height: auto;
    margin-top: 12px;
    padding-left: 22px;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

.main-header_top > .main-header_top-cart {
    position: relative;
    top: auto;
    right: auto;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 430px;
            flex: 0 0 430px;
    width: 430px;
    margin: 0 4px 0 14px;
    padding: 0;
    font-size: 12px;
    letter-spacing: normal;
    white-space: normal;
    z-index: 10;
}

.header-actions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    min-height: 82px;
    margin: 0;
    padding: 0;
    text-align: center;
}

.main-header_top-cart .header-action {
    position: relative;
    -webkit-box-flex: 1;
        -ms-flex: 1 1 25%;
            flex: 1 1 25%;
    display: block;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 8px 6px 5px;
    border-left: 1px solid #e4e7eb;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
    color: #343a40;
    text-align: center;
    text-decoration: none;
    -webkit-transition: color .18s ease, background-color .18s ease;
       -moz-transition: color .18s ease, background-color .18s ease;
         -o-transition: color .18s ease, background-color .18s ease;
            transition: color .18s ease, background-color .18s ease;
}

.main-header_top-cart .header-action:first-child {
    border-left: 0;
}

.main-header_top-cart .header-action:hover {
    color: #ef7f1b;
    background-color: #fffaf5;
    text-decoration: none;
}

.main-header_top-cart .header-actions span {
    display: block;
    width: auto;
    padding-right: 0;
    color: inherit;
}

.header-action_icon {
    height: 31px;
    margin: 0 auto 2px;
    color: #808b96;
}

.header-action_icon svg {
    width: 30px;
    height: 30px;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.header-action:hover .header-action_icon {
    color: #ef7f1b;
}

.main-header_top-cart .header-action_title {
    overflow: hidden;
    margin-top: 1px;
    color: #24292f;
    font-size: 12px;
    font-weight: normal;
    line-height: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.main-header_top-cart .header-action:hover .header-action_title {
    color: #ef7f1b;
}

.main-header_top-cart .header-action_subtitle {
    overflow: hidden;
    color: #969da5;
    font-size: 10px;
    line-height: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.main-header_top-cart .header-action_sum {
    color: #e24a24;
    font-size: 11px;
    font-weight: bold;
}

.main-header_top-cart .header-actions .header-action_badge {
    position: absolute;
    top: 4px;
    left: 50%;
    display: block;
    width: auto;
    min-width: 17px;
    height: 17px;
    margin-left: 7px;
    padding: 0 4px;
    border: 2px solid #ffffff;
    -webkit-border-radius: 11px;
       -moz-border-radius: 11px;
            border-radius: 11px;
    background: #cc6000;
    color: #ffffff !important;
    font-size: 10px;
    font-weight: bold;
    line-height: 17px;
    text-align: center;
    -webkit-box-sizing: content-box;
       -moz-box-sizing: content-box;
            box-sizing: content-box;
    z-index: 2;
}

@media screen and (max-width: 1450px) {
    .main-header_top > .main-header_logo {
        -ms-flex-preferred-size: 260px;
            flex-basis: 260px;
        width: 260px;
    }

    .main-header_top > .main-header_top-cart {
        -ms-flex-preferred-size: 390px;
            flex-basis: 390px;
        width: 390px;
        margin-left: 8px;
    }

    .main-header_top .fixed-div2 {
        -ms-flex-preferred-size: 215px;
            flex-basis: 215px;
        padding-left: 12px;
    }

    .main-header_top-cart .header-action {
        padding-left: 3px;
        padding-right: 3px;
    }
}

@media screen and (max-width: 1180px) {
    .main-header_top {
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
        padding-bottom: 5px;
    }

    .main-header_top > .main-header_top-phone {
        margin-right: 8px;
    }

    .main-header_top > .main-header_top-cart {
        -webkit-box-flex: 1;
            -ms-flex: 1 0 100%;
                flex: 1 0 100%;
        width: 100%;
        margin: 4px 0 0;
        border-top: 1px solid #eceff2;
    }

    .header-actions {
        max-width: 470px;
        margin-left: auto;
    }
}
.main-header_top .main-header_top-search-form,
.size_big .main-header_top-search-form,
.size_big .main-header_top-search-form.qmark {
    margin-top: 18px !important;
}

.main-header_top-search-form button.main-header_top-search-form_input-submit {
    height: 26px !important;
    min-height: 26px !important;
    max-height: 26px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 26px !important;
    box-sizing: content-box !important;
}

@media screen and (max-width: 1180px) {
    .main-header_top > .main-header_top-cart {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .main-header_top-cart .header-actions {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .main-header_top-cart .header-action {
        flex: 1 1 25%;
        width: 25% !important;
    }
}

