/*!
 * 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.
 * AL updated 10/17 @ 11:36AM
 */


/* 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: #213243;
  --accent-color: #f5a705;
  --rgba-color: rgba(33,50,67,0.8);
}

.resources .row > * {
    margin: 0px auto;
    padding: 12px;
}

/* Homepage */
.featured-top {
    margin-top: 0px;
}

#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-contactus::before {
    background: url(/sites/sd12.senate.ca.gov/files/website/contact.png) no-repeat left center;
}

#block-featurednews,
#block-latestvideotitle,
#block-pressreleasetitle,
#block-resourcestitle,
#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-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);
}

@media (max-width: 767px) {
    #block-featurednews,
    #block-latestvideotitle,
    #block-pressreleasetitle,
    #block-resourcestitle,
    #block-contactus {
        background-size: cover;
    }
}
