@font-face {
    font-family: 'The Future';
    src: url('../fonts/the-future-regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'The Future';
    src: url('../fonts/the-future-bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

/* Default CSS */
:root {
    --white-color: #ffffff;
    --black-color: #000000;
    --dark-color: #121212;
    --bg-theme-dark: #121212;
    --bg-light-dark: #232323;
    --bg-lighter-dark: #343434;
    --nav-color: #ffffff;
    --alt-blue: rgb(69, 146, 255);
    --alt-blue-dark: rgb(0, 96, 198);
    --header-bg: #121212;
    --header-z-index: 100;
    --header-link: #fff;
    --link-color: #666BDC;
    --sidebar-bg: #343434;
    --sidebar-color: #fff;
    --sidebar-z-index: 99;
    --fixed-sidebar-z-index: 100;
    --brand-primary: #55D9A2;
    --brand-light-primary: #D4FFED;
    --brand-secondary: #666BDC;
    --btn-primary: #55D9A2;
    --btn-secondary: #666BDC;
    --focus-color: #B0B0B0;
    --danger-color: #EB0F55;
    --font-default: "The Future", sans-serif;
    --font-weight-thin: 200;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 600;
    --mb-sidebar-heading: 0.5rem;
    --btn-standard-size: 40px;
    --doughnut-width: 110px;
    --bottombar-z-index: 101;
    --right-sidebar-width: 300px;
    --left-sidebar-width: 280px;
}

html {
    position: relative;
    min-height: 100%;
    font-size: 16px;
}

main {
    overflow: hidden;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-default), serif;
    font-optical-sizing: auto;
    font-weight: var(--font-weight-regular);
    font-style: normal;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
    color: var(--brand-primary) !important;
}

ul {
    list-style-type: none;
}

.brand-primary {
    color: var(--brand-primary) !important;
}

.brand-secondary {
    color: var(--brand-secondary);
}

.link-color {
    color: var(--link-color);
}

.light-color {
    color: var(--white-color);
}

.bg-theme-dark {
    background-color: var(--bg-theme-dark);
}

.bg-theme-edit-map-dark {
    background-color: #343434 !important;
}


.bg-light-dark {
    background-color: var(--bg-light-dark);
}

.bg-lighter-dark {
    background-color: var(--bg-lighter-dark);
}

.bg-theme-secondary {
    background-color: var(--brand-secondary);
}

.bg-theme-danger {
    background-color: var(--danger-color);
}

.danger-color {
    color: var(--danger-color) !important;
}

/* CSS */
.full-site {
    height: 100vh;
    overflow: hidden;
}

/* Header Section  */
header {
    background: var(--header-bg);
    position: relative;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.4);
}

header .calibre-logo {
    width: 140px;
}

header a {
    color: var(--header-link);
}

header a:hover,
header a:focus,
header a:active {
    color: var(--header-link);
}

.glow-on-hover {
    border: none;
    outline: none;
    background: var(--btn-primary);
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 0.25rem;
}

.glow-on-hover:before {
    content: '';
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: -2px;
    left: -2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    border-radius: 0.25rem;
}

.glow-on-hover:active {
    color: #000
}

.glow-on-hover:active:after {
    background: transparent;
}

.glow-on-hover:hover:before {
    opacity: 1;
}

.glow-on-hover:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--btn-primary);
    left: 0;
    top: 0;
    border-radius: 0.25rem;
}

@keyframes glowing {
    0% {
        background-position: 0 0;
    }

    50% {
        background-position: 400% 0;
    }

    100% {
        background-position: 0 0;
    }
}

/* navbar section  */
.header .nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header .logo a {
    color: var(--nav-color);
    font-weight: 600;
}

/* nav toggle or click mobile menu  */
.header .nav-toggle {
    font-size: 2rem;
    color: var(--nav-color);
    background: transparent;
    border-color: transparent;
    transition: all 0.3s linear;
    cursor: pointer;
}

/* navbar link menu  */
#nav .links a {
    color: var(--nav-color);
    font-size: 18px;
    text-transform: capitalize;
    display: block;
    padding: 0.5rem 1rem;
    transition: all 0.3s linear;
    font-weight: 600;
}

.links {
    height: 0;
    overflow: hidden;
    transition: all 0.3s linear;
}

/* show links call script.js  */
.show-links {
    height: 250px;
}

.nav-right a {
    color: var(--nav-color);
    font-size: 18px;
    text-transform: capitalize;
    display: block;
    transition: all 0.3s linear;
    font-weight: 600;
}

nav ul {
    margin-bottom: 0;
    padding: 0;
}

.campaign-navigator-container {
    position: absolute;
    top: 66px;
    left: var(--left-sidebar-width);
    width: calc(100% - var(--left-sidebar-width) - var(--right-sidebar-width));
}

.campaign-navigator {
    z-index: 1000;
    background-color: var(--sidebar-bg);
    color: var(--nav-color);
    display: flex;
    margin-right: 50px;
}

.campaign-navigator input[type="radio"] {
    display: none;
}

.campaign-navigator label {
    color: var(--white-color);
    border-color: var(--white-color);
}

.btn-group input[type="radio"]+.btn {
    color: var(--white-color) !important;
}

.campaign-navigator input[type="radio"]:checked+.btn {
    background-color: var(--btn-primary);
    color: var(--black-color);
}

.campaign-navigator input[type="radio"]:hover+.btn {
    background-color: var(--btn-primary);
    color: var(--black-color);
}

/* Navbar Responsive  */
@media screen and (min-width: 992px) {
    header {
        background: var(--header-bg);
        /*height: 10vh;*/
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        flex-direction: column;
    }

    nav {
        width: 100%;
    }

    .nav-center {
        width: 100%;
        max-width: 90%;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem;
    }

    .nav-header {
        padding: 0;
        width: 10%;
    }

    .header .logo a {
        color: var(--nav-color);
    }

    .nav-toggle {
        display: none;
    }

    .links {
        height: auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 90%;
    }

    .links .link-items {
        display: flex;
        justify-content: center;
        width: 85%;
    }

    .links a {
        color: var(--nav-color);
        padding: 0;
        margin: 0 0.8rem;
        font-size: 15px;
    }

    .links a:hover {
        /* color: var(--nav-hover); */
        padding: 0;
        background: transparent;
    }
}

.form-check-input:checked {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
}

.dark.dropdown-menu {
    background-color: var(--bg-theme-dark);
    color: var(--white-color) !important;
}

.dark.form-check-input:checked {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
}

.dark.form-control {
    background-color: var(--bg-theme-dark);
    color: var(--white-color) !important;
}

/* Hide the default arrow */
.dark.form-select {
    background-color: var(--bg-theme-dark);
    color: var(--white-color) !important;
    appearance: none;
    /* Standard */
    -webkit-appearance: none;
    /* Safari */
    -moz-appearance: none;
    /* Firefox */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M1.646 5.646a.5.5 0 0 1 .708 0L8 11.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
    /* space for the custom arrow */
}

.dark.form-control:focus {
    background-color: var(--bg-theme-dark);
    border-color: var(--focus-color);
}

.dark.form-label,
.dark.form-control:focus+.dark.form-label {
    color: var(--white-color);
}

.dark.btn-primary.disabled,
.dark.btn-primary:disabled {
    background-color: #454545 !important;
    border-color: #454545 !important;
    color: #000;
}

.dark.btn-outline-primary {
    color: var(--brand-primary) !important;
    border-color: var(--white-color) !important;
}

.dark.btn-outline-primary:hover,
.btn-check:checked+.dark.btn-outline-primary {
    background-color: var(--brand-primary) !important;
    color: var(--bg-theme-dark) !important;
    border-color: var(--brand-primary) !important;
}

.dark-tabs {
    background-color: var(--bg-theme-dark);
}

.dark-tabs .nav-link.active {
    color: #fff;
    background-color: var(--bg-theme-dark);
    border-color: var(--white-color) var(--white-color) var(--bg-theme-dark) var(--white-color);
}

.dark-accordion .accordion-item {
    background-color: var(--bg-lighter-dark);
    border: 1px solid #444;
    color: #f8f9fa;
}

.dark-accordion .accordion-button {
    background-color: var(--bg-lighter-dark);
    color: #f8f9fa;
}

.dark-accordion .accordion-button:not(.collapsed) {
    background-color: #343a40;
    color: #fff;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

.dark-accordion .accordion-button::after {
    filter: invert(1);
    /* Makes the caret white */
}

.dark-accordion .accordion-button:not(.collapsed)::after {
    filter: invert(1) grayscale(100%) brightness(150%);
    /* Makes the caret white */
}

.dark-accordion .accordion-body {
    background-color: var(--bg-lighter-dark);
    color: #e9ecef;
}

.full-height-container {
    height: calc(100vh - 56px);
    /* subtract navbar height */
}

@media screen and (max-width: 992px) {
    .header .nav-center {
        max-width: 100%;
    }

    .header .nav-header {
        padding: 1rem;
    }
}


/* Main section container */
.section-container {
    display: flex;
    min-height: calc(100vh - 54px);
    /* header height */
    width: 100%;
    flex-direction: row;
    transition: all 0.3s ease;
    position: relative;
}

.sidebar.leftSidebar,
.sidebar.rightSidebar {
    background: var(--sidebar-bg);
    color: var(--sidebar-color);
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: var(--fixed-sidebar-z-index);
}

.sidebar.leftSidebar {
    left: 0;
    right: auto;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.4);
    max-width: 580px;
    min-width: var(--left-sidebar-width);
}

.sidebar.leftSidebar label.form-check-label {
    width: 220px;
}

.sidebar.leftSidebar .poi-selector-controls input[type=range] {
    padding: 0 1em 0 1em;
}

.sidebar.leftSidebar .poi-selector-controls label span {
    font-weight: normal;
}

.sidebar.rightSidebar {
    right: 0;
    left: auto;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.4);
    width: var(--right-sidebar-width);
    overflow-y: auto;
}

.sidebar.rightSidebar .sidebar-flight-summary {
    border-bottom: 1px lightgray solid;
}

.sidebar.rightSidebar .sidebar-flight-summary i {
    cursor: pointer;
}

.sidebar.rightSidebar .sidebar-flight-summary .sidebar-flight-panels {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
}

.sidebar.rightSidebar .sidebar-flight-summary.expanded .sidebar-flight-panels {
    height: auto;
}

.sidebar.rightSidebar .sidebar-flight-summary.expanded .fa-caret-down {
    transition: all 0.2s;
    transform: rotate(180deg);
}

.sidebar.rightSidebar .sidebar-flight-summary .flight-active {
    margin-top: 0;
}

.sidebar {
    /* width: 20%;*/
    /* width: 240px; */
    transition: width 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    /* padding-top: var(--btn-standard-size); */
}

.sidebar.expanded {
    width: 50%;
}

.sidebar .leftExtendBtn,
.sidebar .rightExtendBtn {
    position: absolute;
    top: 0;
}

.sidebar .leftExtendBtn button,
.sidebar .rightExtendBtn button {
    width: var(--btn-standard-size);
    height: var(--btn-standard-size);
    font-size: 20px;
    color: #000000;
    background: white;
    border: none;
    cursor: pointer;
}

.sidebar .leftExtendBtn {
    right: 0;
}

.sidebar .rightExtendBtn {
    left: 0;
}

.sidebar .scrollable {
    overflow-y: auto;
}

.sidebar .sidebar-heading {
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--mb-sidebar-heading);
}

.sidebar .accordion-heading {
    font-weight: var(--font-weight-bold);
    margin-bottom: 0;
}

.sidebar .accordion-heading [data-bs-toggle] {
    margin-left: 0.5rem;
}

.sidebar .accordion-heading [data-bs-toggle] .fa-caret-down {
    transition: all 0.2s;
    transform: rotate(90deg);
}

.sidebar .accordion-heading [data-bs-toggle].collapsed .fa-caret-down {
    transition: all 0.2s;
    transform: rotate(270deg);
}

.sidebar .sidebar-row {
    margin-bottom: var(--mb-sidebar-heading);
}

.sidebar .campaign-details {
    padding: 0.1rem;
}

.sidebar .sidebar-filter-controls {
    width: var(--left-sidebar-width);
    max-width: var(--left-sidebar-width);
}

.sidebar .sidebar-group {
    padding-bottom: 1rem;
    border-bottom: 1px solid lightgrey;
    margin-bottom: 1rem;
}

.sidebar .accordion-group {
    padding: 0.5rem;
}

.sidebar .accordion-group .selected-filters {
    font-size: 0.8rem;
    color: darkgrey;
}

.accordion-heading {
    display: flex;
    justify-content: space-between;
    align-content: center;
}

.mainContent {
    transition: width 0.3s ease;
    left: var(--left-sidebar-width);
    position: relative;
    width: 100%;
    margin-right: calc(var(--right-sidebar-width) + var(--left-sidebar-width));
}

#map {
    width: 100%;
    height: 100%;
    position: absolute;
}

.reach-table {
    border-color: transparent;
}

.reach-table td.chart {
    height: 130px;
}

.reach-table td:first-child {
    width: 130px;
    font-weight: var(--font-weight-bold);
}

.reach-table td:last-child {
    vertical-align: middle;
}

.reach-table-number {
    text-align: right;
}

.reach-nested-table td:first-child {
    padding-right: .5rem;
}

.reach-nested-table * {
    font-size: 14px;
}

.doughnut-graph {
    position: relative;
    width: var(--doughnut-width);
}

.doughnut-label {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

@media screen and (max-width: 1200px) {
    .sidebar {
        width: 30%;
        min-width: 30%;
        max-width: 30%;
    }

    .mainContent {
        width: 50%;
    }
}

@media screen and (max-width: 768px) {
    .full-site {
        height: auto;
        overflow: visible;
    }

    .section-container {
        flex-direction: column;
    }

    .sidebar.order1 {
        order: 1;
        position: static;
        width: 100%;
    }

    .sidebar.order2 {
        order: 2;
        position: static;
        width: 100%;
    }

    .mainContent.order3 {
        order: 3;
        width: 100%;
    }

    .expand-btn {
        display: none;
    }
}

#chart {
    max-width: 110px;
    max-height: 110px;
}

.fly-under {
    display: none;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    align-content: stretch;
}

.fly-under .collapsing {
    transition: none;
}

.fly-under * .button-toggles {
    display: flex;
    justify-content: space-between;
}

.fly-under * .button-toggles button {
    flex: 1;
    margin: 0.5rem;
}

.campaign-list-page {
    min-height: calc(100vh - 104px);
}

.campaign-list-page .search-button-block {
    float: right;
}

.campaign-list-page .search-button-block .btn {
    min-width: 185px;
}


.campaign-list-page .campaign-search * input[type="text"],
input[type="date"],
textarea {
    display: inline-block;
}

.campaign-list-page .campaign-search * i {
    margin-right: 12px;
}

/* Override tablesorter default */
.campaigns-table {
    font: inherit !important;
}

.sticky-footer {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: var(--bottombar-z-index);
    width: 100%;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.4);
}

.sticky-sidebar {
    position: sticky;
    top: 0;
}

.location-zoom {
    cursor: pointer;
}

.tiny-circle {
    height: 12px;
    width: 12px;
    border-radius: 6px;
    border: 2px solid black;
    display: inline-block;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    row-gap: 0.3rem;
}

.close-filter-sidebar {
    width: 100%;
}

.inline-editable {
    display: flex;
    justify-content: space-between;
    align-items: center;
    white-space: nowrap;
}

.inline-editable svg {
    color: var(--bs-gray-600);
}

.audience-tabs {
    display: flex;
    justify-content: stretch;
    flex-wrap: nowrap;
}

.audience-tabs li {
    flex-basis: 100%;
}

.audience-tabs li button {
    width: 100%;
}

.audience-tab-content .tab-pane {
    padding-top: 1rem;
}

.fly-in-sidebar {
    position: absolute;
    height: 100%;
    z-index: var(--sidebar-z-index);
    transition: transform .3s ease-in-out;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.4);
    background-color: var(--bg-lighter-dark);
    overflow-x: hidden;
    visibility: hidden;
}

.fly-in-sidebar.no-animate {
    transition: none;
}

.fly-in-sidebar.right {
    width: calc(100% - 100px - var(--left-sidebar-width));
    transform: translate(calc(100% - 40px - var(--left-sidebar-width)));
    right: 0;
}

.fly-in-sidebar.right.open {
    transform: translate(100% - calc(var(--left-sidebar-width)));
    padding-right: var(--right-sidebar-width);
    visibility: visible;
}

.fly-in-sidebar.left {
    width: calc(100% - 100px - var(--right-sidebar-width));
    transform: translate(calc(-100% - 40px - var(--right-sidebar-width)));
    left: 0;
}

.fly-in-sidebar.left.open {
    transform: translate(0) !important;
    padding-left: var(--left-sidebar-width);
    visibility: visible;
}

.fly-in-sidebar .panel-list-container {
    overflow-y: scroll;
    width: 100%;
    max-height: 100%;
}

.fly-in-sidebar .site-card-view-container {
    width: 100%;
}

.campaign-grid {
    flex-direction: column !important;
    height: 600px;
    /* Height is effectively ignored, just needs to be set to stop scroll overflow */
}

.grid-container {
    height: 50%;
    overflow-y: scroll;
    box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.4);
}

.grid-container * .grid-table {
    border-collapse: collapse;
    width: 100%;
    table-layout: fixed;
    /* Ensures consistent column widths */
}

.grid-container * .grid-table th,
.grid-table td {
    border: 1px solid #000;
    text-align: center;
}

.grid-container * .grid-table th,
.grid-table td:not(:first-child) {
    overflow: hidden;
    /* Prevents text from affecting column width */
}

.grid-container * .js-collapsed-flight-panels {
    display: none;
}

.grid-container * .flight-summary-row a[aria-expanded='true'] i {
    transition: all 0.2s;
    transform: rotate(90deg);
}

.grid-container .non-interactive-booked-panel-window {
    background-color: var(--alt-blue);
    color: white;
    text-align: center;
}

.grid-container .unavailable {
    background-color: var(--danger-color) !important;
    color: white;
    text-align: center;
}

.grid-container * .booked-flight-window {
    background-color: var(--alt-blue);
    color: white;
}

.grid-container * .flight-window {
    height: 25px;
    margin-top: 3px;
    margin-bottom: 3px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.grid-container * .flight-window .save {
    display: none;
    color: white;
    cursor: pointer;
}

.grid-container * .flight-window .cancel {
    display: none;
    color: white;
    cursor: pointer;
}

.grid-container * .flight-window .edit {
    color: white;
    cursor: pointer;
}

.grid-container * .flight-window.toggleable-booked-panel-window span {
    color: white;
}

.grid-container * .toggleable-booked-panel-window:hover {
    background-color: var(--alt-blue-dark);
}

.grid-container * .panel-window {
    height: 25px;
    margin-top: 3px;
    margin-bottom: 3px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.grid-container * .toggleable-booked-panel-window {
    background-color: var(--alt-blue);
}

.grid-container * .toggleable-empty-panel-window:not(.unavailable):hover {
    background-color: var(--bs-gray-200);
}

.grid-container * .editor {
    display: none;
}

.grid-container * input.editor {
    display: none;
    max-width: 40px;
}

.site-card-container {
    width: calc(100% - var(--right-sidebar-width)) !important;
    background-color: var(--bg-lighter-dark);
}

.site-card-view-container * .logo {
    max-height: 40px;
}

.site-card-view-container .calendar-picker {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: normal;
    align-items: normal;
    align-content: normal;
    overflow: hidden;
    height: 60px;
    margin: 8px 0 8px 0;
}

.table-panels td {
    padding: 0.25rem 0 0.25rem 0;
}

.table-panels td:last-of-type {
    text-align: right;
}

.table-panels td:last-of-type {
    width: 65px;
}

.table-panels td:last-of-type button {
    width: 60px;
}

.supplementary-map-controls {
    position: absolute;
    z-index: 2;
    right: 3rem;
}

#map-draw-instructions {
    background-color: black;
    color: white;
    z-index: 1000;
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    display: none;
}

.bulk-add-panel-form #bulk-add-panels {
    transition: height 0.3s ease-in-out;
    height: 200px;
}

.bulk-add-panel-form #bulk-add-panels:focus {
    height: 300px;
}

.bulk-add-panel-form button {
    margin: 6px;
}

.bulk-add-panel-form .inlined-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bulk-add-panel-form .inlined-controls button {
    margin-left: 0;
}


.bulk-add-panel-form .inlined-controls #bulk-add-loader {
    display: none;
}

.bulk-add-panel-form .inlined-controls #bulk-add-results {
    display: none;
}

#bulk-add-results {
    display: none;
}

#bulk-add-results li {
    color: var(--danger-color);
}

.rf-loader {
    position: absolute;
    background-color: rgba(100, 100, 100, 0.9);
    z-index: 99;
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rf-refresh {
    position: absolute;
    background-color: rgba(100, 100, 100, 0.9);
    z-index: 99;
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rf-refresh-dark {
    position: absolute;
    background-color: rgba(211, 211, 211, 0.7) !important;
    z-index: 99;
    width: 75%;
    height: 100%;
    display: flex;
    padding-top: 10rem;
    align-items: start;
    justify-content: center;
}

.blocking-loader {
    position: absolute;
    opacity: 0.7;
    z-index: 99;
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blocking-loader.flight-loader {
    height: 200px;
}

.blocking-loader.rf-loader {
    height: 120px;
}

.create-page .add-flight {
    float: right;
}

.copy-element-btn,
.copy-parent-btn {
    z-index: 3;
}

.toast {
    z-index: 3;
}

.category-radio:checked+.category-select-label span,
.category-radio:checked:hover+.category-select-label span,
.category-radio:checked+.category-select-label span:hover,
.category-radio.active+.category-select-label span,
.category-select-label:hover span {
    color: white;
}

.category-radio:not(:checked)+.category-select-label span {
    color: var(--bs-secondary);
}

.regional-reach-map {
    width: 250px;
    height: 336px;
}

.regional-reach-map-modal {
    height: 800px;
    width: 1100px;
}

#custom-map-search {
    position: absolute;
    top: 10px;
    left: 20px;
    width: 250px;
}

#custom-map-search #panelZoomBtnMap {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.btn-group .btn-check:focus+.btn,
.btn-group .btn-check:active+.btn,
.btn-group .btn-check:active:focus+.btn,
.btn-group-vertical .btn-check:focus+.btn,
.btn-group-vertical .btn-check:active+.btn,
.btn-group-vertical .btn-check:active:focus+.btn {
    box-shadow: none !important;
}

.site-card-view-container .calendar-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0.25em;
    table-layout: fixed;
}

.site-card-view-container .calendar-table>thead th:first-child {
    width: 25px;
}

.site-card-view-container .calendar-period {
    width: 80px;
    text-align: center;
    background: transparent;
    color: black;
    font-weight: 400;
    border: 1px solid lightgrey;
    border-radius: 12px;
}

.site-card-view-container .calendar-period.daily {
    border-right-color: lightgrey !important;
    padding-left: 0px;
    padding-right: 0px;
    overflow: hidden;
    font-size: 12px;
}

.site-card-view-container .calendar-period.daily:not(.out-of-flight-bounds) .calendar-week td:hover {
    background-color: grey;
}

.site-card-view-container .calendar-period.daily .calendar-week td.selected {
    background-color: var(--brand-primary) !important;
    cursor: pointer !important;
    color: var(--dark-color);
}

.site-card-view-container .calendar-period .unbooked-view {
    display: inline;
}

.site-card-view-container .calendar-period .booked-view {
    display: none;
}

.site-card-view-container .calendar-period.unavailable {
    background-color: var(--danger-color);
    cursor: default;
    color: white;
}

.site-card-view-container .calendar-period.selected .unbooked-view {
    display: none;
}

.site-card-view-container .calendar-period.selected .booked-view {
    display: inline;
}

.site-card-view-container .calendar-period.selected {
    background-color: var(--brand-primary) !important;
}

.site-card-view-container .selected-other-flight {
    background: repeating-linear-gradient(45deg, var(--brand-primary), var(--bs-gray-200) 10px, white 10px, white 20px);
    cursor: pointer !important;
}

.site-card-view-container .selected-other-flight * td {
    color: var(--dark-color);
}

.site-card-view-container .calendar-legend label {
    margin-right: 8px;
    color: white;
}

.site-card-view-container .calendar-legend span {
    height: 25px;
    width: 25px;
    display: inline-block;
    position: relative;
    top: 7px;
}

.site-card-view-container .calendar-period.unavailable {
    background-color: red;
    cursor: default;
    color: white;
}

.site-card-view-container .calendar-period.calendar-period-first {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.site-card-view-container .calendar-period.calendar-period-last {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    border-right: 1px solid lightgrey;
}

.site-card-view-container .calendar-period:hover:not(.unavailable):not(.out-of-flight-bounds):not(.daily) {
    background-color: grey;
}

.site-card-view-container .calendar-padding {
    opacity: 0.3;
    cursor: default;
}

.site-card-view-container .out-of-flight-bounds {
    opacity: 0.3;
    cursor: default;
}

.calendar-week {
    width: 100%;
    font-size: 12px;
    color: var(--white-color);
    table-layout: fixed;
}

.calendar-week td {
    width: 14.3%;
    max-width: 14.3%;
    min-width: 14.3%;
    padding: 9px 0 9px 0;
}

.calendar-month {
    width: 100%;
    font-size: 12px;
    color: var(--white-color);
    table-layout: fixed;
}

.calendar-month td {
    padding: 4px 0;
}

.calendar-month ._28days td {
    width: 3.57%;
    max-width: 3.57%;
    min-width: 3.57%;
}

.calendar-month ._29days td {
    width: 3.45%;
    max-width: 3.45%;
    min-width: 3.45%;
}

.calendar-month ._30days td {
    width: 3.33%;
    max-width: 3.33%;
    min-width: 3.33%;
}

.calendar-month ._31days td {
    width: 3.22%;
    max-width: 3.22%;
    min-width: 3.22%;
}

td.newMonth {
    position: relative;
}

td.newMonth:before {
    content: attr(data-month);
    position: absolute;
    top: -7px;
    left: -2px;
    font-weight: 600;
    color: var(--white-color);
}

td.spacerRow {
    padding: 4px;
}

.year-name {
    font-weight: 600;
    border-top: 1px solid;
    border-bottom: 1px solid;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 5px;
}

.small-padding {
    padding: .01rem;
    padding-left: .1rem;
}

.agency-dropdown-toggle {
    width: 100%;
    text-align: left;
    background-color: white;
    border: 1px solid #ced4da;
    padding: 10px;
}

.agency-dropdown-menu {
    width: 100%;
    max-height: 250px;
    overflow-y: auto;
}

.agency-dropdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.agency-star {
    cursor: pointer;
    color: lightgrey;
}

.agency-star.favourite {
    color: var(--btn-primary);
}

.toast-container {
    z-index: 1070;
}

/* Custom style for highlighted dates */
.highlighted-date {
    background-color: rgba(255, 217, 0, 0.5) !important;
    color: black !important;
}

.datepicker table tr td.active:active,
.datepicker table tr td.active.highlighted:active,
.datepicker table tr td.active.active,
.datepicker table tr td.active.highlighted.active {
    color: white !important;
}

.datepicker table tr td,
.datepicker table tr th {
    text-align: center;
    vertical-align: middle;
}

.custom-date-input {
    position: relative;
}

.custom-date-input .input-group-addon {
    position: absolute;
    left: auto;
    top: 0.25rem;
    right: 0.5rem;
    z-index: 1;
}

/* Disable LastPass autofill */
[autocomplete="off"]+div[data-lastpass-icon-root="true"] {
    display: none;
}

[autocomplete="off"]+div[data-lastpass-infield="true"] {
    display: none;
}

/* Prevents centering issue after clicking on a category */
/* https://stackoverflow.com/questions/76979420/how-to-stop-bootstrap-5-button-group-from-centering-after-click */
.category-radio {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    overflow: hidden;
    padding: 0;
    position: relative;
}

.index-card-link {
    border: 0;
    cursor: pointer;
    color: inherit;
}

/* Panel management pages */
.panel-table tr {
    cursor: pointer;
}

.panel-table tr:hover {
    background-color: var(--fbc-gray-20);
}

/* Airport modals */
.airport-modal-legend img.legend-icon {
    display: inline-block;
    height: 100%;
    vertical-align: middle
}

.airport-modal-legend td:first-child {
    width: 50px;
}

.airport-modal-legend td {
    color: var(--white-color);
}

.mapsvg-floorplan-view .mapsvg-marker.booked {
    filter: sepia(100%) hue-rotate(69deg) saturate(190%);
}

.table-small-text {
    font-size: smaller;
}

/* Override to fix the mapbox map popup styling in our theme */
.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip {
    border-top-color: var(--bg-lighter-dark) !important;
}

i.field-help {
    color: var(--brand-secondary);
    cursor: pointer;
}

/* Hide Jira help button for now */
iframe[name='JSD widget'] {
    display: none
}