@import url(http://fonts.googleapis.com/css?family=Montserrat:400,700);
#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;
}
/*#cssmenu:after,
#cssmenu > ul:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}*/
#cssmenu #menu-button {
  display: none;
}
#cssmenu {
  font-family: Montserrat, sans-serif;
  background:url(../images/menu.gif) repeat-x #333333;
height: 45px;
margin: 0 auto;
text-align: center;
}
#cssmenu > ul{
}
#cssmenu > ul li{
}
#cssmenu > ul > li {
  display: inline-block;
    height: 100%;
}
#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 {
    margin-top: 0px;
    padding: 15px 15px 15px 15px;
    font-size: 1.2em;
    line-height: 1.25em;
    letter-spacing: 1px;
    text-decoration: none;
    color: white;
    text-shadow: 0px 0px 1px white, 0px 0px 1px white, 0.05em 0.1em 0.3em black;
    font-weight: normal;
    /* text-transform: uppercase; */
    height: 100%;
}
#cssmenu > ul > li > a span {
    display: block;
}
#cssmenu > ul > li:hover > a, #cssmenu ul ul li:hover > a, #cssmenu > ul > li > a:focus {
  background:#1b1363 !important;
}
#cssmenu > ul > li.has-sub > a {
  padding-right: 30px;
}
#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 {
  position: absolute;
  z-index:300;
  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;
}
#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{
box-shadow: 2px 2px 2px #222;
}
#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 {
  padding: 11px 15px;
  width: 180px;
  font-size: 12px;
  text-decoration: none;
  color: #dddddd;
  font-weight: 400;
  background: #333333;
border-bottom: 1px solid #393939;
}
#cssmenu ul li:nth-child(3) ul a{
width: 208px;
}
#cssmenu ul ul ul li a {
  width: 200px;
}
#cssmenu ul ul ul ul li a  {
 width: 215px;
}
/* **************************************** */
#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;
}
#menu, #cssmenu {
    height: auto;
    background: none;
    text-align: right;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
#cssmenu > ul{
	display: block;
	vertical-align: middle;
	position:relative;
    width: 69%;
    height: auto;
    margin: 0 0 0 auto;
    text-align: center;
	background: rgb(238,78,30); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(238,78,30,1) 0%, rgba(243,109,42,1) 50%, rgba(238,79,31,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  rgba(238,78,30,1) 0%,rgba(243,109,42,1) 50%,rgba(238,79,31,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  rgba(238,78,30,1) 0%,rgba(243,109,42,1) 50%,rgba(238,79,31,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ee4e1e', endColorstr='#ee4f1f',GradientType=0 ); /* IE6-9 */
    border-radius: 0.5em 0 0 0.5em;
    border-top: 2px solid white;
    border-bottom: 2px solid white;
    border-left: 2px solid white;
    box-shadow: 4px 4px 0px 0px black;
}
#cssmenu:after, #cssmenu:before{
    content: "";
    position: absolute;
    box-sizing: border-box;
    top: 0;
    width: 50%;
    height: 100%;
	background: rgb(238,78,30); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(238,78,30,1) 0%, rgba(243,109,42,1) 50%, rgba(238,79,31,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  rgba(238,78,30,1) 0%,rgba(243,109,42,1) 50%,rgba(238,79,31,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  rgba(238,78,30,1) 0%,rgba(243,109,42,1) 50%,rgba(238,79,31,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ee4e1e', endColorstr='#ee4f1f',GradientType=0 ); /* IE6-9 */
    border-top: 2px solid white;
    border-bottom: 2px solid white;
    box-shadow: 4px 4px 0px 0px black;
}
#cssmenu:after{
    right: 0;
    transform: translate(98%, 0);
}
#cssmenu:before{
    left: 0;
    transform: translate(-100%, 0);
	border-radius: 0 0.5em 0.5em 0;
    border-right: 2px solid white;
}


#index #cssmenu > ul{
	width: 100%;
    border-radius: 0;
    border-left: 0;
    -o-transition: width 0.25s ease;
    -ms-transition: width 0.25s ease;
    -moz-transition: width 0.25s ease;
    -webkit-transition: width 0.25s ease;
    transition: width 0.25s ease;
}
#index #cssmenu:before{
    left: 5px;
	border-radius: 0;
    border-right: 0;
}
#index #header.scrolled #cssmenu > ul{
    width: 69%;
    border-left: 2px solid white;
    border-radius: 0.5em 0 0 0.5em;
}
#index #header.scrolled #cssmenu:before{
    left: 0px;
    border-radius: 0 0.5em 0.5em 0;
    border-right: 2px solid white;
}

@media all and (max-width: 1024px),
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{
text-align: left;
}
#cssmenu:after, #cssmenu:before{
	display: none;
}
#cssmenu > ul{
border-bottom: 1px solid #333;
box-shadow: 0px 5px 2px rgb(51, 51, 51); /* The Fallback */
box-shadow: 0px 5px 2px rgba(51, 51, 51, 0.7);
margin-bottom: 5px;
}
#cssmenu ul > li > a{
    padding: 1.12em 1em 1em 1em;
    font-size: 1.5em;
    border-top: 2px solid rgba(0,0,0,0.15);
    box-shadow: inset 0px 0px 15px 0px rgba(0,0,0,0.15);
}
#cssmenu ul ul li a {
padding-left: 40px !important;
}
#cssmenu ul ul ul li a {
width: 100%;
padding-left: 70px !important;
}
#cssmenu ul ul ul ul li a  {
width: 100%;
padding-left: 100px !important;
}
#cssmenu ul li:nth-child(3) ul a{
width: 100%;
}
 /* *************** begin most bkg and borders *************** */
#cssmenu ul ul li:last-child, #cssmenu ul ul li:first-child{
}
#cssmenu ul ul ul ul li:last-child, #cssmenu ul ul ul ul li:first-child{
}
#cssmenu ul ul li:last-child > a,
#cssmenu ul ul li.last-item > a {
}
#cssmenu > ul > li{
background: none;
border: none;
margin: 0;
}
#cssmenu > ul > li > a span {
    display: inline;
}
#cssmenu ul ul li{
background: #161616;
border: none;
}
#cssmenu ul ul ul li{
background: #222;
border: 1px solid #252525;
border-width: 1px 0 1px 0;
}
#cssmenu ul ul ul ul {
border-bottom: 2px solid #292929;
}
#cssmenu ul ul ul ul li{
background: #262626;
border: 1px solid #272727;
border-width: 1px 0 1px 0;
}
/* *************** end most bkg and borders *************** */
/* *************** begin most hover *************** */
#cssmenu ul ul li:hover > a,
#cssmenu ul ul li a:hover {
  color: #FFD200;
background: #000;
}
#cssmenu > ul > li:hover > a{
box-shadow: inset 0px 0px 10px #363636;
}
#cssmenu ul ul li:hover > a{
box-shadow: inset 0px 0px 14px #333;
}
#cssmenu ul ul ul li:hover > a{
box-shadow: inset 0px 0px 14px #383838;
}
#cssmenu ul ul ul ul li:hover > a{
box-shadow: inset 0px 0px 14px #222;
/*border: 1px solid #232323;
border-width: 1px 0 1px 0;*/
}
/* *************** end most hover *************** */
 #cssmenu {
    width: 100%;
	background: rgb(238,78,30); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(238,78,30,1) 0%, rgba(243,109,42,1) 50%, rgba(238,79,31,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  rgba(238,78,30,1) 0%,rgba(243,109,42,1) 50%,rgba(238,79,31,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  rgba(238,78,30,1) 0%,rgba(243,109,42,1) 50%,rgba(238,79,31,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ee4e1e', endColorstr='#ee4f1f',GradientType=0 ); /* IE6-9 */
  }
  #cssmenu ul {
    width: 100% !important;
	margin: 0 auto !important;
    display: none;
    border: none;
	z-index: 100;
	box-shadow: none;
	border-radius: 0;
    background: none;
  }
  #header.scrolled #cssmenu > ul{
  	border: none !important;
  	border-radius: 0 !important;
  }
  #cssmenu.align-center > ul {
    text-align: left;
  }
  #cssmenu ul li {
    width: 100%;
    border-top: none;
  }
  #cssmenu ul ul li,
  #cssmenu li:hover > ul > li {
    height: auto;
  }
  #cssmenu ul li a,
  #cssmenu ul ul li a {
    width: 100%;
    border-bottom: 0;
  }
  #cssmenu > ul > li {
    float: none;
  }
  #cssmenu ul ul li a {
    padding-left: 25px;
  }
  #cssmenu ul ul ul li a {
    padding-left: 35px;
  }
  #cssmenu ul ul li a {
    color: #dddddd;
    background: none;
  }
  #cssmenu ul ul li:hover > a,
  #cssmenu ul ul li.active > a {
    color: #ffffff;
  }
  #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;
    margin-right: 0;
    padding: 26px;
    color: #ffffff;
    cursor: pointer;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
  }
  #cssmenu #menu-button:after {
    position: absolute;
    top: 31px;
    right: 17px;
    display: block;
    height: 4px;
    width: 25px;
    border-top: 3px solid #ffffff;
    border-bottom: 3px solid #ffffff;
    content: '';
  }
  #cssmenu #menu-button:before {
    position: absolute;
    top: 24px;
    right: 17px;
    display: block;
    height: 3px;
    width: 25px;
    background: #ffffff;
    content: '';
  }
  #cssmenu #menu-button.menu-opened:after {
    top: 31px;
    right: 19px;
    border: 0;
    height: 3px;
    width: 20px;
    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: 31px;
    right: 19px;
    background: #ffffff;
    width: 20px;
    -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 #333;
    height: 46px;
    width: 46px;
    cursor: pointer;
  }
#cssmenu > ul > li > .submenu-button {
    border-left: 1px solid #222;
}
  #cssmenu .submenu-button.submenu-opened {
    background: #262626;
  }
  #cssmenu ul ul .submenu-button {
    height: 34px;
    width: 34px;
  }
  #cssmenu .submenu-button:after {
    position: absolute;
    top: 22px;
    right: 19px;
    width: 8px;
    height: 2px;
    display: block;
    background: #dddddd;
    content: '';
  }
  #cssmenu ul ul .submenu-button:after {
    top: 15px;
    right: 13px;
  }
  #cssmenu .submenu-button.submenu-opened:after {
    background: #ffffff;
  }
  #cssmenu .submenu-button:before {
    position: absolute;
    top: 19px;
    right: 22px;
    display: block;
    width: 2px;
    height: 8px;
    background: #dddddd;
    content: '';

  }
  #cssmenu ul ul .submenu-button:before {
    top: 12px;
    right: 16px;
  }
  #cssmenu .submenu-button.submenu-opened:before {
    display: none;
  }
}
