@import "tctmiddleeast2026constant.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";

/* links, btns */

.body a {
    text-decoration: underline !important;
}

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

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

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

.darkyellow {
    color: #ac993e !important;
}

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

.btn {
    border-radius: 18px;
    font-size: 18px;
    max-width: 250px !important;
}

.white {
    color: #ffffff !important;
}

/* Header */
.headerBanner .headerContentTop{
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
}

.headerBanner .headerContentTop__head{
    font-size:42px;
    line-height: 44px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 600;
}

.headerBanner .headerButtonLinks{
    font-size:16px;
    line-height: normal;
    text-transform: uppercase;
    text-decoration: underline;
}
.headerBanner .sponsor{
    width: 100%;
    max-width: 292px;

    img{
        width: 100%;
    }
}

.headerBanner .headerButtonLinks svg{
    width: 1em;
    height: 1em;
    display: inline-block;
    line-height: 1em;
    flex-shrink: 0;
    color: currentcolor;
    vertical-align: middle;
    fill: rgb(255, 255, 255);
    font-size: 34px;
    margin-left: 20px;
}

.headerBanner > div.chakra-stack {
    justify-content: flex-start;
    gap: 40px;
}

.headerBanner .logoWrapper{
    width: 100%;
    max-width: 600px;
    margin: 0 !important;
}

@media screen and (max-width: 1199px) {

    .headerBanner .headerContentTop{
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .headerBanner .headerContentTop__head{
        font-size:32px;
    }

    .headerBanner .headerButtonLinks svg{
        font-size: 30px;
    }

    .headerBanner .sponsor{
        margin-top: 15px;
    }

    .headerBanner > div.chakra-stack {
        align-items: flex-start;
        gap: 15px;
    }

    .headerBanner .headerContent{
        padding-left: 32px;
    }

    .headerBanner .sponsor{
        max-width: 227px;
    }

}

@media screen and (max-width: 460px) {
    

    .headerBanner .headerContent{
        padding-left: 21px;
    }

}

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

.body p {
    margin-top: 20px;
}

.body h1 {
    line-height: 38px;
}

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

.tctme2026Hero {
    > div:first-child {
       background-color: rgba(42, 25, 75, .75) !important;
    }
    .tctme2026HeroTitle {
        font-family: "Gibson", Arial, sans-serif !important;
        font-weight: 600 !important;
        @media screen and (max-width: 639px) {
            font-size: 38px !important;
            line-height: 38px !important;
        }
    }
}

@media screen and (max-width: 576px) {
    main h1 {
        font-size: 28px !important;
        line-height: 34px !important;
    }
}

/* navbar */

.menubar {
    display: block;

    > div {
        display: block;
    }

    > div > .menu {
        position: relative;
        text-align: center;
    }
}

.menu {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    .menu {
        background-color: #fff;
        border-left: 1px solid #ddd;
        border-right: 1px solid #ddd;
    }
}

.menu__menuBtn {
    border-bottom: 1px solid #ddd;
}

.menu__closeBtn {
    > div {
        margin: 0 auto;
    }
}

.menu-isOpen {
    .menu__menuBtn {
        display: none;
    }
}

.menu__items {
    display: inline-flex;
    justify-content: center;

    > .menu__item {
        border-left: 1px solid #ddd;
    }

    > .menu__item:last-of-type {
        border-right: 1px solid #ddd;
    }
}

.menu__item {
    a {
        padding: 15px 20px;
        font-weight: 500;
        font-size: 15px;
        line-height: 17px;
        color: var(--navbar-color);
        &:hover {
            color: var(--navbar-color-hover) !important;
        }
    }

    .menu__item {
        a {
            padding: 5px 20px;
            &:hover {
                color: var(--navbar-color-hover) !important;
                text-decoration: underline !important;
            }
        }
    }
}

ul.menu {
    border-top-color: #ddd;
}

.menu-isOpen {
    .menu {
        .menu {
            border-top: 1px solid #ddd;
            border-bottom: 1px solid #ddd;
        }
    }

    .menu__items {
        width: 100%;
    }
}

.highlight {
    li,
    li a {
        background: inherit !important;
        color: var(--navbar-color) !important;
    }
}

/* HOME PAGE */

img.text-grid {
    max-height: 500px !important;
    margin: 0 0 0 auto !important;
    @media screen and (max-width: 831px) {
        max-height: auto !important;
        margin: 0 auto !important;
    }
}

.reg-text-grid{
    display: grid;
    grid-template-columns: 0 1fr 20px 1fr 0;
    grid-template-rows: 0 1fr 20px 1fr 0;
    min-height: 510px;

    div{
        border-radius: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 20px;

        p{
            color: #fff;
            font-size: 36px;
            line-height: 38px;
            font-weight: 600;
            margin: 0;
        }
    }

    .reg-text-grid_red{
        grid-area: 1 / 1 / 3 / 3;
        background-color: #92391F;
    }

    .reg-text-grid_blue{
        grid-area: 1 / 4 / 3 / 6;
        background-color: #127BC2;
    }

    .reg-text-grid_yellow{
        grid-area: 4 / 1 / 6 / 3;
        background-color: #AC993E;
    }
    .reg-text-grid_green{
        grid-area: 4 / 4 / 6 / 6;
        background-color: #007D67;
    }

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

    @media screen and (max-width: 374px) {
        grid-template-columns: 0 1fr 10px 1fr 0;
        grid-template-rows: 0 1fr 10px 1fr 0;

        div{
            padding: 0 10px;

            p{
                font-size: 22px;
                line-height: 24px;
            }
        }

    }
}

.key-dates{
    .key-dates-wrapper{
        flex-flow: row wrap;
        gap: 20px;
        justify-content: center;

        > div{
            flex-grow: 1;
            flex-basis: 200px;
            max-width: 200px;
            min-height: 300px;
            flex-flow: column nowrap;
        }

        > div:has(.flex-grow){
            flex-grow: 2;
            flex-basis: 320px;
            max-width: 320px;

            h2{
                padding: 0;
            }

            /* @media screen and (max-width: 1065px) {
                flex-grow: 0;
            } */
        }

        a{
            color: inherit;
            text-decoration: none;
            font-weight: inherit;
        }
    }

    p{
        color: #fff !important;
    }
}

h1.h1-xl {
    font-size: 52px !important;
    line-height: 56px !important;
    @media screen and (max-width: 576px) {
        font-size: 30px !important;
        line-height: 34px !important;
        text-align: left !important;
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* 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;
            }
        }
    }
}

.ImageTextCombo--about-tctme {
    .imageTextCombo__image div {
        background-position: center center;
    }
}

/* TOPICS, CATEGORIES, GUIDELINES */

.m-left,
.mx-left {
    .signup-container {
        margin: 0 auto 0 0 !important;
    }
}

.tctOneImageLayout {
    strong {
        font-weight: 600;
    }
}

.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--contact-us p{
        margin: 0 !important;
    }
    
    .table--first {
        td {
            &:first-of-type {
                width: 510px;

                strong {
                    font-weight: 600;
                }
            }

            &: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; */
                }
            }
        }
    }

    .icom-box{
        border: 6px solid #E6EDF3;
        max-width: 600px;
        margin: 30px auto 25px;
        border-radius: 30px;
        height: 185px;
        position: relative;

        p{
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            margin: 0;
            width: 100%;
            text-align: center;
        }
    }
}

@media screen and (max-width: 650px) {
    /* Make table rows and cells behave like blocks */
    table.table--contact-us,
    table.table--contact-us thead,
    table.table--contact-us tbody,
    table.table--contact-us th,
    table.table--contact-us td,
    table.table--contact-us tr {
        display: block;
        width: 100% !important;
    }

    table.table--contact-us {
        border-collapse: collapse !important;
    }

    table.table--contact-us,
    table.table--contact-us thead,
    table.table--contact-us tbody,
    table.table--contact-us tr {
        border: 0 !important;
    }

    table.table--contact-us td {
        border: 1px solid #dadde1 !important;
        padding: 30px 20px !important;
    }
}

.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;
        }
    }
}

.rounded-grey-bgnd {
    background: #F5F5F7;
    padding: 30px;
    border-radius: 30px;
}

.page--about-crf {
    .upcomingDates__item {
        @media screen and (max-width: 639px) {
            height: 310px !important;
            justify-content: space-around !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,
        ul,
        li,
        li::marker,
        strong {
            color: #fff !important;
        }

        .blue-list-title {
            color: #70c6f7 !important;
            text-transform: uppercase !important;
        }

        ul {
            margin-left: 20px !important;
        }

        a {
            text-decoration: underline;
        }
    }
}

.col-rounded-image {
    width: 100%;
    margin: 0px auto;
    border-radius: 50px;
    background-repeat: no-repeat;
    &.col-rounded-image--about {
        background-image: url("https://assets.crfconnect.com/meetings/tctMe2026/page-content/DSC00964.jpg");
        background-size: 180%;
        background-position: 35% 60%;
        min-height: 310px;
        max-width: 400px;
    }
    &.col-rounded-image--tcg {
        background-image: url("https://assets.crfconnect.com/meetings/tctMe2026/page-content/CFS.png");
        background-size: 100%;
        background-position: 35% 60%;
        /* max-width: 400px; */
        min-height: 100%;
        @media screen and (max-width: 831px) {
            min-height: 210px;
            background-size: cover;
        }
    }
    &.col-rounded-image--register {
        background-image: url("https://assets.crfconnect.com/meetings/tctMe2026/page-content/TCT2026_MIDDLE_EAST_REG_D-copy.png");
        background-size: cover;
        min-height: 310px;
        @media screen and (max-width: 831px) {
            background-position: -150px 0px !important;
        }
    }
}

/* 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;
}

/*Register*/
.tctTabs {
    .chakra-tabs__list {
        background-color: #f5f5f7 !important;
        border-color: #f5f5f7 !important;

        button {
            color: #007bc2;
            border: solid 3px #007bc2;
        }

        button[aria-selected="true"] {
            color: white;
            background: #0e6fbc;
            border: solid 3px #0e6fbc;
        }
    }

    .chakra-tabs__content {
        border: solid 3px #f4f5f7 !important;
        border-radius: 30px !important;
        margin-top: 20px;
        padding: 30px !important;
    }
}

@media screen and (max-width: 975px) {
    .tctTabs {
        .chakra-tabs__root {
            > div:nth-child(2) {
                margin-top: 0 !important;
            }
        }
        .chakra-tabs__list {
            border: solid 3px #007bc2 !important;
            margin-bottom: 0px !important;
            button {
                border: 0 !important;
            }
        }
        .chakra-tabs__content {
            margin-top: 0 !important;
        }
    }
}

.two-column > div > div {
    display: flex;
    gap: 30px;
    padding: 0;
    justify-content: space-evenly;
}

.two-column .box-0 .body,
.two-column .box-1 .body {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.two-column .box-0,
.two-column .box-1 {
    div.email-box {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

.two-column--register {
    .box-0 {
        flex: 0 1 300px;
    }
    .box-1 {
        max-width: 50%;
    }
}

@media screen and (max-width: 831px) {
    .two-column > div > div {
        flex-direction: column;
    }

    .two-column--register {
        .box-0 {
            flex: 0 1 auto;
        }
    }
}

/* International Travel */

.gold-bg{
    background-color: #AC993E;
    border-radius: 60px;
    height: 40px;

    p{
        line-height: 40px;
        margin: 0;
    }
}

.blue-bg{
    padding-top: 0;
}

.blue-bg > div{
    background-color: #003B5E;
    border-radius: 60px;
    max-width: 1200px;
    padding-top: 30px;
    padding-bottom: 30px;

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

    ul li.white::marker{
        color: #AC993E !important;
    }

    .twoColumnMatrixBlock > div:not(.twoColumnMatrixBlock__divider){
        display: flex;
        flex-flow: column nowrap;
        justify-content: space-between;
    }

    .btn{
        max-width: unset;
    }
}

.body a.white{
    color: white !important;
}

ul.gold li::marker{
    color: #AC993E !important;
}

.int-travel-acc-border .accordion-label,
.int-travel-acc-border .chakra-accordion__itemIndicator{
    color: #92391F !important;
}


.int-travel-acc-border .pageWrapper__inner{
    border: 6px solid #EFF2F5;
    border-radius: 50px;
    padding: 30px 40px 40px;
}

@media screen and (max-width: 831px) {
    .twoColumnMatrixBlock__divider{
        padding: 10px 0;
    }

    .blue-bg > div .btn{
        max-width: 350px;
    }

    .int-travel-acc-border .pageWrapper__inner{
        padding: 10px 20px 20px;
    }

}

/* FAQ */
.faq-wrapper > div > div{
    display: flex;
    flex-flow: row wrap;
    gap: 30px;
    padding: 40px 0;
    justify-content: center;
    align-items: center;

    .box-0, .box-1{
        flex: 1 1 400px;
        max-width: 600px;
        border: 6px solid #EFF2F5;
        border-radius: 30px;
        padding: 30px;
        

        h2{
            color: #007D67 !important;
        }

        .chakra-accordion__itemIndicator{
            color: #92391F !important;
        }
    }
}

/* Attendance */
.page--attendance{
    .emergency.row{
        row-gap: 0px;
        column-gap: 30px;

        li::marker{
            color: #AC993E !important;
        }
    }
    
    .get-to-know-bg{
        max-width: 1400px;
    }

    .get-to-know{
        background-color: #003b5e;
        border-radius: 50px;
        background-image: url(https://assets.crfconnect.com/meetings/tctMe2026/page-content/attendance-bg.png);
        background-repeat: no-repeat;
        background-position: right;
        background-size: 449px;
        padding: 30px 20px;

        .get-to-know-wrapper{
            max-width: 1200px;
            margin: 0 auto;

            .text-wrapper{
                max-width: calc(100% - 483px);
            }
        }
    }
    .get-to-know-mobile{
        display: none;
    }
    @media screen and (max-width: 1024px) {

        .get-to-know-mobile{
            display: block;
            width: 100%;

            img{
                width: 100%;
                max-width: 600px;
                margin: 0 auto;
            }
        }

        .get-to-know{
            background-image: none;
            padding: 0;
            .get-to-know-wrapper .text-wrapper{
                width: 100%;
                max-width: 100%;
                padding: 40px 20px 30px;
            }

        }

    }


}