/*
 * layout.css - The page frame: app shell, top nav, sidebar, panels and modals.
 *
 * Sections:
 *   LAYOUT HELPERS: ROWS AND COLUMNS
 *   APP SHELL
 *   TOP NAV
 *   SIDEBAR AND SIDE MENU
 *   PANELS
 *   MODALS
 */

/* ==================================================================
   LAYOUT HELPERS: ROWS AND COLUMNS
   ================================================================== */

.filter-section {
    display: flex;
    margin-top: 10px;
    gap: 5px;
}

.select-section {
    background-color: color-mix(in srgb, var(--content-panel) 70%, black) !important;
    border-radius: var(--border-radius-large);
    width: 100%;
    gap: 30px;
    height: 40px !important;
    align-self: stretch;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .select-section {
        display: grid;
        gap: 10px;
        grid-template-columns: 40px 1fr 120px
    }
}

.popup-form-section-column {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
}

.popup-form-section-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}

/* 1) Keep the input row on one line and vertically centered */
/* 1) Any input row stays on one line */
.edit-popup-section .popup-form-section-row.align-elements {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    width: 100%;
}

.edit-popup-section {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}

@media (max-width: 580px) {
    .edit-popup-section {
        display: block;
        flex-direction: column;
        flex-wrap: wrap;
        width: 100%;
    }
}

.scrolling-wrapper {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
}

@media (min-width: 600px) and (max-width: 1215px) {
    .popup-form-section-row .popup-form-section-column {
        flex-direction: row !important;
    }
}


/* ==================================================================
   APP SHELL
   ================================================================== */

.header-section {
    margin-bottom: 10px;
    margin-top: 10px;
}

.contributor-section {
    margin-bottom: 10px;
}

.action-section {
    margin-bottom: 10px;
    align-items: center;
}

#main {
    flex: 1;
    margin: 0 !important; /* <-- clears any old margin-left */
    padding-left: 0 !important; /* optional if you want it tight */
    border-left: none;
    background-color: var(--default-bg);
    transition: margin-left .5s; /* If you want a transition effect */
    padding: 0px;
    margin: 0px;
}

.container-fluid {
    overflow: hidden;
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    margin: 0;
}

.jumbotron1 {
    right: 0;
    height: auto;
    padding: 0 20px 20px 20px;
    padding-top: 0px;
    padding-bottom: 0px;
    width: auto;
    background-color: var(--default-bg);
    margin-bottom: 0px;
}

    .jumbotron1.login {
        margin-left: 0px;
        padding: 0px;
    }

@media (max-width: 1024px) {
    .jumbotron1 {
        margin-left: 0px;
    }
}

@media (max-width: 768px) {
    .jumbotron1 {
        padding: 0px 0 0 0;
        margin-left: 0;
    }

        .jumbotron1.login {
            padding: 0px;
        }
}

@media (max-width: 480px) {
    .jumbotron1 {
        padding: 0px 0px 10px;
        margin-left: 0;
    }

        .jumbotron1.login {
            padding: 0px;
        }
}

.deep-link-cover {
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: var(--greyscale-grey-06);
    z-index: 9999;
}

.page-layout > *,
.main-content,
.core-content-region,
.two-blocks > *,
.home-page-right-panel {
    min-width: 0;
}

.page-layout {
    display: flex;
    height: calc(100vh - 56px); /* adjust for your top header height */
    width: 100%;
}

#core_content_region {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* main area */
#master_footer {
    height: 0;
    min-height: 0;
    padding: 0;
    margin: 0;
}

.main-content {
    flex: 1; /* take remaining width */
    overflow-y: auto; /* scroll content if needed */
    padding: 0;
    min-height: 100vh;
}

.content {
    width: 360px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    padding: 40px 16px 51px;
    background-color: var(--content-panel);
    padding-bottom: 80px;
    box-sizing: border-box;
}

@media (min-width: 600px) {
    .content {
        width: 700px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }
}

.results-region {
    width: 1000px;
    height: auto;
}

.one-panel {
    width: 1000px;
    height: auto;
}

.list-region {
    width: 800px;
    height: auto;
    flex: 7;
    background-color: white;
}

@media (max-width: 1400px) {
    .results-region {
        width: 900px;
    }

    .list-region {
        width: 600px;
    }
}

@media (max-width: 1300px) {
    .results-region {
        width: 800px;
    }

    .list-region {
        width: 500px;
    }
}

@media (max-width: 1200px) {
    .results-region {
        width: 100%;
    }

    .list-region {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .results-region {
        width: 100%;
    }

    .list-region {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .results-region {
        width: 100%;
    }

    .list-region {
        width: 100%;
    }
}

.core-content-region.one-panel {
    width: 1000px;
}

@media (max-width: 1000px) {
    .core-content-region.one-panel {
        width: 100%;
    }
}

.pane-center {
    z-index: inherit !important;
}

.splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh !important;
    background: var(--default-bg);
    z-index: 200;
    color: black; /*var(--colors-primary);*/
    text-align: center;
    line-height: 90vh;
}

    .splash.display-none {
        position: fixed;
        top: 0;
        opacity: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--default-bg);
        z-index: -10;
        color: var(--colors-primary);
        text-align: center;
        line-height: 90vh;
        transition: all 0.5s;
    }

.two-blocks {
    flex: 1;
    display: flex;
    height: 100%;
}

    .two-blocks > .content-panel {
        width: 100%;
        max-width: 960px;
        box-sizing: border-box;
        flex: 1 1 auto;
        min-width: 0;
    }

@media (min-width: 600px) and (max-width: 1215px) {
    .core-content-region {
        padding-right: 0px !important;
    }
}


/* ==================================================================
   TOP NAV
   ================================================================== */

.status-button {
    width: 150px;
    margin-left: 25px;
}

.top-nav-widget-bar {
    height: 40px;
}

.logo .a {
    color: var(--logo);
    padding-right: 0px;
}

.logo-icon {
    width: 30px !important;
    height: 30px !important;
    margin-left: 10px;
    margin-right: 5px;
}

.logo:hover {
    cursor: pointer;
}

.logo-icon:hover {
    cursor: pointer;
}

@media (max-width: 480px) {
    .logo-icon {
        margin-left: 0px;
    }

    .status-button {
        width: 100px;
        margin-left: 15px;
    }
}

.top-nav-spacer {
    flex: 1;
}

@media (max-width: 340px) {
    .top-nav-spacer {
        flex: none;
    }
}

.top-nav-button {
    height: 40px;
    width: 40px;
    background-color: white;
    border-style: none;
    margin-left: 9px;
}

    .top-nav-button:focus {
        outline: none !important;
        box-shadow: none !important;
    }

    .top-nav-button:hover {
        cursor: pointer;
    }

    .top-nav-button:active {
        transform: translateY(2px);
    }

    .top-nav-button.user-avatar {
        display: flex;
        border-radius: 50%;
        margin-left: 15px;
    }

.material-symbols-outlined.nav-bar-icon {
    margin-right: 15px;
    font-size: 30px;
    margin-top: 6px;
}

    .material-symbols-outlined.nav-bar-icon:not(.search-widget) {
        color: var(--logo);
    }

@media (max-width: 480px) {
    .material-symbols-outlined.nav-bar-icon {
        margin-top: 5px;
        font-size: 24px;
    }

        .material-symbols-outlined.nav-bar-icon.large {
            margin-top: 5px;
            font-size: 36px;
        }

    .top-nav-button.user-avatar {
        margin-top: 5px;
    }
}

@media (max-width: 450px) {
    .material-symbols-outlined.nav-bar-icon {
        font-size: 24px;
    }

    .top-nav-button {
        height: 26px;
        width: 26px;
        margin-left: 8px;
    }
}

@media (max-width: 360px) {
    .material-symbols-outlined.nav-bar-icon {
        font-size: 24px;
    }

    .top-nav-button {
        height: 24px;
        width: 24px;
        margin-left: 5px;
    }
}

@media (max-width: 320px) {
    .material-symbols-outlined.nav-bar-icon {
        font-size: 18px;
    }

    .top-nav-button {
        height: 24px;
        width: 24px;
        margin-left: 5px;
    }
}

.top-nav {
    width: 100%;
    height: 64px;
    padding: 10px;
    display: none;
    background-color: var(--topmenu);
    box-shadow: 0px 3px 15px -4px rgba(17, 17, 15, 0.12);
}

.logo {
    width: 150px;
    padding: 3.5px 0 3.5px 0;
    font-family: var(--global-font-family);
    font-size: 24px;
    font-weight: 900;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.05;
    letter-spacing: var(--global-letter-spacing);
    text-align: left;
    color: var(--logo);
}

@media (max-width: 481px) {
    .logo {
        font-size: 18px;
        width: auto;
    }
}

body.hide-top-nav #top_nav_bar {
    display: none;
}

.mobile-search-widget {
    display: none;
}

.search-widget {
    display: block;
}

@media (max-width: 480px) {
    .search-widget {
        display: none;
    }

    .mobile-search-widget {
        display: block;
    }
}

@media (max-width: 768px) {
    .search-widget {
        display: block;
    }

    .mobile-search-widget {
        display: none;
    }
}

.login-top-nav {
    width: 100%;
    height: 64px;
    margin: 0 0 16px;
    padding: 16px;
    display: block;
    background-color: var(--topmenu);
    box-shadow: 0px 3px 15px -4px rgba(17, 17, 15, 0.12);
}

.bottom-nav {
    width: 360px;
    height: 549px;
    margin: 200px 0 0;
    padding: 40px 24px 16px;
    background-color: var(--topmenu);
}

.material-symbols-outlined.mobile-menu-icon {
    font-size: 24px;
}

@media (max-width: 320px) {
    .material-symbols-outlined.mobile-menu-icon {
        font-size: 20px;
    }
}

.top-nav-spacer, .landing-nav-spacer {
    display: flex;
    flex: 1;
}

.tour-button {
    margin-right: 75px;
}

@media (max-width: 480px) {
    .tour-button {
        margin-right: 15px;
    }
}

.mobile-menu-button {
    background-color: white;
    font-weight: bold;
    color: black;
    margin-right: 8px;
    margin-left: 8px;
    margin-top: 4px;
    font-size: 20px;
    padding: 0px
}

    .mobile-menu-button:focus {
        outline: none;
    }

.login-top-nav .popup-form-section-row {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
}

    .login-top-nav .popup-form-section-row .logo {
        margin-right: 15px;
    }

    .login-top-nav .popup-form-section-row .small-button {
        margin: 0 10px;
        flex-shrink: 0;
    }

    .login-top-nav .popup-form-section-row .landing-nav-spacer {
        flex-grow: 1;
    }

@media (max-width: 768px) {
    .login-top-nav .popup-form-section-row .icon {
        display: block;
    }

    .login-top-nav .popup-form-section-row .small-button {
        margin: 0 5px;
    }
}

@media (min-width: 600px) and (max-width: 1215px) {
    .login-top-nav .popup-form-section-row {
        display: flex !important;
        width: 100% !important;
    }

        .login-top-nav .popup-form-section-row .logo {
            margin-right: 0px !important;
        }

        .login-top-nav .popup-form-section-row .tour-button {
            margin-right: auto !important;
        }

        .login-top-nav .popup-form-section-row .important-button, .login-top-nav .popup-form-section-row .small-button:last-of-type {
            margin-left: 10px !important;
            margin-right: 0 !important;
        }
}


/* ==================================================================
   SIDEBAR AND SIDE MENU
   ================================================================== */

/*Used for left nav menu*/
.menu-button {
    margin-right: 10px;
    width: 15px;
    height: 15px;
    font-size: 16px;
    border-color: dimgray;
}

/*left nav menu*/
/* The sidepanel menu */
.sidepanel-menu {
    position: fixed;
    top: 40px;
    bottom: 0px;
    width: 200px;
    display: block;
    background-color: var(--typography-white);
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidepanel */
    margin: 10px;
    overflow-x: hidden; /* Disable horizontal scroll */
    z-index: 1; /* Stay on top */
    overflow-y: scroll;
}

@media (min-width: 1025px) and (max-width: 1280px) {
    .sidepanel-menu {
        padding-top: 20px; /* Place content 30px from the top */
    }
}

@media (min-width: 600px) and (max-width: 1024px) {
    .sidepanel-menu {
        padding-top: 20px; /* Place content 30px from the top */
        display: none;
        margin-bottom: 57px;
    }
}

@media (min-width: 768px) and (max-width: 1215px) {
    .sidepanel-menu {
        padding-top: 20px; /* Place content 30px from the top */
        display: none;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .sidepanel-menu {
        left: 0;
        display: none;
        padding-top: 20px; /* Place content 30px from the top */
    }
}

@media (max-width: 480px) {
    .sidepanel-menu {
        left: 0;
        width: 100%;
        display: none;
        padding-top: 20px; /* Place content 30px from the top */
    }
}

/* The sidepanel links */
.sidepanel-menu a {
    text-decoration: none;
    display: block;
    transition: 0.3s;
}

    /* When you mouse over the navigation links, change their color */
    .sidepanel-menu a:hover {
        color: black;
    }

/* left nav menu items*/
.menu-item {
    font-size: 20px;
    font-family: var(--global-font-family);
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 2;
    letter-spacing: var(--global-letter-spacing);
    padding: 2px 0 2px 10px;
    margin-bottom: 20px;
    text-align: left;
    color: var(--icon-menu);
    width: 100%;
}

.menu-divider {
    margin-top: 0px;
    display: none;
}

.menu-spacer {
    height: 20px;
}

.menu-item:hover {
    color: var(--greyscale-grey-04);
    font-weight: bold;
    cursor: pointer;
}

@media (max-height: 1200px) {
    .menu-item {
        margin-bottom: 3px;
        padding: 2px 0 2px 10px;
        font-size: 18px;
    }
}

@media (max-height: 820px) {
    .menu-item {
        margin-bottom: 3px;
        padding: 2px 0 2px 10px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .menu-item {
        margin-bottom: 5px;
        padding: 5px 0 5px 10px;
        font-size: 16px;
    }

    .menu-header {
        font-size: 14px;
    }
}

.menu-item.active {
    font-weight: bold;
    background-color: var(--navitem-bg-active);
    border-left-style: solid;
    border-left-color: var(--primary-color);
    color: var(--navitem-active);
}

.menu-header {
    font-size: 20px;
    font-family: var(--global-font-family);
    color: var(--label);
    font-weight: bold;
    font-stretch: expanded;
    line-height: 2;
    letter-spacing: var(--global-letter-spacing);
    margin-bottom: 0px;
    margin-left: 5px;
    margin-top: 15px;
    text-align: left;
    width: 100%;
}

/*left nav individual menu items*/
#home_menu {
    display: flex;
}

#profile_menu {
    display: none
}

#bookmark_menu {
    display: none;
}

#community_menu {
    display: flex;
}

#habit_main_menu {
    display: flex;
}

#collections_menu {
    display: none;
}

#sharing_menu {
    display: flex;
}

#list_menu {
    display: flex;
}

#journal_main_menu {
    display: flex;
}

#recipe_menu {
    display: flex;
}

#signout_menu {
    display: flex;
}

@media (max-width: 768px) {
    #recipe_menu {
        display: flex;
    }

    #habit_main_menu {
        display: flex;
    }

    #home_menu {
        display: flex;
    }

    #collections_menu {
        display: flex;
    }

    #journal_main_menu {
        display: flex;
    }

    #list_menu {
        display: flex;
    }

    #sharing_menu {
        display: flex;
    }

    #profile_menu {
        display: flex
    }

    #bookmark_menu {
        display: block;
    }
}

/*Mobile menu bar*/
.conxus-bottom-menu {
    overflow: hidden;
    background-color: white;
    position: fixed;
    bottom: 0;
    right: 0;
    height: 55px;
    padding-top: 5px;
    left: 0;
    display: none;
}

@media (max-width: 1024px) {
    .conxus-bottom-menu {
        display: none;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .conxus-bottom-menu {
        display: none;
    }
}

@media (max-width: 480px) {
    .conxus-bottom-menu {
        display: none;
    }
}

.sidebar {
    width: 80px;
    background-color: var(--sidebar);
    flex-shrink: 0;
    flex-direction: column;
    overflow-y: auto;
    display: flex;
    scrollbar-width: none;
    min-height: 100vh;
}

    .sidebar::-webkit-scrollbar {
        display: none;
    }

.nav-item {
    display: flex;
    flex-direction: column; /* <-- icon above text */
    align-items: center; /* center horizontally */
    justify-content: center;
    gap: 4px; /* space between icon + label */
    padding: 12px 0;
    cursor: pointer;
    color: var(--navitem);
    background-color: var(--navitem-bg);
    font-size: 13px;
}

    .nav-item i {
        font-size: 22px; /* icon size */
        line-height: 1;
    }

    .nav-item:focus {
        outline: none;
    }

    .nav-item span {
        font-size: 12px;
        margin-top: 3px;
    }

    /* Active (selected) item */
    .nav-item.active {
        background-color: var(--default-bg);
        color: var(--label);
        font-weight: 500;
        border-right: none;
        border-top-left-radius: 12px;
        border-bottom-left-radius: 12px;
    }

    /* ✔ HOVER: soft background tint only */
    .nav-item:not(.active):hover {
        filter: brightness(0.9); /* darker */
        /* filter: brightness(1.1); for lighter */
        /* light ConXus blue tint */
    }

@media (max-width: 768px) {
    .sidebar {
        display: none; /* closed by default on mobile */
    }

        .sidebar.is-open {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 14px;
            grid-auto-flow: row; /* 🔑 THIS IS THE FIX */
            width: 100%;
            padding: 14px 14px 0; /* 🔑 remove bottom padding */
            align-content: start; /*prevents vertical stretching*/
        }

    .nav-item {
        aspect-ratio: 1 / 1;
        width: 100%;
        padding: 8px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border-radius: var(--border-radius-large);
        box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
    }

        .nav-item i {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 36px;
            font-size: 32px;
            line-height: 1;
        }

        .nav-item span {
            text-align: center;
            font-size: 11px;
            display: block;
            line-height: 1.15;
            width: 100%;
            min-height: 2.3em; /* 🔑 reserves space for 2 lines */
        }

        .nav-item:hover {
            filter: brightness(0.9); /* darker */
            /* filter: brightness(1.1); for lighter */
        }

        .nav-item.active {
            color: var(--label);
            border: none;
            transform: scale(0.97);
        }

    .sidepanel-menu {
        z-index: 1301 !important;
    }
}

#mobile_menubar {
    z-index: 1300;
}

.home-navigation-button {
    display: block;
}

@media (max-width: 1400px) {
    .home-navigation-button {
        display: none !important;
    }
}

@media (max-width: 1200px) {
    .home-navigation-button {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .home-navigation-button {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .home-navigation-button {
        display: none !important;
    }
}

.nav-divider {
    width: 100%;
    height: 1px;
    margin: 0 1px 10px 0;
    background-color: var(--greyscale-grey-05);
}

.collapsed-nav {
    width: 100px !important;
    position: absolute;
    top: 76px;
    z-Index: 9;
    height: 1200px;
}

@media (max-width: 480px) {
    .collapsed-nav {
        display: none;
    }
}

.collapsed-nav.nav-left {
    left: 0;
}

@media (max-width: 1200px) {
    .left-nav-panel {
        display: none;
    }
}

.right-nav-button .closed {
    right: 80px;
}

@media (max-width: 480px) {
    .right-nav-button .closed {
        right: 30px;
    }
}

.navigation-button {
    display: block;
}

@media (max-width: 768px) {
    .navigation-button {
        display: none;
    }
}

.sidepanel-menu:focus {
    outline: none;
    box-shadow: none;
}


/* ==================================================================
   PANELS
   ================================================================== */

@media (max-width: 480px) {
    .search-section {
        width: 100%;
    }
}

.content-section.journal {
    background-color: var(--greyscale-grey-06);
}

.panel-context-menu {
    color: var(--label);
}

.search-section.popup-form-section-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap !important;
    width: 100%;
}

.collapsible-container .content-section, .collapsible-container .edit-form-entry {
    margin-left: 34px;
}

.content-page-header {
    width: 84%;
}

@media (max-width: 480px) {
    .content-page-header {
        width: 100%;
    }
}

@media (max-width: 1400px) {
    .content-page-header {
        width: 78%;
    }
}

@media (max-width: 1300px) {
    .content-page-header {
        width: 81%;
    }
}

@media (max-width: 1200px) {
    .content-page-header {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .content-page-header {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .content-page-header {
        width: 100%;
        margin-left: 10px;
        margin-right: 10px
    }
}

.profile-right-panel {
    padding-left: 50px;
}

@media (max-width: 481px) {
    .profile-right-panel {
        padding-left: 10px;
    }
}

.content-page-search {
    margin-top: 15px;
}

.seach-section {
    width: 100%;
}

@media (max-width: 480px) {
    .content-page-search {
        margin-top: 0px;
    }
}

.search-panel {
    border-radius: 14px;
    background-color: white;
    margin-top: 20px;
    padding: 15px;
    box-shadow: 0 2px 8px color-mix(in srgb, var(--default-bg) 40%, rgb(0 0 0 / 0.35));
}

.right-panel-title {
    display: grid;
    grid-template-columns: auto 1fr; /* caret | text */
    column-gap: 6px;
    align-items: center;
}

.panel-title-text {
    white-space: normal;
    color: var(--label);
    font-weight: bold;
    line-height: 1.25;
    /* NO padding-left */
    /* NO text-indent */
}

.raised-panel {
    border-radius: var(--border-radius-large);
    box-shadow: 1px 3px 15px -4px gray;
}

.material-symbols-outlined.close-panel {
    display: none;
}

@media (max-width: 1024x) {
    .material-symbols-outlined.close-panel {
        font-size: 30px;
        font-weight: bold;
        display: block;
    }
}

/*Mobile (Smartphone) max-width: 480px
Low Resolution Tablets and ipads max-width: 767px
Tablets Ipads portrait mode max-width:1024px
Desktops max-width:1280px
Huge size (Larger screen) max-width: 1281px and greater*/
.content-panel {
    background-color: var(--content-panel);
    border-radius: var(--border-radius-large);
    padding-right: 30px;
    padding-left: 30px;
    padding-bottom: 30px;
    padding-top: 15px;
    width: 100%;
    box-shadow: 0 2px 8px color-mix(in srgb, var(--content-panel) 40%, rgb(0 0 0 / 0.35));
}

    .content-panel.navigation {
        margin-left: 0px;
        margin-top: 0px;
    }

    .content-panel.left-content-panel {
        background-color: var(--content-panel);
        margin-top: 20px;
        padding: 10px 10px 10px 10px !important;
    }

@media (max-width: 768px) {
    .content-panel {
        padding: 20px 10px 10px 10px;
        margin-left: 5px;
    }
}

@media (max-width: 480px) {
    .content-panel {
        padding: 20px 10px 10px 10px;
        margin-left: 0px;
        border-radius: 0px;
        box-shadow: none
    }
}

.panel-header {
    align-items: center;
}

@media (max-width: 480px) {
    .panel-header {
        padding: 0 0px 0 0px;
    }

        .panel-header.right-panel {
            padding: 0 0 0 0;
        }
}

.list-panel {
    background-color: white;
}

/* Create three unequal columns that floats next to each other */
.home-column {
    float: left;
    flex-direction: column;
    display: flex;
    padding: 10px;
}

    .home-column .middle {
        flex: 1;
        padding-left: 10px;
        background-color: var(--greyscale-grey-06);
    }

.right-panel-message {
    flex: 1; /* take all available height */
    display: flex; /* center contents */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px; /* optional */
}

.home-page-left-panel {
    flex: 7;
    background-color: var(--default-bg);
    padding-bottom: 20px;
}

    .home-page-left-panel.content-page {
        flex: 5;
    }

    .home-page-left-panel.one-panel {
        width: 100%;
        max-width: 800px;
    }

.tab-panel {
    transition: opacity 0.2s ease-in;
}

    .tab-panel.hidden {
        opacity: 0;
    }

.home-page-right-panel {
    flex: 3;
    margin-left: 25px;
    margin-top: 25px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    background-color: var(--default-bg);
    box-shadow: -2px 0 6px rgba(0,0,0,0.05);
}

    .home-page-right-panel.content-page {
        flex: 5;
    }

@media (max-width: 1215px) {
    .home-page-left-panel {
        width: 100%;
        margin-left: 5px;
        margin-right: 5px;
    }

    .home-page-right-panel {
        width: 100%;
        margin-left: 0px;
        display: none;
    }

        .home-page-right-panel.content-page {
            padding-top: 0px;
            width: 100%;
            display: none;
        }
}

.content-panel.home-page {
    width: 100%;
}

.content-panel {
    background-color: var(--content-panel);
}

@media (max-width: 1400px) {
    .content-panel.home-page {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .home-page-left-panel {
        width: 100%;
    }

    .home-page-right-panel {
        margin-top: 0px;
    }

    #right_panel_content, .right-panel-content {
        margin-top: 10px;
    }
}

@media (min-width: 600px) and (max-width: 1215px) {
    #right_panel_content, .right-panel-content {
        padding: 10px;
    }

    .content-panel {
        padding: 20px 20px 10px 10px;
        margin-left: 0px !important;
    }

    .home-page-left-panel {
        width: 100%;
        margin-left: 5px;
        padding: 0px 10px 10px 10px;
    }
}


/* ==================================================================
   MODALS
   ================================================================== */

.modal.fade.show:not(.top-modal) {
    filter: blur(3px);
}

@media (min-width: 576px) {
    .modal-md {
        max-width: 650px;
    }
}

.modal.center {
    text-align: center;
    padding: 0 !important;
}

    .modal.center:before {
        content: '';
        display: inline-block;
        height: 100%;
        vertical-align: middle;
        margin-right: -4px;
    }

.modal-dialog.center {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}

#emailValidationPopup {
    display: none;
    position: fixed;
    z-index: 14000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.5);
}

    #emailValidationPopup.show {
        display: block;
    }

    #emailValidationPopup .modal-dialog {
        position: relative;
        margin: 1.75rem auto;
        max-width: 500px;
    }

    #emailValidationPopup .modal-content {
        background-color: #fff;
        border-radius: 0.3rem;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.5);
    }

    #emailValidationPopup .modal-header {
        padding: 1rem;
        border-bottom: 1px solid #dee2e6;
    }

    #emailValidationPopup .modal-footer {
        padding: 1rem;
        border-top: 1px solid #dee2e6;
        text-align: right;
    }

.modal-content .popup-form-section-row .twitter-typeahead {
    max-width: 93%;
}

#job_popup {
    filter: blur(0px);
}

#child_popup table {
    width: 100% !important;
}

@media (max-width: 768px) {
    #child_popup .column-header div {
        font-size: 17px !important;
    }
}

.modal {
    overflow-y: auto !important;
}

@media (min-width: 600px) and (max-width: 1215px) {
    .modal-dialog {
        max-width: 700px !important;
        margin-right: auto;
        margin-left: auto;
    }
}

.modal-content {
    --bs-modal-bg: var(--popup);
}
