@import url(https://fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700);

/* Mobile first layout SmartMenus Core CSS (it's not recommended editing these rules)
   You need this once per page no matter how many menu trees or different themes you use.
-------------------------------------------------------------------------------------------*/

.sm{box-sizing:border-box;position:relative;z-index:9999;-webkit-tap-highlight-color:rgba(0,0,0,0);}
.sm,.sm ul,.sm li{display:block;list-style:none;margin:0;padding:0;line-height:normal;direction:ltr;text-align:left;}
.sm-rtl,.sm-rtl ul,.sm-rtl li{direction:rtl;text-align:right;}
.sm>li>h1,.sm>li>h2,.sm>li>h3,.sm>li>h4,.sm>li>h5,.sm>li>h6{margin:0;padding:0;}
.sm ul{display:none;}
.sm li,.sm a{position:relative;}
.sm a{display:block;}
.sm a.disabled{cursor:default;}
.sm::after{content:"";display:block;height:0;font:0px/0 serif;clear:both;overflow:hidden;}
.sm *,.sm *::before,.sm *::after{box-sizing:inherit;}

/*-------------------------------------------------------------------
 THEME
-------------------------------------------------------------------*/
.sm-blue {
  background: transparent;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.sm-blue a, .sm-blue a:hover, .sm-blue a:focus, .sm-blue a:active {
  padding: 10px 20px;
  /* make room for the toggle button (sub indicator) */
  padding-right: 58px;
  background: #3092c0;
  background-image: linear-gradient(to bottom, #3298c8, #2e8cb8);
  color: #fff;
  font-family: "PT Sans Narrow", "Arial Narrow", Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: bold;
  line-height: 23px;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}
.sm-blue a.current {
  /*background: #006892;
  background-image: linear-gradient(to bottom, #006188, #006f9c);
  color: #fff;*/
  color: #f78200;
}
.sm-blue > .menu-item > h3 a.current {
	text-shadow: 1px 1px 0 #3092C1,-1px -1px 0 #3092C1,1px -1px 0 #3092C1,-1px 1px 0 #3092C1,1px 1px 0 #3092C1;
}
.sm-blue a.disabled {
  color: #a1d1e8;
}
.sm-blue a .sub-arrow {
  position: absolute;
  top: 50%;
  margin-top: -17px;
  left: auto;
  right: 4px;
  width: 34px;
  height: 34px;
  overflow: hidden;
  font: bold 16px/34px monospace !important;
  text-align: center;
  text-shadow: none;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}
.sm-blue a .sub-arrow::before {
  content: '+';
}
.sm-blue a.highlighted .sub-arrow::before {
  content: '-';
}
.sm-blue > li:first-child > a, .sm-blue > li:first-child > :not(ul) a {
  border-radius: 8px 8px 0 0;
}
.sm-blue > li:last-child > a, .sm-blue > li:last-child > *:not(ul) a, .sm-blue > li:last-child > ul, .sm-blue > li:last-child > ul > li:last-child > a, .sm-blue > li:last-child > ul > li:last-child > *:not(ul) a, .sm-blue > li:last-child > ul > li:last-child > ul, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > a, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul {
  border-radius: 0 0 8px 8px;
}
.sm-blue > li:last-child > a.highlighted, .sm-blue > li:last-child > *:not(ul) a.highlighted, .sm-blue > li:last-child > ul > li:last-child > a.highlighted, .sm-blue > li:last-child > ul > li:last-child > *:not(ul) a.highlighted, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a.highlighted, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a.highlighted, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a.highlighted {
  border-radius: 0;
}
.sm-blue ul {
  background: #fff;
}
.sm-blue ul ul {
  background: rgba(102, 102, 102, 0.1);
}
.sm-blue ul a, .sm-blue ul a:hover, .sm-blue ul a:focus, .sm-blue ul a:active {
  background: transparent;
  color: #2b82ac;
  font-size: 16px;
  text-shadow: none;
  border-left: 8px solid transparent;
}
.sm-blue ul a.current {
  /*background: #006892;
  background-image: linear-gradient(to bottom, #006188, #006f9c);
  color: #fff;*/
  color: #f78200;
}
.sm-blue ul a.disabled {
  color: #b3b3b3;
}
.sm-blue ul ul a,
.sm-blue ul ul a:hover,
.sm-blue ul ul a:focus,
.sm-blue ul ul a:active {
  border-left: 16px solid transparent;
}
.sm-blue ul ul ul a,
.sm-blue ul ul ul a:hover,
.sm-blue ul ul ul a:focus,
.sm-blue ul ul ul a:active {
  border-left: 24px solid transparent;
}
.sm-blue ul ul ul ul a,
.sm-blue ul ul ul ul a:hover,
.sm-blue ul ul ul ul a:focus,
.sm-blue ul ul ul ul a:active {
  border-left: 32px solid transparent;
}
.sm-blue ul ul ul ul ul a,
.sm-blue ul ul ul ul ul a:hover,
.sm-blue ul ul ul ul ul a:focus,
.sm-blue ul ul ul ul ul a:active {
  border-left: 40px solid transparent;
}
.sm-blue ul li {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.sm-blue ul li:first-child {
  border-top: 0;
}




/* ADDED BY LOUIS
 ---------------------------------------- */
.sm-blue a:focus {
	outline: none;
}
.sm-blue > .menu-item > h3 a:hover {
	opacity: 0.75;
	/*background: #666;*/
}
.sm-blue > .menu-item > h3 a:hover span.sub-arrow {
	border: 1px solid #006994;
}
.sm-blue > .menu-item > h3 span.sub-arrow:hover {
	background: rgba(0, 0, 0, 0.8);
}

.sm-blue .sub-menu > .menu-item > h3 a:hover {
	/*opacity: 0.9;*/
	background: #ffffe0;
}
.sm-blue .sub-menu > .menu-item > h3 span.sub-arrow:hover {
	background: rgba(0, 0, 0, 0.2);
}



.toggle-menu {
	display: none;
}

#menu-switch {
	display: none;
}

@media screen and (max-width: 850px) {
	.toggle-menu {
		display: block;
		max-width: 200px;
		border-radius: 2px;
		text-align: center;
		margin-left: auto;
		margin-right: auto;
		cursor: pointer;
}
	#menu-caption {
		width: 100%;
		display: block;
		/*border-top-left-radius: 8px;
		border-top-right-radius: 8px;*/
		border-radius: 8px;
		padding: 10px 0;
		background: #3092c0;
		background-image: linear-gradient(to bottom, #3298c8, #2e8cb8);
		color: #fff;
		font-family: "PT Sans Narrow", "Arial Narrow", Arial, Helvetica, sans-serif;
		font-size: 23px;
		font-weight: bold;
		line-height: 23px;
		text-decoration: none;
		text-shadow: 1.5px 1.5px 0 #222,-1px -1px 0 #222,1px -1px 0 #222,-1px 1px 0 #222,1px 1px 0 #222;
		letter-spacing: 3px;
		-webkit-touch-callout: none;
		-webkit-user-select: none;
		-moz-user-select: none;
		-ms-user-select: none;
		user-select: none;
	}
	#menu-caption:hover {
		opacity: 0.75;
	}
	#menu-navicon:before { /* Create a hamburger navicon. */
		display: inline-block;
		content: "";
    	width: 16px;
    	height: 2.8px; /* Must be the same as border-bottom or a bit higher. */
    	border-top: 9.9px double #EEEEEE; /* Must be triple the border-bottom. */
    	border-bottom: 3.3px solid #EEEEEE;
		position: relative;
		top: -.03em;
		left: 0.3em;
	}
	#menu-navicon:after { /* Create a CSS dropdown arrow. */
		display: inline-block;
		content: "";
		border-left: 0.4rem solid transparent;
		border-right: 0.4rem solid transparent;
		border-top: 0.4rem solid #EEEEEE;
		margin-left: 0.5em; 
		position: relative;
		top: -.19em;
	}
	#main-nav {
		display: none;
		transition: opacity 1s;
		-webkit-animation-name: animatedisplay;
		-webkit-animation-duration: 0.9s;
		animation-name: animatedisplay;
		animation-duration: 0.9s;
	}
	#menu-switch:checked + #main-nav {
		display: block;
	}
	@-webkit-keyframes animatedisplay {
		from {display: none; opacity: 0}
		to {display: block; opacity: 1}
	}
	@keyframes animatedisplay {
		from {display: none; opacity: 0}
		to {display: block; opacity: 1}
	}
}
