@import "tctmiddleeast2025constant.css";
@import "partials/layout.css";
@import "partials/default.css";
@import "partials/navbar.css";
@import "partials/table.css";
@import "partials/home-faculty.css";
@import "partials/social-footer.css";
@import "partials/program-at-a-glance.css";


.green {
    color: #007D67 !important;
}

.darkblue {
    color: #003b5e !important;
}

.blue {
    color: #007BC2 !important;
}


.page--htmlPage h2 {
    line-height: 36px;
    margin-bottom: 0;
}

.btn {
    border-radius: 20px;
}

/*need to add this to default*/
main p, main li {
    font-size: 18px;
}

.verticalDivider {
    background-color: var(--hr);
}


/* ABOUT US */

.page--about {
    /* HIDE DEFAULT FIRST H1 TO RESIZE FONT */

    h1 {
        &.chakra-heading {
            &.css-suvkdm {
                display: none !important;
            }
        }
    }

    main.css-15gqf8j {
        p,
        ul,
        li {
            font-size: 18px;
        }
    }

    ul {
        li {
            &::marker {
                color: #fff !important;
            }
        }
    }
}

/* TOPICS, CATEGORIES, GUIDELINES */

.page--topics-categories-guidelines {
    h1 {
        &.chakra-heading {
            &.css-suvkdm {
                display: none !important;
            }
        }
    }

    table {
        &.table--borders {
            border: none !important;
            border-radius: 40px !important;
            border-spacing: 0;
            border-collapse: separate;
            /* border-left: 1px solid #dadde1 !important; */

            tr {
                /* border-left: 1px solid #dadde1 !important; */
                border-top-left-radius: 40px !important;

                th {
                    font-size: 18px;
                    font-weight: 600;
                    border-left: 1px solid #dadde1 !important;
                    border-top: 1px solid #dadde1 !important;
                    border-right: none !important;
                    border-bottom: none !important;

                    &:first-of-type {
                        border-top-left-radius: 40px !important;
                    }

                    @media screen and (max-width: 576px) {
                        font-size: 16px;
                    }
                }

                td {
                    color: #031537 !important;
                    border-left: 1px solid #dadde1 !important;
                    border-top: 1px solid #dadde1 !important;
                }

                &:nth-child(3) {
                    border-bottom-left-radius: 40px !important;

                    td {
                        border-bottom: 1px solid #dadde1 !important;

                        &:first-of-type {
                            border-bottom-left-radius: 40px !important;
                        }
                    }
                }
            }
        }
    }
}

/* TABLE ON /CONTACT-US */
.page--contact-us {
    .table--first {
        td {
            &:first-of-type {
                width: 510px;

                strong {
                    // font-size: 30px;
                }
            }

            &:nth-child(2) {
                //font-size: 24px;
                font-weight: 400;
                color: #333;
            }

            @media screen and (max-width: 850px) {
                &:first-of-type {
                    width: 300px;

                    strong {
                        // font-size: 24px;
                    }
                }

                &:nth-child(2) {
                    //font-size: 16px;
                }
            }
        }
    }
}

.rounded-corners > img, .rounded-corners {
    border-radius: 40px;
}

.highlight > div {
    background-color: #AC993E;
    border-radius: 50px;
    text-align: center;
    color: white;
    padding: 20px 15px 10px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 20px;

    a {
        color: white !important;
    }

    > div {
        /*border: solid thin red;*/
    }
}

//.courseDirectorsMatrix__outer {
//    border-bottom: solid 5px #92391F;
//}

.home .course-director-header {
    font-size: 26px !important;
    margin: 0 auto 20px auto;
    max-width: 1200px;

}

.hide-divider .verticalDivider {
    display: none;
}


@media screen and (max-width: 600px) {
    .home .course-director-header {
        margin: 0 15px 20px 15px;
    }
}

.home .courseDirectors {
    max-width: 1200px !important;
}

.tctMeSlider {
    .slick-prev, & .slick-next {
        width: 35px;
        height: 35px;

        &:before {
            display: none
        }
    }

    .slick-prev {
        left: 0px;
    }

    .slick-next {
        right: 0px;
    }
}

/* (Featured on International travel section)*/

@media (max-width: 831px) {
    hr.show-after-two-col-stack {
        display: block !important;
    }

}

/*faculty section*/
/*
.facultyIndex__page {
    .facultyIndex__courseDirectorsHeader, .facultyIndex__courseDirectorsDescription, .courseDirectors {
        display: none !important;
    }
}

#filterableFaculty {
    padding-top: 20px;
}
*/

.facultyIndex__courseDirectorsDescription--leader {
    display: none;
}

.rounded-text-box {
    font-weight: 600;
    border-radius: 20px;
    text-align: center;
    padding: 25px;
    height: 100%;

    p, h3 {
        color: #fff !important;
    }

    h3 {
        margin: 0 0 5px 0;
        text-transform: uppercase;
    }
}

.h2-bar {
    color: #fff !important;
    background-color: #003B5E;
    border-radius: 20px;
    padding: 20px;
}

.blue-wrapper > div {
    background-color: #003B5E;
    color: #fff !important;
    padding: 40px 20px;
    border-radius: 25px;

    p {
        color: #fff !important;
    }
}

.white {
    color: #fff !important;
}

.lightblue {
    color: #70C6F7 !important;
}

.upcomingDates__item {
    border-color: #C4DEED;
}

.upcomingDates__meeting {
    color: #92391F;
}

.upcomingDates__button {
    background: #007BC2;

    &:hover {
        background: #003B5E;
    }
}

.upcomingDates__icon {
    background: #007BC2;

    &:hover {
        background: #003B5E;
    }
}

/*about crf*/
.logo-lockup {
    .row {
        row-gap: 60px;
        align-items: center;
    }

    img {
        max-width: 250px;
    }

    hr {
        margin-top: 30px !important;
        border-color: transparent !important;
    }

    @media screen and (min-width: 832px) {
        hr {
            border-color: #B2BCCE !important;
        }
    }
}

.imageText--darkBg {
    > div > div {
        background-color: #003B5E;
    }

    .imageTextCombo__image {
        border-radius: 50px;
        overflow: hidden;
        border: 6px solid #fff;
    }

    .imageTextCombo__text {
        padding: 30px 50px;
        background-color: #003B5E;

        p, h2 {
            color: #fff !important;
        }

        a {
            text-decoration: underline;
        }
    }
}

/* supporters */
.supporter-tier {
    margin: 20px 0;
    padding: 25px 30px;
    border: 3px solid #ccc;
    border-radius: 30px;
    text-transform: uppercase;
    font-size: 28px;
    font-weight: 600;
}

.supporter-tier__strategic {
    background-image: linear-gradient(to left, #81BEE0, #ffffff);
    color: #00478F;
    border-color: #CAE0F0;
}

.supporter-tier__diamond {
    background-image: linear-gradient(to left, #AFD3E0, #ffffff);
    color: #003B5E;
    border-color: #E4F1F6;
}

.supporter-tier__platinum {
    background-image: linear-gradient(to left, #757A7F, #ffffff);
    color: #777777;
    border-color: #DCDEE0;
}

.supporter-tier__gold {
    background-image: linear-gradient(to left, #AE9A3F, #ffffff);
    color: #7C6A1B;
    border-color: #EDE7D2;
}

.supporter-tier__silver {
    background-image: linear-gradient(to left, #768F9C, #ffffff);
    color: #3F525C;
    border-color: #DFE7EA;
}

.supporter-tier__bronze {
    background-image: linear-gradient(to left, #86582C, #ffffff);
    color: #6B4428;
    border-color: #E7DDD1;
}

.supporter-logos {
    padding: 0 30px;
    margin: 0 0 50px;
    max-width: 1200px;

    > div > div {
        flex-wrap: wrap;
    }

    .body {
        max-width: 340px;
        flex-basis: auto;
        text-align: center;
        border: 2px solid #ddd;
        padding: 20px;

        p:nth-child(2) {
            font-weight: 500;
            margin-top: 20px;
            margin-bottom: 5px;
        }

        p:nth-child(3) {
            margin-top: 5px;
        }
    }
}

@media screen and (max-width: 831px) {
    .supporter-logos {
        .body {
            max-width: 100%;
        }
    }
}

.section-banner {
    .pageWrapper__outer {
        padding-top: 25px;
        padding-bottom: 25px;
    }
}

.keyDates__groupTitle {
    color: #003B5E;
    font-weight: 600;
    padding: 10px 10px 0 8px;

    span {
        flex: 1;
        font-weight: 500;
        font-size: 18px;
        text-align: left;
        text-transform: uppercase;
        margin-left: 10px;
        margin-bottom: 5px;
    }

    &:hover {
        background: transparent;
    }

    svg {
        color: #007BC2;
        font-size: 25px;
        font-weight: 600;
    }
}

.keyDates__addEventLink {
    svg {
        background-color: transparent;
        color: #007BC2;
        font-weight: 600;
        font-size: 15px;

        &:hover {
            color: #003B5E;
        }
    }

}

.keyDates__text {
    font-size: 18px;
    line-height: 1.2;

    p:first-of-type {
        margin-top: 0;
    }

    a {
        text-decoration: underline;
        font-weight: 400 !important;
        color: var(--textcolor) !important;
    }
}

.keyDates {
    .chakra-divider {
        margin-top: 0 !important;
    }
}

p.center > img {
    margin: 0 auto;
}