/*!
 * Bootstrap v3.0.2 by @fat and @mdo
 * Copyright 2013 Twitter, Inc.
 * Licensed under http://www.apache.org/licenses/LICENSE-2.0
 *
 * Designed and built with all the love in the world by @mdo and @fat.
 */

 /* Last Updated: 4/29/2024 GR - added line 23 */


/* Optional Accent Fonts */
@import url('https://fonts.googleapis.com/css?family=Lato&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Serif+Pro:ital@1&display=swap'); 

:root {
    --secondary-color: rgb(120, 21, 24);
    --accent-color: #45A0A3;
    --rgba-color: rgba(0, 0, 0, 0.3);
}
/*  Page Content Wrapper Fixes mobile and desktop pages that werent filling the screen */
#page-content-wrapper { 
    width: 100% !important;
}
.banner-header {
    width: 500px;
}

.site-footer {
    background: rgb(120, 21, 24) !important;
}


/* Homepage */
.featured-top {
    margin-top: 0px;
}

.alert-blk {
    top: 0px !important;
}

a:link,
a:visited,
a:active {
    font-decoration: none;
}

.banner-header {
    top: 20% !important;
    z-index: 10;
}

/*Nav Hambuger Menu*/

div#nav-icon {
    width: 40px;
}

div#sidebar-wrapper {
    background: rgb(120, 21, 24);
}

.toggled .navbar-brand {
    width: 280px;
    display: none;
}

.navbar-brand {
    width: 280px;
    position: absolute;
    display: none;
}

.field--type-image {
    text-align: center !important;

}

#sidebar_first.fixed>aside {
    position: sticky !important;
}

.flexslider {
    border: 0 !important;
}


#block-featurednews::before {
    background: url(/sites/sd12.senate.ca.gov/files/website/featured_news.png) no-repeat left center;
}

#block-latestvideotitle::before {
    background: url(/sites/sd12.senate.ca.gov/files/website/video.png) no-repeat left center;
}

#block-pressreleasetitle::before {
    background: url(/sites/sd12.senate.ca.gov/files/website/press_releases.png) no-repeat left center;
}

#block-resourcestitle::before {
    background: url(/sites/sd12.senate.ca.gov/files/website/resources.png) no-repeat left center;
}

#block-city-featurestitle::before {
    background: url(/sites/sd20.senate.ca.gov/files/website/sd20_city_features.png) no-repeat left center;
}

#block-contactus::before {
    background: url(/sites/sd12.senate.ca.gov/files/website/contact.png) no-repeat left center;
}

.flexslider .slides .views-field-field-feature-image::before {
    mix-blend-mode: darken;
}

#block-featurednews,
#block-latestvideotitle,
#block-pressreleasetitle,
#block-resourcestitle,
#block-cityfeaturestitle,
#block-contactus {
    position: relative;
    height: 80px;
    padding-left: 10px;
    margin-bottom: 20px;
}

#block-featurednews::before,
#block-latestvideotitle::before,
#block-pressreleasetitle::before,
#block-resourcestitle::before,
#block-cityfeaturestitle::before,
#block-contactus::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: contain;
    opacity: 0.15;
}

#block-contactblock {
    margin: 80px 0px 40px;
}

#intro-container .row,
.region-featured-bottom-first,
.region-featured-bottom-second {
    align-items: center;
}


#block-featurednews h2,
#block-featuredvideo h2,
#block-latestvideotitle h2,
#block-pressreleasetitle h2,
#block-resourcestitle h2,
#block-contactus h2 {
    position: absolute;
    color: var(--accent-color);
    padding-left: 16px;
    margin-top: 24px !important;
    font-family: var(--subhead-font);
    font-weight: var(--head-weight);
    text-transform: capitalize;
    border-left: 4px solid var(--accent-color);
}


/* This is for the newsletter H1 and date/time*/
#block-senate-ux-v3-page-title h1 {
    text-align: left;
}

.field--name-taxonomy-vocabulary-2,
.views-field-taxonomy-vocabulary-2,
#main-wrapper .views-field-field-pubdate,
#main-wrapper .field--name-field-pubdate,
#main-wrapper .datetime {
    text-align: left;
}

@media (max-width: 991px) {

    .block-views>h2 {
        text-align: left;
    }

    .senator-img {
        right: 5% !important;
        margin: 20px 0px !important;
        width: 50% !important;
        right: 4%;
    }
}

@media (max-width: 767px) {

    #block-featurednews,
    #block-latestvideotitle,
    #block-pressreleasetitle,
    #block-resourcestitle,
    #block-contactus {
        background-size: cover;
    }

    .region-featured-top .social-blk {
        display: none;
    }

    .alert-blk {
        top: -60px !important;
    }

    #menu-toggle {
        left: 20px;
    }

    .banner-header {
        width: 400px;
        margin: 0 auto !important;
    }

    #bg-video {
        display: none;
    }

    .navbar-nav {
        padding: 0px 0px !important;
    }

    .navbar-expand-lg {
        padding-top: 100px !important;
    }

    #sidebar_first {
        position: static !important;
    }
}


footer,
.container-fluid.copyright {
    background: rgba(120, 21, 24, .95) !important;
}