.page-header{
	position: relative;
}
.cms-index-index .header-container{
	position: absolute;
    width: 100%;
    top: 0;
    z-index: 9;
}
.header-container {
	> .container{
		width: auto !important;
		max-width: inherit;
		padding: 0 30px;
	}
    .header-content {
        position: relative;
		padding: 15px 0;
		display: flex;
		align-items: center;
		.logo-container{
			width: 225px;
		}
		.horizontal-block{
			width: calc(~'100% - 225px');
		}
    }
}

.sm_megamenu_wrapper_horizontal_menu .sm_megamenu_menu{
	display: flex;
    justify-content: center;
		> li {
			margin: 0 25px;
		> a {
			display: block;
			height: 52px;
			line-height: 52px;
			text-transform: uppercase;
			font-weight: 700;
			position: relative;
			font-size: 114.28%;

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

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

  
.header-content .customer-actions {
    display: flex;

    > div:hover > a:before,
    > div:hover:before {
        color: #555;
    }

    .search-container {
        position: relative;
            a.icon-search1{
				font-size: 24px;
				color: #222;
				width: 52px;
				height: 52px;
				line-height: 52px;
				display: block;
				text-align: center;
			}
			&.show-block {
				 a.icon-search1{
					color: #555;
				 }
				.block-search{
					visibility: visible;
					.opacity(1);
				}
			}
			.block-search {
				position: absolute;
				right: 0;
				left: auto;
				top: 52px;
				margin: 0;
				padding: 0;
				width: unset;
				visibility: hidden;
				.opacity(0);
				.input-text {
					width: 270px;
					height: 52px;
					border: none;
					padding-left: 15px;
					border-left: 1px solid #eee;
					.border-radius(0);
				}

				.action.search {
					width: 52px;
					height: 52px;
					padding: 0;
					margin: 0;
					line-height: 52px;
					text-align: center;
					position: absolute;
					right: 0;
					left: auto;
					color: #111;
					opacity: 1;

					&:before,
					span {
						display: none;
					}

					&:after {
						.icomoon(e954, 24px);
					}
				}
			}

			.block-content {
				position: relative;
			}

			.block-search .control {
				display: flex;
				margin: 0;
				padding: 0;
			}

			.nested {
				display: none !important;
			}

        .block-search.search-pro {
            .searchbox-cat {
                width: 150px;
                height: 52px;
                border:0;
                .border-radius(0);
            }
        }
    }

    .customer-links {
        position: relative;

        > a {
            &:before {
                display: block;
                width: 52px;
                height: 52px;
                line-height: 52px;
                text-align: center;
                color: #111;
                .icomoon(e95e, 24px);
            }

            span {
                display: none;
            }
        }

        > .header.links {
            display: none;
            position: absolute;
            top: 100%;
            right: 0;
            left: auto;
            background-color: #fff;
            padding: 10px;
            list-style: none;
            min-width: 150px;
            text-align: center;
            z-index: 500;
            .box-shadow(0 0 15px rgba(0, 0, 0, 0.1));

            li {
                margin: 0;
            }

            li a {
                display: block;
                padding: 7px 10px !important;
            }

            li a:hover {
                background-color: #f5f5f5;
            }
        }

        &:hover > .header.links {
            display: block;
        }
    }

    .setting-block {
        position: relative;

        &:before {
            display: block;
            width: 30px;
            height: 52px;
            line-height: 52px;
            text-align: center;
            color: #111;
            .icomoon(e956, 24px);
        }

        .header-dropdown {
            display: none;
            position: absolute;
            background: #fff;
            padding: 20px;
            z-index: 200;
            top: 100%;
            right: 0;
            min-width: 200px;
            .box-shadow(0 0 15px rgba(0, 0, 0, 0.1));
        }

        &:hover .header-dropdown {
            display: block;
        }
    }
}

.customer-links .header.links .customer-welcome .customer-menu {
    display: block;
    position: static;
    margin: 0;
    padding: 0;
    .box-shadow-none();

    .customer-menu .header.links li a {
        padding: 7px 10px !important;
    }
}

.customer-links .greet.welcome {
    display: none;
}

.header.links .customer-welcome .customer-menu .header.links li.authorization-link a {
    padding: 0 10px !important;
}

.search-active {
    .header-bottom .customer-actions .search-container .block-search {
        display: block;
    }
}

.header-container .setting-block {
    .switcher {
        display: block;

        .list-item {
            .ul-nostyle();
        }

        &:not(:last-child) {
            margin-bottom: 10px;
        }
    }

    .action-switcher {
        display: none;
    }

    .switcher-label {
        display: block;
        margin-bottom: 10px;
        text-transform: uppercase;
        color: #111;
    }

    .switcher-language {
        .list-item li {
            display: inline-block;
            margin-right: 5px;
            vertical-align: top;
        }

        .list-item li a {
            display: block;
        }

        .list-item li a span {
            overflow: hidden;
            text-indent: -9999px;
            width: 30px;
            display: block;
            background-size: 24px auto;
            height: 25px;
            border: 1px solid #e5e5e5;
            background-position: center center;
        }

        .list-item li a span:hover {
            border-color: #222;
        }
    }
}

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

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

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

    &:hover .action.showcart:after {
        color: #555;
    }

    .action.showcart {
        width: 52px;
        height: 52px;
        text-align: center;
        position: relative;

        .text-min-cart,
        .counter-label,
        .price-minicart,
        .text {
            display: none !important;
        }
    }

    .action.showcart:before {
        display: none !important;
    }

    .action.showcart:after {
        .icomoon(e957, 24px);
        color: #111;
        display: block;
        line-height: 52px;
    }

    .action.showcart .counter.qty {
        display: inline-block !important;
        width: unset;
        height: 21px;
        line-height: 21px;
        min-width: 21px;
        padding: 0 2px;
        background-color: #ff4466;
        color: #fff;
        position: absolute;
        top: 3px;
        right: 3px;
        margin: 0;
        font-size: 92.85%;
        .border-radius(11px);
    }
}

.header-wishlist {
    margin: 0;
}

.header-wishlist a {
    position: relative;
    display: block;
    width: 52px;
    height: 52px;
    line-height: 52px;
    margin: 0 !important;
    color: #111;
    text-align: center;

    &:before {
        .icomoon(e93f, 24px);
    }

    .wishlist-title {
        display: none;
    }
}

.header-wishlist .count {
    color: #222;
    display: inline-block;
    min-width: 21px;
    height: 21px;
    line-height: 21px;
    text-align: center;
    padding: 0 3px;
    position: absolute;
    top: 3px;
    right: 2px;
    .border-radius(12px);
	font-size: 92.85%;
}

.header-wishlist .counter + .count {
    display: none;
}



.horizontal-block .navigation {
    background: none;
    font-weight: unset;
    z-index: 200;

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

    > ul {
        padding-left: 0;
    }

    > ul > li {
        margin-right: 35px;
        margin-left: 0;
    }

    > ul > li.parent > a:after {
        display: none;
    }

    > ul > li > a {
        font-weight: 700;
        height: 52px !important;
        line-height: 52px !important;
        padding: 0 !important;
        border: none !important;
        text-transform: uppercase;
        font-size: 100%;
        color: #111 !important;

        &:before {
            display: none;
        }
    }

    > ul > li.has-active > a,
    > ul > li.active > a,
    > ul > li:hover > a {
        z-index: 10;
    }

    .level0 .submenu {
        text-align: left;
        border: none !important;
        font-weight: 400;
        .box-shadow(0 0 10px rgba(0, 0, 0, 0.1));
    }

    .level0 .submenu a {
        padding: 10px 20px;
        border: none !important;
    }

    .level0 .submenu .parent > a:after {
        float: right;
        .icomoon(e930, 14px);
    }

    .level0 .submenu li:hover,
    .level0 .submenu li:hover > a {
        background-color: @submenu-desktop-item__hover__background;
    }
}
