/**
 * Class has suffix -e defines an intermediary class to styles an elementor class
 */

html,
body {
    scroll-behavior: smooth;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

/* ========== LIST ========== */
/* LIST: CUSTOM STYLE */
.list-style1 {
    list-style-type: none;
}

.list-style1 li {
    position: relative;
}

.list-style1 li::before {
    content: "";
    display: inline-block;
    background-image: url('/wp-content/uploads/common/dot-yellow.svg');
    border-radius: 50%;
    width: 16px;
    height: 16px;
    position: absolute;
    left: -27px;
    top: 3px;
}

.list-style2 .highlight {
    font-weight: 800;
    color: var(--color-caramel);
}

.list-style2 {
    list-style-type: none;
}

.list-style2 li {
    position: relative;
}

.list-style2 li::before {
    content: "";
    display: inline-block;
    background-image: url('/wp-content/uploads/common/icon-checked-radio.png');
    border-radius: 50%;
    width: 16px;
    height: 16px;
    position: absolute;
    left: -27px;
    top: 3px;
}

.list-style2 .highlight {
    font-weight: 800;
    color: var(--color-caramel);
}

/* LIST: SOCIAL STYLE */
.list-social {
    list-style-type: none;
    display: inline-flex;
    padding: 0;
}

.list-social.has-background {
    background: var(--color-shadow-white-100);
    border-radius: 50px;
    padding: 10px;
    column-gap: 25px;
}

/* Effects */
.list-social .list-social-item img.hover,
.list-social .list-social-item:hover>a>img:not(.hover) {
    display: none;
}

.list-social .list-social-item:hover>a>img.hover {
    display: inline-block;
}

/* LIST: ROW GAP BETWEEN ITEMS */
.list-row-gap li {
    margin-bottom: 24px;
}

/* ========== BUTTON ========== */
/* BUTTON: DOWNLOAD */
.btn-download {
    display: flex;
    align-items: center;
    position: relative;
    width: 535px;
    height: 87px;
    background-color: var(--color-cream-200);
    color: var(--color-primary);
    font-size: 24px;
    font-weight: bold;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
    overflow: hidden;
    padding: 10px;
    transition: border-color 0.3s linear;
}

.btn-download-text {
    display: block;
    line-height: 1.4;
    text-align: center;
    align-content: center;
    width: 65%;
    height: 100%;
    overflow-wrap: anywhere;
    overflow: hidden;
    margin-left: 15%;
}

button.btn-download-icon,
button.btn-download-icon:hover {
    width: 70px;
    height: 70px;
    padding: 10px 15px;
    color: var(--color-white);
    border: 0;
    font-size: 30px;
    border-radius: 8px;
    background-color: var(--color-accent);
    transition: background-color 0.3s linear;
    position: absolute;
    right: 10px;
}

button.btn-download-icon i,
button.btn-download-icon:hover i {
    position: absolute;
    inset: 0;
    top: 25%;
}

.btn-download.btn-sm {
    width: 336px;
}

.btn-download.btn-sm .btn-download-text {
    margin-left: 8%;
}

/* BUTTON */
.btn-primary-e .elementor-button {
    border-radius: 50px !important;
    padding: 18.5px 42px !important;
    background-color: var(--color-primary) !important;
}

.btn-primary-e.btn-lg .elementor-button {
    padding: 37.5px 86.5px !important;
}

.btn-primary-e.btn-sm .elementor-button {
    padding: 9px 11px !important;
}

.btn-primary-e .elementor-button:hover {
    background-color: var(--color-accent) !important;
}

/* BUTTON: ARROW */
.btn-arrow-e.btn-lg .elementor-button {
    padding: 20px;
}

.btn-arrow-e.btn-lg .elementor-button-content-wrapper {
    font-size: 24px;
}

/* BUTTON: ROTATING ARROW */
.btn-arrow-e .elementor-button {
    padding: 1rem;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.btn-arrow-e.add-border .elementor-button {
    border: 3px solid var(--color-white);
}

.btn-arrow-e.btn-sm .elementor-button {
    width: 30px;
    height: 30px;
    padding: 0;
}

.btn-arrow-e.btn-sm .elementor-button .elementor-button-content-wrapper {
    width: 100%;
    height: 85%;
    align-items: center;
}

.btn-arrow-e.btn-sm .elementor-button .icon {
    font-size: 50%;
}

/* BUTTON: SLIDING ARROW */
.btn-arrow-slide-e .elementor-swiper-button {
    width: 48px;
    height: 48px;
    border-radius: 50px;
    background-color: var(--color-black);
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.5);
    place-items: center;
    justify-content: center;
}

/* BUTTON: READ MORE */
.btn-readmore-e .elementor-button {
    font: italic 500 16px/normal "Raleway", Sans-serif;
    color: var(--color-secondary);
    background-color: var(--color-transparent);
    padding: 0;
}

.btn-readmore-e .elementor-button:visited {
    color: var(--color-secondary);
}

.btn-readmore-e .elementor-button:hover {
    color: var(--color-assist);
}

/* BUTTON: SEE MORE */
.btn-seemore-e .elementor-button:hover span.elementor-button-content-wrapper {
    color: var(--color-assist);
}

.btn-seemore-e.on-news .elementor-button:hover span.elementor-button-content-wrapper {
    color: var(--color-ruby);
}

.btn-seemore-e .elementor-button span.elementor-button-icon {
    transform-origin: left;
    transition: transform 0.3s ease;
}

.btn-seemore-e .elementor-button:hover span.elementor-button-icon {
    transform: scaleX(1.3);
}

.btn-seemore-e .elementor-button-text {
    text-wrap-mode: nowrap;
}

/* BUTTON: TAB */
.btn-tab-e .elementor-button,
.btn-tab-e .elementor-button:hover,
.btn-tab-e .elementor-button:visited {
    width: 100%;
    height: 75px;
    border-radius: 15px;
    align-content: center;
    background-color: var(--color-stone-dessert);
    font-size: 24px;
    color: var(--color-black);
}

.btn-tab-e .elementor-button.tab-active,
.btn-tab-e .elementor-button.tab-hover,
.btn-tab-e.active .elementor-button {
    background-color: var(--color-primary);
    color: var(--color-white);
    font-weight: bold;
}

/* BUTTON: ROTATING ARROW */
.btn-popup {
    border-radius: 50px;
    width: 34px;
    height: 34px;
    padding: 16px;
    position: relative;
    border: 0;
}

.btn-popup svg {
    position: absolute;
    inset: 25%;
    fill: var(--color-white);
    transition: transform 0.2s linear;
}

.btn-popup.next:hover svg {
    transform: translateX(5px);
}

.btn-popup.prev:hover svg {
    transform: translateX(-5px);
}

/* ========== BACKGROUND ========== */
/* Make a background glass */
.bg-glass-style1 {
    background: rgba(255, 255, 255, 0.48);
    border-radius: 16px;
    box-shadow: 1px 1px rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(30px) brightness(0.9);
    -webkit-backdrop-filter: blur(30px) brightness(0.9);
}

.bg-glass-style2 {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 1px 1px rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(30px) brightness(93%);
    -webkit-backdrop-filter: blur(30px) brightness(93%);
}

.bg-glass-style3 {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 20px;
}

.bg-glass-style4 {
    backdrop-filter: blur(38px) brightness(115%);
    box-shadow: 0 3px 6px var(--color-cream-200);
}

.bg-news-events-shape {
    height: 53.5% !important;
}

/* ========== FONT ========== */
.text-date time {
    font: italic 500 14px/normal "Raleway", Sans-serif;
    color: var(--color-stone-200);
}

.text-list::before {
    content: "●";
    position: absolute;
    top: -15px;
    left: -30px;
    font-size: 30px;
    color: var(--color-assist);
}

/* ========== IMAGE ========== */
/* MASK: PILL SHAPE */
.mask-pill {
    display: inline-block;
    overflow: hidden;
    border-radius: 500px;
}

.mask-pill img {
    border-radius: inherit;
}

/* MASK: ROUNDED SQUARE SHAPE */
.mask-rounded-square {
    display: inline-block;
    overflow: hidden;
    border-radius: 20px;
}

.mask-rounded-square img {
    border-radius: inherit;
}

/* ACCORDION: CUSTOM STYLE 1 */
.accordion-style1 details {
    row-gap: 10px;
}

.accordion-style1 details summary {
    border-radius: 50px !important;
    padding: 10px 20px !important;
    font-weight: bold;
}

.accordion-style1 details>div.elementor-element {
    border-radius: 25px !important;
    padding: 30px 20px !important;
    margin-bottom: 10px;
}

.accordion-style1 details summary,
.accordion-style1 details>div.elementor-element {
    border: 0 !important;
}

/* ACCORDION: COLOR */
/* STYLE 1 */
.acrd-color-style1 details summary {
    background-color: var(--color-cream-200);
}

.acrd-color-style1 details>div.elementor-element {
    background-color: var(--color-stone-50);
}

/* STYLE 2 */
.acrd-color-style2 details summary {
    background-color: var(--color-white);
}

.acrd-color-style2 details>div.elementor-element {
    background-color: var(--color-cream-200);
}

.acrd-color-style2 details[open] summary .e-n-accordion-item-title-text {
    color: var(--color-caramel);
}

/* ACCORDION: ICON */
/* STYLE 1 */
.acrd-icon-style1 .e-n-accordion-item-title-icon svg {
    fill: var(--color-cream-200) !important;
}

.acrd-icon-style1 .e-n-accordion-item-title-icon .e-opened,
.acrd-icon-style1 .e-n-accordion-item-title-icon .e-closed {
    background-color: var(--color-caramel);
    padding: 5px 6px;
    border-radius: 50px;
    width: 100%;
    height: auto;
}

.acrd-icon-style1 .e-n-accordion-item-title-icon .e-closed {
    background-color: var(--color-desert);
}

/* STYLE 2 */
.acrd-icon-style2 .e-n-accordion-item-title-icon svg {
    fill: var(--color-white) !important;
    width: 7px;
    height: auto !important;
}

.acrd-icon-style2 .e-n-accordion-item-title-icon .e-opened,
.acrd-icon-style2 .e-n-accordion-item-title-icon .e-closed {
    background-color: var(--color-caramel);
    padding: 5px 6px;
    border-radius: 50px;
    width: 100%;
    height: auto;
}

.acrd-icon-style2 .e-n-accordion-item-title-icon .e-closed {
    background-color: var(--color-stone-150);
}

/* ========== SKIN ========== */
/* skin-[color]-[backgroundColor]-[borderColor] */
/* [borderColor] */
.skin-0-0-primary {
    border-color: var(--color-primary) !important;
}

.skin-0-0-secondary {
    border-color: var(--color-secondary) !important;
}

.skin-0-0-assist {
    border-color: var(--color-assist) !important;
}

/* [color] */
.skin-primary-0-0 {
    color: var(--color-primary) !important;
}

.skin-secondary-0-0 {
    color: var(--color-secondary) !important;
}

.skin-assist-0-0 {
    color: var(--color-assist) !important;
}

/* [backgroundColor] */
.skin-0-primary-0 {
    background-color: var(--color-primary) !important;
}

.skin-0-secondary-0 {
    background-color: var(--color-secondary) !important;
}

.skin-0-assist-0 {
    background-color: var(--color-assist) !important;
}

.skin-0-cream-0 {
    background-color: var(--color-cream) !important;
}

.skin-0-desert-0 {
    background-color: var(--color-desert) !important;
}

/* [color]-[backgroundColor] */
.skin-assist-white-0 {
    color: var(--color-assist) !important;
    background-color: var(--color-white) !important;
}

.skin-secondary-assist-0 {
    color: var(--color-secondary) !important;
    background-color: var(--color-assist) !important;
}

.skin-assist-secondary-0 {
    color: var(--color-assist) !important;
    background-color: var(--color-secondary) !important;
}

/* [others] */
.root-skin-press-down {
    transition: transform 0.2s linear;
}

.skin-press-down {
    transform: translateY(5px);
}

.skin-img-scale {
    transform: scale(1.5);
}

.skin-btn-rotate {
    transform: rotate(var(--rotate-45));
}

.root-skin-hidden {
    visibility: visible;
}

.root-skin-visible {
    visibility: hidden;
}

.skin-hidden {
    visibility: hidden;
}

.skin-visible {
    visibility: visible;
}

/* .skin-move-right {
    transform: translateX(5px);
} */

/* Exception: Elementor img */
.to-img-e img {
    transition: transform 0.3s;
}

.to-btn-e .elementor-button {
    transition: transform 0.3s;
}

/* NESTED HOVER READMORE */
.nested-hover-readmore:hover .elementor-heading-title {
    color: var(--color-secondary);
}

.nested-hover-readmore:hover span.elementor-button-content-wrapper {
    color: var(--color-assist);
}

/* ========== BORDER ========== */
.rounded-divider-e .elementor-divider-separator {
    border-radius: 5px;
}

/* ========== LABEL ========== */
.label-highlight {
    width: fit-content;
    padding: 2px 18px;
    border-radius: 5px;
    font-weight: 600;
}

/* ========== CARD: Style 1 ========== */
.card-style1,
.card-style1.card-e-con.e-con {
    background-color: var(--color-stone);
    border-radius: 15px;
    justify-content: center;
    width: 76px;
    height: fit-content;
    gap: 0;
    padding: 5px;
}

.card-style1 .card-content {
    background-color: var(--color-stone-200);
    border-radius: 10px;
    /* justify-content: end; */
    gap: 0;
    padding: 5px;
    height: 55px;
    place-items: center;
}

.card-style1 .text-month time,
.card-style1 .text-day time {
    color: var(--color-white);
}

.card-style1 .text-year time {
    color: var(--color-black);
}

.card-style1 .text-month {
    /* height: 15px; */
}

.card-style1 .text-day {
    height: 75px;
}

.card-style1,
.card-style1.card-e-con.e-con.mobile {
    width: auto;
    height: 100%;
}

.card-style1.mobile .text-month,
.card-style1.mobile .text-day {
    height: 100%;
}

/* ========== CARD: Vertical ========== */
.card-vertical,
.card-vertical.e-con {
    height: 803px;
    background-color: var(--color-cream);
    border: 3px solid var(--color-secondary);
    border-radius: 20px;
    padding: 39px;
}

.card-vertical .elementor-widget-image img {
    height: 427px;
    border-radius: 25px;
    object-fit: cover;
    object-position: top center;
}

.card-vertical .elementor-heading-title {
    color: var(--color-primary);
    margin-top: 1rem;
}

/* ========== CARD: Horizontal ========== */
.card-horizontal,
.card-horizontal.e-con {
    height: 358px;
    background-color: var(--color-cream);
    border-radius: 20px;
    padding: 25px;
}

.card-horizontal.e-con-full.e-flex {
    flex-direction: row;
}

.card-horizontal .elementor-widget-image img {
    height: 312px;
    border-radius: 20px;
    object-fit: cover;
    object-position: top center;
}

.card-horizontal .elementor-heading-title {
    color: var(--color-primary);
}

.card-horizontal .elementor-widget-text-editor {
    margin-top: 1rem;
}

.card-horizontal .card-content {
    padding: 40px 10px;
}

.card-horizontal .elementor-heading-title {
    text-transform: uppercase;
}

/* ========== COLOR ========== */
/* TEXT */
.text-black-e .elementor-heading-title {
    color: var(--color-black);
}

.text-white-e .elementor-heading-title {
    color: var(--color-white);
}

.text-heading-title {
    color: var(--color-secondary);
    font-family: "Raleway", Sans-serif;
    font-weight: 700;
}

/* Smoothly scroll */
html {
    scroll-behavior: smooth;
}

/* ========== CAROUSEL ========== */
/* STYLE 1 */
.carousel-style1 .elementor-widget-container {
    background-color: var(--color-caramel);
    color: var(--color-white);
    padding: 4px;
    border-radius: 50px;
}

.carousel-style1 .elementor-heading-title {
    text-align: center;
}

.carousel-style1 .elementor-swiper-button {
    background-color: var(--color-white);
    border-radius: 50px;
}

.carousel-style1.elementor-widget-loop-carousel .elementor-swiper-button.elementor-swiper-button-prev svg,
.carousel-style1.elementor-widget-loop-carousel .elementor-swiper-button.elementor-swiper-button-next svg {
    fill: var(--color-secondary);
    width: 20px;
    height: 20px;
}

.carousel-style1.elementor-widget-loop-carousel.elementor-element :is(.swiper, .swiper-container)~.elementor-swiper-button-prev {
    left: 6px;
    padding: 10px 12px 10px 8px;
}

.carousel-style1.elementor-widget-loop-carousel.elementor-element :is(.swiper, .swiper-container)~.elementor-swiper-button-next {
    right: 6px;
    padding: 10px 8px 10px 12px;
}

.carousel-style1.elementor-widget-loop-carousel .elementor-swiper-button.elementor-swiper-button-prev:hover svg {
    fill: var(--color-secondary);
}

.carousel-style1.elementor-widget-loop-carousel .elementor-swiper-button.elementor-swiper-button-next:hover svg {
    fill: var(--color-secondary);
}

/*  */
.social-icons-hover-e.secondary a:hover svg path {
    fill: var(--color-secondary);
}

/* Hide corresponding sidebar menu category */
body.sis-cat-news #sidebar-menu-cat-news,
body.sis-cat-events #sidebar-menu-cat-events,
body.sis-cat-newsletters #sidebar-menu-cat-newsletter {
    display: none;
}

a.highlight-cat-link {
    text-decoration: underline !important;
    font-weight: bold !important;
    color: var(--color-primary) !important;
}

/* ========== TAG: YEAR ========== */
.tag-year {
    display: inline-block;
    width: 70px;
    height: 70px;
    background-color: var(--color-primary);
    border-radius: 50px;
    padding: 5px;
    align-content: center;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: var(--color-white);
    border: 3px solid var(--color-white);
}

/* ========== TAG: CONTROL ========== */
.tag-year-control {
    position: absolute !important;
    bottom: 15px;
    left: 15px;
}

/* ========== CARD: Horizontal Custom ========== */
.card-horizontal:nth-child(1),
.card-horizontal:nth-child(4) {
    background-color: var(--color-cream-200);
}

.card-horizontal:nth-child(2).e-con-full.e-flex,
.card-horizontal:nth-child(3).e-con-full.e-flex {
    flex-direction: row-reverse;
}

.card-horizontal:nth-child(1) .tag-year,
.card-horizontal:nth-child(4) .tag-year {
    background-color: var(--color-assist);
}

.card-horizontal:nth-child(1) .tag-year-control,
.card-horizontal:nth-child(4) .tag-year-control {
    left: unset;
    right: 15px;
}

/* EFFECTS */
/* Slide-up effect */
/* .slide-up {
    animation: slideUp 0.5s ease-in-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-down {
    animation: slideDown 0.5s ease-in-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0px);
    }
} */

/* Fade-in effect */
/* .fade-in {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.fade-in.active {
    opacity: 1;
} */

.slide-down {
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.slide-down.active {
    transform: translateY(0);
    opacity: 1;
}

/* ========== GALLERY STYLE 1 ========== */
.gallery-style1 .e-gallery-item .elementor-gallery-item__content {
    height: 50px !important;
    /* height: auto !important; */
    inset: auto !important;
    bottom: 0 !important;
    margin: 0;
    padding: 0;
}

.gallery-style1 .e-gallery-item .elementor-gallery-item__content .elementor-gallery-item__title {
    background-color: var(--color-shadow-accent);
    height: 100% !important;
    place-content: center;
    line-height: normal;
    padding: 5px;
    /* padding: 10px; */
}

.gallery-style1 .elementor-gallery-item__overlay {
    background-color: transparent !important;
}

/* HOVER: Elementor Title */
.text-hover.hover-yellow-50 .elementor-heading-title:hover {
    color: var(--color-yellow-50) !important;
}

/* Link */
body a {
    color: var(--color-primary);
}

.text-bottom-line {
    border-bottom: 1px solid;
}

.elementor-widget-heading .elementor-heading-title[class*=elementor-size-]>a {
    line-height: normal !important;
}

/* Custom Bootstrap Table */
.table>:not(caption)>*>* {
    color: inherit;
}

/* Translate */
.text-translate {
    display: none;
}

html[lang="vi"] .text-translate.vi {
    display: block;
}

html[lang="en-GB"] .text-translate.en {
    display: block;
}

/* ========== ELEMENTOR: Image ========== */
.sis-page-international-programme .custom-elementor img,
.sis-page-integrated-programme .custom-elementor img {
    width: 100%;
    height: auto !important;
}

.sis-page-international-programme .custom-elementor,
.sis-page-integrated-programme .custom-elementor {
    width: 100%;
    height: calc(100% - 50px);
}

.custom-elementor#highlight-programme {
    width: 120%;
}

/* COMMON */
.grid-2-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.list-bullets-primary li::marker {
    color: var(--color-primary);
}

.list-bullets-secondary li::marker {
    color: var(--color-secondary);
}

.pm0-e p {
    margin: 0;
}

.img-100-e img {
    width: 100%;
}

.left-side .main-heading {
    height: 160px;
}

.d-none {
    display: none;
}

.z-max {
    z-index: 2147483647;
}

.z-min {
    z-index: -2147483647;
}

.no-scroll {
    position: fixed;
    width: 100%;
    overflow: hidden;
    overscroll-behavior: none;
}

.grecaptcha-badge {
    opacity: 0;
}

.sis-page-study-pathway .btn-arrow-e.btn-lg {
    margin: auto 0;
}

/* Space for list */
body.single .elementor-widget-theme-post-content ul,
body.single .elementor-widget-theme-post-content ol {
    margin-block-end: revert;
}

body.single .elementor-widget-theme-post-content div.wp-block-image {
    margin-bottom: 0.9rem;
}

body.single div.wp-block-image .aligncenter {
    margin-left: auto !important;
    margin-right: auto !important;
}

body.single .gallery {
    display: grid;
    grid-template-columns: auto;
    column-gap: 15px;
    justify-content: center;
}

body.single .gallery.gallery-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

body.single .gallery.gallery-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

body.single .gallery .gallery-icon.landscape {
    height: 100%;
}

body.single .gallery .gallery-icon.landscape img {
    height: 100%;
    object-fit: cover;
}