.background {
    position: absolute;
}

.background .top-offset {
    margin-top: -600px;
}

.page-header {
    margin-bottom: 135px;
}

.page-header .excerpt {
    margin-bottom: 2rem;
}

.page-header .header-button {
    margin: 10px 0px;
}

.page-header .featured-image-wrapper {
    width: 100%;
}

.featured-image, .is-style-featured-image img,
.featured-image img {
    width: 100%;
    margin: auto;
    height: auto;
    max-width: 650px;
    border-radius: 250px 170px 170px 100px !important;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.page-content h1 {
    margin-bottom: 80px;
}

.content-header {
    margin: auto;
    max-width: 900px;
}

.admissions-requirements .requirement .requirement-image {
    height: auto;
    max-width: 120px;
    margin-bottom: 20px;
}

.admissions-requirements .requirement .requirement-title {
    font-size: 11pt;
    font-weight: 500;
}

.admissions-cards {
    margin-bottom: 60px;
}

.admissions-cards .card {
    border: none;
    padding: 0px;
    min-height: 470px;
    box-shadow: 0px 4px 12px -5px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    margin-bottom: 25px;
}

.admissions-cards .card a {
    text-decoration: underline;
}

.admissions-cards .card.active {
    background: #25408F;
    color: white;
}

.admissions-cards .card.active .card-title {
    color: white;
}

.admissions-cards .card.active a {
    color: white;
}

.admissions-cards .card.active a:hover {
    color: #f77979;
}



.admissions-cards .card.passed {
    background: #E8E8E8;
    color: #949494;
}

.admissions-cards .card.passed .card-title {
    color: #949494;
}

.admissions-cards .card .card-title {
    /* margin-bottom: 35px; */
}

.admissions-cards .card .card-date {
    display: block;
    margin-bottom: 40px;
}

.admissions-cards .card .card-body {
    padding: 21px;
}

.admissions-faq .accordion {
    
}

.admissions-faq .accordion .accordion-item {
    box-shadow: 0px 4px 12px -5px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    background-color: #fff;
}

/* ========================================================================== */
/* Block: Accordion plugin */
/* ========================================================================== */

.c-accordion__title {
    outline: none;
    padding: 4px 2rem 4px 4px;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0;
}

.c-accordion__content {
    padding: 1em 4px 0px 4px;
    padding-top: 1em;
    padding-left: 4px;
}

.c-accordion__title:after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    top: 4px;
    width: 1.25rem;
    height: 1.25rem;
    content: "";
    transform: rotate(0deg);
    flex-shrink: 0;
    margin-left: auto;
    background-size: 1.25rem;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform .2s ease-in-out;
}

.is-open>.c-accordion__title:after {
    content: "";
    transform: rotate(180deg);
}

.wp-block-pb-accordion-item {
    box-shadow: 0px 4px 12px -5px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 1.5rem;
    background-color: #ffdcdc;
    transition: background ease 0.4s;
}

.wp-block-pb-accordion-item.is-open {
    background-color: #fff;
}

.admissions-faq .accordion .accordion-button {
    border: none;
    font-weight: 500;
    border-radius: 10px !important;
    background-color: #ffdcdc;
}

.admissions-faq .accordion .accordion-button:not(.collapsed) {
    color: #212529;
    background-color: #fff;
}

.admissions-faq .accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.admissions-testimonials {
    margin-top: 120px;
    margin-bottom: 20px;
}

.admissions-testimonials .swiper-wrapper {
    padding-bottom: 20px;
}

.admissions-testimonials .card {
    min-height: auto;
    margin-bottom: 0px;
    background: #25408F;
    color: #fff;
}

.admissions-testimonials .card .card-body {
    padding: 2.5rem;
}

.admissions-testimonials .card .card-title {
    color: #fff;
    font-weight: 400;
    white-space: nowrap;
}

.admissions-testimonials .card .card-meta {
    color: #fff;
    display: block;
    font-weight: 300;
}

.tpl-content-exerpt {
    max-width: 800px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* .admissions-testimonials .testimonial:nth-child(2n-1) {
    padding-right: 2%;
}

.admissions-testimonials .testimonial:nth-child(2n) {
    padding-left: 2%;
} */

.admissions-testimonials .testimonial .card .card-image {
    width: 150px;
    height: 100px;
    border-radius: 50px 100px 50px 50px;
    margin-bottom: 20px;    
    background-size: cover;
    background-position: center;
}

.admissions-testimonials .testimonial .card .card-text {
    font-size: 11.5pt;
    font-weight: 300;
    height:  150px;
    -webkit-mask-image: linear-gradient(to bottom, #25408F 25%, transparent 90%);
    mask-image: linear-gradient(to bottom, #25408F 25%, transparent 90%);
}

/* ========================================================================== */
/* Layer overlay */
/* ========================================================================== */
.layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 101;
    color: #fff;
    display: none;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
}

.layer.active {
    display: flex;
}

.layer .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 101;
    background-color: #2c4692;
    background-color: rgb(44, 70, 146, 0.95);
}

.layer .layer-modal {
    width: 100%;
    padding: 25px;
    position: relative;
    max-width: 1150px;
}

.layer .content {
    width: 100%;
    z-index: 102;
    position: relative;
    overflow: hidden;
    max-height: 600px;
}

.layer .layer-content-wrapper {
    display: flex;
    position: relative;
    flex-flow: row nowrap;
    justify-content: space-between;
}

.layer .navigation {
    width: 100%;
    height: 130px;
    display: flex;
    z-index: 102;
    position: relative;
    align-items: flex-end;
    justify-content: center;
}

.layer .navigation.swiper-controls .arrow-buttons {
    margin: 0px 0px 25px 0px;
}

.layer .content .content-left {
    width: calc(58% - 50px);
    height: 500px;
    display: block;
    position: relative;
    padding-right: 60px;
}

.layer .simplebar-track.simplebar-vertical {
    width: 7px;
    background-color: #263c7d;
}

.layer .simplebar-track.simplebar-vertical .simplebar-scrollbar::before {
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    opacity: 0.3;
    background: #fff;
    border-radius: 0px;
}

.layer .content .content-right {
    width: 42%;
    height: 500px;
    text-align: center;
}

.layer .content .content-image {
    width: auto;
    height: auto;
    max-height: calc(100% - 84px);
    max-width: 100%;
    margin-top: 84px;
    border-radius: 90px 180px 90px 90px;
}

.layer .content .content-image.portrait {
    border-radius: 90px 150px 90px 90px;
}

.layer .content .content-left .content-image {
    margin-top: 0px;
    margin-bottom: 20px;
    max-width: 350px;
    width: 100%;
}

.layer .dismiss {
    top: 10px;
    right: 10px;
    border: none;
    outline: none;
    z-index: 103;
    padding: 0;
    position: absolute;
    background-color: transparent;
}

.dismiss img {
    pointer-events: none;
}

.layer .layer-title,
.layer .layer-meta {
    color: white;
}

.layer .layer-meta {
    display: block;
}
/* .admissions-testimonials .testimonial .card .card-image {
    width: 100%;
    margin: auto;
    height: 160px;
    max-width: 600px;
    border-radius: 50px 30px 60px 20px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
} */

.pisa-results-cards {
    max-width: 1240px;
    margin: 0 auto;
    justify-content: center;
}

.pisa-result-header {
    width: 100%;
}

.pisa-result-stylized-title svg {
    width: 100%;
}

.pisa-result {
    display: flex;
    flex-direction: column;
    background: #e5e5e5;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 15px;
    align-items: center;
    text-align: center;
    padding: 40px 20px 20px;
    margin-bottom: 2em;
}

.pisa-result-img {
    margin-bottom: 24px;
    height: 140px;
}

.pisa-result-stylized-title {
    height: 70px;
}

.pisa-result-footnote {
    text-align: left;
    font-size: 0.8rem;
    color: #838383;
    align-self: flex-start;
}



@media (max-width: 1500px) {
    .page-header {
        margin-bottom: 110px;
    }

    .page-header .featured-image-wrapper .featured-image {
        max-width: 600px;
    }

    .featured-image, .is-style-featured-image img, .featured-image img {
        border-radius: 230px 150px 150px 90px !important
    }
}

@media (max-width: 1300px) {
    .page-header {
        margin-bottom: 90px;
    }

    .page-content h1 {
        margin-bottom: 60px;
    }

    .admissions-testimonials {
        margin-top: 100px;
    }
}

@media (max-width: 991px) {
    .page-header {
        margin-bottom: 70px;
    }

    .page-content h1 {
        margin-bottom: 40px;
    }

    .admissions-testimonials {
        margin-top: 80px;
    }

    .layer {
        justify-content: flex-start;
    }

    .layer .layer-modal {
        margin-top: 60px;
    }
}

@media (max-width: 767px) {
    .background .blob.big-blob {
        height: 680px;
        background-position: 45% center;
    }

    .background .blob.bottom-right-blob {
        height: 1000px;
        background-position: 57% center;
    }

    .background .blob.bottom-left-blob {
        height: 1000px;
        background-position: 46% center;
    }

    .background .blob.top-offset {
        margin-top: -300px;
    }
    
    .page-header {
        min-height: initial;
        margin-bottom: 60px;
    }

    .page-header .featured-image-wrapper .featured-image {
        height: initial
    }

    .featured-image, .is-style-featured-image img,
    .featured-image img {
        width: 100%;
        height: auto;
    }

    .admissions-testimonials {
        margin-top: 70px;
    }

    .layer .layer-modal {
        height: calc(100% - 60px);
    }

    .layer .content {
        height: 100%;
        max-height: calc(100% - 100px);
        margin-top: 35px;
    }

    .layer .content .content-left {
        width: 100%;
        height: 100% !important;
        padding-right: 40px;
    }

    .layer .content .content-right {
        display: none;
    }

    .layer .navigation {
        height: 90px;
    }
}

@media (max-height: 700px) {
    .layer .content .content-right,
    .layer .content .content-left {
        height: 450px;
    }
}

@media (max-height: 650px) {
    .layer {
        justify-content: flex-start;
    }
}

@media (max-width: 460px) {
    .featured-image, .is-style-featured-image img, .featured-image img {
        border-radius: 130px 130px 100px 50px !important;
    }
}