/*
 * jQuery FlexSlider v2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 */

 
/* Browser Resets */
.flex-container a:active, .flexslider a:active, .flex-container a:focus, .flexslider a:focus {
    outline: none;
}
.slides, .flex-control-nav, .flex-direction-nav {
    margin: 0;
    padding: 0;
    list-style: none;
}
/* FlexSlider Necessary Styles
*********************************/ 
.flexslider {
    margin: 0;
    padding: 0;
}
.flexslider .slides > li {
    display: none;
    -webkit-backface-visibility: hidden;
} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img{
    width: 100%;
    display: block;
}
.flex-pauseplay span {
    text-transform: capitalize;
}
/* Clearfix for the .slides element */
.slides:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
html[xmlns] .slides {
    display: block;
}
* html .slides {
    height: 1%;
}
/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {
    display: block;
}
/* FlexSlider Default Theme
*********************************/
.flexslider {
    margin: 0 0 60px;
    background: #fff;
    border: 4px solid #fff;
    position: relative;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,.2);
    -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2);
    -moz-box-shadow: 0 1px 4px rgba(0,0,0,.2);
    -o-box-shadow: 0 1px 4px rgba(0,0,0,.2);
    zoom: 1;
}
.flex-viewport {
    max-height: 2000px;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    transition: all 1s ease;
}
.loading .flex-viewport {
    max-height: 300px;
}
.flexslider .slides {
    zoom: 1;
}
.carousel li {
    margin-right: 5px
}
/* Direction Nav */
.flex-direction-nav {
*height: 0;
}
.flex-direction-nav a {
    width: 30px;
    height: 30px;
    margin: -20px 0 0;
    display: block;
    background: url(images/bg_direction_nav.png) no-repeat 0 0;
    position: absolute;
    top: 50%;
    cursor: pointer;
    text-indent: -9999px;
    opacity: 0;
    -webkit-transition: all .3s ease;
}
.flex-direction-nav .flex-next {
    background-position: 100% 0;
    right: -36px;
}
.flex-direction-nav .flex-prev {
    left: -36px;
}
.flexslider:hover .flex-next {
    opacity: 0.8;
    right: 5px;
}
.flexslider:hover .flex-prev {
    opacity: 0.8;
    left: 5px;
}
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {
    opacity: 1;
}
.flex-direction-nav .flex-disabled {
    opacity: .3!important;
    filter: alpha(opacity=30);
    cursor: default;
}
/* Control Nav */
.flex-control-nav {
    width: 100%;
    position: absolute;
    bottom: -40px;
    text-align: center;
}
.flex-control-nav li {
    margin: 0 6px;
    display: inline-block;
    zoom: 1;
*display: inline;
}
.flex-control-paging li a {
    width: 11px;
    height: 11px;
    display: block;
    background: #666;
    background: rgba(0,0,0,0.5);
    cursor: pointer;
    text-indent: -9999px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -o-border-radius: 20px;
    border-radius: 20px;
    box-shadow: inset 0 0 3px rgba(0,0,0,0.3);
}
.flex-control-paging li a:hover {
    background: #333;
    background: rgba(0,0,0,0.7);
}
.flex-control-paging li a.flex-active {
    background: #000;
    background: rgba(0,0,0,0.9);
    cursor: default;
}
.flex-control-thumbs {
    margin: 5px 0 0;
    position: static;
    overflow: hidden;
}
.flex-control-thumbs li {
    width: 25%;
    float: left;
    margin: 0;
}
.flex-control-thumbs img {
    width: 100%;
    display: block;
    opacity: .7;
    cursor: pointer;
}
.flex-control-thumbs img:hover {
    opacity: 1;
}
.flex-control-thumbs .flex-active {
    opacity: 1;
    cursor: default;
}
 @media screen and (max-width: 860px) {
.flex-direction-nav .flex-prev {
    opacity: 1;
    left: 0;
}
.flex-direction-nav .flex-next {
    opacity: 1;
    right: 0;
}
}
.toggle {
    margin: 2px 0 0 14px;
    float: left;
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
}
.toggle li {
    float: left;
}
.toggle li a {
    width: 50px;
    padding: 6px 0;
    text-align: center;
    display: block;
    text-shadow: 1px 1px 0 #fff;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    -webkit-border-radius: 0 4px 4px 0;
    -moz-border-radius: 0 4px 4px 0;
    -o-border-radius: 0 4px 4px 0;
    border-radius: 0 4px 4px 0;
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 0%, #ededed 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(100%, #ededed)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #ffffff 0%, #ededed 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #ffffff 0%, #ededed 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #ffffff 0%, #ededed 100%); /* IE10+ */
    background: linear-gradient(top, #ffffff 0%, #ededed 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed', GradientType=0 ); /* IE6-9 */
    box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #fff;
    -moz-box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #fff;
    -webkit-box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #fff;
}
.toggle li:first-child a {
    -webkit-border-radius: 4px 0 0 4px;
    -moz-border-radius: 4px 0 0 4px;
    -o-border-radius: 4px 0 0 4px;
    border-radius: 4px 0 0 4px;
}
.toggle li a:hover {
    background: #ededed;
    color: #222;
}
.toggle li a.active {
    background: #c8e0f3;
    color: #325874;
    cursor: default;
    box-shadow: inset 0 0 3px rgba(0,0,0,0.4);
    -moz-box-shadow: inset 0 0 3px rgba(0,0,0,0.4);
    -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.4);
}
#slider{
    margin: 0 10px 40px!important;
}
#slider2{
	margin: 10px 20px!important;
}
#carousel li {
    margin-right: 5px;
}
#carousel img {
    display: block;
    opacity: .5;
    cursor: pointer;
}
#carousel img:hover {
    opacity: 1;
}
#carousel .flex-active-slide img {
    opacity: 1;
    cursor: default;
}
/* Loading
***********************/
.loading aside {
    opacity: 0;
}
aside {
    width: 100%;
    float: left;
    opacity: 1;
    -webkit-transition: opacity 1s ease;
}
aside h3 {
    float: left;
}
/* Layout
***********************/
#top {
    position: relative;
    z-index: 999;
    height: 65px;
    padding: 5px 0;
    border-bottom: 1px solid #577794;
    background: rgb(226,232,239); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(226,232,239,1) 0%, rgba(210,219,228,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(226,232,239,1)), color-stop(100%, rgba(210,219,228,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(226,232,239,1) 0%, rgba(210,219,228,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(226,232,239,1) 0%, rgba(210,219,228,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(226,232,239,1) 0%, rgba(210,219,228,1) 100%); /* IE10+ */
    background: linear-gradient(top, rgba(226,232,239,1) 0%, rgba(210,219,228,1) 100%); /* W3C */
}
#top {
    text-align: center;
}
#top .top-inner {
    max-width: 800px;
    width: auto;
}
#top img {
    float: none;
    display: inline;
    margin-top: 12px;
}
#container {
    padding: 60px 40px 100px;
    border-top: 1px solid #93b6d2;
}
header {
    width: 420px;
    float: left;
}
#main {
    margin-left: 420px;
    margin-top: -25px;
    overflow: hidden;
}
/* Header
***********************/
header h1 {
    font-family: Geogrotesque-Semibold, Helvetica, Arial, sans-serif;
    margin: 0 0 10px;
    text-shadow: 0 1px 0 #2F4C63;
    color: #fff;
    font-size: 42px;
}
header h2 {
    margin: 0 0 30px;
    font: normal 20px Geogrotesque-regular, Helvetica, Arial, sans-serif;
    text-shadow: 0 1px 1px #555;
    color: #fff;
}
header .button {
    margin: 0 0 50px;
    padding: 10px 15px 10px 15px;
    display: block;
    float: left;
    position: relative;
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    transition: all .2s ease;
}
nav {
    clear: both;
}
nav h3 {
    margin: 0 0 10px;
    padding: 0 0 3px;
    font-size: 18px;
    text-shadow: 0 1px 1px #555;
    color: #fff;
    font-family: Geogrotesque-Regular, Helvetica, Arial, sans-serif;
    border-bottom: 1px solid #fff;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    display: inline-block;
}
nav li {
    margin: 0 0 7px;
    font-size: 15px;
    text-transform: lowercase;
}
nav li a:hover, nav li a.active {
    border-bottom: 1px dotted #fff;
    border-bottom: 1px dotted rgba(255,255,255,0.3);
    background: none;
}
nav li a.active {
    cursor: default;
}
/* --Clearfix */
.cf:before, .cf:after {
    content: "";
    display: table;
}
.cf:after {
    clear: both;
}
.cf {
    zoom: 1;
}
/* Media Queries
***********************/

.button {
    display: inline-block;
    margin: 2px 0;
    padding: 5px 15px 3px;
    border: 1px solid #336693;
    border-bottom-color: #336693;
    color: #fff!important;
    text-align: center;
    text-decoration: none !important;
    text-shadow: 0 -1px 0 hsla(0,0%,0%,.3);
    text-transform: uppercase;
    font: bold 12px/16px sans-serif;
    cursor: pointer;
    /*Border radius*/
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    /*Background*/
    background: #274d70; /*Fallback*/
    background: -webkit-gradient( linear, left top, left bottom, color-stop(.2, #336693), color-stop(1, #274d70));
    background: -moz-linear-gradient( center top, #336693 20%, #274d70 100% );
    /*Box shadow*/
    -webkit-box-shadow: inset 0 1px 0 hsla(0,100%,100%,.3) /*Top*/, inset 0 0 2px hsla(0,100%,100%,.3) /*Shine*/, 0 1px 2px hsla(0, 0%, 0%, .29) /*Shadow*/;
    -moz-box-shadow: inset 0 1px 0 hsla(0,100%,100%,.3) /*Top*/, inset 0 0 2px hsla(0,100%,100%,.3) /*Shine*/, 0 1px 2px hsla(0, 0%, 0%, .29) /*Shadow*/;
    box-shadow: inset 0 1px 0 hsla(0,100%,100%,.3) /*Top*/, inset 0 0 2px hsla(0,100%,100%,.3) /*Shine*/, 0 1px 2px hsla(0, 0%, 0%, .29) /*Shadow*/;
}
.button:hover {
    color: #fff;
    text-decoration: none!important;
    /*Background*/
    background: #396083; /*Fallback*/
    background: -webkit-gradient( linear, left top, left bottom, color-stop(.2, #3c77ab), color-stop(1, #396083) );
    background: -moz-linear-gradient( center top, #3c77ab 20%, #396083 100% );
}
/* GREEN */

.button.green {
    border: 1px solid #467d16;
    border-bottom-color: #467d16;
    /*Background*/
    background: #447e12; /*Fallback*/
    background: -webkit-gradient( linear, left top, left bottom, color-stop(.2, #71b02f), color-stop(1, #447e12));
    background: -moz-linear-gradient( center top, #71b02f 20%, #447e12 100% );
}
.button.green:hover {
    /*Background*/
    background: #508e1b; /*Fallback*/
    background: -webkit-gradient( linear, left top, left bottom, color-stop(.2, #7cbc3a), color-stop(1, #508e1b));
    background: -moz-linear-gradient( center top, #7cbc3a 20%, #508e1b 100% );
}


/* Media Queries
***********************/
@media screen and (max-width: 960px) {
#container {
    padding: 35px;
}
header {
    width: 380px;
}
#main {
    margin-left: 380px;
}
}
@media screen and (max-width: 768px) {
#container {
    padding: 20px 30px;
}
header {
    width: 100%;
    float: none;
    text-align: center;
}
header h1 {
    margin: 0 auto 10px;
}
header .button,  header nav {
    display: none;
}
#main {
    margin-left: 0;
}
}
@media screen and (max-width: 500px) {
header h1 {
    width: 246px;
}
}
