html {
    overflow: auto;
}

:root {
    font-size: 16px;
    line-height:2;
}

/*|########| MEDIA CONTROL |########|*/
@media (max-width: 960px) {
    .hideSmall {
        display: none !important;
    }

    .imgText {
        display: none !important;
    }

    .showSmall {
        display: block !important;
    }

    .mb-40\@sm {
        margin-bottom: 40px !important;
    }

    .mt-75\@sm {
        margin-top: 75px !important;
    }

    .mt-125\@sm{
        margin-top: 150px !important;
    }

    .collageImg\@sm {
        object-fit: cover !important;
        object-position: center !important;
        width: 100% !important;
        min-height: 500px !important;
        max-height: 900px !important;
    }

    .pb-50\@sm {
        padding-bottom: 50px !important;
    }

    .pagePadding\@sm {
        padding-left: 40px !important;
        padding-right: 40px !important;
    }

    .smallJobTitle {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center !important;
        width: 80%;
        font-size: 24px;
        line-height: 35px;
        font-weight: 500;
        text-transform: uppercase;
        margin-top: 40px;
    }

    .smallJobTitle hr {
        margin: 20px auto 10px auto;
        border: solid 1px black;
        max-width: 150px;
    }

    .smallJobTitle p {
        font-size: 18px;
        line-height: 20px;
        text-transform: none !important;
    }

    .jobOfferDescContainer h3 {
        padding: 10px !important;
        font-size: 24px !important;
        font-weight: 700;
        margin-bottom: 5px !important;
    }

    .jobOfferDescContainer p {
        padding: 0 10px 40px 10px !important;
        margin-top: 5px !important;
    }

    .padding-0\@sm {
        padding: 0 !important;
    }

    .careerOffers {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        margin-bottom: 60px !important;
    }

    .smallHr {
        border: solid 1px black;
        max-width: 30%;
        gap: 5px !important;
        margin-top: 10px !important;
        margin-bottom: 10px !important;
    }

    .jobOfferTitleImg {
        height: 400px !important;
    }

    .overflowWrap\@sm {
        overflow-wrap: break-word !important;
        -webkit-hyphens: auto !important;
        -moz-hyphens: auto !important;
        -ms-hyphens: auto !important;
        hyphens: auto !important;
    }

    #flyThroughThumb > span:nth-child(1) {
        margin-left: 25px !important;
    }

    #flyThroughThumb > span:nth-child(2) {
        margin-left: 25px !important;
        margin-bottom: 260px !important;
    }
}

/*|########| CONTAINER STYLES |########|*/

aside.infoContainer {
    min-width: 20%;
    padding-left: 50px;
    line-height: 20px;
    padding-right: 150px;
}

.contactData .recruiterHeadShot {
    width: 100px;
}

.contactData {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.sendBtn {
    background-color: #d95e58;
    color: white;
    border: none;
    width: 100%;
    font-size: 22px;
    padding: 9px;
}

.sendBtn:hover {
    background-color: rgba(217, 94, 88, 0.69);
}

.jobOfferLists {
    background: #27353e;
    margin-top: -100px;
    height: 100%;
    padding: 80px 80px 0 80px;
    min-width: 30%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    min-height: 50px;
}

.jobOfferLists h2 {
    font-size: 42px;
    font-family: "Open Sans", sans-serif;
    color: white;
    padding: 0 !important;
}

.jobOfferLists li {
    font-size: 16px;
    Line-height:2;
    font-family: "Open Sans", sans-serif;
    color: white;
}

ul.styled li:before {
    content:"■";
    line-height:20px;
    margin-right: 15px;
    /* alignment when multiline */
    margin-left: -23px;
    vertical-align: top;
    position: relative;
    top: 2px;
}

ul.styled {
    list-style: inside none;
}

.careerImgCollage {
    display: grid;
    grid-auto-rows: auto;
    gap: 30px;
}

.careerImgCollage img {
    object-fit: cover;
    height: 100%;
    max-height: 750px;
}

.careerImgCollage > div {
    display: grid;
    grid-template-columns: 30% 70%;
    gap: 30px;
    margin-bottom: 30px;
}

.careerImgCollage > div:nth-child(2n) {
    grid-template-columns: 70% 30% !important;
}

.careerOffers {
    display: grid;
    margin: auto auto 120px auto !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.careerOffers .uk-text-bold {
    font-weight: 700;
}

.careerOffer {
    display: flex;
    gap: 15px;
}

.careerOffer > hr {
    border-color: black;
    margin: 10px 0 30px 0;
    border-width: 2px;
    width: 100px;
}

.applicationSuccessContainer {
    position: fixed;
    background-color: white;
    padding: 30px;
    max-width: 300px;
    min-height: 100px;
    width: fit-content;
    left: 0;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    box-shadow: 1px 1px 30px 0px black;
    -webkit-box-shadow: 1px 1px 21px 0px black;
    -moz-box-shadow: 1px 1px 21px 0px black;
}

.applicationSuccessContainer > .successHeader {
    border-bottom: solid 1px lightgray;
    padding: 20px 0 20px 0;
    width: 100%;
    margin-bottom: 10px;
}

.jobOfferTitleImg {
    display: flex;
    justify-content: center;
    align-items: start;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 36px;
    line-height: 40px;
    max-height: 700px;
    height: 700px;
    background-size: cover !important;
    flex-direction: column;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: local !important;
}

.jobOfferTitleImg > div {
    margin-left: 7%;
}

.jobOfferTitleImg > .jobTitle {
    max-width: 40%;
}

.jobOfferTitleImg p {
    margin-top: 5px;
    margin-left: 7%;
    max-width: 40%;
    font-size: 20px;
    text-transform: none !important;
}

.jobOfferDescContainer {
    display: flex;
    justify-content: center;
}

.jobOfferDescContainer h2 {
    font-size: 40px;
    margin: 60px 0 30px 0;
}

.jobOfferDescContainer h3 {
    color: white;
    font-size: 35px;
}

.jobOfferDescContainer p {
    padding: 0 70px 40px 40px;
}

.jobRequirementsContainer {
    display: flex;
    gap: 10px;
    width: 100%;
    margin: 50px 0 70px 0;
}

.jobRequirementsContainer > div {
    border-right: solid 1px gray;
    flex-grow: 1;
    padding-right: 40px;
    display: flex;
    flex-direction: column;
}

.applyButtonContainer{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px auto 30px 0;
    min-height: 50px;
}

.applyButtonContainer > a {
    padding-left: 50px;
    padding-right: 50px;
}

.socialsContainer {
    display: flex;
    gap: 10px;
    color: #d95e58;
}

#flyThroughThumb {
    min-height: 787px;
    margin-top: 100px;
    margin-bottom: 100px;
    background: url('/img/fly_through_thumb.jpg') center / cover no-repeat;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: end;
    gap: 10px;
}

#flyThroughThumb > span:nth-child(1) {
    font-weight: 700;
    font-size: 26px;
    line-height: 35px;
    margin-left: 80px;
}

#flyThroughThumb > span:nth-child(2) {
    font-weight: 500;
    font-size: 26px;
    line-height: 35px;
    margin-bottom: 80px;
    margin-left: 80px;
}

#flyThroughVideo {
    display: none;
    width: 100%;
    margin-top: 100px;
    margin-bottom: 100px;
    min-height: 787px;
}

.imgText {
    --bg-color: white;
    color: black;
    display: inline;
    line-height: 70px;
    box-shadow: 0.5rem 0 0 var(--bg-color), -0.5rem 0 0 var(--bg-color);
    background-color: var(--bg-color);
    padding: .5rem 0 .5rem 0;
    -webkit-box-decoration-break: clone;
    -ms-box-decoration-break: clone;
    -o-box-decoration-break: clone;
    box-decoration-break: clone;
    font-family: open sans;
    text-transform: uppercase;
    font-size: 35px;
    font-weight: 500;

}

p.imgText {
    line-height: normal;
    margin-top: 3px !important;
}

.jobTitle span {
    padding: 5px;
    display: inline;
    line-height: 8px;
    font-size: 16px;
    box-shadow: 0.5rem 0 0 var(--span-bg-color), -0.5rem 0 0 var(--span-bg-color);
    background-color: var(--span-bg-color);
}

.jobTitle span:not(.isStudy) {
    --span-bg-color: white !important;
    color: black;
}

.imgText h1:has(span.isStudy) {
    background-color: yellow !important;    
}

.isStudy {
    --span-bg-color: #d95e58;
    padding: 2px !important;
    margin-bottom: 2rem;
    font-size: 24px;
    color: white;
    display: inline;
    line-height: 35px !important;
    box-shadow: 0.5rem 0 0 var(--span-bg-color), -0.5rem 0 0 var(--span-bg-color);
    background-color: var(--span-bg-color);
}

/*|########| UTILS STYLES |########|*/

.font-16 {
    font-size: 16px;
}

.font-24 {
    font-size: 24px;
}

.m-0 {
    margin: 0 !important;
}

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mt-50 {
    margin-top: 50px;
}

.mt-100 {
    margin-top: 100px;
}

.mt-150{
    margin-top: 150px;
}

.mb-25 {
    margin-bottom: 25px;
}

.mb-50 {
    margin-bottom: 50px;
}

.px-0 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.pl-0 {
    padding-left: 0 !important;
}

.color-primary {
    color: #d95e58;
}

.text-underline {
    text-decoration: underline;
}

.flex-center {
    display: flex;
    align-items: center;
}

.overflowHide {
    overflow: hidden !important;
}

.showSmall {
    display: none;
}

.hideSmall:not(.ignoreFullSizeDisplay) {
    display: block;
}

.wFull {
    width: 100%;
}

.socialsContainer {
    display: flex;
    gap: 10px;
    color: #d95e58;
}

.socialsContainer > a {
    transition-duration: 200ms;
    color: #d95e58 !important;
}

.socialsContainer > a:hover {
    transform: translateY(-5px);
    cursor: pointer;
    transition-duration: 200ms;
}