
:root {
    --av-theme-background: #00a29d;
    --av-theme-secondary: #00a29d;
    --av-theme-secondary-text: white;
    --av-theme-text: white;
    --av-theme-danger-background: #e62222;
    --av-theme-danger-text: white;
    --av-theme-rgb: 0, 162, 157;
    --av-theme-danger-rgb: 230, 34, 34;
    --av-theme-text-rgb: 255, 255, 255;
    --av-darker: #27272A;
}

.bg-candidacy-splash {
    background-position: center;
    background-size: cover;
}

.bg-theme {
    color: white;
    --bs-card-cap-color: white;
    --bs-heading-color: white;
    background-color: #00a29d !important;
}

.bg-theme-secondary {
    color: white !important;
    background-color: #00a29d !important;
}

.btn-theme-secondary, .btn-theme-secondary-outline:hover {
    color: #00a29d !important;
    background-color: white !important;
    border-color: white !important;
}

.btn-theme-secondary:hover {
    background-color: rgba(255, 255, 255, 0.8) !important;
}

.btn-theme-secondary:focus, .btn-theme-secondary-outline:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, .5) !important;
}

.btn-theme-secondary-outline {
    color: white !important;
    border-color: white !important;
}

.btn-outline-theme {
    border-color: var(--av-theme-background) !important;
    color: var(--av-theme-background) !important;  
}

.btn-outline-theme:hover {
    color: white !important;
    background-color: var(--av-theme-background) !important;
}

.bg-theme-transparent {
    color: white;
    background-color: rgba(0, 162, 157, 0.7) !important;

}

.bg-light-transparent {
    color: white;
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.bg-dark-transparent {
    color: white;
    background-color: rgba(0, 0, 0, 0.5) !important;
}

.text-theme {
    color: #00a29d !important;
}

.bg-theme-danger {
    color: white;
    background-color: #e62222 !important;
}

.bg-theme-danger a {
    color: white;
}

.bg-theme-danger a:hover {
    color: #ddd;
}

.text-contrast {
    color: white !important;
}

.text-secondary-contrast {
    color: white !important;
}

.text-secondary-contrast-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

.text-theme-danger {
    color: #e62222 !important;
}

.border-theme {
    --bs-border-opacity: 1;
    border-color: rgba(var(--av-theme-rgb), var(--bs-border-opacity)) !important;
}

.border-theme-danger {
    --bs-border-opacity: 1;
    border-color: rgba(var(--av-theme-danger-rgb), var(--bs-border-opacity)) !important;
}

.AVLinkVisualizer--themed-btn {
    background-color: #00a29d !important;
    color: white !important;
}

.AVLinkVisualizer--themed-btn:hover {
    background-color: rgba(0, 162, 157, 0.8) !important;
}

.AVResourceSection--image-container {
    justify-content: center;
    max-width: 350px;
    max-height: 350px;
}
.AVResourceSection--image-container {
    max-height: 350px;
    max-height: 350px;
}

.AVResourceSection--container {
    align-items: center;
}

.btn-theme {
  --bs-btn-color: white !important;
  --bs-btn-bg: #00a29d !important;
  --bs-btn-border-color: #00a29d !important;
  --bs-btn-hover-color: black;
  --bs-btn-hover-bg: rgb(38, 176, 172);
  --bs-btn-hover-border-color: rgb(26, 171, 167) !important;
  --bs-btn-focus-shadow-rgb: 216.75, 241.05, 240.3;
  --bs-btn-active-color: black;
  --bs-btn-active-bg: rgb(51, 181, 177);
  --bs-btn-active-border-color: rgb(26, 171, 167);
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: white;
  --bs-btn-disabled-bg: #00a29d;
  --bs-btn-disabled-border-color: #00a29d;
}

.btn-outline-contrast {
  --bs-btn-color: white !important;
  --bs-btn-border-color: white !important;
  --bs-btn-hover-color: black;
  --bs-btn-hover-bg: white;
  --bs-btn-hover-border-color: white !important;
  --bs-btn-focus-shadow-rgb: 255, 255, 255;
  --bs-btn-active-color: black;
  --bs-btn-active-bg: white;
  --bs-btn-active-border-color: white;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: white;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: white;
  --bs-gradient: none;
}


.btn-theme-danger {
  --bs-btn-color: white !important;
  --bs-btn-bg: #e62222 !important;
  --bs-btn-border-color: #e62222 !important;
  --bs-btn-hover-color: white;
  --bs-btn-hover-bg: rgb(234, 67, 67);
  --bs-btn-hover-border-color: rgb(233, 56, 56) !important;
  --bs-btn-focus-shadow-rgb: 251.25, 221.85, 221.85;
  --bs-btn-active-color: white;
  --bs-btn-active-bg: rgb(235, 78, 78);
  --bs-btn-active-border-color: rgb(233, 56, 56);
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: white;
  --bs-btn-disabled-bg: #e62222;
  --bs-btn-disabled-border-color: #e62222;
}


.flash-theme-danger {
    border-color: #e62222 !important;
    background-color: #e62222 !important;
}

/* slightly transparent fallback */
.bg-blur-dark {
    background: rgba(50,50,50,0.85);
}

.bg-blur-darker {
    background: rgba(30,30,30,0.95);
}

/* if backdrop support: very transparent and blurred */
@supports ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {
    .bg-blur-dark {
        background: rgba(50,50,50,0.7);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .bg-blur-darker {
        background: rgba(30,30,30,0.8);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

.pretty-scroll-theme::-webkit-scrollbar {
    width: 10px;               /* width of the entire scrollbar */
}
.pretty-scroll-theme::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0);        /* color of the tracking area */
}
.pretty-scroll-theme::-webkit-scrollbar-thumb {
    background-color: #00a29d;  /* color of the scroll thumb */
}

.pretty-scroll-theme {
    scrollbar-color: #00a29d rgba(0, 0, 0, 0);
}

.notification {
    animation: notification-animation 2s infinite;
}

@keyframes notification-animation {
    0% {
        background-color: #00a29d
    }
    10% {
        background-color: #00d5ce
    }
    100% {
        background-color: #00a29d
    }
}

.result-progress > .breadcrumb-item + .breadcrumb-item::before {
    content: '→';
    font-weight: initial;
    color: #cccccc
}

.result-progress-inverted > .breadcrumb-item + .breadcrumb-item::before {
    content: '←';
    font-weight: initial;
    color: #cccccc
}

.result-progress > .active ~ .breadcrumb-item {
    opacity: 0.5;
}

.dropdown-menu {
    --bs-dropdown-link-active-bg: #00a29d;
    --bs-dropdown-link-active-color: white;
}
