﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification\ 
for details on configuring this project to bundle and minify static web assets. */
body {
    padding: 0px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* QR code generator */
#qrCode {
    margin: 15px;
}

.active {
    display: block !important;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

.shopitem {
    float: left;
    width: 150px;
    margin: 20px;
    border-radius: 10px;
    padding: 6px;
    cursor: pointer;
}

@media screen and (max-width: 450px) {
    .shopitem {
        float: left;
        width: 120px;
        margin: 20px;
        border-radius: 10px;
        padding: 6px;
        cursor: pointer;
    }
}

.shopoffer {
    background-color: #FFD433 !important;
    color: #000;
}

#categories > .shopitem {
    background-color: #6c757d !important;
}

.shopnotification {
    float: left;
    width: 340px;
    margin: 20px;
    background-color: #648dae;
    border-radius: 10px;
    padding: 6px;
    cursor: pointer;
    min-height: 367px;
    bottom: 0;
    position: relative;
}

.shopnotification p {
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
}

.useritem {
    float: left;
    width: 130px;
    margin: 14px;
    background-color: #999;
    border-radius: 10px;
    padding: 6px;
    cursor: pointer;
    color: white;
    font-size: 18px;
    text-decoration: none;
}

.btn-success a, .btn-primary a, .btn-danger a, .btn-gold a, .btn-secondary a {
    text-decoration: none;
}

.useritem-blocked {
    background-color: #111;
}

.pinitem {
    cursor: pointer;
    width: 120px;
    height: 120px;
    line-height: 120px;
    border-radius: 50%;
    text-align: center;
    font-size: 40px;
    background-color: #999;
    vertical-align: middle;
    margin: 10px 0;
}

.pinitemtext {
    cursor: pointer;
    width: 120px;
    height: 120px;
    line-height: 120px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    background-color: #999;
    vertical-align: middle;
    margin: 10px 0;
}

.cartitem {
    float: left;
    margin: 4px;
    background-color: #eee;
    border-radius: 4px;
    padding: 4px;
    cursor: pointer;
    border: #fff solid;
    line-height: 40px;
    margin-bottom: 15px;
    color: #000;
}

.shadow {
    box-shadow: 0.2rem 0.2rem 0.7rem rgba(0,0,0,0.7) !important;
}

.cart {
    overflow-y: hidden;
    overflow-x: scroll;
    float: left;
    max-width: 545px;
    max-height: 70px;
    white-space: nowrap;
    display: flex;
}

    .cart::-webkit-scrollbar {
        display: none;
    }

.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    color: white;
    display: inline-block;
    padding: 10px;
}

.shopfooter {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    color: white;
    display: inline-block;
    vertical-align: middle;
    line-height: 70px;
    padding-left: 15px;
    padding-right: 15px;
    background-color: #787777;
}

.shopnav {
    margin: -16px -15px 0 -15px;
}

.UserCheckbox {
    transform: scale(1.5);
    width: 25px;
}

/***/

.container {
    padding-top: 16px;
    padding-left: 36px;
    padding-right: 36px;
    padding-bottom: 50px;
}

.btn-success, .btn-primary {
    border-color: #0C3161 /*#1c2e67*/ !important;
    background-color: #0C3161 /*#1c2e67*/ !important;
}

.btn-danger {
    background-color: #d32f2f !important;
    border-color: #d32f2f !important;
}

.btn-gold {
    background-color: #FFA500 !important;
    border-color: #FFA500 !important;
    color: #fff !important;
}

.pin-container {
    position: relative;
    font-family: monospace;
    font-size: 2.5rem;
    height: 2ch;
    display: flex;
    align-items: center;
}

.pin-input {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    padding: 0;
    letter-spacing: 1ch;
    -webkit-text-security: disc;
    -moz-text-security: disc;
    color: gray;
    padding-left: .25ch;
    height: 1.5ch;
    margin-bottom: .05ch;
    background: transparent;
    width: 8ch;
}

.pin-cell {
    position: absolute;
    top: 0;
    bottom: 0;
    outline: 2px solid lightgray;
    width: 1.5ch;
    z-index: -1;
}

/*Backend User Management*/
#userWrapper .headline {
    font-weight: 700;
    border-bottom: 1px solid #dadada;
    margin-bottom: 5px;
}

#userWrapper .content {
    padding: 2px;
    border-bottom: 1px solid #dadada;
}

    #userWrapper .content .name {
        font-weight: 600;
    }

#cart .closeIcon {
    display: none;
}

.hide {
    display: none;
}

.pagination {
    cursor: pointer;
}

.icon-inline {
    vertical-align: text-bottom;
}

.navbar-brand {
    padding-top: 0 !important;
    padding-bottom: 1px !important;
}

/*Responsive*/

@media screen and (min-width: 1000px) {
    #cartModalButton {
        display: none;
    }
}

@media screen and (max-width: 1000px) {
    #cartIcon {
        display: none;
    }

    #cart {
        display: none;
    }
}

@media only screen and (max-device-width: 1000px) {
    #userWrapper .meta {
        display: none;
    }
}

@media only screen and (max-device-width: 990px) {
    .footer {
        height: unset;
    }

    .header {
        height: unset;
    }

    #cart {
        display: none;
        max-height: unset;
    }

        #cart.active {
            display: block !important;
        }

    #cartIcon i {
        font-size: 30px;
    }

    #cart .closeIcon {
        top: 0px;
        position: absolute;
        right: 15px;
        top: -10px;
        display: block;
    }
}

.grey {
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    filter: grayscale(100%);
}

.white {
    color: #fff !important;
}
/***Anpassungen Darkmode***/



/*** Stats ***/

.ml9 {
    position: relative;
    font-weight: 200;
    font-size: 4em;
}

.ml9 .text-wrapper {
    position: relative;
    display: inline-block;
    padding-top: 0.2em;
    padding-right: 0.05em;
    padding-bottom: 0.1em;
    overflow: hidden;
}

.ml9 .letter {
    transform-origin: 50% 100%;
    display: inline-block;
    line-height: 1em;
}
