/* if double banner image */
.primary-image ~ .banner-image-container {
    display: none !important;
}
.title-banner.without-image .text-container h1 {
    color: #000 !important;
}
/* use this instead of their scss files */
.blog-teaser-heading h6 {
    text-transform: uppercase;
}
.circle-triangle-icon-resp {
    position: relative;
}
.landing-card-wrapper {
    height: 100%;
    border: 1px solid #CBCBCB;
    display: block;
    color: black;
    padding-bottom: 1rem;
    text-align: center;
}
.circle-triangle-icon-resp:before {
    display: inline-block;
    position: absolute;
    content: '';
    top: 0;
    right: -30px;
    width: 20px;
    height: 20px;
    background-color: black;
    border-radius: 50%;
}
.circle-triangle-icon-resp:after {
    position: absolute;
    content: '';
    top: 3px;
    right: -25px;
    height: 0;
    width: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 7px solid white;
}
/*  */
.card-style-yellow .landing-top img {
    min-height: 450px;
    object-fit: cover;
}
.node--type-blog.node--view-mode-card .field--name-field-name,
.paragraph--type-image-grid .field--name-field-name {
  display: none;
}
.paragraph-2-col-wrapper .card-style-white .landing-card-wrapper {
    padding-bottom: 0;
    margin-bottom: 0;
    border: none;
}
.banner img {
    object-fit: cover;
}
.landing-top img {
    width: 100%;
    height: auto;
}
.landing-card-wrapper.node--view-mode-card {
    border: none;
    margin-bottom: 0;
    padding-bottom: 0;
}


/* NEW Main Navigation */

#navbar-main #block-cspf-main-menu .main-nav .main-nav-item:after {
	position: absolute;
	content: "";
	bottom: 35%;
	left: -10%;
	background-color: #FCB822;
	clip-path: circle(14% at 15% 85%);
	z-index: -1;
}

#navbar-main #block-cspf-main-menu .main-nav .main-nav-item:hover::after {
	width: 9em;
	height: 8.6875em;
    transition: none;
}

#navbar-main #block-cspf-main-menu .main-nav .main-nav-item {
	position: relative;
	z-index: 10000;
}

#navbar-main #block-cspf-main-menu .main-nav .main-nav-item:hover:first-child::after {
    position: absolute;
	content: "";
	bottom: 35%;
	left: -10%;
    width: 9em;
    height: 9em;
	background-color: #FCB822;
	clip-path: circle(14% at 15% 85%);
	z-index: -1;
}

#navbar-main #block-cspf-main-menu .main-nav .main-nav-item:hover:last-child::after {
    position: absolute;
	content: "";
	bottom: 35%;
	left: -20%;
    width: 9em;
    height: 9em;
	background-color: #FCB822;
	clip-path: circle(14% at 15% 85%);
	z-index: -1;
}

#navbar-main #block-cspf-main-menu .main-nav .main-nav-item.menu-item--active-trail::after {
    position: absolute;
	content: "";
	bottom: 35%;
	left: -10%;
    width: 9em;
    height: 9em;
	background-color: #FCB822;
	clip-path: circle(14% at 15% 85%);
	z-index: -1;
}

#navbar-main #block-cspf-main-menu .main-nav .main-nav-item.menu-item--active-trail:first-child::after {
    position: absolute;
	content: "";
	bottom: 35%;
	left: -10%;
    width: 9em;
    height: 9em;
	background-color: #FCB822;
	clip-path: circle(14% at 15% 85%);
	z-index: -1;
}

#navbar-main #block-cspf-main-menu .main-nav .main-nav-item.menu-item--active-trail:last-child::after {
    position: absolute;
	content: "";
	bottom: 35%;
	left: -20%;
    width: 9em;
    height: 9em;
	background-color: #FCB822;
	clip-path: circle(14% at 15% 85%);
	z-index: -1;
}

#navbar-main.navbar-light .nav-link:hover {
    color: #000;
}

.node-banner {
    border-top: 4px solid black;
}

/* NEW Buttons */
.cspf-btn, .cspf-btn-yellow, #block-donateheader .field--name-field-link a {
	color: #353535 !important;
	background: #FCB822 !important;
	border: 3px solid #FCB822 !important;
	padding: 10px 25px !important;
    font-family: 'Rubik-Bold', sans-serif;
    text-decoration: none;
    font-size: 16px !important;
    line-height: 1.8;
    text-align: center;
    letter-spacing: 0;
}

.cspf-btn:hover, .cspf-btn-yellow:hover, #block-donateheader .field--name-field-link a:hover {
    color: #FCB822 !important;
	background: transparent !important;
	border: 3px solid #FCB822 !important;
	transition: 0.3s ease-in-out !important;
}

.cspf-btn:after {
    display: none;
}

.black-btn a {
    color: #fff;
    background: #353535 !important;
    border: 3px solid #353535;
    padding: 20px 40px;
    font-size: 16px;
    font-family: 'Rubik-Bold', sans-serif;
    display: inline-block;
}

.black-btn a:hover {
    color: #353535;
    background: transparent !important;
    border: 3px solid #353535 !important;
    transition: 0.3s ease-in-out !important;
    text-decoration: none !important;
}
.paragraph--type--callout-with-icons .field--name-field-links .field__item .blazy .media{
	display: block !important;
}
.paragraph--type--callout-with-icons .field--name-field-links .field__item .blazy .media img {
    max-height: 100%;
    display: inline-block;
}

/* .field.field--name-field-link.field--type-link.field--label-hidden.field__item a {
    color: #fff;
    background: #353535;
    border: 3px solid #353535;
    padding: 20px 40px;
    font-size: 16px;
    letter-spacing: 0;
    font-family: 'Rubik-Bold', sans-serif;
}

.field.field--name-field-link.field--type-link.field--label-hidden.field__item a:hover {
    color: #353535 !important;
    background: transparent !important;
    border: 3px solid #353535 !important;
    transition: 0.3s ease-in-out !important;
} */

.btn-white {
	color: #353535;
	background: #FFF;
	border: 3px solid #FFF;
	padding: 20px 40px;
}

.btn-white:hover {
	background: transparent;
	border: 3px solid #353535;
	transition: 0.3s ease-in-out;
}

/* New Callout Buttons */
.paragraph--type--callout.button .p-cta-link .field--type-link a:after {
    display: none !important;
}

.paragraph--type--callout.button .p-cta-link .field--type-link a {
    position: relative;
    display: block;
    margin: 0 auto;
    width: auto;
    letter-spacing: 0;
    text-align: center;
    text-decoration: none;
    font-family: Rubik-Bold,sans-serif !important;
    background-color: #FCB822;
    padding: 15px 30px !important;
    font-size: 16px !important;
    color: #353535;
    border: 3px solid #FCB822 !important;
}

.paragraph--type--callout.button .p-cta-link .field--type-link a:hover {
    text-decoration: none;
    color: #353535;
    background: transparent;
    border: 3px solid #fcb822;
    border-bottom: 3px solid #fcb822 !important;
}

.yellow-background .paragraph--type--callout.button .p-cta-link .field--type-link a:hover {
    color: #fff;
    background: #353535 !important;
}

.paragraph--type--callout.box-around-text .text-col .field--name-field-link a:hover {
    color: #fff !important;
    background: #353535 !important;
}

/* Simple Text Banner */
.views-field.views-field-title:after {
    position: absolute;
    content: "";
    bottom: 10%;
    left: -1%;
    right: 10%;
    top: -1%;
    background-color: #FCB822;
    width: 50px;
    height: 50px;
    top: -8px;
    left: -12px;
    border-radius: 100%;
    z-index: -1;
}

@media screen and (min-width: 500px) {
    .views-field.views-field-title:after {
        width: 72px;
        height: 72px;
        top: -14px;
        left: -21px;
    }
}
@media screen and (min-width: 768px) {
    .views-field.views-field-title:after {
        width: 72px;
        height: 72px;
        top: -14px;
        left: -21px;
    }
}

@media screen and (min-width: 992px) {
    .views-field.views-field-title:after {
        width: 100px;
        height: 100px;
        top: -14px;
        left: -24px;
    }
}

@media screen and (min-width: 1200px) {
    .views-field.views-field-title:after {
        width: 134px;
        height: 134px;
        top: -20px;
        left: -24px;
    }
}

/* Footer */
.region-footer h2 {
    text-transform: uppercase;
}

.menu--social ul.nav li a {
    height: 35px;
    width: 35px;
    border-radius: 100%;
    background: #FCB822;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer Bottom Left */
.region-footer-bottom-left {
    display: block !important;
}

div#block-tagline {
    padding-bottom: 20px;
}

.menu--social ul.nav {
    padding-bottom: 60px;
}

/* Footer Bottom Right */
.region-footer-bottom-right {
    justify-content: right;
}

.path-frontpage .views-field.views-field-title::after {
    display: none;
}

BODY {
    max-width: 100vw;
    overflow-x: hidden;
}

/* TITLE BANNER UPDATES */
BODY:not(.path-frontpage) .trapezoid-bottom-cut-sm .title-banner.with-image img{
  clip-path: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
BODY:not(.path-frontpage) .region-node-banner * {
    width: initial;
}
BODY:not(.path-frontpage) .region-node-banner .media--blazy {
    position: unset !important;
}
BODY:not(.path-frontpage) .view-id-node_banner .row .views-row .with-image{
  clip-path: polygon(0 0, 100% 0, 100% 87%, 0% 100%);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100vw;
  padding: 80px 0;
}
BODY:not(.path-frontpage) .view-id-node_banner .row .views-row .views-field-field-banner{
  position: unset;
}




/* b/c of updates */
#views-exposed-form-search-search .flex-wrap {
    flex-wrap: nowrap !important;
    margin-right: -5px;
    margin-left: -5px;
}
#block-search #edit-actions {
    margin-left: 0 !important;
}
#navbar-main ul#block-cspf-main-menu {
    margin-bottom:0 !important;
    max-width: 100% !important;
    width: 100% !important;
}
#block-gtranslate .content::before {
    position: absolute;
    content: "";
    left: -15px;
    width: 15px;
    height: 18px;
    font-size: 0;
    background-image: url(/themes/custom/cspf/images/icons/gtranslate-icon.png);
    background-position: left;
    background-repeat: no-repeat;
    background-size: 15px 15px;
}


/* Admin Toolbar override zIndex */
.toolbar-oriented .toolbar-bar {
    z-index: 50002 !important;
}

/* 4 COL PARAGRAPH */
.paragraph-4-col-wrapper {
  flex-wrap: wrap;
  justify-content: space-between;
}
.flex-item-4 {
  width: 100%;
}
@media screen and (min-width:640px){
	.flex-item-4 {
	  width: 48%;
	}
}
@media screen and (min-width:1170px){
	.flex-item-4 {
	  width: 23%;
	}
}
.paragraph--type--callout .row .col .p-cta-link .field--name-field-link a{
  display: inline-block;
}

/* remove ::after title circle from some views by adding no-title-circle class */
.no-title-circle .views-field.views-field-title:after{
    display: none;
}
/* views exposed filters */
.views-exposed-form select, .views-exposed-form .form-submit {
    height: 40px;
    padding-left: 15px;
    padding-right: 15px
}
.views-exposed-form .form-actions{
    display: flex;
}
.views-exposed-form .form-submit.js-hide{
    display: none;
}
.views-exposed-form .form-submit{
position: relative;
    display: block;
    margin: 0 auto;
    width: auto;
    letter-spacing: 0;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    font-family: Rubik-Bold, sans-serif !important;
    background-color: #FCB822;
    padding: 0 30px !important;
    font-size: 16px !important;
    color: #353535;
    border: 3px solid #FCB822 !important;
    margin-left: .5rem
}

.views-exposed-form .form-submit[data-drupal-selector="edit-reset"] {
    background: none !important;
}
.js-form-item + .js-form-item {
    margin-left: 0.5rem;
}
#block-search #edit-actions #edit-submit-search {
    width: auto !important;
    height: 38px !important;
    background-image: none !important;
    background-color: #FCB822 !important;
}

/* CHUNK TYPE ACTION */
.chunk-action-img {
    margin-bottom: 1rem;
}
.chunk-action-img ~ div {
    padding-left: 10%;
    padding-right: 10%;
}
.chunk-action-type {
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

/* MOBILE FOOTER */
@media (max-width: 992px) {
    .site-footer .site-footer-bottom .site-footer-bottom-left {
        width: 100%;
        margin-bottom: 2rem;
    }
}

body > img { /* HIDE IMG PIXELS BEFORE CLOSING BODY TAG */
    display: none; 
}

/* alert banner */
.banner-alert {
    left: 50%;
    margin-left: -50vw;
    width: 100%;
}

/* hide empty space above homepage hero */
.path-frontpage .view-id-node_banner .views-field-body {
    display: none;
}

/* LEGISLATIVE BILS ENHANCEMENT */
.field--name-field-bill {
	font-family: Rubik-Bold,sans-serif;
	font-size: 1.25rem;
	display: flex;
    gap: .5rem;
}
.field--name-field-bill-subtitle {
	font-family: Rubik-Bold,sans-serif;
	font-size: 1rem;
}
.view-bill-listings .field-name-body *,
.view-bill-listings .field--name-body * {
    font-size: 1rem;
    margin-bottom: 0;
}
.view-bill-listings .field-name-field-link a svg{
	margin-right: .5rem;
}
.view-bill-listings .field-name-field-link a{
	font-family: Rubik-Medium,sans-serif;
	color: #1D2529;
	display: flex;
	gap: .5rem;
}

.view-bill-listings .field-name-field-link a:before {
    content: url(/themes/custom/cspf/images/icon-external-link.svg);
}
.view-bill-listings .field-name-field-link a:hover {
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}
.view-bill-listings .field-name-field-link a:after {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    z-index: 100;
    content: "";
}
.view-bill-listings .bs-region--main, .view-bill-listings .node {
    position: unset;
}

.node--view-mode-active-card .bs-region--main,
.node--view-mode-passed-card .bs-region--main,
.node--view-mode-dead-card .bs-region--main {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.node--view-mode-dead-card .field-name-field-status{
	color: #C80404;
}
.view-bill-listings > .view-content > .views-row {
    border: 4px solid #FBBD3F;
    border-radius: 10px;
    padding: 1.5rem 2rem;
    position: relative;
}
.view-bill-listings.passed-bills > .view-content > .views-row {
	background: #FCF9F1;
}
.view-bill-listings.dead-bills > .view-content > .views-row {
	background: #F6F6F6;
	border-color: rgba(29,37,41,.2)
}
.view-bill-listings {
    margin-top: 1.5rem;
}
.view-bill-listings > .view-content {
    display: grid;
    grid-template-columns: repeat(3, minmax(0px, 1fr));
    gap: 20px;
}
.is-featured .field--name-field-bill:before {
    content: url(/themes/custom/cspf/images/icon-featured-star.svg);
}
.is-signed-into-law:before {
    content: url(/themes/custom/cspf/images/icon-check.svg);
    position: absolute;
    right: 20px;
    top: 20px;
}
.is-did-not-make-it:before {
    content: url(/themes/custom/cspf/images/icon-x.svg);
    position: absolute;
    right: 20px;
    top: 20px;
}
@media screen and (max-width:959px){
	.view-bill-listings > .view-content {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media screen and (max-width:639px){
	.view-bill-listings > .view-content {
		grid-template-columns: repeat(1, minmax(0, 1fr));
	}
}

.paragraph--type--callout-card .field--name-field-image {
    height: auto !important;
}

.button.paragraph .field--name-field-link a:after, .button.paragraph .field--name-field-link a:before {
    display: none;
}

.paragraph--type--callout-card .field--name-field-link {
    display: flex;
    justify-content: center;
}

.button.paragraph--type--callout-card .field--name-field-link a {
    line-height: 1 !important;
    border: 3px solid #fcb822 !important;
    transition: 0.5s ease;
    
}

.button.paragraph--type--callout-card .field--name-field-link a:hover {
    border: 3px solid #fcb822 !important;
    background: transparent !important;
}
.paragraph--type--callout-card {
    border: 4px solid #FBBD3F;
    border-radius: 10px;
    padding: 8% 10%;
}
.paragraph--type--callout-card h3 {
    font-size: 1.25rem;
}
.paragraph--type--callout-card p {
    font-size: 1rem;
}
.paragraph--type--callout-card img {
    border-radius: 5px;
}

/* CENTERED CALLOUT */
.image-is-hidden .col.image-col {
    display: none;
}
.image-is-hidden .col.text-col{
    max-width: 840px;
}
.image-is-hidden > .row{
    justify-content: center;
}
.image-is-hidden .p-cta-link > div{
    justify-content: center;
    display: flex;
}
/* END CENTERED CALLOUT */

/* END LEGISLATIVE BILS ENHANCEMENT */

/* MODAL */
.spb-popup-main-wrapper.spb_top_center {
    width: 100% !important;
    max-width: 600px;
}
/* MODAL */

.submenu a.active:before {
	content: " ";
	width: 30px;
	height: 30px;
	background: #FCB822;
	display: block;
	position: absolute;
	z-index: -1;
	border-radius: 50%;
	left: 9px;
	top: 4px;
}
.submenu a.active {
    position: relative;
}


