/* Width, height and zoom are set from index.html meta attributes */
html, body {
    width: var(--dashboard-width, 271px); /* fallback if javascript fails */
    height: var(--dashboard-height, 402px); /* fallback if javascript fails */
}

body {
    zoom: var(--dashboard-zoom, 100%); /* fallback if javascript fails */
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #1d1818;
    font-family: Tahoma;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Chrome, Safari, Opera */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE 10+, Edge (old) */
    user-select: none; /* Standard */
    cursor: default;
}

table {
    width: 211px;
    margin-bottom: 3px;
    border-radius: 4px;
    cursor: default;
}

    table tr {
        height: 20px;
        border-radius: 5px;
        cursor: default;
    }

        table tr td {
            color: #bbbbbb;
            padding: 0px 5px 2px 7px;
            height: 20px;
            cursor: default;
        }

            table tr td:nth-child(2) {
                padding-right: 0px;
                cursor: default;
            }

            table tr td:nth-child(3) {
                padding-left: 0px;
                cursor: default;
            }

.dashboard {
    background: url('../images/bg.png') repeat-y top center;
    background-color: #1d1818;
    width: 265px;
    height: 400px;
    margin: auto;
    background-size: cover;
}

#menu {
    position: absolute;
    /* background: url('../images/menu_bg.png') no-repeat top center; */
    /* color: rgb(20 42 56); */
    /* background-color: rgb(0 0 0 / 50%); */
    border-radius: 5px;
    border: 1px solid;
    /* background-size: cover; */
    border-color: rgb(8 75 108);
    margin-left: 6px;
    margin-top: 319px;
    height: 44px;
    width: 251px;
}

#header {
    position: absolute;
    background: url('../images/header.png') no-repeat top center;
    margin-left: 0px;
    margin-top: 0px;
    height: 30px;
    width: 266px;
}

#logo {
    position: absolute;
    background: url('../images/logo.png') no-repeat top center;
    margin-left: -12px;
    margin-top: 7px;
    width: 113px;
    height: 28px;
    background-size: 65% 65%;
}

a#button-open {
    position: fixed;
    width: 37px;
    height: 19px;
    margin-left: 200px;
    margin-top: 6px;
    z-index: 999;
    background: url('../images/btn_open.png') no-repeat top center;
    background-size: 100% 100%;
}

a#button-open:hover {
    background: url('../images/btn_open_hover.png') no-repeat top center;
    background-size: 100% 100%;
}

a#button-minimizer {
    position: fixed;
    width: 18px;
    height: 19px;
    margin-left: 220px;
    margin-top: 6px;
    z-index: 999;
    background: url('../images/btn_minimizer.png') no-repeat top center;
    background-size: 100% 100%;
}

a#button-minimizer:hover {
    background: url('../images/btn_minimizer_hover.png') no-repeat top center;
    background-size: 100% 100%;
}

a#button-close {
    position: fixed;
    width: 18px;
    height: 19px;
    margin-left: 242px;
    margin-top: 6px;
    z-index: 999;
    background: url('../images/btn_close.png') no-repeat top center;
    background-size: 100% 100%;
}

a#button-close:hover {
    background: url('../images/btn_close_hover.png') no-repeat top center;
    background-size: 100% 100%;
}

.button-hunt {
    background-image: url('../images/btn_hunt.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-color: transparent;
    border: 0px;
    width: 19px;
    height: 20px;
    position: absolute;
    margin-left: -19px;
    margin-top: -5px;
    cursor: default;
}

.button-hunt-none {
    background-image: url('../images/huntpoint-none.png');
    background-size: 100%;
    background-repeat: no-repeat;
    background-color: transparent;
    border: 0px;
    width: 38px;
    height: 43px;
    position: absolute;
    margin-left: 17px;
    margin-top: -16px;
}

a.button-menu {
    position: fixed;
    width: 34px;
    height: 34px;
    margin-left: 129px;
    margin-top: 6px;
    z-index: 999;
}

    a.button-menu:nth-child(2) {
        position: fixed;
        width: 34px;
        height: 34px;
        margin-left: 171px;
        margin-top: 6px;
        z-index: 999;
    }

    a.button-menu:nth-child(3) {
        position: fixed;
        width: 34px;
        height: 34px;
        margin-left: 214px;
        margin-top: 6px;
        z-index: 999;
    }

a#button-users {
    background: url('../images/btn_characters.png') no-repeat top center;
    background-size: cover;
}

    a#button-users:hover {
        background: url('../images/btn_characters_hover.png') no-repeat top center;
        background-size: cover;
        height: 34px;
        width: 34px;
        margin-top: 6px;
        margin-left: 129px;
    }

    a#button-users.active {
        background-image: none;
    }

        a#button-users.active::before {
            content: "";
            position: absolute;
            top: -7px;
            left: -16px;
            width: 60px;
            height: 45px;
            background-image: url('../images/btn_hover_glow.png');
            background-repeat: no-repeat;
            background-position: top center;
        }

        a#button-users.active::after {
            content: "";
            position: absolute;
            top: 0px;
            left: 0px;
            width: 34px;
            height: 34px;
            background-image: url('../images/btn_characters_hover.png');
            background-repeat: no-repeat;
            background-size: cover;
            background-position: top center;
        }

a#button-events {
    background: url('../images/btn_events.png') no-repeat top center;
    background-size: cover;
}

    a#button-events:hover {
        background: url('../images/btn_events_hover.png') no-repeat top center;
        background-size: cover;
        width: 34px;
        height: 34px;
        margin-top: 6px;
        margin-left: 171px;
    }

    a#button-events.active {
        background-image: none;
    }

        a#button-events.active::before {
            content: "";
            position: absolute;
            top: -7px;
            left: -16px;
            width: 60px;
            height: 45px;
            background-image: url('../images/btn_hover_glow.png');
            background-repeat: no-repeat;
            background-position: top center;
        }

        a#button-events.active::after {
            content: "";
            position: absolute;
            top: 0;
            left: 0px;
            width: 34px;
            height: 34px;
            background-image: url('../images/btn_events_hover.png');
            background-size: cover;
            background-repeat: no-repeat;
            background-position: top center;
        }

a#button-settings {
    background: url('../images/btn_settings.png') no-repeat top center;
    background-size: cover;
}

    a#button-settings:hover {
        background: url('../images/btn_settings_hover.png') no-repeat top center;
        background-size: cover;
        width: 34px;
        height: 34px;
        margin-top: 6px;
        margin-left: 214px;
    }

    a#button-settings.active {
        background-image: none;
    }

        a#button-settings.active::before {
            content: "";
            position: absolute;
            top: -6px;
            left: -12px;
            width: 55px;
            height: 45px;
            background-image: url('../images/btn_hover_glow.png');
            background-repeat: no-repeat;
            background-position: top center;
        }

        a#button-settings.active::after {
            content: "";
            position: absolute;
            top: 0px;
            left: 0px;
            width: 34px;
            height: 34px;
            background-image: url('../images/btn_settings_hover.png');
            background-size: cover;
            background-repeat: no-repeat;
            background-position: top center;
        }

#users-list {
    position: fixed;
    max-width: 257px;
    min-width: 241px;
    width: 245px;
    max-height: 296px;
    height: 296px;
    min-height: 233px;
    padding-left: 0px;
    padding-top: 0px;
    margin-left: -2px;
    margin-top: -2px;
    /* border-radius: 3px; */
    font-size: 11px;
    font-family: Arial;
    overflow-y: scroll;
    overflow-x: hidden;
    display: block;
}

    #users-list table {
        width: 99%;
        margin-bottom: 0px;
    }

        #users-list table tr td {
            color: #b5b5b5;
            padding: 0px 3px 3px 0px;
            height: 27px;
        }

            #users-list table tr td div {
                border-radius: 7px;
                /* background-image: url('../images/bg_character.png'); */
                /* background-size: cover; */
                background-color: rgb(167 175 175 / 26%);
                border: 1px solid;
                border-color: rgb(250 250 250 / 38%);
                width: 219px;
                /* height: 78px; */
                /* height: 7px; */
                /* width: 99%; */
                /* max-width: 245px; */
                /* text-align: center; */
                /* vertical-align: middle; */
                /* font-size: 12px; */
                padding-left: 7px;
                height: 66px;
            }

                #users-list table tr td div:hover {
                    /* background-image: url('../images/pin-bg-hover.png'); */
                }

                #users-list table tr td div table tr td {
                    height: 7px;
                    font-size: 12px;
                    text-align: left;
                    line-height: 0px;
                    padding: 0px;
                    color: #ccc;
                }

                    #users-list table tr td div table tr td:nth-child(2) {
                        /*text-align: right;*/
                        /*vertical-align: top;*/
                    }

                        #users-list table tr td div table tr td:nth-child(2) a {
                            background-color: #711d0d;
                            padding: 5px 8px;
                            border-radius: 3px;
                            margin-left: -30px;
                            margin-top: 5px;
                            font-size: 12px;
                            text-decoration: none;
                            position: absolute;
                            color: #b5b5b5;
                        }

                        #users-list table tr td div table tr td:nth-child(2) button {
                            background-color: transparent;
                            background-image: url('../images/button-news.png');
                            background-size: cover;
                            border: 0px;
                            width: 39px;
                            height: 33px;
                            font-size: 10px;
                            color: #999;
                            font-weight: 100;
                            padding-left: 3px;
                            margin-top: 2px;
                            margin-left: 3px;
                        }

                            #users-list table tr td div table tr td:nth-child(2) button:hover {
                                background-image: url('../images/button-news-hover.png');
                                color: #ccc;
                                font-weight: 100;
                            }

#events-list {
    position: fixed;
    max-width: 243px;
    min-width: 226px;
    width: 243px;
    /* max-height: 271px; */
    height: 296px;
    min-height: 233px;
    padding-left: 0px;
    padding-top: 0px;
    /* margin: 0px; */
    margin-top: -2px;
    border-radius: 3px;
    font-size: 11px;
    font-family: Arial;
    overflow-y: scroll;
    overflow-x: hidden;
    display: none;
}

#settings-list {
    display: none;
}

    #settings-list table {
        width: 100%;
    }

        #settings-list table tr td:last-child {
            padding-right: 0px;
            text-align: right;
        }

        #settings-list table tr td:first-child {
            padding-left: 6px;
            font-size: 12px;
            text-align: left;
        }

        #settings-list table tr:first-child td {
            padding-top: 6px;
            padding-bottom: 0px;
        }

    #settings-list h3 {
        font-size: 13px;
        color: #ffffff;
        padding: 0px;
        line-height: 100%;
        margin: 0px;
        font-weight: normal;
    }

    #settings-list hr {
        border-top: 0px;
        border-left: 0px;
        border-right: 0px;
        border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    }

::-webkit-scrollbar-track {
    background: url('../images/scrollbar_bar.png') no-repeat top center;
    width: 10px;
    height: auto !important;
    background-size: 100% 100%;
    -webkit-background-size: 100%;
    -o-background-size: 100%;
    -khtml-background-size: 100%;
    -moz-background-size: 100% 100%;
}

::-webkit-scrollbar {
    width: 10px;
    margin: auto;
}

::-webkit-scrollbar-thumb {
    background: url('../images/scrollbar_fill.png') no-repeat top center;
    margin: auto;
    width: 8px;
    min-height: 75px;
    height: auto !important;
    background-size: 100% 100%;
    -webkit-background-size: 75% 100%;
    -o-background-size: 100%;
    -khtml-background-size: 100%;
    -moz-background-size: 100% 100%;
}

::-webkit-scrollbar-button {
    /* background: url('../images/scrollbar_arrow_top.png') no-repeat top center; */
    background-size: 100% 100%;
    -webkit-background-size: 100%;
    -o-background-size: 100%;
    -khtml-background-size: 100%;
    -moz-background-size: 100% 100%;
    height: 13px;
}

    ::-webkit-scrollbar-button:end:increment {
        background: url('../images/scrollbar_arrow_bottom.png') no-repeat top center;
        height: 13px;
        background-size: 100% 100%;
        -webkit-background-size: 100%;
        -o-background-size: 100%;
        -khtml-background-size: 100%;
        -moz-background-size: 100% 100%;
    }

    ::-webkit-scrollbar-button:start:decrement {
        background: url('../images/scrollbar_arrow_top.png') no-repeat top center;
        background-size: 100% 100%;
        -webkit-background-size: 100%;
        -o-background-size: 100%;
        -khtml-background-size: 100%;
        -moz-background-size: 100% 100%;
        height: 13px;
    }

#container {
    /* background: url(../images/bg.png) no-repeat top center; */
    /* background-color: rgb(0 0 0 / 50%); */
    position: relative;
    margin: 6px auto;
    /* max-height: 283px; */
    /* max-width: 253px; */
    height: 300px;
    width: 236px;
    padding: 0px;
    padding-top: 7px;
    padding-left: 5px;
    padding-right: 10px;
    border: 1px solid;
    border-color: rgb(8 75 108);
    border-radius: 4px;
}

.sortnr {
    display: none;
}

.sound {
    font-size: 13px;
    cursor: pointer;
}

.fa-volume-off {
    color: #909090;
    margin-right: 6px;
    margin-left: -5px;
}

    .fa-volume-off:hover {
        color: #929292;
        font-size: 15px;
    }

.fa-volume-up {
    color: #e7e7e7;
    margin-right: 1px;
    margin-left: -6px;
}

    .fa-volume-up:hover {
        font-size: 14px;
        color: #ebebeb;
        margin-right: 0px;
    }

.event-timer {
    text-align: right;
}

.time-off {
    border-radius: 3px;
    padding: 3px 5px 3px 5px;
    background-color: rgb(0 39 67 / 80%);
}

.time-on {
    border-radius: 3px;
    padding: 3px 5px 3px 5px;
    background-color: #3b6289;
}

.events-list-button {
    position: fixed;
    /* background:url(../images/bg_event.png) no-repeat top left; */
    background-color: rgb(3 23 35 / 85%);
    width: 235px;
    height: 34px;
    margin-left: -5px;
    margin-top: -3px
}

a.button-event {
    display: flex;
    background-color: rgb(0 40 68 / 86%);
    justify-content: center;
    align-items: center;
    border: 1px solid;
    border-radius: 4px;
    border-color: rgb(8 75 108);
    position: fixed;
    width: 51px;
    height: 20px;
    text-align: center;
    padding-top: 0px;
    color: rgba(255,255,255,.7);
    font-size: 10px;
    font-family: Arial;
    text-decoration: none;
    margin-left: 1px;
    margin-top: 2px;
    padding-right: 0px;
}

    a.button-event:hover {
        background-color: rgb(8 86 140 / 86%);
        color: rgba(255,255,255,.9)
    }

    a.button-event:nth-child(2) {
        margin-left: 58px;
    }

    a.button-event:nth-child(3) {
        margin-left: 115px;
    }

    a.button-event:nth-child(4) {
        margin-left: 172px;
    }

    a.button-event.active {
        color: rgba(255,255,255,.9)
    }

#progress-circle {
    position: absolute;
    border-radius: 50%;
    background-color: transparent;
    margin-left: -30px;
    margin-top: 18.5px;
}

#move {
    position: relative;
    margin: 0px auto;
    height: 80px;
}

.button2 {
    background-color: #d0363600;
    border: 0px;
    width: 45px;
    border-radius: 50%;
    height: 45px;
    position: absolute;
    margin-left: -2px;
    margin-top: 5px;
    cursor: pointer;
    z-index: 2
}

.button3 {
    background-image: url('../images/btn_close.png');
    background-size: 55%;
    background-repeat: no-repeat;
    background-color: transparent;
    border: 0px;
    width: 16px;
    height: 11px;
    position: absolute;
    margin-left: 11px;
    margin-top: 1px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 17px;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }


.slider {
    position: absolute;
    cursor: pointer;
    top: 1px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #222222;
    border: 1px solid;
    border-color: rgb(35 35 35);
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 10px;
        width: 10px;
        left: 2px;
        bottom: 2px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #717171;
}

input:focus + .slider {
    box-shadow: 0 0 1px #1343b4;
}

input:checked + .slider:before {
    -webkit-transform: translateX(13px);
    -ms-transform: translateX(13px);
    transform: translateX(13px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 17px;
}

    .slider.round:before {
        border-radius: 50%;
    }

select {
    background-color: #1a365900;
    color: #fff;
    border: 1px solid #6b6b6b;
    border-radius: 4px;
    padding: 2px;
    font-size: 12px;
    width: 88px;
}

    select::-ms-expand {
        display: none;
    }

    select::-webkit-outer-spin-button,
    select::-webkit-inner-spin-button {
        display: none;
    }

    select:focus {
        border-color: #007bff;
        box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    }

    select:hover {
        border-color: none;
        background-color: #ffffff00;
    }

    select option {
        background-color: #071124;
        color: #fff;
    }

    select:disabled {
        opacity: 0.5;
    }
