
/* Variables */
:root {
    --jso-blue: #243d94;
}

.subNav {
    display: none;
}

.breadcrumbs {
    display: none;
}

body {
    --media-before-content: 600px;
}

.page {
    box-shadow: none;
    background: none;
    max-width: 100%;
    grid: "subNav content" 1fr / min-content [c1] 1fr;
    z-index: 1;
}

.page-titles__container {
    display: none;
}

.page__content-wrapper {
    padding: 0;
    box-shadow: none;
    background: none;
    max-width: 100%;
    grid: "subNav content" 1fr / min-content [c1] 1fr;
    z-index: 1;
}

.page__content-wrapper {
    width: 100% !important;
}

.page::before {
    background: none !important;
}

.page-container {
    background: none !important;
}

@media screen and (max-width: 1280px) {
    .openSubnav {
        display: none !important;
    }
}


.welcomeMargin {
    max-width: 1630px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    position: relative;
}

.welcomePadding {
    margin-left: 15px;
    margin-right: 15px;
}


/* Search Section */
.searchSectionContent {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 260px;
    padding-bottom: 80px;
}

    .searchSectionContent .gl-search {
        position: relative;
        z-index: 3;
        display: flex;
        flex-wrap: nowrap;
        align-items: stretch;
        width: auto;
        max-width: 100%;
        height: auto;
        margin: 0;
    }

    .searchSectionContent .gl-search__text {
        box-sizing: border-box;
        flex: 0 1 auto;
        width: auto;
        min-width: 500px;
        padding: 15px 20px;
        border: 0;
        border-radius: 5px 0 0 5px;
        outline: none;
        background-color: #fff;
        color: #000;
        font-size: 24px;
        font-weight: 600;
        text-align: center;
    }

    .searchSectionContent .gl-search__btn {
        box-sizing: border-box;
        display: block;
        align-self: stretch;
        flex: 0 0 60px;
        width: 60px;
        min-width: 60px;
        height: auto;
        position: static;
        top: auto;
        padding: 0;
        margin: 0;
        border: 0;
        border-radius: 0 5px 5px 0;
        background-color: #fcd605;
        background-image: url("/content/images/layout/01_searchIcon.png");
        background-repeat: no-repeat;
        background-position: center;
        background-size: 32px;
        cursor: pointer;
    }

        /* The same search icon used by the header is now the visible icon. */
        .searchSectionContent .gl-search__btn svg {
            display: none;
        }

        .searchSectionContent .gl-search__btn:hover,
        .searchSectionContent .gl-search__btn:focus {
            background-color: #ffe34d;
        }

        .searchSectionContent .gl-search__btn:focus-visible {
            outline: 3px solid #243d94;
            outline-offset: 2px;
        }

    .searchSectionContent .gl-search__text::placeholder {
        padding: 0;
        margin: 0;
        color: #243d94;
        font-weight: 600;
        letter-spacing: 4px;
        text-align: center;
        text-indent: 0;
        text-transform: uppercase;
        opacity: 1;
        transition: color 1s;
    }

    .searchSectionContent .gl-search__text:focus::placeholder {
        color: transparent;
    }

    /* Remove default browser search-field controls. */
    .searchSectionContent #global-search-subnav::-webkit-search-decoration,
    .searchSectionContent #global-search-subnav::-webkit-search-cancel-button,
    .searchSectionContent #global-search-subnav::-webkit-search-results-button,
    .searchSectionContent #global-search-subnav::-webkit-search-results-decoration {
        display: none;
    }

/* Mobile */
@media (max-width: 700px) {
    .searchSectionContent {
        height: 190px;
    }

        .searchSectionContent .gl-search {
            width: 100%;
        }

        .searchSectionContent .gl-search__text {
            flex: 1 1 auto;
            width: 100%;
            min-width: 0;
            padding: 12px 14px;
            font-size: 17px;
        }

        .searchSectionContent .gl-search__btn {
            flex-basis: 58px;
            width: 58px;
            min-width: 58px;
            background-size: 25px;
        }

        .searchSectionContent .gl-search__text::placeholder {
            letter-spacing: 2px;
        }
}

/* Career section */
.careerSection {
    font-family: "proxima-nova", Arial, sans-serif;
    width: 100%;
    background: white url("/Content/Images/welcome/careerSectionBg.png") no-repeat center center;
    background-size: cover;
}

.careerSectionContent {
    position: relative;
    display: grid;
    grid-template-columns: 46% 54%;
    min-height: 405px;
    margin: 0 auto;
    overflow: visible;
}

/* Left column */
.careerLeft {
    position: relative;
    z-index: 2;
}

    .careerLeft > img {
        display: block;
        width: 100%;
        height: 360px;
        object-fit: cover;
        transform: translateY(-30px);
    }

.careerLeftContent {
    position: relative;
    z-index: 3;
    width: 125%;
    margin-top: -22px;
    padding: 12px 30px 20px 205px;
    box-sizing: border-box;
    color: #fff;
}

    .careerLeftContent .careerTitle {
        margin-bottom: 2px;
    }

    .careerLeftContent .careerText {
        margin-bottom: 8px;
    }

/* Kill link styles */
.careerSectionContent .careerLeftContent > a,
.careerSectionContent .careerLeftContent > a:link,
.careerSectionContent .careerLeftContent > a:visited,
.careerSectionContent .careerLeftContent > a:hover,
.careerSectionContent .careerLeftContent > a:focus {
    color: #f5d328;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}

/* Right column */
.careerRight {
    position: relative;
    min-height: 405px;
}

.careerRightContent {
    position: relative;
    z-index: 2;
    padding: 35px 35px 0;
    color: #fff;
}

    .careerRightContent .careerTitle {
        margin-bottom: 4px;
    }

.careerRight > img {
    position: absolute;
    right: 90px;
    bottom: 0;
    z-index: 1;
    width: 600px;
    height: auto;
}

/* Shared text styles */
.careerTitle {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
}

.careerText {
    font-size: 20px;
    line-height: 1em;
}

@media (max-width: 900px) {
    .careerSectionContent {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .careerLeft > img {
        height: auto;
        transform: none;
    }

    .careerLeftContent {
        width: 100%;
        margin-top: 0;
        padding: 20px 25px 30px;
    }

    .careerRight {
        min-height: 430px;
    }

    .careerRightContent {
        padding: 35px 25px 0;
    }

    .careerRight > img {
        right: 50%;
        transform: translateX(50%);
        width: 315px;
        max-width: 80%;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .careerTitle {
        font-size: 1.65rem;
    }

    .careerRight {
        min-height: 390px;
    }

        .careerRight > img {
            width: 80%;
        }
}


/* News Section */

.newsSection {
    position: relative;
    overflow: hidden;
    width: 100%;
    background-color: #f9f9f9;
}

.newsSection::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0 auto 0 50%;
    /* 1630px content plus 135px on either side */
    width: min(100%, 1900px);
    transform: translateX(-50%);
    background-image: url("/Content/Images/welcome/newsSectionBg.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    pointer-events: none;
}

.newsSection > .welcomeMargin {
    position: relative;
    z-index: 1;
}


.newsSectionHeading {
    padding-top: 40px;
    text-align: center;
    padding-bottom: 40px;
}

.newsSectionBadge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.newsSectionBadge::before,
.newsSectionBadge::after {
    content: "";
    flex: 0 1 300px;
    height: 3px;
    background-color: rgba(50, 70, 105, 0.55);
}

.newsSectionBadge img {
    display: block;
    flex-shrink: 0;
    width: 100px;
    height: auto;
}

.newsSectionHeading h3 {
    margin: 22px 0 0;
    color: var(--jso-blue);
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 8px;
    text-align: center;
    text-transform: uppercase;
}

.newsSectionFooter {
    font-family: proxima-nova, sans-serif;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    line-height: 1.2em;
    color: #243d94;
    padding-top: 40px;
    padding-bottom: 40px;
}

.newsSectionContent .newsSectionFooter > a,
.newsSectionContent .newsSectionFooter > a:link,
.newsSectionContent .newsSectionFooter > a:visited,
.newsSectionContent .newsSectionFooter > a:hover,
.newsSectionContent .newsSectionFooter > a:focus {
    color: var(--jso-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
}
/* Quick link sections */

.linksSection {
    position: relative;
    width: 100%;
    background: white url("/Content/Images/welcome/linkSectionBg.png") no-repeat center center;
    background-size: cover;
}

.linksSection .linkSectionContent {
    margin-left: auto;
    margin-right: auto;
    padding: 22px 22px 42px;
    color: #fff;
}
 
.linksSection .linkSectionContent h2 {
    margin: 0 0 40px;
    color: #fff;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 8px;
    text-align: center;
    text-transform: uppercase;
}

.linksSection .quickLinks {
    display: grid;
    width: 100%;
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(5, minmax(42px, auto));
    grid-auto-flow: column;
    column-gap: 60px;
    row-gap: 4px;
}
 
.linksSection .quickLink,
.linksSection .quickLink:link,
.linksSection .quickLink:visited {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.15;
    text-decoration: none;
}
 
.linksSection .quickLink:hover,
.linksSection .quickLink:focus-visible {
    color: #fff;
}
 
.linksSection .quickLink:hover span,
.linksSection .quickLink:focus-visible span {
    text-decoration: underline;
}
 
.linksSection .quickLink:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 5px;
}
 
.linksSection .quickLink img {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    object-fit: contain;
}
 
.linksSection .quickLink span {
    min-width: 0;
}
 
@media (max-width: 1000px) {
    .linksSection .linkSectionContent {
        max-width: 700px;
    }
 
    .linksSection .quickLinks {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(10, minmax(42px, auto));
        column-gap: 60px;
    }
}
 
@media (max-width: 600px) {
    .linksSection .linkSectionContent {
        max-width: 430px;
        padding: 28px 10px 36px;
    }
 
    .linksSection .linkSectionContent h2 {
        margin-bottom: 24px;
        font-size: 22px;
        letter-spacing: 5px;
    }
 
    .linksSection .quickLinks {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
 
    .linksSection .quickLink {
        min-height: 42px;
    }
}

.page .quickLink .material-symbols-outlined {
    margin-top: 0px;
    margin-left: -5px;
}


/* Slider Styles */

.sliderSection {
    background: #acaeb3;
}

.sliderSectionContent {
    position: relative;
    display: grid;
    overflow: hidden;
    background: linear-gradient( 105deg, #e4f4ff 0%, #ffffff 48%, #fff7d5 100% );
}


/* Slides */

.slider {
    grid-area: 1 / 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    /*
     * Controls the overall desktop carousel height.
     * The image can no longer make the carousel taller.
     */
    height: clamp(410px, 31vw, 500px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

    .slider.c-gallery__figure--current {
        z-index: 2;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }


/* Text Side */

.sliderContent {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    box-sizing: border-box;
    padding: 50px clamp(55px, 8vw, 140px) 75px;
}

    .sliderContent h3 {
        max-width: 520px;
        margin: 0 0 22px;
        color: #111;
        font-size: 32px;
        font-weight: 400;
        line-height: 1.15;
        letter-spacing: 0.15em;
        text-transform: uppercase;
    }

.sliderText {
    max-width: 520px;
    color: #222;
    font-size: 15px;
    line-height: 1.55;
}

    .sliderText p {
        margin: 0 0 18px;
    }

        .sliderText p:last-child {
            margin-bottom: 0;
        }

.sliderLink {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 250px;
    min-height: 46px;
    margin-top: 28px;
    padding: 8px 28px;
    box-sizing: border-box;
    border-radius: 999px;
    background-color: #ffd230;
    color: #111;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

/* Kill link styles */
.sliderSectionContent a.sliderLink,
.sliderSectionContent a.sliderLink:hover,
.sliderSectionContent a.sliderLink:focus,
.sliderSectionContent a.sliderLink:visited {
    color: #111;
    text-decoration: none;
}

.sliderLink:hover,
.sliderLink:focus-visible {
    background-color: #edc000;
    color: #111;
    text-decoration: none;
    transform: translateY(-2px);
}



/* Image Side */

.sliderImage {
    min-width: 0;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 55px 70px 75px 25px;
}

    .sliderImage img {
        display: block;
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        object-position: center;
    }


/* Previous and Next Buttons */

.sliderSectionContent :is( .c-gallery__prev-btn, .c-gallery__next-btn ) {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transform: translateY(-50%);
}

.sliderSectionContent .c-gallery__prev-btn {
    left: 16px;
}

.sliderSectionContent .c-gallery__next-btn {
    right: 16px;
}

.sliderSectionContent :is( .c-gallery__prev-btn, .c-gallery__next-btn ) span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 11px;
    height: 11px;
    border-top: 3px solid #163d72;
    border-right: 3px solid #163d72;
}

.sliderSectionContent .c-gallery__prev-btn span {
    transform: translate(-35%, -50%) rotate(-135deg);
}

.sliderSectionContent .c-gallery__next-btn span {
    transform: translate(-65%, -50%) rotate(45deg);
}

.sliderSectionContent :is( .c-gallery__prev-btn, .c-gallery__next-btn ):hover {
    background-color: #fff;
}

.sliderSectionContent :is( .c-gallery__prev-btn, .c-gallery__next-btn ):focus-visible {
    outline: 3px solid #163d72;
    outline-offset: 3px;
}

.sliderSectionContent [hidden] {
    display: none;
}


/* Navigation Dots */

.sliderDots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    z-index: 5;
    display: flex;
    gap: 9px;
    padding: 0;
    transform: translateX(-50%);
}

.sliderDot {
    display: block;
    width: 20px;
    height: 20px;
    padding: 0;
    border: 2px solid #163d72;
    border-radius: 50%;
    background-color: #fff;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

    .sliderDot:hover,
    .sliderDot:focus-visible {
        transform: scale(1.12);
    }

    .sliderDot:focus-visible {
        outline: 2px solid #163d72;
        outline-offset: 3px;
    }

    .sliderDot.sliderDot--active {
        background-color: #163d72;
    }


/* Slide Animations */

.slider.c-gallery__figure--move-in-left {
    visibility: visible;
    animation: sliderMoveInFromRight 0.65s ease both;
}

.slider.c-gallery__figure--move-out-left {
    z-index: 1;
    visibility: visible;
    animation: sliderMoveOutToLeft 0.65s ease both;
}

.slider.c-gallery__figure--move-in-right {
    visibility: visible;
    animation: sliderMoveInFromLeft 0.65s ease both;
}

.slider.c-gallery__figure--move-out-right {
    z-index: 1;
    visibility: visible;
    animation: sliderMoveOutToRight 0.65s ease both;
}

@keyframes sliderMoveInFromRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes sliderMoveOutToLeft {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(-100%);
    }
}

@keyframes sliderMoveInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes sliderMoveOutToRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(100%);
    }
}


/* Mobile */

@media screen and (max-width: 900px) {
    .slider {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        height: auto;
    }

    .sliderContent {
        padding: 50px 65px 40px;
    }

    .sliderImage {
        width: 100%;
        aspect-ratio: 16 / 9;
        padding: 10px 65px 70px;
    }

        .sliderImage img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
}

@media screen and (max-width: 600px) {
    .sliderContent {
        padding: 42px 45px 30px;
    }

        .sliderContent h3 {
            margin-bottom: 18px;
            font-size: 28px;
            letter-spacing: 0.1em;
        }

    .sliderText {
        font-size: 14px;
    }

    .sliderLink {
        width: 100%;
        min-width: 0;
        margin-top: 24px;
    }

    .sliderImage {
        padding: 10px 45px 65px;
    }

    .sliderSectionContent :is( .c-gallery__prev-btn, .c-gallery__next-btn ) {
        width: 40px;
        height: 40px;
    }

    .sliderSectionContent .c-gallery__prev-btn {
        left: 8px;
    }

    .sliderSectionContent .c-gallery__next-btn {
        right: 8px;
    }

    .sliderDot {
        width: 16px;
        height: 16px;
    }
}