
:root {
    --av-theme-background: #292b2d;
    --av-theme-secondary: #fae005;
    --av-theme-secondary-text: black;
    --av-theme-text: white;
    --av-theme-danger-background: #dc3545;
    --av-theme-danger-text: white;
    --av-theme-rgb: 41, 43, 45;
    --av-theme-danger-rgb: 220, 53, 69;
    --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: #292b2d !important;
}

.bg-theme-secondary {
    color: black !important;
    background-color: #fae005 !important;
}

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

.btn-theme-secondary:hover {
    background-color: #52525B !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: #27272A !important;
    border-color: #27272A !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(41, 43, 45, 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: #292b2d !important;
}

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

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

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

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

.text-theme-danger {
    color: #dc3545 !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: #292b2d !important;
    color: white !important;
}

.AVLinkVisualizer--themed-btn:hover {
    background-color: rgba(41, 43, 45, 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: #292b2d !important;
  --bs-btn-border-color: #292b2d !important;
  --bs-btn-hover-color: white;
  --bs-btn-hover-bg: rgb(73, 75, 77);
  --bs-btn-hover-border-color: rgb(62, 64, 66) !important;
  --bs-btn-focus-shadow-rgb: 222.9, 223.2, 223.5;
  --bs-btn-active-color: white;
  --bs-btn-active-bg: rgb(84, 85, 87);
  --bs-btn-active-border-color: rgb(62, 64, 66);
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: white;
  --bs-btn-disabled-bg: #292b2d;
  --bs-btn-disabled-border-color: #292b2d;
}

.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: #dc3545 !important;
  --bs-btn-border-color: #dc3545 !important;
  --bs-btn-hover-color: white;
  --bs-btn-hover-bg: rgb(225, 83, 97);
  --bs-btn-hover-border-color: rgb(224, 73, 88) !important;
  --bs-btn-focus-shadow-rgb: 249.75, 224.7, 227.1;
  --bs-btn-active-color: black;
  --bs-btn-active-bg: rgb(227, 93, 106);
  --bs-btn-active-border-color: rgb(224, 73, 88);
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: white;
  --bs-btn-disabled-bg: #dc3545;
  --bs-btn-disabled-border-color: #dc3545;
}


.flash-theme-danger {
    border-color: #dc3545 !important;
    background-color: #dc3545 !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: #292b2d;  /* color of the scroll thumb */
}

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

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

@keyframes notification-animation {
    0% {
        background-color: #292b2d
    }
    10% {
        background-color: #414448
    }
    100% {
        background-color: #292b2d
    }
}

.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: #292b2d;
    --bs-dropdown-link-active-color: white;
}
