﻿/* Layout all sizes */
body { margin: 0; padding:  0; }

header a.logo {
    display: block;
    position: absolute;
    background-position: 0px 0px;
    background-repeat: no-repeat;
}

nav {
    width: 65%;
    display: block;
    position: absolute;
}

/* Layout large screens */

header { height: 130px; }

header a.logo {
    width: 350px;
    height: 85px;
    top: 45px;
    left: 15px;
    background-image: url(../images/logo_large.png);
}

figure.hero {
    height: 426px;
    /*border: 1px solid #57afe6; /* use border on images with a single bg color (i.e. a cutout) */
    margin: 30px auto 30px auto;
    padding-left: 15px;
    position: relative;
}
figure.hero.first { background: url(../images/banner_large.jpg) no-repeat right 0px; }
figure.hero.second { background: url(../images/banner_large2.jpg) no-repeat right 0px; }
figure.hero.third { background: url(../images/banner_large3.jpg) no-repeat right 0px; }

figure.hero div.one {
    -webkit-animation: hero-slider 4s ease ;
    -moz-animation: hero-slider 4s ease ;
    -o-animation: hero-slider 4s ease ;
    animation: hero-slider 4s ease ;
}
figure.hero .two {
    -webkit-animation: hero-slider 4s ease  4s;
    -moz-animation: hero-slider 4s ease  4s;
    -o-animation: hero-slider 4s ease  4s;
    animation: hero-slider 4s ease  4s;
}
figure.hero .three {
    -webkit-animation: hero-slider 4s ease  8s;
    -moz-animation: hero-slider 4s ease  8s;
    -o-animation: hero-slider 4s ease  8s;
    animation: hero-slider 4s ease  8s;
}
figure.hero .four {
    -webkit-animation: hero-slider 4s ease  12s;
    -moz-animation: hero-slider 4s ease  12s;
    -o-animation: hero-slider 4s ease  12s;
    animation: hero-slider 4s ease  12s;
}
figure.hero .zero { 
    -webkit-animation: hero-final 3s ease alternate 16s;
    -moz-animation: hero-final 3s ease alternate 16s;
    -o-animation: hero-final 3s ease alternate 16s;
    -animation: hero-final 3s ease alternate 16s;
    -webkit-animation-fill-mode: backwards;
    -moz-animation-fill-mode: backwards;
    -o-animation-fill-mode: backwards;
    animation-fill-mode: backwards;
}
figure.hero .zero { font-size: 2.2em; color: #003b5b; line-height: 1.5em; position: absolute; top: 230px; opacity: 1}
figure.hero .zero a {
    -webkit-transition: all .75s ease;
    -moz-transition: all .75s ease;
    -o-transition: all .75s ease;
    transition: all .75s ease;
    font-weight: normal;
}
figure.hero .zero a:hover { font-weight: bold; }
figure.hero a { font-size: .9em; text-decoration: none; color: #003b5b; }
figure.hero div { background-color: #eee; filter:alpha(opacity=80); } /* for ie < 9 without rgba() support */
figure.hero div { max-width: 800px; position:  absolute; color:  #404040; opacity: 0; top:  190px; margin-top:  30px; font-size: 3em; line-height: 1.1em; font-weight: bold; background-color: rgba(255,255,255,.8); padding:  15px 15px 0px 15px; visibility: hidden; }
figure.hero div.zero { visibility: visible; }

@-webkit-keyframes hero-slider {0% { opacity: 0; left: 60%; } 20% { opacity: 0;} 75% { opacity: 1; left: 30px; } 100% { opacity: 0; left:  30px; display: none;visibility: visible;} }
@-webkit-keyframes hero-final { from { top: 30px; opacity: 0} to { top: 230px;  opacity: 1} }
@-moz-keyframes hero-slider {0% { opacity: 0; left: 60%; } 20% { opacity: 0;} 75% { opacity: 1; left: 30px; } 100% { opacity: 0; left:  30px; display: none;visibility: visible;} }
@-moz-keyframes hero-final { from { top: 30px; opacity: 0} to { top: 230px;  opacity: 1} }
@-o-keyframes hero-slider {0% { opacity: 0; left: 60%; } 20% { opacity: 0;} 75% { opacity: 1; left: 30px; } 100% { opacity: 0; left:  30px; display: none;visibility: visible;} }
@-o-keyframes hero-final { from { top: 30px; opacity: 0} to { top: 230px;  opacity: 1} }
@keyframes hero-slider {0% { opacity: 0; left: 60%; } 20% { opacity: 0;} 75% { opacity: 1; left: 30px; } 100% { opacity: 0; left:  30px; display: none;visibility: visible;} }
@keyframes hero-final { from { top: 30px; opacity: 0} to { top: 230px;  opacity: 1} }

article { padding: 30px 15px 10px 15px; }

.promo_container { padding: 0px 0px 15px 0px; }
.promo_container .promo { width: 33%; float: left; }
.promo_container .promo .content { padding:  15px; }
#services { max-width: 65%; float:  left; line-height: 1.1em; margin-left: 15px; }
.promo_container .caption { color: #a9cb34; font-weight: bold; float: left; max-width: 30%; padding: 15px 5px 15px 15px;}

nav {top: 45px; right: 5px; text-align: right;}
nav a { margin: 12px 0px 10px 20px; letter-spacing: .1em;}
nav a:hover { border-bottom: 3px solid #a9cb34; }
nav a.current { border-bottom: 3px solid #a9cb34; }

nav.language {
    width: 200px;
    height: 30px;
    top: 0px;
    text-align: center;
    left: 50%;
    right: auto;
    background: #003b5b url(../images/background_noise.png) repeat 0px 0px;
    margin: 0px auto 0px -100px;
    -webkit-border-radius: 0px 0px 10px 10px;
    -moz-border-radius: 0px 0px 10px 10px; 
    border-radius: 0px 0px 10px 10px; 
}
nav.language a { margin: 5px; }

footer { padding: 30px 15px; max-width: none; }
footer div { max-width: 960px; margin: 0px auto 0px auto;}
footer a {text-decoration: none;}
footer ul.primary { float: left; width: 30%; }
footer ul.copy { font-size: .9em; list-style-type: none; }

article div.column {
    /*-moz-column-count: 2;
	-webkit-columns: 2;
	-o-columns: 2;
	columns: 2;*/
    width: 45%;
    float: left;
    margin: 0 15px 0 15px;
}
article div h3 a { text-decoration: none;}
