/* header v.2 ------------------------------------------------*/
body{padding-top:6em;}
body:not(.shadow)>header{/*transition:all 0.5s ease 0s;*/}
body>header{position:fixed;top:0;left:0;right:0;z-index:99;}
body>header:after{content:"";z-index:-1;position:absolute;left:0;right:0;top:0;bottom:0;filter:progid:DXImageTransform.Microsoft.Alpha(opacity=95);-moz-opacity:0.95;-khtml-opacity:0.95;opacity:0.95;}
body.sticky>header:after{filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100);-moz-opacity:1;-khtml-opacity:1;opacity:1;}
body>header ul.header{height:6em;transition:all .5s ease 0s;}

body.is-scroll>header ul.header{height:calc(6em - 1.5em);}
body>header ul.header>li#header-logo>div>*{vertical-align:middle;display:inline-block;}
body>header ul.header>li#header-logo svg,
body>header ul.header>li#header-logo img{height:calc(6em - 1em);max-width:calc(100% - 1em);transition:all .5s ease 0s;}

body>header ul.header>li#header-logo .slogan{text-align:center;font-size:1.125em;}
body>header ul.header>li#header-logo .slogan>span{text-transform:uppercase;display:block;position:relative;font-weight:bold;font-size:1.25em;line-height:1em;}
body>header ul.header>li#header-logo .slogan>span:before{content:"";position:absolute;left:0.75em;right:0.75em;bottom:-2px;height:2px;background:var(--color-black);}


@media only screen and (min-width:901px){
	body.is-scroll>header ul.header>li#header-logo svg,
	body.is-scroll>header ul.header>li#header-logo img{height:calc(6em - 1em - 0.75em);}
}
ul.header{list-style:none;margin:0;padding:0;
	display:-ms-flexbox;display:-webkit-flex;display:flex;
	-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;
	-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;
	-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;
	-webkit-align-content:center;-ms-flex-line-pack:center;align-content:center;
	-webkit-align-items:center;-ms-flex-align:center;align-items:center;
}

ul.header>li{padding:0;margin:0;white-space:nowrap;position:relative;height:auto;transition:all .5s ease 0s;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center;}

ul.header>li:nth-child(n)>*:first-child{display:inline-block;}
ul.header>li:not(#header-search):nth-child(n+2):before,
ul.header>li:not(#header-search):nth-child(n+1):not(:last-of-type):after{content:"";width:0.75em;height:1em;display:inline-block;vertical-align:top;}

@media only screen and (max-width:900px){
	body{padding-top:calc(6em - 2em);}
	body>header ul.header,
	body.sticky>header ul.header{height:calc(6em - 2em);}
	ul.header>li:not(#header-search):nth-child(n+2):before,
	ul.header>li:not(#header-search):nth-child(n+1):not(:last-of-type):after{width:0.5em;}
	body>header ul.header>li#header-logo .slogan{display:none;}
}

@media only screen and (max-width:480px){
	ul.header>li:not(#header-search):nth-child(n+2):before,
	ul.header>li:not(#header-search):nth-child(n+1):not(:last-of-type):after{width:0.375em;}
}

ul.header>li:not(#header-logo) .icon svg{height:2em;width:auto;}
ul.header>li .icon:not(.button_close){display:block;transition:all .5s ease 0s;cursor:pointer;}

body:not(.search-is-clicked)>header ul.header>li#header-logo{text-align:left;-webkit-flex:1 0 auto;-ms-flex:1 0 auto;flex:1 0 auto;}

@media only screen and (max-width:900px){
	ul.header{-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;}
	ul.header>li#header-logo{max-width:25%;margin-right:0;}
}
@media only screen and (max-width:640px){
	ul.header>li#header-logo{max-width:35%;/*margin-right:auto;*/}
}
@media only screen and (max-width:480px){
	ul.header>li#header-logo{/*max-width:40%;*/}
	body>header ul.header>li#header-logo svg,
	body>header ul.header>li#header-logo img{max-width:calc(100% - 1em);}
}

body>header ul.header>li#header-search{-webkit-flex:1 0 auto;-ms-flex:1 0 auto;flex:1 0 auto;}
body:not(.search-is-clicked)>header ul.header>li#header-search{-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto;}

ul.header>li#header-search:before,
ul.header>li#header-search:after{width:0;}
ul.header>li#header-phones>.phones-block>.icon{visibility:hidden;width:0;height:0;overflow:hidden;}

ul.header>li#header-shopping-cart #shCartPlace{max-height:0;min-width:30em;overflow:hidden;position:absolute;z-index:10;top:100%;right:0;padding:0;transition:all .5s ease 0s;}
ul.header>li#header-shopping-cart:hover #shCartPlace.hasProds{max-height:100em;}
ul.header>li#header-shopping-cart #shCartPlace>form{margin:2em 0.125em 0.5em 0.125em;}
body.is-scroll ul.header>li#header-shopping-cart #shCartPlace>form,
body.sticky ul.header>li#header-shopping-cart #shCartPlace>form{margin-top:calc(2em - 1em);}


ul.header>li#header-account .icon>span:first-of-type:not(:last-of-type){border-radius:50%;padding:0.75em 0;width:2.875em;height:2.875em;display:inline-block;text-align:center;transition:background-color .75s ease 0s;}
ul.header>li#header-account .icon>span:first-of-type:not(:last-of-type)>svg{height:calc(2.875em - 0.75em * 2);}
ul.header>li#header-account .icon>span:last-of-type:not(:first-of-type){line-height:3em;margin-left:0.5em;}

@media only screen and (max-width:900px){
		ul.header>li#header-account .icon>span:last-of-type{display:none;}
}

ul.header>li#header-compare .icon{position:relative;}
ul.header>li#header-compare .icon:before{content:"\f24e";font-family:FontAwesome;font-size:2em;font-weight:normal;line-height:1em;margin-right:0.25em;}
ul.header>li#header-compare .icon #sCompareCnt{position:absolute;right:0;width:1.25em;height:1.25em;line-height:1.25em;padding-left:0.0625em;text-align:center;text-align-last:center;display:inline-block;-moz-border-radius:50%;-webkit-border-radius:50%;-khtml-border-radius:50%;border-radius:50%;}
ul.header>li#header-compare .icon #sCompareCnt:empty{visibility:hidden;}

ul.header>li#header-wishlist .icon{position:relative;}
ul.header>li#header-wishlist .icon:before{content:"\f08a";font-family:FontAwesome;font-size:2.25em;font-weight:normal;line-height:1em;margin-right:0.125em;}
ul.header>li#header-wishlist .icon:hover:before{content:"\f004";}
ul.header>li#header-wishlist .icon #sWishlistCnt{position:absolute;right:-0.25em;width:1.25em;height:1.25em;line-height:1.25em;padding-left:0.0625em;text-align:center;text-align-last:center;display:inline-block;-moz-border-radius:50%;-webkit-border-radius:50%;-khtml-border-radius:50%;border-radius:50%;}
ul.header>li#header-wishlist .icon #sWishlistCnt:empty{visibility:hidden;}

@media only screen and (max-width:480px){
		ul.header>li#header-wishlist{display:none;}
}

ul.header>li#header-shopping-cart .icon{position:relative;}
ul.header>li#header-shopping-cart .icon #sCartPCnt{position:absolute;right:-0.375em;width:1.25em;height:1.25em;line-height:1.25em;padding-left:0.0625em;text-align:center;text-align-last:center;display:inline-block;-moz-border-radius:50%;-webkit-border-radius:50%;-khtml-border-radius:50%;border-radius:50%;}
ul.header>li#header-shopping-cart .icon #sCartPCnt:empty{visibility:hidden;}


ul.header>li#header-menu>div>.icon>span:first-of-type:not(:last-of-type){display:inline-block;height:2.875em;width:2.875em;padding:0.625em 0.375em;border-radius:0.25em;text-align:center;transition:background-color .75s ease 0s;}
ul.header>li#header-menu>div>.icon>span:first-of-type:not(:last-of-type)>svg{height:calc(2.875em - 0.625em * 2);}
ul.header>li#header-menu>div>.icon>span:first-of-type:not(:last-of-type)>svg>*{transition:all 0.5s ease 0s}
ul.header>li#header-menu>div>.icon:not(:hover)>span:first-of-type>svg>rect:not(:nth-of-type(2)){width:75%;}
ul.header>li#header-menu>div>.icon>span:last-of-type:not(:first-of-type){line-height:3em;margin-left:0.5em;max-width:10em;overflow:visible;}
body.search-is-clicked>header ul.header>li#header-phones>div,
body.search-is-clicked>header ul.header>li#header-menu>div>.icon>span:last-of-type:not(:first-of-type){max-width:0;overflow:hidden;opacity:0;display:inline-block;}



ul.header>li#header-menu nav .icon{}
ul.header>li#header-menu nav>*:first-child{padding:1.5em 1.5em 0 1.5em;
	display:-ms-flexbox;display:-webkit-flex;display:flex;
	-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;
	-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;
	-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;
	-webkit-align-content:center;-ms-flex-line-pack:center;align-content:center;
	-webkit-align-items:center;-ms-flex-align:center;align-items:center;
}

ul.header>li#header-menu.clicked nav{visibility:visible;overflow-y:auto;}
ul.header>li#header-menu:not(.clicked) nav{-webkit-transform:translateX(-100%);transform:translateX(-100%);}
ul.header>li#header-menu nav{position:fixed;top:0;left:0;bottom:0;padding:0;visibility:hidden;transition:all 0.75s ease 0s;width:25%;min-width:0;max-width:none;white-space:normal;z-index:101;
	display:-ms-flexbox;display:-webkit-flex;display:flex;
	-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;
	-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;
	-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;
	-webkit-align-content:stretch;-ms-flex-line-pack:stretch;align-content:stretch;
	-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch;
}
body>header ul.header>li#header-menu nav ul.social-media{margin:auto 0 0 0;padding:1em 1.5em;position:sticky;bottom:0;}

@media only screen and (max-width:900px){
		ul.header>li#header-menu nav{width:50%;}
		ul.header>li#header-menu>div>.icon>span:last-of-type:not(:first-of-type){display:none;}
}

@media only screen and (max-width:640px){
		ul.header>li#header-menu nav{width:50%;}
}

@media only screen and (max-width:480px){
		ul.header>li#header-menu nav{width:calc(100% - 15%);}
}

ul.header>li#header-phones ul.messengers{margin-left:auto;}


#header-languages{white-space:nowrap;}
#header-languages>*{display:inline-block;line-height:1.75em;padding:0 0.75em;transition:all 0.5s ease 0s;}
#header-languages>*:first-child{margin-right:0.125em;border-radius:0.35em 0 0 0.375em;}
#header-languages>*:last-child{border-radius:0 0.35em 0.375em 0;}
#header-languages>*:not(:last-child){margin-right:0.125em;}

body>header#header-v2 #header-languages>a{background-color:var(--background-color-1-4);color:var(--color-1-4-1);}
body>header#header-v2 #header-languages>span,
body>header#header-v2 #header-languages>a:hover{background-color:var(--background-color-1-5);color:var(--color-1-5-1);}

body.dark>header ul.header>li#header-logo .slogan>span:before{background-color:var(--color-white);}

body>header#header-v2 ul.header>li#header-account>div>.icon>span:first-of-type:not(:last-of-type){background-color:var(--background-color-1-4);color:var(--color-black);}
body>header#header-v2 ul.header>li#header-account>div>.icon:hover>span:first-of-type:not(:last-of-type){background-color:var(--background-color-1-5);color:var(--color-white);}
body.dark>header#header-v2 ul.header>li#header-account>div>.icon>span:first-of-type:not(:last-of-type){background-color:var(--background-color-2-2);color:var(--color-2-1-3);}
body.dark>header#header-v2 ul.header>li#header-account>div>.icon:hover>span:first-of-type:not(:last-of-type){background-color:var(--background-color-2-5);color:var(--color-2-5-1);}

body>header#header-v2 ul.header>li#header-menu>div>.icon>span:first-of-type:not(:last-of-type){background-color:var(--background-color-1-4);color:var(--color-black);}
body>header#header-v2 ul.header>li#header-menu>div>.icon:hover>span:first-of-type:not(:last-of-type){background-color:var(--background-color-1-5);color:var(--color-white);}
body.dark>header#header-v2 ul.header>li#header-menu>div>.icon>span:first-of-type:not(:last-of-type){background-color:var(--background-color-2-2);color:var(--color-2-1-3);}
body.dark>header#header-v2 ul.header>li#header-menu>div>.icon:hover>span:first-of-type:not(:last-of-type){background-color:var(--background-color-2-5);color:var(--color-2-5-1);}

body>header#header-v2 ul.header>li#header-menu nav{background-color:var(--color-white);}
body.dark>header#header-v2 ul.header>li#header-menu nav{background-color:var(--background-color-2-2);}

body>header ul.header>li#header-search #search input[type="search"]{border-radius:0.375em;}
body:not(.search-is-clicked)>header ul.header>li#header-search #search .close-button{opacity:0;visibility:hidden;margin-left:0;max-width:0;overflow:hidden;padding:0;}
body:not(.search-is-clicked)>header ul.header>li#header-search #search button[type="submit"]{pointer-events:none;}

@media only screen and (max-width:900px){
	ul.header>li#header-phones>.phones-block>.icon{visibility:visible;width:auto;height:auto;}
	ul.header>li#header-phones>.phones-block>.phones{transition:all 0.5s ease 0s;z-index:100;position:absolute;top:100%;right:0;padding-left:1em;padding-right:1em;max-height:0;overflow:hidden;}

	ul.header>li#header-phones{cursor:pointer;position:static;}
	ul.header>li#header-phones.clicked{overflow:visible;}
	ul.header>li#header-phones.clicked>.phones-block>.phones{max-height:100em;padding-top:0.75em;padding-bottom:0.75em;}

	body.search-is-clicked>header .FixedLayout{position:relative;}

	body:not(.search-is-clicked)>header ul.header>li#header-search,
	body>header ul.header>li#header-search{-webkit-flex:0 1 auto;-ms-flex:0 1 auto;flex:0 1 auto;}

	body.search-is-clicked>header ul.header>li#header-logo,
	body.search-is-clicked>header ul.header>li#header-menu,
	body.search-is-clicked>header ul.header>li:nth-child(n+4):not(#header-search):not(#header-compare){max-width:0;overflow:hidden;width:0;}
	body.search-is-clicked>header ul.header>li#header-search{-webkit-flex:1 0 auto;-ms-flex:1 0 auto;flex:1 0 auto;}
	body.search-is-clicked>header ul.header>li#header-search:before,
	body.search-is-clicked>header ul.header>li#header-search:after{content:none;}
	body.search-is-clicked>header ul.header>li#header-search #search{padding-right:0;}

	ul.header>li#header-compare:not(.has-prods){display:none;}
	ul.header>li#header-compare.has-prods{position:fixed;overflow:visible;text-align:center;top:5em;width:4em;height:4em;border-width:1px;border-style:solid;right:1em;max-width:none;-moz-border-radius:50%;-webkit-border-radius:50%;-khtml-border-radius:50%;border-radius:50%;}
	ul.header>li#header-compare.has-prods:before, ul.header>li#header-compare.has-prods:after{content:none!important;}
	ul.header>li#header-compare.has-prods .icon:before{margin-right:0;line-height:1.75em;}
	ul.header>li#header-compare.has-prods .icon #sCompareCnt{width:1.75em;height:1.75em;line-height:1.875em;right:-1em;}
}

@media only screen and (max-width:640px){
	ul.header>li#header-shopping-cart{position:static;}
	ul.header>li#header-shopping-cart #shCartPlace>form{margin-top:0;}
}

body>header>#shadow{content:"";z-index:-1;position:fixed;height:0;top:0;left:0;width:100%;filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0);-moz-opacity:0;-khtml-opacity:0;opacity:0;transition:opacity 0.2s;pointer-events:none;}
body.shadow>header>#shadow,
body.search-is-clicked>header>#shadow{z-index:100;height:100%;pointer-events:auto;filter:progid:DXImageTransform.Microsoft.Alpha(opacity=80);-moz-opacity:0.8;-khtml-opacity:0.8;opacity:0.8;}

body.search-is-clicked>header #search{padding:0;}
body.search-is-clicked>header #search>form{z-index:110;}
body.search-is-clicked>header #search input[type="search"]{width:calc(100% - 2em);}
body.search-is-clicked>header #search #search_result{width:auto;margin-left:0;margin-right:calc(2em + 1em);border-radius:0 0 0.375em 0.375em;}
body.search-is-clicked>header #search #search_result:not(:empty){border-width:1px;border-style:solid;margin-top:-1px;}

@media only screen and (min-width:901px){
	body.search-is-clicked>header #search #search_result:not(:empty){top:calc(100% - 0.375em);border-top:none;}
}

@media only screen and (max-width:900px){
	body.search-is-clicked>header #search #search_result:not(:empty){position:fixed;margin-top:0.5625em;padding-top:1em;/*overflow-y:scroll;*/margin-left:0;margin-right:0;}
}

@media only screen and (max-width:640px){
	body>header #search{padding-left:0;padding-right:0;}
	body:not(.search-is-clicked)>header #search input[type="search"]{width:3em;padding-left:0;padding-right:0;color:transparent;z-index:10;cursor:pointer;}
	body:not(.search-is-clicked)>header #search input[type="search"]::-webkit-input-placeholder{color:transparent;}
	body:not(.search-is-clicked)>header #search input[type="search"]::-moz-placeholder{color:transparent;}
	body:not(.search-is-clicked)>header #search input[type="search"]:-ms-input-placeholder{color:transparent;}
	body:not(.search-is-clicked)>header #search input[type="search"]:-moz-placeholder{color:transparent;}
	body:not(.search-is-clicked)>header #search .reset{color:transparent;filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0);-moz-opacity:0;-khtml-opacity:0;opacity:0;}
}

@media only screen and (min-width:901px){
	body.search-is-clicked>header #search.result input[type="search"]{/*-moz-border-bottom-left-radius:0;-webkit-border-bottom-left-radius:0;-khtml-border-bottom-left-radius:0;border-bottom-left-radius:0;-moz-border-bottom-right-radius:0;-webkit-border-bottom-right-radius:0;-khtml-border-bottom-right-radius:0;border-bottom-right-radius:0;*/}
}
