@charset "utf-8";
/* CSS Document */

html,
body {
	height: 100%;
	margin: 0;
	padding: 0;
}
html {
	background: #052174 url("../img/layout.01.jpg") top right no-repeat;
}
body {
	font: 62.5%/1.5 Arial, Helvetica, sans-serif;
	color: #fff;
	overflow: auto;
	background: none;
	display: grid;
	place-items: center;
}

h1,
h2,
h3,
h4 {
	margin: 5px 0;
	padding: 0;
	color: #0043a8;
	font-weight: bold;
}
h1 {
	font-size: 1.6em;
}
h2 {
	font-size: 1.4em;
	line-height: 1.35em;
	color: #0043a8;
	text-transform: capitalize;
}
h3 {
	font-size: 1.2em;
	line-height: 1.15em;
	color: #0043a8;
	text-transform: capitalize;
}
h4 {
	font-size: 1em;
}

hr {
	width: 100%;
	height: 1px;
	padding: 0;
	margin: 10px 0;
	border-top: #fff 2px solid;
	border-bottom: none;
	border-left: none;
	border-right: none;
}

p {
	margin: 0 0 10px;
	font-size: 1.2em;
	line-height: 1.4;
}
span {
	color: #0043a8;
}

form {
	position: relative;
	top: 0;
	margin: 0;
	padding: 0;
	display: block;
}
label {
	font-size: 1.2em;
	display: block;
	text-align: left;
	margin: 4px 0 16px;
	padding: 0;
	clear: both;
}
input.text-input,
textarea {
	padding: 5px;
	margin-bottom: 10px;
	border: #a9a9a9 1px solid;
}
textarea {
	margin: 5px 0;
	padding: 5px;
	border: #a9a9a9 1px solid;
}
button {
	height: 24px;
	width: 95px;
	color: #000;
	cursor: pointer;
	border: none;
}
button:hover {
	border: none;
}

aside,
figure,
footer,
header,
nav,
section {
	display: block;
	margin: 0;
	padding: 0;
}

/* ----------------------------------------------------------------------------------------------------------
1) Layout
---------------------------------------------------------------------------------------------------------- */

header,
article,
footer {
	width: 960px;
	padding: 0;
	margin: 0;
	position: relative;
	top: 0;
	left: 0;
	display: block;
}

#outer {
	height: 100%;
	width: 100%;
	overflow: visible;
} /* or without overflow */
#outer[id] {
	display: table;
	position: static;
}
#middle {
	position: absolute;
	top: 50%;
	width: 100%;
	text-align: center;
} /* for explorer only*/
#middle[id] {
	display: table-cell;
	vertical-align: middle;
	position: static;
}
#page-wrap {
	width: 940px;
	height: 735px;
	margin: 0 auto;
	padding: 15px;
	text-align: left;
	display: grid;
	place-items: center;
}

header {
	width: 960px;
	height: 64px;
	position: relative;
}
header .logo {
	position: absolute;
	left: 30px;
}
header .backto a {
	color: #fff;
	position: absolute;
	top: 42px;
	left: 370px;
}
header .backto a:hover {
	color: #666;
}
header .tel {
	position: absolute;
	right: 30px;
	top: 28px;
	font-size: 2.6em;
	font-weight: normal;
	text-shadow: #333 1px 1px 1px;
}

article {
	width: auto;
	height: 590px;
	margin: 10px 0;
	padding: 5px 6px;
	display: block;
	color: #000;
	overflow: hidden;
	background: #fff;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
article aside {
	float: left;
	width: 344px;
	height: auto;
	position: relative;
	overflow: hidden;
}
article section#main {
	float: right;
	width: 565px;
	height: auto;
	margin: 0;
	padding: 10px 8px 10px;
	overflow: hidden;
}

footer {
	width: auto;
	height: 28px;
	padding: 0 15px;
	color: #000;
	display: block;
	background: #fff;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
footer p {
	font-size: 1.1em;
	line-height: 2.4;
}
footer p.copy {
	float: left;
}
footer p.design {
	float: right;
}

/* ----------------------------------------------------------------------------------------------------------
1) Links and Navigation
---------------------------------------------------------------------------------------------------------- */

a:active,
a:visited,
a:link {
	color: #0272e2;
	text-decoration: none;
}
a:hover {
	color: #000;
	text-decoration: none;
}

a.dark:active,
a.dark:visited,
a.dark:link {
	color: #fff;
	text-decoration: none;
}
a.dark:hover {
	color: #999;
	text-decoration: none;
}

nav#side {
	width: 165px;
	font-size: 1.2em;
	position: absolute;
	top: 80px;
	left: 0;
}
nav#side span {
	position: relative;
	left: 20px;
	top: 7px;
	color: #fff;
}
nav#side a {
	width: 165px;
	height: 30px;
	display: block;
	margin-bottom: 10px;
	background: url("../img/nav.btn.png") top no-repeat;
}
nav#side a:hover {
	color: #ccc;
	text-decoration: none;
	background: url("../img/nav.btn.png") bottom no-repeat;
}

ul#gallery-nav {
	width: 165px;
	position: absolute;
	top: 394px;
	right: 0;
}
ul#gallery-nav li {
	width: 165px;
	height: 30px;
	display: block;
	margin-bottom: 10px;
	background: url("../img/gallery_nav.png") top no-repeat;
}
ul#gallery-nav li:hover {
	color: #ccc;
	text-decoration: none;
	background: url("../img/gallery_nav.png") bottom no-repeat;
}
ul#gallery-nav li a {
	width: 165px;
	height: 30px;
	display: block;
	font-size: 1.2em;
	text-transform: uppercase;
	position: relative;
	left: 20px;
	line-height: 2.6em;
}

/* ----------------------------------------------------------------------------------------------------------
2) Links
---------------------------------------------------------------------------------------------------------- */

.welcome {
	float: left;
	width: 365px;
	height: auto;
	margin-left: 5px;
	text-align: justify;
	overflow: hidden;
}
.welcome p {
	font-size: 1.2em;
}
.small-gal {
	float: right;
	width: 175px;
	height: auto;
}

.quote {
	font-style: italic;
	font-size: 1.2em;
	text-align: center;
}
.person {
	margin: 5px 0;
	font-weight: bold;
	font-size: 1.1em;
	text-align: right;
}

#gallery {
	width: 565px;
	margin: 0 auto;
	overflow: hidden;
	display: block;
	height: auto;
	list-style: none;
}
#gallery li {
	float: left;
	width: 90px;
	height: 90px;
	margin: 0 4px 2px 0;
	text-align: center;
	overflow: hidden;
}
#gallery li:nth-child(6n) {
	margin: 0 0 2px 0;
}
#gallery li img {
	max-width: 100%;
	box-shadow: none;
	border: #999 1px solid;
}

ul.certs {
	width: 560px;
	height: auto;
	margin: 0;
	padding: 0;
	list-style: none;
}
ul.certs li {
	width: 65px;
	margin: 0 1px;
	display: inline;
}

.google-map {
	width: 562px;
	height: 250px;
	margin-bottom: 18px;
	border: #666 1px solid;
}
#map_canvas {
	height: 100%;
}
#bodyContent {
	width: 190px;
}
#bodyContent p {
	color: #000;
	font-size: 12px;
}

.addy {
	float: left;
	width: 200px;
	height: auto;
	margin: 15px 0 0 0;
	overflow: hidden;
}
#contact-form {
	float: right;
	width: 340px;
	height: auto;
	margin: 10px 0 0;
	overflow: hidden;
}
#contact-form label {
	float: left;
	width: 100px;
	font-size: 1.2em;
	font-weight: bold;
	color: #646464;
}
#contact-form input {
	width: 160px;
	margin-left: 64px;
}
#contact-form textarea {
	position: relative;
	padding: 5px;
	width: 328px;
	max-width: 328px;
	height: 85px;
	line-height: 150%;
}
#contact-form input,
textarea {
	padding: 5px;
	border: solid 1px #e5e5e5;
	outline: 0;
	background: #fff url("../images/contact/bg_form.png") left top repeat-x;
	background: -webkit-gradient(
		linear,
		left top,
		left 25,
		from(#fff),
		color-stop(4%, #eee),
		to(#fff)
	);
	background: -moz-linear-gradient(top, #fff, #eee 1px, #fff 25px);
	box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 8px;
	-moz-box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 8px;
	-webkit-box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 8px;
}
#contact-form button {
	position: relative;
	float: right;
	color: #fff;
	background: #041d68;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}
#contact-form button:hover {
	background: #1e3a90;
}

#form-msg {
	position: relative;
	top: 100px;
	text-align: center;
	font-size: 1.4em;
}

table {
	width: 552px;
	margin: 1em auto 3em;
	border-top: 1px solid #e5eff8;
	border-right: 1px solid #e5eff8;
	border-collapse: collapse;
}
table th {
	padding: 0.2em 0.5em;
	font-size: 1.3em;
	font-weight: bold;
	background: #abccff;
}
table tr.odd {
	background: #dceefc;
}
table td {
	padding: 0.2em 0.5em;
	font-size: 1.2em;
	font-weight: normal;
}

.gallery-title {
	margin: 0 0 5px;
	font-size: 1.8em;
	line-height: 1.3;
	color: #0043a8;
	text-transform: capitalize;
}
