.header-container {
    background-color: #fff;
}

.header-top {
   background:#f5f6f8;
}

/**
 * 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: #666666;

        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 0 0 10px;
        white-space: nowrap;
        min-width: 170px;
        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: #666666;
            .icomoon(e945, 16px);
        }
    }

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

        &:hover {
            color: #fff;
        }
    }

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

        &:before {
            position: absolute;
            right: 0;
            top: 4px;
            color: #666;
            .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;
        }

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

        > .header.links > li > a:hover {
            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: 40px 0;
    .clearfix();

	.content {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
    .search-container {
		border: 2px solid;
		.border-radius(25px);
    }
	.hotline-shop{
		display: flex;
		flex-direction: column;
		white-space: nowrap;
		span, strong {
			color:#222;
		}
	}
}

/**
 * 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 25px 25px 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: 46px;
            padding-left: 10px;
            .border-radius(0);
        }
    }

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

        .action.search {
            position: static;
            height: 46px;
            width: 50px;
            text-align: center;
            line-height: 45px;
            padding: 0;
            opacity: 1 !important;
            .border-radius(20px 0 0 20px);
			color: #222222;
        }

        .action.search:before {
            line-height: inherit;
            color: inherit;
            .icomoon(e954, 20px);
			font-weight:bold;
        }

        .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: 46px;
        border-width:0 0px 0 1px;
        width: 160px;
        color: #444;
        position: relative;
        .border-radius(0);
    }
}

/**
 * Cart header
 */

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

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

    .action.showcart {
        padding: 0 10px  0px 50px;
        position: relative;
        height: 50px;
        font-weight: 700;
		display: flex;
		border: 2px dashed #e5e5e5;
		line-height:45px;
		.border-radius(10px);
        &:before {
            display: none;
        }

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

        .text {
            display:none;
        }

        .counter-number {
            display: inline-block;
			position: absolute;
			width: 22px;
			height: 22px;
			.border-radius(50%);
			right: -7px;
			font-weight: bold;
			font-size: 107.69%;
			line-height: 22px;
			top: -7px;
			text-align: center;	
        }

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

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

        .price-container .price {
            font-size: 107.69%;
        }

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

        .subtotal .label {
            display: none;
        }
		.text-min-cart {
			display: inline-block;
			color: #222;
			font-size: 107.69%;
			&:after {
				content: "-";
				margin: 0 5px;
				display: inline-block;
			}
		}
    }

    .mage-dropdown-dialog {
        display: none !important;
        padding-top:10px;
		left: 0;
		right: auto;
		.block-minicart{
			.border-radius(10px);
		}
    }

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

/**
 * Call
 */

.header-container .cms-header {
    display: table-cell;
    padding: 0px;
    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 {
	margin-bottom:10px; 
}
/**
 * Desktop menu
 */

.desktop-menu {
    .clearfix();

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

    .block-title-menu {
        background: none;
        height: 50px;
        line-height: 50px;
        text-transform: uppercase;
        color: #fff;
        padding: 0;
        font-size: 107.69%;
        font-weight: normal;
		.border-radius(5px);
		padding-right: 15px;
		
    }

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

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

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

        > a {
            background-color: transparent;
            display: block;
            height: 50px;
            line-height: 50px;
            padding: 0 15px;
            position: relative;
            color: #222;
            font-size: 107.69%;
            .transition(.1s);
			text-transform:uppercase;
			.border-radius(5px);
            .icon_items {
                position: absolute;
                top: -15px;
                left: 0;
                line-height: 1;
            }
        }

        &.parent-item > a .sm_megamenu_title:after {
            vertical-align: top;
            margin-right:6px;
            .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: 0;
    }

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

        a {
            display: block;
            height: 50px;
            line-height: 50px;
            color: #fff;
            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 0;
    }

    .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;
        }

        > 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;
            }
        }
		&:hover > div {
			right: 100%;
			left:auto;
		}
        &.parent-item > a:after {
            vertical-align: top;
            float: left;
            opacity: .5;
            .icomoon(f0da, 14px);
        }

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

    .vertical-menu-content {
        border: 1px solid #e5e5e5;
        padding-top: 0;   
		margin-top: 20px;
		min-width: 250px;
		.border-radius(5px);
		&:after{
			display:block;
			content:"";
			width:100%;
			height:20px;
			position:absolute;
			top:-20px;
			left:0
		}
    }
}

/**
 * Css menu
 */

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

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

        .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;
        }
    }
}

/**
 * Boxed layout
 */

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