 /*RESET*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {margin:0; padding:0; border:0; outline:0; font-size:100%; vertical-align:baseline; background:transparent;} body {line-height: 1;}ol, ul{list-style:none;} blockquote, q{quotes:none;} blockquote:before, blockquote:after, q:before, q:after{content:'';content:none;} :focus{outline:0;} ins{text-decoration:none;} del{text-decoration:line-through;} table{border-collapse:collapse; border-spacing:0;}


body { 
	font-size: 1.05em;
	line-height: 1.25em;
	font-family: Helvetica Neue, Helvetica, Arial;
	color: #555;
}

h1 {
	font-family: 'Oswald', sans-serif;
	font-size: 2em;
	font-weight: 400;
	margin: 0 0 20px;
	text-align: center;
	text-shadow: 1px 1px 0 #fff, 2px 2px 0 #bbb;
	color: #B73518;
}

footer{
 border: 1px solid  #ccc; padding: 0.9em;
position: relative; margin: .5em;
background:#f0f0f5;
width:65%;

}

#infoot{
width:98%;
 border: 1px solid  #ccc;
background:#fff;
}


hr {
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #fff;
	margin: 25px 0;
	clear: both;
}
.centered {
	text-align: center;
}
.wrapper {
	width: 100%;
	padding: 30px 0;
}
.container {
	width: 1200px;
	margin: 0 auto;
}



.grid-container {
	display: none;
}
/* ----- Image grids ----- */
ul.rig {
	list-style: none;
	font-size: 0px;
	margin-left: -2.5%; /* should match li left margin */
}


ul.rig li {
	display: inline-block;
	padding: 10px;
	margin: 0 0 2.5% 2.5%;
	background: #fff;
	border: 1px solid #ddd;
	font-size: 16px;
	font-size: 1rem;
	vertical-align: top;
	box-shadow: 0 0 5px #ddd;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
ul.rig li img {
	max-width: 100%;
	height: auto;
	margin: 0 0 10px;
}
ul.rig li h3 {
	margin: 0 0 5px;
}
ul.rig li p {
	font-size: .9em;
	line-height: 1.5em;
	color: #000;
}


ul.rig li a {
	
	color: #AD0707;
}



/* class for 3 columns */
ul.rig.columns-2 li {
	width: 30.83%; /* this value + 2.5 should = 33% */	
}



#headernav a {

	color: #4C9CF1;
	text-decoration: none;
	font-weight: bold;

}

#headernav a:hover {

	color: #B73518;

}





header {

	background: #fff;
	width: 100%;
	height: 110px;
	position: fixed;
	top: 0;
	left: 0;
	border-bottom: 4px solid #4C9CF1;
	z-index: 100;

}

#logo{

	margin: 10px;
	float: left;
	width: 305px;
	height: 97px;
	background: url(../logo2.jpg) no-repeat center;
	display: block;

}


#liner {

	background: transparent;
	width: 100%;
	height: 25px;
	position: relative;
	
	border-bottom: 4px solid #4C9CF1;
      display: block;
	z-index: 100;

}





#headnav {

	float: right;
	padding: 20px;	
	
}

#menu-icon {

	display: hidden;
	width: 12px;
	height: 14px;
	background: #FFF url(../menu-icon.png) center;

}

		
a:hover#menu-icon {

	background-color: #444;
	border-radius: 4px 4px 0 0;

}

#headernav {

	list-style: none;

}

#headernav li {

	
	float: left;
	padding: 10px
}

#headernav li ul
{
        display: none;
        position: absolute;
        top: 100%;
    }
        #headernav li:hover ul
        {
            display: block;
        }



#headernav li.current {

	color: #2262AD;

}
h2 {

	font-size: 1.48em;
	color: #661515;
	line-height: 1.0em;
	margin: 20px 0 ;

}

h4 {

	font-size: 0.8em;
	color: #0000;
	line-height: 1.0em;
	margin: 20px 0 ;

}

h5 {

	font-size: 1.10em;
	color: #661515;
	line-height:0.9em;
	margin: 20px 0 ;

}




p {

	line-height: 1.45em;
	margin-bottom: 20px;

}

#demo-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}
     
#demo-nav li {
  border: solid #878382;
  border-width: 0 0 1px 0;
}
     
#demo-nav li.current a {color: #9b9796;}
#demo-nav li.current a:hover {color: #111;}


#demo-nav a {
  color:#000;
  padding: 0.75em 5%;
  text-decoration: none;
  display: block;
  background-color: B56653;
  background-image: -webkit-linear-gradient(top, #753E31, #676362);
  background-image: -moz-linear-gradient(top, #753E31, #676362);
  background-image: -ms-linear-gradient(top, #753E31, #676362);
  background-image: -o-linear-gradient(top, #753E31, #676362);
}
     
#demo-nav a:hover {
  background-color: #3A1B14;
  background-image: -webkit-linear-gradient(top, #602618, #3A1B14);
  background-image: -moz-linear-gradient(top, #602618, #3A1B14);
  background-image: -ms-linear-gradient(top, #602618, #3A1B14);
  background-image: -o-linear-gradient(top, #602618, #3A1B14);
  color: #B73518;
}



		#nav
		{
			
			font-family: 'Open Sans', sans-serif;
			font-weight: 400;
			font-size: 0.7em;
			float: right;
			
		}

			#nav > a
			{
				display: none;
				
			}

			#nav li
			{
				position: relative;
				
			}
				#nav li a
				{
					color: #4C9CF1;
					display: block;
					 text-decoration: none;
				}
				#nav li a:active
				{
					background-color: black !important;
				}

			#nav span:after
			{
				width: 0;
				height: 0;
				border: 0.313em solid transparent; /* 5 */
				border-bottom: none;
				border-top-color: #efa585;
				content: '';
				vertical-align: middle;
				display: inline-block;
				position: relative;
				right: -0.313em; /* 5 */
			}

			/* first level */

			#nav > ul
			{
				height: 30%;
				background-color: white;
			}
				#nav > ul > li
				{
					padding :10px;
					
					float: left;
				}
					#nav > ul > li > a
					{
						height: 100%;
						font-size: 1.5em; /* 24 */
						line-height: 2.5em; /* 60 (24) */
						text-align: left;
						
					}
						#nav > ul > li:not( :last-child ) > a
						{
							border-right: 0px solid #cc470d;
						}
						#nav > ul > li:hover > a,
						#nav > ul:not( :hover ) > li.active > a
						{
						
							color: red;
						}


				/* second level */

				#nav li ul
				{
					background-color: #b33c00;
					display: none;
					position: absolute;
					top: 50px;
					width: 325%;
					
					
				}
					#nav li:hover ul
					{
						display: block;
						left: 0;
						right: 0;
												
					}
						#nav li:not( :first-child ):hover ul
						{
							left: -1px;
							
						}
						#nav li ul a
						{
							font-size: 1.25em; /* 20 */
							border-top: 1px solid #e15a1f;
							padding: 0.75em; /* 15 (20) */
							color: white;
						}
							#nav li ul li a:hover,
							#nav li ul:not( :hover ) li.active a
							{
								background-color:  #ffcc99;
								color: red;
							}



@media only screen and ( max-width: 72.5em ) /* 1000 */
		{
			#nav
			{
				position:absolute;
				top: 35px;
				left: 30%;
			}
		}

@media only screen and ( max-width: 60.5em ) /* 1000 */
		{

#nav
			{
				position:absolute;
				top: 35px;
				left: 40%;
			}

}


		@media only screen and ( max-width: 55em ) /* 1000 */
		{
			#nav
			{
				width: 100%;
				position: static;
				margin: 0;
			}
		}

		@media only screen and ( max-width: 54.8em ) /* 640 */
		{
			html
			{
				font-size: 75%; /* 12 */
			}

			#nav
			{
				position: relative;
				top: auto;
				left: auto;
			}
				#nav > a
				{
					width: 4.125em; /* 50 */
					height: 4.125em; /* 50 */
					text-align: left;
					text-indent: -9999px;
					background-color: #e15a1f;
					position: relative;
				}
					#nav > a:before,
					#nav > a:after
					{
						position: absolute;
						border: 2px solid #fff;
						top: 35%;
						left: 25%;
						right: 25%;
						content: '';
					}
					#nav > a:after
					{
						top: 60%;
					}

				#nav:not( :target ) > a:first-of-type,
				#nav:target > a:last-of-type
				{
					display: block;
				}


			/* first level */

			#nav > ul
			{
				height: auto;
				display: none;
				position: absolute;
				left: 0;
				right: 0;
			}
				#nav:target > ul
				{
					display: block;
				}
				#nav > ul > li
				{
					
					width: 100%;
					float: none;
				}
					#nav > ul > li > a
					{
						height: auto;
						text-align: left;
						padding: 0 0.833em; /* 20 (24) */
					}
						#nav > ul > li:not( :last-child ) > a
						{
							border-right: none;
							border-bottom: 1px solid #cc470d;
						}

					#nav > ul > li:hover > a,
						#nav > ul:not( :hover ) > li.active > a
						{
							
							background-color: #fff;
							color: red;
						}


				/* second level */

				#nav li ul
				{
					display: none;
					position: static;
					padding: 1.25em; /* 20 */
					padding-top: 0;
				}

				#nav li:hover ul
					{
						display: none;
						left: 0;
						right: 0;
												
					}
				
				#nav > ul
			{
			background-color: #cc5200;
			width: 30%;
			}


			#nav li a
				{
					color: #fff;
					 text-decoration: none;
				}

			#nav li a:active
				{
					background-color: black !important;
				}

			

		}





/*MEDIA QUERY*/



@media screen and (min-width: 54em) {
  #demo-nav {
    background: #ffffff;
	padding: 1.0em 0;
    border-bottom: 1px solid #878382;
    overflow: hidden;
  }
         
  #demo-nav li {border: 0;}
         
  #demo-nav a {
    padding: 0.75em 0 0.75em 5%;
    float: left;
    background-color: transparent;
    background-image: none;
    border-width: 0;
  }
         
  #demo-nav a:hover {
    background-color: transparent;
    background-image: none;         
  }
}





@media screen and (min-width: 56em) {
  #demo-nav a {padding: 0.75em 1.5em 0.75em 5%;}
}


@media screen and (max-width : 1020px) {

	header {

		position: absolute;

	}

	#menu-icon {

		display: inline;
		position: fixed;
		padding: 20px;
		background: #FFF url(../menu-icon.png) center;
		border: 2px solid #777;
		left: 20px;
		top: 5px;
		

	}

	#headnav ul, #headnav:active ul { 

		display: none;
		position: fixed;
		padding: 20px;
		background: #fff;
		border: 5px solid #444;
		left: 20px;
		top: 60px;
		width: 50%;
		border-radius: 4px 0 4px 4px;

	}

	#headnav li {

		text-align: center;
		width: 100%;
		padding: 10px 0;
		margin: 0;

	}

	#headnav:hover ul {

		display: block;

	}


@media (max-width: 1199px) {
	.container {
		width: auto;
		padding: 0 10px;
	}
}

@media (max-width: 480px) {
	ul.grid-nav li {
		display: block;
		margin: 0 0 5px;
	}
	ul.grid-nav li a {
		display: block;
	}
	ul.rig {
		margin-left: 0;
	}
	ul.rig li {
		width: 100% !important; /* over-ride all li styles */
		margin: 0 0 20px;
	}
}