

/* ===== Primary Styles ========================================================
   Author:Joel Salisbury
   ========================================================================== */

body{font-family: 'Istok Web', sans-serif;background:url(../img/gray_bg.png);}

    h1{
        color:#01006a;
        font-family: 'Alfa Slab One';
        font-size:34px;
        line-height:1.8em;
        font-weight:normal;
        text-transform:uppercase;
    }
    
    .modal{display:none;}

 
/** All CSS for desktop in desktop  media query - default mobile is fine. **/
@media (min-width: 959px){
    
    .navbar-fixed-top,.navbar-inner{
        height:160px;
    }
    
    .navbar-fixed-top{
        background:url(../img/black_bg.png);
    }

    .navbar .brand{
        line-height:160px;
        height:160px;
        padding:0px;
    }

    .navbar .nav{
        margin-left:65px;
        height:65px;
        margin-top:65px;
    }

    .navbar .nav > li{
        height:65px;
    }

    .navbar .nav > li a{
        padding:9px 10px;
        background-color:#ffffff;
        margin-right:20px;
        text-transform:uppercase;
        text-shadow:none;
        color:#0048f5;
        font-family: 'Alfa Slab One';
    }
    
    .navbar .nav > li a:hover{
        background-color:#0048f5;
    }
    
    .navbar .nav > li.active a{
        background-color:#0048f5;
    }
    
    .hero-unit{
        margin-top:0px;
        padding:30px;
        border:5px solid #e3e3e3;
    }
    
    .slideshow{
        padding:25px;
    }
    
    .slideshow img{
        margin-left:5px!important;
    }
    
    h1{
        color:#01006a;
        font-family: 'Alfa Slab One';
        font-size:34px;
        line-height:1.8em;
        font-weight:normal;
        text-transform:uppercase;
    }
    
    .hero-unit h1{
        display:block;
        color:#01006a;
		font-family:Arial, Gadget, sans-serif;
        font-size:46px;
        line-height:1.8em;
        float:left;
        min-width:430px;
        max-width:530px;
        font-weight:normal;
    }
    
    .hero-unit img{

        border:4px solid #333;
    }
    
    
    .nav-pills{
        background-color:#ffffff;
        border:2px solid #333;
    }
    
    .row p{
        color:#242673;
        font-size:16px;
        line-height:1.5em;
        font-weight:bolder;
    }   
	
	    
    .flexslider ul{
        list-style-type: none;
        margin:0px;
        padding:0px;
    }
    
    .hero-unit .flexslider{
        width:500px;
        float:left;
    }
    
    .whatwd .thumbnail .flexslider{
		width:300px;
        margin:0 auto;
    }
	
	.whatwd .thumbnail img{
	 	width:300px;	
	}
    
    .whatwd .thumbnail{
        min-height:440px;
    }
	
	.projects .thumbnail .flexslider{
	 	width:540px;
		margin:0 auto;	
	}
        
        .projects .thumbnail .flexslider img{
            width:540px;
            height:200px;
        }
}

@media (min-width: 950px) and (max-width: 1196px) {
    .hero-unit h1{
        font-size:28px!important;
        line-height:1.6em;
        float:left;
        width:50%;
        color:#01006a;
    }
	
	.hero-unit .flexslider {
	 	width:320px;
		margin-left:55px;	
	}
    

}





/*
 * jQuery FlexSlider v1.8
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 */

/* 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 {max-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 {background: #fff; border: 4px solid #fff; position: relative; -webkit-border-radius: 5px; -moz-border-radius: 5px; -o-border-radius: 5px; border-radius: 5px; zoom: 1;}
.flexslider .slides {zoom: 1;}
.flexslider .slides > li {position: relative;}
/* Suggested container for "Slide" animation setups. Can replace this with your own, if you wish */
.flex-container {zoom: 1; position: relative;}

/* Caption style */
/* IE rgba() hack */
.flex-caption {background:none; -ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000); zoom: 1;}
.flex-caption {width: 96%; padding: 2%; margin: 0; position: absolute; left: 0; bottom: 0; background: rgba(0,0,0,.3); color: #fff; text-shadow: 0 -1px 0 rgba(0,0,0,.3); font-size: 14px; line-height: 18px;}

/* Direction Nav */
.flex-direction-nav { height: 0; }
.flex-direction-nav li a {width: 52px; height: 52px; margin: -13px 0 0; display: block; background: url(../img/bg_direction_nav.png) no-repeat; position: absolute; top: 50%; cursor: pointer; text-indent: -999em;}
.flex-direction-nav li .next {background-position: -52px 0; right: -21px;}
.flex-direction-nav li .prev {left: -20px;}
.flex-direction-nav li .disabled {opacity: .3; filter:alpha(opacity=30); cursor: default;}

/* Control Nav */
.flex-control-nav {width: 100%; position: absolute; bottom: -30px; text-align: center;}
.flex-control-nav li {margin: 0 0 0 5px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-nav li:first-child {margin: 0;}
.flex-control-nav li a {width: 13px; height: 13px; display: block; background: url(../img/bg_control_nav.png) no-repeat; cursor: pointer; text-indent: -999em;}
.flex-control-nav li a:hover {background-position: 0 -13px;}
.flex-control-nav li a.active {background-position: 0 -26px; cursor: default;}