﻿/*

Style for job search results page - Allied

*/

.section--results {
    padding-top: 2.5rem;
}

.section.section--results.saved-searches {
    padding-top: 1.5rem;
}

@media only screen and (min-width: 992px) {
    .section--results {
        position: sticky;
    }

}

.section--results__header {
    border-bottom: none;
}

.job-description {
    font-weight: 600;
}

.job-info-title {
    font-size: 1rem;
}

.job-info-location,
.job-info-title,
.job-description {
    font-size: 1.125rem;
    margin: 0;
}

.job-action {
    display: inline-block;
    background-color: #F4F5F7;
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    margin-left: -5px;
}

.job-action:after {
    content: "\e826";
    font-family: "tnaa-icons", sans-serif;
    display: inline-block;
    transform: rotate(-90deg);
    font-size: 1.5rem;
    padding: 0.25rem;
    margin-top: -0.4rem;
    top: 0;
    font-weight: 600;
    -webkit-font-smoothing: antialiased;
}

.job-action:hover {
    cursor: pointer;
}

#filter--container,
#search--container {
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateX(100vw);
    will-change: transform;
    visibility: hidden;
    height: 100vh;
    width: calc(100% - 2rem);
    padding: 0 1rem;
    background: white;
    transition: all 0.2s ease-in-out;
    z-index: -1;
}

#filter--container.show,
#search--container.show {
    overflow: auto;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    background: white;
    transition: opacity 0.2s ease-in-out,
    transform 0.2s ease-in-out;
    z-index: 999;
}


#search-section {
    overflow: visible;
    position: inherit;
}

.container.show {
    max-width: 100%;
}

.sticky--footer--text {
    font-family: Montserrat, serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
}

@media (min-width: 993px) {
    .sticky--header {
        display: none !important;
    }

    .sticky--footer {
        display: none !important;
    }
}

@media (max-width: 992px) {
    .filter--section--facility {
        display: none !important;
    }
}


.sticky--header {
    position: sticky;
    top: 0;
    left: 0;
    display: block;
    background-color: white;
    z-index: 1000;
    padding: 15px !important;
}

#sticky-footer.show {
    overflow: auto;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    transition: 0.2s ease-in-out,
    transform 0.2s ease-in-out;
    display: flex;
}

.sticky--footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: calc(100% - 2rem);
    background-color: #F4F5F7;
    z-index: 1000;
    visibility: hidden;
    flex-direction: row;
    justify-content: space-around;
    align-items: stretch;
    gap: 15px;
    padding: 15px !important;
    border-top: 1px solid rgba(0, 0, 0, 0.10);
}

#sticky-footer .sticky--button {
    border-radius: 8px;
    display: flex;
    padding: 10px 16px;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex: 1 0 0;
    cursor: pointer;
    border-width: 0;
}

#sticky-footer .sticky--button--border {
    border-style: solid;
    border-width: 1px;
    border-color: #344054;
}

#sticky-footer .set--filter {
    background-color: #155EEF;
}

#sticky-footer .clear--filter {
    background-color: #FFF;
}

#sticky-footer .set--filter:hover {
    border-radius: 8px;
    background: #0040C1;
    box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
}

#sticky-footer .clear--filter:hover {
    border-radius: 8px;
    border: 1px solid #344054;
    background: #F9FAFB;
    box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
}

.container--spacer {
    width: calc(100% - 2rem);
    padding: 0 1rem;
}

.container--max {
    width: 100% !important;
    padding: 0 !important;
    height: calc(100% - 75px) !important;
}

.job--card {
    border-radius: 0.5rem;
    border: 1px solid #D9D9D9;
    margin-bottom: 1rem;
    padding: 1rem;
}

#hide-mobile {
    display: none;
}

#display-mobile {
    display: block;
}

#results--column {
    margin: 0;
    padding: 0;
    margin-left: 0;
    margin-right: 0;
}

@media (max-width: 992px) {
    #results--column {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.result .filter--section__header,
.mobile--close {
    border-bottom: 1px solid #D9D9D9;
    padding: 1rem 0;
    font-weight: 600;
}

.mobile--close.filter {
    padding: 0;
    border-bottom: 0;
}

.mobile--close.filter .icon::before {
    margin: 0;
}

.mobile--close .icon::before {
    font-size: 2rem;
    background-color: #F4F5F7;
    padding: 0.5rem;
    border-radius: 100px;
    margin-left: 0;
}

.mobile--close__title {
    padding: 1rem;
    margin-top: -0.125rem;
    position: absolute;
}

.search-button,
.filter-button {
    border-radius: 0.5rem;
    background-color: #F4F5F7;
    color: #1C1C1C;
    font-weight: 600;
    padding: 1rem;
    margin: 0.5rem 0;
    display: flex;
    justify-content: space-between;
}

.mobile--close .icon::before:hover,
.mobile--close__title:hover,
.search-button:hover,
.filter-button:hover {
    cursor: pointer;
}

.search-button .icon-search::before {
    font-size: 1.5rem;
}

.paginate {
    padding: 2.5rem;
}

label.clear:hover {
    cursor: pointer;
}

@media only screen and (min-width: 992px) {
    .section--results__header {
        border-bottom: 1px solid #D9D9D9;
    }

    .section--results {
        padding-top: 0;
    }

    .result .filter--section__header,
    .mobile--close {
        border-bottom: 1px solid #D9D9D9;
        padding: 1.75rem 1rem 1.75rem 0;
    }

    .paginate {
        padding: 5rem;
    }

    #filter--container,
    #search--container {
        position: relative;
        height: auto;
        width: 100%;
        margin-right: auto;
        background: transparent;
        z-index: 1;
        visibility: visible;
        transform: none;
        opacity: 1;
    }

    #filter--container {
        border-right: 1px solid #D9D9D9;
    }

    .job-action:after {
        font-size: 2rem;
        padding: 0.5rem;
        height: 3rem;
    }

    .job-action {
        width: 3rem;
        height: 3rem;
    }

    .job--card,
    #results--column {
        margin: inherit;
        padding: auto;
    }

    .job--card {
        border-radius: 0.5rem;
        border: none;
        margin-bottom: 0;
        margin-top: 0;
        border-bottom: 1px solid #D9D9D9;
    }

    #hide-mobile {
        display: initial;
    }

    #display-mobile {
        display: none;
    }
}

.campaign-banner {
    border-radius: 1rem;
    background-color: #F7AC08;
    margin-bottom: 15px;
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

.campaign-banner p {
    text-align: center;
    padding: 15px;
    font-size: 0.9rem;
    font-weight: bold;
    color: white;
}

.campaign-result {
    border-radius: 1rem;
    background-color: #F7AC08;
    margin-top: 15px;
    padding: 15px;
}

.campaign-result p {
    text-align: center;
    margin: 0px;
    padding: 0.15rem;
    font-size: 12px;
    color: white;
}

@media (min-width: 991px) {
    .campaign-result {
        margin-top: 0px;
        padding: 0.15rem;
    }
}

@media (max-width: 991px) {
    #search-filters-container .search-filters--hide-on-mobile {
        display: none !important;
    }

    #search-filters-container #location__column {
        margin-bottom: 0 !important;
        border-bottom: 1px solid #D9D9D9;
        padding-bottom: .75rem;
    }

    #search-filters-container .medium-up-4 > .column {
        flex: 0 0 100%;
        max-width: 100%;
    }

    #search-filters-container .container {
        max-width: 100%;
    }

    #search-filters-container .container > .row {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

.filter-button.filters-and-saved-searches-button {
    flex-direction: column;
    padding: 0;
}

.filter-button.filters-and-saved-searches-button div {
    background-color: #F4F5F7;
    border-radius: 8px;
}

.filter-button.filters-and-saved-searches-button .saved-searches--currently-viewing-text {
    display: flex;
    padding: 0px 6px;
    justify-content: flex-end;
    align-items: center;
    color: #FFF;
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 18px;
    background: #528BFF;
    border-radius: 5px;
}

.filter-button.filters-and-saved-searches-button:hover div:not(.saved-searches--currently-viewing-text) {
    background-color: #EAECF0;
}

.filter-button--wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.625rem 0.875rem;
}

.filter-button--wrap:hover {
    cursor: pointer;
}

#mobile-saved-searches-section button.mobile-saved-searches-section {
    display: flex;
    align-items: center;
    border: 0;
    padding: 0;
    border-top: 1px solid #D0D5DD;
    width: 100%;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.mobile-saved-searches-section .edit-icon {
    display: none;
}

.mobile-saved-searches-section .saved-searches--currently-viewing-card-content {
    padding: 0.75rem 0.875rem;
}
