﻿


* {
	margin: 0;
	padding: 0;
}

body {
	background-color: #fff;	
	font-size: 100%;
	color: #666;
	font-family: Open Sans, Arial, Helvetica, sans-serif;
}

#wrapper {

	background-color: #fff;
	width: 100%;
	max-width: 1400px;
	margin: auto;
}


img {
	max-width: 100%;
}

h1, h2 {
	margin: 0 0 .5em 0;
	font-weight: normal;
}

p {
	margin: .3em 0 1.3em 0;
}

a img {
	border: none;
}

#header {
	width: 90%;
	margin: 0 auto;
	background-color: #fff;
	padding: 1em 0 0 0;
}


.topnavinner {
width: 98%;
margin: auto;
padding: 1em 0;
}


.topnav {
  overflow: hidden;
  background-color: #666;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 20px;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav a.active {
  background-color: #666;
  color: white;
}

.topnav .icon {
  display: none;
}



.bannerright {
float: right;
width:40%;
text-align: right;

}

.bannerleft{
float: left;
width:50%;
}

.bannerright a, .bannerright a {
	color: #666!important;
	text-decoration: none!important;
}


.bolditalic {
	font-weight: bold;
	font-style: italic;
}


.subcontent {
	width: 90%;
	margin: 2em auto;
}


.subcontentleft {
	float: left;
	width: 28%;
}

.subcontentright {
	float: right;
	width: 68%;
}

.subcontentright ul {
	margin: 2em 1em;			
}

.subcontentright li {
				margin: 1em;
}


.subcontent hr {
	color: #c0c0c0;
	border: none;
	background-color: #c0c0c0;
	height: 2px;
	margin: 2em 0;
}

 .sloping {
	font-style: italic;
}




#footer {
  clear: both;
  padding: 1em;
  background-color: #666;
  color: #fff;
text-align: center;
}


#footer h4 a {
color: #fff;
text-decoration: none;
}



@media screen and (min-width: 601px) and (max-width: 800px) {


.bannerright, .bannerleft {
float: none;
width:99%;
text-align: center;
font-size: 80%;
}

  .bannerright a, .bannerleft a {
text-decoration: none;
color: #666;
}


.subcontentleft {
	float: left;
	width: 28%;
}

.subcontentright {
	float: right;
	width: 68%;
}


.navholder {
				width: 100%;
				margin: auto;
				background-color: #666;
				text-align: center;
}

  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }

 .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }


}



/* ------------------------------------------------------- 481-780 -----------------------------------------------*/


@media screen and (min-width: 481px) and (max-width: 600px) {



.subcontentleft, .subcontentright {
	float: none;
	width: 98%;
		margin: auto;
}


  .bannerright, .bannerleft{
float: none;
width:99%;
text-align: center;
font-size: 80%;
}

  .bannerright a, .bannerleft a {
text-decoration: none;
color: #666;
}


.navholder {
	width: 100%;
	margin: auto;
	background-color: #666;
	text-align: center;
}

  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }

 .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }


.bannertextinner h1 {
		margin: .5em;
font-size: 130%;

}


}


/* ------------------------------------------------------- 480 -----------------------------------------------*/



@media screen and (max-width: 480px) {


.subcontentleft, .subcontentright {
	float: none;
	margin: auto;
	width: 98%;
}

  .bannerright, .bannerleft{
float: none;
width:99%;
text-align: center;
font-size: 80%;
}

  .bannerright a, .bannerleft a {
text-decoration: none;
color: #666;
}


.navholder {
				width: 100%;
				margin: auto;
				background-color: #666;
				text-align: center;
}


  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }

 .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }

.bannertextinner h1 {
	margin: .5em;
	font-size: 130%;

}


}
