
#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;
  display: block;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-family: 'pt_sansbold';
}
#cssmenu:after,
#cssmenu > ul:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
#cssmenu #menu-button {
  display: none;
}
#cssmenu {
  background-color: transparent; margin-top:35px; float:right; z-index:9999
}
#cssmenu > ul > li {
  float: left;
}
#cssmenu.align-center > ul {
  font-size: 0;
  text-align: center;
}
#cssmenu.align-center > ul > li {
  display: inline-block;
  float: none;
}
#cssmenu.align-center ul ul {
  text-align: left;
}
#cssmenu.align-right > ul > li {
  float: right;
}
#cssmenu > ul > li > a {
     padding: 12px 15px 8px 15px;
  font-size: 14px;
  text-decoration: none;
  color: #424242;
  font-weight: normal;
  text-transform: uppercase; 
  /*background: transparent url(../images/menu-seprator.gif) no-repeat right 0;*/
}
#cssmenu > ul > li:last-child > a {background:#c40000; color:#fff; border-radius:3px;}
#cssmenu > ul > li:last-child > a:hover{background:#000; color:#fff;}
#cssmenu > ul > li:hover > a{color:#828282;}
#cssmenu > ul > li.active > a {color: #828282;}
#cssmenu > ul > li.blue > a {color: #58a7ec;}
#cssmenu > ul > li.has-sub > a {
  padding-right: 15px;
}
/*#cssmenu > ul > li.has-sub > a:after {
  position: absolute;
  top: 22px;
  right: 11px;
  width: 8px;
  height: 2px;
  display: block;
  background: #dddddd;
  content: '';
}
#cssmenu > ul > li.has-sub > a:before {
  position: absolute;
  top: 19px;
  right: 14px;
  display: block;
  width: 2px;
  height: 8px;
  background: #dddddd;
  content: '';
  -webkit-transition: all .25s ease;
  -moz-transition: all .25s ease;
  -ms-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;
}
#cssmenu > ul > li.has-sub:hover > a:before {
  top: 23px;
  height: 0;
}*/
#cssmenu ul ul {
  padding-top:10px;
  position: absolute;
  left: -9999px;
}
#cssmenu.align-right ul ul {
  text-align: right;
}
#cssmenu ul ul li {
  height: 0;
  -webkit-transition: all .25s ease;
  -moz-transition: all .25s ease;
  -ms-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;
  font-family: 'pt_sansregular';
  font-weight:normal;
  font-size:14px;
}
#cssmenu li:hover > ul {
  left: auto;
}
#cssmenu.align-right li:hover > ul {
  left: auto;
  right: 0;
}
#cssmenu li:hover > ul > li {
  height: 35px;
}
#cssmenu ul ul ul {
  margin-left: 100%;
  top: 0;
}
#cssmenu.align-right ul ul ul {
  margin-left: 0;
  margin-right: 100%;
}
#cssmenu ul ul{ width: 210px;margin:0; padding:0;
-webkit-box-shadow: 1px 3px 5px 0px rgba(0,0,0,0.45);
-moz-box-shadow: 1px 3px 5px 0px rgba(0,0,0,0.45);
box-shadow: 1px 3px 5px 0px rgba(0,0,0,0.45);
background:#fff;
}
#cssmenu ul ul li a {
  padding: 11px 15px;
  font-size: 14px;
  text-decoration: none;
  color: #424242;
  font-weight:normal;
  font-family: 'pt_sansregular';
 
}
#cssmenu ul ul li:last-child > a,
#cssmenu ul ul li.last-item > a {
  border-bottom: 0;
}
#cssmenu ul ul li:hover > a,
#cssmenu ul ul li a:hover {
  background: #f2ede9;
  color:#424242;
}
#cssmenu > ul > li.has-sub:hover{ 
background: #fff;
 -webkit-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.45);
-moz-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.45);
box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.45);
}
#cssmenu ul ul li.has-sub > a:after {
  position: absolute;
  top: 16px;
  right: 11px;
  width: 8px;
  height: 2px;
  display: block;
  background: #dddddd;
  content: '';
}
#cssmenu.align-right ul ul li.has-sub > a:after {
  right: auto;
  left: 11px;
}
#cssmenu ul ul li.has-sub > a:before {
  position: absolute;
  top: 13px;
  right: 14px;
  display: block;
  width: 2px;
  height: 8px;
  background: #dddddd;
  content: '';
  -webkit-transition: all .25s ease;
  -moz-transition: all .25s ease;
  -ms-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;
}
#cssmenu.align-right ul ul li.has-sub > a:before {
  right: auto;
  left: 14px;
}
#cssmenu ul ul > li.has-sub:hover > a:before {
  top: 17px;
  height: 0;
}

@media (min-width:992px) and (max-width:1199px) {
	#cssmenu > ul > li > a {font-size:12px; padding-left:11px;  padding-right:11px;}
	#cssmenu > ul > li.has-sub > a { padding-right:11px;}
}

@media (max-width:991px) {
	#cssmenu { float:left}
	#cssmenu > ul > li > a {font-size:13px; padding-left:17px;  padding-right:18px;}
	#cssmenu > ul > li.has-sub > a { padding-right:18px;}
	#cssmenu > ul > li:first-child > a { padding-left:0}
}

@media all and (max-width: 991px) {
  
#cssmenu > ul > li.has-sub > a:after {
  position: absolute;
  top: 17px;
  right: 11px;
  width: 8px;
  height: 2px;
  display: block;
  background: #dddddd;
  content: '';
}
#cssmenu > ul > li.has-sub > a:before {
  position: absolute;
  top: 16px;
  right: 12px;
  display: block;
  width: 2px;
  height: 8px;
  background:#dddddd;
  content: '';
  -webkit-transition: all .25s ease;
  -moz-transition: all .25s ease;
  -ms-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;
}
#cssmenu > ul > li.has-sub:hover > a:before {
  top: 23px;
  height: 0;
}

#cssmenu > ul > li:last-child > a {max-width: 97%; margin: 10px auto 0 auto; text-align:center; padding: 8px 0px 5px 0px;}
    
  #cssmenu {
    width: 100%; margin-top:-52px
  }
  #cssmenu ul {
    width: 100%;
    display: none;
	background:#ffffff;
	margin-top:60px;
	padding-bottom:10px;
  }
  #cssmenu.align-center > ul {
    text-align: left;
  }
  #cssmenu ul li {
    width: 100%;
    border-top: 1px solid #ddd;
  }
  #cssmenu ul ul li,
  #cssmenu li:hover > ul > li {
    height: auto;
  }
  
  #cssmenu ul ul{ -webkit-box-shadow:none;
-moz-box-shadow: none;
box-shadow: none;}
#cssmenu > ul > li.has-sub:hover{ -webkit-box-shadow:none;
-moz-box-shadow: none;
box-shadow: none;}
  
  #cssmenu ul li a,
  #cssmenu ul li.active a,
  #cssmenu ul ul li a{
    width: 100%;
    border-bottom: 0;
	color:#424242;
	font-size:12px;
	padding:8px 20px;
	line-height:20px;
	background-image:none	
  }
   #cssmenu ul ul li a { font-size:14px}
  #cssmenu > ul > li:first-child > a { padding-left:20px;}
  #cssmenu > ul > li {
    float: none;
  }
  #cssmenu > ul > li:hover > a, #cssmenu > ul > li.active > a {
	color: #424242;
  }
  #cssmenu ul ul { padding-top:0}
  #cssmenu ul ul li a {
    padding-left: 25px;
  }
  #cssmenu ul li a:hover { background:#f2ede9; color:#424242}
  #cssmenu ul ul ul li a {
    padding-left: 35px;
  }
  #cssmenu ul ul li a {
    color: #424242;
    background: none;
  }
  #cssmenu ul ul li:hover > a,
  #cssmenu ul ul li.active > a {
    color: #424242;
  }
  
  #cssmenu ul ul,
  #cssmenu ul ul ul,
  #cssmenu.align-right ul ul {
    position: relative;
    left: 0;
    width: 100%;
    margin: 0;
    text-align: left;
  }
  #cssmenu > ul > li.has-sub > a:after,
  #cssmenu > ul > li.has-sub > a:before,
  #cssmenu ul ul > li.has-sub > a:after,
  #cssmenu ul ul > li.has-sub > a:before {
    display: none;
  }
  #cssmenu #menu-button {
    display: block;
    padding: 17px;
    color: #dddddd;
    cursor: pointer;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
	background:#333;
	width:40px; right:0; position:absolute; border-radius:5px;
  }
  #cssmenu #menu-button:after {
    position: absolute;
    top: 16px;
    right: 10px;
    display: block;
    height: 8px;
    width: 20px;
    border-top: 2px solid #f2ede9;
    border-bottom: 2px solid #f2ede9;
    content: '';
  }
  #cssmenu #menu-button:before {
    position: absolute;
    top: 10px;
    right: 10px;
    display: block;
    height: 2px;
    width: 20px;
    background: #f2ede9;
    content: '';
  }
  #cssmenu #menu-button.menu-opened:after {
    top: 15px;
	right:12px;
    border: 0;
    height: 2px;
    width: 15px;
    background: #ffffff;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  #cssmenu #menu-button.menu-opened:before {
    top: 15px;
	right:12px;
    background: #ffffff;
    width: 15px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  #cssmenu .submenu-button {
    position: absolute;
    z-index: 99;
    right: 0;
    top: 0;
    display: block;
    /*border-left: 1px solid rgba(120, 120, 120, 0.2);*/
    height: 36px;
    width: 46px;
    cursor: pointer;
  }
  #cssmenu .submenu-button.submenu-opened {
    background-color: transparent;
  }
  #cssmenu ul ul .submenu-button {
    height: 34px;
    width: 34px;
  }
  #cssmenu .submenu-button:after {
    position: absolute;
    top: 17px;
    right: 19px;
    width: 8px;
    height: 2px;
    display: block;
    background: #424242;
    content: '';
  }
  #cssmenu ul ul .submenu-button:after {
    top: 15px;
    right: 13px;
  }
  #cssmenu .submenu-button.submenu-opened:after {
    background: #424242;
  }
  #cssmenu .submenu-button:before {
    position: absolute;
    top: 14px;
    right: 22px;
    display: block;
    width: 2px;
    height: 8px;
    background: #424242;
    content: '';
  }
  #cssmenu ul ul .submenu-button:before {
    top: 12px;
    right: 16px;
  }
  #cssmenu .submenu-button.submenu-opened:before {
    display: none;
  }
}
