@charset "utf-8";

/*HTML 5 support - Sets new HTML 5 tags to display:block so browsers know how to render the tags properly. */
header, section, footer, aside, nav, article, figure {
	display: block;
}
html {
 background: url(images/bk.jpg) no-repeat center center fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
}

body {
	margin: 0;
	padding: 0;
	font: 62.5% Georgia, "Times New Roman", Times, serif;	
}
/* ~~ Element/tag selectors ~~ */
ul, ol, dl { /* Due to variations between browsers, it's best practices to zero padding and margin on lists. For consistency, you can either specify the amounts you want here, or on the list items (LI, DT, DD) they contain. Remember that what you do here will cascade to the .nav list unless you write a more specific selector. */
	padding: 0;
	margin: 0;
}

h1, h2, h3, h4, h5, h6, p {
	padding-right: 10px;
	padding-left: 10px;
}

h1 {
	font-size: 2.4em;
}
h2 {
	font-size: 2.0em;
}
h3 {
	font-size: 1.8em;
}
h4 {
	font-size: 1.6em;
}
h5 {
	font-size: 1.4em;
}
h6 {
	font-size: 1.2em;
}
p {
	font-size: 1.6em;
}
dl {
	font-size: 1.6em;
	padding: 0px 10px;
}
dt {
	padding: 20px 0px 0px 0px;
}
dd {
	padding: 5px 0px 0px 0px;
}

a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
	border: none;
}
/* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */
a:link {
	color: #062e86;
	text-decoration: none; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
}
a:visited {
	color: #062e86;
	text-decoration: none;
}
a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
	text-decoration: underline;
}
/* ~~ This fixed width container surrounds all other blocks ~~ */
.container {
	width: 900px;
	background: #062e86;
	margin: 0 auto; /* the auto value on the sides, coupled with the width, centers the layout */
	padding: 5px;
}

/* ~~ The header is not given a width. It will extend the full width of your layout. ~~ */
header {
	margin: 0;
	padding: 0;
}
nav {
	margin: 0 auto;
	padding: 0;	
	font: 1.8em Verdana, Geneva, sans-serif;
	text-decoration: none;
	text-align: center;
	background: #ffffff;
}
nav ul {
	margin: 0 auto;
	padding: 0;
	list-style: none;
}
nav ul li {
	margin: 0 auto;
	padding: 0;
	display: inline;
	background: #ffffff;
}

nav ul a, nav ul a:visited { /* grouping these selectors makes sure that your links retain their button look even after being visited */
	margin: 0 auto;
	padding: 0 15px;
	display: inline-block;
	text-decoration: none;
	background: #ffffff;
}
nav ul a:hover, nav ul a:active, nav ul a:focus { /* this changes the background and text color for both mouse and keyboard navigators */
	background: #ffffff;
	color: #062e86;
	text-decoration: underline;
}

.content {
	background-color: #99a9cd;
	padding: 10px;
	width: 880px;
	float: left;
}

.content img{
	float: right;
	padding: 10px;
}

/* ~~ This grouped selector gives the lists in the .content area space ~~ */
.content ul, .content ol {
	margin: 0;
	padding: 0px 30px;
	font-size: 1.6em;
}

#locations {
	float: left;
	width: 50%;
}

#map{
	float: right;
	padding:5px
}

#contact {
	float: left;
	width: 50%;
}

#form {
	float: right;
	margin: 0px 10px 0px 0px;
	padding: 5px;
	width: 45%;
	font: Verdana, Geneva, sans-serif;
	color: #FFF;
	background: #062e86;
}

#form h2 { 
	text-align: center;
}
#form p {
	font-size: 1.4em;
}

#buttons { 
	text-align: center;
}

:invalid {
	background-color: ffdddd;
}
:valid {
	background-color: ddffdd;
}
:required {
	border-color: #800000;
	border-width: 3px;
}
.content #thanks {
	text-align: center;
}

/* ~~ The footer ~~ */
footer {
	padding: 10px;
	background: #99a9cd;
	color: #000;
	position: relative;/* this gives IE6 hasLayout to properly clear */
	clear: both; /* this clear property forces the .container to understand where the columns end and contain them */
	text-align: center;
	font-size: 1.2em;
}
footer p {	
	font-size: 1.2em;
}
footer ul li {
	margin: 0 auto;
	padding: 5px;
	list-style: none;
	font-size: .8em;
	text-align: center;
	display: inline;
}
footer ul a, nav ul a:visited { /* grouping these selectors makes sure that your links retain their button look even after being visited */
	padding: 5px 5px 5px 15px;
	text-decoration: none;
	display: inline-block;
}
footer ul a:hover, nav ul a:active, nav ul a:focus { /* this changes the background and text color for both mouse and keyboard navigators */
	color: #062e86;
	text-decoration: underline;
}

#phone {
	font-size: 2.2em;
	font-weight: bold;
	padding: 0px 0px 0px 20px;
}
