/**** Custom Recruiter Styles ****/

.pr-email-list {font-size: 1.2em; color: #b21807;}

/* GOOGLE TRANSLATE */
.skiptranslate iframe {
    min-height: unset;
}
.skiptranslate iframe body {
    background: #fff;
}

#google_translate_element select.goog-te-combo {
    border: none;
    box-shadow: 0 0 3px 0 #00000066;
}

#layout-header-custom {
    display: flex;
    gap: 2rem;
}

#layout-side-nav-logo > img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0px 0px 10px 5px #00000033;
}

#layout-header-logo {
    border-radius: 10px;
    box-shadow: 0px 0px 10px 5px #00000033;
}

#dash-header p {
    color: #f1f1f1;
}
.dash-header_profile-image {
    color: #f1f1f1;
}

/*  Overrides  */
.view-container {
    position: relative;
    margin-bottom: 0; /* Set this to match the height of your footer */
}

ul#side_nav_links li {
    padding: 0.5rem ;
}

esar-side-nav ul#side_nav_links li.active {
    background: var(--header-text-dk);
    border-radius: 5px;
}
esar-side-nav ul#side_nav_links li.active a {
    color: var(--primary-gold) !important;
    font-weight: bold;
}

img#layout-header-logo {
    max-width: 250px;
}

div#layout-side-nav-logo {
    max-width: 150px;
}

.search-highlight {
    background: #FFF !important;
}

/*  Header Styles  */
#erec_main_container[esar-layout] recruiter-header #layout-header-container {
    padding: 0;
}

#erec_main_container[esar-layout] recruiter-header #layout-header-container > div:first-child,
#erec_main_container[esar-layout] recruiter-header #layout-header-container > div#layout-header-custom {
    margin: 1rem 3rem;
}

#erec_main_container[esar-layout] recruiter-header #layout-header-container > div#layout-header-custom {
    justify-self: right;
}

#erec_main_container[esar-layout] recruiter-header #layout-header-container > ul#hdr_nav_links {
    display: flex;
    justify-content: center;
    gap: 0;
    width: 100%;
    margin: 0;
    background-color: var(--primary-color);
    color: #fff;
}

#erec_main_container[esar-layout] recruiter-header #layout-header-container > ul#hdr_nav_links a {
    display: block;
    padding: 0.5rem 2rem;
    color: #fff;
}

#erec_main_container[esar-layout] recruiter-header #layout-header-container > ul#hdr_nav_links li.active a,
#erec_main_container[esar-layout] recruiter-header #layout-header-container > ul#hdr_nav_links li:hover a,
#erec_main_container[esar-layout] recruiter-header #layout-header-container > ul#hdr_nav_links a:hover {
    color: var(--primary-gold) !important;
}

/*.dash-header_profile-image img, #user-settings-container .user-settings_img-container {*/
/*    display: none;*/
/*}*/

#erec_main_container[esar-layout] recruiter-header #layout-header-container > ul#hdr_nav_links a.show-mobile {
    display:none;
}


/*  Landing Page */

.action-buttons {
    display: flex;
    flex-wrap: wrap;
}

.instruction-text {
    color: var(--main-text-lt)
}

.instruction-text li {
    padding-bottom: 12px;
}

#hero {
    flex-direction: row;
}


#hero #hero-image {
    padding: 4rem 0;
}
#hero #hero-image img {
    background: #fff;
    box-shadow: 0px 0px 5px 2px #00000033;
    border-radius: 5px;
}

#hero .bg-superhero {
    margin: auto 0;
}

/* FAQ */
#vol_faq {
    background: #fff;
    height: max-content;
    z-index: 10;
}
#vol_faq .item-list-container {
    /*overflow: unset;*/
}
#vol_faq h4 {
    padding-right: 1.5rem;
}
#vol_faq .faq-section-header {
    padding: 0.25rem;
}
#vol_faq .faq-answer {
    padding-bottom: 0.25rem;
}

/* Login Page */

.login-left-info-panel .form-group {
    margin-bottom: 0.5rem;
}
.login-left-info-panel .login-forgot-pw-link {
    text-align: center;
    font-size: 0.95rem;
}

.login-form:has(#login_button_sso) {
    position: relative;
    margin-bottom: 8rem;
}

.login-form .form-group:has(#login_button_sso):before {
    content: "OR";
    display: block;
    text-align: center;
    font-weight: bold;
    margin-bottom: 2rem;
    background-color: #96c1d1;
    border-radius: 5px;
    color: #333333;
}

.login-form .form-group:has(#login_button_sso) {
    position: absolute;
    width: 100%;
    bottom: -9rem;
}

#login_button_sso {
    font-size: 0;
    text-decoration: none;
}
#login_button_sso::after {
    content: "FCPS Employees";
    font-size: 14px;
}

/* vol_menu */
section:has(div#hero) p,
section:has(div#hero) h1,
section:has(div#hero) h2 {
    color: #fff;
}

section:has(div#hero) h1 {
    font-size: 3rem;
    line-height: 3rem;
    font-weight: 600;
}

section:has(div#hero) h2 {
    font-weight: 500;
}

section:has(div#hero) {
    background-color: var(--primary-color);
}

.welcome-header{
    font-size: 2em;
    font-weight: bold;
    line-height: 1.2em;
    margin: 0 0 10px;
}

.heading-h3{
    font-weight: bold;
    font-size: 1.5em;
    line-height: 1.2em;
    margin-top: 20px;
    margin-bottom: 10px;
}

section:has(div#hero) div#call-to-action {
    display: flex;
    /*align-items: center;*/
    justify-content: end;
    overflow: hidden;
}

section:has(div#hero) div#call-to-action div:first-child {
    position: relative;
    z-index: 2;
    max-width: 900px;
    justify-content: start;
}

section:has(div#hero) div#call-to-action div.hero-gradient {
    background-color: rgba(0, 104, 129, 0.95);
    z-index: 1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    position: absolute;
}

section:has(div#hero) div#call-to-action img.bg-superhero {
    /*height: 95%;*/
    /*margin: 0 auto;*/
    position: absolute;
    inset: 0;
    z-index: 0;
}

div#hero-image > img {
    width: 100%;
    height: 575px;
    object-fit: cover;
}

section:has(div#programs) div.program-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    text-align: center;
}

.main-program-container {
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

a.program-link {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-bottom: 1rem;
}

section:has(div#programs) div.program-card {
    background-color: #fff;
    box-shadow: var(--box-shadow);
    width: 300px;
    /* aspect-ratio: 3 / 1; */
    padding: 5px;
}

section:has(div#programs) div.program-card img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 2/1;
}

/* Workflow */
#workflow-container .no-workflow {
    display: none;
}


/* Report Service Page */

.nav-tabs>li.active>a {
    background: var(--header-text-dk);
    color: #FFF;
}

/* Footer */
footer .l-footer__meta-menu *,
footer .l-footer__meta-address * {
    font-size: 1.125rem;
}

footer #client_footer * {
    transition-duration: 200ms;
    transition-property: background-color, border-color, box-shadow, color, opacity, text-shadow, transform;
    transition-timing-function: linear;
}

footer .l-footer__meta-menu li a:hover {
    color: #d3451e;
}

footer .l-footer__meta-address {
    float: left;
    padding: 0 2.5rem 0 0;
    text-align: right;
    width: 50%;
}

footer .l-footer__meta-address a {
    outline: 2px solid rgba(0, 0, 0, 0);
    outline-offset: 2px;
    background-color: rgba(0, 0, 0, 0);
    border: 0;
    color: #00566b;
    text-decoration: none;
}

footer .l-footer__meta-address img {
    border: 0;
    font-style: italic;
    height: auto;
    max-width: 100%;
    width: 129px;
    vertical-align: middle;
}

footer .l-footer__meta-menu {
    border-left: 1px solid #adadad;
    float: right;
    padding: 0 0 1rem 2.5rem !important;
    text-align: left;
    width: 50%;
}
footer .l-footer__meta-menu .c-menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

footer .l-footer__meta-menu li {
    line-height: 1.4;
    list-style: none;
    margin: 0;
    padding: 0 0 .5rem 0;
}

footer .l-footer__meta-menu li a {
    outline: 2px solid rgba(0, 0, 0, 0);
    outline-offset: 2px;
    background-color: rgba(0, 0, 0, 0);
    border: 0 !important;
    color: #4d4d4d;
    font-size: .875rem;
    text-decoration: none;
}

footer a:hover, a:focus {
    color: #d3451e;
}


/*footer a:not(sam-footer a) {*/
/*    font-size: 1.25rem;*/
/*}*/

/*footer a:hover {*/
/*    text-decoration: none;*/
/*    color: var(--primary-teal);*/
/*}*/

/*footer div#footer-contact span.fc-lg {*/
/*    font-weight: bold;*/
/*}*/

/*footer img {*/
/*    width: 100%;*/
/*    max-width: 200px;*/
/*}*/

footer div#client_footer {
    position: relative;
    /*padding-bottom: 125px;*/
}

footer div#client_footer > *:not(svg) {
    /*position: relative;*/
    /*z-index: 1;*/
}

#client_footer img.footer-background {
    position: absolute;
    bottom: 0;
    overflow: hidden;
    opacity: .15;
}
/*footer li {*/
/*    margin-bottom: 0.5rem;*/
/*}*/






footer #client_footer {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

footer #client_footer ul {
    padding: 0;
}

footer .l-footer__meta-address {
    color: #00566b;
    font-style: normal;
    line-height: 1.4;
    padding: 0;
    text-align: center;
}

footer .l-footer__meta-menu {
    list-style: none;
    margin: 0;
    padding: 0 !important;
    text-align: center;
    border: none;
}






.samaritan-footer {
    background: var(--primary-grey) !important;
    color: #FFF !important;
}
.samaritan-footer a {
	color: #ffffff !important;
}

#clientRegister{
	border-radius: 0;
	color:white;
	padding:20px;
}

#clientRegister a{
	text-decoration: none;
	color:white;
}

/* Breadcrumb Styles */

.breadcrumb > li > a {
  color: #24557F !important;
}

.breadcrumb > .active {
  color: #525252 !important;
}

/* Org Search Overrides */

#org-search .grid {
     overflow: unset;
}

#org-search #org-details {
    display: flex;
    flex-direction: column;
}

#org-search .org-list-img {
    height: 120px;
    object-fit: contain;
}

#org-search .btn-ctrl {
    background-color: var(--primary-color);
}

.org-list-body .learn-more {
    background-color: var(--primary-color);
}

/**** Opp Details *****/

.opp-details-contact-section {
    display: none;
}

.opp-details-contact1-header {
    display: none;
}

/**** Org Details *****/
.org-details-description .aff-info-in-org > div > div:has(.aff-details-in-org-title):after {
    display: inline-block;
    content: "Learn More";
    padding: 0.5rem 1rem;
    margin: 0.5rem;
    border-radius: 5px;
    color: #ffffff;
    background: var(--primary-color);
}

/**** Affiliation Details *****/

.aff-details-img {
    object-fit: contain;
}

/* STEPPER */
.stepper-box {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-family: sans-serif;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.step { display: none; }
.step.active { display: block; }

.button-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}

button {
    padding: 12px;
    cursor: pointer;
    border-radius: 6px;
    border: 1px solid #007bff;
    background: white;
    color: #007bff;
    transition: 0.2s;
}

button:hover {
    background: #007bff;
    color: white;
}

.back-btn { border-color: #666; color: #666; margin-top: 10px; }
.submit-btn { background: #28a745; color: white; border: none; }

input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    box-sizing: border-box;
}
.progress-container {
    background-color: #eee;
    height: 8px;
    border-radius: 4px;
    margin-bottom: 25px;
    overflow: hidden;
}

.progress-bar {
    background-color: #007bff;
    height: 100%;
    width: 25%;
    transition: 0.3s ease;
}

.button-group button {
    text-align: left;
    font-weight: bold;
}
.skip-btn {
    background-color: #f8f9fa;
    border: 1px dashed #007bff;
    color: #007bff;
    margin-top: 10px;
}

.navigation-btns {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.summary {
    background: #e9ecef;
    padding: 10px;
    border-radius: 5px;
    font-size: 0.85em;
}

hr { border: 0; border-top: 1px solid #eee; margin: 20px 0; }

.dashboard-wrapper {
    display: flex;
    height: 80vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f4f7f9;
}

.side-panel {
    width: 320px;
    background: #1a2a3a;
    color: white;
    padding: 30px;
    display: flex;
    flex-direction: column;
}
.side-panel h3 {
    color: var(--main-text-lt);
}

.summary-item {
    margin-bottom: 25px;
    opacity: 0.4;
    transition: 0.3s;
}
.summary-item.active { opacity: 1; }
.summary-item label { font-size: 12px; text-transform: uppercase; color: #8a99a8; }
.summary-item .val { font-size: 18px; font-weight: bold; margin-top: 5px; }

.main-content {
    flex: 1;
    padding: clamp(1rem, 4vw, 4rem);
    overflow-y: auto;
}

.accordion-section-header {
    display: flex;
    justify-content: space-between;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border-radius: 0px;
    padding: 0 1rem;
    background: #FFF;
}

.accordion-section-header.selected {
    background: #e7f3ff;
    border: 2px solid #007bff;
}

.accordion-section:last-child .accordion-section-header, .accordion-section-header.open {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}
.accordion-section:nth-child(1) .accordion-section-header, .accordion-section:has(.open) + .accordion-section > .accordion-section-header { /* if the previous element has .open */
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.section-selected-indicator {
    padding: 0 1rem;
}
.accordion-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(clamp(100px, 10vw, 200px), 1fr));
    gap: 20px;
    margin: 2rem 0;
    padding: 0 1rem;
}

.stepper-card {
    background: white;
    text-align: center;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    font-weight: 600;
}
.card-content .img-responsive {
    width: 100%;
    height: clamp(80px, 6vw, 120px);
    object-fit: cover;
}

.card-content > .ng-binding {
    padding: 1rem;
}

.stepper-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    color: #007bff;
}

.search-container input {
    width: 100%;
    padding: 15px;
    border-radius: 30px;
    border: 1px solid #ddd;
    font-size: 16px;
}

.skip-to-end {
    margin-top: auto;
    padding: 15px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.stepper-card.selected {
    border: 2px solid #007bff;
    background: #e7f3ff;
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,123,255,0.2);
}

.stepper-card.disabled {
    filter: grayscale(0.75);
    opacity: 0.5;
    box-shadow: none;
    transform: none;
}

.grid-layout.has-selection .stepper-card:not(.selected) {
    opacity: 0.5;
    filter: grayscale(0.5);

}


@keyframes pulse-green {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(40, 167, 69, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

.summary-item.updated {
    animation: pulse-green 0.6s ease-out;
    color: #28a745 !important;
}


.stepper-card {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.stepper-card {
    animation: fadeInUp 0.5s ease backwards;
}

/* Staggered Delay Logic */
/* This makes the first 10 cards appear one by one instead of all at once */
.stepper-card:nth-child(1) { animation-delay: 0.1s; }
.stepper-card:nth-child(2) { animation-delay: 0.15s; }
.stepper-card:nth-child(3) { animation-delay: 0.2s; }
.stepper-card:nth-child(4) { animation-delay: 0.25s; }
.stepper-card:nth-child(5) { animation-delay: 0.3s; }
.stepper-card:nth-child(6) { animation-delay: 0.35s; }
.stepper-card:nth-child(7) { animation-delay: 0.4s; }
.stepper-card:nth-child(8) { animation-delay: 0.45s; }
.tree-category > ul { display: none; }
.tree-category-parent > ul li{ list-style: none; }
.tree-category > .toggle {
    margin-left: -1rem;
}
.tree-category > .toggle span {
    justify-content: center;
    align-items: baseline;
    width: 25px;
    height: 25px;
    background: #FFF;
    box-shadow: 0px 0px 1px 1px #00000033;
    border-radius: 30px;
    margin: 0 1rem 0 0;
}
.tree-category > .toggle .less { display: none; }
.tree-category > .toggle .more { display: inline-flex; }
.tree-category.show > ul { display: block; }
.tree-category.show > .toggle .less { display: inline-flex; }
.tree-category.show > .toggle .more { display: none; }