/***** Import the reset and the @font face rules ******/

@import url("reset-type.css");

/***** Import the animated css spinner rules ******/
@import url("spinner.css");

/******************************************************/

body {
	background:url(../images/bg5.jpg);
	font-family: 'Source Sans Pro', sans-serif;
	color:#333;
	padding:0 20px;
}

.container {
	width:1020px;
	margin:0 auto;
}

header {
	position:relative;
}

#art {
	height:320px;
	width:100%;
	position:relative;
	background:#fff;
	overflow:hidden;
	font-family: 'FuturaStdBook', sans-serif;
}

#art div { position:absolute; opacity:0; }

#size {
	position:absolute;
	bottom:0;
	right:0;
	background: rgba(0,0,0,0.5);
	font-weight:700;
	color:#fff;
	padding:15px;
	font-size:125%;
}

#size:hover {
	background:#ad0202;
	cursor:pointer;
}

header h1 {
	/*font-family: 'Source Sans Pro', sans-serif;
	font-size:400%;
	color:#fff;
	letter-spacing:-2px;
	font-weight:700;*/
	background: rgba(0,0,0,0.5);
	position:absolute;
	top:0;
	left:0;
	z-index:100;
	width:100%;
	padding:0px 30px;
}

header h1 img {
	width: 300px;
	opacity: 0.8;
}

header a {
	color:#fff;
}

header a:hover {
	color:#fff;
}

#top {
	padding:30px;
	background: rgba(255,255,255,0.6);
	overflow:hidden;
	position:relative;
}

#subnav {
	position:absolute;
	top:0;
	right:0;
	width:100%;
	overflow:hidden;
	padding:10px 0 10px 20px;
	margin-right:30px;
}

#subnav ul li {
	float:right;
}

#subnav ul li a {
	display:block;
	text-align:right;
	margin-left:30px;
}

.vidcontainer {
	width:100%;
	height:0;
	padding-top:70%;
	position:relative;
}
.video {
	width:100%;
	position:absolute;
	top:0;
	left:0;
	height:100%;
}


.col {
	float: left;
	margin-right:4%;
}

.col:last-of-type {
	margin-right:0;
}

.half {
	width:48%;
}

.third {
	width:33.3333%;
	float:left;
	padding:30px;
}
.two-thirds {
	width:66.6666%;
	float:left;
	padding:30px;
	overflow:hidden;
}

.cell {
	float:left;
	width:33.3333%;
	padding:30px;
	background:rgba(255,255,255,0.85);
	min-height:340px;
	text-align:justify;
	font-size:14px;
	position:relative;
}

.cell:nth-child(odd) {
	background:rgba(255,255,255,0.75);
}

.cell:nth-child(even) {
	background:rgba(255,255,255,0.85);
}

.cell img {
	display:block;
	margin-bottom:15px;
}

#middle {
	/*background:rgba(255,255,255,0.85);*/
	overflow:hidden;
}

.page #middle {
	background:rgba(255,255,255,0.85);
}

#middle .description {
	background:rgba(37,58,101,0.6);
	padding:0;
	width:100%;
	overflow:hidden;
	font-size:14px;
	color:#eaeaea;
}

#middle .description h2 {
	padding:30px 0 0 30px;
	margin-bottom:0;
}

#middle .vidcontainer {
	margin-bottom:15px;
}

main
{
	display:block;
	padding: 30px;
}

h2 {
	font-family: 'Source Sans Pro', sans-serif;
	font-size:200%;
	margin-bottom:.5em;
	font-weight:700;
}

h3 {
	font-family: 'Source Sans Pro', sans-serif;
	font-size:125%;
	margin-bottom:.5em;
	font-weight:700;
}

p, main > div {
	line-height:1.5em;
	margin-bottom:1em;
}

#top p { text-align:justify; }


.title {
	display:table;
	width:54px;
	height:54px;
	border-radius:50%;
	position:absolute;
	left:50%;
	top:5px;
	margin-left:-25px;
	background:#636363;
	border: 2px solid #E8E8E8;
}

.title:hover {
	background:#ad0202;
}

.title h1 {
	display:table-cell;
	vertical-align:middle;
	color:#fff;
	font-size:16px;
	text-align:center;
	font-family:FuturaStdMedium;
}

a {
	color:#6e0f06;
	font-weight:700;
}

a:hover {
	color:#ad0202;
}

p.more {
	position:absolute;
	bottom:0px;
	left:0px;
	width:100%;
	padding:0 30px;
	line-height:30px;
}

.more a {
	display:block;
}

.more a:first-of-type {
	float:left;
}

.more a:last-of-type {
	float:right;
}

/**************** Footer Styles ******************/

footer {
	
	background:rgba(37,58,101,0.6);
	min-height:260px;
	color:#EAEAEA;
	overflow:hidden;
	
}

footer .two-thirds div {
	width: 25%;
	border-radius:50%;
	float:left;
}

footer div img {
	border-radius:50%;
}

footer .two-thirds article {
	float:left;
	width:75%;
	padding-left:30px;
}

footer a {
	color:rgba(142,224,252,1.00);
}

footer a:hover {
	color:rgba(12,134,231,1.00);
}

p.social {
	font-size:300%;
	margin-bottom:0;
}

.sub-footer {
	clear:both;
	background:rgba(0,0,0,0.5);
	padding:30px;
}

.sub-footer p {
	text-align:center;
	margin-bottom:0;
}

/************** Form Styles **************/

.contact {
	background: rgba(225,11,205,0.8);
	position:relative;
}

label, input { display:block; }

label { margin-bottom:5px; }

input, textarea { width: 100%; padding:5px; margin-bottom:10px; }

textarea { height: 100px; }

input[type="submit"] {
	display: inline-block;
	height: 38px;
	padding: 0 30px;
	color: #EAEAEA;
	text-align: center;
	font-size: 11px;
	font-weight: 600;
	line-height: 38px;
	letter-spacing: .1rem;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	border-radius: 4px;
	border: 1px solid #bbb;
	cursor: pointer; 
	background:rgba(37,58,101,1.0);
}
  
 #message {
	 position:absolute;
	 top:0;
	 left:0;
	 width:100%;
	 background:rgba(0,0,0,0.7);
	 height:100%;
 }
 
 .error {
	 background:rgba(245,3,3,1.0);
	 padding:30px;
 }
 
  .success {
	 background:rgba(82,162,20,1.00);
	 padding:30px;
 }
 
 .preloader {
	 text-align:center;
	 padding-top:100px;
 }
 
 .hide-message {
	 display:none;
 }
 
 .show-message {
	 display:block;
 }
 
 /************ Animation Styles ************/

.fadeOutElement {
	animation: fadeout 2s;
    -moz-animation: fadeout 2s; /* Firefox */
    -webkit-animation: fadeout 2s; /* Safari and Chrome */
    -o-animation: fadeout 2s; /* Opera */
}

@keyframes fadeout {
    from {
        opacity:1;
    }
    to {
        opacity:0;
    }
}

@-moz-keyframes fadeout { /* Firefox */
    from {
        opacity:1;
    }
    to {
        opacity:0;
    }
}

@-webkit-keyframes fadeout { /* Safari and Chrome */
    from {
        opacity:1;
    }
    to {
        opacity:0;
    }
}

@-o-keyframes fadeout { /* Opera */
    from {
        opacity:1;
    }
    to {
        opacity:0;
    }
}

/**************** Media Queries for mobile screen sizes ****************/

@media (max-width: 1060px){
	
	.container {
		width:100%;	
	}
}

@media (max-width: 770px){
	
	.cell {
		width:50%;
	}
	
	.two-thirds, .third {
		width:100%;
		float:none;
	}
}

@media (max-width: 550px){
	
	.col {
		float: none;
		margin-right:0;
	}
	.half {
		width:100%;
	}
	.cell {
		float:none;
		width:100%;
	}
	
}

@media (max-width: 400px){
	
	#top, main, .cell {
		padding:15px;
	}
	
	h2 {
		font-size:24px;
	}
	
	#subnav {
		position:static;
	}
	#subnav ul li {
		float:none;
	}
	#subnav ul li a {
		margin:15px 0;
		text-align:center;
	}
	
}
