/* header */

.header-toprow {
	background: #67b53b;
}

.header-toprow ul {
	list-style-type: none;
	text-align: center;
}

.header-toprow ul li {
	display: inline-block;
	padding: .25em 1em;
	margin: .75em 0;
}
.header-toprow ul li:not(:first-child) {
	border-left: 1px solid #434343;
}

.header-toprow ul li a {
	color: #000;
	font-size: 1.6em;
	font-weight: 100;
}

/* header */

.header-main {
	background: #000000;
	display: flex;
	align-items: center;
}

.header-main .logo img {
    width: auto;
    transform: scale(1.1);
}

.header-main .hotline_icons {
	margin-right: 1em;
    margin-left: auto;
    display: flex;
}


.hotline {
	line-height: 1.1;
    font-size: 2em;
    margin-top: 0.125rem;
    margin-bottom: 0.1rem;
}
.header-main .hotline, .header-main .hotline a {
	color: #ffffff;
    font-weight: 600;
}

.header-main .hotline a span {
	margin-right: .5em;
}

.header-main .icons {
	display: flex;
	align-items: center;
	margin-left: 1em;
}

.header-main .icons a.my-account {
	display: block;
}

.header-main .icons i {
	color: #fff;
	font-size: 2em;
}

@media only screen and (max-width: 1320px) {
	
	.header-main .hotline_icons {
		flex-direction: column;
	}

}

/* search */

.header-main .block-search {
	display: none;
}

/* search form */

.inline-icon-search {
	border: 0 !important;
	color: transparent;
	background: none;
}

.inline-icon-search::before {
	font-size: inherit;
	color: inherit;
	content: '\e884';
	font-family: 'porto-icons';
	font-weight: 600;
	-webkit-font-smoothing: antialiased;
	display: block;
}

.form.minisearch,
.form.minisearch .field.search .search-category,
.block-search:not(.show) .form.minisearch .field.search .control  {
	display: none !important;
}

.block-search.show .form.minisearch {
	display: flex !important;
	max-width: 700px;
	width: 100%;
	display: flex;
	height: 80vh;
	/* margin: 10vh auto; */
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: fixed;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100%;
	background: rgba(255, 255, 255, .8);
	max-width: none;
	z-index: 9999;
}

.block-search.show .form.minisearch .field.search .control {
	max-width: 700px;
	width: 100vw;
	display: flex;
	height: 80vh;
	margin: 10vh auto;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.block.block-search.show {
	border: none !important;
	padding-left: 0 !important;
}

.block-search.show .form.minisearch input {
	border: solid 2px #326817;
	background-color: #ffffff;
	color: #000000;
	font-size: 1.3em;
	padding: 1.8em 1.5em;
	transition: box-shadow, .3s;
}

.block-search.show .form.minisearch input:focus {
	box-shadow: 0px 0px 10px #62b1c3 !important;
}

.autocomplete-suggestions {
	position: relative !important;
}

.block-search.show .form.minisearch .control > button {
	font-size: 2em;
	transform: translate(325px, -50px);
	cursor: pointer;
	position: relative;
}

/* bigmenu */

#burger {
	position: relative;
}
	
	#burger > i {
		font-size: 2.5em;
		color: #fff;
		margin: .8em;
		cursor: pointer;
	}

.bigmenu.vertical {
	z-index: 7777;
	position: absolute;
	left: 0;
	display: none;
}

.bigmenu.vertical.active {
	display: block;
}

.bigmenu.horizontal {
	z-index: 1;
}

.bigmenu ul {
	list-style-type: none;
}

.bigmenu.vertical ul {
	padding-left: 0;
}

.bigmenu ul li {
	position: relative;
}

.bigmenu ul li:hover, .bigmenu.vertical ul li {
	background: #67b53b;
}

.bigmenu ul li a {
	font-size: 1.5rem;
	white-space: nowrap;
	word-wrap: break-word;
	color: #fff;
	font-weight: 100;
}

.bigmenu ul.level0 li a {
	padding: 0.5em 1em;
	display: block;
}

.bigmenu ul.level0 ul li a {
	font-size: 1em;
	padding: 0.1em .9em;
}

.bigmenu ul.level0 ul li a span {
	display: inline-block;
	padding: 0 0.5em 0 0;
	transition: padding, 0.3s;
}

.bigmenu ul.level0 ul li:hover > a > span {
	padding: 0 0 0 0.5em;
}
/* 
.bigmenu ul:not(.level0) {
	display: none;
}
*/
.bigmenu ul.level0 > li {
	display: inline-block;
}

.bigmenu.vertical ul.level0 > li {
	display: block;
}

.bigmenu:not(.vertical) ul.level0 > li:not(:first-child) {
	border-left: 1px solid #4a4a4a;
}


.bigmenu ul > li > ul {
    opacity: 0;               
    visibility: hidden;        
    transition: opacity 0.3s ease; 
    position: absolute;       
   
}

/* 

.bigmenu ul > li:hover > ul,
.bigmenu ul > li > ul:hover {
	display: block;
}
*/
.bigmenu ul.level0 ul {
	position: absolute;
	left: 97%;
	top: 10px;
	background: #67b53b;
	box-shadow: -5px 0px 15px #00000087;
	z-index: 1;
	padding: 0.3em 0;
}

.bigmenu.horizontal ul.level0 ul.level1 {
	left: 0;
	top: 100%;
}

/* store switcher */

.store_switcher {
	margin: 10px 0 0 0;
}

.hotline_icons .store_switcher {
	margin: 2px 0px 2px 10px;
}
	
	.store_switcher select {
		width: 39px;
		width: auto;
		padding: .25em 1.5em .25em .25em;
		text-transform: uppercase;
	}
	
	

@media(min-width: 992px) {
    .sw-megamenu.navigation {
        > ul {
            position: relative;

            &:after {
                display: table;
                content: '';
                clear: both;
            }
        }
        .open-children-toggle {
            display: none;
        }
        span.cat-label {
            position: absolute;
            text-transform: uppercase;
            font: inherit;
            font-size: 9px;
            padding: 2px;
            border-radius: 0;
            line-height: 1;
            color: #fff;

            &:before {
                content: "";
                position: absolute;
                width: 3px;
                height: 3px;
                border: 3px solid transparent;
            }
            &.cat-label-label1 {
                background-color: #0cc485;
                &::before {
                  border-left-color: #0cc485;
                }
            }
            &.cat-label-label2 {
                background-color: #eb2771;
                &::before {
                  border-left-color: #eb2771;
                }
            }
            &.cat-label-label3 {
                background-color: #0ae3eb;
                &::before {
                  border-left-color: #0ae3eb;
                }
            }
        }
        a:hover > span > span.cat-label {
            text-decoration: none;
        }
        li {
            > a > span {
                position: relative;
            }
            &.level0 {
                > .level-top {
                    transition-delay: 0s !important;
                }
                > a > span.cat-label {
                    top: -10px;
                    right: 14px;

                    &:before {
                        left: 3px;
                        bottom: -4px;
                    }
                    &.cat-label-label1 {
                        &:before {
                            border-top-color: #0cc485;
                        }
                    }
                    &.cat-label-label2 {
                        &:before {
                            border-top-color: #eb2771;
                        }
                    }
                    &.cat-label-label3 {
                        &:before {
                            border-top-color: #0ae3eb;
                        }
                    }
                }
            }
            .subchildmenu {
                li > a > span > span.cat-label {
                    top: 3px;
                    right: -35px;

                    &:before {
                        left: -6px;
                        bottom: 3px;
                    }
                    &.cat-label-label1 {
                        &:before {
                            border-right-color: #0cc485;
                        }
                    }
                    &.cat-label-label2 {
                        &:before {
                            border-right-color: #eb2771;
                        }
                    }
                    &.cat-label-label3 {
                        &:before {
                            border-right-color: #0ae3eb;
                        }
                    }
                }
            }
        }
        .subchildmenu.mega-columns {
            > li {
                float: left;
                padding: 15px 10px 0;
            }
            &.columns1 {
                > li {
                    float: none;
                }
            }
            &.columns2 {
                > li {
                    width: 50%;

                    &:nth-child(2n+1) {
                        clear: both;
                    }
                }
            }
            &.columns3 {
                > li {
                    width: 33.33%;

                    &:nth-child(3n+1) {
                        clear: both;
                    }
                }
            }
            &.columns4 {
                > li {
                    width: 25%;

                    &:nth-child(4n+1) {
                        clear: both;
                    }
                }
            }
            &.columns5 {
                > li {
                    width: 20%;

                    &:nth-child(5n+1) {
                        clear: both;
                    }
                }
            }
            &.columns6 {
                > li {
                    width: 16.66%;

                    &:nth-child(6n+1) {
                        clear: both;
                    }
                }
            }
        }
        li.level0 {
            transition-delay: 0s;
            transition: .2s opacity;
            &.fl-left {
                float: left;
            }
            &.fl-right {
                float: right;

                &.staticwidth {
                    .submenu {
                        left: auto;
                        right: 0;
                        border-radius: 0;
                    }
                }
            }
            .submenu {
                display: block;
                visibility: hidden;
                opacity: 0;
                transition: .2s opacity;
                color: #777;
                > ul {
                    margin-top: 0;
                    &:before, &:after {
                        display: none;
                    }
                }
                .container {
                  padding-left: 10px;
                  padding-right: 10px;
                }
            }
            &.parent > .submenu.popup-left {
                left: auto;
                right: 0;
                border-radius: 0;
            }
            &.fullwidth {
                position: static;
                > .submenu {
                    width: 100%;
                    border-radius: 0;
                }
            }
            &.fullwidth, &.staticwidth {
                > .submenu {
                    padding: 10px;
                    left: 0;
                }
                &:hover,
                > .submenu.sw-hover-open {
                    > .submenu,
                    &.sw-hover-open {
                        visibility: visible;
                        opacity: 1;
                    }
                }
                .submenu {
                    li.parent {
                        > a {
                            &:after {
                                display: none;
                            }
                        }
                    }
                    li.level1 {
                        > a {
                            font-size: inherit;
                            font-weight: 700;
                            text-transform: uppercase;
                            line-height: 18px;
                            padding-top: 0;
                            padding-bottom: 5px;
                        }
                        > .menu-thumb-img {
                            margin: 10px 0 -5px;
                        }
                    }
                    a {
                      font-size: 12px;
                      font-weight: 600;
                      line-height: 18px;
                      padding: 7px 0;
                      text-transform: uppercase;
                      color: #696969;
                        &:hover {
                            background: none;
                            > span {
                                text-decoration: underline;
                            }
                        }
                    }
                    .menu-top-block, .menu-left-block, .menu-right-block, .menu-bottom-block {
                        padding-left: 0;
                        padding-right: 0;
                    }
                    .subchildmenu {
                      .subchildmenu {
                        padding-bottom: 5px;
                      }
                    }
                }
            }
            &.classic {
                .submenu {
                  padding: 5px 0;
                  > .row {
                    margin: 0;
                  }
                  a {
                    font-size: 12px;
                    font-weight: 600;
                    line-height: 18px;
                    padding: 8px 15px;
                    text-transform: uppercase;
                  }
                }
                .subchildmenu {
                    min-width: 230px;
                    .subchildmenu {
                        visibility: hidden;
                        opacity: 0;
                        transition: .2s opacity;
                        padding: 5px 0;
                        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
                        border-radius: 0;
                        position: absolute;
                        left: 0;
                        top: 0;
                        background: #fff;
                        z-index: 6;
                    }
                    > li:hover,
                    > li > .subchildmenu.sw-hover-open {
                        > .subchildmenu,
                        &.sw-hover-open {
                            visibility: visible;
                            opacity: 1;
                        }
                    }
                }
                li.parent {
                    & > .subchildmenu.popup-left {
                        left: auto;
                        right: 100%;
                        border-radius: 0;
                    }
                    a {
                      display: flex;align-items: center;
                      justify-content: flex-end;
                      > span {
                        margin-right: auto;
                      }
                    }
                }
                .subchildmenu.popup-left .subchildmenu {
                    left: auto;
                    right: 100%;
                    border-radius: 0;
                }
                &:hover,
                > .submenu.sw-hover-open {
                    > .submenu,
                    &.sw-hover-open {
                        visibility: visible;
                        opacity: 1;
                    }
                }
                li:hover > .submenu,
                li > .submenu.sw-hover-open {
                    visibility: visible;
                    opacity: 1;
                }
            }
            &.classic {
                .submenu, .subchildmenu .subchildmenu {
                    left: 0;
                }
            }
            &.staticwidth {
                .submenu {
                    left: 0;
                }
            }
            > em, i {
              color: inherit;
              margin-right: .5rem;
            }
        }
        &.side-megamenu {
          padding: 0;
            li {
                margin: 0;
                position: relative;
                &.level0 {
                    display: block;
                    position: relative;
                    border-radius: 0;
                    margin: 0;
                    margin-top: 1px;
                    float: none !important;
                    &.parent > a:after {
                        content: '\e81a';
                        display: inline-block;
                        font-family: 'porto-icons';
                        margin-right: -2px;
                        line-height: inherit;
                        .page-layout-2columns-right & {
                            content: '\e819';
                            margin-left: -2px;
                            margin-right: 0;
                        }
                    }
                    &.classic .submenu li.parent > a:after {
                        content: '\e81a';
                        display: inline-block;
                        font-family: 'porto-icons';
                        .page-layout-2columns-right & {
                            content: '\e819';
                        }
                    }
                    &.fullwidth > .submenu, &.staticwidth > .submenu {
                        left: 100% !important;
                        top: 0;
                        padding-bottom: 15px;
                        .page-layout-2columns-right & {
                          left: auto !important;
                          right: 100% !important;
                        }
                    }
                    &.classic > .submenu {
                        left: 100% !important;
                        top: 0;
                        padding: 5px;
                        .page-layout-2columns-right & {
                          left: auto !important;
                          right: 100% !important;
                        }
                        .subchildmenu .subchildmenu {
                          padding: 5px;
                        }
                    }
                    &.fullwidth > .submenu {
                        width: 1024px;
                    }
                    & > a {
                        display: flex;
                        align-items: center;
                        border-top: 1px solid #e7e7e7;
                        font-size: 14px;
                        font-weight: 500;
                        line-height: 18px;
                        letter-spacing: 0;
                        margin-left: 16px;
                        margin-right: 18px;
                        padding: 14px 12px 14px 5px;
                        color: inherit;
                        > span:not(.cat-label){
                          flex: 1;
                          .page-layout-2columns-right & {
                              order: 2;
                              text-align: right;
                          }
                        }
                        > span.cat-label {
                            position: relative;
                            margin-left: 10px;
                            padding: 0 2px;
                            top: 0;
                            right: 0;
                            &:before {
                              width: 5px;
                              height: 5px;
                              border: 3px solid transparent;
                              position: absolute;
                              left: -6px;
                              top: 50%;
                              margin-top: -3px;
                            }
                            &.cat-label-label1 {
                                &:before {
                                    border-right-color: #0cc485;
                                }
                            }
                            &.cat-label-label2 {
                                &:before {
                                    border-right-color: #eb2771;
                                }
                            }
                            &.cat-label-label3 {
                                &:before {
                                    border-right-color: #0ae3eb;
                                }
                            }
                        }
                        > em, i {
                          color: inherit;
                          margin-right: .5rem;
                          .page-layout-2columns-right & {
                              margin-left: .5rem;
                              margin-right: 0;
                          }
                        }
                    }
                    &:first-child {
                      margin-top: 0;
                      > a {
                        border-top: 0;
                      }
                    }
                    &:hover {
                        background-color: #08c;

                        & > a {
                            color: inherit;
                            border-top-color: #08c;
                        }
                    }
                    & > .submenu {
                        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
                        border-radius: 0;
                        &::before {
                          content: '';
                          position: absolute;
                          border-right: 12px solid #fff;
                          border-top: 10px solid transparent;
                          border-bottom: 10px solid transparent;
                          left: -12px;
                          top: 11.5px;
                          z-index: 112;
                          width: auto;
                          height: auto;
                          .page-layout-2columns-right & {
                            border-left: 12px solid #fff;
                            border-right: none;
                            right: -12px;
                            left: auto;
                          }
                        }
                    }
                }
                &.active {
                  background-color: #08c;
                  color: #fff;
                  &+.level0 {
                    > a {border-top: 0;}
                  }
                }
            }
        }
    }
}

@media(max-width: 991px) {
    .sw-megamenu.navigation {
        &.side-megamenu {
            display: none;
        }
        .submenu.level0 {
            height: 0;
            visibility: hidden;

            &.opened {
                visibility: visible;
                height: auto;
            }
        }
        li.level0 {
            &.staticwidth {
                > .submenu {
                    width: auto !important;
                }
            }
            &.fullwidth, &.staticwidth {
                .menu-top-block, .menu-right-block, .menu-left-block, .menu-bottom-block {
                    display: none;
                }
            }
            .menu-thumb-img {
                display: none;
            }
        }
        li.ui-menu-item {
            position: relative;
            float: none !important;
            > a {
                position: relative;
            }
            > .open-children-toggle {
                display: block;
                position: absolute;
                width: 42px;
                height: 42px;
                right: 0;
                top: 0;
                z-index: 1;
                cursor: pointer;
            }
        }
        span.cat-label {
            top: 50%;
            right: 36px;
            margin-top: -7px;
            position: absolute;
            text-transform: uppercase;
            font: inherit;
            font-size: 9px;
            padding: 2px;
            border-radius: 2px;
            line-height: 1;
            color: #fff;

            &:before {
                content: "";
                position: absolute;
                width: 3px;
                height: 3px;
                border: 3px solid transparent;
                left: -6px;
                bottom: 3px;
            }
            &.cat-label-label1 {
                background-color: #0cc485;

                &:before {
                    border-right-color: #0cc485;
                }
            }
            &.cat-label-label2 {
                background-color: #eb2771;

                &:before {
                    border-right-color: #eb2771;
                }
            }
            &.cat-label-label3 {
                background-color: #0ae3eb;

                &:before {
                    border-right-color: #0ae3eb;
                }
            }
        }
    }
}
	