html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}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-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}

body, html {
	font-family: 'Open Sans', Arial, Helvetica, sans-serif;
	font-size: 16px;
}

#overflow {
	width: 100%;
	overflow: hidden;
}

.main {
	width: 990px;
	height: auto;
	margin: 0px auto;
	overflow: hidden;
}

#header #carrow {
	font-size: 4em;
	font-weight: 900;
	color: rgba( 0, 0, 0, 0.7 );
	text-decoration: none;
}

#header ul {
	float: right;
	margin-top: 3em;
}

#header ul, #header li {
	display: inline-block;
	list-style: none;
}

#header li {
	padding-left: 10px;
	padding-right: 10px;
}

#header li a {
	display: block;
	text-decoration: none;
	color: #5d86ff;
	font-weight: 600;
	transition: 200ms all ease;
}

#header li.active a, #header li:hover a {
	color: #340fff;
}

#content {
	padding: 25px;
}

#promo {
	margin-top: 15px;
	width: 105%;
	margin-left: -2.5%;
	height: 550px;
	background: url( "/images/1.jpg" );
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-size: 150%;
	box-shadow: 0px -4px 12px rgba( 0, 0, 0, 0.7 );
}

.small #promo, .smaller #promo {
	background-image: url( "/images/3.jpg" );
}

#promo #promoText {
	display: block;
	width: 450px;
	margin: 0px auto;
	padding: 20px;
	background: rgba(41, 134, 255, 0.80);
	border-radius: 10px;
	border-bottom-left-radius: 0;
	top: 325px;
	position: relative;
	color: white;
	text-transform: uppercase;
	font-size: 2em;
	font-weight: 800;
	transition: all ease 0.5s;
}

.smaller #promo {
	height: 250px;
	background-position: center 30%;
	background-size: 100%;
}

.smaller #promo #promoText {
	top: 75px;
}

#content h1 {
	padding: 20px;
	background: rgba(41, 134, 255, 0.80);
	border-radius: 10px;
	border-bottom-right-radius: 0;
	color: white;
	text-transform: uppercase;
	font-size: 1.5em;
}

#content h2~p:first-of-type {
	/*margin-top: 150px;*/
}

#content h2:first-of-type {
	display: inherit;
	height: auto;
	margin: 0;
	position: static;
}

#content h2 {
	display: block;
	max-width: 375px;
	padding: 10px;
	background: rgba(41, 134, 255, 0.80);
	border-radius: 10px;
	border-bottom-right-radius: 0;
	color: white;
	text-transform: uppercase;
	font-size: 1.2em;
	position: relative;
	z-index: 2;
	margin-bottom: 45px;
	margin-top: 80px;
}

.before {
	content: "";
	display: block;
	width: 100%;
	height: 150px;
	background: white;
	position: absolute;
	left: 0;
	z-index: 1;
	margin-top: 10px;
}

#content p, #content .content_text2, #content #content_head, .content_box img {
	padding-left: 15px;
	padding-right: 15px;
	line-height: 1.7em;
}

#content p:first-letter {
	/*font-weight: 900;*/
}

.before.random_1, .before.random_2, .before.random_3, .before.random_4, .before.random_5, .before.random_6, .before.random_7, .before.random_8, .before.random_9, .before.random_10, .before.random_11 {
	background: url( "/images/1.jpg" );
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-size: cover;
	opacity: 0.5;
	box-shadow: 0px -2px 6px rgba( 0, 0, 0, 0.7 );
	transition: opacity ease 1s;
}

.before.random_2 {
	background-image: url( "/images/2.jpg" );
}

.before.random_3 {
	background-image: url( "/images/3.jpg" );
}

.before.random_4 {
	background-image: url( "/images/4.jpg" );
}

.before.random_5 {
	background-image: url( "/images/5.jpg" );
}

.before.random_6 {
	background-image: url( "/images/6.jpg" );
}

.before.random_7 {
	background-image: url( "/images/7.jpg" );
}

.before.random_8 {
	background-image: url( "/images/8.jpg" );
}

.before.random_9 {
	background-image: url( "/images/9.jpg" );
}

.before.random_10 {
	background-image: url( "/images/10.jpg" );
}

.before.random_11 {
	background-image: url( "/images/11.jpg" );
}

.visible {
	opacity: 1!important;
}

.opacity {
	opacity: 0.5!important;
}

#content p, #content h2 {
	transition: opacity ease 1s;
	opacity: 0.5;
}

.subpages {
	width: 90%;
	margin: 0px auto;
}

.subpage {
	padding-top: 1em;
	padding-bottom: 1em;
	display: block;
	border-top: 1px dashed rgba(41, 134, 255, 0.50);
}

.subpages .subpage:first-child {
	border: none;
	padding-top: 0em;
}

h3 {
	padding-top: 0;
}

ul.subpages {
	padding: 0;
	width: 95%;
}

ul.subpages li {
	list-style-type: none;
}

ul.subpages li a {
	color: #340fff;
	text-decoration: none;
	transition: 200ms all ease;
}

ul.subpages li a:hover {
	color: #4968FF;
	text-decoration: underline;
}

ul.subpages li a:hover::before {
	border-bottom-right-radius: 0px;
	border-top-right-radius: 0px;
}

ul.subpages li a::before {
	content: " ";
	display: block;
	width: 10px;
	height: 10px;
	border-radius: 20px;
	background: rgba(55, 91, 255, 0.8);
	float: left;
	margin-right: 0.5em;
	position: relative;
	top: 0.5em;
	transition: 200ms all ease;
}

h3.sub {
	padding-top: 30px;
	padding-bottom: 15px;
	display: block;
	max-width: 350px;
	padding: 10px;
	background: rgba(55, 91, 255, 0.8);
	border-radius: 10px;
	border-bottom-right-radius: 0;
	color: white;
	text-transform: uppercase;
	font-size: 1.2em;
	position: relative;
	z-index: 2;
	margin-bottom: 45px;
	margin-top: 80px;
}

h2 a {
	display: block;
	color: white;
	text-decoration: underline;
}

h2 a::before {
	content: "< ";
}

h2 a::after {
	content: ":";
}

#breadcrumbs li, #breadcrumbs li a  {
	display: inline-block;
	float: left;
}

#breadcrumbs li a {
	text-decoration: none;
	color: white;
	font-size: 12px;
	background: rgba(85, 156, 255, 0.75);
	padding: 4px;
	transition: 200ms all ease;
}

#breadcrumbs li:hover a {
	background: rgba(85, 156, 255, 1);
}

#breadcrumbs, #breadcrumbs li {
	padding: 0;
	margin: 0;
}

#breadcrumbs {
	position: relative;
	top: -25px;
	margin-bottom: 25px;
}

#breadcrumbs li::before {
	content: ">";
	color: rgba( 255, 255, 255, 0.7 );
	background: rgba(85, 156, 255, 0.75);
	padding: 1px;
	float: right;
	font-weight: bold;
	font-size: 17px;
	transition: 200ms all ease;
}


#breadcrumbs li:hover::before {
	color: rgba( 255, 255, 255, 1 );
	background: rgba(85, 156, 255, 1);
}

#breadcrumbs li:first-child a {
	border-bottom-left-radius: 10px;
}

#breadcrumbs li:last-child::before {
	display: none;
}

div.gallery {
	width: 100%;
	clear: both;
	display: block;
	margin-top: 1em;
	margin-bottom: 1em;
}

.gallery .galleryImage {
	display: block;
	float: left;
}

.gallery.tripple .galleryImage {
	padding: 1%;
	max-width: 31%;
}

.gallery.double .galleryImage {
	padding: 1%;
	max-width: 48%;
}

.gallery.single .galleryImage {
	max-width: 99%;
}

.gallery.tripple img {
	/*width: 100%;
	height: auto;
	max-height: 350px;*/
}

@media screen and (max-width: 1000px) {
	#content h2 {
		max-width: 870px;
	}

	.before {
		height: 225px;
	}

	#header li {
		font-size: 30px;
	}

	#header ul {
		position: fixed;
		right: 0;
		top: 35px;
		background: white;
		width: 100%;
		z-index: 99;
	}

	#promo {
		margin-top: 145px;
	}

	#header #carrow {
		position: fixed;
		display: block;
		width: 100%;
		background: white;
		z-index: 99;
	}

	ul.subpages {
		margin-top: 15px;
	}
}