/* CSS RESET */

/* 
	http://meyerweb.com/eric/tools/css/reset/ 
   	v2.0 | 20110126
   	License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Global elements and text styles */
html, body {
    font-family: arial, helvetica, sans-serif;
    font-size:13px;
    color:#4c4c4e;
    line-height:150%;
}
html {
    height:100%;
}
body {
    min-height:100%;
    background:#254961 url(../images/background.jpg) 50% 141px no-repeat;
    -webkit-background-size: cover; /*for webKit*/
    -moz-background-size: cover; /*Mozilla*/
    -o-background-size: cover; /*opera*/
    background-size: cover; /*generic*/
}
h1, h2, h3, h4, h5, h6 {
    font-family: "arial narrow", "Trebuchet MS", arial, helvetica, sans-serif;
    color:#56a6c2;
    text-transform:uppercase;
}
h1,h2 {
    font-size:24px;
    line-height:130%;
    text-align:right;
    width:100%;
    clear:both;
}
h3 {
    color:#0083a9;
    line-height:130%;
    margin-bottom:12px;
}
h1, p {
    margin-bottom:15px;
}
a {
    color:#0083a9;
    text-decoration:none;
}
a:hover {
    text-decoration:underline;
}
.align-right {
    float:right;
    clear:right;
    text-align:right;
}
.align-left {
    float:left;
    clear:left;
    text-align:left;
}
.clearfix {
    clear:both;
}

/* Layout */
#wrapper-header, #menu, #wrapper-main, #wrapper-footer {
    width:100%;
    margin:0 auto;
    clear:both;
}
header, .menu, article, aside, footer {
    width:95%;
    max-width:1024px;
    margin:0 auto;
}
#menu {
    clear:both;
    background:#7bb9d0;
    border-top:1px solid #041c24;
    border-bottom:1px solid #041c24;
}

/* header */
#wrapper-header {
    padding:4px 0 4px;
    background:#fff;
    overflow:hidden;
}
.logo {
    position:relative;
    float:left;
    width:66%;
}
.logo-right {
    float:right;
    text-align:right;
    padding:15px 0;
    width:33.333333333% !important;
}
.logo img {
    max-width:80%;
    padding:8px 0 2px;
}
.logo img#cert {
    padding: 0 0 0 30%;
}
.social ul {
    position:absolute;
    bottom:0;
    right:0;
}
.social li {
    float:left;
    padding:12px 0;
    margin-left:10px;
}
.social li#webreader {
    padding:0;;
}

/* nav */
#menu-mobile {
    display:block;
    width:100%;
    text-align:center;
    color:#fff;
    text-transform:uppercase;
    cursor:pointer;
    height:26px;
    padding-top:8px;
    background:url(../images/menu_open_close.png) 98% 14px no-repeat;
}
#menu-mobile.hidden {
    display:none;
}
.menu {
    height:24px;
}
.menu li {
    position:relative;
    float:left;
    height:22px;
    padding:2px 20px 0;
    border-left:1px solid #041c24;
}
.menu a:hover {
    text-decoration:none !important;
}
.menu li.last {
    border-right:1px solid #041c24;
}
.menu li:hover, .menu li.active {
    background:#d7eaf1;
}
.menu li a {
    font-family: "arial narrow", "Trebuchet MS", arial, helvetica, sans-serif;
    font-size:16px;
    color:#fff;
    text-transform:uppercase;
}
.menu li:hover > a, .menu li.active > a {
    color:#2a5973;
}
.menu li ul {
    display:none;
    position:absolute;
    top:24px;
    left:-1px;
    border-top:1px solid #041c24;
}
.menu li:hover > ul {
    background:#7bb9d0;
    display:block;
    z-index:10;
}
.menu ul li {
    float:none;
    white-space:nowrap;
    min-width:150px;
    padding:2px 20px;
    border:1px solid #041c24;
    border-top:none;
}
.menu ul li:hover > ul {
    top:-1px;
    left:100%;
}

/* main content */
#wrapper-main {
    
    padding:25px 0;
    overflow:hidden;
}
article, aside {
    background: url(../images/content-bg.png) 0 0;
    background:rgba(255,255,255,0.85);
    box-shadow:0px 0px 15px rgba(0, 0, 0, 0.4);
    margin-bottom:25px;
    overflow:hidden;
}
article {
    min-height: 200px;
}
article ul {
    list-style-type: circle;
    padding: 5px 30px;
}
.content {
    padding:15px 2.5% 30px;
    overflow:hidden;
}
.item {
    float:left;
    width:32%;
    padding-right:2%;
}
a.news-link, a.news-link:hover {
    text-decoration:none !important;
}
a.news-link p, a.news-link:hover p {
    color:#4C4C4E;
}
a.news-link:hover h3 {
    background:url(../images/more.png) 100% 50% no-repeat;
}
.news-image {
    margin: 0px 0px 20px 20px;
    float: right;
    width: 32%;
}
.news-image img {
    width: 99%;
    border: 1px solid #000;
}
#item-3, #item-6 {
    padding:0 !important;
}
.item-image img {
    width:99%;
    border:1px solid #041c24;
    margin:12px 0;
}
.more-links {
    width:100%;
    clear:both;
    padding-bottom:25px;
}
.more.align-right a {
    display:block;
    padding-right:25px;
    background:url(../images/more.png) 100% 50% no-repeat;
}
.more.align-left a {
    display:block;
    padding-left:25px;
    background:url(../images/back.png) 0 50% no-repeat;
}

/* nivo slider styles */
.slider-wrapper {
    position:relative;
    margin:15px 0;
    background:#666;
    clear:both;
    border:1px solid #041c24;
    overflow:hidden;
    max-height:354px;
}
#slider {
    float:right;
}
/*
 * jQuery Nivo Slider v3.1
 * http://nivo.dev7studios.com
 *
 * Copyright 2012, Dev7studios
 * Free to use and abuse under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 */
 
/* The Nivo Slider styles */
.nivoSlider {
    width:81.8%;
	position:relative;
	overflow: hidden;
    background:url(../images/loading.gif) no-repeat 50% 50%;
}
.nivoSlider img {
	position:absolute;
	top:0px;
	right:0px;
	max-width:794px;
    display:none;
}
.nivo-main-image {
	display: block !important;
	position: relative !important; 
	width: 100% !important;
}

/* If an image is wrapped in a link */
.nivoSlider a.nivo-imageLink {
	position:absolute;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	border:0;
	padding:0;
	margin:0;
	z-index:6;
	display:none;
}
/* The slices and boxes in the Slider */
.nivo-slice {
	display:block;
	position:absolute;
	z-index:5;
	height:100%;
	top:0;
}
.nivo-box {
	display:block;
	position:absolute;
	z-index:5;
	overflow:hidden;
}
.nivo-box img { display:block; }
/* Caption styles */
.nivo-caption {
	position:absolute;
	left:0px;
	bottom:0px;
	background:#000;
	color:#fff;
	width:100%;
	z-index:8;
	padding: 5px 10px 5px 15px;
	opacity: 0.8;
	overflow: hidden;
	display: none;
	-moz-opacity: 0.8;
	filter:alpha(opacity=8);
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
}
.nivo-caption p {
	padding:5px;
	margin:0;
}
.nivo-caption a {
	display:inline !important;
}
.nivo-html-caption {
    display:none;
}
/* Direction nav styles (e.g. Next & Prev) */
.nivo-directionNav {
    position:relative;
    padding: 5px 0px;
    float: right;
	z-index:100;
	cursor:pointer;
}
.nivo-directionNav a {
    float: left;
    display: block;
    height:22px;
	z-index:9;
	cursor:pointer;
    margin-right: 5px;
    text-indent:-9999px;
}
.nivo-prevNav {
    width:10px;
    background:url(../images/slider-controls.png) -47px 0px no-repeat;
}
.nivo-nextNav {
    width:10px;
    background:url(../images/slider-controls.png) -118px 0px no-repeat;
}
/* Control nav styles (e.g. 1,2,3...) */
.nivo-controlNav {
    position:absolute;
    top:0;
    left:0;
    width:20%;
    line-height:100%;
    z-index:10;
}
.nivo-controlNav a {
    position:relative;
    display:block;
	cursor:pointer;
    width:100%;
    text-align:center;
}
.nivo-controlNav a.active {

}
.nivo-controlNav a img {
    max-width:138px;
    width:80%;
    /*margin:6.75% 10%;*/
    padding-top:6.75%;
    padding-bottom:6.75%;
    padding-right:7.5%;
}
.nivo-controlNav a img.thumb-bgs {
    max-width:184px;
    width:95%;
    height:100%;
    position:absolute;
    top:0;
    left:0;
    padding:0 !important;
    z-index:-1;
}
.nivo-controlNav a.active img.thumb-bgs {
    max-width:194px;
    width:100%;
    left:auto;
    right:0;
}

/* footer */
footer {
    font-size:11px;
    text-align:center;
    color:#fff;
}
footer p {
    margin:0;
}

/* contact page */
.contact-info {
    float:left;
    clear:left;
    overflow:hidden;
}
#form1 {
    max-width:46%;
    margin:3% 2%;
    margin-right:0;
    float:right;
    clear:right;
}
#form1 .field {
    clear:both;
    overflow:hidden;
}
#form1 .field.captcha {
    float:right;
    clear:both;
    width:79%;
    padding:5px 0;
}
#form1 label {
    float:left;
    min-width:65px;
    width:20%;
}
#form1 .field input, #form1 textarea {
    float:left;
    clear:right;
    max-width:76%;
}
#form1 .field a {
    float:left;
}
#form1 #captcha {
    float:left;
    margin-right:10px;
    vertical-align:middle;
    max-width:140px;
}
#form1 #c-submit {
    display:block;
    text-align:center;
    padding:5px 10px;
    width:65px;
    margin:20px auto 5px;
    float:none;
    clear:both;
}
#form1 .ValidationErrors {
    color:red;
    margin-left:5px;
}

/* =Responsive Structure
----------------------------------------------- */

@media (max-width: 1024px) {

    body {
        background:#254961 url(../images/background-1024.jpg) 50% 141px no-repeat;
    }

    .nivo-controlNav a img {
        padding-top:5.75%;
        padding-bottom:5.75%;
    }

}

@media (max-width: 799px) {

    body {
        background:#254961 url(../images/background-800.jpg) 50% 131px no-repeat;
    }

    .item {
        width:45%;
    }
    #item-1, #item-3, #item-5 {
        padding-right:5% !important;
    }
    #item-2, #item-4, #item-6 {
        padding:0 !important;
    }
    #menu-mobile.on {
        background:url(../images/menu_open_close.png) 98% -11px no-repeat;
        border-bottom:1px solid #041c24;
    }
    ul.menu.mobile {
        display:none;
        width:100%;
        height:auto;
    }
    ul.menu.mobile li {
        float:none;
        width:auto;
        height:auto;
        min-height:26px;
        padding:8px 0 0;
        background:#7bb9d0;
        border-bottom:1px solid #041c24;
        border-left:none;
        border-right:none;
    }
    ul.menu.mobile li:hover a {
        color:#fff;
    }
    ul.menu.mobile li.active {
        background:#d7eaf1;
    }
    ul.menu.mobile li.active a {
        color:#2A5973;
    }
    ul.menu.mobile li a {
        display:block;
        margin-left:10px;
        min-height:26px;
    }
    ul.menu.mobile li ul {
        position:relative;
        top:0;
        left:0;
        width:100%;
    }
    ul.menu.mobile li:hover ul, ul.menu.mobile ul li:hover > ul, ul.menu.mobile ul li:hover ul {
        display:none;
    }
    ul.menu.mobile ul li {
        padding-left:24px;
    }
    ul.menu.mobile ul li.first {
        border-top:none;
    }
    ul.menu.mobile li.last {
        border-bottom:none;
    }
    ul.menu.mobile li .switch {
        position: absolute;
        top:0;
        right:0;
        height:34px;
        width:48px;
        background:url(../images/menu_open_close.png) 74% 15px no-repeat;
        cursor:pointer;
        border-left:1px dotted #b4d3e0;
    }
    ul.menu.mobile li .switch.open {
        background:url(../images/menu_open_close.png) 74% -9px no-repeat;
    }
    .nivoSlider {
        width:100%;
    }
    .nivo-caption {
        font-size:11px;
        padding-left:5px;
    }
    .contact-info , #form1 {
        float:none;
        clear:both;
        width:100%;
        max-width:100%;
    }
    #form1 .field input, #form1 textarea {
        max-width:90%;
    }
    #form1 .field.captcha {
        max-width:90%;
    }
}

@media (max-width: 450px) {

    body {
        background:#254961 url(../images/background-450.jpg) 50% 120px no-repeat;
    }
    .item {
        width:100%;
        padding:0 !important;
    }
}