/*!
 * IE10 viewport hack for Surface/desktop Windows 8 bug
 * Copyright 2014-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */


/*
 * See the Getting Started docs for more information:
 * http://getbootstrap.com/getting-started/#support-ie10-width
 */

/* Fonts
font-family: 'Open Sans', sans-serif;
font-family: 'Open Sans Condensed', sans-serif;
*/

@-webkit-viewport {
    width: device-width;
}

@-moz-viewport {
    width: device-width;
}

@-ms-viewport {
    width: device-width;
}

@-o-viewport {
    width: device-width;
}

@viewport {
    width: device-width;
}


/* Sticky footer styles
-------------------------------------------------- */

html {
    position: relative;
    min-height: 100%;
  background-color: #cfcfec;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
    font-size: 16px;
  background-color: #cfcfec;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 60px;
    background-color: #ffffff;
  background-color: #cfcfec;
}

/* FIX: Remove outline from links */

a:focus {
    outline: none;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
    text-decoration: none;
}
    input:focus, .button:focus, .textarea:focus, .btn:focus {
    outline: 0 none;
}


/* END FIX: Remove outline from links */


a:link{
    color:#6169A9;
    text-decoration: underline;
}

a:hover {
    color: #3a3f65;
}

ul li {
  list-style:none;
  font-size:1em;
  line-height: 1.6em;
  color: #666666;
}

ul.corona li{
  list-style:disc;
  font-size:1em;
  line-height: 1.6em;
  color: #6169A9;
}
/* Carousel */

.slider {
    margin: 0 auto;
  margin-top:-15px !important;
}

#carousel-example-generic {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.carousel {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.carousel img {
    min-width:100%;
    max-height:300px;
    
    opacity: 0.4;transition: opacity .50s ease-in-out;
   -moz-transition: opacity .50s ease-in-out;
   -webkit-transition: opacity .50s ease-in-out;

}

.carousel img:hover {
    opacity: 1;
}

.carousel.fade {
    opacity: 1;
}

.carousel.fade .item {
    -moz-transition: opacity ease-in-out .7s;
    -o-transition: opacity ease-in-out .7s;
    -webkit-transition: opacity ease-in-out .7s;
    transition: opacity ease-in-out .7s;
    left: 0 !important;
    opacity: 0;
    top: 0;
    position: absolute;
    width: 100%;
    display: block !important;
    z-index: 1;
    background-color: transparent;
}

.carousel.fade .item:first-child {
    top: auto;
    position: relative;
}

.carousel.fade .item.active {
    opacity: 1;
    -moz-transition: opacity ease-in-out .7s;
    -o-transition: opacity ease-in-out .7s;
    -webkit-transition: opacity ease-in-out .7s;
    transition: opacity ease-in-out .7s;
    z-index: 2;
}

.carousel-inner > .item {
    opacity: 0;
    top: 0;
    left: 0;
    width: 100%;
    display: block;
    position: absolute;
    z-index: 0;
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
    -webkit-transform: translate3d(0, 0, 0) !important;
    transform: translate3d(0, 0, 0) !important;
}

.carousel-inner > .item:first-of-type {
    position: relative;
}

.carousel-inner > .active {
    opacity: 1;
    z-index: 3;
}

.carousel-control.left,
.carousel-control.right {
    display: none;
    background-repeat: no-repeat;
}


/* END Carousel Fade CSS */





/* User Site Map CSS */

#osmap h2.menutitle {
    display: none;
}

h2#osmap-menu-uid-mainmenu {
    display: none;
}


/* END User Site Map CSS */



.logo {
    width: 100%;
    max-width:100%;
    max-width:400px;
    height: auto;
    position:relative;
    z-index: 1500;
    margin-top:-250px;
    top:50px;
}


/* Navigation CSS */

.nav {
    display: block;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 0;
    text-align: center;
    margin-left: 15px;
    margin-top: -10px;
  	margin-bottom:10px;
}

.nav ul {
    text-align: center;
    /* Zero margin and padding (together with 'centering trick') required to center nav on mobile */
    margin: 0;
    padding: 0;
    margin: 0 auto;
}

.nav li {
    display: inline-block;
}

.nav li a, span.separator {
    color: #034694;
    color:#6169A9;
    font-weight: 600;
    text-decoration: none;
}

.nav li a:hover,
.nav li a:focus,
.nav li a:active {
    color: #034694;
    background-color: transparent;
    text-decoration: none;
}

.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus {
    background-color: transparent;
  	background-image: none;
}

ul.dropdown-menu li{
  width:100% !important;
}

ul.dropdown-menu{
   background-color: #cfcfec;
}


ul.dropdown-menu li a:hover {
    color: #fff;
  color:#3a3f65;
    background-color: #6169A9;
  	background-color: #cfcfec;  
  	background-image: none;
}


li.item-109, li.item-170, li.item-171, li.item-172, li.item-205 {display:none;}


/* Random Links */



/* END Navigation CSS */

::-moz-selection {
    background-color: #6169A9;
    color: #fff;
}

::selection {
    background-color: #6169A9;
    color: #fff;
}


/* Basic Typography CSS
-------------------------------------------------- */

body {
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
}

.page-header{border-bottom:none;}

.page-header h1{
  margin-top:-50px;
  margin-bottom:-10px;
}

strong{
    font-weight:600;
  color:#6db272;
}

div:focus {
    outline: none;
}

p {
    margin: 15px;
    line-height: 1.6em;
    color: #333;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Open Sans', sans-serif;
    font-family: 'Open Sans Condensed', sans-serif;
    font-weight: 700;
    font-weight: 700;
    color: #6169A9;
    
    text-rendering: optimizespeed;
}

h1 {
    font-size: 1.4em;
    font-size: 2em;
}

h2 {
    font-size: 1.3em;
    font-size: 2em;
}

h3 {
    font-size: 1.17em;
}

h4 {
    font-size: 1em;
}

h5 {
    font-size: 0.83em;
}

h6 {
    font-size: 0.75em;
}

p.lead {
    font-size: 1.1em;
    line-height:2em;
}

/* OPTIMA Custom page CSS
-------------------------------------------------- */

/* Ribbon CSS */

.ribbon{
    width:100%;
    max-width:250px;
    height:auto;
    position:absolute;
    z-index: 9000;
    top:0;
    right:0;
  clear:both;
}

/* END Ribbon CSS */

.main{
  margin-top:20px;
}

h4.basiclink{
  margin:-10px 0 20px 0;
}

h4.basiclink a{
    color:#6169A9;
    text-decoration: none;
}

h4.basiclink a:hover{
    text-decoration: underline;    
}

.quote{
    font-weight:600;
    font-size:1.2em;
    line-height:2em;
    padding-left: 30px;
    border-left:solid 5px #6169A9;
    text-align: left;
    max-width:300px;
    float:left;
    color:#6169A9;
}

.pageimg{
    float:right;
    max-width: 360px;
    margin:10px -10px 0 15px;
}

/* Rapid Contact CSS*/

.input-group .form-control:last-child, .input-group-addon:last-child, .input-group-btn:last-child > .btn, .input-group-btn:last-child > .btn-group > .btn, .input-group-btn:last-child > .dropdown-toggle, .input-group-btn:first-child > .btn:not(:first-child), .input-group-btn:first-child > .btn-group:not(:first-child) > .btn {
  border-radius:15px;
  width:300px;
    color: #222;
 margin-bottom:20px;
}

input, label{
  font-weight:normal;
  float:left;
  display:block;
  clear:both;
}

textarea {
    display: block;
    max-width: 100%;
    margin: 5px 0;
    font-weight: normal;
}

.btn-primary {
    color: #fff;
    background-color: #222;
    border-color: #222;
}

.btn-primary:visited,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
    color: #fff;
    background-color: #222;
    border-color: #222;
}

.btn-primary:active:hover, .btn-primary.active:hover, .open > .dropdown-toggle.btn-primary:hover, .btn-primary:active:focus, .btn-primary.active:focus, .open > .dropdown-toggle.btn-primary:focus, .btn-primary:active.focus, .btn-primary.active.focus, .open > .dropdown-toggle.btn-primary.focus{
  background-color: #222;
    border-color: #222;}


.form-control{
  border-color: #222;
}

.form-control:hover,
.form-control:active,
.form-control:focus{
  border-color: #222;
}

/* END Rapid Contact CSS */


/* Footer CSS
-------------------------------------------------- */

footer {
    clear: both;
    padding-top: 20px;
    padding-bottom: 30px;
}

footer p {
    margin-top: -3px;
    padding-top: 3px;
    color: #333;
    font-size: 0.85em;
    text-align: center;
}

footer a:link,
footer a {
    color: #333;
    text-decoration: none;
}

footer a:hover {
    color: #6169A9;
    text-decoration: underline;
}


/* Footer Adjustment for mobiles */

.split {
    display: none;
}

.sep {
    display: inline;
}


/* END Footer Adjustment for mobiles */


/* Custom Media Queries */
@media screen and (min-width:400px) and (max-width: 759px) {
  
    .nav{
      margin-top:20px;
  }

  
}

@media screen and (max-width: 759px) {
  
body{
        margin-left:-5px;
    }
    
.carousel img {
    min-width:100%;
    min-height:90px;
    }
 
.logo {
    max-width:50%;
    height: auto;
    position:relative;
    z-index: 1500;
    margin-top:-245px;        
    top:80px;
}
    
ul.dropdown-menu {
        left: -95px;
    }
    
.quote{
    font-weight:600;
    line-height:2em;
    padding-left: 30px;
    border-left:solid 3px #6169A9;
    text-align: left;
    max-width:300px;
    float:left;
}

.pageimg{
    display:block;
    float:none;
    max-width:100%;
    margin:0 auto;
}
  
  .ribbon {
    max-width: 100px;
}

  li.item-109, li.item-170, li.item-171, li.item-172, li.item-205 {display:none;}
    
    
.split {
        display: inline;
    }
.sep {
        display: none;
    }
}

@media screen and (min-width: 760px) and (max-width: 1200px){
  
  .nav{
margin-top: -10px;
}
  
}