/*!
 * 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 Wed 9/18 3:31 PM – Code commented out due to excessive margin on desktop nav
 */


/* 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 {
    --accent-color: #f5a705;
}

@media (max-width:767px) {
    .row-offcanvas {
        flex-direction: column;
    }
}

#block-sub-ux-v4-twitterfeed .content {
    height: auto;
}

.senator-blk {
    height: 446px;
}

.senator-img {
    height: 100%;
    padding: 0px;
}

.senator-img img {
    height: 100%;
    object-fit: cover;
    object-position: 70% 50%;
}

.senator-blk .senator-info {
    padding: 40px;
}

.bottom-nav-item {
    margin: 0px !important;
}

.item {
    height: 154px !important;
}

.navbar-brand img {
    max-height: 70px !important;
}

.item:before {
    background: #2a83bd !important;
}

/* Control the size of the Nav logo */
.nav-bar img {
    max-height: 70px !important;
}


/* Adds blue Gradient to navbar background */
.navbar-expand-lg {
    background: linear-gradient(180deg, #061f47, #0d3d63) !important;
}

/* Nav Dropdown */
.navbar-expand-lg .navbar-nav .nav-item .dropdown-menu {
    background: linear-gradient(180deg, #061f47, #0d3d63) !important;
}

item:hover {
    color: #f5a705 !important;
}

.navbar-collapse.collapse {
    width: 100%;
    justify-content: flex-end !important;
}

/* Code commented out due to excessive margin on desktop nav */
/* .navbar-nav {
    margin-bottom: 120px !important;
} */ 

/* styles the 'sign up for newsletter' social media bar */
/* makes the icon sit in a row */
.newsletter-socialbar {
    display: flex;
    flex-direction: row;
    justify-content: center
}


.newsletter-socialbar>li>a {
    color: #000;
}

/* Ends the newsletter social media bar */


.navbar-default .navbar-nav>li>a {
    color: #000;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 40px 8px;
}

.teaser-wrapper {
    position: initial !important;
}

.field--name-field-front-image {
    text-align: center;
}

/*style for webform */
/* adds some spacing for elements such as labels and form boxes of the webforms when using the date/time selector and also a single checkbox" */
.js-form-type-webform-time,
.form-check-label,
.webform-element-description {
    margin-left: 20px;
}

.featured-bottom .region-featured-bottom-first {
    display: flex;
    flex-direction: column;

}

.view-content .row {
    display: flex;
    flex-direction: column;
}

/* to style the form boxes to add some height */
.form-control {
    height: 40px;
}

/* make the form submit text in black */
legend {
    text-transform: inherit;
    margin: 20px auto 10px !important
}

.js-form-submit {
    color: #000;
}

.webform-header-section>legend:first-child {
    color: #fff;
    background-color: #0d3d63 !important;
    border: 1px solid #ddd;
    margin: 10px auto 0px;
    padding: 12px 20px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.fieldset-legend {
    font-size: 1.6rem;
    font-weight: 700;
    font-family: montserrat, sans-serif;
}

.fieldset-wrapper {
    padding: 10px 15px 20px 20px;
    border-color: #ddd;
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgb(0 0 0 / 5%);
    box-shadow: 0 1px 1px rgb(0 0 0 / 5%);
}

/*End styling for webform */


.bottom-nav-item-content item {
    display: table;
    background: #2a83bd;
    background: var(--third-color);
    color: #fff;
    width: 100%;
    height: 32%;
    margin-bottom: 20px;
    padding: 10px 20px 0px;
    border-radius: 2px;
    -webkit-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    -o-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
}

.bottom-nav-item-content item h4,
.bottom-nav-item-content item a {
    color: #fff;
}

.bottom-nav-item-content item:hover {
    background: var(--accent-color);
}


.item:after {
    background: #ebb86f !important;
}

.item a:hover {
    color: #08264d !important;
}

.item a {
    color: #fff !important;
}

@media (max-width: 991px) {
    .bottom-nav {

        max-height: 8% !important;
    }

    .region-footer-second {
        padding-left: 0px !important;
        border-left: 0px;
    }

    .site-footer .content ol:not(.menu),
    .site-footer .content ul:not(.menu) {
        padding-left: 0;
        /* LTR */
    }
    /* Makes sure that users can access links in mobile menu */
    .mainMenu {
        overflow-y: scroll;
    }

    .mainMenu>nav {
        margin-bottom: 40px !important;
    }

    /* makes overflow scroll transparent */
    .mainMenu::-webkit-scrollbar {
        width: 6px;
        background-color: transparent;
    }
}