@charset "utf-8";
/* CSS Document - Custom styles in preperation for v6.x*/


/*------------------------------------*\
    State Template v6.x General Structure
\*------------------------------------*/
/* Header */
.utility-header .settings-links{
    padding-top: 4px;
}
.branding .header-organization-banner a .logo-assets .logo-img{
	height: auto;
	max-width: 100%;
}
.branding .header-organization-banner{
	max-height: 89px;
}
a.second-level-link {
	display: block;
}
.full-width-nav .main-navigation {
	min-height: 52px;
}

/* Footer */
.executive-profile .executive-name{
	font-size: 1.2rem;
}
.address-container {
    display: flex; 
    align-items: center; 
    margin-bottom: 20px; 
}

#footer-widgets .ca-gov-icon-map {
    font-size: 24px; 
    margin-right: 20px; 
}

.address-text {
    display: inline-block; 
    line-height: 1.5; 
}

#footer-widgets .iframe-container{
	min-height: 250px;
    overflow: hidden;
}

#footer-widgets a{
	color: #EEF8FB;
}

/* Language Resources  */
.section-language{
	background-color: #5B616A;
	padding: 12px !important;
}
#language-nav {
	font-size: 16px;
	margin: 0;
	padding: 0;
}

#language-nav ul {
	display: flex;
	list-style: none;
	padding: 0;
	margin: 0;
	flex-wrap: wrap;
}

#language-nav ul li {
	margin: 0 10px;
}

#language-nav ul li:first-of-type {
	margin-left: 0;
}

#language-nav span {
	font-weight: bold;
	color: white;
	float: left;
    margin-right: 16px;
}

#language-nav a {
	color: #FFFFFF;
	text-decoration: none;
}

#language-nav a:hover {
	text-decoration: underline;
}

#language-nav .separator {
	margin: 0 10px;
	color: #FFFFFF;
}

/* Fixes Accessibility  */
textarea.g-recaptcha-response {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    height: 1px !important;
    width: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}


/*------------------------------------*\
    Helper Classes
\*------------------------------------*/
.border-radius-4{
    border-radius: 4px;
}
.border-radius-8{
    border-radius: 8px;
}
.border-radius-12{
    border-radius: 12px;
}
.border-radius-16{
    border-radius: 16px;
}



/*------------------------------------*\
    CA State Template Component Fixes
\*------------------------------------*/
cagov-accordion details{
    margin-top: 0 !important;
}

.icon-link{
    flex-direction: column;
}

/* .external-link-icon{
    display: none;
} */

/* Sidebar Navigation */
.list-navigation,.side-nav ul {
    margin-left: 0;
    padding-left: 0;
    margin-bottom: 0;
}

.side-nav ul li {
    list-style: none;
    margin: 0;
    font-size: 1rem;
    padding-left: 0;
}

.side-nav ul li a {
    position: relative;
    display: block;
    text-decoration: none!important;
    color: #5e5e6a;
    padding-bottom: 0.7rem;
    padding-top: 0.7rem;
    padding-left: .5rem;
    border-bottom: 1px solid #f3f3f4;
}

.side-nav ul li a:hover {
    color: #3b3a48;
}

.side-nav ul li a.active {
    color:#4a4958;
    text-decoration: none;
    background-color: #f3f3f4;
}

.side-nav ul li a.active:hover,
.side-nav ul li a.active:focus {
    color: #000;
    text-decoration: none;
    background-color: #f3f3f4;
}
.list-navigation li a:hover, .list-navigation li a:focus, .side-nav ul li a:hover, .side-nav ul li a:focus {
    background-color: #ededef;
}

.side-nav ul li a.active::before {
    content: "";
    border-left: 3px solid #fdb81e;
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    border-radius: 0;
}
.tab-group .nav-tabs{
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
.tabs ul[role="tablist"] {
    background: #ededef;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
    border: 1px solid #dee2e6;
}

.side-menu ul{
    margin: 0;
    padding: 0;
}
.side-menu ul li{
    list-style: none;
}
.side-menu a.sidenav{
    background-color: #fafafa !important;
    padding-left: .25rem;
}
.side-menu a.sidenav:hover{
    background-color: white !important;
}

.sidebar-widget div.widget_nav_menu{
    background: #fafafa;
    border-radius: 8px;
    position: relative;
    padding: 1.5rem;
    text-decoration: none;
    margin-bottom: 0.5rem;
}
.sidebar-widget ul.side-menu{
    list-style: none;
    margin: 0;
    padding: 0;
    text-decoration: none;
}

/* Fixes contrast issues */
.btn-primary.disabled{
    background-color: #034C6D !important;
}
/*------------------------------------*\
    Custom Components
\*------------------------------------*/
#newsroom-block {
	border-radius: 8px;
	background: rgba(192, 239, 253, 0.4);
	padding: 32px;
	text-align: center;
	margin-bottom: 40px;
	border: solid 1px #c0effd
}

span.badge{
    display: none;
}



/*------------------------------------*\
    Homepage Template
\*------------------------------------*/
.hero-container {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 360px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: white;
    max-width: 1920px; 
    margin: 0 auto; 
}

.homepage-hero-wrapper {
    background: rgba(4, 42, 58, 0.8);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 8px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.homepage-hero-wrapper h1 {
    margin: 0;
    font-size: 1.75rem;
    line-height: 1.3;
}

.homepage-hero-wrapper p {
    margin: 10px 0 20px;
    font-size: 1rem;
}

/* How Do I Block  */
.how-do-i-container {
    display: flex;
    align-items: center;
    background-color: #046B99;
    padding: 1rem 11rem;
    border-radius: 4px;
    color: #fff;
    gap: 1rem;
    flex-wrap: wrap; 
}

.how-do-i-heading {
    font-size: 1.5rem;
    font-weight: 700;
    white-space: nowrap;
    color: #fff;
    margin: 1rem;
}

.how-do-i-label {
    display: block;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.how-do-i-dropdown {
    position: relative;
    flex: 1;
}

.dropdown-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.how-do-i-select {
    width: 100%;
    padding: 0.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    appearance: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background: #fff;
    position: relative;
    z-index: 1;
}

.ca-gov-icon-caret-down.caret {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.57, 0.2, 0.21, 0.89);
    content: "";
    border-style: solid;
    border-width: 0.35rem 0.35rem 0 0.35rem;
    border-color: #046B99 transparent transparent transparent;
    z-index: 1;
}

.ca-gov-icon-caret-down.caret::before {
    content: "3";
    z-index: 1;
    position: absolute;
}

.how-do-i-select:focus + .caret {
    transform: translateY(-50%) rotate(180deg);
}

/* Quick Links */
.quick-link {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.link-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center; 
    height: 100%; 
}

.link-grid::after {
    top: 50%; 
    transform: translateY(-50%);
}

/* Homepage Cards - Highlights & Events */
.card-row {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

.card-row .card {
    flex: 1;
    display: flex;
    flex-direction: column; 
    justify-content: space-between;

}
.highlights-card ul.styled-list{
	margin-left: -10px;
}

.event-row {
    border-bottom: 1px solid #ccc;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.event-row:nth-last-child(-n+2) {
    border-bottom: none; 
}

.event-info h3 {
    margin: 0 0 5px 0;
    font-size: 1em;
    text-align: left;
}

.event-info h3 a {
    text-decoration: none !important;
    color: inherit;
}

.event-info h3 a:hover {
    text-decoration: underline !important;
}

.event-info p {
    margin: 0;
    color: #555;
    font-size: 0.9em;
}

.event-card .all-button {
    margin: 0 auto 20px;
    display: table;
    min-width: 60%;
    text-align: center;
}

#vision-block {
	border-radius: 8px;
	background: rgba(253, 184, 30, 0.10);
	padding: 32px;
	text-align: center;
	border: solid 1px rgba(253, 184, 30, 0.25);
}

#last-modified{
    text-align: right;
    font-size: .8em;
}

/*------------------------------------*\
    Singles Pages
\*------------------------------------*/
.color-primary-dark{
    color: #035275;
}


/* Events Single Page - single-dds-events.php */
.event-wrapper {
    font-family: Arial, sans-serif;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #f9f9f9;
    margin-bottom: 20px;
}

.event-section {
    margin-bottom: 20px;
}

.event-section h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.event-section ul {
    list-style-type: none;
    padding-left: 0;
}

.event-section ul li {
    margin-bottom: 10px;
}

.event-section p {
    font-size: 1em;
    line-height: 1.5;
}

.event-section iframe {
    margin-top: 10px;
    width: 100%;
    max-width: 600px;
    height: 450px;
    border: none;
}
/*------------------------------------*\
    Category Pages
\*------------------------------------*/
.post-group{
    display: flex;
}

/* Event Category - archive-dds-events.php */
#event-category .event-datetime {
    font-size: 14px;
    margin-bottom: 0;
}

#event-category .article-wrapper {
    display: flex;
    align-items: center;
}

#event-category .date-display {
    width: 25%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    height: 100%; 
}

#event-category .date-month {
    font-size: 1.2em;
    font-weight: bold;
}

#event-category .date-day {
    font-size: 2em;
    font-weight: bold;
}

#event-category .post-img {
    width: 100%;
    height: auto;
}

#event-category #toggle-button.btn-primary {
    margin-top: 10px;
}

#event-category .expired {
    opacity: 0.6;
    display: none; 
}

#event-category .toggle-button {
    margin-bottom: 20px;
}

/*------------------------------------*\
    Search Results
\*------------------------------------*/
.parent-badge {
    display: inline-block;
    color: #666;
    padding: 0;
    margin-right: 10px;
    font-size: 0.8em;
}

.highlight {
    background-color: rgba(255, 255, 0, 0.25); 
    font-weight: bold;
}

#search-results article{
	display: contents;
}

#search-results hr{
	margin: 2rem 0;
	color: #999;
}

.article-title a:hover{
	text-decoration: underline !important;
}

/*------------------------------------*\
    Posts
\*------------------------------------*/
.post-img{
	border-radius: 4px;
	width: 100%;
	height: auto;
	object-fit: cover;
	object-position: left center;
    display: block;
	contain-intrinsic-size: revert !important;
	aspect-ratio: 1 / 1;
}


/*------------------------------------*\
    Hero Template
\*------------------------------------*/
.description .full-text {
	display: block;
	overflow: hidden;
	max-height: 0;
	opacity: 0;
	transition: max-height 0.4s ease, opacity 0.3s ease;
}
  
.description.expanded .full-text {
	max-height: 400px;
	opacity: 1;
}
  
.description .short-text::after {
	content: '...';
}

.description .full-text,
.description.expanded .short-text {
	display: none;
}

.description.expanded .full-text,
.description .short-text {
	display: inline;
}

.read-more {
	color: #034e6f;
	cursor: pointer;
	transition: all 0.3s ease-in-out;
	border: none;
	background: transparent;
	text-decoration: underline;
	margin-bottom: 0;
	margin-left: 4px;
}

.read-more:hover {
	text-decoration: underline;
	color: #046B99
}






/*------------------------------------*\
	RC Listings Directory
    TEMPLATE: template-rc-listings.php
	LINK: https://www.dds.ca.gov/rc/listings/
\*------------------------------------*/
.rc-card{
    border: solid 1px #ededef;
    border-radius: 4px;
}
.rc-card figure{
    border: none;
}
.rc-info .btn {
	width: 46%;
	margin: 5px 1%;
}

.rc-info img.rc-logo {
	height: 120px;
	width: auto;
	max-width: 100%;
	margin: 0 auto;
	display: block;
	padding: 10px;
}

h3.rc-title {
	font-size: 1.5rem;
	margin: 0;
	min-height: 60px;
}

.rc-listings-button-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 25px 0;
}

.rc-listings-button-container .btn {
    min-width: 250px;
    font-weight: bold;
    text-align: center;
}

.rc-button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rc-button-group .btn {
    flex: 1 1 auto; 
    min-width: 180px;
    text-align: center;
}

/*------------------------------------*\
	Community Navigator
    TEMPLATE: template-community-navigator.php
	LINK: https://www.dds.ca.gov/rc/disparities/community-navigator-program/family-resource-center-listings/
\*------------------------------------*/
.frc-flex-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    align-items: stretch; 
}

.frc-card {
    display: flex;
    flex-direction: column;
    width: calc(50% - 20px); 
    box-sizing: border-box;
    background: #fff;
    border-radius: 8px;
    border: solid 1px #ededef;
	box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    will-change: transform;
    transform: translateZ(0);
    transition: transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}
.frc-card:hover{
    transform: scale3d(1.01, 1.01, 1);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15); 
}

.frc-card .external-link-icon{
	display: none;
}

.frc-map {
    width: 100%;
    height: 300px;
    border: 1px solid #eee;
    border-radius: 4px;
    margin-bottom: 15px;
}

.frc-card h2 {
    margin-top: 10px;
}

.frc-contact-wrapper {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.frc-address {
    flex: 3; 
    min-width: 300px;
}

.frc-phone {
    flex: 1; 
    min-width: 150px;
}

.frc-service-area {
    width: 100%;
    margin-top: 10px;
	margin-bottom: 20px;
}

.frc-button-container {
    margin-top: auto;
    text-align: center;
}

.frc-button-container .btn {
    width: 100%;
}

/*------------------------------------*\
	Financial Management Service (FMS) Contact List
    TEMPLATE: template-fms-list.php
	LINK: https://www.dds.ca.gov/initiatives/sdp/financial-management-service-contact-list/
\*------------------------------------*/
.resource-centers .card-heading {
	text-align: center;
	padding: 0;
	border-bottom: 0;
}

.resource-centers h2 {
	padding: 15px 10px 5px;
}

.resource-centers .options p{
    margin-bottom: 20px;
}

button.trigger.btn.btn-secondary.active {
	color: #fff;
	background-color: #232930;
	border-color: #232930;
}


/*------------------------------------*\
	NCI Comprehensive Dashboards
    TEMPLATE: template-nci-dashboards.php
	LINK: https://www.dds.ca.gov/rc/nci/nci-interactive-dashboard/families-with-individuals-living-at-home-afs/
\*------------------------------------*/
.hero-img{
    border: solid #FDB81E 4px;
    -webkit-box-shadow: 2px 2px 12px 1px rgba(0,0,0,0.75);
    -moz-box-shadow: 2px 2px 12px 1px rgba(0,0,0,0.75);
    box-shadow: 2px 2px 12px 1px rgba(0,0,0,0.75);
}

/* NCI Dashboard landing pages (e.g. https://www.dds.ca.gov/rc/nci/nci-domain-dashboards/ ) */
.nci-landing-gallery-custom {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	margin-bottom: 1.5em;
}

.nci-landing-gallery-custom-row-1 {
	margin-bottom: 0px !important;
}

.nci-landing-gallery-custom-row-2 {
	margin-bottom: 2.5rem !important;
}

.nci-landing-gallery-custom .nci-gallery-slide-custom {
	margin: 0px !important;
}

.nci-landing-gallery-custom-row-1 .nci-gallery-slide-custom:nth-child(1) {
	border: 10px solid #008080 !important;
}

.nci-landing-gallery-custom-row-1 .nci-gallery-slide-custom:nth-child(2) {
	border: 10px solid #800080 !important;
}

.nci-landing-gallery-custom-row-2 .nci-gallery-slide-custom:nth-child(1) {
	border: 10px solid #BB520C !important;
}

.nci-landing-gallery-custom-row-2 .nci-gallery-slide-custom:nth-child(2) {
	border: 10px solid #323a45 !important;
}

.nci-landing-gallery-custom img {
	border: none !important;
	border-radius: 0px !important;
	padding: 0px !important;
}

.nci-landing-gallery-custom .nci-gallery-title-custom {
	font-size: 18px;
	width: 65%;
	left: 0px !important;
	bottom: 16px !important;
	padding-top: 8px;
	padding-bottom: 8px;
}

.nci-landing-gallery-custom-row-1 .nci-gallery-slide-custom:nth-child(1) a .nci-gallery-title-custom {
	background-color: #008080 !important;
}

.nci-landing-gallery-custom-row-1 .nci-gallery-slide-custom:nth-child(2) a .nci-gallery-title-custom {
	background-color: #800080 !important;
}

.nci-landing-gallery-custom-row-2 .nci-gallery-slide-custom:nth-child(1) a .nci-gallery-title-custom {
	background-color: #BB520C !important;
}

.nci-landing-gallery-custom-row-2 .nci-gallery-slide-custom:nth-child(2) a .nci-gallery-title-custom {
	background-color: #323a45 !important;
}

.nci-gallery-slide-custom {
	position: relative;
	float: left;
	margin: .5em;
	overflow: hidden;
}

.nci-gallery-slide-custom a {
	display: block;
	width: 100%;
}

.nci-gallery-slide-custom img {
	display: block;
	margin: 0;
	padding: 3px;
	border: 1px solid #ccc;
	background: #fff;
	box-sizing: border-box;
	border-radius: 5px;
	box-shadow: none;
	-webkit-transition: all .2s;
	transition: all .2s;
}

.nci-gallery-slide-custom span {
	position: absolute;
	left: 4px;
	bottom: 4px;
	right: 4px;
	display: block;
	padding: 2px 4px;
	font-size: 12px;
	color: #fff;
	background: #000;
	background: rgba(0, 0, 0, .5);
	opacity: 1;
	line-height: 1.3;
	-webkit-transition: all .2s;
	transition: all .2s;
}




@media (max-width: 768px) {
	/* Homepage */
    .hompage-hero-wrapper {
        padding: 20px;
        backdrop-filter: none;
        background: rgba(4, 42, 58, 0.9);
    }

    .hompage-hero-wrapper h1 {
        font-size: 1.25rem;
    }

    .hompage-hero-wrapper p {
        font-size: 0.9rem;
    }
    
    .how-do-i-container {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .how-do-i-heading {
        margin-bottom: 0.5rem;
    }

	.card-row {
        flex-direction: column;
    }
    .frc-card {
        width: 100%;
    }
}

@media(min-width: 992px) {
	/* Header */
	.branding .header-organization-banner img{
		max-height: unset;
	}
	.full-width-nav .featured-search{
		top: -66px !important;
	}

    /* FMS Sticky Button */
    .sticky-buttons {
        position: sticky;
        top: 146px;
        z-index: 1000;
        background: rgba(255, 255, 255, .7);
        backdrop-filter: blur(8px);
        padding: 12px 12px 4px;
        border: solid 1px #ccc;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
    }
}

@media(min-width: 1920px) {
    .hero-container::before,
    .hero-container::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 100px; 
        pointer-events: none; 
        z-index: 1;
    }

    .hero-container::before {
        left: 0;
        background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(0, 0, 0, 0));
    }

    .hero-container::after {
        right: 0;
        background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(0, 0, 0, 0));
    }
}
