*{
	/* Universal reset: */
	margin:0;
	padding:0;
	border:0;
}

header,footer,
article,section,
hgroup,nav,
figure{
	/* Giving a display value to the HTML5 rendered elements: */
	display:block;
}

html{
	background-color:#1E1E1E;
	background-image:url(img/bg.gif);
	width:100%;
	height: 100%;
	background-attachment:fixed;
	}
body{
	/* Setting the default text color, size, page background and a font stack: */
	font-size:0.825em;
	color:#FFF;
	font-family:Arial, Helvetica, sans-serif;
	padding:1em 1em 5em;
}
/* Hyperlink Styles: */

a, a:visited {
	color:#F00;
	text-decoration:none;
	outline:none;
}

a:hover{
	text-decoration:underline;
	color: #FFF;
}

a img{
	border:none;
}

/* Headings: */

h1,h2,h3{
	font-family:"Myriad Pro","Helvetica Neue",Helvetica,Arial,Sans-Serif;
	text-shadow:0 1px 1px black;
}

h1{
	font-size:2.3em;
	font-weight: normal;
}

h2{
	font-size:2.2em;
	font-weight: normal;
}

h3{
	font-size:2em;
	font-weight:normal;
}

h4{
	font-size:1.8em;
	font-weight:normal;
}

h5{
	font-size:1.5em;
	font-weight:normal;
}

h6{
	font-size:1.3em;
	font-weight:normal;
}

p{
	line-height:1.5em;
	padding-bottom:1em;
	text-align: left;
}

.p{
	line-height:1.5em;
	padding-bottom:1em;
	vertical-align: top;
}
.line{
	/* The dividing line: */
	height:3px;
	overflow:hidden;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	border-radius:1px;
	-moz-box-shadow:0 10px 10px #333333;
	-webkit-box-shadow:0 0 10px #333333;
	background-color: #1A7DB9;
	margin-bottom: 10px;
}


footer .line{
	margin:2em;
}

#logo {
	background-image: url(img/logo.png);
	background-repeat: no-repeat;
	min-height: 100px;
	float: left;
	width: 305px;
}

#nav2{
	background:#FFF;
	position:absolute;
	right:22px;
	top:448px;
	width: 950px;
	background-color: #666;
	-moz-box-shadow:0 0 10px #666;
	-webkit-box-shadow:0 0 10px #666;
}
nav{
	background:#FFF;
	position:absolute;
	right:18px;
	top:99px;
	width: 965px;
	background-color: #333;
	-moz-box-shadow:0 0 10px #666;
	-webkit-box-shadow:0 0 10px #666;
}


/* The clearfix hack to clear the floats: */

.clear:after{
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

/* The navigation styling: */
nav ul li{
	display:inline;
	vertical-align: middle;
	text-align: center;
	color:#FFF;
	display:block;
	float:left;
	font-weight:bold;
	font-size:1em;
	margin:5px 10px;
	padding:7px 10px 7px;
	background-color:#666;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	border-radius:10px;
	min-width: 80px;
}
#nav2 ul li{
	display:inline;
	vertical-align: middle;
	text-align: center;
	color:#FFF;
	display:block;
	float:left;
	font-weight:bold;
	font-size:1em;
	text-shadow:#000 5px;
	margin:5px 10px;
	padding:7px 10px 7px;
	text-shadow:0 1px 1px white;
	background-color:#333;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	border-radius:10px;
	min-width: 150px;
}

#nav2 ul li a,
#nav2 ul li a:visited{
	color:#FFF;
	display:block;
	float:left;
	font-weight:bold;
	font-size:1em;
	text-shadow:#000 5px;
	margin:5px 10px;
	padding:7px 10px 7px;
	text-shadow:0 1px 1px white;
	background-color:#666;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	border-radius:10px;
}
nav ul li a,
nav ul li a:visited{
	color:#FFF;
}
nav ul li a:hover{
	color:#CCC;
}
#nav2 ul li a:hover{
	color:#CCC;
}


nav, #nav2, article, nav ul li a, nav2 ul li a,figure{
	/* Applying CSS3 rounded corners: */
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border-radius:3px;
}

/* Article styles: */

#page{
	width:1000px;
	margin:0 auto;
	position:relative;
	overflow: visible;
	display:none;
}

article{
	background-color:#333;
	margin:1.5em 0 5px;
	padding:20px;
	min-height: 460px;
	-moz-box-shadow:0 0 10px #666;
	-webkit-box-shadow:0 0 10px #666;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	border-radius:5px;
	margin-top: 70px;
}

figure{
	border:3px solid #142830;
	float:right;
	height:300px;
	margin-left:15px;
	overflow:hidden;
	width:500px;
}

figure:hover{
	-moz-box-shadow:0 0 2px #4D7788;
	-webkit-box-shadow:0 0 2px #4D7788;
}
.myButton {
	background-color:#FFF;
	display:inline-block;
	color:#000;
	font-family:arial;
	font-size:15px;
	font-weight:bold;
	padding:6px 24px;
	text-decoration:none;
	-moz-box-shadow:0 10px 10px #000;
	-webkit-box-shadow:0 0 10px #000;
	-moz-border-radius:5px;
	-webkit-border-radius:#00;
	border-radius:5px;
}.myButton:active {
	position:relative;
	top:1px;
}
.centable {
	margin: auto;
	width: 850px;
	text-align: center;
	overflow: visible;
	
}

figure img{
	margin-left:-60px;
}

/* Footer styling: */

footer{
	margin-bottom:30px;
	text-align:center;
	font-size:0.825em;
	color:#FFF
}


footer p{
	margin-bottom:-2.5em;
	position:relative;
}

#copy {
	background-image:url(img/copy.png);
	background-repeat: no-repeat;
	background-position:center;
	height:50px;
	width:100%;
	/* Broadway */
}
#links {
	color:#FFF;
	margin-top: 10px;
}

#page #articles #article1 .articleBody.clear {
	text-align: center;
}
#certs{
	background-image: url(img/certs.png);
	background-repeat: no-repeat;
	min-height: 100px;
	background-position: 0%;
	margin: 0 42.9%;
	width: 153px;
}
#contact{
	background-image: url(img/contact.png);
	background-repeat: no-repeat;
	min-height: 100px;
	background-position: 100%;
	float: right;
	width: 300px;
	margin-top: -100px;
}
#slider{
	height:282px;
	width:975px;
	margin-top: 50px;
}
#article1{
	float: left;
	width: 500px;
}
#article2{
	float: right;
	width: 400px;
}
.center{
	text-align:center;
	margin: 0 auto;	
}
#apDiv1{
	position:absolute;
	left: 961px;
	top: 536px;
	width: 52px;
}

