﻿
@import url(http://fonts.googleapis.com/css?family=Open+Sans:300,400,700);

@import url(http://fonts.googleapis.com/css?family=Montaga:400);

/* ---------------------------------------------------------
   Print styles
   ---------------------------------------------------------*/
@media print {
    * {
        color:#000 !important;
        box-shadow:none !important;
        text-shadow:none !important;
		background:transparent !important;
    }
	html { background-color:#fff; }
	/* Hide navigation */
	nav#main { display:none; }

	/* Show link destinations in brackets after the link text */
	a[href]:after { content: " (" attr(href) ") "; }
	a[href] {
		font-weight:bold;
		text-decoration:underline;
		color:#06c;
		border:none;
	}
	/* Don't show link destinations for JavaScript or internal links */ 
	a[href^="javascript:"]:after, a[href^="#"]:after { content:""; }
	
	/* Show abbr title value in brackets after the text */
	abbr[title]:after { content: " (" attr(title) ")"; }

	figure { 
		margin-bottom:1em; 
		overflow:hidden;
	}

	figure img { border:1px solid #000; }
}

/* ---------------------------------------------------------
   General styles
   ---------------------------------------------------------*/
h2{
	font-size: 18px;
	margin: 5px 0 5px;
	font-weight: 400;
}

h3{
	font-size: 16px;
	margin: 5px 0 5px;
	font-weight: 400;
}

p{
	font-size: 14px;
	margin:0 0 20px 0;

}

img.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}


.clearfix:before,
.clearfix:after {
  content: ".";    
  display: block;    
  height: 0;    
  overflow: hidden;	
}
.clearfix:after {clear: both;}
.clearfix {zoom: 1;} /* IE 5.5/6/7 */	



blockquote {
	font-size: 14px;
	margin: .5em 0 0 0;
	padding: 0 1em 0 2em;
	position: relative;
	font-style: italic;
	left:-4px;
}
blockquote:before
 {
  color: #ccc;
  content: "\201C";
  font-size: 3em;
  position:absolute;
  left:3px;
  top: 0.3em;
  line-height: 0.1em;
}

blockquote:after
 {
   color: #ccc;
  content: "\201D";
  font-size: 3em;
  position:absolute;
  right:10px;
  bottom: .2em;
  line-height: 0.1em;
}

cite{
	position:relative;
	font-size: 10px;
	color: #F8F8F8;
	margin: 0px;
	padding: 0px;
	top:-5px;
	}
/* ---------------------------------------------------------
   Nav styles
   ---------------------------------------------------------*/
 
nav{
	z-index:999;
}

nav a{
  text-transform: uppercase;
  text-decoration: none;
  color: #151515;  
  transition-delay: 0s;
  transition-duration: 0.5s;
  transition-property: all;
  transition-timing-function: line;
}

nav a:hover{
  font-weight: 400;
}

nav, nav:hover{
    padding: 1em;
}

nav a{
	text-indent: -200px;
}

nav:hover a{
	text-indent:0px;
	color: #EEFFE5;
}

svg, a{
		vertical-align: top;
}

nav{
	box-shadow: 1px 0px 1px 0px #333333;
	position: fixed;
	left: 0;
	top: 0;
	bottom: 0;
	display: block;
	height: auto;
	min-width: 40px;
	width: 40px;
	background-color: #ccc;
	transition-delay: 0s;
	transition-duration: 0.7s;
	transition-property: all;
	transition-timing-function: line;
	background-image: url('../Images/wood.png');
}
nav:hover{
	position: fixed;
	left: 0;
	top: 0;
	bottom: 0;
	height: auto;
	width: 140px;
	background-color: #CCC;
	background-image: url('../Images/wood.png');
}

nav a{
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  opacity:0;
  margin-left: 1em;
}

nav:hover a{
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: alpha(opacity=100);
  opacity:1;
}

nav li{
  display: block;
  padding:0.2em;
  height:32px;
}

svg, nav a{
  display: inline-block;
  	
}
/* End Navigation */

/* ---------------------------------------------------------
   Author's styles
   ---------------------------------------------------------*/
     html {
	overflow-y: scroll; 
} 
   
	body {
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	line-height: 1.8em;
	color: #333333;
	background: #f1f1f1;
	background: url(../Images/bg1.jpg) no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	margin: 1px 1px 1px 40px;
}

/* ---------------------------------------------------------
   wrap
   ---------------------------------------------------------*/
	.wrap {
	width: 960px;
	border-radius: 8px;
	margin: 5px auto 0;
	padding: 20px 0 20px 0;
	background-color: #F0F0F0;
	background-image: url('../Images/paper.png');
}


/* ---------------------------------------------------------
   Header
   ---------------------------------------------------------*/
header{
	border-radius: 8px;
	position: relative;
	width: 960px;
	margin: 15px auto 0;
	background-color: #F0F0F0;
	background-image: url('../Images/paper.png');
}

header a{
	padding:15px 0 10px 40px;
	display: inline-block;
}

header h1{
	font-family: 'Montaga', serif;
	position: absolute;
	left: 420px;
	top: 20px;
	font-size: 44px;
	color: rgb(200, 200, 200 .5);
}

.lines{
	position:absolute;
	top:65px;
	left:420px;

}
/* ---------------------------------------------------------
   Main article styles
   ---------------------------------------------------------*/
main{
	border: 1px solid #C0C0C0;
	float: left;
	margin: 0 0 0 20px;
	width: 660px;
	border-radius: 8px;
	padding: 1em;
	background: rgb(200, 200, 200);
/* Fall-back for browsers that don't support rgba */background: rgba(200, 200, 200, .5);
}

/* ---------------------------------------------------------
   Aside articles styles
   ---------------------------------------------------------*/
#telephone{
	float: right;
	background-color: #333333;
	margin: 0 20px 0 0;
	border-radius: 8px;
	width: 180px;
	padding: 1em;
	color: #FFFFFF;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	border: 1px solid #C0C0C0;

}

#telephone span{
	background-image: url('../Images/tel.svg');
	background-repeat: no-repeat;
	display: inline-block;
	width: 24px;
	height: 20px;
	padding: 0 10px 0 0;
}

 #telephone p{
	border-radius: 3px;
	font-size: 22px;
	background-color: #383838;
	padding: 3px 0 0 4px;
}
aside {
	float: right;
	background-color: #333333;
	margin: 5px 20px 0 0;
	border-radius: 8px;
	width: 180px;
	padding: 1em;
	color: #FFFFFF;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	border: 1px solid #C0C0C0;
}

#accreditation {
	margin:10px auto;
	
}

#accreditation img{
	padding:10px 0;
	}
/* ---------------------------------------------------------
   logo scroller styles
   ---------------------------------------------------------*/

#logoParade	{
	width: 960px;
	border-radius: 8px;
	padding: 15px 0 15px;
	height: 45px;
	position: relative;
	margin: 5px auto 0;
	background-color: #FFFFFF;
}

#logoParade div.scrollableArea a	{
	display: block;
	float: left;
	margin:0 1px 0;
}
		
#logoParade a{
	padding:0 5px;
	
}
/* ---------------------------------------------------------
Contact page styles
   ---------------------------------------------------------*/
.map{
	position:relative;
	width:600px;
	margin:5px auto 0;
}

.contactlink{
	color: #FF0000;
	text-decoration: none;
	font-size: 18px;
	text-align: center;
}

/* ---------------------------------------------------------
Photo gallery styles
   ---------------------------------------------------------*/
.photinstructions{
	font-size: 10px;
	font-style: italic;
	color: #333333;
}
.elasticstack {
	position: relative;
	margin: 10px auto;
	padding: 0;
	width: 390px;
	height: 380px;
	list-style: none;
	-webkit-perspective: 1000px;
	-webkit-perspective-origin: 50% 150%;
	perspective: 1000px;
	perspective-origin: 50% 150%;
	z-index:100;
}

.no-js .elasticstack {
	max-width: 1090px;
	width: 100%;
	height: auto;
	text-align: center;
}

.elasticstack li {
	position: absolute;
	z-index: 1;
	width: 350px;
	height: 262px;

	
	border-width: 20px 20px 60px;
	border-style: solid;
	border-color: #fff;
	box-shadow: 0 10px 7px -7px rgba(0,0,0,0.12), 0 0 4px rgba(0,0,0,0.1);
	opacity: 0;
	cursor: pointer;
	-webkit-transform: translate3d(0,0,-180px);
	transform: translate3d(0,0,-100px);
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
}

.no-js .elasticstack li {
	position: relative;
	display: inline-block;
	opacity: 1;
	margin: 10px;
	cursor: default;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

.elasticstack li img {
	display: block;
}

.elasticstack li h5 {
	margin: 0 5px;
	color: #CC0000;
	height: 60px;
	text-align: right;
	font-size: 1.4em;
	font-family: "Trade Winds", cursive;
}

.elasticstack li.animate {
	-webkit-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
}

.elasticstack li.move-back {
	/* http://matthewlein.com/ceaser/ */
	-webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.470, 1); /* older webkit */
	-webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.470, 1.515);
	transition-timing-function: cubic-bezier(0.175, 0.885, 0.470, 1.515);
}

	
/* ---------------------------------------------------------
   footer styles
   ---------------------------------------------------------*/
footer{	
	 width: 960px;
	 border-radius: 8px;
	 margin: 5px auto 0;

	 background-color: #F0F0F0;
	 background-image: url('../Images/paper.png');
	 text-align: center;	
}
