:root {
    color-scheme: light only;
}

body {
    background-color: #7794b6;
    font-family: "Roboto",sans-serif;
}

.bg-merkur-blau {
    background-color: #022652;
}

.navbar {
    z-index: 1001;
    height: 55px;
}

#sidebar {
    background-color: rgba(0, 51, 115);
    bottom: 0;
    overflow: hidden;
    position: fixed;
    top: 0;
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    width: 250px;
    z-index: 1000;
}
.sidebar-inner {
    position: relative;
    height: 100%;
    padding-top: 55px;
}
#sidebar .nav .nav-link {
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: rgba(255, 255, 255, 0.1);
}
#sidebar .nav .nav-link:hover {
    background: #0d6efd;
}
#sidebar .nav .nav-link>i {
    margin-right: 10px;
}

#main-container {
    min-height: 100vh;
    padding: 4.5rem 1rem 1rem 16.5rem;
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

#overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1002;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}
.collapsed #overlay {
    display: block;
    opacity: 1;
}

@media screen and (max-width: 991px) {
    #sidebar {
        left: -250px;
        z-index: 1003;
    }
    .collapsed #sidebar {
        left: 0;
        width: 80%;
    }
    .sidebar-inner {
        padding-top: 0;
    }
    #main-container {
        padding-left: 1rem;
    }
}

@media screen and (min-width: 992px) {
    #overlay {
        display: none !important;
        opacity: 0;
    }
}

/*card styles*/
.card {
    border: 0;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 7%), 0 4px 6px -2px rgb(0 0 0 / 5%);
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border-radius: 0.5rem;
}
.card-footer {
    border-radius: 0 0 calc(0.5rem - 1px) calc(0.5rem - 1px);
    padding: 0.75rem 1.5rem;
}
.card.disabled {
    background-color: rgba(226, 229, 234, 0.6);
}
.card.card-button:hover {
    -webkit-box-shadow: 0 5px 11px 0 rgba(0,0,0,.18), 0 4px 15px 0 rgba(0,0,0,.15);
    box-shadow: 0 5px 11px 0 rgba(0,0,0,.18), 0 4px 15px 0 rgba(0,0,0,.15);
    outline: 0;
}
.card.card-button:not(:disabled) {
    cursor: pointer;
}
.card.card-button:not([disabled]):not(.disabled):active {
    -webkit-box-shadow: 0 5px 11px 0 rgba(0,0,0,.18), 0 4px 15px 0 rgba(0,0,0,.15);
    box-shadow: 0 5px 11px 0 rgba(0,0,0,.18), 0 4px 15px 0 rgba(0,0,0,.15);
    background-color: #ebebeb;
}
.card.card-button:not([disabled]):not(.disabled):active .card-footer.reservable {
    -webkit-box-shadow: 0 5px 11px 0 rgba(0,0,0,.18), 0 4px 15px 0 rgba(0,0,0,.15);
    box-shadow: 0 5px 11px 0 rgba(0,0,0,.18), 0 4px 15px 0 rgba(0,0,0,.15);
    background-color: #006228!important;
}

.card-profile {
    margin-top: 30px;
}
.card-profile .card-avatar {
    max-width: 100px;
    max-height: 100px;
    margin: -50px auto 0;
    border-radius: 50%;
    overflow: hidden;
}

/*device status backgrounds*/
.bg-free-device {
    background-color: #5cc60c;
}
.bg-unreachable {
    background-color: #9a959b;
}
.bg-played {
    background-color: #974b64;
}
.bg-pause {
    background-color: #ef9b1f;
}
.bg-reserved-for-you {
    background-color: #a2cdf1;
}

/*ribbon*/
.ribbon {
    width: 65px;
    height: 65px;
    overflow: hidden;
    position: absolute;
}
.ribbon::before,
.ribbon::after {
    position: absolute;
    z-index: -1;
    content: '';
    display: block;
    border: 4px solid #e5ad06;
}
.ribbon span {
    position: absolute;
    display: block;
    width: 125px;
    padding: 4px 0;
    background-color: #ffc107;
    box-shadow: 0 5px 10px rgba(0,0,0,.1);
    color: #fff;
    font: 700 15px/1 'Lato', sans-serif;
    text-shadow: 0 1px 1px rgba(0,0,0,.2);
    text-transform: uppercase;
    text-align: center;
}
.ribbon-top-right {
    top: -8px;
    right: -8px;
}
.ribbon-top-right::before,
.ribbon-top-right::after {
    border-top-color: transparent;
    border-right-color: transparent;
}
.ribbon-top-right::before {
    top: 0;
    left: 0;
}
.ribbon-top-right::after {
    bottom: 0;
    right: 0;
}
.ribbon-top-right span {
    left: -22px;
    top: 14px;
    transform: rotate(45deg);
}

.device-image-label {
    max-height: 50px;
}

.feature {
    max-height: 60px;
}

@media (max-width: 380px) {
    .feature {
        max-height: 50px;
    }
}

.form-check-input {
    border: 1px solid #000;
}
.deviceName {
    font-size: 30px;
}
.jackpotImage {
    height:150%;
    width: auto;
}

.game-image {
    -webkit-border-radius: 1em;
    -moz-border-radius: 1em;
    border-radius: 1em;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.6);
}

.text-overlay {
    color: black;
    font-weight: bold;
    font-size: 24px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.mtg-text {
    position: absolute;
    top: 0;
    left: 0;
    color: white;
    font-weight: bold;
    font-size: 22px;
    text-align: right;
    background: black;
    width: 50px;
    height: 35px;
    border-radius: 10px 0 0 0;
    border: 0;
    padding: 3px 5px 3px 5px;
}
.gameImageFilter {
    margin: 10px 0 0 0;
    padding: 3px 0 3px 3px;
    border-radius: 3px;
    outline: none;
    border-color: #9ecaed;
    box-shadow: 0 0 10px #9ecaed;
}
.filterImage {
    display: block;
    width: 50px;
    height: 50px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-border-radius: 99em;
    -moz-border-radius: 99em;
    border-radius: 99em;
    border: 2px solid #eee;
    box-shadow: 0 3px 2px rgba(0, 0, 0, 0.3);
    margin: 2px;
}
.gameNameLabel {
    font-weight: bold;
    text-shadow: #bdbcbc 1px 0 1px;
    font-size: 18px;
}
.fa-glow {
    text-shadow: 1px 1px 3px #4d4d4d;
}