html, body {
	height: 100%;
	background-color: #FFF;
	font-family: 'Open Sans';
	padding:0;
	margin:0;
}

img{
	max-width:100%;
	height:auto;
}

#header{
	display:block;
	overflow:visible;
	background-color:#e6f3f9;
	position: fixed;
	width: 100%;
	z-index: 99;
	height: 81px;
	top:0;
	border-top:1px #0099d5 solid;
	-webkit-transition-delay:0.2s;
	transition-delay:0.2s; 
	-webkit-transition: all 0.2s ease;                 
	-moz-transition: all 0.2s ease;              
	-o-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;  
	transition: all 0.2s ease;
}

#header.hide{
	-webkit-transition-delay:0.5s;
	transition-delay:0.5s; 
	-webkit-transition: all 0.5s ease;                 
	-moz-transition: all 0.5s ease;              
	-o-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;  
	transition: all 0.5s ease;
	top: -90px;
}

.cblock{
	display:block;
	overflow:hidden;
	max-width:1100px;
	margin:0 auto;
	padding:0 1em;
    position: relative;
}

#header div#logo {
    float: left;
    margin: 14px 0;
}

#header h3 {
    text-align: center;
    margin: 24px 0 0 -4%;
    position: absolute;
    width: 100%;
}

#header div#smedia {
    float: right;
    margin: 17px 0 0 0;
	position: relative;
    z-index: 9999;
}

#header div#smedia img{
	margin:0 0 0 5px;
}

#hanim{
	displaY:block;
	overflow:hidden;
	width: 100%;
	height:100vh;
	margin:0;
	padding:0;
	position:relative;

	//background: #95c4de; 
   // background: -webkit-linear-gradient(#008fcc, #b7d2db, #b4c8c9); /* For Safari 5.1 to 6.0 */
    //background: -o-linear-gradient(#008fcc, #b7d2db, #b4c8c9); /* For Opera 11.1 to 12.0 */
   // background: -moz-linear-gradient(#008fcc, #b7d2db, #b4c8c9); /* For Firefox 3.6 to 15 */
   // background: linear-gradient(#008fcc, #b7d2db, #b4c8c9); /* Standard syntax */
}

#hanim .slide{
	display:none;
	overflow:hidden;
	width:100%;
	height:100%;
	position:absolute;
}
#hanim .slide:first-child{
	display:block;
}

#hanim .slide:nth-child(1){
	background:none;
	background:url(../img/bg0.jpg) no-repeat;
	background-size:cover;
	background-position: center;
}
#hanim .slide:nth-child(2){
	background:none;
	background:url(../img/bg1.jpg) no-repeat;
	background-size:cover;
	background-position: center;
}
#hanim .slide:nth-child(3){
	background:none;
	background:url(../img/bg3.jpg) no-repeat;
	background-size:cover;
	background-position: center;
}
#hanim .slide:nth-child(4){
	background:none;
	background:url(../img/bg2.jpg) no-repeat;
	background-size:cover;
	background-position: right;
}

img#inspire {
	display:none;
    position: absolute;
    bottom: 0;
    right: 10%;
    height: 75%;
}

h1,.slide h2 {
    color: #FFF;
    text-transform: uppercase;
    margin: 30vh 0 0 11%;
    font-size: 12vh;
    font-weight: normal;
    letter-spacing: 1vh;
	text-shadow: 1px 5px 6px #000;
}

a.learnmore {
    text-transform: uppercase;
    color: #FFF;
    padding: 1vh 3vh;
    font-size: 3vh;
    border: 3px #FFF solid;
    margin: 8vh 0 0 11%;
    display: inline-block;
	text-decoration:none;
}
a.learnmore:hover {
	background-color:#018dc8;
}

.bf:before{
	content: ' ';
    width: 0;
    height: 0;
    border-left: 3vw solid transparent;
    border-right: 3vw solid transparent;
    border-top: 3vw solid #b4c8c9;
    position: absolute;
    left: 50%;
    margin-left: -3vw;
}

.lblue:before{
	border-top: 3vw solid #b4c8c9;
}
.lwhite:before{
	border-top: 3vw solid #FFF;
}
.ldblue:before{
	border-top: 3vw solid #477cae;
}
.lgrey:before{
	display:none;
	border-top: 3vw solid #d7dadf;
}

h4 {
    color: #3677b7;
    text-transform: uppercase;
    font-size: 3em;
    font-weight: normal;
    margin: 1em 0;
}

.lgrey p {
    font-weight: bold;
    font-size: 1.5em;
	text-transform:uppercase;
}
.lgrey p a{
	text-decoration:none;
	color:#000;
}

.lgrey p span{
	font-size:1.5em;
}


.lp{
	padding:6em 0;
}

.centered{
	text-align:center;
}

.blue{
	background-color:#477cae;
	color:#FFF;
}

.dcol,.tcol{
	float:left;
	margin-right:5%;
}
.dcol{width:47%;}
.tcol{width:30%;}
.dcol:nth-child(2n){margin-right:0;}
.tcol:nth-child(3n){margin-right:0;}

.row{
	display:block;
	overflow:hidden;
}

.row p{
	font-size:1.2em;
}

h2.centered {
    text-transform: none;
    font-size: 2em;
}

.bgimg{
	background: url('../img/bg-img.jpg') no-repeat;
	background-size:cover;
}

h3.notice {
    background-color: #2f6aac;
    color: #FFF;
    padding: 2em 3em;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    font-weight: normal;
    font-size: 1.5em;
    opacity: 0.8;
}


@media screen and (max-width: 1024px) {
	img#inspire {
    	right: 0;
	}
	h1,.slide h2, a.learnmore {
		margin-left:16px;
	}
	h1,.slide h2{
		font-size: 13vh;
	}
	a.learnmore {
	    font-size: 4vh;
	    margin-top: 20px;
	}
}


#footer {
    width: 100%;
    margin: 0;
    padding: 0;
    max-width: none;
    text-align: center;
    background-color: #FFF;
}

.smedia {
    background-color: #3a76b5;
    text-align: center;
	position: relative;
    z-index: 9999;
}

.smedia .cblock .item {
    display: inline-block;
    width: 19%;
    text-align: center;
    overflow: hidden;
}


@media screen and (max-width: 980px) {
	img#inspire {
	    right: 50%;
	    height: 50%;
	    margin-right: -23vh;
	}
	h1,.slide h2 {
	    margin-left: 0;
	    text-align: center;
	    margin-top: 16vh;
	    font-size: 10vh;
	}
	#hanim .slide:nth-child(2) h1,#hanim .slide:nth-child(2) h2 {
	    font-size: 4vh;
	}
	#hanim .slide:nth-child(3) h1,#hanim .slide:nth-child(3) h2 {
	    font-size: 12vh;
	}
	  
	a.learnmore {
	    margin: 5px auto;
	    display: block;
	    width: 35vh;
	    text-align: center;
	}

	.lblue:before{
		display:none !important;
	}
	#hanim .slide:nth-child(2) {
	    background-size: auto 120%;
	    background-position: center -35%;
	}
	#hanim .slide:nth-child(1) {
	    background-size: auto 120%;
	    background-position: center -35%;
	}
}

@media screen and (max-width: 920px) {
	#header div#logo {
	    max-width: 180px;
	}
	#header h3 {
    	margin: 20px 0 0 -5%;
	}
	#header h3 img {
	    max-width: 180px;
	}
	#header div#smedia img {
	    max-width: 35px;
	}	
	#header {
    	height: 69px;
	}
	.bf:before{
	    border-left: 5vw solid transparent;
	    border-right: 5vw solid transparent;
	    border-top: 5vw solid #b4c8c9;
		margin-left: -5vw;
	}
	.lblue:before{
		border-top: 5vw solid #b4c8c9;
	}
	.lwhite:before{
		border-top: 5vw solid #FFF;
	}
	.ldblue:before{
		border-top: 5vw solid #477cae;
	}
	
}


@media screen and (max-width: 720px) {
	#header div#smedia {
	    position: absolute;
	    margin: 0;
	    height: 25px;
	    right: 16px;
	    top: 32px;
	}
	#header div#smedia img {
	    margin: 0 0 0 5px;
	    max-width: 25px;
	}
	#header div#logo {
	    margin: 14px 0 0 0;
	}
	#header h3 {
	    text-align: right;
	    margin: 3px 0 0 0;
	    width: auto;
	    position: relative;
	}
	#header h3 img {
	    max-width: 140px;
	}
	#header .cblock {
	    height: 100%;
	}

}

@media screen and (max-width: 500px) {
	#header h3 {
	    display:none;
	}
	#header div#logo {
	    margin: 5px auto 0 auto;
	    float: none;
		max-width: 120px;
	}
	#header div#smedia{
		width: 100%;
	    text-align: center;
	    right: 0;
	    top: 38px;
	}
	h1,.slide h2 {
	    margin-top: 20vh;
	}

	.dcol,.tcol{	
		width:100%;
		margin-right:0;
		float:none;
		overflow: hidden;

	}
	.dcol:nth-child(2n){margin-top:1em;}
	.dcol:nth-child(3n){margin-top:0;}

	.bf:before{
	    border-left: 10vw solid transparent;
	    border-right: 10vw solid transparent;
	    border-top: 10vw solid #b4c8c9;
		margin-left: -10vw;
	}
	.lblue:before{
		border-top: 10vw solid #b4c8c9;
	}
	.lwhite:before{
		border-top: 10vw solid #FFF;
	}
	.ldblue:before{
		border-top: 10vw solid #477cae;
	}
	.lblue img.lp, .ldblue img.lp {
	    max-width: 130%;
	    margin-left: -15%;
	}

	h2.centered {
	    font-size: 1.1em;
	}
	.row p {
	    font-size: 1em;
	}
	h3.notice {
	    padding: 1em 2em;
	    font-size: 1em;
	}
	.lp {
	    padding: 3em 0;
	}
	h4 {
    	font-size: 2em;
	}
	.smedia .item:nth-child(3n){
		display:none;
	}
	.smedia .cblock .item {
    	width: 20%;
	}
}