/*Organize Alphabetically*/
html {
    font-size: 16px;
    /* Base size */
}

body {
    margin-bottom: 60px;
    background-color: #f6f6f6;
}

header {
    font-family: 'Rubik', sans-serif;
    /* color: #484747; */
}

html {
    font-family: 'Rubik', sans-serif;
    position: relative;
    min-height: 100%;
}

h1 {
    margin-top: 1vw;
    margin-bottom: 1vw;
    font-family: "Koulen", sans-serif;
    font-size: calc(1em + 1.5vw);
    font-weight: 400;
}

p {
    font-size: 1rem;
    /* 16px */
}


/*
utilities classes
*/

.font-color-1 {
    color: #333;
}

.font-color-2 {
    color: #343a40
}

.font-color-3 {
    color: #595959;
}

.dark-bg-color {
    background-color: #343a40;
    /* background-color: #000000; */
    /* background-color: #AA1F13; */
}

.dark-bg-color-2 {
    background-color: #000000;
}

.accent-bg-color {
    background-color: #AA1F13;
}

.purple-bg-color {
    background-color: #4F46E5;
}

/*testing*/

/* The navigation menu */
.drop-navbar {
    overflow: hidden;
    background-color: #333;
}

/* Navigation links */
.drop-navbar a {
    float: left;
    font-size: 16px;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

/* The subnavigation menu */
.subnav {
    float: left;
    overflow: hidden;
}

/* Subnav button */
.subnav .subnavbtn {
    border: none;
    outline: none;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}


/* Style the subnav content - positioned absolute */
.subnav-content {
    display: none;
    position: absolute;
    left: 0;
    background-color: darkgrey;
    width: 100%;
    z-index: 1;
}

/* Style the subnav links */
.subnav-content a {
    float: left;
    color: white;
    text-decoration: none;
}

/* When you move the mouse over the subnav container, open the subnav content */
.subnav:hover .subnav-content {
    display: block;
}



/*Classes*/

.accent-colour {
    color: #AA1F13;
}

.action-button {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    margin-top: 15px;
    padding: 15px;
    border-radius: 10px;

}



.accordion-button:focus {
    z-index: 3;
    border-color: none;
    outline: 0;
    box-shadow: none;
}

.add-member {
    background: red;
    color: white;
}

.associate-member,
.associate-member.custom-button.active {
    background-color: #83A5B7;
}

.associate-member,
.in-kind-member,
.local-industrial-member,
.associate-member.custom-button.active {
    color: #000000;
}

.default-membership {
    color: #FFF;
    background-color: #2E5644;
}

.associate-member,
.in-kind-member,
.local-industrial-member,
.non-local-industrial-member,
.cancelled-member,
.chamber-member,
.govt-education-member,
.default-membership {
    padding: 1px 10px;
}

.badge {
    padding: 5px 10px;
    border-radius: 12px;
    color: white;
}

.blue {
    background: blue;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.badge.cancelled {
    background-color: #6b7280;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
}

.btn:hover {
    opacity: 0.8;
}

.red-icon {
    fill: red !important;
}

/* .dashboard .card {
    box-shadow: rgba(0, 0, 0, 0.14) 0px 1px 3px 0px;
    margin-top: 1.3vw;
    margin-bottom: 1.3vw;
    margin-right: 1.3vw;
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: left;
}

.dashboard .card-body {
    padding-left: 0;
    padding-right: 0;
} */

.dashboard-date {
    min-height: 40px;
}

.dashboard .card {
    box-shadow: rgba(0, 0, 0, 0.14) 0px 1px 3px 0px;
    margin-top: 1.3vw;
    margin-bottom: 1.3vw;
    margin-right: 1.3vw;
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 70%;
    /* Ensure the card takes full height */
}

.dashboard .card-body {
    padding-left: 0;
    padding-right: 0;
    flex-grow: 1;
    /* Make the card body grow to fill the card */
}

.cancelled-member {
    background-color: #353535;
}

.chamber-member,
.govt-education-member,
.non-local-industrial-member,
.cancelled-member {
    color: #FFFFFF;
}

.chamber-member {
    background-color: #2A5D79;
}

.clear,
.add-member,
.search-btn {
    padding: 5px 15px;
    font-size: 16px;
    border-radius: 7px;
    cursor: pointer;
}

.clear {
    border: 1px solid #343a40;
}

.clear:hover {
    color: #343a40
}

.col-colour {
    background-color: #fff;
}

.collapse-header {
    border-bottom: 4px solid #f6f6f6
}

.company-name {
    font-size: 36px;
    font-weight: bold;
    height: 70px;
    text-transform: uppercase;
    width: 70px;
}

.contact-name {
    font-size: 36px;
    font-weight: bold;
    height: 80px;
    text-transform: uppercase;
    width: 80px;
    border-radius: 50%;
}

.contact-card {
    min-width: 18rem;
    max-width: 30rem;
}

.view-contact-btn,
.send-mail-btn {
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-members {
    border-top: 10px solid #f6f6f6;
}

.contact-table {
    background-color: #e8e8df;
    border-collapse: collapse;
    color: #ffffff;
}

.contact-table th,
.contact-table td {
    background-color: inherit;
    border: 1px solid #ffffff;
    border-collapse: collapse;
    border-color: #e8e8df;
    padding: 8px;
}

.contact-container {
    height: 93%;
}

.container-dash-links {
    width: 95%;
    margin-left: 2vw;
    margin-right: 2vw;
    margin-top: 0;
    padding-left: 0;
    padding-right: 0;
}

.dashboard-link {
    color: #595959;
    text-decoration: none;
    font-size: calc(1em + 0.5vw);
}

.custom-button {
    background-color: black;
    color: white;
    border: none;
}

.cutom-button:last-child {
    margin-right: 0px;
}

.date-picker {
    min-width: 110px;
    font-size: 15px;
    padding: 6px;
    border: 2px solid #ccc;
    border-radius: 7px;
    outline: none;
}

body.login-page {
    background-color: #FFFF;
}


.secondary-menu.nav-pills,
.details-page.nav-pills {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.secondary-menu.nav-pills .nav-link,
.secondary-menu.nav-pills .nav-link a,
.details-page.nav-pills .nav-link,
.details-page.nav-pills .nav-link a {
    background: transparent;
    border: none;
    color: #FFF;
    font-size: 1.5rem;
    position: relative;
    padding: 5px 20px;
    transition: all 0.3s ease;
    z-index: 2;
}




.secondary-menu.nav-pills .nav-link.active a,
.secondary-menu.nav-pills .nav-link.active,
.details-page.nav-pills .nav-link.active a {
    background: transparent;
    border: none;
    color: #000000;
    z-index: 1;
}

.secondary-menu.nav-pills .nav-link.active::before,
.details-page.nav-pills .nav-link.active::before {
    background-color: #ffffff;
    content: "";
    height: 100%;
    left: 10px;
    position: absolute;
    right: -20px;
    top: 0;
    transform: skew(-25deg);
    width: 100%;
    z-index: -1;
}

.secondary-menu.nav-pills .nav-link.active span,
.details-page.nav-pills .nav-link.active span {
    position: relative;
    z-index: 2;
}

.filter {
    display: flex;
    gap: 10px;
    padding: 15px;
    background: #fff;
    border-radius: 10px;
}

.filter-button-col .btn:focus,
.search-btn,
.clear {
    outline: none;
    box-shadow: none;
    /* Optional: Removes box shadow for input and button */
}

.filter-button-col #filterToggle:hover {
    background-color: #343a40;
    /*   outline: none;
    color: #FFF;*/
    box-shadow: none;
    /* Optional: Removes box shadow for input and button */
}

.font-primary-color {
    color: #5b5e67;
}

.gray-background {
    background-color: #E8E8DF;
}

.green {
    background: green;
}

.govt-education-member {
    background-color: #003F61;
}


.in-kind-member {
    background-color: #F7D1D2;
}

.li-block {
    display: inline-block;
    color: #595959;
}

.logo-place-holder {
    font-size: 4rem;
    font-weight: bold;
    height: 100px;
    text-transform: uppercase;
    width: 100px;
}

.logo-image {
    height: 63px;
    width: 242px;
}

.local-industrial-member {
    background-color: #E98286;
}

.member-detail-menu .nav-link.active {
    background: none;
    color: #0d6efd;
    text-decoration: underline;
}

.member-logo img {
    height: 100px;
    object-fit: cover;
    width: 100px;
}

.medium-header {
    color: #343a40;
    font-size: calc(1em + 0.5vw);
    font-weight: 500;
}



.member-log.table-responsive,
.table-responsive {
    overflow-x: auto;
    white-space: nowrap;
}

.member-log .custom-table {
    /* border-collapse: separate;
    border-spacing: 0 12px; */
    min-width: 600px;
    width: 100%;
}

.member-log .custom-table thead {
    /* background-color: #2f4f4f;  */
    /* background-color: #343a40;  */
    color: #ffffff;
    font-weight: bold;
}

.member-log .custom-table thead tr th {
    /* background-color: #595959; */
    background-color: #343a40;
    color: #fff;
}

.member-log .custom-table thead input {
    color: #fff;
}

.member-log .custom-table th {
    padding: 10px 10px;
    text-align: left;
    vertical-align: middle;
}

.member-log .custom-table td {
    color: #333;
    font-size: 1rem;
    padding: 5px 10px;
}

.member-log .custom-table tbody tr {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    vertical-align: middle;
}

.member-log .custom-table tbody tr:last-child {
    border-spacing: 0;
    margin-bottom: 0;
}

.member-log .custom-table tbody tr:hover td {
    background-color: #e9ecef;
}

.member-log-filter .input-group-text {
    background: transparent;
    border: none;
}

.member-log-filter .form-control {
    box-shadow: none;
    border: none;
}

.member-log-filter .input-group {
    border: 1px solid #ddd;
    border-radius: 0.375rem;
}

.member-log-filter .input-group-text i {
    font-size: 1.2rem;
}

.member-log th .btn:focus,
.member-log th a:focus,
.member-log th input:focus {
    outline: none;
    box-shadow: none;
    /* Optional: Removes box shadow for input and button */
}

.member-log-filter .date-filter {
    cursor: pointer;
    border: 1px solid #ced4da;
    padding: 8px 12px;
    border-radius: 5px;
    display: inline-block;
    /* min-width: 200px; */
    background-color: white;
}


.member-log-filter .dropdown-menu {
    /* width: 280px; */
    padding: 10px;
}

.member-detail-tab .nav-pills .nav-link.active {
    background-color: #fff;
    border-bottom: 3px solid #E8E8DF;
    color: #000;
    border-radius: 0;
}

.member-detail-tab .nav-pills .nav-link .nav-item.dropdown {
    color: #000;
}

.municipality-dropdown {
    min-width: 110px;
    font-size: 15px;
    padding: 6px;
    border: 2px solid #ccc;
    border-radius: 7px;
    outline: none;
}

.main-nav-bar .nav-link {
    font-size: calc(1em + 0.5vw);
    font-weight: 300;
    color: #FFFFFF;
    padding-top: 0;
    padding-bottom: 0;
}

/* Target only the Select2 in #newContactModal */
#newContactModal .select2-container {
    width: 100% !important;
}

#newContactModal .select2-container--open .select2-dropdown {
    z-index: 9999;
    /* Higher than modal z-index */
}

/* Ensure modal doesn’t clip the dropdown */
#newContactModal .modal-dialog {
    overflow-y: initial !important;
}

#newContactModal .modal-content {
    overflow-y: auto;
}


.non-local-industrial-member {
    background-color: #8C1015;
}

.no-wrap {
    white-space: nowrap;
}

.numbers {
    font-size: 50px;
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    margin-bottom: 0px;
}


.no-wrap,
.dash-no-wrap {
    display: block;
    white-space: nowrap;
    overflow: hidden;
}

.overflow-x-scroll {
    overflow-x: scroll;
}

.profile.dropdown-menu .nav-link:hover {
    background-color: #e6f1fc;
}

.select2-container--default .select2-selection--multiple {
    min-height: 40px;
}

.small-btn-address {
    margin-top: -1rem;
}

.submit-button:hover {
    background-color: #4F46E5;
    opacity: 0.85;
    color: #FFF;
}

.scrollable-form {
    max-height: 80vh;
    overflow-y: auto;
    padding-bottom: 4rem;
}

.sticky-footer {
    position: sticky;
    bottom: 0;
    right: 0;
    background: #f6f6f6;
    padding: 1rem;
    text-align: right;
}


/* select 2 */
.select2-container--default .select2-selection--single {
    height: 40px;
    border: 1px solid #dee2e6;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 35px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 6px;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    height: 36px;
}

/* select 2 */

.search-box {
    min-width: 110px;
    font-size: 15px;
    padding: 6px;
    border: 2px solid #ccc;
    border-radius: 7px;
    outline: none;
}

.search-btn,
.filter-value {
    background-color: #333;
    color: white;
}

.send-mail-btn {
    background-color: #E8E8DF;
    color: #000;
}

.show-password {
    color: #163450;
    font-size: 0.825rem;
    right: 5%;
    top: 55%;
    cursor: pointer;
}


.small-font {
    font-size: 0.825rem;
}

.truncate-reason {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.truncate-reason-text {
    min-width: 150px;
    width: 150px;
}


.user-select-auto {
    cursor: pointer;
}

.view-contact-btn {
    background-color: #fff;
    border: 1px solid #E8E8DF;
}

.hidden {
    display: none !important;
}

.navbar-nav .nav-link.active {
    /* color: #F9C7CF; */
    background-color: #fff;
    color: #000000;
}

.small-table {
    min-width: 0 !important;
}


/*Reponsive*/
@media screen and (max-width: 376px) {
    .medium-header {
        font-size: 2.5vw;
    }

    .dash-no-wrap {
        display: flex;
        flex-wrap: wrap;
        max-width: 300px;
    }
}

@media (max-width: 768px) {

    .member-log .custom-table th,
    .member-log .custom-table td {
        font-size: 0.875rem;
        padding: 10px;
    }
}

@media (min-width: 425px) {
    .medium-header {
        font-size: 3vw;
    }

    .dash-no-wrap {
        display: inline;
    }
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }

    .medium-header {
        font-size: 2.2vw
    }

    .opportunity-overview {
        border-right: 2px solid #f6f6f6;
    }

    .contact-members {
        border-top: 0;
    }

    .contact-details {
        border-right: 2px solid #f6f6f6;
    }

    #main_nav {
        height: 60px;
    }
}

@media (min-width: 1220px) {
    .details-page .nav-item {
        width: 200px;
    }

    .details-page.nav-pills .nav-link {
        width: 200px;
    }

    .contacts-page.nav-pills .nav-link {
        width: 300px;
    }

    .medium-header {
        font-size: calc(1em + 0.4vw);
    }

    .container-log {
        margin-top: 1vw;
        width: 80%;
        max-width: none;
    }
}

@media (min-width: 2000px) {
    body {
        font-size: 1.8rem;
    }

    button {
        font-size: 1.8rem !important;
    }

    .btn, a.btn {
        padding: 0.5rem 1.5rem;
        font-size: 1.8rem;
    }

    .dashboard-date {
        min-height: 60px;
    }
    
    .details-page .nav-item {
        width: 300px;
    }

    h5 {
        font-size: 1.8rem
    }

    .form-label {
        font-size: 1.2rem !important; /* ~20px */
    }

    label {
        font-size: 1.2rem !important; /* Scales up on bigger screens */
    }

    .secondary-menu.nav-pills .nav-link,
    .details-page.nav-pills .nav-link {
        padding: 0.8rem;
    }

    p,
    span,
    a,
    input,
    select,
    textarea {
        font-size: 1.8rem !important;
    }

    .member-log .custom-table td,
    .member-log .custom-table input {
        font-size: 1.8rem;
    }

    .secondary-menu.nav-pills .nav-link a {
        font-size: 2.5rem;
    }

    .truncate-reason-text {
        width: 300px;
    }
    
    #main_nav {
        height: 100px;
    }
    
    .navbar-nav .nav-item {
        align-self: center;
    }
}

.chart .card {
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    border: none;
}

.chart .card-body {
    padding: 1.25rem;
}

.chart .card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #4e73df;
    margin-bottom: 1rem;
}

.chart canvas {
    display: block;
    width: 100%;
}