:root { 
    /*Background*/
    --bg-1: rgb(4, 4, 4); /* #E2D2B9 */
    --bg-2: #191919;
    --bg-3: #121212;
    --bg-3-30: rgba(164, 127, 82, .3);
    --bg-4: #2f2f30 ;
    --bg-5: #343b36;

    --text-primary: #ecf1f8;
    --text-secondary: #2e211c;
    --text-muted: #838183;

    --brand-1: #009DCE;
    --brand-2: #3E3AEF;
    --brand-3: #77B4BA;

    /*Alerts / Admin Colors*/
    --green: #198754;
    --green-90: rgba(25, 135, 84, .9);
    --green-80: rgba(25, 135, 84, .8);
    --green-70: rgba(25, 135, 84, .7);
    --green-10: rgba(25, 135, 84, .1);

    --yellow: rgb(255, 193, 7);
    --yellow-90: rgba(255, 193, 7, .9);
    --yellow-80: rgba(255, 193, 7, .8);
    --yellow-70: rgba(255, 193, 7 ,.7);
    --yellow-10: rgba(255, 193, 7 ,.1);
    
    --orange: rgb(253, 126, 20);
    --orange-90: rgba(253, 126, 20, .9);
    --orange-80: rgba(253, 126, 20, .8);
    --orange-70: rgba(253, 126, 20, .7);

    --red: rgb(220, 53, 69);
    --red-90: rgba(220, 53, 69, .9);
    --red-80: rgba(220, 53, 69, .8);
    --red-70: rgba(220, 53, 69 ,.7);
    --red-10: rgba(220, 53, 69 ,.1);

    --blue: rgb(11, 202, 240);
    --blue-90: rgba(11, 202, 240, .9);
    --blue-80: rgba(11, 202, 240, .8);
    --blue-70: rgba(11, 202, 240, .7);
    --blue-10: rgba(11, 202, 240, .1);

    --pink: #d63384;
    --pink-90: rgba(214, 51, 132, .9);
    --pink-80: rgba(214, 51, 132, .8);
    --pink-70: rgba(214, 51, 132, .7);

    --grey: rgb(173, 181, 189);
    --grey-90: rgba(173, 181, 189, .9);
    --grey-80: rgba(173, 181, 189, .8);
    --grey-70: rgba(173, 181, 189, .7);

    --grey-dark: rgb(118, 123, 128);
    --grey-dark-90: rgb(118, 123, 128, .9);
    --grey-dark-80: rgb(118, 123, 128, .8);
    --grey-dark-70: rgb(118, 123, 128, .7);

    /*Foreground / Highlights*/
    --primary-red: rgb(214, 14, 14);
    --primary-red-75: rgba(163, 0, 0, .75);
    --secondary-red: rgb(117, 0, 0);
    --primary-orange: rgb(255, 162, 0);
    --secondary-orange: rgb(235, 149, 0);
    --green-1: rgb(25, 135, 84);
    --green-2: rgb(20, 112, 69);

    --text-light: rgb(170, 170, 170);
    --text-light-2: rgb(120, 120, 120);
    --text-light-3: rgb(60, 60, 60);
}

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Text:ital@0;1&display=swap');

/*generic*/
body {
    font-family: "Montserrat", sans-serif;
    font-size: 12pt;
    background-color: var(--bg-1); 
    color: var(--text-primary);
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Montserrat", sans-serif !important;
}

ol li {
    list-style: decimal;
}

.text-muted {
    color: var(--text-muted) !important;
}

.highlight-bg-3 {
    transition: color .3s ease;

    &:hover {
        color: var(--bg-3);
    }
}

.highlight-brand-1 {
    transition: color .3s ease;

    &:hover {
        color: var(--brand-1) !important;
    }
}

.hover-bg-1 {
    transition: all .3s ease !important;

    &:hover {
        background-color: var(--bg-1) !important;
    }
}

.no-scroll {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.hidden {
    opacity: 0;
    max-height: 0;
    height: fit-content;
    overflow: hidden;
    transition: opacity .3s ease;
    display: block;
}

.show {
    opacity: 1;
}

.modal-body .show {
    max-height: fit-content;
}

.text-primary {
    color: var(--text-primary) !important;
}

.text-secondary {
    color: var(--text-secondary) !important;
}

.text-m {
    font-size: .85rem; 
    line-height: .85rem;
}

.text-sm {
    font-size: .7rem; 
    line-height: .7rem;
}

.text-regular {
    font-size: 1rem;
    line-height: 1.75rem;
}

/*Page Headers*/
.hero-container {
    padding-top: 125px;
}

@media(min-width: 768px) {
    .hero-container {
        padding-top: 100px;   
    }
}

/*Line Clamps*/
.line-clamp-1 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.line-clamp-3 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.line-clamp-6 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
}

.hover-m-left, .hover-m-right, .hover-target {
    transition: all .3s ease;
}

.hover-m-left:hover .hover-target {
    margin-left: 10px;
}

.hover-m-right:hover .hover-target {
    margin-right: 10px;
}

@media(min-width: 992px) {
    .hover-scale {
        transition: all .3s ease;
    
        &:hover {
            transform: scale(1.03);
        }
    }
    
    .hover-scale-lg {
        transition: all .3s ease;
    
        &:hover {
            transform: scale(1.075);
        }
    }
    
    .hover-scale-xl {
        transition: all .3s ease;
    
        &:hover {
            transform: scale(2);
        }
    }
}

/*Dropdown Menu*/
.dropdown-menu {
    padding-top: 0;
    padding-bottom: 0;
}

.dropdown-menu .dropdown-item:hover {
    background-color: var(--bg-2);
}

.dropdown-toggle::after {
    display: none !important;
}

/*Bootstrap Overwrites*/
.container {
    max-width: 1450px;
}

.accordion-button {
    &::after {
        content: none !important;
    }
}

.accordion-button {
    background-color: var(--bg-2) !important;
    font-size: 18px;
    color: white !important;
}

a {
    color: var(--text-primary) !important;
    text-decoration: none;
}

.hover-underline {
    text-decoration: underline 1px solid var(--text-primary) !important;

    &:hover {
        text-decoration: none !important;
    }
}

.hover-red {
    transition: all .3s ease;

    &:hover {
        color: red;
    }
}

/* Form Defaults */
.form-control {
    border: none;
    border-bottom: 2px solid #0a2540; /* dark blue */
    border-radius: 0;
    background-color: transparent;
    color: var(--text-primary);
    padding-left: 0;
    padding-right: 0;
    font-size: 1rem;
    box-shadow: none;
    transition: border-color 0.3s ease, color 0.3s ease;
}

textarea.form-control {
    border-left: 2px solid #0a2540;
    padding: .5rem .5rem ;
}

select.form-control {
    border: 2px solid #0a2540; /* dark blue */
    padding: 6px 12px;
    border-radius: 12px;
    /* color: var(--text-secondary) !important; */
}

select option {
    background-color: var(--bg-2);
}

.form-control::placeholder {
    color: #aaa; /* gray placeholder */
    opacity: 1; /* override Firefox default */
}

.form-control:focus {
    border-color: var(--brand-1) !important;
    background-color: transparent;
    color: var(--text-primary);
    outline: none;
    box-shadow: none; /* remove Bootstrap’s default blue shadow */
}

.form-control:hover {
    border-color: #1d3557; /* slightly brighter blue for hover */
}

input.form-control:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
    -webkit-text-fill-color: white !important;
}

label {
    color: white;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

input.form-control:-webkit-autofill,
input.form-control:-webkit-autofill:hover,
input.form-control:-webkit-autofill:focus,
textarea.form-control:-webkit-autofill,
textarea.form-control:-webkit-autofill:hover,
textarea.form-control:-webkit-autofill:focus,
select.form-control:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
  -webkit-text-fill-color: white !important;
  transition: background-color 9999s ease-in-out 0s; /* prevent flicker */
  caret-color: white;
}

.form-check-input {
    border-color: var(--text-primary) !important;
}

/* Dropdowns */
.dropdown-item {
    background-color: var(--bg-2);
}