.gx-job-listing {
    list-style: none;
    margin: 0;
    padding: 0;
}
.gx-job-listing > li.gx-job-category {
    margin-top: 30px;
}
.gx-job-category > h2 {
    font-style: italic;    
    font-size: var(--sub-heading);
    line-height: 1;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 1px;
    font-style: italic;
}

.gx-job-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #000;
    text-decoration: none;
    width: 100%;
}
.gx-job-link:hover {
    background-color: var(--gx-bg-grey);
}
.job-location {
    text-align: right;
}
.gx-job-role {
    padding-right:20px;
}

/* job detail page*/
.jobrole {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.back-to-jobs,
.back-to-jobs a {
    display: flex;
    flex-direction: row;
    align-items: end;
    justify-content: end;
}
.back-to-jobs a {
    align-items: center;
}
hr {
    color: var(--gx-dark-grey);
    margin: 0px 0;
}
.jobstatus {
    font-size: var(--text-xs);
    color: var(--gx-copy-grey);
}
.joblocation {
    font-size:  var(--text-sm);
    font-family: freight-display-pro;
    font-style: italic;
    color: var(--gx-copy-grey);
}

h2.c-heading-2, h2  {
    color: var(--gx-black);
    font-family: freight-display-pro;
    font-size: var(--sub-heading);
    line-height: 1;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 0;
    padding-top: 3rem;
    padding-bottom: 2rem;
    font-style: italic;
}

h2.jobrole-heading {
    font-family: freight-display-pro;
    font-size: 96px;
    font-style: normal;
    font-weight: 600;
    line-height: 0.98;

    letter-spacing: 0;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
}

@media (max-width: 990px) {
     h2.jobrole-heading {
        font-size: 52px;
        line-height: 1.1;
    }
}

@media (max-width: 600px) {
     h2.jobrole-heading {
        font-size: 36px;
        line-height: 1.1;
    }
}

@media (min-width: 1024px) and (max-width: 1700px) {
    h2.jobrole-heading {
        font-size: 6.0vw;
    }
}

.gx-jobs-detail-page ul {
    list-style: disc;
    padding-left: 35px!important;
}

.gx-jobs-detail-page ul>li::marker {
    color: var(--highlight-text-article);
    font-weight: 600;
}

.gx-jobs-detail-page ul>li,
.gx-jobs-detail-page ol>li {
    margin-bottom: 15px;
}

.gx-jobs-detail-page ul>li ol {
    padding-top: 15px
}
.gx-jobs-detail-page ol {
    padding-left: 38px!important;
}



@media (max-width: 990px) {
    h2.c-heading-2, h2 {
        font-size:24px;
    }
    .gx-job-category > h2 {
        padding-top: 2rem;
        padding-bottom: 1rem;
        font-size: 26px;
        line-height: 1;
        letter-spacing: normal;
    }
    .jobrole {
        flex-direction: column;
    }
    .back-to-jobs {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: end;
    }
}

@media (max-width: 600px) {
    .back-to-jobs {
        margin-top: 1.5rem;        
    }
}



/* popup form */
#form-outer {
    background-color: rgba(0, 0, 0, 0.5);
    overflow:auto;
}
.form-wrap {
    background: #ffffff;
    width: 50%;
    margin: auto auto;
    padding: 40px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 20px;
}
.form-wrap h1 {
    font-family: freight-display-pro;
    font-style: italic;
    font-weight: 600;
    line-height: 0.98;
    margin-bottom: 20px;
}
/* .form-wrap .controls {
    overflow: auto;
} */
.form-wrap .controls,
.form-wrap .controls .form-control {    
    font-size: 16px;
    letter-spacing: normal;
}
.form-wrap .controls .form-control {
    padding-top: 0;
 }

.closePopupBtn {
    position: absolute;
    top: 30px;
    right: 30px;
    border: none;
    background-image: url("../media/gx/close.svg");  
    padding: 0;
    height: 30px;
    width: 30px;
    background-size: auto;
    background-position: center center;
    background-color: transparent;
    text-indent: 9em;
    overflow: hidden;
}

@media (max-width: 1400px) {    
    .form-wrap {
        width: 100%;
        top: 5%;
        transform: translateY(0%); 
    }
    .back-to-jobs>.arrow-link {
        margin-top: auto;
    }
}

.popup-overlay {
    background-color: rgba(0, 0, 0, 0.5);
}