
.br-theme-fontawesome-stars .br-widget {
    height: 28px;
    white-space: nowrap;
}

.br-theme-fontawesome-stars .br-widget a {
    font: normal normal normal 20px/1 'Font Awesome 5 Free';
    font-weight: 500;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    text-decoration: none;
    color: #edb867;
    margin-right: 2px;
}

.br-theme-fontawesome-stars .br-widget a:after {
    font-family: "Font Awesome 5 Free";
    font-weight: 500;
    content: '\f005';
    color: #d2d2d2;
}

.br-theme-fontawesome-stars .br-widget a.br-active:after {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f005';
    color: #edb867;
}

.br-theme-fontawesome-stars .br-widget a.br-selected:after {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f005';
    color: #edb867;
}

.br-theme-fontawesome-stars .br-widget .br-current-rating {
    display: none;
}

.br-theme-fontawesome-stars .br-readonly a {
    cursor: default;
}

@media print {
    .br-theme-fontawesome-stars .br-widget a:after {
        font-family: 'Font Awesome 5 Free';
        font-weight: 500;
        content: '\f005';
        color: black;
    }

    .br-theme-fontawesome-stars .br-widget a.br-active:after,
    .br-theme-fontawesome-stars .br-widget a.br-selected:after {
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        content: '\f005';
        color: black;
    }
}


/** GENERAL ICONS */
.username_menu {
    width: 105px;
}

.select_icon {
    width: 24px !important;
    border-radius: 12px !important;
    height: 24px !important;
}

.display_icon {
    width: 32px;
    border-radius: 16px;
    height: 32px;
}

.default_table {
    width: 100%;
}

/** DATATABLES */
.row_selected {
    background-color: rgba(255, 255, 255, 0.15) !important;
    cursor: pointer;
}

.routes_table .limit_width {
    max-width: 400px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .routes_table .limit_width {
        max-width: 200px;
    }
}

#routes_table .not_clickable {
    cursor: default !important;
}

ul.light-slider {
    list-style: none outside none;
    padding-left: 0;
    margin-bottom: 0;
}

.light-slider li {
    display: block;
    float: left;
    margin-right: 6px;
    cursor: pointer;
}

.light-slider img {
    display: block;
    height: auto;
    max-width: 100%;
}

/** Light Slider */
@media (min-width: 1200px) {
    /* Container is required for the page load to have a proper width */
    .card_dungeonroute.horizontal .single,
    .card_dungeonroute.horizontal .light-slider-container,
    .card_dungeonroute.horizontal .multiple,
    .card_dungeonroute.horizontal img.thumbnail,
    .card_dungeonroute.horizontal img.dungeon {
        width: 288px;
        height: 192px;
    }


    .card_dungeonroute.vertical img.thumbnail,
    .card_dungeonroute.vertical img.dungeon {
        width: 100%;
    }

    .card_dungeonroute.vertical .title {
        height: 2rem;
        overflow: hidden;
    }

    .description_row {
        text-shadow: 2px 2px 2px #5E5E5E;
    }

    .card_dungeonroute.vertical .description_row {
        height: 6rem;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .card_dungeonroute.vertical .description_row::-webkit-scrollbar {
        width: 8px;
    }

    .card_dungeonroute.vertical .description_row::-webkit-scrollbar-track {
        border-radius: 8px;
        background-color: #e7e7e7;
        border: 1px solid #cacaca;
        box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    }

    .card_dungeonroute.vertical .description_row::-webkit-scrollbar-thumb {
        border-radius: 8px;
        background-color: #363636;
    }
}

/*.discover img.dungeon {*/
/*    max-width: 192px;*/
/*    max-height: 128px;*/
/*}*/

.discover .select_icon.class_icon.selectable,
.discover .grid_dungeon.selectable {
    cursor: pointer;
}

.data_container .select_icon.class_icon.selectable.selected,
.discover .select_icon.class_icon.selectable.selected,
.discover .grid_dungeon.selectable.selected {
    border: 0.125rem solid red;
    border-radius: 5px;
}

.discover .grid_dungeon.selectable.selected {
    padding: 0.375rem !important;
}

/** Prevents the title from jumping when it gets selected */
.discover .grid_dungeon.selectable.selected h5 {
    width: calc(100% - 0.75rem); /* 0.375 x2 for the padding */
    top: calc(15% - 0.125rem); /* 0.125 for the red border, but just one side since it's the top */
}


.discover .card-img-caption {
    border-top-left-radius: calc(.25rem - 1px);
    border-top-right-radius: calc(.25rem - 1px);
}

.discover .card-img-caption .card-img-top {
    z-index: 0;
}

.discover .card-img-caption .card-text {
    text-align: center;
    width: calc(100% - 1rem); /* overcome the padding - this makes it fit exactly */
    top: 15%;
    position: absolute;
    z-index: 1;
}

.discover .card-img-caption .card-text.subtext {
    top: unset;
    bottom: 5%;
    text-align: unset;
}

.discover .card_dungeonroute.horizontal .description {
    text-overflow: ellipsis;
    overflow: hidden;
}

.discover .card_dungeonroute.horizontal.dungeon_image .header,
.discover .card_dungeonroute.horizontal.dungeon_image .description,
.discover .card_dungeonroute.horizontal.dungeon_image .enemy_forces {
    text-shadow: #000 1px 1px;
}

@media (min-width: 1200px) {
    .discover .card_dungeonroute.horizontal,
    .discover .card_dungeonroute.horizontal .col {
        max-height: 192px;
    }

    .discover .card_dungeonroute.horizontal .header {
        overflow: hidden;
    }

    .discover .card_dungeonroute.horizontal .description_row,
    .discover .card_dungeonroute.horizontal .description_row .col {
        max-height: 80px;
        max-width: 532px;
        overflow: hidden;
    }
}

@media (min-width: 1800px) {
    .discover .card_dungeonroute.horizontal .description_row .col {
        display: flex !important;
    }
}

/** Prevent descriptions from taking on a huge height if people enter only */
@media (max-width: 1200px) {
    .discover .card_dungeonroute.horizontal .description_row {
        max-height: 250px;
    }
}

.discover #route_list_overlay {
    background: rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

.affix_group_row.current {
    border: red 2px solid;
    border-radius: 3px;
}

.routes_table .light-slider-container {
    width: 192px;
    height: 128px;
}

@media ( max-width: 600px) {
    .routes_table .light-slider-container {
        width: 96px;
        height: 64px;
    }
}

/** INTRO.JS */
.introjs-tooltip {
    width: 400px !important;
}

/** MISC STYLES */
.view_dungeonroute_details_row .affix_row_container {
    margin-left: 0;
    margin-right: 0;
}

#view_dungeonroute_group_setup {
    display: flex;
    align-items: center;
}

.affix_list {
    border: 1px solid #ccd0d2;
    border-radius: 4px;
}

.affix_list .affix_row {
    padding-right: 10px;
}

.affix_list .affix_list_row {
    padding-top: 5px;
    padding-bottom: 5px;
}

.affix_list .affix_list_row_disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.affix_list .affix_list_row:hover {
    cursor: pointer;
}

.affix_list .affixselect {
    height: 100px;
}

.affixselect.bootstrap-select.show-tick .dropdown-menu li a span.text {
    margin-right: 16px;
}

.affixes_overview_table tr.timewalking.legion {
    background-position-x: center;
    background-position-y: -437px;
}

.affixes_overview_table td {
    padding: 0;
}

.affixes_overview_table .table_row.even.unconfirmed {
    background-color: rgba(255, 165, 0, 0.7);
}

.affixes_overview_table .table_row.odd.unconfirmed {
    background-color: rgba(255, 165, 0, 0.6);
}

.affixes_overview_table .affix_row {
    padding: 6px;
}

.affixes_overview_table .last_column:not(.current_week) {
    padding-left: 8px;
}

.affixes_overview_table .last_column.first_row {
    border-top-right-radius: 5px;
}

.affixes_overview_table .last_column.first_row:not(.current_week) {
    border-top-left-radius: 5px;
}

/** When the top row is the current week, don't show the rounded border in the top left corner; looks strange */
.affixes_overview_table .current_week.first_column:not(.current_week) {
    border-top-left-radius: 5px;
}

.affixes_overview_table .last_column.last_row {
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

.affixes_overview_table .current_week.first_column {
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
}

.affixes_overview_table .current_week.last_column {
    border-left: none; /* Disable overlapping borders when both rows overlap */
    padding-left: 8px; /* Compensation for the missing border */
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.tag.edit {
    cursor: pointer;
}

.dungeon_wallpaper {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;

    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 0;
}

.discover_panel {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

#dungeonroute_coverage_affixgroup_table .covered {
    background-color: #7efc7e11;
}

#dungeonroute_coverage_affixgroup_table .covered_warning {
    background-color: #fcc57e11;
}

/*
 * Table styles
 */
table.dataTable {
    width: 100%;
    margin: 0 auto;
    clear: both;
    border-collapse: separate;
    border-spacing: 0;
    /*
     * Header and footer styles
     */
    /*
     * Body styles
     */
}

table.dataTable thead th,
table.dataTable tfoot th {
    font-weight: bold;
}

table.dataTable thead th,
table.dataTable thead td {
    padding: 10px 18px;
    border-bottom: 1px solid #2b3e50;
}

table.dataTable thead th:active,
table.dataTable thead td:active {
    outline: none;
}

table.dataTable tfoot th,
table.dataTable tfoot td {
    padding: 10px 18px 6px 18px;
    border-top: 1px solid #2b3e50;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc,
table.dataTable thead .sorting_asc_disabled,
table.dataTable thead .sorting_desc_disabled {
    cursor: pointer;
    *cursor: hand;
    background-repeat: no-repeat;
    background-position: center right;
}

table.dataTable tbody th,
table.dataTable tbody td {
    padding: 8px 10px;
}

table.dataTable.row-border tbody th, table.dataTable.row-border tbody td, table.dataTable.display tbody th, table.dataTable.display tbody td {
    border-top: 1px solid white;
}

table.dataTable.row-border tbody tr:first-child th,
table.dataTable.row-border tbody tr:first-child td, table.dataTable.display tbody tr:first-child th,
table.dataTable.display tbody tr:first-child td {
    border-top: none;
}

table.dataTable.cell-border tbody th, table.dataTable.cell-border tbody td {
    border-top: 1px solid white;
    border-right: 1px solid white;
}

table.dataTable.cell-border tbody tr th:first-child,
table.dataTable.cell-border tbody tr td:first-child {
    border-left: 1px solid white;
}

table.dataTable.cell-border tbody tr:first-child th,
table.dataTable.cell-border tbody tr:first-child td {
    border-top: none;
}

table.dataTable.stripe tbody tr.odd, table.dataTable.display tbody tr.odd {
    background-color: #4c5a69;
}

table.dataTable.stripe tbody tr.odd.selected, table.dataTable.display tbody tr.odd.selected {
    background-color: #abb9d3;
}

table.dataTable.hover tbody tr:hover, table.dataTable.display tbody tr:hover {
    background-color: #4b5968;
}

table.dataTable.hover tbody tr:hover.selected, table.dataTable.display tbody tr:hover.selected {
    background-color: #a9b7d1;
}

table.dataTable.order-column tbody tr > .sorting_1,
table.dataTable.order-column tbody tr > .sorting_2,
table.dataTable.order-column tbody tr > .sorting_3, table.dataTable.display tbody tr > .sorting_1,
table.dataTable.display tbody tr > .sorting_2,
table.dataTable.display tbody tr > .sorting_3 {
    background-color: #4c5b69;
}

table.dataTable.order-column tbody tr.selected > .sorting_1,
table.dataTable.order-column tbody tr.selected > .sorting_2,
table.dataTable.order-column tbody tr.selected > .sorting_3, table.dataTable.display tbody tr.selected > .sorting_1,
table.dataTable.display tbody tr.selected > .sorting_2,
table.dataTable.display tbody tr.selected > .sorting_3 {
    background-color: #acbad4;
}

table.dataTable.display tbody tr.odd > .sorting_1, table.dataTable.order-column.stripe tbody tr.odd > .sorting_1 {
    background-color: #495766;
}

table.dataTable.display tbody tr.odd > .sorting_2, table.dataTable.order-column.stripe tbody tr.odd > .sorting_2 {
    background-color: #4a5866;
}

table.dataTable.display tbody tr.odd > .sorting_3, table.dataTable.order-column.stripe tbody tr.odd > .sorting_3 {
    background-color: #4a5967;
}

table.dataTable.display tbody tr.odd.selected > .sorting_1, table.dataTable.order-column.stripe tbody tr.odd.selected > .sorting_1 {
    background-color: #a6b3cd;
}

table.dataTable.display tbody tr.odd.selected > .sorting_2, table.dataTable.order-column.stripe tbody tr.odd.selected > .sorting_2 {
    background-color: #a7b5ce;
}

table.dataTable.display tbody tr.odd.selected > .sorting_3, table.dataTable.order-column.stripe tbody tr.odd.selected > .sorting_3 {
    background-color: #a9b6d0;
}

table.dataTable.display tbody tr.even > .sorting_1, table.dataTable.order-column.stripe tbody tr.even > .sorting_1 {
    background-color: #4c5b69;
}

table.dataTable.display tbody tr.even > .sorting_2, table.dataTable.order-column.stripe tbody tr.even > .sorting_2 {
    background-color: #4d5b6a;
}

table.dataTable.display tbody tr.even > .sorting_3, table.dataTable.order-column.stripe tbody tr.even > .sorting_3 {
    background-color: #4d5c6b;
}

table.dataTable.display tbody tr.even.selected > .sorting_1, table.dataTable.order-column.stripe tbody tr.even.selected > .sorting_1 {
    background-color: #acbad4;
}

table.dataTable.display tbody tr.even.selected > .sorting_2, table.dataTable.order-column.stripe tbody tr.even.selected > .sorting_2 {
    background-color: #adbbd6;
}

table.dataTable.display tbody tr.even.selected > .sorting_3, table.dataTable.order-column.stripe tbody tr.even.selected > .sorting_3 {
    background-color: #afbdd8;
}

table.dataTable.display tbody tr:hover > .sorting_1, table.dataTable.order-column.hover tbody tr:hover > .sorting_1 {
    background-color: #475563;
}

table.dataTable.display tbody tr:hover > .sorting_2, table.dataTable.order-column.hover tbody tr:hover > .sorting_2 {
    background-color: #485663;
}

table.dataTable.display tbody tr:hover > .sorting_3, table.dataTable.order-column.hover tbody tr:hover > .sorting_3 {
    background-color: #495765;
}

table.dataTable.display tbody tr:hover.selected > .sorting_1, table.dataTable.order-column.hover tbody tr:hover.selected > .sorting_1 {
    background-color: #a1aec7;
}

table.dataTable.display tbody tr:hover.selected > .sorting_2, table.dataTable.order-column.hover tbody tr:hover.selected > .sorting_2 {
    background-color: #a2afc8;
}

table.dataTable.display tbody tr:hover.selected > .sorting_3, table.dataTable.order-column.hover tbody tr:hover.selected > .sorting_3 {
    background-color: #a4b2cb;
}

table.dataTable.no-footer {
    border-bottom: 1px solid #2b3e50;
}

table.dataTable.nowrap th, table.dataTable.nowrap td {
    white-space: nowrap;
}

table.dataTable.compact thead th,
table.dataTable.compact thead td {
    padding: 4px 17px 4px 4px;
}

table.dataTable.compact tfoot th,
table.dataTable.compact tfoot td {
    padding: 4px;
}

table.dataTable.compact tbody th,
table.dataTable.compact tbody td {
    padding: 4px;
}

table.dataTable th.dt-left,
table.dataTable td.dt-left {
    text-align: left;
}

table.dataTable th.dt-center,
table.dataTable td.dt-center,
table.dataTable td.dataTables_empty {
    text-align: center;
}

table.dataTable th.dt-right,
table.dataTable td.dt-right {
    text-align: right;
}

table.dataTable th.dt-justify,
table.dataTable td.dt-justify {
    text-align: justify;
}

table.dataTable th.dt-nowrap,
table.dataTable td.dt-nowrap {
    white-space: nowrap;
}

table.dataTable thead th.dt-head-left,
table.dataTable thead td.dt-head-left,
table.dataTable tfoot th.dt-head-left,
table.dataTable tfoot td.dt-head-left {
    text-align: left;
}

table.dataTable thead th.dt-head-center,
table.dataTable thead td.dt-head-center,
table.dataTable tfoot th.dt-head-center,
table.dataTable tfoot td.dt-head-center {
    text-align: center;
}

table.dataTable thead th.dt-head-right,
table.dataTable thead td.dt-head-right,
table.dataTable tfoot th.dt-head-right,
table.dataTable tfoot td.dt-head-right {
    text-align: right;
}

table.dataTable thead th.dt-head-justify,
table.dataTable thead td.dt-head-justify,
table.dataTable tfoot th.dt-head-justify,
table.dataTable tfoot td.dt-head-justify {
    text-align: justify;
}

table.dataTable thead th.dt-head-nowrap,
table.dataTable thead td.dt-head-nowrap,
table.dataTable tfoot th.dt-head-nowrap,
table.dataTable tfoot td.dt-head-nowrap {
    white-space: nowrap;
}

table.dataTable tbody th.dt-body-left,
table.dataTable tbody td.dt-body-left {
    text-align: left;
}

table.dataTable tbody th.dt-body-center,
table.dataTable tbody td.dt-body-center {
    text-align: center;
}

table.dataTable tbody th.dt-body-right,
table.dataTable tbody td.dt-body-right {
    text-align: right;
}

table.dataTable tbody th.dt-body-justify,
table.dataTable tbody td.dt-body-justify {
    text-align: justify;
}

table.dataTable tbody th.dt-body-nowrap,
table.dataTable tbody td.dt-body-nowrap {
    white-space: nowrap;
}

table.dataTable,
table.dataTable th,
table.dataTable td {
    box-sizing: content-box;
}

/*
 * Control feature layout
 */
.dataTables_wrapper {
    position: relative;
    clear: both;
    *zoom: 1;
    zoom: 1;
}

.dataTables_wrapper .dataTables_length {
    float: left;
}

.dataTables_wrapper .dataTables_filter {
    float: right;
    text-align: right;
}

.dataTables_wrapper .dataTables_filter input {
    margin-left: 0.5em;
}

.dataTables_wrapper .dataTables_info {
    clear: both;
    float: left;
    padding-top: 0.755em;
}

.dataTables_wrapper .dataTables_paginate {
    float: right;
    text-align: right;
    padding-top: 0.25em;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    box-sizing: border-box;
    display: inline-block;
    min-width: 1.5em;
    padding: 0.5em 1em;
    margin-left: 2px;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    *cursor: hand;
    color: #ebebeb !important;
    border: 1px solid transparent;
    border-radius: 2px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
    cursor: default;
    color: rgba(255, 255, 255, 0.4) !important;
    border: 1px solid transparent;
    background: transparent;
    box-shadow: none;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    color: white !important;
    border: 1px solid #111111;
    background-color: #585858;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #585858), color-stop(100%, #111111));
    /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #585858 0%, #111111 100%);
    /* Chrome10+,Safari5.1+ */
    background: -moz-linear-gradient(top, #585858 0%, #111111 100%);
    /* FF3.6+ */
    background: -ms-linear-gradient(top, #585858 0%, #111111 100%);
    /* IE10+ */
    background: -o-linear-gradient(top, #585858 0%, #111111 100%);
    /* Opera 11.10+ */
    background: linear-gradient(to bottom, #585858 0%, #111111 100%);
    /* W3C */
}

.dataTables_wrapper .dataTables_paginate .paginate_button:active {
    outline: none;
    background-color: #2b2b2b;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #2b2b2b), color-stop(100%, #0c0c0c));
    /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);
    /* Chrome10+,Safari5.1+ */
    background: -moz-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);
    /* FF3.6+ */
    background: -ms-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);
    /* IE10+ */
    background: -o-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);
    /* Opera 11.10+ */
    background: linear-gradient(to bottom, #2b2b2b 0%, #0c0c0c 100%);
    /* W3C */
    box-shadow: inset 0 0 3px #111;
}

.dataTables_wrapper .dataTables_paginate .ellipsis {
    padding: 0 1em;
}

.dataTables_wrapper .dataTables_processing {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 40px;
    margin-left: -50%;
    margin-top: 0;
    padding-top: 20px;
    text-align: center;
    font-size: 1.2em;
    background: none;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_processing,
.dataTables_wrapper .dataTables_paginate {
    color: #ebebeb;
}

.dataTables_wrapper .dataTables_scroll {
    clear: both;
}

.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody {
    *margin-top: -1px;
    -webkit-overflow-scrolling: touch;
}

.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > thead > tr > th, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > thead > tr > td, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > th, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > td {
    vertical-align: middle;
}

.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > thead > tr > th > div.dataTables_sizing,
.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > thead > tr > td > div.dataTables_sizing, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > th > div.dataTables_sizing,
.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > td > div.dataTables_sizing {
    height: 0;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
}

.dataTables_wrapper.no-footer .dataTables_scrollBody {
    border-bottom: 1px solid #2b3e50;
}

.dataTables_wrapper.no-footer div.dataTables_scrollHead table.dataTable,
.dataTables_wrapper.no-footer div.dataTables_scrollBody > table {
    border-bottom: none;
}

.dataTables_wrapper:after {
    visibility: hidden;
    display: block;
    content: "";
    clear: both;
    height: 0;
}

@media screen and (max-width: 767px) {
    .dataTables_wrapper .dataTables_info,
    .dataTables_wrapper .dataTables_paginate {
        float: none;
        text-align: center;
    }

    .dataTables_wrapper .dataTables_paginate {
        margin-top: 0.5em;
    }
}

@media screen and (max-width: 640px) {
    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter {
        float: none;
        text-align: center;
    }

    .dataTables_wrapper .dataTables_filter {
        margin-top: 0.5em;
    }
}

#routes_table_filter {
    display: none;
}

#team_members_table_filter {
    display: none;
}

.description-container {
    width: 100%; /* Prevents influencing column width */
}

.description-content {
    width: 100%; /* Ensures it stays within the column */
    word-wrap: break-word;
    white-space: normal; /* Allows wrapping */
    overflow-wrap: break-word; /* Ensures long words break */
}



#sandbox_modal .modal-dialog {
    max-width: 600px;
}

/** .rounded class doesn't work, unfortunately */
#import_string_loader {
    border-radius: .25rem !important
}

.btn-bnet {
    background-color: #005c99;
}

.btn-bnet:hover {
    background-color: #31b0d5;
    border-color: #005c99;
}

.google_login_image {
    width: 191px;
    height: 46px;
}

/* Modals */
.modal .probootstrap-modal-flex .probootstrap-modal-content {
    width: 100%;
    padding: 40px;
    position: relative;
}

@media screen and (max-width: 480px) {
    .modal .probootstrap-modal-flex .probootstrap-modal-content {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media screen and (max-width: 480px) {
    .modal .probootstrap-modal-flex .probootstrap-modal-figure,
    .modal .probootstrap-modal-flex .probootstrap-modal-content {
        width: 100%;
    }
}

.modal .modal-content .close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 100;
    font-size: 26px;
    color: white;
}

@media screen and (max-width: 480px) {
    .modal .modal-content .close {
        top: 20px;
        right: 20px;
    }
}

.modal .probootstrap-modal-flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

@media (min-width: 900px) {
    .modal-dialog-small {
        max-width: 900px;
    }

    .register-modal-dialog .border-left.border-white {
        border: hidden;
    }
}

/** Hide the separating border between login/register when on a small screen, when they're stacked vertically */
@media (max-width: 900px) {
    .modal-dialog-small .border-left.border-white {
        border: none !important;
    }
}

.navbar {
    -webkit-transition: padding 0.2s ease;
    -moz-transition: padding 0.2s ease;
    -o-transition: padding 0.2s ease;
    transition: padding 0.2s ease;
}

.navbar-shrink {
    padding-top: 0.2em !important;
    padding-bottom: 0.2em !important;

    -webkit-transition: padding 0.2s ease;
    -moz-transition: padding 0.2s ease;
    -o-transition: padding 0.2s ease;
    transition: padding 0.2s ease;
}

/* This takes up the space that the fixed-top navbar leaves because it floats */
.navbar-top-fixed-spacer {
    -webkit-transition: height 0.2s ease;
    -moz-transition: height 0.2s ease;
    -o-transition: height 0.2s ease;
    transition: height 0.2s ease;
}


@media (min-width: 992px) {
    .navbar-second {
        top: 32px !important;
    }
}

.game_version_header .game_version {
    border-radius: 0.25rem;
}

.route_presenter_info {

}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

html, body, #map, #app, .wrapper {
    height: 100%;
    width: 100%;
}

/** HEADER */
#map_header {
    position: fixed;
    width: 100%;
    z-index: 100000;
}

.map_fade_out {
    opacity: 0.8;
    transition: opacity .2s ease-out;
    -moz-transition: opacity .2s ease-out;
    -webkit-transition: opacity .2s ease-out;
    -o-transition: opacity .2s ease-out;
}

.map_fade_out:hover {
    opacity: 1;
}

@media (max-width: 1200px) {
    #map_header {
        padding: 0.5rem;
    }
}

#map.leaflet-container {
    font: unset;
    font-size: 12px;
}

.leaflet-tooltip-killzone-index {
    font-size: 24px;
    background-color: unset;
    border: unset;
    box-shadow: unset;
    font-weight: bold;
    color: white;
    text-shadow: black 2px 2px;
}

.leaflet-tooltip-killzone-index.leaflet-tooltip-right {
    margin-left: 20px;
}

/** Don't show a chevron when having a single enemy in your pull */
.leaflet-tooltip-killzone-index.leaflet-tooltip-right:before {
    content: unset;
}

.popup_select {
    width: 300px;
}

#map_controls .map_controls_custom,
#map_faction_display_controls .map_controls_custom {
    width: 50px;
    background-image: none;
}

.map_enemy_tooltip {
    width: 240px;
    white-space: normal;
}

.sidebar {
    width: 300px;
    position: fixed;
    top: 0;
    height: 100vh;
    /* Above NitroPay ads */
    z-index: 99999;
    transition: right 0.2s, left 0.2s;
}

/** Tooltips should show above the sidebar */
.tooltip {
    z-index: 100070 !important;
}

.sidebar.anchor-left {
    left: -300px;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
}

.sidebar.anchor-left.active {
    left: 0;
}

.sidebar.anchor-right {
    right: -300px;
    box-shadow: -3px 3px 3px rgba(0, 0, 0, 0.2);
}

.sidebar.anchor-right.active {
    right: 0;
}

.sidebar-toggle {
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;

    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;

    position: fixed;
    top: 106px;
    cursor: pointer;
    z-index: 100000;
}

.sidebar-toggle.anchor-left {
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
    left: 0;
}

.sidebar-toggle.anchor-right {
    box-shadow: -3px 3px 3px rgba(0, 0, 0, 0.2);
    right: 0;
}

.sidebar-toggle.anchor-left.active {
    left: 300px;
}

.sidebar-toggle.anchor-right.active {
    right: 300px;
}

.sidebar .sidebar-header {
    padding: 10px 20px;
    text-shadow: black 2px 2px;
}

.header_embed_regular_logo {
    width: 200px;
}

@media (max-width: 576px) { /* Bootstrap 'sm' breakpoint */
    .header_embed_regular_logo {
        width: 120px;
    }
}

.header_embed_compact_logo {
    width: 164px;
}

@media (max-width: 576px) { /* Bootstrap 'sm' breakpoint */
    .header_embed_compact_logo {
        width: 120px;
    }
}


.header_embed_text_ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

#embed_copy_mdt_string {
    text-shadow: none;
}

/** Shadow looks strange on the FA icons in embed */
#embed_copy_mdt_string_loader,
#embed_copy_mdt_string {
    text-shadow: none;
}

.sidebar .sidebar-header {
    height: 106px;
}

.sidebar-background {
    border-radius: 5px;
    padding: 3px;
}

/* Force reserve height */
.embed h4,
.sidebar .sidebar-header h4 {
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap
}

.embed .embed-header-subtitle,
.sidebar .sidebar-header-subtitle {
    padding-left: 10px;
    min-height: 25px;
}

.sidebar .sidebar-header-pulls-spacer {
    min-height: 11px;
}

.sidebar .sidebar-content .container {
    padding: 0 15px;
}

.sidebar .sidebar-content {
    padding-top: 10px;
    /** Bit of a hack, but the 106 is the height of the header which somehow isn't taken into account */
    height: calc(100vh - 106px);
    overflow: auto;
}

#killzonesidebar.sidebar {
    user-select: none;
}

.sidebar .sidebar-content .card-body {
    padding: 0.75rem 1.25rem;
}

#route_title {
    overflow: hidden;
    height: 1.5rem;
}

.route_sidebar.right,
.route_sidebar.right .bg-header {
    padding-right: 0 !important;
    user-select: none;

    -webkit-transition: right 0.2s;
    -o-transition: right 0.2s;
    transition: right 0.2s;
}

.route_sidebar.right.active {
    right: 0;
}

@media (max-width: 1024px) {
    .route_sidebar.right,
    .route_sidebar.right .bg-header {
        width: 300px;
    }

    .route_sidebar.right:not(.active) {
        right: -300px;
    }
}

@media (min-width: 1024px) {
    .route_sidebar.right,
    .route_sidebar.right .bg-header {
        width: 350px;
    }

    .route_sidebar.right:not(.active) {
        right: -350px;
    }
}

@media (min-width: 1440px) {
    .route_sidebar.right,
    .route_sidebar.right .bg-header {
        width: 400px;
    }

    .route_sidebar.right:not(.active) {
        right: -400px;
    }
}

@media (min-width: 1920px) {
    .route_sidebar.right,
    .route_sidebar.right .bg-header {
        width: 450px;
    }

    .route_sidebar.right:not(.active) {
        right: -450px;
    }
}

.route_sidebar.right:not(.mobile,.embed) .data_container {
    /** Bit of a hack, but the 158 is the height of the header now which somehow isn't taken into account */
    max-height: calc(100vh - 158px);
}

/** Pulls section of the sidebar, with an ad loaded, when editing, without a speedrun enabled */
.route_sidebar.right.ad_loaded:not(.mobile,.embed) .edit .data_container:not(.has_speedrun) {
    /** 250px is the height of the ad in the corner */
    /** 24 px is the height of the report buttons */
    /** 55 px is the height of the buttons at the top in the edit scenario */
    max-height: calc(100vh - (236px + 158px + 55px));
}

@media (min-height: 1000px) {
    /** Pulls section of the sidebar, with a big ad loaded, when editing, without a speedrun enabled */
    .route_sidebar.right.ad_loaded:not(.mobile,.embed) .edit .data_container:not(.has_speedrun) {
        /** 280px is the height of the ad in the corner */
        /** 24 px is the height of the report buttons */
        /** 55 px is the height of the buttons at the top in the edit scenario */
        max-height: calc(100vh - (266px + 158px + 55px));
    }
}

/** Pulls section of the sidebar, adblock, when editing, without a speedrun enabled */
.route_sidebar.right:not(.mobile,.embed) .edit .data_container:not(.has_speedrun) {
    /** 250px is the height of the ad in the corner */
    /** 24 px is the height of the report buttons */
    /** 55 px is the height of the buttons at the top in the edit scenario */
    max-height: calc(100vh - (142px + 55px));
}

/** Pulls section of the sidebar, when editing, WITH a speedrun enabled */
.route_sidebar.right:not(.mobile,.embed) .edit .data_container {
    /** 55 px is the height of the buttons at the top in the edit scenario */
    max-height: calc(50vh - (79px + 15px));
}

/** Speedrun npc section of the sidebar, when editing (WITH a speedrun enabled, doh) */
#edit_route_dungeon_speedrun_scroll_container.edit {
    max-height: calc(50vh - (79px + 15px));
}

/** Mobile heights */
.route_sidebar.right .handle {
    background-color: #2E2E2E;
    left: -40px;
    padding: 10px 15px;
    position: absolute;
    top: 0;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.route_sidebar.right .pull_workbench {
    background-color: #2E2E2E;
    left: -54px;
    position: absolute;
    top: 130px;
}

/* Make the selection fill the width of the parent */
.pull_workbench .pickr .pcr-button {
    width: 39px;
    height: 39px;
}

.pull_workbench .pull_workbench_row {
    margin-top: 11px;
    width: 39px;
    height: 39px;
}

.pull_workbench .pull_workbench_row.pull_workbench_header {
    margin-top: 0;
}

/** Pulls section of the sidebar, with ad loaded, when viewing, without a speedrun enabled */
.route_sidebar.right.ad_loaded .data_container:not(.has_speedrun) {
    max-height: calc(100vh - (250px + 163px));
}

@media (min-height: 1000px) {
    /** Pulls section of the sidebar, with a big ad loaded, when viewing, without a speedrun enabled */
    .route_sidebar.right.ad_loaded .data_container:not(.has_speedrun) {
        max-height: calc(100vh - (280px + 163px));
    }
}

/** Pulls section of the sidebar, adblock, when viewing, without a speedrun enabled */
.route_sidebar.right .data_container:not(.has_speedrun) {
    max-height: calc(100vh - 163px);
}

/** Heatmap section of the sidebar, adblock */
#heatmap_search_sidebar .data_container.explore {
    max-height: calc(100vh - 205px);
}

#heatmap_search_sidebar.ad_loaded .data_container.explore {
    max-height: calc(100vh - (250px + 198px));
}


/** When embedding a route */
.route_sidebar.right.embed.regular .data_container:not(.has_speedrun) {
    max-height: calc(100vh - 107px);
}

.route_sidebar.right.embed.compact .data_container:not(.has_speedrun) {
    max-height: calc(100vh - 54px);
}

/** Pulls section of the sidebar, when viewing, WITH a speedrun enabled */
.route_sidebar.right:not(.mobile,.embed) .data_container.has_speedrun {
    /** 55 px is the height of the buttons at the top in the edit scenario */
    max-height: calc(50vh - (79px));
}

/** Pulls section of the sidebar, when viewing, with a speedrun enabled */
.route_sidebar.right .data_container.has_speedrun {
    max-height: calc(50vh - (79px));
}

/** Speedrun npc section of the sidebar, when viewing (WITH a speedrun enabled, doh) */
#edit_route_dungeon_speedrun_scroll_container {
    max-height: calc(50vh - (79px));
}


/** Pulls section of the sidebar, when viewing on mobile/embed, without a speedrun enabled */
.route_sidebar.right .edit .data_container {
    /** 55 px is the height of the buttons at the top in the edit scenario */
    max-height: calc(100vh - (109px + 63px));
}

.route_sidebar.right .map_killzonessidebar_killzone_fill_space {
    flex: 1 1 auto
}

.route_sidebar.right [data-toggle="collapse"] .fa:before {
    content: "\f077";
}

.route_sidebar.right [data-toggle="collapse"].collapsed .fa:before {
    content: "\f078";
}

.route_sidebar.right .map_killzonessidebar_floor_switch .edit {
    width: 50px;
}

.route_sidebar.right .map_killzonessidebar_floor_switch h6 {
    font-size: 1.1rem;
}

.route_sidebar.right .map_killzonessidebar_floor_switch,
.route_sidebar.right .map_killzonessidebar_killzone.selectable {
    cursor: pointer;
}

.route_sidebar.right .edit .map_killzonessidebar_floor_switch,
.route_sidebar.right .map_killzonessidebar_killzone .grip {
    cursor: move;
    font-size: 1.2em;
}

.route_sidebar.right .map_killzonessidebar_color_btn {
    cursor: pointer;
}

.route_sidebar.right .pickr {
    flex: 1 1 auto;
}

.map_ad_unit_sidebar_right {
    width: 160px !important;
    position: absolute !important;
    left: auto !important;
    right: 0 !important;
    bottom: 25px !important;
}

.map_ad_unit_footer_right {
    width: 300px !important;
    position: absolute !important;
    left: auto !important;
    right: 0 !important;
    bottom: 0 !important;
}

.pull_settings_tools .pickr {
    height: 100%;
}

/** Should render above modals */
.pcr-app {
    z-index: 100100;
}

.route_sidebar .map_killzonessidebar_killzone.selected a {
    color: white !important;
}

.route_sidebar .map_killzonessidebar_killzone.selected .text-success {
    color: unset !important;
}

.route_sidebar .map_killzonessidebar_killzone .spell_container {
    max-width: 50%;
}
.route_sidebar .map_killzonessidebar_killzone .spell_container .spell_list {
    justify-content: right;
}

.grapick_color_picker_button_outer {
    left: -6px;
    top: -9px;
}

.grapick_color_picker_button {
    width: 12px !important;
    height: 12px !important;
    padding: 0 !important;
}

.user_mouse_position,
#edit_route_echo_members_container .list-group-item.cursor,
#edit_route_echo_members_container .list-group-item.echo_user {
    background-color: inherit;
    width: 36px;
    height: 36px;
}

#edit_route_echo_members_container .list-group-item.echo_user_overflow {
    background-color: inherit;
}

#edit_route_echo_members_container .list-group-item.echo_user_overflow .btn {
    height: 36px;
}

.theme #edit_route_echo_members_container button i {
    font-size: 1.15rem;
}

.user_mouse_position,
.user_mouse_position img,
.theme #edit_route_echo_members_container .dropdown .nav-link,
.theme #edit_route_echo_members_container .dropdown .nav-link img {
    padding: 0 !important;
    width: 30px;
    height: 30px;
    font-size: 1.15rem;
    border-radius: 32px;
}

.user_mouse_position {
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    -ms-transition: all 0.2s linear;
    transition: all 0.2s linear;
}

.user_mouse_position .inner {
    background-color: black;
    border-radius: 32px;
}

.theme .echo_user {
    border-radius: 30px !important;
}

.map_ad_background {
    background-color: rgba(78, 93, 108, 0.75);
}

.popover #map_dungeon_route_info_popover_container {
    font-size: 1rem;
}

@media (min-width: 1200px) {
    #enemy_info_container {
        margin: 0.5rem !important;
    }
}

#enemy_info_container {
    width: 300px;
    margin: 0 !important;
    z-index: 100000;
}

#enemy_info_container .card {
    border-radius: 0 !important;
}

#attribution_container {
    width: 300px;
    margin: 0 !important;
    z-index: 100000;
}

.map_controls_element_label_toggle:before {
    content: "\a0";
}

#echo_connected_container {
    font-size: 1.3em;
    cursor: pointer;
}


.echo_connected {
    color: green;
}

.echo_disconnected {
    color: red;
}

.echo_member_header_column_container {
    -ms-flex: 0 0 50px;
    flex: 0 0 50px;
}

.echo_member_column_container {
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.echo_member_column {
    -ms-flex: 0 0 100px;
    flex: 0 0 100px;
}

.floating_panel,
.sidebar .card {
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
}

.snackbar_footer {
    max-width: 728px !important;
    margin-bottom: 18px !important;
}

.snackbar_footer.ad_loaded {
    margin-bottom: 72px !important;
}

@media (max-width: 1200px) {
    .snackbar_footer {
        max-width: 500px !important;
        margin-bottom: 30px !important;
    }
}

#snackbar_container .leaflet-draw-actions {
    position: unset;
}

#snackbar_container .leaflet-draw-actions {
    margin-bottom: 0;
}

#snackbar_container .leaflet-draw-actions li.btn {
    border-radius: 0;
}

#snackbar_container .leaflet-draw-actions a {
    color: white;
    border: unset;
    font: inherit;
}

#snackbar_container .leaflet-draw-actions a:hover {
    background-color: unset;
    text-decoration: none;
}

.leaflet-draw-toolbar {
    margin-top: 0;
}

/** Fix a boatload of 404s being thrown because of missing images/spritesheet.svg */
.leaflet-draw-toolbar a {
    background-image: none !important;
}

#edit_route_draw_actions_container .leaflet-draw-actions {
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;

    top: unset !important;
    position: unset !important;
    left: unset !important;
    margin: 0 !important;
}

#edit_route_draw_actions_container .leaflet-draw-actions li {
    line-height: 35px;
}

#edit_route_draw_actions_container .leaflet-draw-actions a {
    font-size: 14px;
}

.button_hotkey_label {
    position: absolute;
    left: 10px;
    top: 0;
    z-index: 1;
}

/** Fix display type/beguiling enemy preset not filling full width of sidebar */
#map_enemy_visuals_container .leaflet-draw-section.leaflet-control {
    width: 100%;
}

#map-controls {
    height: 700px;
}

/* Remove square background and border around enemies, but leave editing drag squares alone */
.leaflet-marker-icon.leaflet-div-icon:not(.leaflet-editing-icon):not(.leaflet-edit-marker-selected) {
    border: none;
    background-color: unset;
    outline: none !important;
}

.leaflet-div-icon.leaflet-edit-marker-selected {
    border: unset;
}

.leaflet-verticalcenter {
    position: absolute;
    z-index: 1000;
    pointer-events: none;
    top: 50%; /* possible because the placeholder's parent is the map */
    transform: translateY(-50%); /* using the CSS3 Transform technique */
}

.leaflet-verticalcenter .leaflet-control {
    margin-bottom: 10px;
}

.leaflet-horizontalcenter {
    position: absolute;
    z-index: 1000;
    pointer-events: none;
    left: 50%; /* possible because the placeholder's parent is the map */
    transform: translateX(-50%); /* using the CSS3 Transform technique */
}

.leaflet-horizontalcenter .leaflet-control {
    margin-right: 10px;
}

/** leaflet-marker-icon leaflet-div-icon leaflet-zoom-animated leaflet-interactive */
/** leaflet-marker-icon leaflet-div-icon leaflet-editing-icon leaflet-touch-icon leaflet-zoom-animated leaflet-interactive leaflet-marker-draggable */

.circleMenu-closed {
    opacity: 0;
}

.circleMenu-open {
    opacity: 1;
}

.leaflet-edit-marker-selected {
    border-color: yellow !important;
    border-radius: 4px !important; /* Fixes weird border */
}

.leaflet-edit-marker-selected.delete {
    border-color: red !important;
}

.map_icon.leaflet-edit-marker-selected.leaflet-marker-icon {
    border: unset;
    background-color: unset;
}

.mdt_enemy_icon.leaflet-edit-marker-selected {
    margin-top: -9px !important;
    margin-left: -9px !important;
}

.boss_enemy_icon {
    width: 32px;
    height: 32px;
}

.enemy_aggressiveness_correction {
    margin-top: -6px;
}

.modifier {
    position: absolute;
    width: 25px !important;
    height: 25px !important;
    background-color: white;
    border: 1px black solid;
    border-radius: 18px;
}

.map_enemy_raid_marker_circle_menu {
    z-index: 10000;
}

.map_enemy_raid_marker_item {
    background-color: white !important;
    border: 1px black solid;
    border-radius: 18px;
}

.badge_enemy_forces {
    font-size: 100%;
    margin-left: -4px;
    background-color: #00f8;
}

.col-3-5 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 29.1%;
    flex: 0 0 29.1%;
    max-width: 29.1%;
}

.enemy_icon {
    background-color: white;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 100px;
}

/** Odd case where the background would otherwise be white and it'd show through the border */
.enemy_icon.enemy_portrait.dangerous,
.enemy_icon.enemy_portrait.patrol {
    background-color: black;
}

.enemy_icon.mdt {
    background-color: hotpink;
}

.enemy_icon.mdt.coupled {
    background-color: green;
}

.enemy_icon.mdt.coupled.different_npc {
    background-color: orange;
}

/*
 * Enemy types
 */
.enemy_icon_npc_mdt,
.enemy_icon_npc_enemy_forces,
.enemy_icon_npc_enemy_portrait,
.enemy_icon_npc_enemy_skippable,
.enemy_icon_npc_class,
.enemy_icon_npc_type {
    border: black 2px solid;
    border-radius: 100px;
    background-blend-mode: luminosity;
}

.enemy_icon_npc_enemy_portrait {
    background-color: black;
}

.enemy_icon_npc_mdt {
    background-color: hotpink;
}

.enemy_icon_npc_enemy_portrait.aggressive,
.enemy_icon_npc_enemy_forces.aggressive,
.enemy_icon_npc_class.aggressive,
.enemy_icon_npc_type.aggressive {
    background-color: #dc3c3c !important;
}

.enemy_icon_npc_enemy_portrait.neutral,
.enemy_icon_npc_enemy_forces.neutral,
.enemy_icon_npc_class.neutral,
.enemy_icon_npc_type.neutral {
    background-color: #cccc2d !important;
}

.enemy_icon_npc_enemy_portrait.unfriendly,
.enemy_icon_npc_enemy_forces.unfriendly,
.enemy_icon_npc_class.unfriendly,
.enemy_icon_npc_type.unfriendly {
    background-color: #ff9900 !important;
}

.enemy_icon_npc_enemy_portrait.friendly,
.enemy_icon_npc_enemy_forces.friendly,
.enemy_icon_npc_class.friendly,
.enemy_icon_npc_type.friendly {
    background-color: #15c415 !important;
}

.enemy_icon_npc_enemy_skippable .skippable {
    background-color: #15c415 !important;
}
.enemy_icon_npc_enemy_skippable .not_skippable {
    background-color: #dc3c3c !important;
}

.enemy_icon_npc_enemy_skippable_inner,
.enemy_icon_npc_enemy_forces_inner {
    display: flex;
    width: 100%;
    height: 100%;
    font: 12px 'Helvetica Neue', Arial, Helvetica, sans-serif;
}

/** #040C1F is the same blue as the background color of portraits */
.enemy_icon_npc_enemy_portrait_inner {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-color: #040C1F;
    border-radius: 100%;
}

.enemy_icon_npc_enemy_portrait.awakened,
.enemy_icon_npc_enemy_forces.awakened,
.enemy_icon_npc_class.awakened,
.enemy_icon_npc_type.awakened {
    background-color: #9200c4 !important;
}

.aggressive_enemy_icon {
    background-color: #dc3c3c;
}

.dangerous {
    border: 3px dashed #ff9900;
}

.rare {
    border: 3px dashed #C4E8DA;
}

.inspiring {
    border: 3px solid #ffd500;
}

.awakened {
    border: 3px solid #810098;
}

.encrypted {
    border: 3px solid #d000ff;
}

.shrouded {
    border: 3px solid #810098;
}

.shrouded_zul_gamux {
    border: 3px solid #d000ff;
}

.no_shrouded {
    border: 3px solid #00ffff;
}

.tormented {
    border: 3px solid #ffffff;
}

.requires_activation {
    border: 3px solid #ff9900;
}

.prideful {
    border: 3px solid #ff9900;
}

.patrol {
    border: 3px dashed #0017be;
}

.modifier_external {
    width: 16px !important;
    height: 16px !important;
    background-color: unset;
    border: unset;
    border-radius: unset;
}

.truesight {
    border: 1px black solid;
    border-radius: 18px;
}

.teeming {
    border: 1px black solid;
    border-radius: 18px;
}

.modifier_awakened {
    border: 1px black solid;
    border-radius: 18px;
}

.modifier_encrypted {
    border: 1px black solid;
    border-radius: 18px;
}

.modifier_inspiring {
    border: 1px black solid;
    border-radius: 18px;
}

.modifier_prideful {
    border: 1px black solid;
    border-radius: 18px;
}

.modifier_tormented {
    border: 1px black solid;
    border-radius: 18px;
}


/*.enemy_icon_npc_type.beguiling {*/
/*    border: #7f2480 2px solid !important;*/
/*}*/


.neutral_enemy_icon {
    background-color: #cccc2d !important;
}

.unfriendly_enemy_icon {
    background-color: #ff9900 !important;
}

.friendly_enemy_icon {
    background-color: #15c415 !important;
}

.flagged_enemy_icon {
    background-color: #cccc2d !important;
}

.mdt_enemy_icon {
    background-color: #4444ff !important;
}

.mdt_mismatched_enemy_icon {
    background-color: #ff9900 !important;
}

.mdt_ok_enemy_icon {
    background-color: #15c415 !important;
}

.killzone_icon_big {
    margin-left: -19px !important;
    margin-top: -19px !important;
    border-color: yellow !important;
}

/*.selected_enemy_icon {*/
/*    margin-top: -4px !important;*/
/*    margin-left: -4px !important;*/
/*}*/

#map_enemy_forces {
    font-size: 1.3em;
}

/* When in the sidebar, spread it out fully */
.sidebar #map_enemy_visuals {
    width: 100%;
}

#map_enemy_visuals {
    width: 200px;
}

.map_enemy_forces_too_little_warning,
.map_enemy_forces_too_much_warning {
    color: #f0ad4e;
}

.map_enemy_forces_ok {
    color: #5cb85c;
}

.profile_class_color,
.map_polyline_edit_popup_class_color {
    height: 32px;
    margin: 2px 10px;
    border-radius: 3px;
    cursor: pointer;
}

/* Class that's used for displaying custom markers with a font-awesome icon instead of the default marker */
.marker_div_icon {
    width: 30px;
    height: 30px;
    text-shadow: 2px 2px #1A1A1A;
}

.marker_div_icon_font_awesome {
    text-align: center; /* Horizontally center the text (icon) */
    line-height: 25px; /* Vertically center the text (icon) */
}

.marker_div_icon_dungeon_start_marker {
    color: #48a648;
}

.marker_div_icon_dungeon_floor_switch_marker {
    color: lightblue;
}

.marker_div_icon_killzone {
    color: #d12600;
    font-size: 30px;
}

.map_icon_div_icon_unknown {
    font-size: 16px;
}

.marker_div_icon_circle_border {
    border: 3px solid;
    border-radius: 15px;
}

.map_map_icon_comment_tooltip {
    min-width: 240px;
    white-space: normal;
    display: inline-block;
}

#map_ad_horizontal,
#map_ad_vertical {
    position: fixed;
    bottom: 0;
    z-index: 1020;
    margin-bottom: 16px;
}

#map_ad_horizontal {
    width: 100vw;
}

#map_ad_vertical {
    right: 0;
}


#map.mode-create {
    cursor: crosshair;
}

#map div.elbow {
    transition: background-color .25s;
    border: 2px solid white;
    outline: none;
    box-shadow: 0 0 3px rgba(0, 0, 0, .1);
    border-radius: 50%;
    pointer-events: none;
    background-color: #555;
}

#map.mode-edit div.elbow {
    cursor: move;
    pointer-events: all;
    background-color: orangered;
}

#map.mode-delete:not(.mode-append) path {
    cursor: not-allowed;
}

#map svg {
    position: absolute;
    z-index: 1001;
}

/** The attribution svg should not be affected by the above */
#map .leaflet-control-attribution svg {
    position: static;
    z-index: auto;
}

.flash:not(.map_enemy_forces_too_little_warning) {
    animation-name: flash-animation;
    animation-duration: 0.75s;
}

@keyframes flash-animation {
    from {
        color: #9DFF56;
    }
    to {
        color: #00bc8c;
    }
}

.map_enemy_forces_too_little_warning.flash {
    animation-name: flash-animation-to-warning;
    animation-duration: 0.75s;
}

@keyframes flash-animation-to-warning {
    from {
        color: #9DFF56;
    }
    to {
        color: #f0ad4e;
    }
}

/* Make the selection fill the width of the parent */
.default_color_selection .pickr .pcr-button {
    width: 100%;
}

/** Spells */
.spell_small {
    height: 24px;
    width: 24px;
    border-radius: 3px;
}

.spells_row {
    font-size: 12px;
}

/** Heatmap **/
.filter_event_type_icon {
    width: 16px;
    height: 16px;
}

.filter_region_icon {
    width: 24px;
    height: 16px;
}

#heatmap_search_options_current_filters {
    overflow-y: auto;
}

#heatmap_search_sidebar:not(.embed) #heatmap_search_options_current_filters {
    height: 71px;
}

#heatmap_search_sidebar.embed #heatmap_search_options_current_filters {
    height: 106px;
}

.popupCustom .leaflet-popup-content-wrapper {
    border-radius: 0;
}

.popupCustom .pickr .pcr-button {
    width: 100%;
}
.nitropay.report-link {
    z-index: 99999;
}

.nitropay.report-link a {
    margin: 0 !important;
    color: #EBEBEB;
}

.nitropay-style a {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 9px;
    text-transform: uppercase;
    text-decoration: none;
    color: #EBEBEB;
    display: inline-block;
    height: 10px;
}
/* fixes to playwire bottom rail */
#pw-oop-bottom_rail,
#pw-oop-bottom_rail2 {
    background: none !important;
    border: none !important;
    pointer-events: none !important;
    /*width: fit-content !important;*/
}

#pw-oop-bottom_rail iframe,
#pw-oop-bottom_rail2 iframe {
    pointer-events: auto !important;
}

/** Otherwise the video will be above the blank space for the bottom rail */
.pw-corner-ad-video {
    margin-bottom: 0 !important;
}

.tier.f {
    color: #9d9d9d;
}

.tier.d {
    color: #ffffff;
}

.tier.c {
    color: #1eff00;
}

.tier.b {
    color: #0070dd;
}

.tier.a {
    color: #a335ee;
}

.tier.s {
    color: #ff8000;
}
