/****************************************************************/
/*STYLE MEGA MENU*/
/****************************************************************/

li.selected a { color: #8EAE3C; }

.site-header{
	max-height: calc(100vh - 50px);
	padding: 0;
	/*overflow: auto;*/
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
   .site-header.ie {
        height: calc(100vh - 50px);
   }
}



.sticky_menu_wrapper{
	position: relative;
    top: 0;
    width: 100%;
    z-index: 11;
    text-align: center;
	justify-content: space-between;
    display: flex;
    /*height: 80px;*/
    align-items: center;
	background-color: #FFFFFF;
	box-shadow: -270px 0px 0px 0px #FFFFFF;
}

.main_nav_wrapper {
  	position: relative;
    width: calc(100% - 218px);
    margin: 0 0 0 auto;
    display: flex;
    flex-direction: column;
}

.main_ul{
	text-align: center;
}

.main_nav_link, .submenu_link{
	cursor: pointer;
}

.submenu_wrapper{
	height: 0;
	background-color: #fff;
	overflow: auto;
	width: 100%;
	top: calc(100% - 2px);
	transition: height .3s ease;
	box-shadow: -270px 0px 0px 0px #FFFFFF;

}

.submenu_inner{
	display: none;
    position: relative;
    margin-right: 0;
    width: 100%;
    overflow: hidden;
    padding: 0;
    border-top: 1px solid #381A0D;
	margin-bottom: 50px;
}

.submenu_inner h2{
    text-align: left;
    font-size: 40px;
    letter-spacing: 1.5px;
    color: #8EAE3C;
    padding-left: 120px;
	margin-top: 30px;
}

.submenu_inner_wrapper{
	display: flex;
	flex-wrap: wrap;
	padding-left: 120px;
	width: 100%;
	box-sizing: border-box;
	overflow: auto;
	max-height: calc(100vh - 200px);
	max-height: calc((var(--vh, 1vh) * 100) - 200px);
	overscroll-behavior: none;
}

.submenu_columns{
	display: flex;
	width: 60%;
    flex-basis: 60%;
}

.sub_images_wrapper{
	width: 40%;
	flex-basis: 40%;
    display: flex;
    justify-content: flex-end;
	flex-wrap: wrap;
}

.submenu_ul{
	width: 100%;
	flex-basis: 100%;
    margin-top: 25px;
    margin-bottom: 25px;
    position: relative;
    display: flex;
    flex-wrap: wrap;
}

.submenu_ul:first-child{

}

.sub_image{
background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    width: 86%;
    max-height: 260px;
    position: relative;
}

.sub_image:before{
 	content: "";
    position: absolute;
    top: 30px;
    left: -20px;
    width: 74px;
    height: 55px;
    background-image: url(../img/icons/logo-icon-green.svg);
    background-size: cover;
}

.sub_image_link {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 85%;
    background: #8EAE3C;
	transform: translate(-51.5%, -50%);
    padding: 12.5px 0;
}
.sub_image_link a{
	color: #FFFFFF;
}

.sub_image_link_inner{
	padding-left: 13px;
}

.sub_image_link_inner:after{
	content: "";
	position: absolute;
	width: 80px;
	height: 17px;
	right: 11px;
	top: 50%;
	transform: translateY(-50%);
	background-image: url(../img/icons/arrow-button.svg);
	background-repeat: no-repeat;
}

.subsub_ul {
	padding-left: 5px;
    font-weight: 300;
	text-transform: capitalize;
	display: none;
}

.submenu_li {
    text-transform: uppercase;
    letter-spacing: 1.25px;
    font-weight: 400;
    width: 50%;
    flex-basis: 50%;
    margin-bottom: 20px;
}

.submenu_li a{
	color: #381A0D;
}

.submenu_li a:hover{
	color: #8EAE3C;
}

.subsub_li {
    padding: 10px 5px;
}

.subsub_li a {
    font-size: 18px;
}

.submenu_ul:first-child .subsub_ul{
	display: block;
}

.submenu_li:last-child {
	text-transform: none;
}

.submenu_text_left_wrapper {
    position: absolute;
    left: -14%;
    top: 45%;
    width: 22%;
    display: none;
    letter-spacing: 1.5px;
    color: #8EAE3C;
    text-transform: uppercase;
    font-size: 40px;
    font-weight: 500;
}

/***************************************************
***************MOBILE NAV***************************/

.menu {
    padding-top: 57px;
    /* margin: 0 20px; */
}

.titel_nav_mobile{
	font-size: 25px;
	color: #8EAE3C;
	line-height: 40px;
	font-weight: 500;
}

@media all and (max-width: 1720px){
	.sub_image_link_inner:after {
		width: 50px;
		background-position: right;
		background-size: cover;
	}

}

@media all and (max-width: 1670px){
	.sub_image_link_inner:after {
		width: 50px;
		background-position: right;
		background-size: cover;
	}

}


@media all and (max-width: 1440px){

	.submenu_text_left_wrapper {
		left: -23%;
	}

	.main_nav_wrapper {
		width: calc(100% - 280px);
	}

	/*.sticky_menu_wrapper {
		height: 65px;
	}*/

	.submenu_inner_wrapper, .submenu_inner h2 {
		padding-left: 0;
	}

	.sub_image_link_inner:after {
		width: 0;
	}

}
@media all and (max-width: 1400px){



	.sub_image_link {
		display: flex;
		justify-content: center;
	}

	.sub_image_link_inner {
		text-align: center;
	}
}

@media all and (max-width:1350px) {

	.submenu_inner {
		padding-right: 20px;
    	box-sizing: border-box;
	}
}

@media all and (max-width:1350px) {

	.submenu_columns, .submenu_inner h2 {
		padding-left: 0px;
	}
}

@media all and (max-width:1280px) {

	.submenu_inner h2 {
		font-size: 40px;
	}

	.submenu_text_left_wrapper {
		left: -25%;
		top: 35%;
	}
}

@media all and (max-width:1024px) {

	.sub_images_wrapper {
		top: 0;
		padding: 0 15px;
		box-sizing: border-box;
		margin-top: 35px;
		margin-bottom: 15px;
		width: 100%;
		flex-basis: 100%;
	}

	.sub_image {
		width: 100%;
		height: 125px;
		margin-top: 30px;
	}

	.sub_images_wrapper a {
		padding: 0;
	}


	.sub_image_link {
		justify-content: flex-start;
		width: 70%;
	}

	.sub_image:before {
		top: -30px;
		left: -10px;
	}

	.sub_image_link_inner:after {
		width: 0;
	}

	.main-navigation ul ul ul .open_ulul_menu{
		display: block;
	}

	li.mobile_sub_li.has_submenu a {
		width: 80%;
		text-align: left;
	}
}


@media all and (max-width: 480px){

	.main_nav_wrapper {
		width: 100%;
	}

	/*.sticky_menu_wrapper {
		height: 63px;
	}*/

	.main_nav_wrapper {
		height: 63px;
	}


}
@media all and (max-width: 425px){

}
