/* This file contains overrides for the Bootstrap theme's classes to reflect the UB corporate branding */

:root {
    --bs-primary: #d2460f;
    --ub-primary-hover: #001c3d;
    --bs-secondary: #fcfafa;
    --ub-secondary-hover: #ffffff;
    --Dash-Fill-Interactive-Strong: #d2460f; /* Color used for interactive elements like search box border or hovering over a dropdown value */
}

.accordion-item {
    border: 1px solid #d2460f;
    margin-bottom: 15px;
}

.accordion-button:not(.collapsed),
.accordion-button:focus,
.accordion-button:active {
    background-color: #d2460f;
    color: white;
    box-shadow: none;
}
.accordion-post-hr {
    color: #d2460f;
    height: 2px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.alert-info {
    background-color: darkgrey;
    color: white;
    border-color: darkgrey;
}

.alert-secondary {
    background-color: #ebedef;
    border-color: #ebedef;
}

.modal-footer button:hover,
.btn:hover {
    /* This removes the 'press the button' hover animation for all buttons */
    border-radius: 3px;
    border-width: 2px !important;
    margin-top: 0 !important;
}

.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    border-radius: 3px;
    border-width: 2px;
    transition: none;
}

.btn-primary:hover {
    background-color: var(--ub-primary-hover);
    border-color: var(--ub-primary-hover) !important;
}

.btn-secondary {
    border-color: #d2460f;
    border-radius: 3px;
    border-width: 2px;
    background: var(--bs-secondary);
}

.btn-secondary:hover {
    color: var(--bs-primary);
    background: var(--ub-secondary-hover);
    border-color: var(--bs-primary) !important;
}

.modal-footer button {
    margin: 0;
    border-radius: 3px;
    border-width: 2px;
    transition: none; /* if there's a border or padding animation */
}
.nav-row-container {
    margin-left: 0;
    margin-right: 0;
}

.nav-pills, .nav-pills .nav-link, .nav-pills .nav-item {
    /* Removes borders around Navigation pills */
    border: none;
    box-shadow: none;
}
.nav-pills {
    /* Adds a horizontal line below the navigation pills */
    border-bottom: 2px solid #d2460f;
    margin-bottom: 10px;
}
.nav-pills .nav-link {
    /* Style the inactive pills: normal weight, dark blue, no underline */
    font-weight: normal;
    color: #001c3d;
    text-decoration: none;
    background: none;
    border: none;
    margin-top: -2px;
}
.nav-pills .nav-link.active {
    /* Style the active pill: bold, blue, underlined */
    font-weight: bold;
    color: #001c3d;
    text-decoration: underline;
    background: none;
    border: none;
}

#userpanel-div {
    /* Adds a horizontal line below the userpanel */
    border-bottom: 2px solid #d2460f;
    margin-left: 5%;
    margin-right: 5%;
    margin-bottom: -10px;   /* -10px to counter the page-content margin-top */
}