.job-archive-container {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.job-filters {
    flex: 0 0 280px;
    background: #f5f5f5;
    padding: 20px;
    border-radius: 5px;
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

.job-results {
    flex: 1;
}


.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-label {
    display: none;
}

.selected-filter-value {
    flex-grow: 1;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 6px;
}

.clear-filter {
    padding: 0 6px;
    display: none;
}


#job-filter-form .filter-select {
    width: 100%;
    padding: 8px 6px;
    border: 1px solid #ebebeb;
    border-radius: 4px;
    background: #f8f8f8;
    margin-bottom: 0;
    color: #969696;
    height: auto;
}

.filter-reset {
    font-size: 16px;
    background: #fff;
    border: none;
    cursor: pointer;
    color: #f95700;
}

.filter-reset:hover {
    background: #fff;
}

.job-listing {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.job-title {
    margin: 0 0 10px 0;
    font-size: 1.2em;
}

.job-title a {
    color: #0073aa;
    text-decoration: none;
}

.job-title a:hover {
    text-decoration: underline;
}

.job-meta {
    display: flex;
    gap: 15px;
    margin: 10px 0;
    color: #666;
    font-size: 0.9em;
    flex-wrap: wrap;
}

.job-content {
    margin-top: 15px;
    font-size: 0.95em;
    line-height: 1.5;
}

.job-pagination {
    margin: 40px 0 20px;
    text-align: center;
}

.job-pagination ul {
    display: inline-block;
    list-style: none;
    margin: 0;
    padding: 0;
}

.job-pagination li {
    display: inline;
    margin: 0 3px;
}

.job-pagination a,
.job-pagination span {
    display: inline-block;
    padding: 5px 12px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #0073aa;
    border-radius: 3px;
    font-size: 0.9em;
}

.job-pagination .current {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
}

.job-pagination a:hover {
    background: #f5f5f5;
}

.loading {
    padding: 20px;
    text-align: center;
    color: #666;
    font-style: italic;
}


/*--- Careers Custom Post Type STARTS ---*/

#top.post-type-archive-careers .fullsize .template-blog .post-title {
    text-align: left;
}

.careers-meta-row {
    display: flex;
    gap: 20px;
}

.careers-meta-title {
    font-weight: 700;
    width: 50%;
/*
    max-width: 200px;
*/
}

.careers-meta-value {
    width: 50%;
/*
    max-width: 200px;
*/
}

/*--- Careers Custom Post Type ENDS ---*/


/*--- Careers Page ---*/
.careers-culture .av_textblock_section {
    margin-bottom: 70px;
    margin-top: 34px;
    text-align: center;
    font-size: 20px;
}

.tab_titles {
    display: flex;
    flex-wrap: wrap;
}

.responsive #top #main .main_color .tabcontainer .active_tab {
    background: #ffffff;
}

p.gform_required_legend {
	font-size:10px;
}
.grid-entry-title {
	font-size:20px;
}





/* Careers Jobs Single View */
.full-width{
    width: 100%;
}

.av-main-single-job .standard-content,
.av-main-archive-job .standard-content {
    margin-top: 75px;
}
.job-header{
    width: 70%;
}
.job-header h1{
    letter-spacing: 1px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.job-header h4 {
    font-family: 'Lato';
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 24px;
}

.job-details-section{
    display: flex;
    gap: 30px;
}

.go-back-link{
    margin-bottom: 35px;
    display: block;
}

.job-details{
    width: 70%;

}
.job-details-columns {
    display: flex;
    gap: 5%;
}
.column-1-2 {
    width: 50%;
    padding: 30px;
    background: #f3f3f3;
    border-radius: 20px;
}
.single-jobs-column h3{
    margin-top: 0;
    margin-bottom: 8px;
}
.jobs-accordion{
    margin-top: 35px;
}
.job-details ul {
    list-style: disc outside;
    margin-left: 25px;
    padding: 0px;
}

.job-details-text {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.job-details-text .fusion-accordian .panel-heading .panel-title a {
    display: flex;
    align-items: baseline;
    color: var(--awb-title-color);
    border-top: 1px solid #f3f3f3;
    border-bottom: 1px solid #f3f3f3;
}

.job-details-text .fusion-accordian .panel-body {
    padding-left: 35px;
    padding-right: 35px;
}

.fusion-body .fusion-accordian .panel-title a.active {
    font-size: 18px;
}

.job-details-content {
    margin-bottom: 30px;
}

.job-details-content p {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.facility-image{
    margin-bottom: 20px;
}

.job-apply-button.button {
    max-width: 200px;
}

.job-overview{
    width: 30%;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.job-overview-summary{
    width: 100%;
    background: #f5f5f5;
    border-radius: 50px;
}
.job-meta{
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
}
.job-overview-summary:after{
    content: '';
    display: block;
    width: 100%;
    height: 45px;
    background: #093262;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
}
.job-details-section h2{
    text-transform: uppercase;
}
.recruiter-information{
    margin-top: 20px;
}
.recruiter-information p{
    margin-bottom: 0;
    margin-top: 0;
}

.recruiter-information .title {
    font-size: 120%;
}

.jobs-accordion .toggle_icon .hor_icon, .jobs-accordion .toggle_icon .vert_icon {
    border-color: #f95700;
}

.main_color .job-details .toggler:hover,
#top .main_color .job-details .av-minimal-toggle .toggler,
.main_color .job-details .single_toggle .toggle_content {
    background-color: #ffffff;
}

.job-details .av-minimal-toggle .single_toggle {
    border-top: 1px solid #d7d7d7;
}

.job-details .av-minimal-toggle .av_toggle_section:last-child {
    border-bottom: 1px solid #d7d7d7;
}

/* New CSS for Jobs Archive*/
.job-archive-header{
    margin-top: 75px;
}
.job-archive-section {
    display: flex;
    gap: 30px;
}
.job-archive-filters{
    width: 30%;
    display: flex;
    flex-direction: column;
}
.job-archive-listings {
    gap: 30px;
    display: flex;
    flex-direction: column;
    width: 70%;
}
.job-archive-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
}

.job-archive-listing-title h2 {
    font-family: 'Lato';
    font-size: 30px;
}

.job-archive-listing-title h2 a {
    color: #093262;
}

.job-archive-listing-title h5 {
    text-transform: uppercase;
    font-size: 18px;
    color: #434343;
    font-weight: 500;
}

.job-archive-listing-title h2,
.job-archive-listing-title h5 {
    margin-top: 5px;
    margin-bottom: 5px;
}

.job-archive-content {
    display: flex;
    flex-wrap: wrap;
}

.job-archive-listing {
    border-bottom: 1px solid #ebebeb;
    padding-bottom: 20px;
}

.job-archive-content p {
    width: 100%;
}

.job-archive-button a,
.job-archive-button a:hover {
    padding: 12px 50px;
    background: #f95700;
    color: #ffffff;
    border-radius: 50px;
    font-size: 20px;
    text-decoration: none;
}

button.job-archive-button {
    padding: 12px 50px;
    background: #f95700;
    color: #ffffff;
    border-radius: 50px;
    font-size: 20px;
    text-decoration: none;
    border: none;
}

.job-archive-location {
    margin-right: 30px;
}

.job-google-maps iframe, .facility-image {
    border-radius: 50px;
}

.job-archive-location, .job-archive-date {
    display: flex;
    align-items: center;
    gap: 10px;
}

.jobs-banner {
    width: 100%;
    height: 50vh;
    background-image: url('/wp-content/uploads/2024/05/ies-healthcare-quote-bg.jpg');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.jobs-banner:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(211, 225, 49, 0.83);
}

.jobs-banner .container {
    display: flex;
    justify-content: center;
}

html:not(.avada-has-site-width-percent) .post-type-archive-job #main {
    padding-right: 50px;
    padding-left: 50px;
    padding-top: 0;
}

.banner-quote {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80%;
}

.banner-quote h3{
    font-family: 'Lato';
    font-style: italic;
    font-weight: 300;
    font-size: 48px;
}



/* Jobs Filter on Archive */

.single-job .featured-section,
.post-type-archive-job .featured-section {
    margin-top: 0;
}

.filters-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.filters-row {
    width: 100%;
    border-bottom: 2px solid #ebebeb;
    padding-top: 20px;
    padding-bottom: 20px;
}

.filters-row:last-of-type {
    border-bottom: none;
}

label.toggle-trigger {
    justify-content: space-between;
    align-items: center;
    display: flex;
    padding: 20px 0px;
}

.filters-form-container {
    padding: 20px;
    border: 1px solid #dddddd;
    border-radius: 20px;
}

.selected-filter {
    margin-top: -20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
}

.job-filter-form h5 {
    font-size: 23px;
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 500;
}

#job-filter-form .filters-row .toggle-content {
    margin-bottom: 0;
}

#top #wrap_all .gform_wrapper.gravity-theme .gform_validation_errors>h2.hide_summary {
    font-size: 14px;
    margin-block-end: 0;
}

@media (max-width: 768px) {
    .job-archive-section {
        flex-direction: column;
        width: 100%;
    }

    .job-archive-filters{
        width: 100%;
    }
    
    .job-filters {
        flex: 1;
        position: static;
        margin-bottom: 30px;
    }

    .job-archive-meta {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 20px;
    }
    
    .job-archive-listings {
        width: 100%;
    }
}