.sidebar {
    padding-top: 84px;
}

figure {
    margin: 0 0 1em;
}

.content__container {
    padding-bottom: 0;
}

.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;
}



/* sidebar */

.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;
}

.james_justify_content-between {
    flex-wrap: nowrap;
    justify-content: space-between;
}

.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: 36px;
}

.section-content .wrap-dropdown .dropdown-content:first-child .dropdown-content__header {
    border-top: 1px solid rgb(229, 229, 229);
}

.section-content .title {
    margin-bottom: 36px;
}

.section-content .wrap-dropdown .dropdown-content .dropdown-content__header {
    border-top: none;
}

.section-content .text-content {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: rgba(34, 34, 34, 1);
    margin-bottom: 36px;
}

.section-content .text-content p {
    margin-bottom: 12px;
}

.section-content .dropdown-content li {
    padding-left: 8px;
}

.section-content .box__wrap-contact {
    display: flex;
    flex-wrap: wrap;
    margin-top: 36px;
}

.section-content .wrap-contact {
    display: flex;
    align-items: center;
    margin-right: 40px;
    font-size: 16px;
    line-height: 24px;
}

.section-content .wrap-contact img {
    transform: translateX(0px);
    transition: all 0.5s linear;
}

.section-content .wrap-contact:hover img {
    transform: translateX(6px);
}

.section-content .wrap-contact img:nth-child(2) {
    margin-left: 8px;
}

.section-content .wrap-contact img {
    margin-left: 20px;
}

.section-content .bannerImg {
    margin-top: 36px;
}

.section-content .wrap-dropdown {
    margin-top: 36px;
}

.section-content h2 {
    margin-top: 20px;
    margin-bottom: 36px;
}

.section-content h3 {
    margin-top: 36px;
    margin-bottom: 16px;
    font-size: 24px;
    line-height: 28px;
    font-family: 'Halyard Text';
}

.section-content .bannerImg img {
    width: 100%;
    height: auto;
}

.section-content li,
.section-content p {
    color: var(--black, #222);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.section-content ul {
    margin: 0;
}

.section-content ul li {
    padding-bottom: 0;
    margin-bottom: 0;
    margin-top: 12px;
}

.section-content .wrap-link {
    display: flex;
    flex-wrap: wrap;
}

.section-content .wrap-link .link {
    width: 50%;
    margin-bottom: 0;
}

.section-content .link li {
    color: var(--primary-blue, #00196e);
}

.section-content .link.default li {
    color: var(--black, #222);
}

.section-content .wrap-contact .cta {
    font-size: 18px;
    color: var(--primary-blue, #00196e);
}

.section-content .wrap-contact img {
    margin-left: 8px;
}

.type-block.teaser .block-inner h2 {
    font-size: 48px;
    margin-bottom: 16px;
}

.dropdown-content__header__title p {
    color: var(--dark-grey, #8a8a8a);
    font-size: 24px;
    margin: 0;
}

.dropdown-content__content img {
    width: 100%;
}

.section-content .wrap-contact img {
    width: auto;
    height: auto;
}

.dropdown-content__content .sub-text {
    font-size: 14px;
    line-height: 20px;
    color: rgba(138, 138, 138, 1);
}

.section-content .bannerImg {
    margin-top: 36px;
}

.section-content .bannerImg img {
    width: 100%;
    height: auto;
}

/* .box__width-team {
    margin-right: -40px;
} */

.wrap-mems__team {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px 24px;
    /* justify-content: space-evenly; */
}

.wrap-mems__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 116px;
}

.wrap-info__img {
    border-radius: 50%;
    display: block;
}

.wrap-info__img img {
    width: 116px;
    height: 116px;
    object-fit: cover;
    border-radius: 50%;
}

.wrap-info__name {
    margin-top: 16px;
    font-size: 16px;
    line-height: 24px;
    color: var(--primary-blue, #00196e);
    text-align: center;
    display: block;
}

/* student-affairs2 */
.wrap-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 64px;
}

.heading {
    font-size: 18px;
    line-height: 24px;
    color: var(--primary-blue, #00196e) !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    margin: 0px 0 16px !important;
    font-family: 'Halyard Text';
}

.sub-title {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: rgba(138, 138, 138, 1) !important;
    margin-top: 16px;
    font-family: 'Halyard Text';
}

.wrap-header .img-avatar {
    /* border-radius: 50%; */
}

.wrap-header .img-avatar img {
    height: 224px;
    border-radius: 50%;
    width: 224px;
    object-fit: cover;
}

.cta-back {
    margin-left: 4px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    line-height: 20px;
    color: rgba(138, 138, 138, 1);
    margin-top: 36px;
}

.dropdown-content_wrap {
    max-width: 643px;
}

.wrap-contact a .image:hover {
    filter: invert(73%) sepia(91%) saturate(1607%) hue-rotate(342deg) brightness(102%) contrast(101%);
}

/* hero */
.hero2 {
    position: relative;
}

.hero2 .hero__banner-dk {
    display: block;
}

.hero2 .hero__banner-mb {
    display: none;
}

.hero2 .hero__banner2 {
    position: relative;
}

.hero2 .hero__banner2 img {
    width: 100%;

    height: auto;

    object-fit: cover;
}

.hero2 .hero__content {
    position: absolute;

    bottom: 68px;

    left: 50%;

    transform: translateX(-50%);

    padding: 0;
}

.hero2 .hero__content .hero__heading {
    font-size: 72px;

    line-height: 72px;

    font-weight: 400;

    color: rgba(0, 25, 110, 1);

    text-align: center;

    /* text-shadow: 0.5px 0.5px 24px rgba(0, 0, 0, 0.4); */

    margin: 0;

    padding: 0;
}

@media (max-width: 991px) {
    .sidebar {
        padding-top: 0;
    }




    .wrap-mems__team {
        grid-template-columns: repeat(4, 1fr);
    }

    .james__news .james__news--list .james__news--item {
        margin-bottom: 0px;
    }

    .james__news .james__news--list .james_col-4:nth-child(3) {
        display: none;
    }

    /* .box__width-team {
        margin-right: -60px;
    } */

    .hero2 .hero__content {
        width: 100%;
        bottom: 40px;
    }

    .wrap-header .img-avatar img {
        width: 158px;
        height: 158px;
    }

    .title {
        font-size: 40px;
        line-height: 48px;
    }


    .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: 0;
        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;
    }

}

@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;
    }


    .hero2 .hero__banner-dk {
        display: none;
    }

    .hero2 .hero__banner-tl {
        display: block;
    }

    .hero2 .hero__banner-mb {
        display: none;
    }
}

@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;
    }

    /* .box__width-team {
        margin-right: -30px;
    } */
}

@media (max-width: 576px) {

    .title {
        font-size: 36px;
        line-height: 40px;
    }

    .dropdown-content__header__title p {
        font-size: 20px;
        line-height: 26px;
    }

    .dropdown-content__header__title.active p {
        font-size: 20px;
        line-height: 26px;
    }

    div.content__container .content-title,
    div.content__container h3 {
        max-width: 100%;
    }

    .james__news .james__news--list .james__news--item {
        margin-bottom: 30px;
    }

    .wrap-mems__team {
        gap: 30px 24px;
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        max-width: 100%;
        overflow-x: auto;
    }

    .wrap-mems__team {
        padding-right: 32px;
    }

    .box__width-team {
        position: relative;
        overflow-x: hidden;
        margin-right: 0;
    }

    .box__width-team:after {
        background: linear-gradient(90deg,
                rgba(255, 255, 255, 0) 0%,
                rgba(255, 255, 255, 1) 100%);
        content: '';
        display: block;
        position: absolute;
        top: 0;
        right: -1px;
        width: 60px;
        z-index: 2;
        height: 100%;
    }


    .hero2 .hero__banner-dk {
        display: none;
    }

    .hero2 .hero__banner-tl {
        display: none;
    }

    .hero2 .hero__banner-mb {
        display: block;
    }

    .hero2 .hero__banner2 img {
        width: 100%;
        height: auto;
    }

    .hero2 .hero__content .hero__heading {
        font-size: 48px;
        line-height: 52px;
    }

    .wrap-header {
        flex-direction: column;
        margin-bottom: 24px;
    }

    .wrap-header .img-avatar {
        text-align: left;
        margin-top: 16px;
    }

    .wrap-header .img-avatar img {
        width: 173px;
        height: 173px;
    }


    .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: 380px !important;
    }
}