/* ==========================================================================
   V2 DASH STYLING
   ========================================================================== */
.wrapper {
    display: block;
}

#sidebar {
    width: 250px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 1003;
    background-color: var(--primary-dark);
    color: var(--white);
    transition: all 0.3s;
    margin-left: -218px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.12), 0 6px 20px 0 rgba(0, 0, 0, 0.12);
}

#sidebar .mCSB_1_scrollbar {
    visibility: hidden
}

#sidebar .menu-item a {
    pointer-events: none;
    cursor: default;
}

#sidebar.active .menu-item a {
    pointer-events: auto;
    cursor: pointer;
}

#sidebar.active {
    margin-left: 0;
}

#sidebar.active .mCSB_1_scrollbar {
    visibility: visible;
}

.sidebar-content {
    height: 100vh;
}

.sidebar .components {
    border-bottom: 2px solid var(--primary-max-dark);
}

.sidebar-header {
    background-color: var(--primary-max-dark);
    padding: 10px 10px 20px 30px;
}

.sidebar-header h3,
.sidebar-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 23px;
    letter-spacing: 1px;
}

.sidebar-header h3 span,
.sidebar-header h2 span {
    font-weight: 400;
    font-size: 24px;
}

.nav-block {
    display: inline-block;
    width: 100%;

    padding: 12px 5px 12px 15px;
    text-decoration: none !important;
}

#sidebar ul li.active>a,
#sidebar a[aria-expanded="true"] {
    background: var(--primary-max-dark);
    color: var(--white);
}

.sidebar .components .active:hover .tip,
#sidebar a[aria-expanded="true"] .tip {
    color: var(--gray-light-100);
}

.sidebar .components .active:hover .svg path,
#sidebar a[aria-expanded="true"] .svg path {
    fill: var(--gray-light-100);
}

.sidebar .components .home {
    fill: var(--gray-light-100);
}

/*
 * The overlay is a full-screen, semi-transparent background
 * that appears below the sidebar. It is used to dim the main
 * content when the sidebar is active.
 */
.overlay {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1002;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

/* Display .overlay when it has the .active class */
.overlay.active {
    display: block;
    opacity: 1;
}

/* --- NAV --- */
.outer-nav {
    position: fixed;
    z-index: 999;
}

.nav-container {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.12), 0 6px 20px 0 rgba(0, 0, 0, 0.12);
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    border: none;
    display: none;
}

.main {
    width: 100%;
}

.navbar-primary {
    background-color: var(--gray-light-100);
    display: block;
    height: 100vh;
    width: 95px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    position: relative;
}

.svg path {
    transition: fill .4s ease;
}

.sidebar .components .svg {
    vertical-align: middle;
}

.sidebar .components .svg path {
    fill: var(--gray-light-100)
}

.sidebar .components .admin-icon {
    width: 35px;
}

.sidebar .components .home,
.sidebar .components .comments,
.sidebar .components .sitemap {
    width: 30px;
}

.sidebar .components .globe,
.sidebar .components .envelope {
    width: 26px;
}

.sidebar .components .user {
    width: 23px;
}

.sidebar .components .shield {
    width: 22px;
}

.sidebar .components .open-door {
    width: 100%;
    bottom: 15px;
    position: absolute;
    padding-right: 12px;
}

.sidebar .components .open-door:hover {
    background-color: transparent;
}

.sidebar .components .open-door .svg {
    width: 50px;
}

.sidebar .components li:hover .svg path {
    fill: var(--primary-dark);
    transition: fill .4s ease;
}

.sidebar p {
    text-align: center;
    padding-top: 25px;
    padding-bottom: 10px;
    font-size: 20px;
}

.sidebar .tip,
.sidebar p {
    font-size: 17px;
    letter-spacing: 1px;
    font-family: 'Lato', sans-serif !important;
    font-weight: 500 !important;
    margin-left: 10px;
    color: var(--white);
}

.navbar-primary-menu,
.navbar-primary-menu li {
    margin: 0;
    padding: 0;
    list-style: none;
    border: none;
}

.sidebar .components li,
.admin-dropdown {
    display: block;
    color: var(--gray-light-300);
    font-size: 25px;
    width: 100%;
}

.sidebar .components li:hover .tip {
    text-decoration: none !important;
    color: var(--primary-dark);
}

.navbar-primary .navbar-collapse {
    padding-left: 0;
    border: none;
    padding-right: 0;
}

.navbar-primary .brand span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 12px;
    color: var(--gray-light-300);
    ;
    text-decoration: none;
}

.navbar-primary .brand:hover span {
    color: var(--white);
}

.dropdown {
    position: relative;
}

.admin-dropdown .caret {
    margin-top: -18px;
}

.admin-dropdown .dropdown-menu {
    float: none;
    left: 110px;
    top: 0;
}

.admin-dropdown .dropdown-menu a {
    font-size: 12px;
    border: none;
}

.dropdown a[aria-expanded="false"] .caret {
    transform: rotate(-90deg);
}

.dash-container {
    width: 100%;
    padding-top: 40px;
}

/* --- MOBILE NAV --- */
.navbar {
    margin-bottom: 20px;
    min-height: 0;
}

.navbar-header {
    background-color: var(--primary-soft-dark);
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: 1px;
    border: none;
    border-radius: 50%;

}

.navbar-header button {
    float: none;
    margin: 0 auto;
    background-color: transparent;
    border: none;
    border-radius: 50%;
    padding: 10px 13px;
}

.navbar-header img {
    width: 22px;
}

.navbar-header button span {
    color: var(--white);
}

.navbar-header:hover span {
    color: var(--gray-light-100);
}

.main-nav {
    padding: 0;
}

/* --- Sweep To Right --- */
.hvr-sweep-to-right {
    background: linear-gradient(to right, var(--gray-light-100), var(--gray-light-100));
    background-repeat: no-repeat;
    background-size: 0 100%;
    transition: background-size .45s 0s;
}

.hvr-sweep-to-right:hover,
.hvr-sweep-to-right:focus,
.hvr-sweep-to-right:active {
    color: var(--primary-dark);
    background-size: 100% 100%;
    text-decoration: none !important;
}

#adminMenu {
    background-color: var(--primary-max-dark);
    color: var(--white);
    text-align: right;
    padding-right: 15px;
    padding-bottom: 25px;
}

#adminMenu a.navlink {
    color: var(--white);
    text-align: right;
    font-size: 12px;
}

.sidebar a.dropdown-header:visited,
.sidebar a.dropdown-header:hover,
.sidebar a.dropdown-header:active,
.sidebar a.dropdown-header:focus {
    text-decoration: none;
    color: var(--gray-medium-400);
}

.sidebar .dropdown-header h5 {
    text-align: left;
    padding-left: 2em;
}

.sidebar .dropdown-header h5 .caret {
    float: right;
    margin-top: 7px;
}

/* ==========================================================================
   BODY CONTAINER
   ========================================================================== */
.body-container {
    padding-left: 70px;
    padding-right: 70px;
    margin-bottom: 60px;
    display: flex;
}

#donor-card .well {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.15), 0 6px 20px 0 rgba(0, 0, 0, 0.12);
    background-color: var(--white);
}

#donor-list {
    background-color: var(--white);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.15), 0 6px 20px 0 rgba(0, 0, 0, 0.12);
    padding: 35px 10px 40px 10px;
    margin-top: 42px;
}

.heatmap-wrapper h2,
.heatmap-wrapper .h2,
#fundraiser-dashboard h2,
#main-stewardship h2,
.my-donors h1,
.notes-page h1,
.donor-map h1,
.unpostables-container h1,
.data-load-container h1,
.trips-container h1,
.changes-to-draft h1,
.repeated-changes h1,
.all_rules h1,
.organization-admin h1,
.base-admin h1,
.email-outbox h1,
.report-builder h1,
.manual-drafts h1,
.dashboard-title-mobile {
    color: var(--primary-dark);
    font-family: 'Lato', sans-serif;
    font-weight: 700;
}

.base-admin {
    width: 100%;
}

.heatmap-wrapper h2 span,
.heatmap-wrapper .h2 span,
#fundraiser-dashboard h2 span,
#main-stewardship h2 span,
.my-donors h1 span,
.notes-page h1 span,
.donor-map h1 span,
.data-load-container h1 span,
.changes-to-draft h1 span,
.repeated-changes h1 span,
.all_rules h1 span,
.organization-admin h1 span,
.base-admin h1 span,
.email-outbox h1 span,
.report-builder h1 span,
.manual-drafts h1 span,
.dashboard-title-mobile span {
    font-weight: 300;
}

.heatmap-wrapper .badge {
    background-color: var(--primary-dark);
}

.heatmap-wrapper .panel-heading {
    background-image: none !important;
    background-color: var(--primary-dark);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.15), 0 6px 20px 0 rgba(0, 0, 0, 0.12);
    border: none;
    border-radius: 5px;
}

.heatmap-wrapper .panel-heading .panel-title {
    color: var(--white);
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 2px;
}

#donor-card .panel-heading i {
    color: var(--white);
}

.report-container {
    background-color: var(--white);
    border-radius: 4px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.15), 0 6px 20px 0 rgba(0, 0, 0, 0.12);
    padding: 10px 30px;
    margin-top: 16px;
}

.fundraiser-dashboard .report-container h3 {
    padding-bottom: 8px;
}

.fundraiser-dashboard .report-container tr,
.stewardship-info {
    background-color: var(--gray-light-200);
    border: none;
    font-size: 16px;
}

.fundraiser-dashboard .report-container tr:hover {
    background-color: var(--gray-light-200);
}

.fundraiser-dashboard .report-container tr td,
.donor-stewardship .stewardship-info td {
    padding: 15px 20px 12px 20px;
    border: none;
}

.fundraiser-dashboard .report-container .spacing {
    background-color: var(--white);
}

.fundraiser-dashboard .report-container .spacing:hover {
    background-color: var(--white);
}

.fundraiser-dashboard .report-container .spacing td {
    padding: 7px 0;
}

.fundraiser-dashboard .report-container tr td+td {
    text-align: right;
    color: var(--primary-dark);
}

.fundraiser-dashboard h4,
.fundraiser-dashboard .h4,
.notes-page h4,
.notes-page .h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    color: var(--gray-medium-500);
    display: block;
}

.subtitle span {
    display: block;
    margin-block-start: 1.33em;
    margin-block-end: 1.33em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}

/* ==========================================================================
   WELCOME PANEL
   ========================================================================== */
.dash-welcome .panel-info {
    border: none;
}

.dash-welcome .panel-heading {
    background-color: var(--primary-dark);
    border: none !important;
    color: var(--white);
    padding: 20px 40px;
    font-size: 22px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.15), 0 6px 20px 0 rgba(0, 0, 0, 0.12);

}

.dash-welcome .welcome-greeting {
    color: var(--white);
}

.dash-welcome .welcome-greeting h4,
.dash-welcome .welcome-greeting .h4 {
    display: inline-block;
    font-size: 20px;
}

.dash-welcome .panel-title>a {
    font-size: 20px;
}

.dash-welcome .user-container {
    display: inline-block;
    margin-left: 20px;
    color: var(--white);
    font-size: 20px;
}

.dash-welcome .dropdown-toggle {
    color: var(--white);
    display: inline-block;
}

.dash-welcome .brand {
    display: inline-block;
}

/* ==========================================================================
   MANAGER DASH
   ========================================================================== */
.managerDash h1 {
    color: var(--primary-dark);
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    font-size: 38px;
}

.managerDash h1 span {
    font-weight: 700
}

.managerDash .header h2 {
    color: var(--black);
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 20px;
    padding-bottom: 10px;
    margin-top: 0;
}

.managerDash .heatmap-container>h4 {
    font-family: 'Lato', sans-serif;
    font-size: 26px;
    font-weight: 300;
    color: var(--primary-dark);
}

.managerDash .heatmap-filter {
    background-color: var(--primary-dark);
    border: none;
}

.managerDash .heatmap-filter label {
    color: var(--white);
    padding-left: 5px;
    padding-right: 5px;
}

/* ==========================================================================
   SIDEBAR
   ========================================================================== */
@-webkit-keyframes slide-back {
    100% {
        right: -27px;
    }
}

@-webkit-keyframes slide-front {
    0% {
        right: -27px;
    }

    100% {
        right: -57px;
    }
}

.sidebar .hamburger {
    position: absolute;
    background-color: var(--gray-light-100);
    border-radius: 50%;
    right: -27px;
    top: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.15), 0 6px 20px 0 rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease-in-out;
    -webkit-animation: slide-back 0.8s backwards;
    -webkit-animation-delay: 0s;
    animation: slide-back 0.8s backwards;
    animation-delay: 0s;
    z-index: 1500;
}

.sidebar.active .hamburger {
    -webkit-animation: slide-front 0.8s forwards;
    -webkit-animation-delay: 0s;
    animation: slide-front 0.8s forwards;
    animation-delay: 0s;
}

.sidebar .hamburger:hover {
    background-color: var(--gray-light-200);
    opacity: 1 !important
}

.sidebar .hamburger .hamburger-box {
    width: 26px;
    height: 19px;
    top: 2px;
}

.sidebar .hamburger .hamburger-inner,
.sidebar .hamburger .hamburger-inner::before,
.sidebar .hamburger .hamburger-inner::after {
    width: 27px;
}

.sidebar-content .mCustomScrollBox {
    overflow: visible;
}

.sidebar-content .mCSB_container {
    overflow: visible;
}

#giftComparisonContainer h3 {
    color: var(--gray-medium-400);
    font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    font-size: 20px;
    font-weight: 900;
    margin-top: 10px;
}

/* --- Success Report Button --- */
.success-reporting {
    overflow: hidden;
    position: relative;
    border-radius: 60px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.15), 0 6px 20px 0 rgba(0, 0, 0, 0.12);
    margin-top: 25px;
    padding-top: 50px;
    padding-bottom: 50px;
    background: rgb(71, 122, 143);
    background: -moz-linear-gradient(154deg, rgba(71, 122, 143, 1) 0%, rgba(80, 107, 134, 1) 100%);
    background: -webkit-linear-gradient(154deg, rgba(71, 122, 143, 1) 0%, rgba(80, 107, 134, 1) 100%);
    background: linear-gradient(154deg, rgba(71, 122, 143, 1) 0%, rgba(80, 107, 134, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#713D9D", endColorstr="#506b86", GradientType=1);
}

.success-reporting h4 {
    padding-left: 55px;
    font-size: 20px;
    opacity: 0;
    position: absolute;
    padding-left: 0px;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    background-image: rgb(71, 122, 143);
    background-image: -moz-linear-gradient(154deg, rgba(71, 122, 143, 1) 0%, rgba(80, 107, 134, 1) 100%);
    background-image: -webkit-linear-gradient(154deg, rgba(71, 122, 143, 1) 0%, rgba(80, 107, 134, 1) 100%);
    background-image: linear-gradient(154deg, rgba(71, 122, 143, 1) 0%, rgba(80, 107, 134, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#31708F", endColorstr="#506b86", GradientType=1);
    font-weight: 400;
    transition: all .3s linear;
    z-index: 2;
    top: 30px;
    left: -100px;
}

.success-reporting h5 {
    top: 30px;
    left: 115px;
    font-size: 20px;
    color: var(--white);
    position: absolute;
    font-weight: 400;
    transition: all .3s linear;
    z-index: 2;
    opacity: 1;
}

.success-reporting:hover h5 {
    opacity: 0;
    left: 190px;
    transition: all .3s linear;
}

.success-reporting:hover h4 {
    left: 80px;
    opacity: 1;
    transition: all .3s linear;
    z-index: 4;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    background-image: rgb(71, 122, 143);
    background-image: -moz-linear-gradient(154deg, rgba(71, 122, 143, 1) 0%, rgba(80, 107, 134, 1) 100%);
    background-image: -webkit-linear-gradient(154deg, rgba(71, 122, 143, 1) 0%, rgba(80, 107, 134, 1) 100%);
    background-image: linear-gradient(154deg, rgba(71, 122, 143, 1) 0%, rgba(80, 107, 134, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#31708F", endColorstr="#506b86", GradientType=1);
}

.reporting-button {
    position: absolute;
    top: 6px;
    left: .5%;
    background-color: var(--primary-soft-light);
    border-radius: 50%;
    padding: 22px;
    transition: all .3s linear;
    z-index: 5;
}

.reporting-button .visualize-reporting {
    width: 44px;
    opacity: 1;
    transition: all .3s linear;
    position: relative;
}

.success-reporting:hover .reporting-button .visualize-reporting {
    opacity: 0;
}

.reporting-button .reporting-arrow {
    transition: all .3s linear;
    opacity: 0;
    position: absolute;
    top: 26px;
    left: 22px;
    width: 44px;
}

.success-reporting:hover .reporting-button .reporting-arrow {
    opacity: 1;
}

.success-reporting:hover .reporting-button {
    transition: all .3s linear;
    left: 99.5%;
    background-color: var(--white);
    transform: translateX(-100%);
}

.half-report {
    transition: all .3s linear;
    width: 0%;
    border-top-left-radius: 60px;
    border-bottom-left-radius: 60px;
    background-color: var(--white);
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 3;
}

.success-reporting:hover .half-report {
    width: 45%;
}

/* ==========================================================================
   DONOR DASHBOARD
   ========================================================================== */
.form-group>label.main-search-label {
    margin-right: 10px;
    font-weight: 700;
    font-size: 18px;
}

.form-inline .form-group>label:not(.main-search-label){
    margin-right: 5px;
    display: inline-block;
    width: 50px;
    font-weight: normal;
}    

.form-inline .form-group+.form-group {
    margin-left: 15px;
}    

#searchterm-form .form-group {
    display: flex;
    align-items: center;
}

#searchterm-form label {
    margin-right: 10px;
}

.donor-table-container .table  {
    background-color: var(--white);
}

.notes-page .table {
    background-color: var(--white);
}

.email-outbox .panel-heading,
.changes-to-draft .panel-heading {
    background-color: var(--primary-dark);
}

.email-outbox .panel-heading .panel-title,
.changes-to-draft .panel-heading .panel-title {
    color: var(--white);
    letter-spacing: 2px;
    font-size: 18px;
}

.map-header {
    background-color: var(--primary-dark);
    padding-left: 20px;
    padding-right: 10px;
    margin-left: 15px;
    margin-right: 15px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.15), 0 6px 20px 0 rgba(0, 0, 0, 0.12);
}

.donor-map .map-panel-heading {
    background-color: var(--primary-dark);
    color: var(--white);
}

.donor-map .fa-question-circle {
    color: var(--white);
}

.donor-map .fa-question-circle:hover {
    color: var(--gray-light-100);
}

.donor-map .panel-default {
    border: none;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.15), 0 6px 20px 0 rgba(0, 0, 0, 0.12) !important;
}

.donor-map #airports-table table {
    width: 100%;
}

.donor-map #airports-table table tr td {
    padding-top: 3px;
    padding-bottom: 3px;
}

.donor-map #donor-search-div,
.map-other-buttons,
.map-fundraiser,
.show-donor {
    margin-top: 10px;
    margin-bottom: 10px;
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.all_rules .rules-table,
.unpostables-container .table,
.repeated-changes .table,
.trips-container .table,
.data-load-container .table,
.base-admin .table,
.organization-admin .table,
.report-builder .table,
.previous-emails {
    background-color: var(--white);
}

.repeated-changes .table {
    padding-left: 10px;
    padding-right: 10px;
}

.thick-divider hr {
    border-top: 3px solid var(--black)000;
}

.changes-to-draft h4 {
    font-weight: bold;
}

.access-denied {
    margin: 75px auto;
}

.access-denied img {
    width: 250px;
}

.access-denied h3 {
    font-size: 30px;
    font-weight: 900;
}

.access-denied h5 {
    font-size: 22px;
    font-weight: 700;
}

.fd-loading-message {
    text-align: center;
    font-size: 25px;
}

.fd-loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.fd-loading-spinner .spinner {
    width: 150px;
    height: 150px;
    border: 5px var(--gray-light-300) solid;
    border-top: 5px var(--primary) solid;
    border-radius: 50%;
    animation: sp-anime 0.8s infinite linear;
}

@keyframes sp-anime {
    100% {
        transform: rotate(360deg);
    }
}

.trip-form-row {
    margin-top: 10px;
    margin-bottom: 10px;
}

#id_location {
    padding-left: 15px;
}

#id_location .mapboxgl-ctrl-geocoder {
    box-shadow: none;
    border: 1px solid var(--gray-light-200);
}

@media screen and (min-width: 640px) {
    #id_location .mapboxgl-ctrl-geocoder {
        width: 90%;
        max-width: 800px;
    }
}

.gray-placeholder {
    color: var(--gray-dark-900);
}

.gray-placeholder::placeholder {
    color: var(--gray-medium-400);
    opacity: 1;
}

.blue-button {
    background-color: var(--primary) !important;
}

.icon-button {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
    border-radius: 0 !important;
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible,
.ui-state-focus,
a:focus-visible .panel-heading {
    box-shadow: 0 0 2px 2px white !important;
    outline: 2px solid var(--gray-dark-800) !important;
    outline-offset: 3px !important;
    border-radius: 4px;
}

.favorite:focus-visible {
    border-radius: 50% !important;
}

#body-container[tabindex="-1"]:focus {
    outline: none;
    box-shadow: none;
}