/* HTML5 Boilerplate  */

/*@import url(http://fonts.googleapis.com/css?family=Roboto:300,400);*/
@import url(http://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic,700italic);
@import url(http://fonts.googleapis.com/css?family=Playball);

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
html, button, input, select, textarea { font-family: sans-serif; color: #222; }
body { margin: 0; font-size: 1em; line-height: 1.4; }

::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }

a { color: #00e; }
a:visited { color: #551a8b; }
a:hover { color: #06e; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }
abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }

label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
button[disabled], input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }

.chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0; }


body {
	background-color: #252525;
	font-size: 16px;
	line-height: 1.5;
	color:#666;
	font-family: 'Droid Serif', serif;
}

#wrap {
	/*padding: 20px;*/
}

#menu {
	width: 180px;
	padding:20px;
	position: absolute;
	left: 30px;
	top: 30px;
	background-color: #fff;
	box-shadow: 0px 0px 4px rgba(0,0,0,0.3);
	overflow:auto;
}

#nav {
	margin: 0;
	padding: 20px 0;
	list-style: none;
}

#nav a {
	text-decoration: none;
	color:#222;
	padding:10px 0;
	display: block;
}

#nav li {
	border-bottom: dotted 1px #ddd;
}

.page {
	/*box-shadow: 0px 0px 4px rgba(0,0,0,0.3);*/
	padding: 20px;
}

#pages {
	width: 520px;
	background-color: #fff;
	position: absolute;
	top:30px;
	left:260px;
	padding:20px;
	overflow: auto;
	box-shadow: 0px 0px 4px rgba(0,0,0,0.3);
}

h1, h2, h3, h4, h5 {
	font-family: 'Playball', serif;
	color:#004b80;
	margin: 40px 0 10px 0;
}

.page ul {
	margin: 1em 0 1em 15px;
	padding: 0 0 0 15px;
	list-style: url('../img/bullet.png');
}

.page li {
	margin-bottom: 10px;
	padding-left: 10px;
}

.page h1 {
	display: block;
	margin-bottom: 30px;
}

.page img {
	-webkit-box-shadow: 0 2px 3px rgba(0,0,0,0.1);
	box-shadow: 0 2px 3px rgba(0,0,0,0.1);
}

/*h1 {
	margin: 0 0 40px 0;
}*/



.close, .open {
	width: 50px;
	height: 50px;
	background-color: #fff;
	background-image: url('../img/close.jpg');
	position: absolute;
	top: 30px;
	left: 830px;
	cursor: pointer;
	box-shadow: 0px 0px 4px rgba(0,0,0,0.3);
}


.home-grid {
	position: absolute;
	top:30px;
	right:30px;
}

.box1 {
	background-color: #fff;
	float: left;
	position: relative;
	box-shadow: 0px 0px 4px rgba(0,0,0,0.3);
}

.box2 {
	float: right;
}

.box-inner-1, .box-inner-2 {
	background-color: #fff;
	position: relative;
	box-shadow: 0px 0px 4px rgba(0,0,0,0.3);
}

.box-inner-1 {
	margin-bottom: 10px;
}

.caption {
	position: absolute;
	left:0;
	bottom:0;
	width: 100%;
	background-color: rgba(0,75,128, 0.7);
}

.caption .text {
	padding: 15px;
	color:#fff;
}


#address {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 10px;
	line-height: 15px;
	color: #999;
}


/*
|--------------------------------------------------------------------------
| Borders
|--------------------------------------------------------------------------
*/


b {
	background-color: #fff;
	position: absolute;
	z-index: 999;
	display: none;
}

b.top {
	width:100%;
	height:10px;
	top: 0;
	left: 0;
}

b.bottom {
	width: 100%;
	height:10px;
	bottom: 0;
	left: 0;
}

b.left {
	width:10px;
	height: 100%;
	top: 0;
	left: 0;
}

b.right {
	height: 100%;
	width:10px;
	top: 0;
	right: 0;
}



#mobilefooter {
	display: none;
	margin:0 20px 20px 20px;
	padding: 0;
	list-style: none;
	background-color: #0073b6;
	color:#fff;
	padding: 20px;
	text-align: center;
	box-shadow: 0px 0px 4px rgba(0,0,0,0.3);
}

#mobilefooter li {
	display: inline;
	font-size: 12px;
	line-height: 18px;
}

input, textarea { outline: none; }

/*
|--------------------------------------------------------------------------
| Form
|--------------------------------------------------------------------------
*/

.field-wrap {
	margin: 0 0 15px 0;
}

label {
	float: left;
	padding: 10px 0;
}

.field {
	float: right;
	padding: 10px;
	border: solid 1px #ddd;
	-webkit-box-shadow: inset 0px 2px 3px #f9f9f9;
	-moz-box-shadow: inset 0px 2px 3px #f9f9f9;
	box-shadow: inset 0px 2px 3px #f9f9f9;
	width:300px;
}

.error {
	display: none;
	color: #b94a48;
	background-color: #f2dede;
	border:solid 1px #eed3d7;
	padding: 10px;
	border-radius: 3px;
	margin:10px 0; 
}

.b.btn {
	padding: 10px 25px;
	border:0;
	background-color: #0088cc;
	color: #fff;
	float: right;
	font-size: 16px;
	line-height: 24px;
}

.parsley-error-list {
	display: block;
	clear: both;
	color: #c33;
	list-style: none;
	padding: 5px 0;
	margin:0;
}

.parsley-error-list li {
	padding: 0 0 0 160px;
}

#thanks {
	text-align: center;
	padding: 30px;
	border:dashed 1px #ddd;
	border-radius: 4px;
	margin: 20px 0;
}

.checkbox {
	padding: 10px;
	background-color: #f9f9f9;
	border-radius:3px;
}

.checkbox label {
	float: left;
	padding: 0;
}

#checkbox {
	float: right;
	margin:5px;
}


a {
	color: #0088cc;
}

#logos {
	display: block;
	margin:25px 0 0 0;
}


.field-wrap.checkbox {
	display: none !important;
}


/*.field-wrap.checkbox {
	display: none !important;
}*/


@media only screen and (min-width: 35em) {
  

}

.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }
.hidden { display: none !important; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }

@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } 
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } 
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } 
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}

@media (max-width: 767px) {

	body {
		font-size: 14px;
		line-height: 21px;
	}

	b {
		display: none;
	}
	.home-grid {
		width: auto;
		margin:0 20px 20px 20px;
		position: static;
	}
	#address {
		display: none;
	}
	#menu {
		position: static;
		width: auto;
		margin:20px;
	}

	#menu a {
		font-size: 16px;
		line-height: 24px;
	}

	#logo {
		display: block;
		margin: 0 auto;
	}

	.home-grid div {
		margin-bottom: 20px;
		float: none;
		position: relative;
	}

	.box1, .box-inner-1, .box-inner-2 {
		background-color: #ddd;
		height:200px;
	}

	#pages {
		position: static;
		margin:20px;
		width: auto;
		padding: 20px;
	}

	.page {
		padding: 0;
	}
	
	#mobilefooter {
		display: block;
	}

	.close {
		display: none;
	}

}
