/*
    Colorbox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
#colorbox, #cboxOverlay, #cboxWrapper { position: absolute; top: 0; left: 0; z-index: 9999; overflow: hidden; }
#cboxOverlay { position: fixed; width: 100%; height: 100%; }
#cboxMiddleLeft, #cboxBottomLeft { clear: left; }
#cboxContent { position: relative; }
#cboxLoadedContent { overflow: auto; -webkit-overflow-scrolling: touch; }
#cboxTitle { margin: 0; }
#cboxLoadingOverlay, #cboxLoadingGraphic { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow { cursor: pointer; }
.cboxPhoto { float: left; margin: auto; border: 0; display: block; max-width: none; -ms-interpolation-mode: bicubic; }
.cboxIframe { width: 100%; height: 100%; display: block; border: 0; }
#colorbox, #cboxContent, #cboxLoadedContent { box-sizing: content-box; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; }
/* 
    User Style:
    Change the following styles to modify the appearance of Colorbox.  They are
    ordered & tabbed in a way that represents the nesting of the generated HTML.
*/
#cboxOverlay { background: url(../images/colorbox/overlay.png) repeat 0 0; }
#colorbox { outline: 0; }
#cboxTopLeft { width: 21px; height: 21px; background: url(../images/colorbox/controls.png) no-repeat -101px 0; }
#cboxTopRight { width: 21px; height: 21px; background: url(../images/colorbox/controls.png) no-repeat -130px 0; }
#cboxBottomLeft { width: 21px; height: 21px; background: url(../images/colorbox/controls.png) no-repeat -101px -29px; }
#cboxBottomRight { width: 21px; height: 21px; background: url(../images/colorbox/controls.png) no-repeat -130px -29px; }
#cboxMiddleLeft { width: 21px; background: url(../images/colorbox/controls.png) left top repeat-y; }
#cboxMiddleRight { width: 21px; background: url(../images/colorbox/controls.png) right top repeat-y; }
#cboxTopCenter { height: 21px; background: url(../images/colorbox/border.png) 0 0 repeat-x; }
#cboxBottomCenter { height: 21px; background: url(../images/colorbox/border.png) 0 -29px repeat-x; }
#cboxContent { background: #fff; overflow: hidden; }
.cboxIframe { background: #fff; }
#cboxError { padding: 50px; border: 1px solid #ccc; }
#cboxLoadedContent { margin-bottom: 28px; }
#cboxTitle { position: absolute; bottom: 4px; left: 0; text-align: center; width: 100%; color: #949494; }
#cboxCurrent { position: absolute; bottom: 4px; left: 58px; color: #949494; }
#cboxLoadingOverlay { background: url(../images/colorbox/loading_background.png) no-repeat center center; }
#cboxLoadingGraphic { background: url(../images/colorbox/loading.gif) no-repeat center center; }
/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose { border: 0; padding: 0; margin: 0; overflow: visible; width: auto; background: none; }
/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
#cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active { outline: 0; }
#cboxSlideshow { position: absolute; bottom: 4px; right: 30px; color: #0092ef; }
#cboxPrevious { position: absolute; bottom: 0; left: 0; background: url(../images/colorbox/controls.png) no-repeat -75px 0; width: 25px; height: 25px; text-indent: -9999px; }
#cboxPrevious:hover { background-position: -75px -25px; }
#cboxNext { position: absolute; bottom: 0; left: 27px; background: url(../images/colorbox/controls.png) no-repeat -50px 0; width: 25px; height: 25px; text-indent: -9999px; }
#cboxNext:hover { background-position: -50px -25px; }
#cboxClose { position: absolute; bottom: 0; right: 0; background: url(../images/colorbox/controls.png) no-repeat -25px 0; width: 25px; height: 25px; text-indent: -9999px; }
#cboxClose:hover { background-position: -25px -25px; }
/*
  The following fixes a problem where IE7 and IE8 replace a PNG's alpha transparency with a black fill
  when an alpha filter (opacity change) is set on the element or ancestor element.  This style is not applied to or needed in IE9.
  See: http://jacklmoore.com/notes/ie-transparency-problems/
*/
.cboxIE #cboxTopLeft, .cboxIE #cboxTopCenter, .cboxIE #cboxTopRight, .cboxIE #cboxBottomLeft, .cboxIE #cboxBottomCenter, .cboxIE #cboxBottomRight, .cboxIE #cboxMiddleLeft, .cboxIE #cboxMiddleRight {  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF, endColorstr=#00FFFFFF);
}



/*
 * 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 { position: relative; 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%; z-index: 10; cursor: pointer; text-indent: -9999px; opacity: 1; }
.flex-direction-nav .flex-next { background-position: 100% 0; right: -36px; }
.flex-direction-nav .flex-prev { left: -36px; }
.flexslider:hover .flex-next { opacity: 1; right: 5px; }
.flexslider:hover .flex-prev { opacity: 1; left: 5px; }
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover { opacity: 1; }
.flex-direction-nav .flex-disabled { opacity: 0 !important; filter: alpha(opacity=00); 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; }
/*SPECIFIC TO HOMEPAGE SLIDER*/
.flexsliderHome .slides li img { margin-bottom: -50px; }
.flexsliderHome .flex-caption {padding: 6px 0 0; position: relative; top: -39px; min-height: 75px; background: url(../images/transWhiteBG.png) repeat;color: #003050;}
.flexsliderHome .flex-caption a.sliderMore {color:#003050;margin-left: 5%;-webkit-border-radius: 3px; text-align: center;-moz-border-radius: 3px;min-width: 63px; max-width: 80px;display: block;
border-radius: 3px; background-color: #ffffff; text-transform: uppercase;padding: 0 2%;font-size: 0.9em;font-weight: 700;text-decoration: none;}
.flexsliderHome .flex-caption h1 {  font-style: italic;font-size: 1.2em;width: 40%; padding: 0 0 0 5%; }
.flexsliderHome .flex-caption p { font-weight: 700; width: 40%; padding: 0px 0 0 5%; }
.impactAreaHome .flexsliderThumbs { width: 51%; float: right; position: relative; top: -98px;padding-right: 3%; }
.impactAreaHome .flexsliderThumbs li { width: 19%; display: inline-block; }
.impactAreaHome .flexsliderThumbs li img { width: 90%; border: #ffffff solid 1px;}
.impactAreaHome .flexsliderThumbs .flex-active img { border: #B0BC22 solid 1px;}
.flexsliderHome .flex-direction-nav a { height: 35px; background-image: url(../images/bg_direction_nav_home.png); top: 83%; opacity: 1; }
.flexsliderHome .flex-direction-nav .flex-prev { left: 20px; }
.flexsliderHome .flex-direction-nav .flex-next { right: 20px; }
.flexslider.flexsliderHome span.outer{display: table; height: 67px; overflow: hidden;width:100%;} 
.flexslider.flexsliderHome span.outer span.inner{display: table-cell; vertical-align: middle; width: 100%;}
/*SPECIFIC TO STANDARD SLIDER*/

.flexsliderStandard ul{margin-bottom:50px;}
.flexsliderStandard ul, ul.flexsliderThumbs { padding: 0;}
.flexsliderStandard li { background-image: none; padding: 0; }
.flexsliderStandard .slides li img { margin-bottom: -45px; max-height: 265px;}
.flexsliderStandard .flex-caption { position: relative; top:0px; min-height: 25px; background: url(../images/transWhiteBG.png) repeat;  padding: 5px 0 0; font-size: 1.1em;}
.flexsliderStandard .flex-caption h1 { width: 50%; padding: 0 0 0 5%; }
.flexsliderStandard .flex-caption p {min-height: 25px; font-style: italic; width: 48%; padding: 0px 0 15px 2%; }
.impactArea .flexsliderThumbs { width: 48%; float: right; position: relative; top: -27px; }
.flexsliderStandard .flex-viewport {margin-bottom: -9px;max-height:265px;}
.impactArea .flexsliderThumbs li { background-image: none; width: 22%; display: inline-block;padding: 0 1%; }
.flexsliderStandard .flex-direction-nav a { height: 35px; background-image: url(../images/bg_direction_nav_home.png); top: 82%; opacity: 1; }
.impactArea .flexsliderThumbs li img { max-height: 35px;}


/*SPECIFIC TO PHOTO GALLERY SLIDER*/
.photoGallery ul, ul.flexsliderThumbs { padding: 0; }
.photoGallery li { background-image: none; padding: 0; }
.photoGallery .slides li img {  }
.photoGallery .flex-caption { position: relative; top:0px; min-height: 15px; background: url(../images/transWhiteBG.png) repeat;  padding: 15px 0 0; font-size: 1.1em;}
.photoGallery .flex-caption h1 {}
.photoGallery .flex-caption p {font-style: italic; }
.photoGallery .flex-direction-nav a {margin: -50px 0 0 0;}

.photoGallery .flex-direction-nav .flex-prev { left: 20px; }
.photoGallery .flex-direction-nav .flex-next { right: 20px; }

.photoGallery .flexsliderThumbs .flex-direction-nav a  { margin: -15px 0 0 0;}


 @media screen and (max-width: 860px) {
.flex-direction-nav .flex-prev { opacity: 1; left: 0; }
.flex-direction-nav .flex-next { opacity: 1; right: 0; }
    .impactAreaHome {min-height: 100%; height: auto;}
}

 @media screen and (max-width: 800px) {
     .flexsliderHome .flex-direction-nav a {top: 80%;}
 }

@media screen and (max-width:780px){
    .flexsliderHome .slides li img {margin-bottom: -80px;}
    .impactAreaHome .flexsliderThumbs {width: 96%;top: 0px;padding: 5px 2% 0;background-color: #064179;margin-bottom: 15px;}
    .impactAreaHome .flexsliderThumbs li img { width: 100%;}
    .flexsliderHome .flex-caption { top: -0px;}
    .impactArea .flexsliderThumbs { width: 100%;top: -0px;}
    .impactArea .flexsliderThumbs li {width: 22.7%;}
    .flexsliderHome .flex-direction-nav a {top: 90%;}
    .flexsliderHome .flex-direction-nav .flex-prev {left: 10px;}
    .flexsliderHome .flex-direction-nav .flex-next{right: 10px;}
    .impactAreaHome .flexsliderThumbs li {width: 17.5%;padding: 0 0 0 2%;}
    .flexsliderStandard .flex-caption p, .flexsliderHome .flex-caption h1, .flexsliderHome .flex-caption p { width: 90%;}
}
@media screen and (max-width:500px){
    .flexsliderHome .flex-caption h1 { font-size: 1em;}
    .flexsliderHome .flex-direction-nav a {top: 50%;}
    .impactAreaHome {min-height: 100%; height: auto;}
    .impactAreaHome .flexsliderThumbs li {width: 17%;}
    .impactAreaHome .flexsliderThumbs li img { width: 100%;}
    .flexsliderHome .flex-direction-nav a {top: 50%;}
    .impactArea .flexsliderThumbs { width: 100%;top: -0px;}
    .impactArea .flexsliderThumbs li {width: 22.7%;}
    .flexsliderStandard .flex-caption p, .flexsliderHome .flex-caption h1, .flexsliderHome .flex-caption p { width: 90%;}

}
@media screen and (max-width:480px){
        .flexsliderHome .flex-caption a.sliderMore{border:1px solid #003050;margin-top:2px;}
        .flexsliderHome .flex-caption { min-height:70px;padding-bottom: 5px;}
        .flexsliderHome .slides li img { margin-bottom: 0;}
        .flexsliderHome .flex-direction-nav a {top: 30%;}
        .flexsliderHome .flex-caption a {background-color: #003150; color: #ffffff;}
}