* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Oxygen, Arial, sans-serif;
}

body {
    background: #F5F5F5;
    padding: 20px;
    cursor: default;
}

h1 {
    font-size: 35px;
    font-weight: 300;
    text-align: center;
    user-select: none;
}

h1 > img {
    vertical-align: middle;
    width: 35px;
    height: 35px;
}

#filter-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    user-select: none;
    margin: auto;
    line-height: 45px;
}

.copy-link {
    vertical-align: middle;
    margin-left: 15px;
    cursor: copy;
}

.text-center {
    text-align: center !important;
}

.small-cell {
    width: 85px;
}

.loot-list-last-items {
    cursor: pointer;
}

.last-items-table {
    border-spacing: 0;
}

.last-items-table th, .last-items-table td {
    padding: 4px;
}

.last-items-table th {
    border-bottom: 1px solid white;
}

#loot-list-table th, #main-table th {
    top: 0;
    position: sticky;
}

/* Toggle Button Start */
.tgl {
    display: none;
}

.tgl::-moz-selection, .tgl:after::-moz-selection, .tgl:before::-moz-selection, .tgl *::-moz-selection, .tgl *:after::-moz-selection, .tgl *:before::-moz-selection, .tgl + .tgl-btn::-moz-selection {
    background: none;
}

.tgl::selection, .tgl:after::selection, .tgl:before::selection, .tgl *::selection, .tgl *:after::selection, .tgl *:before::selection, .tgl + .tgl-btn::selection {
    background: none;
}

.tgl + .tgl-btn {
    outline: 0;
    display: inline-block;
    width: 4em;
    height: 2em;
    position: relative;
    cursor: pointer;
    vertical-align: middle;
    margin-left: 8px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.tgl + .tgl-btn:after, .tgl + .tgl-btn:before {
    position: relative;
    display: inline-block;
    content: "";
    width: 50%;
    height: 100%;
}

.tgl + .tgl-btn:after {
    left: 0;
}

.tgl + .tgl-btn:before {
    display: none;
}

.tgl:checked + .tgl-btn:after {
    left: 50%;
}

.tgl-flip + .tgl-btn {
    padding: 2px;
    transition: all 0.2s ease;
    font-family: sans-serif;
    perspective: 100px;
}

.tgl-flip + .tgl-btn:after, .tgl-flip + .tgl-btn:before {
    display: inline-block;
    transition: all 0.4s ease;
    width: 100%;
    text-align: center;
    position: absolute;
    line-height: 2em;
    font-weight: bold;
    color: #fff;
    top: 0;
    left: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 4px;
}

.tgl-flip + .tgl-btn:after {
    content: attr(data-tg-on);
    background: #02C66F;
    transform: rotateY(-180deg);
}

.tgl-flip + .tgl-btn:before {
    background: #d83c3c;
    content: attr(data-tg-off);
}

.tgl-flip + .tgl-btn:active:before {
    transform: rotateY(-20deg);
}

.tgl-flip:checked + .tgl-btn:before {
    transform: rotateY(180deg);
}

.tgl-flip:checked + .tgl-btn:after {
    transform: rotateY(0);
    left: 0;
    background: #7FC6A6;
}

.tgl-flip:checked + .tgl-btn:active:after {
    transform: rotateY(20deg);
}
/* Toggle Button End */

/* Selectize Styling Start */
.selectize-mid {
    width: 150px;
    display: inline-block;
}

.selectize-large {
    width: 250px;
    display: inline-block;
}

.selectize-100 {
    width: 100%;
    display: block;
    margin-bottom: 10px;
}

.selectize-control.plugin-clear_button .clear {
    font-size: 18px;
    top: -1px;
}
/* Selectize Styling End */

/* Link Styling Start */
a {
    color: #0074D9;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}
/* Link Styling End */

/* Search form */
/* Form wrapper styling */
.form-wrapper {
    width: 450px;
    margin: 50px auto;
    text-align: center;
}

/* Form text input */
.form-wrapper input {
    width: 300px;
    padding: 10px 20px;
    background: white;
    color: #5C5C5C;
    border-radius: 3px 0 0 3px;
    border: 1px solid #DEDCDC;
    transition: all ease-in-out .3s;
    font-size: 18px;
}

.form-wrapper input:focus {
    outline: 0;
    background-color: white;
}

/* Form submit button */
.form-wrapper div {
    overflow: visible;
    position: relative;
    text-align: center;
    cursor: pointer;
    height: 44px;
    line-height: 44px;
    width: 107px;
    color: white;
    text-transform: uppercase;
    background: #0095ff;
    border-radius: 0 3px 3px 0;
    border: 1px solid #007cd5;
    border-left: 0;
    display: inline-block;
    margin-left: -5px;
    user-select: none;
}

.form-wrapper div:hover {
    background: #007cd5;
}

.form-wrapper div:active,
.form-wrapper div:focus {
    background: #007cd5;
    outline: 0;
}

.form-wrapper div:before {
    content: '';
    position: absolute;
    border-width: 8px 8px 8px 0;
    border-style: solid solid solid none;
    border-color: transparent #0095ff transparent;
    top: 14px;
    left: -6px;
}

.form-wrapper div:hover:before {
    border-right-color: #007cd5;
}

.form-wrapper div:focus:before,
.form-wrapper div:active:before {
    border-right-color: #007cd5;
}

.form-wrapper div::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/* Table styling Start */
#num-search-results {
    font-weight: bold;
    margin-top: 25px;
}

.table {
    margin-top: 25px;
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 1px 2px 0 rgba(0, 0, 0, 0.24);
    background-color: white;
    color: #757575;
}

.table tbody tr:nth-child(odd) {
    background-color: #f5f5f5;
}

.table th {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    user-select: none;
    background-color: #262626;
    color: white;
}

.table td {
    padding: 20px;
}

.playersearch, .selectize-filter, .selectize-filter-itemLevel, .selectize-filter-type {
    cursor: pointer;
}
/* Table styling End */

.tbody-loader {
    text-align: center;
}

.tbody-loader > img {
    display: inline-block;
}

/* Loading Indicator Start */
#loader {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 1000;
    background-color: rgba(244, 244, 244, 0.99);
    user-select: none;
    padding: 20px;
}

#loader > div {
    text-align: center;
    width: 450px;
    margin: 100px auto auto;
}

.bogdan-bubble {
    margin-top: 25px;
    margin-bottom: 25px;
    position: relative;
    max-width: 450px;
    background-color: #fff;
    padding: 1.125em 1.5em;
    font-size: 2em;
    border-radius: 1rem;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.3), 0 0.0625rem 0.125rem rgba(0, 0, 0, 0.2);
    font-family: 'Dancing Script', serif;
    font-weight: 400;
}

.bogdan-bubble::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    bottom: 100%;
    left: calc(50% - 0.625rem);
    border: 0.75rem solid transparent;
    border-top: none;
    border-bottom-color: #fff;
    filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));
}
/* Loading Indicator End */

/* Class Colours Start */
.class-1 {
    color: #C69B6D;
}

.class-2 {
    color: #F48CBA;
}

.class-3 {
    color: #AAD372 ;
}

.class-4 {
    color: #9a8f00;
}

.class-5 {
    color: #000000;
}

.class-6 {
    color: #C41E3A;
}

.class-7 {
    color: #0070DD;
}

.class-8 {
    color: #3FC7EB;
}

.class-9 {
    color: #8788EE;
}

.class-10 {
    color: #00FF98;
}

.class-11 {
    color: #FF7C0A ;
}

.class-12 {
    color: #A330C9;
}

.class-13 {
    color: #33937F ;
}
/* Class Colours End */

/* Modal Dialog Start */
.modal {
    padding: 25px;
    position: fixed;
    overflow: auto;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 600;
    background-color: rgba(255, 255, 255, 0.99);
    display: none;
    color: #666666;
    line-height: 1.5em;
}

.modal > div {
    width: 800px;
    margin: 25px auto auto;
}

.modal > div > h1 {
    margin-bottom: 30px;
}

.modal > div > ol {
    margin-left: 15px;
    margin-top: 15px;
    margin-bottom: 25px;
}

.modal > div > ol > li {
    margin-top: 10px;
}

.modal > div > h2 {
    border-bottom: 1px dashed black;
    color: black;
    padding-bottom: 4px;
    margin-top: 30px;
    bottom: 15px;
}

.modal hr {
    width: 250px;
    border: 2px dashed #c42f2f;
    box-shadow: 0 0 10px 0 silver;
    margin: auto;
}

.modal-100 {
    width: 100% !important;
}

.warning {
    border-left: 4px solid #c42f2f;
    padding-left: 8px;
    display: block;
    margin-top: 15px;
    margin-bottom: 15px;
}

.warning .fa-fw {
    margin-right: 4px;
}

.button {
    background-color: #0095ff;
    border: 1px solid transparent;
    border-radius: 3px;
    box-shadow: rgba(255, 255, 255, .4) 0 1px 0 0 inset;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: -apple-system,system-ui,"Segoe UI","Liberation Sans",sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.15385;
    margin: 0;
    outline: none;
    padding: 8px .8em;
    position: relative;
    text-align: center;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: baseline;
    white-space: nowrap;
}

.button:hover,
.button:focus {
    background-color: #07c;
}

.button:focus {
    box-shadow: 0 0 0 4px rgba(0, 149, 255, .15);
}

.button:active {
    background-color: #0064bd;
    box-shadow: none;
}
/* Modal Dialog End */

/* Help Icon Start */
#help-icon {
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 500;
    cursor: help;
    animation: bounce 2s ease infinite;
}

#help-icon:hover {
    animation-play-state: paused;
}

@keyframes bounce {
    0% {
        transform: translateY(-10%);
    }

    50% {
        transform: translateY(10%);
    }

    100% {
        transform: translateY(-10%);
    }
}
/* Help Icon End */

/* Bottom Menu Start */
#bottom-menu-padding {
    position: fixed;
    padding: 20px 20px 0;
    bottom: -78px;
    left: 50%;
    transform: translate(-50%, 0);
    opacity: 0.5;
    transition: bottom ease-in-out .2s, opacity ease-in-out .2s;
    z-index: 999;
}

#bottom-menu {
    border-width: 8px;
    border-bottom: 0;
    background-color: black;
    padding: 10px 20px;
    text-align: center;
    transition: background-color ease-in-out .2s;
    position: relative;
    z-index: 999;
    width: 380px;
}

#bottom-menu::after {
    bottom: 100%;
    left: 50%;
    content: "";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border: solid transparent;
    border-color: rgba(10, 0, 0, 0);
    border-bottom-color: black;
    border-width: 10px;
    margin-left: -10px;
}

#bottom-menu-padding:hover {
    opacity: 1;
    bottom: 0;
}

#bottom-menu-padding:hover #bottom-menu {
    background-color: rgba(244, 244, 244, 0.85);
    border-top: 6px solid #c42f2f;
}

#bottom-menu-padding:hover #bottom-menu::after {
    display: none;
}

#bottom-menu ul {
    margin: auto;
    vertical-align: middle;
}

#bottom-menu li {
    display: inline-block;
    list-style-type: none;
    /* Preventing bottom margin on the element */
    font-size: 0;
}

#bottom-menu li:not(:last-child) {
    margin-right: 15px;
}

#bottom-menu img {
    width: 64px;
    height: 64px;
    border: 2px solid transparent;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.7;
}

#bottom-menu img:hover {
    border: 2px solid #666666;
    opacity: 1;
}
/* Bottom Menu End */

/* Close Button Start */
.btn-close {
    margin: 0;
    border: 0;
    padding: 0;
    background: #0066ff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 150ms;
    position: absolute;
    right: 20px;
    top: 20px;
}

.btn-close .icon-cross {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    position: relative;
    width: 20px;
    height: 20px;
}

.btn-close .icon-cross:before, .btn-close .icon-cross:after {
    content: "";
    position: absolute;
    top: 9px;
    left: 0;
    right: 0;
    height: 3px;
    background: #fff;
    border-radius: 6px;
}

.btn-close .icon-cross:before {
    transform: rotate(45deg);
}

.btn-close .icon-cross:after {
    transform: rotate(-45deg);
}

.btn-close .icon-cross span {
    display: block;
}

.btn-close:hover, .btn-close:focus {
    transform: rotateZ(90deg);
    background: #0052cc;
}

.visually-hidden {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0 !important;
    border: 0 !important;
    height: 1px !important;
    width: 1px !important;
    overflow: hidden;
}
/* Close Button End */

/* Drop list Start */
#drop-list-table th {
    text-align: center;
}

#drop-list-table th, #drop-list-table td {
    padding: 5px;
}

.drop-list-table-hidden {
    display: none;
}

.toggle-tbody, .raid-header, .boss-header {
    cursor: pointer;
}

.drop-list-light-1 th {
    background-color: rgba(38, 38, 38, 0.85) !important;
}

.drop-list-light-2 th {
    background-color: rgba(38, 38, 38, 0.70) !important;
}

.drop-list-light-3 th {
    background-color: rgba(38, 38, 38, 0.55) !important;
}

.boss-header th {
    font-weight: normal;
}
/* Drop list End */

/* Mobile devices Start */
@media screen and (max-width: 930px) {
    #loader {
        padding: 20px;
    }

    #loader > div {
        width: 100%;
        margin: 20px auto auto;
    }

    .bogdan-bubble {
        width: 100%;
        margin: 15px auto auto;
    }

    .form-wrapper {
        margin: 15px auto 30px;
        width: 100%;
    }

    .form-wrapper input {
        width: calc(100% - 107px);
    }

    .selectize-control {
        width: 100%;
    }

    .selectize, label[for="filter-exclusions"], .copy-link {
        margin-top: 10px;
    }

    label[for="filter-exclusions"] {
        margin-left: 0 !important;
    }

    #main-table, #loot-list-table {
        display: block !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
    }

    .modal > div {
        width: 100%;
    }
}
/* Mobile devices End */