/*  Menu   */

/* wp patch */
ul.sub-menu.sm-nowrap li.current-menu-item.current_page_item a::after {
	display: none !important;
}

ul.sub-menu li a::after {
	display: none !important; /*  !!! */
}

.sm-clean .sm-nowrap > li > a, .sm-clean .sm-nowrap > li > :not(ul) a {
	white-space: break-spaces;
}


.sm{z-index:1;}

.main_nav {
	background-image: url("../img/menu-backgr.gif");
	background-repeat: repeat-x;
	height: 40px;
	width: 100%;	
}
.menu_bottom_line {
	background-color: #90c9fc;
	width: 100%;
	height: 10px;
}
.main-menu-wrapper {

}
/* https://www.smartmenus.org/ */
.sm-clean {
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
   font-family: "ZurichW01-LightCondense1121579" !important;
    display: flex;
    justify-content: space-between;
}
.sm-clean a, .sm-clean a:hover, .sm-clean a:focus, .sm-clean a:active, .sm-clean a.has-submenu {
	padding-left: 1px;
	padding-right: 1px;
	padding-top: 11px;
	color: #fff;
	font-size: 22px;
	/*font-family: "Roboto", Verdana, sans-serif;*/
	font-family: "ZurichW01-LightCondense1121579" !important;
	font-weight: 500;
	line-height: 17px;
	text-decoration: none;
	border-bottom: none !important;
}

/* first level only */
/* color current */
 .sm-clean  > li > a:hover, .sm-clean  > li > a:focus, .sm-clean  > li > a:active, .sm-clean  > li.current_page_item > a, 
 .sm-clean  > li.current-menu-ancestor.current-menu-parent > a.has-submenu {
 	color: #FFE7E2;
 }


.sm-clean > li > ul::after {
	display: none;
}
.sm-clean > li > ul::before, .sm-clean > li > ul::after {
	display: none;
}
.sm-clean ul {
	box-shadow: none;
}
.sm-clean > li > ul {
	padding: 0;
	margin: 0;
	border: none;
	background-color: transparent;
}

body:after{
    display:none;
    content: url("../img/sub-menu-backgr.png") url("../img/sub-menu-backgr-on.png");
}

.sm-clean > li > ul > li > a {
	padding: 0;
	margin: 0;
	color: #fff;
	background-color: transparent;
	background-image: url("../img/sub-menu-backgr.png");
	background-position: center top;
	background-repeat: no-repeat;
	height: 38px;
	width: 221px;
	text-align: left;
	padding-left: 20px;
	padding-top: 10px;
	font-size: 20px;
	margin-bottom: 2px;
	font-weight: 500;
	word-wrap: break-word;

}
.sm-clean > li > ul > li > a:hover, .sm-clean > li > ul > li > a:focus {
    padding: 0;
    margin: 0;
    color: #003daa;
    background-image: url("../img/sub-menu-backgr-on.png");
    background-repeat: no-repeat;
	height: 38px;
	width: 221px;
	text-align: left;
	padding-left: 20px;
	padding-top: 10px;
	font-size: 20px;
	word-wrap: break-word;
	margin-bottom: 2px;
	font-weight: 500;
	background-color: transparent;

}
/* first level only */
.sm-clean > li > a {
	margin-right: 55px;
	color: #fff;
}
.sm-clean > li:last-child > a {
	margin-right: 0px;
}

/* Correct !!  */
.sm-clean > li > a::after {
	height: 14px;
	display: inline-block;
	width: 0px;
	background: transparent;
	content: '';
	border-radius: 0px;
	transition: width .5s;
	transition-timing-function: ease;
	margin-top: 0px;
	position: absolute;
	top: 51px;
	left: 42%;
}
.sm-clean > li > a:hover::after, .sm-clean > li > a:focus::after, .sm-clean > li > a:active::after, .sm-clean > li > a.highlighted::after, 
.sm-clean li.current-menu-parent > a.has-submenu::after, .sm-clean li.current-menu-item > a::after {
	height: 14px;
	display: inline-block;
	width: 14px;
	background: #cd2707;
	content: '';
	border-radius: 8px;
	transition: width .5s;
	transition-timing-function: ease;
	margin-top: 0px;
	position: absolute;
	top: 51px;
	left: 42%;
}



/* Correct !!  */

/*
.sm-clean > li > a::after {
	height: 10px;
	display: inline-block;
	width: 0px;
	background: transparent;
	content: '';
	border-radius: 0px;
	transition: width 1s;
	transition-timing-function: ease;
	margin-top: 0px;
	position: absolute;
	top: 40px;
	left: 0px;
}

.sm-clean > li > a:hover, .sm-clean > li > a:focus,  .sm-clean > li > a.highlighted, li.current-menu-item > a, .sm-clean > li.current-menu-parent > a.has-submenu {
	color: #76e2d2;
}
.sm-clean > li > a:hover::after, .sm-clean > li > a:focus::after, .sm-clean > li.current-menu-parent > a.has-submenu::after, .sm-clean > li.current-menu-item > a::after {
	height: 14px;
	display: inline-block;
	width: 14px;
	background: red;
	content: '';
	transition: width 0.3s;
	transition-timing-function: ease;
	margin-top: 0px;
	position: absolute;
	top: 54px;
	left: 48%;
	border-radius: 8px;
}
*/














.sm-clean a .sub-arrow {
	top: 50%;
	margin-top: -3px;
	right: -16px;
	width: 0;
	height: 0;
	border-width: 5px;
	border-style: solid dashed dashed dashed;
	border-color: #f2c7bf transparent transparent transparent; /*#fff*/
	background: transparent;
	border-radius: 0;
}
.sub-arrow, .sm-clean a.highlighted .sub-arrow { 
	border-color: #f2c7bf transparent transparent transparent;
}


/*==========  Desktop First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {


	.sm-clean a, .sm-clean a:hover, .sm-clean a:focus, .sm-clean a:active, .sm-clean a.has-submenu {
		padding-left: 0px;
		padding-right: 0px;
		font-size:18px;
	}
	.sm-clean a .sub-arrow {
		right: -18px;
	}
	.sm-clean > li > a {
		margin-right: 70px;
		color: #fff;
	}
	.sm-clean > li > ul > li > a {
		padding-left: 20px;
		padding-top: 11px;
		font-size: 16px;
		font-weight: 500;
	}
.sm-clean > li > ul > li > a:hover, .sm-clean > li > ul > li > a:focus {
		padding-left: 20px;
		padding-top: 11px;
		font-size: 16px;
		font-weight: 500;
		background-color: transparent;
}


}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {

	.sm-clean  {display: none;}

	/* http://mmenu.frebsite.nl */
	.mm-menu_theme-dark {
		--mm-color-border: #6faff6; /* border */
		--mm-color-button: #fff; /*rgba( 255,255,255, 1 ); arrow */
		--mm-color-text: #fff; /*rgba( 255,255,255, 0.65 );*/
		--mm-color-text-dimmed: #fff; /* title */
		--mm-color-background: rgba(33,122,225,0.65); /* common */
		--mm-color-background-highlight: green;
		--mm-color-background-emphasis: rgba(172,210,253,0.65); /* mouse over */
		--mm-shadow: 0 0 20px rgba( 0,0,0, 0.5 );
	}
	.mm-menu a, .mm-menu a:active, .mm-menu a:hover, .mm-menu a:link, .mm-menu a:visited {
		border-bottom: none;
	}
	/* hover color */
	.mm-listitem a:focus {
		color: #003DAA; /* click color */
	}
	
	/* .mm-menu a:link */
	.mm-navbar {
		background: #cd2707;
		/*border-color: rgba(0,0,0,.1);*/
		/*color: #003DAA;*/
	}

	/* Color Return in Navbar top*/
	.mm-navbar .mm-btn::after, .mm-navbar .mm-btn::before {
		border-color: #fff;
	}	


	/* borders padding */
	/*
	.mm-listitem::after { 
	    content: '';
	    border-color: inherit;
	    border-bottom-width: 1px;
	    border-bottom-style: solid;
	    display: block;
	    position: absolute;
	    left: 0px;
	    right: 0;
	    bottom: 0;
	}
	*/

}

