.header-container {
    background: url("../images/bg-header-id11.jpg") no-repeat top center;
    padding-bottom: 30px;
}

.header-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/**
 * Language - currency
 */

.header-container .language-currency {
    .clearfix();

    .switcher-label {
        display: none;
    }

    .switcher {
        float: right;
        margin-left: 20px;
    }

    .switcher-content {
        position: relative;

        &:hover {
            .action-switcher:before {
                display: block;
            }

            .dropdown-switcher {
                display: block;
            }
        }
    }

    .action-switcher {
        position: relative;
    }

    .heading-switcher {
        display: block;
        height: 34px;
        line-height: 34px;
        color: #fff;

        span:after {
            margin-right: 3px;
            vertical-align: top;
            position: relative;
            top: 1px;
            .icomoon(e92e, 12px);
        }

        &:hover {
            cursor: pointer;
        }
    }

    .dropdown-switcher {
        display: none;
        position: absolute;
        top: 100%;
        background: #fff;
        padding: 10px 10px 0;
        white-space: nowrap;
        min-width: 150px;
        z-index: 310;
        .box-shadow(0 0 15px rgba(0, 0, 0, 0.1));
    }

    .list-item {
        margin: 0;
        padding: 0;
        list-style: none;

        li {
            padding: 0 10px;
            margin-bottom: 10px;
            border: 1px solid transparent;
            background-color: #f5f5f5;
        }

        li:hover {
            border-color: #222;
            background-color: #fff;
        }

        a {
            padding: 8px 0;
            display: block;
            color: #222;
            font-weight: 600;
        }
    }

    .switcher-language {
        .list-item li a span,
        .heading-switcher {
            background-size: 20px auto;
            background-position: right center;
            padding-right: 25px;
        }
    }
}

.header-container .header-top-r {
    float: left;
    display: flex;
    flex-wrap: wrap;

    .location {
        position: relative;
        padding-right: 21px;

        &:before {
            position: absolute;
            right: 0;
            top: 4px;
            color: #fff;
            .icomoon(e945, 16px);
        }
    }

    .location a {
        display: block;
        height: 34px;
        line-height: 33px;
        color: #fff;
    }

    .customer-links {
        margin-right: 40px;
        padding-right: 22px;
        position: relative;

        &:before {
            position: absolute;
            right: 0;
            top: 4px;
            color: #fff;
            .icomoon(e95e, 16px);
        }

        > .header.links {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            flex-wrap: wrap;
        }

        > .header.links > li {
            display: flex;
            margin: 0;
        }

        > .header.links > li:not(:last-child):after {
            content: "/";
            margin: 0 5px;
            line-height: 34px;
            font-size: 15px;
            position: relative;
            top: -1px;
            color: #fff;
        }

        > .header.links > li > a {
            display: inline-block;
            height: 34px;
            line-height: 33px;
            color: #fff;
        }
    }

    .customer-welcome {
        &:after {
            display: none;
        }

        .greet.welcome {
            line-height: 34px;
            color: #bdbcd7;
            position: relative;
            font-weight: 700;
        }

        .greet.welcome:after {
            position: relative;
            top: 1px;
        }

        .greet.welcome:before {
            content: "";
            display: none;
            height: 10px;
            position: absolute;
            right: 0;
            left: 0;
            bottom: -5px;
        }

        &:hover .greet.welcome:before {
            display: block;
        }
    }

    .header.links .customer-welcome .customer-menu {
        left: 0;
        right: auto;
    }
}

.header-middle {
    padding: 30px 0;
    .clearfix();

    .l-content {
        float: right;
        width: 300px;
    }

    .r-content {
        padding-top: 6px;
        float: left;
        width: calc(~'100% - 300px');
    }

    .r-content .content {
        display: table;
        width: 100%;
    }

    .search-container {
        display: table-cell;
        width: 100%;
        vertical-align: top;
    }
}

/**
 * Search core
 */
.header-container .block-search {
    width: 100% !important;
    padding: 0 !important;

    .label,
    .nested {
        display: none !important;
    }

    .form.minisearch {
        display: table;
        width: 100%;
    }

    .field.search {
        display: table-cell;
        width: 100%;
        vertical-align: top;
        background-color: #fff;
        .border-radius(0 20px 20px 0);

        .control {
            margin: 0;
            padding: 0;
            border-left: none;
        }

        .input-text {
            background: none;
            position: static;
            border: none;
            margin-top: 0;
            margin-bottom: 0;
            padding-right: 15px;
            width: 100%;
            height: 40px;
            padding-left: 10px;
            .border-radius(0);
        }
    }

    .actions {
        display: table-cell;
        vertical-align: top;

        .action.search {
            position: static;
            height: 40px;
            width: 54px;
            text-align: center;
            line-height: 40px;
            padding: 0;
            opacity: 1 !important;
            .border-radius(20px 0 0 20px);
        }

        .action.search:before {
            line-height: inherit;
            color: inherit;
            .icomoon(e954, 18px);
        }

        .action.search span {
            display: none;
        }
    }
}

/**
 * Searchbox pro
 */

.header-container .block-search.search-pro {
    .control {
        display: flex;
    }

    .searchbox-cat {
        background-color: transparent;
        padding-right: 20px;
        height: 40px;
        border-width: 0 0 0 1px;
        width: 150px;
        color: #444;
        position: relative;
        .border-radius(0);
    }
}

/**
 * Cart header
 */

.header-container .minicart-header {
    display: table-cell;
}

.header-container .minicart-wrapper {
    margin: 0;
    padding-right: 30px;
    float: none;

    .action.showcart {
        padding-right: 50px;
        position: relative;
        height: 40px;
        display: block;
        font-weight: 700;

        &:before {
            display: none;
        }

        &:after {
            width: 40px;
            height: 40px;
            text-align: center;
            line-height: 40px;
            position: absolute;
            right: 0;
            top: 0;
            .icomoon(e957, 21px);
            .border-radius(2px);
        }

        .text {
            position: static;
            display: block;
            width: auto;
            height: auto;
            padding: 0 0 4px;
            margin: 0;
            color: #fff;
            text-transform: uppercase;
        }

        .counter-number {
            display: none !important;
        }

        .counter-label {
            position: static;
            width: auto;
            height: auto;
            padding: 0;
            margin: 0;
        }

        .counter-label span:last-child:after {
            content: "-";
            margin: 0 5px;
        }

        .counter.qty {
            background: none;
            display: flex !important;
            white-space: nowrap;
            vertical-align: top;
            width: auto;
            height: auto;
            min-width: auto;
            color: #fff;
            font-weight: 400;
            margin: 0;
            padding: 0;
            line-height: 1;
        }

        .price-container .price {
            font-size: unset;
        }

        .price-minicart {
            display: inline-block;
            vertical-align: top;
            line-height: 1;
        }

        .subtotal .label {
            display: none;
        }
    }

    .mage-dropdown-dialog {
        display: none !important;
        padding-top: 10px;
        left: 0;
        right: auto;
    }

    &:hover {
        .mage-dropdown-dialog {
            display: block !important;
        }
    }
}

/**
 * Call
 */

.header-container .cms-header {
    display: table-cell;
    padding-right: 30px;
    vertical-align: top;

    p {
        margin: 0;
    }

    .call-us-content {
        white-space: nowrap;
        color: #fff;
        text-transform: uppercase;
        padding-right: 50px;
        position: relative;

        &:before {
            width: 40px;
            height: 40px;
            border: 2px solid #fff;
            line-height: 36px;
            text-align: center;
            position: absolute;
            top: 0;
            right: 0;
            .border-radius(50%);
            .icomoon(e94c, 22px);
        }
    }

    a {
        color: #fff;
    }
}

.header-bottom {
    height: 60px;
}

/**
 * Desktop menu
 */

.desktop-menu {
    background-color: #fff;
    .clearfix();

    .vertical-block {
        float: right;
        width: 170px;
    }

    .block-title-menu {
        background: none;
        height: 60px;
        line-height: 60px;
        text-transform: uppercase;
        color: #222;
        padding: 0 20px 0 5px;
        font-size: 107.69%;
        font-weight: 700;

        &:after {
            margin-right: 7px;
            .icomoon(f0d7, 12px);
        }
    }

    .horizontal-block {
        float: left;
        width: calc(~'100% - 170px');

        .note-msg {
            color: #fff;
            margin: 0;
            height: 50px;
            line-height: 50px;
            padding: 0 10px;
        }
    }

    .horizontal-block .sm_megamenu_menu > li {
        float: right;
        margin-left: 1px;

        > a {
            background-color: transparent;
            display: block;
            height: 60px;
            line-height: 60px;
            padding: 0 12px;
            position: relative;
            color: #222;
            text-transform: uppercase;
            font-weight: 700;
            font-size: 107.69%;
            .transition(.1s);

            .icon_items {
                position: absolute;
                top: -8px;
                right: 0;
                line-height: 1;
            }
        }

        &.parent-item > a .sm_megamenu_title:after {
            vertical-align: top;
            margin-right: 3px;
            .icomoon(f0d7, 12px);
        }

        > div {
            border: none;
            .box-shadow(0 0 15px rgba(0, 0, 0, 0.15));
        }

        &:hover,
        &.sm_megamenu_actived {
            > a {
                color: #fff;
            }
        }
    }
}

.horizontal-block {
    position: relative;

    .custom-item-menu {
        position: absolute;
        top: 0;
        left: 20px;
    }

    .custom-item-menu ul li {
        display: inline-block;
        margin-right: 25px;

        a {
            display: block;
            height: 60px;
            line-height: 60px;
            color: #222;
            text-transform: uppercase;
            font-weight: 700;
            font-size: 107.69%;
        }
    }
}

/**
 * Vertical megamenu
 */

.desktop-menu {
    .more-w {
        .more-view {
            border-top: 1px solid #e5e5e5;
            padding: 20px 20px;
            color: #444;
        }

        .more-view:before {
            content: "";
            display: inline-block;
            vertical-align: middle;
            width: 13px;
            height: 13px;
            background: url(../images/icon-image.png) no-repeat -124px -103px;
            margin-right: 3px;
            margin-left: 12px;
            position: relative;
            top: -1px;
        }

        .more-view.open:before {
            background-position: -178px -103px;
        }
    }

    .sm_megamenu_wrapper_vertical_menu .mega-content {
        padding: 5px 0 6px;
    }

    .sm_megamenu_wrapper_vertical_menu .icon_items {
        position: relative;
        top: -1px;
        margin-left: 5px;
    }

    .sm_megamenu_wrapper_vertical_menu ul.sm_megamenu_menu > li {
        border: none;

        > a.sm_megamenu_head {
            padding: 10.7px 20px;
        }

        > div {
            right: 100%;
            left: auto;
        }

        > a:before {
            content: "";
            display: block;
            width: 2px;
            position: absolute;
            right: -1px;
            top: 0;
            bottom: 0;
            opacity: 0;
        }

        &:hover > a {
            background-color: #f3f4f8;

            &:before {
                opacity: 1;
            }
        }

        &.parent-item > a:after {
            vertical-align: top;
            float: left;
            opacity: .5;
            .icomoon(f0d9, 14px);
        }

        &.parent-item > a:hover:after {
            opacity: 1;
        }
    }

    .vertical-menu-content {
        border: 1px solid #e5e5e5;
        border-top: none;
        padding-top: 2px;

        &:before {
            content: "";
            display: block;
            height: 2px;
            background-color: #000;
            position: absolute;
            right: -1px;
            left: -1px;
            top: 0;
            z-index: 99999;
        }
    }
}

/**
 * Css menu
 */

.desktop-menu .vertical-menu-block .vertical-menu-content {
    .navigation {
        background-color: #fff;
    }

    .navigation > ul {
        padding: 8px 0 8px;

        .ui-icon {
            display: none !important;
        }

        > li {

        }

        > li > a {
            padding: 11px 20px;
            position: relative;
            display: block;
            border: none !important;
        }

        > li > a:before {
            content: "";
            display: block;
            width: 2px;
            position: absolute;
            right: -1px;
            top: 0;
            bottom: 0;
            opacity: 0;
        }

        > li:hover > a:before {
            opacity: 1;
        }

        > li.has-active > a,
        > li.active > a {
            background-color: #f3f4f8;

            &:before {
                opacity: 1;
            }
        }

        li.parent > a:after {
            float: left;
            opacity: .5;
            .icomoon(f0da, 14px);
        }

        li a:hover,
        li:hover > a {
            background-color: #f3f4f8;
        }

        li ul {
            right: 100% !important;
            left: auto !important;
            top: 0 !important;
        }

        li ul a {
            display: block;
            padding: 11px 20px;;
            border: none !important;
        }
    }
}

.header-bottom.menu-on-top {
    background-color: #fff;
}

/**
 * Boxed layout
 */

.layout-boxed .header-container {
    background-color: #222 !important;
    position: static !important;
    padding-bottom: 30px !important;

    .header-top,
    .header-middle,
    .header-bottom {
        padding-right: 15px;
        padding-left: 15px;
    }
}
