/*@import url(http://fonts.googleapis.com/css?family=PT+Sans:400,700);*/
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 400;
  src: local('PT Sans'), local('PTSans-Regular'), url(../fonts/PT_Sans-Web-Regular.ttf) format('truetype');
}

@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 700;
  src: local('PT Sans Bold'), local('PTSans-Bold'), url(../fonts/PT_Sans-Web-Bold.ttf) format('truetype');
}

#cssmenu {
  margin: 0;
  /*width: 515px;*/
  padding: 0;
  line-height: 1;
  display: block;
  position: relative;
  font-family: 'Lato', sans-serif;
  z-index:100;
  /*top:44px;
  right:-21px;*/
  float:right;
}
#cssmenu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: block;
}
#cssmenu ul:after {
  content: ' ';
  display: block;
  font-size: 0;
  height: 0;
  clear: both;
  visibility: hidden;
}
#cssmenu ul li {
  margin: 0px 3px 0px 0px;
  padding: 0;
  display: block;
  position: relative;
  background:#f4f4f4;
  -moz-box-shadow:    inset 0 0 4px #d2d2d2;
   -webkit-box-shadow: inset 0 0 4px #d2d2d2;
   box-shadow:         inset 0 0 4px #d2d2d2;
   border-bottom:0px;
}
#cssmenu ul li a {
  text-decoration: none;
  display: block;
  margin: 0;
  /*-webkit-transition: color .2s ease;
  -moz-transition: color .2s ease;
  -ms-transition: color .2s ease;
  -o-transition: color .2s ease;
  transition: color .2s ease;*/
  	
  -webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	transition: all 0.5s;
}
#cssmenu ul li ul {
  position: absolute;
  left: -9999px;
  top: auto;
}
#cssmenu ul li ul li {
  max-height: 0;
  position: absolute;
  /*-webkit-transition: max-height 0.4s ease-out;
  -moz-transition: max-height 0.4s ease-out;
  -ms-transition: max-height 0.4s ease-out;
  -o-transition: max-height 0.4s ease-out;
  transition: max-height 0.4s ease-out;*/
  
  background: #ffffff;
  /*right:37px;*/
  right:56px;
}
#cssmenu ul li ul li.has-sub:after {
  display: block;
  position: absolute;
  content: '';
  background: #000000;
  z-index: 1;
  top: 13px;
  right: 15px;
}
#cssmenu ul li ul li.has-sub:before {
  /*display: block;
  position: absolute;
  content: '';
  height: 0;
  width: 0;
  border: 3px solid transparent;
  border-left-color: #ffffff;
  z-index: 2;
  top: 15px;
  right: 15px;*/
}
#cssmenu ul li ul li a {
  font-family: 'Lato', sans-serif;	
  font-size: 13px;
  font-weight: 400;
  text-transform: none;
  color: #880015;
  letter-spacing: 0;
  display: block;
  /*width: 125px;*/
  width: 140px;
  padding: 9px 7px 9px 7px;
  z-index:1000;
   text-align:right;
}
#cssmenu ul li ul li:hover > a,
#cssmenu ul li ul li.active > a {
  color: #880015;
}
#cssmenu ul li ul li:hover:after,
#cssmenu ul li ul li.active:after {
  background: #b0d0ff!important;
}
#cssmenu ul li ul li:hover > ul {
  left: 170px;
  top: 0;
}
#cssmenu ul li ul li:hover > ul > li {
  max-height: 72px;
  position: relative;
}
#cssmenu > ul > li {
  float: left;
}
#cssmenu > ul > li:after {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 0;
  top: 0;
  z-index: 0;
  background: #b0d0ff;
  /*-webkit-transition: height .2s;
  -moz-transition: height .2s;
  -ms-transition: height .2s;
  -o-transition: height .2s;
  transition: height .2s;*/
  
}
#cssmenu > ul > li.has-sub > a {
  padding-right: 40px;
}
#cssmenu > ul > li.has-sub > a:after {
  display: block;
  content: '';
  width: 0; 
	height: 0; 
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 5px solid #880015;
  position: absolute;
  right: 25px;
  top: 14px;
}
#cssmenu > ul > li.has-sub > a:before {
 /* display: block;
  content: '';
  border: 4px solid transparent;
  border-top-color: #4cb6ea;
  z-index: 2;
  height: 0;
  width: 0;
  position: absolute;
  right: 16px;
  top: 21px;*/
}
#cssmenu > ul > li > a {
  font-family: 'Lato', sans-serif;
  color: #880015;
  padding: 10px 7px;
  font-weight: 700;
  /*letter-spacing: 1px;*/
  text-transform: uppercase;
  font-size: 12px;
  z-index: 2;
  position: relative;
}
#cssmenu > ul > li:hover:after,
#cssmenu > ul > li.active:after {
  height: 100%;
}
#cssmenu > ul > li:hover > a {
  color: #880015;
  -moz-box-shadow:    inset 0 0 4px #d2d2d2;
   -webkit-box-shadow: inset 0 0 4px #d2d2d2;
   box-shadow:         inset 0 0 4px #d2d2d2;
   background: #f7ec17 !important;
}
#cssmenu > ul > li.active > a {
  color: #880015 !important;
  background:#f4f9cf;
  -moz-box-shadow:    inset 0 0 4px #d2d2d2;
   -webkit-box-shadow: inset 0 0 4px #d2d2d2;
   box-shadow:         inset 0 0 4px #d2d2d2;
}
#cssmenu > ul > li.active > a:hover{ 
  -webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s; color:#fff;

 }

#cssmenu > ul > li:hover > a:after,
#cssmenu > ul > li.active > a:after {
  background: transparent;
  
}
#cssmenu > ul > li:hover > a:before,
#cssmenu > ul > li.active > a:before {

}
#cssmenu > ul > li:hover > ul {
  left: 0;
}
#cssmenu > ul > li:hover > ul > li {
  max-height: 72px;
  position: relative;
}
#cssmenu #menu-button {
  display: none;
}

