/* 
  Override .container and .span sizes on 1200px media query to be like a 980 screen size for design purposes.
  
  This override is useful when changing the bootstrap files version instead of editing directly on the
  included bootstrap file.
*/

@media (min-width: 1200px) {
    .row {
        margin-left: -20px;
        *zoom: 1;
    }

        .row:before,
        .row:after {
            display: table;
            line-height: 0;
            content: "";
        }

        .row:after {
            clear: both;
        }

    [class*="span"] {
        float: left;
        min-height: 1px;
        margin-left: 20px;
    }

    .container,
    .navbar-static-top .container,
    .navbar-fixed-top .container,
    .navbar-fixed-bottom .container {
        width: 940px;
    }

    .span12 {
        width: 940px;
    }

    .span11 {
        width: 860px;
    }

    .span10 {
        width: 780px;
    }

    .span9 {
        width: 700px;
    }

    .span8 {
        width: 620px;
    }

    .span7 {
        width: 540px;
    }

    .span6 {
        width: 460px;
    }
    /*.span5 {
    width: 380px;
  }*/
    .span5 {
        width: 220px;
    }
    /*.span4
    {
        width: 220px;
    }*/

    .span4 {
        width: 300px;
    }

    .span3 {
        width: 220px;
    }

    .span2 {
        width: 140px;
    }

    .span1 {
        width: 60px;
    }

    .offset12 {
        margin-left: 980px;
    }

    .offset11 {
        margin-left: 900px;
    }

    .offset10 {
        margin-left: 820px;
    }

    .offset9 {
        margin-left: 740px;
    }

    .offset8 {
        margin-left: 660px;
    }

    .offset7 {
        margin-left: 580px;
    }

    .offset6 {
        margin-left: 500px;
    }

    .offset5 {
        margin-left: 420px;
    }

    .offset4 {
        margin-left: 340px;
    }

    .offset3 {
        margin-left: 260px;
    }

    .offset2 {
        margin-left: 180px;
    }

    .offset1 {
        margin-left: 100px;
    }

    .row-fluid {
        width: 100%;
        *zoom: 1;
    }

    .row-fluidLeft {
        width: 36%;
        *zoom: 1;
        float: left;
    }

    .row-fluidRight {
        width: 36%;
        *zoom: 1;
        float:right;
    }

    .row_fluidBottom {
        float:right;
        *zoom: 1;

    }

    .row-fluid:before,
    .row-fluid:after {
        display: table;
        line-height: 0;
        content: "";
    }

    .row-fluid:after {
        clear: both;
    }

    .row-fluid [class*="span"] {
        display: block;
        float: left;
        width: 100%;
        min-height: 30px;
        margin-left: 2.127659574468085%;
        *margin-left: 2.074468085106383%;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

        .row-fluid [class*="span"]:first-child {
            margin-left: 0;
        }

    .row-fluid .controls-row [class*="span"] + [class*="span"] {
        margin-left: 2.127659574468085%;
    }

    .row-fluid .span12 {
        width: 100%;
        *width: 99.94680851063829%;
    }

    .row-fluid .span11 {
        width: 91.48936170212765%;
        *width: 91.43617021276594%;
    }

    .row-fluid .span10 {
        width: 82.97872340425532%;
        *width: 82.92553191489361%;
    }

    .row-fluid .span9 {
        width: 74.46808510638297%;
        *width: 74.41489361702126%;
    }

    .row-fluid .span8 {
        width: 65.95744680851064%;
        *width: 65.90425531914893%;
    }

    .row-fluid .span7 {
        width: 57.44680851063829%;
        *width: 57.39361702127659%;
    }

    .row-fluid .span6 {
        width: 48.93617021276595%;
        *width: 48.88297872340425%;
    }

    .row-fluid .span5 {
        width: 40.42553191489362%;
        *width: 40.37234042553192%;
    }

    .row-fluid .span4 {
        width: 31.914893617021278%;
        *width: 31.861702127659576%;
    }

    .row-fluid .span3 {
        width: 23.404255319148934%;
        *width: 23.351063829787233%;
    }

    .row-fluid .span2 {
        width: 14.893617021276595%;
        *width: 14.840425531914894%;
    }

    .row-fluid .span1 {
        width: 6.382978723404255%;
        *width: 6.329787234042553%;
    }

    .row-fluid .offset12 {
        margin-left: 104.25531914893617%;
        *margin-left: 104.14893617021275%;
    }

        .row-fluid .offset12:first-child {
            margin-left: 102.12765957446808%;
            *margin-left: 102.02127659574467%;
        }

    .row-fluid .offset11 {
        margin-left: 95.74468085106382%;
        *margin-left: 95.6382978723404%;
    }

        .row-fluid .offset11:first-child {
            margin-left: 93.61702127659574%;
            *margin-left: 93.51063829787232%;
        }

    .row-fluid .offset10 {
        margin-left: 87.23404255319149%;
        *margin-left: 87.12765957446807%;
    }

        .row-fluid .offset10:first-child {
            margin-left: 85.1063829787234%;
            *margin-left: 84.99999999999999%;
        }

    .row-fluid .offset9 {
        margin-left: 78.72340425531914%;
        *margin-left: 78.61702127659572%;
    }

        .row-fluid .offset9:first-child {
            margin-left: 76.59574468085106%;
            *margin-left: 76.48936170212764%;
        }

    .row-fluid .offset8 {
        margin-left: 70.2127659574468%;
        *margin-left: 70.10638297872339%;
    }

        .row-fluid .offset8:first-child {
            margin-left: 68.08510638297872%;
            *margin-left: 67.9787234042553%;
        }

    .row-fluid .offset7 {
        margin-left: 61.70212765957446%;
        *margin-left: 61.59574468085106%;
    }

        .row-fluid .offset7:first-child {
            margin-left: 59.574468085106375%;
            *margin-left: 59.46808510638297%;
        }

    .row-fluid .offset6 {
        margin-left: 53.191489361702125%;
        *margin-left: 53.085106382978715%;
    }

        .row-fluid .offset6:first-child {
            margin-left: 51.063829787234035%;
            *margin-left: 50.95744680851063%;
        }

    .row-fluid .offset5 {
        margin-left: 44.68085106382979%;
        *margin-left: 44.57446808510638%;
    }

        .row-fluid .offset5:first-child {
            margin-left: 42.5531914893617%;
            *margin-left: 42.4468085106383%;
        }

    .row-fluid .offset4 {
        margin-left: 36.170212765957444%;
        *margin-left: 36.06382978723405%;
    }

        .row-fluid .offset4:first-child {
            margin-left: 34.04255319148936%;
            *margin-left: 33.93617021276596%;
        }

    .row-fluid .offset3 {
        margin-left: 27.659574468085104%;
        *margin-left: 27.5531914893617%;
    }

        .row-fluid .offset3:first-child {
            margin-left: 25.53191489361702%;
            *margin-left: 25.425531914893618%;
        }

    .row-fluid .offset2 {
        margin-left: 19.148936170212764%;
        *margin-left: 19.04255319148936%;
    }

        .row-fluid .offset2:first-child {
            margin-left: 17.02127659574468%;
            *margin-left: 16.914893617021278%;
        }

    .row-fluid .offset1 {
        margin-left: 10.638297872340425%;
        *margin-left: 10.53191489361702%;
    }

        .row-fluid .offset1:first-child {
            margin-left: 8.51063829787234%;
            *margin-left: 8.404255319148938%;
        }
}


html {
    height: 100%;
    background-color: rgb(37, 37, 40);
}

#footer {
    background-color: rgb(37, 37, 40);
    /*background-color: #0f1f2e;*/
    margin-top: 50px;
}

.navbar .nav > li > a {
    float: none;
    padding: 15px 10px;
}

/*Rotation Text Links*/

#rotation_links {
    color: black;
    font-size: 20px;
    text-shadow: 1px 1px 1px rgb(139, 135, 135);
}

    #rotation_links a {
        color: black;
        text-decoration: none;
    }

        #rotation_links a:hover {
            color: darkgrey;
            text-decoration: none;
        }

        #rotation_links a:focus {
            color: darkgrey;
            text-decoration: none;
        }

#rotation_links1 {
    color: #fff;
    font-size: 20px;
    text-shadow: 1px 1px 1px rgb(139, 135, 135);
}

    #rotation_links1 a {
        color: #fff;
        text-decoration: none;
    }

        #rotation_links1 a:hover {
            color: darkgrey;
            text-decoration: none;
        }

        #rotation_links1 a:focus {
            color: darkgrey;
            text-decoration: none;
        }

#rotation_links1b {
    color: #fff;
    font-size: 20px;
    text-shadow: 1px 1px 1px rgb(139, 135, 135);
}

    #rotation_links1b a {
        color: #fff;
        text-decoration: none;
    }

        #rotation_links1b a:hover {
            color: darkgrey;
            text-decoration: none;
        }

        #rotation_links1b a:focus {
            color: darkgrey;
            text-decoration: none;
        }


#rotation_links2 {
    color: #fff;
    font-size: 20px;
    text-shadow: 1px 1px 1px #3b3262;
}

    #rotation_links2 a {
        color: #fff;
        text-decoration: none;
    }

        #rotation_links2 a:hover {
            color: darkgrey;
            text-decoration: none;
        }

        #rotation_links2 a:focus {
            color: darkgrey;
            text-decoration: none;
        }



#rotation_links3 {
    color: #000;
    font-size: 20px;
    text-shadow: 1px 1px 1px #3b3262;
}

    #rotation_links3 a {
        color: #000;
        text-decoration: none;
    }

        #rotation_links3 a:hover {
            color: darkgrey;
            text-decoration: none;
        }

        #rotation_links3 a:focus {
            color: darkgrey;
            text-decoration: none;
        }

.nav-header {
    display: block;
    padding: 3px 15px;
    font-size: 16px;
    /*font-size: 12px;*/
    font-weight: bold;
    line-height: 20px;
    color: rgb(153, 153, 153);
    /*color: darkgrey;*/
    text-transform: uppercase;
}

.nav-header1 {
    display: block;
    padding: 3px 15px;
    /*font-size: 16px;*/
    font-size: 14px;
    font-weight: bold;
    line-height: 20px;
    color: rgb(153, 153, 153);
    /*color: darkgrey;*/
    text-transform: uppercase;
}


.well1 {
    border: 1px solid rgb(227, 227, 227);
    padding: 19px;
    min-height: 20px;
    /*background-color: rgb(245, 245, 245);*/
    background-color: #4F81BD;
    margin-bottom: 20px;
    border-radius: 4px;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.05) inset;
}

/*.nav-header
{
    text-shadow: 0px 1px 0px #000;
}*/

/*.nav > li > a
{
    display: block;
    font-size: 12px;
    color: #fff;
}*/


/*.nav1 > li > a:hover, .nav > li > a:focus {
    text-decoration: none;
    background-color: rgb(238, 238, 238);
}*/

/*.nav1 > li > a {
    display: block;
    font-size: 12px;
    font-size: 12px;
    color: #fff;
}

.nav-list1 > li > a, .nav-list .nav-header1 {
    margin-right: -15px;
    margin-left: -15px;
    text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.5);
}
*/

.nav-list1 > li > a {
    padding: 3px 15px;
    font-size: 12px;
}

.hero-unit {
    padding: 60px;
    margin-bottom: 30px;
    font-size: 18px;
    font-weight: 200;
    line-height: 30px;
    /*color: inherit;*/
    color: #fff;
    text-shadow: 0px 1px 0px #403e3e;
    background: #0088CC;
    /*background: url('http://10.2.224.175/bootstrap/img/layout/titlepic.png') repeat-x top center;
    background-color: rgb(238, 238, 238);*/
    /*Added per request Clint.Witherington 04/16/14
        background: url(http://10.2.224.175/bootstrap/img/layout/titlepic.jpg) no-repeat;  */
    background: url(http://www.riskmgt.alabama.gov/bootstrap/img/layout/titlepicTest4.png) no-repeat;
    background-size: 100%;
    border-radius: 6px;
}

/* Links Table */

.LinksTable {
    margin: 0px;
    padding: 0px;
    width: 100%;
    border: 1px solid #000000;
    -moz-border-radius-bottomleft: 0px;
    -webkit-border-bottom-left-radius: 0px;
    border-bottom-left-radius: 0px;
    -moz-border-radius-bottomright: 0px;
    -webkit-border-bottom-right-radius: 0px;
    border-bottom-right-radius: 0px;
    -moz-border-radius-topright: 0px;
    -webkit-border-top-right-radius: 0px;
    border-top-right-radius: 0px;
    -moz-border-radius-topleft: 0px;
    -webkit-border-top-left-radius: 0px;
    border-top-left-radius: 0px;
}

    .LinksTable table {
        border-collapse: collapse;
        border-spacing: 0;
        width: 100%;
        height: 100%;
        margin: 0px;
        padding: 0px;
    }

    .LinksTable tr:last-child td:last-child {
        -moz-border-radius-bottomright: 0px;
        -webkit-border-bottom-right-radius: 0px;
        border-bottom-right-radius: 0px;
    }

    .LinksTable table tr:first-child td:first-child {
        -moz-border-radius-topleft: 0px;
        -webkit-border-top-left-radius: 0px;
        border-top-left-radius: 0px;
    }

    .LinksTable table tr:first-child td:last-child {
        -moz-border-radius-topright: 0px;
        -webkit-border-top-right-radius: 0px;
        border-top-right-radius: 0px;
    }

    .LinksTable tr:last-child td:first-child {
        -moz-border-radius-bottomleft: 0px;
        -webkit-border-bottom-left-radius: 0px;
        border-bottom-left-radius: 0px;
    }

    .LinksTable tr:hover td {
    }

    .LinksTable tr:nth-child(odd) {
        background-color: #caced1;
    }

    .LinksTable tr:nth-child(even) {
        background-color: #ffffff;
    }

    .LinksTable td {
        vertical-align: middle;
        border: 1px solid #000000;
        border-width: 0px 1px 1px 0px;
        text-align: left;
        padding: 7px;
        font-size: 12px;
        font-family: Lato, Arial;
        font-weight: normal;
        color: #000000;
    }

    .LinksTable tr:last-child td {
        border-width: 0px 1px 0px 0px;
    }

    .LinksTable tr td:last-child {
        border-width: 0px 0px 1px 0px;
    }

    .LinksTable tr:last-child td:last-child {
        border-width: 0px 0px 0px 0px;
    }

    .LinksTable tr:first-child td {
        background: -o-linear-gradient(bottom, #0870ad 5%, #0870ad 100%);
        background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #0870ad), color-stop(1, #0870ad) );
        background: -moz-linear-gradient( center top, #0870ad 5%, #0870ad 100% );
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#0870ad", endColorstr="#0870ad");
        background: -o-linear-gradient(top,#0870ad,0870ad);
        background-color: #0870ad;
        border: 0px solid #000000;
        text-align: center;
        border-width: 0px 0px 1px 1px;
        font-size: 15px;
        font-family: Lato, Arial;
        font-weight: bold;
        color: #ffffff;
    }

    .LinksTable tr:first-child:hover td {
        background: -o-linear-gradient(bottom, #0870ad 5%, #0870ad 100%);
        background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #0870ad), color-stop(1, #0870ad) );
        background: -moz-linear-gradient( center top, #0870ad 5%, #0870ad 100% );
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#0870ad", endColorstr="#0870ad");
        background: -o-linear-gradient(top,#0870ad,0870ad);
        background-color: #0870ad;
    }

    .LinksTable tr:first-child td:first-child {
        border-width: 0px 0px 1px 0px;
    }

    .LinksTable tr:first-child td:last-child {
        border-width: 0px 0px 1px 1px;
    }

.contact_tble_headers {
    background: -moz-linear-gradient(center top, #0870AD 5%, #0870AD 100%) repeat scroll 0% 0% #0870AD;
    background-color: #0870AD;
}

.contact_tble_headers_td {
    font-size: 15px;
    color: #fff;
}

.publist ul {
    list-style-type: none;
}



/*responsive iframe for map*/

.Flexible-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

    .Flexible-container iframe,
    .Flexible-container object,
    .Flexible-container embed {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }



/*smaller viewports*/

@media (min-width: 1023px) and (max-width: 1446px) {
    .slide#tour .info {
        position: absolute;
        top: 70px;
        left: 20%;
        width: 40%;
    }

        .slide#tour .info h2 {
            color: #000;
            font-size: 45px;
            font-weight: normal;
            text-shadow: 1px 1px 1px #3b3262;
            line-height: 57px;
        }

    .slide#responsive .info {
        position: absolute;
        top: 76px;
        left: 40%;
        width: 45%;
    }


    #road.slide .info {
        position: absolute;
        top: 68px;
        left: 30%;
        width: 55%;
    }
}





/*landscape ipad*/

@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape) {

    .slide#showcasing .info {
        position: absolute;
        top: 190px;
        left: 10%;
        /*left: 18%;*/
        width: 40%;
        display: none;
        z-index: 10;
    }



    .slide#ideas .info {
        position: absolute;
        top: 200px;
        left: 9%;
        width: 30%;
        display: none;
        z-index: 10;
    }



    .span5 {
        width: 220px;
    }

    .slide#tour .info h2 {
        color: #000;
        font-size: 45px;
        font-weight: normal;
        text-shadow: 1px 1px 1px #333333;
        line-height: 57px;
    }


    #tour.slide .info {
        position: absolute;
        top: 70px;
        left: 5%;
        width: 60%;
    }

    #road.slide .info {
        position: absolute;
        top: 68px;
        left: 30%;
        width: 60%;
    }

    .slide#responsive .info {
        position: absolute;
        top: 80px;
        left: 33%;
        width: 60%;
    }
}

.newsbox_text {
    font-size: 12px;
}

    .newsbox_text a {
        font-size: 12px;
    }

news_topic {
    font-size: 24.5px;
}

.header_text {
    font-size: 24.5px;
    line-height: 1.6;
}

/*portrait ipad*/

@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait) {
    #pagination {
        position: absolute;
        top: 600px;
        z-index: 3;
        margin: 0px;
        padding: 0px;
        display: none;
        list-style-type: none;
    }


    .span5 {
        width: 220px;
    }

    .slide#showcasing .info {
        position: absolute;
        top: 190px;
        left: 10%;
        /*left: 18%;*/
        width: 40%;
        display: none;
        z-index: 10;
    }



    #tour.slide .info {
        position: absolute;
        top: 60px;
        left: 5%;
        width: 60%;
    }

    #road.slide .info {
        position: absolute;
        top: 40px;
        left: 15%;
        width: 65%;
    }

    .slide#road .info h2 {
        color: #fff;
        font-size: 45px;
        font-weight: normal;
        text-shadow: 1px 1px 1px #3b3262;
        line-height: 40px;
    }


    .slide#responsive .info {
        position: absolute;
        top: 50px;
        right: 15%;
        width: 50%;
    }
}
/* iphones */
@media only screen and (max-device-width : 320px) and (max-device-width : 480px) /*and (orientation : portrait)*/
{
    .hero-unit {
        /*padding: 10px;*/
        padding: 0px;
        padding-left: 10px;
        padding-right: 10px;
    }

    h2 {
        font-size: 20px;
    }
}
