/* Main Typography and Layout Styles - Sitewide
 **************************************************************************/

body {
    color: #333;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
    line-height: 1.42857;
    background-color: #f5f5f5;
    font-size: 16px;
    min-height: 800px;
}

body .section-body {
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 40px;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    color: #555;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    line-height: 1.1;
}

h1, .h1 {
    font-size: 44px;
    font-weight: 300;
    letter-spacing: -0.1px;
    color: #276796;
}

h2, .h2 {
    font-size: 30px;
}

h3, .h3 {
    font-size: 20px;
    font-weight: 600;
}

p {
    margin: 0 0 11px;
}

a:hover, a:active {
	     text-decoration: none;
	 }


h2 a#_dg_incentive {
    color: #333;
}

code {
    color: black;
}

/* Mobile Responsive
 **************************************************************************/

@media only screen and (max-width: 1080px){

    .sitename {
        display: none;
    }

    .navbar-collapse ul li a {
        padding: 0;
        margin: 0;
        font-size: 16px;
        font-weight: 500;
    }

    .nav-tabs.nav-justified > li > a {
        text-align: right;
    }

    ul.navbar-nav {
        margin-right: -2%;
    }

    .navbar-nav, .navbar-form .input-group {
        padding-left: 30px;
    }

    #top-search .navbar-form {
        margin-left: auto;
        margin-right: auto;
    }

    #top-search .navbar-form .input-group {
        padding-left: 0;
    }

    .nav-tabs > li {
        float: none;
    }

    .navbar-toggle {
        border: 2px solid #e0e0e0;
        padding: 7px;
    }

    .navbar-toggle .icon-bar {
        background-color: #046b99;
    }

    .navbar .navbar-collapse #global-nav {
        padding-left: 2px;
    }

}

/* Header and Fixed Navigation Bar
 **************************************************************************/

header {
    background-color: #fff;
}

header .navbar {
    margin-bottom: 0;
}

.panel {
    margin-top: 1em;
    background-color: #fff;
}

.utility-header {
    background: #046b99 none repeat scroll 0 0;
    color: #fff;
    padding: 2px;
    line-height: .42;
    font-size: 12px;
}

.utility-header #terms-nav {
    padding: 0;
    margin: 0;
}

.utility-header #terms-nav a {
    color: #fff;
}

.utility-header #terms-nav a:active,
.utility-header #terms-nav a:hover {
    color: #e1e1e1;
}

.utility-header p {
    margin-bottom: 0;
    line-height: .42;
}

.utility-header span {
    padding-right: .5em;
}

.utility-header a {
    color: #fff;
    display: inline-block;
    padding: 5px 0;
}

.utility-header a:active,
.utility-header a:hover {
    color: #e1e1e1;
}

.utility-header .glyphicon {
    line-height: 0.45;
}

.navigation-search {
    border-bottom: 5px solid #fdb81e;
    margin: 0;
    padding: 0;
    background-color: #FFFFFF;
}

.navbar .navbar-nav {
    display: inline-block;
    float: none;
}

.navbar .navbar-collapse {
    text-align: center;
}

.nav-tabs {
    border-bottom: none;
}

.navbar-nav > li > a {
    padding: 15px 30px;
    font-size: 15px;
}

.top-level-nav {
    display: flex;
    table-layout: auto;
    width: 100%;
}

.top-level-nav .nav-item {
    position: static;
}

.top-level-nav .nav-item {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    display: block;
    flex: 1 1 auto;
    margin-top: 0;
    padding: 0 1rem;
    width: auto;
}

.top-level-nav .nav-item > a {
    text-align: center;
}

.first-level-link {
    color: #555;
}

.first-level-link {
    display: block;
    padding: 12px 0;
    white-space: nowrap;
}

.first-level-link {
    color: #555;
}

.nav-tabs.nav-justified > li > a {
    border-bottom: none;
}

.nav-tabs > li > a {
    border: none;
    padding-left: 25px;
    padding-right: 25px;
    margin: 0;
}

.sitename {
    font-size: 18px;
    font-weight: 600;
    margin: 20px auto;
}

.sitename .name-top {
    color: #333;
    padding-left: 1px;
}

.sitename a {
    color: #6a7480;
}

.sitename small {
    font-size: 70%;
    padding-left: 0.5em;
    padding-top: 0.5em;
    position: fixed;
}


/* Secondary Navigation and Fixed Sidebar
 **************************************************************************/

.nav.bs-docs-sidenav li {
    text-align: left;
}

.bs-docs-sidebar .nav .nav > li > a {
    font-size: 12px;
    font-weight: 400;
    padding-bottom: 1px;
    padding-left: 30px;
    padding-top: 1px;
    text-align: left;
}

.bs-docs-sidebar .nav > li > a {
    color: #767676;
    display: block;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2em;
    margin-bottom: 6px;
    padding: 4px 0 4px 20px;
    width: 75%;
}

.bs-docs-sidebar .nav > .active:focus > a,
.bs-docs-sidebar .nav > .active:hover > a,
.bs-docs-sidebar .nav > .active > a {
    background-color: transparent;
    border-left: 3px solid #046b99;
    color: #046b99;
    font-weight: 700;
    padding-left: 17px;
}

.bs-docs-sidebar .nav .nav > .active:focus > a, .bs-docs-sidebar .nav .nav > .active:hover > a, .bs-docs-sidebar .nav .nav > .active > a {
    font-weight: 500;
    padding-left: 27px;
}

.sidenav-dgstats {
    margin-left: 0;
    margin-top: 20px;
}


/* Home Page
 **************************************************************************/

#home-updates, #home-about {
    padding: 0 30px;
}

#ca-leads-nation {
    color: #333;
    font-weight: 400;
}

#ca-leads-nation .lead {
  font-weight: 400;
}

#ca-leads-nation h2 {
    color: #333;
    font-size: 36px;
    font-weight: 600;
    margin-top: 0;
}

#low-income {
    color: #333;
    font-weight: 400;
}

#low-income .lead {
  font-weight: 400;
}

#low-income h2 {
    color: #333;
    font-size: 36px;
    font-weight: 600;
    margin-top: 0;
}

#csi {
    color: #333;
    font-weight: 400;
}

#csi .lead {
  font-weight: 400;
}

#csi h2 {
    color: #333;
    font-size: 36px;
    font-weight: 600;
    margin-top: 0;
}

.main-content {
    background: #fff none repeat scroll 0 0;
    min-height: 400px;
}

.jumbotron {
    background-color: #fdfdfd;
    padding-bottom: 10px;
    padding-top: 10px;
    margin-top: 40px;
    opacity: .9;
    border-radius: 6px;
}

.section {
    background: #fff none repeat scroll 0 0;
    overflow: hidden;
    padding-bottom: 65px;
    padding-top: 50px;
    /*position: relative;*/
}

.section-chart {
    background-image: url("../images/enrg_img_1400_residential-instal.cd625a5cf417.jpg");
    background-size: cover;
    height: 719px;
    opacity: .75;
    margin-top: 30px;
}

.highcharts-background {
    opacity: .75;
}

.section-primary, .card-primary {
    background: #046b99 none repeat scroll 0 0;
    color: #fff;
}

.section-primary h2 {
    color: #fff;
}

.section-primary input {
    text-align: center;
    color: #555;
}

.section-inverted h2 {
    color: #9fdbf1;
}

.section-inverted, .card-inverted {
    background: #323a45 none repeat scroll 0 0;
    color: #fff;
}

.faqHeader {
    font-size: 20px;
    font-weight: 600;
    padding-top: 20px;
}

h3.panel-title {
    font-weight: 300;
}

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

.collapse, .navbar-collapse, .navbar-ex1-collapse {
    background-color: #fff;
}

.container-white {
    background-color: #fff;
    padding: 30px;
    padding-bottom: 4em;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

#fg_find {
    margin-top: 20px;
}

.navbar-form {
    padding: 20px 0;
}

/* Footer
 **************************************************************************/

.section-bottom img.site-sponsors {
    max-width: 230px;
    display: inline-block;
    padding: 0 2em;
}

footer {
    background: #444 none repeat scroll 0 0;
    color: #fff;
    padding-bottom: 40px;
    padding-top: 40px;
}

#cdgs-footer li {
    padding-right: 20px;
}

#cdgs-footer li a {
    color: #9fdbf1;
    font-weight: 300;
}

#cdgs-footer li a:active, #cdgs-footer li a:hover {
    color: #337ab7;
    font-weight: 300;
}

.section-bottom {
    background: #f5f5f5 none repeat scroll 0 0;
}

#es-built small {
    font-size: 75%;
    font-weight: 300;
}

#terms-nav li a {
    font-size: 12px;
    color: #e1e1e1;
}

#terms-nav li a:active,
#terms-nav li a:hover {
    color: #fff;
}

/* Page Title Headings
 **************************************************************************/

.page-header h1 {
    color: #276796;
    margin-bottom: 0;
    padding-bottom: 0;
    margin-top: 75px;
}

.container.page-title {
    background-color: #fff;
}



/* Find an Installer
 **************************************************************************/

#no-results {
    margin-top: 30px;
}

.container-white hr {
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Download Data & CA Programs
 **************************************************************************/

.timestamp {
    padding-left: 1.75em;
}

.slug-body {
    padding-bottom: 10px;
    border-bottom: 1px solid #e8e8e8;
}

.slug-body h4 {
    font-weight: 600;
    color: #777;
}

.slug-body div {
    color: #337ab7;
    padding-right: 2px;
}

.slug-body div a {
    padding-left: 4px;
}

.section-body .well {
    margin-bottom: 3em;
}

.section-body h3 a.anchors {
    top: 360px;
}

a.anchor_links_top {
    display: block;
    position: relative;
    top: -140px;
    visibility: hidden;
}

a.anchor_links {
    display: block;
    position: relative;
    top: -145px;
    visibility: hidden;
}

ul#itron-data {
    padding-left: 0;
}

ul#itron-data li {
    padding-right: 20px;
    padding-bottom: .5em;
}

ul#itron-data li a {
    font-size: 18px;
}

ul#itron-data li a span {
    padding-right: 2px;
}

/* Stats and Charts
 **************************************************************************/

#row_quadrant12 {
    padding-bottom: 40px;
}

#row_quadrant34 {
    padding-top: 40px;
    padding-bottom: 50px;
}

.footnotes {
    font-size: 14px;
    margin-left: 3em;
    margin-right: 3em;
    text-indent: -0.5em;
}

#selectors #data_filter {
    border: 1px solid #f1f1f1;
    background-color: #fdfdfd;
    padding-bottom: 10px;
    padding-top: 10px;
    text-align: center;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

#row_quadrant12, #row_quadrant34 {
    border: 1px solid #f1f1f1;
    background-color: #fdfdfd;
}

#row_quadrant12 {
    border-bottom: none;
    -webkit-border-top-left-radius: 2px;
    -webkit-border-top-right-radius: 2px;
    -moz-border-radius-topleft: 2px;
    -moz-border-radius-topright: 2px;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
}

#row_quadrant34 {
    border-top: none;
    padding-bottom: 40px;
    -webkit-border-bottom-right-radius: 2px;
    -webkit-border-bottom-left-radius: 2px;
    -moz-border-radius-bottomright: 2px;
    -moz-border-radius-bottomleft: 2px;
    border-bottom-right-radius: 2px;
    border-bottom-left-radius: 2px;
}

.noicon {
    color:red;
}

.installer_icon{
    background-image: url("../images/enrg_cadg_find-installer.81b184462e52.svg");
    background-repeat: no-repeat;
    background-position: center top;
}

.download_icon{
    background-image: url("../images/enrg_cadg_download.450cd1127c6a.svg");
    background-repeat: no-repeat;
}

.stats_icon{
    background-image: url("../images/enrg_cadg_stats.61adf66de4c4.svg");
    background-repeat: no-repeat;
}

.programs_icon{
    background-image: url("../images/enrg_cadg_ca-prog.e831b92d6994.svg");
    background-repeat: no-repeat;
}

.faqs_icon{
    background-image: url("../images/enrg_cadg_faq.82594806c694.svg");
    background-repeat: no-repeat;
}

.icons{
    width: 48px;
    height: 48px;
}

.icons:hover {
    color: #046b99;
}

a.anchors {
    display: block;
    position: relative;
}

.navshort{
    color: #b6b6b6;
    font-size: 120pt;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    left: 600px;
    top: 0px;
}

.pad-bottom-nav{
    padding-bottom: 10px;
}

.strong_font_weight {
    font-weight: 400;
}

.container-white-tos{
    padding-top: 50px;
}

/** Helps with the mobile experience **/
@media (max-width: 1080px) {
    .bs-docs-sidebar {
        display: none;
    }
    #row_quadrant12 {
        margin-top: 25px;
        display: block
    }
    #row_quadrant34_nem {
        padding-top: 539px;
        height: auto;
        display: block;
    }
    #row_quadrant34_csi {
        padding-top: 487px;
        height: auto;
        display: block;
    }
    #row_quadrant34_li {
        padding-top: 84px;
        height: auto;
        display: block;
    }
    .container-white {
        height: 2800px; /** a bit hacky but it resolves an overflow issue 2016-08-31 **/
    }
    .container-white-tos{
        height: 15000px;
    }

    .navfix {
	height: 0;
    }

    .section #inner-container-primary {
        padding: 20px 10px;
    }

    .section #inner-container-primary #fg_find {
        margin-bottom: 4em;
    }

    a.first-level-link .icons {
        display: none;
    }

    .navbar-collapse ul li a {
        line-height: 16px;
        text-align: right;
    }

    #top-search {
        display: none;
    }

    #row-quadrant34 {
        padding-top: 30em;
    }

    .mobile_padding{
        padding-top: 435px;
    }

    .chart_container_mobile {
        height: 3380px;
    }

    .chart_container_mobile_dl {
        height: 6300px;
    }

    .chart_container_mobile_prog {
        height: 7500px;
    }

    .mobile_spacing_fix {
        padding-bottom: 40px;
    }

    #title_table {
    font-size: 6px;
    }
}

#watermark {
    color: #b6b6b6;
    font-size: 120pt;
    height: 100%;
    left: 600px;
    margin: 0;
    position: fixed;
    top: 0;
    transform: rotate(-45deg);
    width: 100%;
}

body  {padding-top: 40px;}

@media screen and (max-width: 768px) {
    body { padding-top: 0px; }
}

@media only screen and (max-width: 330px){
    .utility-header{
        width:320px;
    }

    .navbar-header{
        width:310px;
    }
}

ul.nav-stacked {
    top: 240px;
}

.bs_gray {
    color: #777;
}


/*Fixes sidebar issue on Safari browsers below version 10*/
.safari_fix_sidebar {
    margin-left:77%;
}

.safari_fix_content {
    width: 100%;
    padding-left: 28% !important;
}

/*Overriding Bootrapps tabs*/
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    color: #555;
    cursor: default;
    border: 1px solid #f1f1f1;
    border-bottom-color: transparent;
    background-color: #fdfdfd;
}

.chart_nav_tab > li > a {
    border:  1px solid #f1f1f1;
    padding-left: 25px;
    padding-right: 25px;
    margin: 0;
}

.top_padding {
    padding-top: 35px;
    padding-bottom: 40px;
}

.code {
    font-family: monospace;
    white-space: pre;
}

.no_r_padding{
    padding: 8px 0 8px 8px !important;

}

.no_l_padding{
    padding: 8px 8px 8px 0 !important;;
}

.footnotes > h3{
    margin-top: 0px;
}

.carousel{
    padding-top: 25px;
}
