:root {
    --highlight-sky: #ceedf6;
    --neutral-grey: #e1e1de;
    --dark-grey: #8a8a8a;
    --primary-blue: #00196e;
    --white: #ffffff;
    --black: #222;
    --secondary-gold: #ffad1d;
}

@font-face {
    font-family: 'Halyard Display Light';
    src: url('../css/fonts/HalyardDisplayLight.woff2') format('woff2'),
        url('../css/fonts/HalyardDisplayLight.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Halyard Display Book';
    src: url('../css/fonts/HalyardDisplayBook.woff2') format('woff2'),
        url('../css/fonts/HalyardDisplayBook.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}




@media screen and (max-width: 991px) {
    .body__container .row {
        flex-wrap: wrap;
    }
}






/* sidebar */

.sidebar {
    padding-top: 80px;
}

.sidebar .sidebar__sections--item a {
    font-family: 'Halyard Text';
    margin-bottom: 16px;
}



.sidebar .sidebar__scroll {
    overflow-y: auto;
    padding-bottom: 80px;
    height: 100%;
}

.sidebar .sidebar__scroll::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

.sidebar .sidebar__menu {
    list-style: none;
    padding-left: 20px;
}

.sidebar .sidebar__menu li a {
    display: block;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #8a8a8a;
    margin-bottom: 12px;
    cursor: pointer;
    width: fit-content;
    transition: all 0.3s linear;
}

.sidebar .sidebar__custom {
    position: relative;
    height: calc(100% - 150px);
}

.sidebar .sidebar__custom::after {
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 1) 100%);
    content: '';
    display: block;
    height: 80px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}

.sidebar .sidebar__custom .sidebar__custom-header {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #8a8a8a;
    margin-bottom: 16px;
    cursor: pointer;
    width: fit-content;
    transition: all 0.3s linear;

    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar .sidebar__custom .sidebar__custom-header img {
    display: none;
    transform: rotate(-90deg);
    transition: all 0.3s linear;
}

.sidebar .sidebar__custom .sidebar__custom-header.show img {
    display: block;
}

.sidebar .sidebar__custom .sidebar__custom-header.active img {
    transform: rotate(90deg);
    transition: all 0.3s linear;
}

.sidebar .sidebar__custom .sidebar__custom-item:not(:first-child) .sidebar__menu {
    display: none;
}

.sidebar .sidebar__sections {
    margin-bottom: 60px;
}

.sidebar .sidebar__sections--wrap .sidebar__sections--item a {
    color: #00196e;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar .sidebar__sections--wrap .sidebar__sections--item ul {
    list-style: none;
    padding-left: 20px;
}

.sidebar .sidebar__sections--wrap .sidebar__sections--item a img {
    display: none;
}

.sidebar .sidebar__sections--wrap .sidebar__sections--item.active a img {
    transform: rotate(-180deg);
    transition: all 0.3s linear;
}

.sidebar .sidebar__sections--wrap .sidebar__sections--item.show a img {
    display: block;
    transition: all 0.3s linear;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #888;
}

.sidebar .sidebar__buttons {
    padding-top: 12px;
    border-top: 1px solid #e1e1e1;
}

figure {
    margin: 0 0 1em;
}




.content__container {
    padding-bottom: 0;
}

.content__container>.section-content .section-content:first-child h2 {
    margin-top: 0px;
}




.amount {
    padding: 40px 0 0;
    margin-top: 160px;
    border-top: 1px solid #e1e1de;
    position: relative;
}

.sidebar .sidebar__buttons {
    padding-top: 12px;
    border-top: 1px solid #e1e1e1;
}

.james_justify_content-between {
    flex-wrap: nowrap;
    justify-content: space-between;
}

/* Content  */
.title {
    color: var(--primary-blue, #00196e);
    font-variant-numeric: lining-nums proportional-nums;
    font-family: 'garamond-premier-pro';
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: 54px;
    margin: 0;
    margin-bottom: 24px;
}



.desc {
    /* display: flex; */
    /* flex-direction: column; */
    /* gap: 12px; */
}





.desc span {
    color: var(--Black, #222);
    font-family: 'Halyard Text';
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 36px;
}


/* .desc .desc__list ul {
    margin: 0;
    padding-left: 20px;
}


.desc .desc__list ul li {
    list-style-type: decimal;
    padding-bottom: 10px;
}

.desc .desc__list ul li strong {
    font-weight: 600;
    color: var(--black);
}



.desc .desc__list ul li:last-child {
    padding-bottom: 0px;
} */
.desc ol li,
.desc ul li {
    color: var(--Black, #222);
    font-family: 'Halyard Text';
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

ul+p,
ol+p {
    margin-top: 12px;
}

.desc ul,
.desc ol {
    margin: 0;
    padding-left: 20px;
}


.desc ul li {
    list-style-type: square;
    padding-bottom: 10px;
}

.desc ol li {
    list-style-type: decimal;
    padding-bottom: 10px;
}

.desc ul li strong,
.desc ol li strong {
    font-weight: 600;
    color: var(--black);
}


.desc ol li:last-child,
.desc ul li:last-child {
    padding-bottom: 0px;
}


.dropdown-content__content li,
.dropdown-content__content p,
.dropdown-content__content p:first-child {
    margin-bottom: 0px;
    padding-bottom: 0px !important;
}

.dropdown__container .dropdown-content:last-child .dropdown-content__content.active {
    border-bottom: 0px;
}

.dropdown-content:nth-child(2) .dropdown-content__header {
    border-top: 0px !important
}


/* .desc .desc__list.square ul li {
    list-style-type: square;
} */


.desc ol li::marker {
    font-size: 16px;
}

.desc ul li::marker {
    font-size: 12px;
}



.desc__policy span {
    color: var(--dark-grey);
    font-family: 'Halyard Text';
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.desc p:last-child {
    margin-bottom: 0px;
}

.desc p {
    color: var(--Black, #222);
    font-family: 'Halyard Text';
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 12px;
}


.desc p:empty,
.desc p:only-child:empty {
    margin-bottom: 0px;
    display: none;
}

.desc p:empty::before {
    display: none;
    content: '\200B';
    /* Zero-width space */
}

.desc p:empty {
    display: none;
    margin-bottom: 0;
}


.dropdown-content__content .dropdown-content_wrap .desc span {
    color: var(--primary-blue);
    font-family: 'Halyard Text';
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    margin-bottom: 0px;
}



.desc .img {
    margin: 36px 0px;
}

.desc .img:last-child span,
.desc .img:last-child {
    margin-bottom: 0px;
}

.desc .img .img-caption {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    font-family: "Halyard Text", sans-serif;
    margin-top: 16px;
    display: block;
    color: var(--dark-grey);
}


.explore-box {
    display: flex;
    align-items: center;
    color: var(--Primary-Blue, #00196e);
    font-family: 'Halyard Text', 'sans-serif';
    font-size: 18px;
    font-style: normal;
    font-weight: 490;
    line-height: 24px;
    cursor: pointer;
    margin-top: 36px;
    width: fit-content;
}

.explore-box img {
    transform: translateX(0px);
    transition: all 0.3s linear;
}


.explore-box:hover img {
    transform: translateX(6px);
    transition: all 0.3s linear;
}

.img {
    margin-top: 24px;
}


.img img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.james__news .james__news--list {
    margin-bottom: 0px;
}


@media screen and (max-width : 991px) {

    .section-content {
        max-width: 522px;
        width: 100%;
        margin: 0 auto !important;
    }


    .sidebar {
        padding-top: 0;
    }

    .james__news .james__news--list .james__news--item {
        margin-bottom: 0px;
    }

    .james__news .james__news--list .james_col-4:nth-child(3) {
        display: none;
    }

    .applying__breadcumb li:nth-child(2) {
        display: flex;
    }



    .sidebar__buttons--title {
        width: 100%;
    }

    .sidebar .sidebar__buttons {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        padding-top: 12px;
        border-top: 1px solid #e1e1e1;
        gap: 12px;
    }


    .sidebar__buttons .sidebar__buttons--link {
        width: 48%;
        margin-bottom: 24px;
    }

    /* .sidebar.active {
        top: calc(100% - 540px);
    } */



    .sidebar .sidebar__sections {
        margin-bottom: 0px;
    }


    .sidebar__sections--title {
        padding: 0px 24px;
        margin-bottom: 0px;
    }


    .sidebar .sidebar__sections--wrap .sidebar__sections {
        border-top: none;
    }



    .sidebar .sidebar__sections--wrap {
        position: relative;
    }


    .sidebar .sidebar__sections--wrap::before {
        display: block;
        content: '';
        width: 100%;
        height: 70px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
        position: absolute;
        bottom: 115px;
        left: 0;
    }

    .sidebar .sidebar__sections--wrap.scrolled-hidden::before {
        display: none;
    }



    .sidebar .scroll-mb {
        max-height: calc(454px - 66px);
        overflow-y: auto;
        overflow-x: hidden;
    }

    .sidebar .sidebar__sections {
        max-height: fit-content;
        overflow-y: unset;
        margin-bottom: 0px;
        border-top: 0px;
    }

    .sidebar__sections--title {
        margin-bottom: 0px;
        padding-bottom: 0px;
    }

    .sidebar .sidebar__buttons {
        padding-bottom: 24px;
        padding-top: 24px;
    }


    /* Content */

    .desc .square ul li::marker {
        font-size: 8px;
    }

    h2.title {
        font-size: 40px;
        line-height: 48px;
    }


}


@media screen and (max-width: 991px) and (min-width: 576px) {
    .james__connect .james__connect--list .james_col-4 {
        flex-shrink: 0;
        width: 50%;
        max-width: 50%;
        padding-right: 18px;
        padding-left: 18px;
    }

    .james__news .james__news--list .james_col-4 {
        max-width: 50%;
        width: 50%;
    }

    .james__connect .james__connect--list {
        max-width: 85%;
        margin: 0 auto;
    }

    .james__news .james__news--list {
        max-width: 85%;
        margin: 0 auto;
    }

    .sidebar .sidebar__buttons {
        display: flex;
        flex-direction: row;
        gap: 12px;
        flex-wrap: wrap;
    }

    .sidebar__buttons--title {
        width: 100%;
    }

    .sidebar__buttons .sidebar__buttons--link {
        width: 48%;
        margin-bottom: 20px;
    }

    .sidebar__buttons .sidebar__buttons--link:not(:last-child) {
        margin-bottom: 20px;
    }
}

@media (max-width: 769px) {
    .content__container {
        /* max-width: 522px; */
        width: 100%;
        margin: 0 auto;
    }
}


@media (max-width: 767px) {
    .james_justify_content-between .james_order-1 {
        display: none;
    }
}


@media screen and (max-width: 576px) {

    .content__container {
        padding: 60px 0 0px;
    }

    .content__container section:not(:last-child) {
        padding-bottom: 100px;
    }

    .img img {
        height: 202px;
    }


    .img,
    .explore-box {
        margin-top: 24px;
    }



    .title {
        font-size: 36px;
        line-height: 40px;
        margin-bottom: 24px;
    }

    .sidebar__buttons .sidebar__buttons--link {
        width: 100%;
        margin-bottom: 0px !important;
    }

    .sidebar .sidebar__buttons {
        gap: 16px;
    }

    .sidebar.active {
        top: calc(100% - 454px);
    }

    .sidebar .sidebar__sections--wrap::before {
        height: 100px;
    }

}