/* Custom CSS - The CSS properties in this stylesheet will over-write any original template styles if the same class names are used in addittion to custom styles which can also be added. */

@media (max-width: 767px) {
    .branding {
        margin-left: 40px;
        margin-right: 40px;
    }

    .header-slideshow-banner {
        display: block;
        position: inherit;
        border-bottom: 8px solid #156746;
    }


        .header-slideshow-banner .carousel-banner .owl-item img {
            width: 150%;
        }



        .header-slideshow-banner .banner-play-pause {
            top: 150px !important;
        }

        .header-slideshow-banner .banner-pager {
            top: 150px !important;
        }

    .header-slideshow-banner {
        height: 195px !important;
    }
}

@media (min-width: 768px) {

    .branding {
        margin-left: auto;
        margin-right: auto;
    }

    .header-cagov-logo {
        display: block;
        position: absolute;
        z-index: 10;
        line-height: 145px;
        left: auto;
        padding-left: 15px;
    }



    .primary .global-header {
        min-height: 0px;
    }
}

.primary .main-navigation {
    margin-top: 20px;
}

.main-navigation {
    width: 100%;
}

.primary .global-header .header-decoration {
    background: none;
    border-bottom: 8px solid #156746;
    height: 0px;
}


.header-slideshow-banner .banner-pager {
    position: absolute;
    right: 45px;
    top: 350px;
}

.header-slideshow-banner .banner-play-pause {
    position: absolute;
    top: 350px;
    right: 17px;
    z-index: 1000;
}

.top-level-nav {
    width: 768px;
}

.main-content .main-primary {
    padding-left: 15px;
    padding-right: 15px;
}


.primary .global-header .header-decoration {
    background: none;
    height: 0px;
}

.main-navigation.megadropdown .top-level-nav .sub-nav[class*="with-image-"] .sub-nav-decoration:after {
    background: none;
}

.main-navigation.megadropdown .top-level-nav .sub-nav {
    background: #effaf6;
    border-bottom: 5px solid #555;
    height: 0px;
}

.main-navigation.megadropdown .nav-arrow-container {
    top: -2px;
    height: 5px;
    background: #555;
}

.main-navigation.megadropdown .nav-arrow-down {
    background: #FEBB45;
    width: 100px;
    height: 5px;
    position: absolute;
    top: 0px;
    margin-left: -50px;
}


@media (min-width: 992px) {

    .top-level-nav {
        width: 992px;
    }

    .main-content .main-primary {
        padding-left: 20px;
        padding-right: 20px;
    }

    .two-column .main-content .main-primary {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 991px) {


    .main-content .main-primary {
        padding-left: 10px;
        padding-right: 10px;
    }
}


@media (min-width: 1280px) {

    .top-level-nav {
        width: 1280px;
    }


    .main-content .main-primary {
        position: relative;
        min-height: 1px;
        padding-left: 50px;
        padding-right: 50px;
    }

    .two-column .main-content .main-primary {
        padding-left: 50px;
        padding-right: 50px;
    }
}


html {
    background: #003366;
}

body {
    background: #fff;
}

.primary.two-column .main-content {
    background: #fff;
}


.two-column .main-content {
    background: #fff;
}

.two-column {
    background: #fff;
}

.main-content {
    background: #fff;
}

.off-canvas-enabled {
    background: #fff;
}

.panel-body {
    border: #aaa solid 1px;
}

.main-secondary .panel .panel-body {
    background: linear-gradient(to bottom, rgba(218,239,232,0.9) 0, rgba(218,239,232,.3) 100%);
    background: -moz-linear-gradient(top, rgba(218,239,232,0.9) 0, rgba(218,239,232,0) 100%);
    background: -webkit-linear-gradient(top, rgba(218,239,232,0.9) 0, rgba(218,239,232,0) 100%);
    background: -o-linear-gradient(top, rgba(218,239,232,0.9) 0, rgba(218,239,232,0) 100%);
    background: -ms-linear-gradient(top, rgba(218,239,232,0.9) 0, rgba(218,239,232,0) 100%);
}

.main-content, .global-header, .global-footer {
    border: none;
}

.global-header {
    width: 100%;
    background-size: cover;
}

.main-navigation {
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.top-level-nav {
    list-style: none;
    margin: 0;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

.global-footer {
    width: 100%;
}

.primary {
    background: #fff;
}

.profile-banner {
    border-radius: 0px;
}

.main-secondary .panel {
    margin: 0 0 15px 0;
}

.header-slideshow-banner {
    top: 138px;
    height: 400px;
}

.panel {
    border-radius: 0px;
    margin-bottom: 0px;
}

.no-padding {
    padding: 0;
}

.panel-heading {
    border-top-right-radius: 0px;
    border-top-left-radius: 0px;
}

.panel-default > .panel-heading {
    border-left: #046 2px solid;
    border-right: #046 2px solid;
}

.primary .main-content {
    background: #fff;
}

.slide-text .title {
    font-size: 1.8em;
    font-weight: bold;
    text-shadow: 0 1px 2px #000;
}

.slide-text {
    position: absolute;
    bottom: 0px;
    width: 100%;
    margin: 0 auto;
    font-size: 1.2em;
    font-stretch: normal;
    text-align: center;
    top: auto;
    border: none;
    border-radius: 0px;
    background-color: rgba(0,0,0,0.5);
}

.header-slideshow-banner .banner-control {
    cursor: pointer;
    font-weight: bold;
    text-align: center;
    color: rgba(255,255,255,0.95);
    background: #ddd;
    background-color: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.35);
    display: block;
    width: 23px;
    height: 23px;
    float: left;
    margin: 0 5px 0 0;
    font-stretch: normal;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    outline-style: none;
}

/* Custom CSS --------------------------------------- Green Buildings */



@font-face {
    font-family: "PT Sans Narrow";
    src: url(../fonts/PTNarrow.eot ); /* IE7-8 */
    src: url(../fonts/PTNarrow.ttf) format("truetype");
}

@font-face {
    font-family: "PT Sans Narrow Bold";
    src: url(../fonts/PTNarrowBold.eot ); /* IE7-8 */
    src: url(../fonts/PTNarrowBold.ttf) format("truetype");
}


@font-face {
    font-family: "PT Sans";
    src: url(../fonts/PTSans.eot ); /* IE7-8 */
    src: url(../fonts/PTSans.ttf) format("truetype");
}

@font-face {
    font-family: "PT Sans Bold";
    src: url(../fonts/PTSansBold.eot ); /* IE7-8 */
    src: url(../fonts/PTSansBold.ttf) format("truetype");
}

h1 {
    font-family: 'PT Sans Narrow Bold', sans-serif;
    font-weight: 100;
    color: #222;
    font-size: 1.8em;
    margin: 18px 0 9px 0;
    text-transform: uppercase;
}

h2 {
    font-family: 'PT Sans Narrow Bold', sans-serif;
    font-weight: 100;
    color: #595959;
    font-size: 1.4em;
    margin: 18px 0 9px 0;
    text-transform: uppercase;
}

h3 {
    font-family: 'PT Sans Narrow Bold', sans-serif;
    font-weight: 100;
    color: #333;
    font-size: 1.3em;
    margin: 0 0 9px 0;
    text-transform: uppercase;
}

h4 {
    font-family: 'PT Sans Narrow', sans-serif;
    color: #fff;
    font-size: 1.33em;
    margin: 0;
    text-transform: uppercase;
    text-align: left;
    background-color: #268255;
    border-bottom: #095932 3px solid;
    padding: 3px 0 3px 25px;
    letter-spacing: 1px;
}


body {
    font-family: 'PT Sans', sans-serif;
}

p {
    font-size: 1.3em;
}

html {
    background: #575757;
}

.global-footer {
    background: #575757 url(../images/california/footer-background.jpg) center repeat;
}


.main-navigation {
    background: #156746;
    border-bottom: 4px solid #31574a;
}

    .main-navigation > ul > li a.first-level-link:hover {
        background: #288760;
        text-shadow: none;
        color: #FECC67;
    }

    .main-navigation > ul > li a.first-level-link {
        color: #DAEFE8;
        font-weight: 500;
        font-size: 1.1em;
    }


.mobile-controls {
    background: #117b50 url(../images/california/header-background.jpg) repeat-y center top;
}

.header-organization-banner img {
    max-height: 80%;
}

.advance-buttons {
    text-align: center;
    padding: 20px;
}

.csv-link {
    padding: 15px;
    text-align: center;
    background: #FFF url(../images/california/box_background.png) repeat;
    font-weight: bold;
    font-family: PT Sans;
    position: relative;
    border: 1px solid #aaa;
}




@media (min-width: 768px) { /*  --------------------------------------- MIN 768px */


    .global-header {
        background: #117b50 url(../images/california/header-background.jpg) repeat center top;
    }
}



@media (max-width: 991px) { /*  --------------------------------------- MAX 991px */

    .panel .panel-body.add_side_padding_glance {
        padding: 0px 0px 0px 10%;
    }
}


@media (min-width: 992px) { /*  --------------------------------------- MIN 992px */

    .add_side_padding_glance {
        padding: 5% 0 5% 25%;
    }
}


@media (min-width: 1280px) { /*  --------------------------------------- MIN 1280px */

    .add_side_padding_glance {
        padding: 5% 0 5% 10%;
    }
}


@media (min-width: 768px) { /*  --------------------------------------- MIN 768px */

    #carosel-stuff {
        min-height: 245px;
        border-bottom: 8px solid #156746;
    }


    .header-slideshow-banner  {
         position:  initial;
    }

    .header-organization-banner img  {
        max-height:  130%;
    }

    .header-slideshow-banner  {
         position:  initial;
        display:  block;
    }
}

.description li {
    font-size: 1.3em;
}

.description p {
    font-size: 1.3em;
}


.featured-banner-orange {
    position: relative;
    padding: 30px 20px 30px 15px;
    margin: 15px 0 5px -15px;
    min-height: 236px;
    float: left;
    border-bottom: 8px #B44A49 solid;
    background: #FEBB45 url(../images/header_background.png) repeat;
}

.featured-banner-orange-symbol {
    position: absolute;
    width: 209px;
    height: 189px;
    bottom: 0;
    background-image: url(../images/energy-symbol.png);
}

.featured-banner-title {
    font-family: 'PT Sans Narrow Bold', sans-serif;
    font-weight: 100;
    text-transform: uppercase;
    color: #000;
    font-size: 1.8em;
    line-height: 1.1em;
    text-align: right;
    position: relative;
    vertical-align: middle;
}

.global-footer ul li a {
    background-color: #3f3e3e;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

a.skip {
    left: -999px;
    position: absolute;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: -999;
}

a.skip:focus, a.skip:active {
        color: #fff;
        background-color: #000;
        left: auto;
        top: auto;
        width: 30%;
        height: auto;
        overflow: auto;
        margin: 10px 35%;
        padding: 5px;
        border-radius: 15px;
        border: 4px solid yellow;
        text-align: center;
        font-size: 1.2em;
        z-index: 999;
    }
