@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Roboto+Condensed:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');


:root {
    /* Primary colors */
    --rti-color-blue: rgb(0, 76, 151);
    --rti-color-orange: rgb(237, 139, 0);
    --rti-color-gray: rgb(128, 126, 130);

    /* Secondary colors */
    --rti-color-dimblue: #ceddfb;
    --rti-color-dimorange: #f5e2cc;
    --rti-color-lightblue: rgb(0, 181, 226);
    --rti-color-lightorange: #ffa300;
    --rti-color-lightgray: rgb(187, 188, 188);
    --rti-color-green: rgb(164, 214, 94);

    /* RTI fonts */
    --rti-font-family-base: 'Montserrat', sans-serif;
    --rti-font-family-heading: 'Roboto Condensed', sans-serif;

    --pst-font-family-heading: var(--rti-font-family-heading);
    --pst-font-family-base: var(--rti-font-family-base);
}

.connext-title {
    font-family: var(--rti-font-family-heading);
    font-size: 8vw; /* Adjust the size based con screen size for smaller screens */
    line-height: 0.90;
    margin-bottom: 10px;
    font-weight: bold;
}

.connext-subtitle {
    font-family: var(--rti-font-family-base);
    font-size: 3vw; /* Adjust the size based con screen size for smaller screens */
    line-height: 1;
    margin-bottom: 40px;
    font-weight: 300;
}

.connext-heading {
    font-family: var(--rti-font-family-heading);
}

.nav-link {
    font-family: var(--rti-font-family-heading);
}

.navbar-item {
    text-transform: uppercase;
}

.navbar-brand {
    font-family: var(--rti-font-family-heading);
    text-transform: uppercase;
}

@media (min-width: 1024px) {
    .connext-title {
        font-size: 80px; /* Adjust font size for larger screens */
    }

    .connext-subtitle {
        font-size: 30px; /* Adjust font size for larger screens */
    }
}

/* Mobile screen */
@media (max-width: 600px) {
    .hide-on-small {
        display: none;
    }
}

/* Non-mobile screen */
@media (min-width: 601px) {
    .hide-on-large {
        display: none;
    }
}

.chatbot {
    display: flex;
    align-items: center;
    justify-content: left;
    margin-top: 20px;
}

.chatbot a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.chatbot img {
    width: 30px;
    height: auto;
    margin-right: 10px;
}

.chatbot > span:first-child {
    margin-right: 10px;
}

.shadowed-container {
    background-color: var(--container-bg-color);
    border-radius: 10px;
    box-shadow: 0 4px 8px var(--box-shadow-color);
    margin: 20px auto;
    max-width: 800px;
    padding: 20px;
}

.sd-card {
    border-radius: 10px;
}

.sd-btn {
    border-radius: 6px;
    color: #fff !important;
    font-family: var(--rti-font-family-heading);
    font-size: 16px;
    font-style: normal;
    letter-spacing: 1px;
    Padding: 12px 20px;
    text-transform: uppercase;
}

html[data-theme="light"] {
    /* PyData Sphinx Theme */
    --pst-color-primary: var(--rti-color-blue);
    --pst-color-secondary: var(--rti-color-orange);

    --sd-button-hover-bg: var(--rti-color-orange);

    /* Sphinx Design */
    --sd-color-primary: var(--rti-color-blue);
    --sd-color-secondary: var(--rti-color-orange);
    --sd-color-primary-bg: var(--rti-color-dimblue);
    --sd-color-primary-highlight:var(--rti-color-lightblue);
    --sd-color-secondary-highlight: var(--rti-color-lightorange);

    /* Custom CSS */
    --container-bg-color: #fff;
    --box-shadow-color: rgba(0, 0, 0, 0.1);
}

html[data-theme="dark"] {
    /* PyData Sphinx Theme */
    --pst-color-primary: var(--rti-color-lightblue);
    --pst-color-secondary: var(--rti-color-orange);

    --sd-button-hover-bg: var(--rti-color-orange);

    /* Sphinx Design */
    --sd-color-primary: var(--rti-color-lightblue);
    --sd-color-secondary: var(--rti-color-orange);
    --sd-color-primary-highlight:var(--rti-color-lightgray);
    --sd-color-secondary-highlight: var(--rti-color-lightorange);


    /* Custom CSS */
    --container-bg-color: #292929;
    --box-shadow-color: rgba(0, 0, 0, 0.2);
}


/* Ensure the Chatbot link matches other navbar links */
.navbar-header-items__end .chatbot-link {
    display: flex;
    align-items: center;
    font-size: 1rem;
    text-decoration: none;
    color: var(--rti-color-orange);
    padding: 0.5rem;
}

/* Hover effect for consistency */
.navbar-header-items__end .chatbot-link:hover {
    color: var(--rti-color-blue);
}

/* Consistent mobile styling for Chatbot link */
.navbar-persistent--mobile .chatbot-link {
    display: none;
}

/* Force the RTD theme to respect cell wrapping and :widths: configurations */
.wy-table-responsive table td, 
.wy-table-responsive table th {
    white-space: normal !important;
}

/* Change desktop sidebar title and search box background color */
.wy-side-nav-search {
    background-color: rgb(0, 76, 151) !important;
}