@import url('fonts/fonts.css');

h2, p, form, .p2, .p3, .p4, .p5, .p6, .scroll, .error-message {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-weight: 400;
}


/* GENERAL */

html, body, div, h1, h2, h3, h4, p {
margin: 0;
padding: 0;
border: 0;
}

html {
height: 100%;
scrollbar-color: #BBBBBB #EEEEEE;
}

body {
height: 100%;
overflow: auto;
font-size: 100%;
background: #275279;
}

.wrapper {
overflow: hidden;
width: 100%;
max-width: 960px;
margin: auto;
}

#header {
float: left;
background-position: bottom;
background-size: 100% auto;
margin: auto;
width: 100%;
background: #306697;
box-shadow: 0px 0px 0px #999999;
padding: 0px 0px 0px 0px;
position: relative;
z-index: 2;
}

@media screen and (max-width: 680px) {
#header {}
}

@media screen and (max-width: 475px) {
#header {}
}

#header .wrapper {
width: 100%;
text-align: center;
padding: 20px 0px 20px 0px;
position: relative;
}

@media screen and (max-width: 1000px) {
#header .wrapper { padding: 20px 0px 20px 0px; }
}

#home {
float: ;
height: 24px;
width: auto;
margin: 0px 0px 0px 0px;
padding: 3px 0px 3px 0px;
}

@media screen and (max-width: 560px) {
#home { float: none; padding: 3px 0px 3px 0px; }
}

#home .hover .logo:hover {
opacity: 0.75;
}

#home a .logo {
image-rendering: -webkit-optimize-contrast;
background: url('images/logo.png');
background-repeat: no-repeat;
background-size: cover;
display: inline-block;
position: relative;
height: 24px;
width: 156px;
border: 0;
z-index: 2;
}

#home a {
cursor: pointer;
outline: none;
}


/* Top Image */

.fill {
overflow: hidden;
margin: auto;
background-image: url('images/background.jpg');
background-repeat: no-repeat;
background-size: cover;
background-position: center center;
height: 100%;
width: 100%;
z-index: -1;
}

@media screen and (min-width: 960px) and (max-height: 700px) {
.fill { height: 700px; }
}

@media screen and (min-width: 460px) and (max-height: 500px) {
.fill { height: 500px; }
}

.fill .img {
margin: auto;
background-image: url('images/title.png');
background-repeat: no-repeat;
background-size: 100%;
background-position: top center;
width: 780px;
height: 204px;
padding-top: 0%;
margin-top: -150px;
}

@media screen and (max-width: 960px) {
.fill .img { width: 80%; height: 0; margin-top: -16%; padding-top: 21%; }
}

.fill .half {
background: ;
display: block;
height: 50%;
}

h2 {
font-family: 'merriweather', georgia, serif;
font-size: 1.35em;
line-height: 4em;
font-weight: 600;
font-style: italic;
text-align: center;
text-transform: ;
color: #FFFFFF;
padding-bottom: 1em;
padding-top: 0.2em;
background: ;
}

@media screen and (max-width: 680px) {
h2 { font-size: 1.25em; line-height: 4em; padding-bottom: 0em; padding-top: 0.2em;}
}

@media screen and (max-width: 460px) {
h2 { font-size: 1.15em; line-height: 4em; padding-bottom: 0em; padding-top: 0.4em;}
}

.errorpage {
display: block;
height: 70px;
}


/* Section */

.title {
background: #306697;
margin-top: 0px;
}

.title .wrapper {
background: #306697;
padding: 100px 0px 0px 0px;
}

.title .wrapper.after {
padding: 50px 0px 0px 0px;
}

@media screen and (max-width: 680px) {
.title .wrapper { padding: 50px 0px 0px 0px; }
.title .wrapper.after { padding: 30px 0px 0px 0px; }
}

.content {
background: #306697;
padding: 0px 60px 0px 60px;
}

.content .wrapper {
padding: 10px 0px 110px 0px;
background: #306697;
text-align: center;
}

.content .wrapper.after {
padding: 10px 0px 70px 0px;
border-bottom: 1px solid #CCCCCC;
}

@media screen and (max-width: 680px) {
.content { padding: 0px 30px 0px 30px; }
.content .wrapper { padding: 10px 0px 60px 0px; }
.content .wrapper.after { padding: 10px 0px 30px 0px; }
}

.divider {
margin: 0px;
padding: 0px;
line-height: 0px;
}

.divider img {
width: 100%;
}

#clear {
margin: 0px;
padding: 0px;
clear: both;
}


/* Type */

.spacer {
height: 0px;
margin: 10px 0px 10px 0px;
border-top: #E5E5E5 1px solid;
}

p {
margin: 0px 0px 0px 2px;
font-family: 'merriweather', georgia, serif;
font-weight: 400;
font-style: normal;
font-size: 1.5em;
line-height: 2.15em;
color: #FFFFFF;
text-align: center;
letter-spacing: 0em;
}

@media screen and (max-width: 680px) {
p {font-size: 0.9em; line-height: 1.95em;}
}


.p5 {
font-family: 'merriweather', georgia, serif;
font-size: 1.2em;
}

.p2 {
font-family: 'merriweather', georgia, serif;
font-weight: 700;
font-style: italic;
}

.p3 {
font-family: 'merriweather', georgia, serif;
font-weight: 700;
font-style: normal;
text-decoration: underline;
color: #3CBE64;
}

.p3:hover {
color: #A7CA57;
}

.p3 a {
cursor: pointer; 
}

.p3 a:link {
color: #3CBE64;
}

.p3 a:visited {
color: #3CBE64;
}

.p3 a:hover {
color: #A7CA57;
}

.p4 {
font-family: 'merriweather', georgia, serif;
font-weight: 700;
font-style: normal;
}

.p6 {
font-family: 'merriweather', georgia, serif;
font-weight: normal;
font-style: normal;
font-size: 0.85em;
line-height: 1.5em;
color: #FFFFFF;
}

#subscribe .p6 {
color: #6ca1d1;
}

@media screen and (max-width: 506px) {
.p6 {font-size: 0.75em;}
}

.scroll {
font-family: 'merriweather', georgia, serif;
font-weight: 600;
font-style: italic;
font-size: 0.85em;
line-height: 0.85em;
text-decoration: none;
text-align: center;
color: #FFFFFF;
}


/* Contain */

.contain { 
text-align: center;
line-height: 0px;
}

.contain .excerpt {
position: relative;
display: inline-block;
width: 435px;
}

@media screen and (max-width: 460px) {
.contain .excerpt { width: 100%; }
}

.contain .excerpt img {
margin: 0px;
padding: 0px;
width: 100%;
border: 0px;
}

.contain .excerpt img:hover {
filter: alpha(opacity=20);
opacity: 0.2;
}

.contain .excerpt div {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: 0px;
padding: 0px;
cursor: pointer;
}

.contain .excerpt div:hover {
filter: alpha(opacity=60);
opacity: 0.6;
background: #444444;
}


/* Form */

form {
display: inline-block;
width: 435px;
padding: 0px 0px 0px 0px;
text-align: center;
}

input[type=email] {
display: inline-block;
text-align: left;
width: 315px;
padding: 10px 20px 10px 20px;
margin: 0px 0px 0px 0px;
border: 1px solid #FFFFFF;
background-color: #306697;
color: #FFFFFF;
outline: none;
box-sizing: border-box;
font-family: 'merriweather', georgia, serif;
font-weight: normal;
font-style: normal;
font-size: 0.85em;
border-radius: 0px;
-webkit-appearance: none;
}

input[type=email]::placeholder {
color: #FFFFFF;
opacity: 0.5;
}

input[type=email]::-ms-input-placeholder  {
color: #FFFFFF;
}

input[type=email]:-ms-input-placeholder {
color: #FFFFFF;
}

#subscribe input[type=email] {
color: #6ca1d1;
border: 1px solid #6ca1d1;
background-color: #22486a;
}

#subscribe input[type=email]::placeholder {
color: #6ca1d1;
opacity: 0.5;
}

#subscribe input[type=email]::-ms-input-placeholder  {
color: #6ca1d1;
}

#subscribe input[type=email]:-ms-input-placeholder {
color: #6ca1d1;
}

input[type=email]:focus {
border: 1px solid #FFFFFF;
}

#subscribe input[type=email]:focus {
border: 1px solid #6ca1d1;
}

#email-error {
padding-top: 15px;
}

.error-message {
font-family: 'merriweather', georgia, serif;
font-weight: normal;
font-style: normal;
font-size: 0.85em;
line-height: 1.5em;
color: #e5a9b4;
}

#subscribe .error-message {
color: #d16c6f;
}
	
input[type=submit] {
display: inline-block;
width: 116px;
padding: 10px 20px 10px 20px;
margin: 0px 0px 0px 0px;
border: 1px solid #FFFFFF;
background-color: #306697;
color: #FFFFFF;
box-sizing: border-box;
cursor: pointer;
font-family: 'merriweather', georgia, serif;
font-weight: normal;
font-style: normal;
font-size: 0.85em;
border-radius: 0px;
-webkit-appearance: none;
}

#subscribe input[type=submit] {
border: 1px solid #6ca1d1;
background-color: #22486a;
color: #6ca1d1;
}

input[type=submit]:hover {
background-color: #FFFFFF;
color: #306697;
}

#subscribe input[type=submit]:hover {
background-color: #6ca1d1;
color: #22486a;
}

@media screen and (max-width: 506px) {
form { width: 100%; padding: 5px 0px 0px 0px; }
input[type=email] { width: 100%; font-size: 0.75em; text-align: center; margin: 0px 0px 25px 0px; }
.error-message { font-size: 0.75em; }
input[type=submit] { font-size: 0.75em; }
}



/* Footer */

#subscribe {
background: #22486a;
padding: 0px 0px 0px 0px;
}

#subscribe .wrapper {
background: #22486a;
padding: 60px 0px 50px 0px;
border-bottom: #FFFFFF 0px solid;
text-align: center;
}

@media screen and (max-width: 506px) {
#subscribe { padding: 0px 30px 0px 30px; }
}

#mailing {
background: #306697;
padding: 0px 0px 0px 0px;
}

#mailing .wrapper {
background: #306697;
padding: 10px 0px 150px 0px;
border-bottom: #FFFFFF 0px solid;
text-align: center;
}

@media screen and (max-width: 506px) {
#mailing { padding: 0px 30px 0px 30px; }
#mailing .wrapper { padding: 10px 0px 110px 0px; }
}

#contactnav {
background: #275279;
padding: 0px 20px 0px 20px;
}

#contactnav .wrapper {
background: #275279;
padding: 60px 0px 0px 0px;
border-bottom: #FFFFFF 0px solid;
text-align: center;
}

@media screen and (max-width: 1000px) {
#contactnav .wrapper { padding: 30px 0px 30px 0px; }
#subscribe .wrapper { padding: 35px 0px 35px 0px; }
}

#contactnav .wrapper p {
font-size: 0.85em;
color: #8ab4da;
}

#contactnav .wrapper a {
cursor: pointer;
text-decoration: none;

}

#contactnav .wrapper a:focus {
outline: none;
}

#contactnav .wrapper a:hover {
text-decoration: none;
opacity: 0.75;
}

#contactnav .wrapper .hover a:hover {
text-decoration: none;
opacity: 0.75;
}

#footer {
margin: auto;
background: #275279;
text-align: center;
padding: 0px 20px 0px 20px;
}

#footer .wrapper {
margin: 0px auto 0px auto;
padding: 30px 0px 60px 0px;
border-top: #DDDDDD 0px solid;
background: #275279;
text-align: center;
}

@media screen and (max-width: 1000px) {
#footer .wrapper {padding: 0px 0px 30px 0px;}
}

#footer .wrapper p {
display: inline;
font-size: 0.7em;
line-height: 1.85em;
color: #8ab4da;
text-transform: ;
}

@media screen and (max-width: 506px) {
#contactnav .wrapper p {font-size: 0.75em;}
#footer .wrapper p {display: block; font-size: 0.6em;}
}

.logofooter {
padding: 0px 0px 5px 0px;
}

.logofooter .img {
image-rendering: -webkit-optimize-contrast;
background: url('images/footer.png');
background-repeat: no-repeat;
background-size: cover;
display: inline-block;
position: relative;
height: 24px;
width: 156px;
border: 0;
}

.logofooter .hover .img:hover {
opacity: 0.75;
}

.logofooter a {
cursor: pointer;
outline: none;
}