/*
 * Responsive CSS3 Menu with Dropdown (Horizontal and Vertical)
 * http://www.jonsuh.com
 *
 * Copyright (c) 2012 Jonathan Suh
 * Free to use under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 */
 
/* PRIMARY MENU style */
.js-css-menu {
	font-family: Calibri, Arial, sans-serif;
	font-size: 0.925em;
	font-weight:bold;
	border: none;
	display: inline-block;
}
.js-css-menu, .js-css-menu ul, .js-css-menu li {
	list-style: none;
	padding: 0em 0em 0em .5em;
	margin: 0;
	font-size: 0.925em;
}
.js-css-menu a {
	text-decoration: none;
	-moz-transition: all 0.15s ease-in-out;
	-webkit-transition: all 0.15s ease-in-out;
	-o-transition: all 0.15s ease-in-out;
	-ms-transition: all 0.15s ease-in-out;
	transition: all 0.15s ease-in-out;
}
.js-css-menu li:before {
 content: "";
    border-color: transparent #748294;
    border-style: solid;
    border-width: 0.35em 0 0.35em 0.45em;
    display: block;
    height: 0;
    width: 0;
    left: -1em;
    top: 0.9em;
    position: relative;
	-webkit-transition:all 0.15s linear;
	-moz-transition:all 0.15s linear;
	-o-transition:all 0.15s linear;
	transition:all 0.15s linear;
}
.js-css-menu li:hover:before{ 
border-color: transparent #EB2E1A;}
.js-css-menu > li {
	display: inline-block;
	float: left;
	border-bottom: 1px solid #748294;
	padding: 0em 0em 0em 1.0em;
}
.js-css-menu > li > a {
	color: #75859a;
	background-color: #FFFFFF;
	display: block;
}
.js-css-menu > li:hover > a {
	color: #EB2E1A;
	}
.js-css-menu > li > a:active {
	font-weight:bold;
	}
.js-css-menu > li.current > a {
	font-weight:bold;
}
.js-css-menu > li.last {
	border-bottom:none;
}

/* SUBMENU */
.js-css-menu > li div {
	border-top: 1px solid #900000;
	display: block;
	position: absolute;
	visibility: hidden;
	opacity: 0;
	-moz-transition: all 0.15s ease-in-out;
	-webkit-transition: all 0.15s ease-in-out;
	-o-transition: all 0.15s ease-in-out;
	-ms-transition: all 0.15s ease-in-out;
	transition: all 0.15s ease-in-out;
}
.js-css-menu > li div a {
	color: #ddd;
}
.js-css-menu > li div a:hover, .js-css-menu > li div a:focus {
	color: #fefefe;
}
.js-css-menu > li div ul {
	float: right;
}
.js-css-menu > li div ul li {
	line-height: 1em;
}
.js-css-menu > li div ul:not(:first-child) {
	margin-left: 20px;
}
.js-css-menu > li:hover div, .js-css-menu > li:focus div {
	color: #fefefe;
	background: #b00000;
	padding: 10px 15px;
	visibility: visible;
	opacity: 1;
}

/* VERTICAL style */
.js-css-menu.vertical {
	width: inherit; /* Adjust the width of the vertical menu */
}
.js-css-menu.vertical > li {
	display: block;
	float: none;
	position: relative;
}
.js-css-menu.vertical > li div {
	width: 100%;
	left: 45%; /* Adjust the left value according to the width of the vertical menu */
	top: 0;
}

/* RESPONSIVE style */
@media (max-width: 480px) { /* To adjust the "breaking point" of the responsive menu, change 480px to a value of your choosing. */
	.js-css-menu.responsive, .js-css-menu.responsive > li {
		width: auto!important;
		display: block;
		float: none;
	}
	.js-css-menu.responsive > li:first-child > a {
		border-bottom-left-radius: 0 !important;
		-moz-border-radius-bottomleft: 0 !important;
		-webkit-border-bottom-left-radius: 0 !important;
		border-bottom-right-radius: 0 !important;
		-moz-border-radius-bottomright: 0 !important;
		-webkit-border-bottom-right-radius: 0 !important;
	}
	.js-css-menu.responsive > li:last-child > a {
		border-top-left-radius: 0 !important;
		-moz-border-radius-topleft: 0 !important;
		-webkit-border-top-left-radius: 0 !important;
		border-top-right-radius: 0 !important;
		-moz-border-radius-topright: 0 !important;
		-webkit-border-top-right-radius: 0 !important;
	}
	.js-css-menu.responsive > li div {
		display: none!important;
	}
}

/* ------------------------------------------
  NAVIGATION STYLES
  (+ responsive-nav.css file is loaded in the <head>)
--------------------------------------------- */

.fixed {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
}

.nav-collapse,
.nav-collapse * {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.nav-collapse,
.nav-collapse ul {
  list-style: none;
  width: 100%;
  float: left;
}

.nav-collapse li {
  float: left;
  width: 100%;
}

@media screen and (min-width: 40em) {
  .nav-collapse li {
    width: 25%;
    *width: 24.9%; /* IE7 Hack */
    _width: 19%; /* IE6 Hack */
  }
}


@media screen and (min-width: 40em) {
}

.nav-collapse ul ul a {
  background: #ca3716;
  padding-left: 2em;
}

@media screen and (min-width: 40em) {
  .nav-collapse ul ul a {
    display: none;
  }
}


/* ------------------------------------------
  NAV TOGGLE STYLES
--------------------------------------------- */

@font-face {
  font-family: "responsivenav";
  src:url("../icons/responsivenav.eot");
  src:url("../icons/responsivenav.eot?#iefix") format("embedded-opentype"),
    url("../icons/responsivenav.ttf") format("truetype"),
    url("../icons/responsivenav.woff") format("woff"),
    url("../icons/responsivenav.svg#responsivenav") format("svg");
  font-weight: normal;
  font-style: normal;
}

.nav-toggle {
  position: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-decoration: none;
  text-indent: -999px;
  position: relative;
  overflow: hidden;
  width: 70px;
  height: 55px;
  float: right;
}

.nav-toggle:before {
  color: #75859a; /* Edit this to change the icon color */
  font-family: "responsivenav", sans-serif;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  font-size: 28px;
  text-transform: none;
  position: absolute;
  content: "≡";
  text-indent: 0;
  text-align: center;
  line-height: 55px;
  speak: none;
  width: 100%;
  top: 0;
  left: 0;
}

.nav-toggle.active::before {
  font-size: 24px;
  content:"x";
}
