@import url(http://fonts.googleapis.com/css?family=Ubuntu:300,500,700);

body {
	padding: 0px;
	margin: 0px;
	font-family: Trebuchet, sans-serif;
	font-size: 1em;
}

h1 {
	color: #33838f;
	font-size: 1.6em;
	font-weight: 500;
	font-family: Ubuntu, Trebuchet, sans-serif;
}

h2 {
	color: #33838f;
	font-size: 1.4em;
	font-weight: 500;
	font-family: Ubuntu, Trebuchet, sans-serif;
}

h3 {
	color: #33838f;
	font-size: 1.2em;
	font-weight: 500;
	font-family: Ubuntu, Trebuchet, sans-serif;
}

p {
	font-weight: 300;
	line-height: 1.5em;
}

a {
	text-decoration: none;
	font-weight: 500;
	color: #33838f;
}

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

li {
	margin-bottom: 12px;
}

header {
	z-index: 4;
	padding-top: 40px;
	text-align: center;
}

header #HPVLogo {
	padding: 0px;
	margin-top: -30px;
	z-index: 4;
	margin-left: 50px;
	float: left;
}

header #AAPLogo {
	margin-top: -10px;
	margin-right: 50px;
	float: right;
}

nav {
	height: 400px;
	margin-bottom: 20px;
	padding-bottom: 20px;
	padding-top: 40px;
	margin-top: -20px;
	border-color: #5bb4c6;
	border-style: solid;
	border-left-width: 0px;
	border-bottom-width: 8px;
	border-right-width: 0px;
	border-top-width: 8px;
	background-color: #cedb59;
}

nav article {
	padding: 0px;
	text-align: center;
	background-position: center center;
	background-repeat: no-repeat;
	background-image: url(images/nav-bar.jpg);
	margin-left: 20px;
	float: left;
	width: 30%;
}

nav article a img {
	max-width: 370px;
	max-height: 408px;
	margin-top: -10px;
	width: 100%;
	height: 100%;
	margin-right: auto;
	margin-left: auto;
}

#professionals {
	background-image: url(images/nav-professionals.jpg);
	background-position: 0;
}

#parents {
	background-image: url(images/nav-parents.jpg);
}

#teens {
	background-image: url(images/nav-teens.jpg);
}

nav img{
	-webkit-transform:scale(1); /*Webkit: Scale down image to 0.8x original size*/
	-moz-transform:scale(1); /*Mozilla scale version*/
	-o-transform:scale(1); /*Opera scale version*/
	transform:scale(1);
	-webkit-transition-duration: 0.25s; /*Webkit: Animation duration*/
	-moz-transition-duration: 0.25s; /*Mozilla duration version*/
	-o-transition-duration: 0.25s; /*Opera duration version*/
	transition-duration: 0.25s;
}

nav img:hover{
	-webkit-transform:scale(1.03); /*Webkit: Scale up image to 1.2x original size*/
	-moz-transform:scale(1.03); /*Mozilla scale version*/
	-o-transform:scale(1.03); /*Opera scale version*/
	transform:scale(1.03);
}

section[role="banner"] {
	padding: 0px;
	margin-bottom: 20px;
	background-position: center center;
	background-repeat: repeat-x;
	height: 400px;
	margin-top: 55px;
	border-color: #5bb4c6;
	border-style: solid;
	border-left-width: 0px;
	border-bottom-width: 8px;
	border-right-width: 0px;
	border-top-width: 8px;
	background-color: #cedb59;
}

section[role="banner"] div {
	border-bottom-width: 0px;
	border-top-width: 0px;
	margin-right: auto;
	margin-left: auto;
	border-color: #5bb4c6;
	border-right-width: 2px;
	border-style: solid;
	border-left-width: 2px;
	height: 400px;
	width: 100%;
	max-width: 960px;
	min-width: 480px;
	background-repeat: repeat-x;
}

section[role="banner"] img {
	margin: 0px;
	display: none;
	z-index: 1;
	padding: 0px;
	border-right-width: 0px;
	border-left-width: 0px;
	border-color: #5bb4c6;
	border-bottom-width: 8px;
	border-style: solid;
	border-top-width: 8px;
	width: 100%;
}

#medical {
	background-image: url(images/banner-professionals.jpg);
}

#medical div {
	background-image: url(images/banner-professionals2.jpg);
}

#parent {
	background-image: url(images/banner-parents2.jpg);
}

#parent div {
	background-image: url(images/banner-parents.jpg);
}

#teen {
	background-image: url(images/banner-teens.jpg);
}

#teen div {
	background-image: url(images/banner-teens2.jpg);
}

section[role="content"] {
	padding-left: 50px;
	padding-bottom: 20px;
	padding-right: 50px;
	padding-top: 20px;
	clear: both;
}

section[role="content"] h1 {
	padding-bottom: 8px;
	background-image: url(images/underline.png);
	background-position: left bottom;
	background-repeat: no-repeat;
}

article[role="frontpage"] {
	margin-bottom: 40px;
	padding-right: 20px;
	border-right-color: #5bb4c6;
	border-right-width: 2px;
	border-right-style: solid;
	float: left;
	width: 65%;
}

article[role="information"] {
	padding-bottom: 50px;
	clear: left;
	float: left;
	width: 60%;
}

article[role="information"] iframe {
	width: 100%;
	height: 315px;
	max-width: 560px;
	margin-left: 20px;
	margin-bottom: 20px;
	text-align: center;
}

.smaller {
	font-size: 0.8em;
}

aside[role="box"] {
	font-size: 0.9em;
	padding-left: 20px;
	padding-bottom: 10px;
	padding-right: 20px;
	padding-top: 10px;
	margin-bottom: 20px;
	background-color: #cedb59;
	float: right;
	width: 30%;
	border-radius: 10px;
	-ms-border-radius: 10px;
}

aside[role="box"] h2 {
	color: #112233;
	font-weight: 500;
}

aside[role="box"] h3 {
	color: #112233;
	font-weight: 500;
	font-size: 1.1em;
}

aside[role="box"] a {
	color: #112233;
}

aside[role="box"] a:hover {
	color: #33838f;
}

aside[role="video"] {
	padding: 0px;
	margin-bottom: 20px;
	float: right;
	width: 30%;
	border-radius: 10px;
}

caption {
	clear: both;
	font-size: 0.6px;
}

aside[role="logo"] {
	margin-left: 10px;
	margin-bottom: 0px;
	margin-right: 0px;
	margin-top: 0px;
	padding: 0px;
	text-align: left;
	width: auto;
	float: left;
}

aside[role="logo"] img {
	margin-top: 75px;
	float: left;
}

footer {
	padding-left: 0px;
	padding-bottom: 3px;
	padding-right: 0px;
	padding-top: 3px;
	margin-bottom: 10px;
	clear: both;
	text-transform: uppercase;
	font-size: 0.8em;
	color: white;
	background-color: #5bb4c6;
	text-align: center;
}

footer a {
	margin-right: 0px;
	margin-left: 0px;
	padding-bottom: 3px;
	padding-top: 3px;
	padding-right: 5px;
	padding-left: 5px;
	color: white;
	text-decoration: none;
}

footer a:first-child {
	margin-left: 30px;
}

footer a:last-child {
	margin-left: 30px;
}

footer a:hover {
	color: white;
	background-color: #33838f;
	text-decoration: none;
}

footer img {
	border-width: 0px;
	padding: 0px;
	margin: 0px;
	height: 1px;
	width: 1px;
}

<!--[if IE 7]>

header #HPVLogo {
	padding-bottom: 10px;
}

section[role="banner"] {  
	clear: both;
	margin-right: auto;
	margin-left: auto;
}

<![endif]-->

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

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

article[role="frontpage"] {
	width: 57%;
}

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

body {
	font-size: 1.5em;
}

header {  
	margin: 0px;
	padding: 0px;
}

nav {  
	height: 300px;
}

section[role="banner"] {
	margin: 0px;
}

section[role="content"] {
	margin-top: -30px;
}

article[role="frontpage"] {
	margin-bottom: 20px;
	border-right-width: 0px;
	border-right-style: none;
	float: left;
	width: auto;
}

article[role="information"] {
	clear: both;
	float: none;
	width: 100%;
}

aside[role="logo"] {
	text-align: center;
	margin-right: auto;
	margin-left: auto;
	clear: both;
	width: auto;
	float: none;
}

aside[role="logo"] img {
	margin-left: 0px;
	margin-bottom: 20px;
	margin-right: 0px;
	margin-top: 0px;
	float: none;
}

aside[role="box"] {
	margin-right: auto;
	margin-left: auto;
	padding-left: 20px;
	padding-bottom: 10px;
	padding-right: 20px;
	padding-top: 10px;
	margin-bottom: 20px;
	float: none;
	width: 90%;
	border-radius: 10px;
}

footer {
	margin-bottom: 0px;
	font-size: 0.5em;
}

footer a {
	padding-right: 3px;
	padding-left: 3px;
	margin-right: 0px;
	margin-left: 0px;
}

footer a:first-child {
	margin-left: 20px;
}

footer a:last-child {
	margin-left: 20px;
}

header #HPVLogo {
	margin-bottom: 0px;
	margin-top: 0px;
	padding-right: 20px;
	padding-left: 20px;
	padding-bottom: 10px;
	padding-top: 10px;
	margin-right: auto;
	margin-left: auto;
	clear: both;
	float: none;
}

header #AAPLogo {
	margin-bottom: 0px;
	margin-top: 0px;
	padding-bottom: 0px;
	padding-top: 0px;
	padding-left: 20px;
	padding-right: 20px;
	margin-right: auto;
	margin-left: auto;
	clear: both;
	float: none;
}

}

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

nav {
	width: auto;
	height: auto;
}

nav article {
	padding: 0px;
	margin: 0px;
	clear: both;
	float: none;
	width: 100%;
}

nav article a img {
	width: 67%;
}

}