@charset "UTF-8";
/* Simple fluid media
   Note: Fluid media requires that you remove the media's height and width attributes from the HTML
   http://www.alistapart.com/articles/fluid-images/ 
*/

/* =============================================================================
   HTML5 display definitions
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }

[hidden] { display: none; }

/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 * 2. Force vertical scrollbar in non-IE
 * 3. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
 */

html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }



/* Contain floats: h5bp.com/q */ 
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }

img {
  width: inherit;  /* This makes the next two lines work in IE8. */
  max-width: 100%; /* Add !important if needed. */
  height: auto;    /* Add !important if needed. */
}
/* IE 6 does not support max-width so default to width 100% */
.ie6 img {
	width:100%;
}

p a:link
{color:darkslategrey;}


.imgFloat
{
	float:left;
	width:100%;
	width: inherit;

}

.floatRight{
	width: inherit;  /* This makes the next two lines work in IE8. */
	width: 100%; /* Add !important if needed. */
	height: auto;    /* Add !important if needed. */
	float: none;
	margin-left:auto;
	margin-right: 6px;
}


body { 
	font-size: 1.05em;
	line-height: 1.25em;
	font-family: Candara,Calibri,Segoe,Segoe UI,Optima,Arial,sans-serif; 
	background-image: url(img/bkgd.jpg);
	color: #555;
}
.wrapper {
	margin-left:auto;
	margin-right:auto;
	padding-top:20px;
	padding-bottom:20px;
	background-color:#ebe7e4;
	background-image:url(img/CCTop_new.jpg);
	background-repeat:no-repeat;
	background-size:contain; 
	
}


a {
	color: #999;
	text-decoration: none;
	font-weight: bold;
	text-align: right;
}



a:hover {

	color: #444;
	

}



header {

	margin-left:auto;
	margin-right:auto;
	margin-bottom:20px;
	max-width: 980px;
	padding-left:20px;
	height:auto;
	top: 0;
	z-index: 100;
	

}

section a:link
{
	color: #868585;
}

section a:hover
{
	color:#2384C9;

}
nav {
	float: right;
	width: 100%;
	position:relative;
	z-index:999;
	
	
	
}

hr
{
	background-color: #2A78BB; 
	height:2px;
	border:0px;
	
}


#menu-icon {

	display: hidden;
	width: 40px;
	height: 40px;	 
 	margin-top:80px;
	background: #2262AD url(img/menu-icon.png) center;
	border-bottom:none;
	text-align:right;
	


}

a:hover#menu-icon {
	background-color:#4795C9;
	width: 40px;
	height: 40px;
 	margin-top:80px;
	border-bottom: none;
	
}

nav ul {

	list-style: none;
	

}

nav li {

	display: inline-block;
	float: right;
	padding: 10px;
	

}

.current {

	color: #2262AD;

}

section {
	position: relative;
	padding: 20px;
	min-width:240px;
	margin-top: 40px;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 20px;
 
	

}

h1 {
	color: rgba(30,111,189,1.00);
	line-height: 1.0em;
	margin-bottom: 6px;
	font-size: 30px;
	margin-top: 50px;

}

h2
{
	color: rgba(105,74,55,1.00);
	line-height: 1.0em;
	margin-top: 4px;
	font-size:24px;
}

h3
{
	line-height:1.0em;
	color:#4490CF;
}

p {
	line-height: 1.45em;
	margin-bottom: 20px;
	margin-top: 0px;
}
footer
{

padding-top: 4px;
width:100%;
padding-bottom:5px;
clear: both;
display: block;
text-align: center;


}

footer a
{
	color:#1e6fbd;
}

footer a:visited
{
	color:#555;
}

footer a:hover
{
	font-style:italic;
}


article li ul
{
	text-align:left;
	display:list-item;
}

ul.sans
{
    list-style-type: none;
}
.shadow {
	-webkit-box-shadow: 10px 10px 7px -5px rgba(0,0,0,0.75);
	-moz-box-shadow: 10px 10px 7px -5px rgba(0,0,0,0.75);
	box-shadow: 10px 10px 7px -5px rgba(0,0,0,0.75);
	border: 6px solid #6C513F;
}


/* Tablet Layout: 481px to 768px. Inherits styles from: Mobile Layout. */

@media only screen and (min-width: 481px) {
a {
	color: #fff;
	
}
.floatRight{
	
	width: inherit;  /* This makes the next two lines work in IE8. */
  width-max: 100%; /* Add !important if needed. */
  height: auto;    /* Add !important if needed. */
  float:none;
  margin-left:5px;
  left:0px;
	
}		

.wrapper {
	margin-left:auto;
	margin-right:auto;
	min-width:381px;
	-webkit-border-top-right-radius: 30px;
	-moz-border-radius-topright: 30px;
	border-top-right-radius: 30px;
	-webkit-border-top-left-radius: 30px;
	-moz-border-radius-topleft: 30px;
	border-top-left-radius: 30px;
	background-image:url(img/CCTop_new.jpg);
	background-repeat:no-repeat;
	background-size:contain; 

}


.imgFloat
{
 float:left;
 width:inherit;
 margin-right:10px;
 margin-top:5px;
 margin-bottom:5px;
 text-align:center;

 }
 
 nav
 {
	float: right;
	width: 100%;
	position:relative;
	z-index:999; 
	padding-right:20px;
	
 }
 .floatRight
{
	float:right;
	margin-left:40px;
	margin-bottom:40px;
	margin-top:0px;
	display:block;
	max-width:100%;
}

section {
	position: relative;
	padding: 20px;
	margin-top: 160px;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 20px;
	

}
}

/*MEDIA QUERY*/
@media only screen and (max-width : 640px) {
a {
	color: #fff;
	
}
aside
{
	margin:40px;
	float:right;
	display:block;
	width:inherit;
}
.wrapper{
	margin-top:0px;
	border: 1px solid #000;
	-webkit-border-top-right-radius: 30px;
	-moz-border-radius-topright: 30px;
	border-top-right-radius: 30px;
	-webkit-border-top-left-radius: 30px;
	-moz-border-radius-topleft: 30px;
	border-top-left-radius: 30px;

}
	header {

		position: absolute;

	}

	#menu-icon {

		display:inline-block;
		border-bottom:none;

	}
	
	nav
	{
		
		text-align:right;
		padding-bottom:20px;
	}

	nav ul, nav:active ul { 

		display: none;
		position: absolute;
		padding: -10%;
		left: 60px;
		top: 10px;
		width: 200%;
		background-color:#C8D5E7;
		color:#999;

	}

	nav li {

		text-align: left;
		width: 100%;
		margin: 0;
		display:block;
		

	}

	nav:hover ul {

		display: block;

	}
	
	nav
	{
	text-align: left;
	
	}
	.imgFloat
{
	float:left;
	margin-right:40px;
	padding-right:20px;
	margin-bottom:10px;
}

.floatRight
{
	float:right;
	margin-left:40px;
	margin-bottom:40px;
	margin-top:10px;
	display:block;
	max-width:100%;
}

	section {
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 20px;
	position: relative;
	border-bottom: 2px solid #2A78BB;	
}
}
	
/* Desktop Layout: 769px to a max of 1232px.  Inherits styles from: Mobile Layout and Tablet Layout. */

@media only screen and (min-width: 769px) {
	a {
	color: #fff;
	
}
	.wrapper{
	margin-left: auto;
	margin-right: auto;
	min-width: 769px;
	max-width: 980px;
	padding: 20px;
	margin-top: 20px;
	border: 1px solid #000;
	-webkit-border-top-right-radius: 30px;
	-moz-border-radius-topright: 30px;
	border-top-right-radius: 30px;
	-webkit-border-top-left-radius: 30px;
	-moz-border-radius-topleft: 30px;
	border-top-left-radius: 30px;

	}
	
	section {
	margin-top: 160px;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 20px;
	max-width: 950px;
	min-width: 769px;
	position: relative;
	padding-top: 40px;
	padding-right: 40px;
	padding-left: 40px;
	padding-bottom: 40px;
	
}
.imgFloat
{
 float:left;
 width:inherit;
 margin-right:10px;
 padding-right:20px;
 margin-top:5px;
 margin-bottom:5px;
 text-align:center;

 }
 
 article li ul
{
	text-align:left;
	display:list-item !important;
}

nav
{
	
	text-align:right;
	border-bottom: 2px solid #2A78BB;
	width: 70%;
}

h1
{
	font-size:36px;
	color: rgba(30,111,189,1.00);
	line-height:normal;
}

h2
{
	font-size:24px;
	line-height:normal;
}

h3
{
	font-size:20px;
}

.floatRight
{
	float:right;
	margin-left:40px;
	margin-bottom:40px;
	display:block;
	max-width:100%;
}



}
