#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a,
#cssmenu #menu-button {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
  line-height: 1;
  position: relative;
  box-sizing: border-box;
}
#cssmenu:after,
#cssmenu > ul:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
#cssmenu #menu-button {
  display: none;
}
#cssmenu {
  width: auto;
  line-height: 1;
  margin-top: 31px;
  display: block;
}

#cssmenu ul {
  	margin: 0;
	text-align: justify !important;
	display: block;
}
#cssmenu > ul:after {
   content: '';
   display: inline-block;
   width: 100%;
}

#cssmenu li {
	margin: 0;
	display: inline-block;
}

    #cssmenu > ul > li > a {
        font-family: "Gotham SSm A", "Gotham SSm B", Arial, sans-serif;
        font-weight: 500;
        font-size: 14px;
        text-transform: uppercase;
        line-height: 14px;
        padding-bottom: 8px;
        /*border-bottom: 3px solid transparent;*/
        margin: 0;
    }

#cssmenu > ul > li:hover > a {
	/*border-bottom: 3px solid rgba(0, 0, 0, .15);*/
	padding-bottom: 8px
}

#cssmenu > ul > li.active > a {
  color: #000;
}

/*#cssmenu > ul > li.has-sub > a {
  padding-right: 15px;
}
#cssmenu > ul > li.has-sub > a::after {
  position: absolute;
  top: 5px;
  right: 0;
  width: 4px;
  height: 4px;
  border-bottom: 1px solid #631d39;
  border-right: 1px solid #631d39;
  content: "";
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}*/
#cssmenu > ul > li.has-sub:hover > a::after {
  border-color: #000;
}

#cssmenu ul ul {
  position: absolute;
	top: 21px;
  left: -9999px;
}
#cssmenu li:hover > ul {
  left: auto;
}
#cssmenu li:last-child:hover > ul,
#cssmenu.align-right li:hover > ul {
  right: 0;
}
#cssmenu ul ul ul {
  margin-left: 100%;
  top: 0;
}
#cssmenu.align-right ul ul ul {
  margin-left: 0;
  margin-right: 100%;
}

#cssmenu ul ul li a {
    font-size: 0.9em;
    font-weight: 400;
    text-align: left;
    text-transform: none;
    padding: 15px 10px 13px;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    display: block;
    min-width: 300px;
    width: auto;
    background: #007e47;
    text-decoration: none;
    color: #fff;
    /*border-radius: 4px; 
    -moz-border-radius: 4px; 
    -webkit-border-radius: 4px;*/
}
    #cssmenu ul ul li:first-child a {
        border-radius: 4px 4px 0 0; 
    }
    #cssmenu ul ul li:last-child a {
        border-radius: 0 0 4px 4px;
    }
#cssmenu ul ul li:hover > a,
#cssmenu ul ul li a:hover {
	background: #0075c4;
	color: #ffffff;
}

    #cssmenu ul ul ul li a {
        background: #099cff;
        color: #fff;
    }
#cssmenu ul ul ul li:hover > a,
#cssmenu ul ul ul li a:hover {
	background: #46b5ff;
	color: #fff;
}

/*#cssmenu ul ul li.has-sub > a::after {
  position: absolute;
  top: 15px;
  right: 10px;
  width: 4px;
  height: 4px;
  border-bottom: 1px solid #dddddd;
  border-right: 1px solid #dddddd;
  content: "";
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-transition: border-color 0.2s ease;
  -moz-transition: border-color 0.2s ease;
  -ms-transition: border-color 0.2s ease;
  -o-transition: border-color 0.2s ease;
  transition: border-color 0.2s ease;
}*/

#cssmenu ul ul li.has-sub:hover > a::after {
  border-color: #ffffff;
}


@media only screen and (min-width: 960px) and (max-width: 1279px) {
	#cssmenu {
		margin-top: 30px;
	}

	#cssmenu > ul > li > a {
		font-size: 13px;
		line-height: 13px;
	}
}



@media all and (max-width: 959px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) {
  #cssmenu {
    width: 100%;
		margin-top: 20px;
  }
  #cssmenu ul {
    width: 100%;
    display: none;
		float: none !important;
		margin-bottom: 10px;
  }
  #cssmenu ul li,
  #cssmenu ul ul li,
  #cssmenu ul li:hover > ul > li {
    width: 100%;
    height: auto;
    /*border-top: 1px solid rgba(120, 120, 120, 0.15);*/
  }
	#cssmenu > ul > li > a {
		border-bottom: 1px solid rgba(0,0,0,0.2);
	}
  #cssmenu ul li a,
  #cssmenu ul ul li a {
		display: block;
    width: 100%;
		padding: 14px 10px 12px;
		font-size: 12px;
		background: #fff;
  }
	#cssmenu > ul > li:hover > a,
	#cssmenu > ul > li.active > a {
		border-bottom: 1px solid rgba(0,0,0,0.2);
		padding: 14px 10px 12px;
		background: #eee;
	}
  #cssmenu > ul > li {
    float: none;
    display: block;
  }
  #cssmenu ul ul li a {
    padding: 15px 10px 13px 20px;
    font-size: 12px;
    color: #777;
    background: #fff;
		border-bottom: 1px dotted rgba(0,0,0,0.2);
		margin-bottom: 0;
		border-radius: 0 ;
		-moz-border-radius: 0; 
		-webkit-border-radius: 0;
  }
  #cssmenu ul ul li:hover > a,
  #cssmenu ul ul li a:hover {
    color: #111;
		background: #f4f4f4;
  }
  #cssmenu ul ul ul li a {
    padding-left: 40px;
  }
  #cssmenu ul ul,
  #cssmenu ul ul ul {
    position: relative;
		top: 0;
    left: 0;
    right: auto;
    width: 100%;
    margin: 0;
  }
	
	#cssmenu ul ul ul li a {
		background: #fff;
		color: #333;
	}
	#cssmenu ul ul ul li:hover > a,
	#cssmenu ul ul ul li a:hover {
		background: #ddd;
		color: #222;
	}
	
  #cssmenu > ul > li.has-sub > a::after,
  #cssmenu ul ul li.has-sub > a::after {
    display: none;
  }
  #menu-line {
    display: none;
  }
  #cssmenu #menu-button {
		font-weight: 500;
    display: block !important;
    padding: 14px 12px 11px;
		background: #007e47;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    text-transform: uppercase;
		border-top-left-radius: 3px;
		border-top-right-radius: 3px; 
		-moz-border-radius-topleft: 3px;
		-moz-border-radius-topright: 3px;
		-webkit-border-top-left-radius: 3px;
		-webkit-border-top-right-radius: 3px;
  }
  #cssmenu #menu-button::after {
    content: '';
    position: absolute;
    top: 13px;
    right: 14px;
    display: block;
    width: 15px;
    height: 2px;
    background: #fff;
  }
  #cssmenu #menu-button::before {
    content: '';
    position: absolute;
    top: 18px;
    right: 14px;
    display: block;
    width: 15px;
    height: 3px;
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
		-webkit-transition: all 0.2s ease-out;
		-moz-transition: all 0.2s ease-out;
		-o-transition: all 0.2s ease-out;
		transition: all 0.2s ease-out;
  }
		#cssmenu #menu-button.menu-opened::after {
			top: 19px;
			right: 14px;
			transform: rotate(225deg);
		}
		
		#cssmenu #menu-button.menu-opened::before {
			top: 19px;
			transform: rotate(-225deg);
			display: block;
			width: 15px;
			height: 2px;
			background: #fff;
			border: none;
		}
		
  #cssmenu .submenu-button {
    position: absolute;
    z-index: 10;
    right: 0;
    top: 0;
    display: block;
    border-left: 1px solid rgba(120, 120, 120, 0.25);
    height: 41px;
    width: 40px;
    cursor: pointer;
  }
  #cssmenu .submenu-button::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 20px;
    display: block;
    width: 1px;
    height: 11px;
    background: #000000;
    z-index: 99;
  }
  #cssmenu .submenu-button::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 20px;
    display: block;
    width: 11px;
    height: 1px;
    background: #000000;
    z-index: 99;
  }
  #cssmenu .submenu-button.submenu-opened:after {
    display: none;
  }
}