/*color: f00*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    font-family: Trebuchet MS;
}


/* width */

::-webkit-scrollbar {
    width: 10px;
}


/* Track */

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}


/* Handle */

::-webkit-scrollbar-thumb {
    background: grey;
    border-radius: 10px;
}


/* Handle on hover */

::-webkit-scrollbar-thumb:hover {
    background: #444444;
}

.tables {
    overflow: auto;
}

#categories-wr,
#cart-indicator,
#searchform {
    position: relative;
    text-align: center;
}
#search-indicator {
    font-weight: bold !important;
}

html,
body {
    overflow-y: hidden;
    font-family: Trebuchet MS;
}

.user-info-panel {
    margin-left: 8%;
    margin-right: 8%;
    margin-top: 50%;
    margin-bottom: 20%;
}

.user-info-title {
    margin: 0;
    margin-bottom: 30px;
    padding: 0;
    padding-left: 20px;
    padding-right: 20px;
    border: 0;
    font-size: 200%;
    vertical-align: baseline;
    font-family: 'Trebuchet MS';
}

.user-info-subtitle {
    margin: 0;
    margin-bottom: 30px;
    padding: 0;
    padding-left: 20px;
    padding-right: 20px;
    border: 0;
    font-size: 200%;
    vertical-align: baseline;
    font-family: 'Trebuchet MS';
}

.error {
    color: red;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

input,
button {
    -webkit-appearance: none;
    border-radius: 0;
    border-width: 0;
    background-color: #fff;
}

@font-face {
    font-family: 'bookman';
    src: url('../font/bookman.woff') format("woff");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'bookman';
    src: url('../font/bookman_bold.woff') format("woff");
    font-weight: bold;
    font-style: normal;
}

#contentContainer {
    width: 100%;
    height: 1920px;
    margin: 0;
    overflow: hidden;
}

#Moving {
    /*Test*/
    position: relative;
    /*width: auto;*/
    height: 351px;
    top: 0px;
    opacity: 0;
    margin-right: 10px;
    margin-left: 10px;
    /*transition: top .5s ease-in;*/
}

#click-me {
    top: 500px;
    display: block;
    position: absolute;
    right: 250px;
    z-index: 12;
}


/* SPINNER */

.spinner {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -15px;
    margin-left: -15px;
    z-index: -100
}

.double-bounce1,
.double-bounce2 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #bbb;
    opacity: .6;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-animation: sk-bounce 2.0s infinite ease-in-out;
    animation: sk-bounce 2.0s infinite ease-in-out
}

.double-bounce2 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s
}

@-webkit-keyframes sk-bounce {
    0%,
    100% {
        -webkit-transform: scale(0.0)
    }
    50% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes sk-bounce {
    0%,
    100% {
        transform: scale(0.0);
        -webkit-transform: scale(0.0)
    }
    50% {
        transform: scale(1.0);
        -webkit-transform: scale(1.0)
    }
}

#load-mask {
    position: fixed;
    top: 0;
    width: 538px;
    height: 100%;
    z-index: 1000;
    display: none;
}

#load-mask .spinner {
    opacity: 0;
}

.load-block #load-mask {
    display: block;
}

.load-active #load-mask {
    background-color: rgba(255, 255, 255, .4);
}

.load-active #load-mask .spinner {
    opacity: 1;
}

html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

html,
body {
    width: 100%;
    position: relative;
    font-family: bookman, Times, serif;
    font-weight: normal;
    font-size: 14px;
    color: #777;
    height: 100%;
}

input,
textarea,
button {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

input:disabled,
.disabled {
    opacity: 0.5;
    cursor: pointer;
}

small {
    font-size: 12px;
}

a,
a:link,
a:hover,
a:focus,
a:active {
    color: #e60000;
    text-decoration: none;
}


/* BUTTONS */

.btn {
    background: none;
    border: 0;
    color: #fff;
    font: inherit;
    overflow: hidden;
    display: inline-block;
    text-decoration: none;
    border-radius: 5px;
    min-width: 150px;
    cursor: pointer;
    border-radius: 0;
    text-align: center;
    border: 1px solid #aaa;
    color: #888;
    height: 75px;
}

.btn.btn-outline {
    border: 2px solid #10365d;
    background-color: transparent;
    color: #646c72;
}

#arrow-left {
    width: 50px;
}

#arrow-right {
    width: 50px;
}


/* MODAL */

.modal {
    position: fixed;
    z-index: 900;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .5);
    display: none;
}

.modal-wr {
    width: 500px;
    max-width: 100%;
    background-color: #fff;
    top: 20%;
    position: absolute;
    left: 50%;
    margin-left: -250px;
    border-radius: 10px;
    padding: 30px;
    font-size: 20px;
}

.modal-btns {
    padding-top: 40px;
}

.modal-btns ul {
    width: 100%;
    text-align: center;
}

.modal-btns ul li {
    width: 200px;
    display: inline-block;
    padding: 0 10px;
    height: 60px;
    margin-bottom: 10px;
    display: none;
}

.modal-btns .btn {
    width: 100%;
}

.modal-btns .btn:disabled {
    color: #ccc;
    background-color: #f4f4f4;
    cursor: default;
}

@media (max-width:600px) {
    .modal-wr {
        margin-left: 0;
        left: 10px;
        width: calc(100% - 20px)
    }
}

.modal.showing {
    display: block;
    border: 1px solid #aaa;
    margin: 0 auto;
    position: absolute;
    left: 0px;
    margin-left: 0px;
    height: 100%;
    width: 100%;
    animation: modalshowing .2s ease-out;
    -webkit-animation: modalshowing .2s ease-out;
}

.modal.showing:after {
    content: '';
    display: block;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    height: 70px;
    position: absolute;
}

.modal.showing .modal-wr {
    animation: modalwrshowing .12s ease-in;
    -webkit-animation: modalwrshowing .12s ease-in;
}

.modal .text-input {
    margin-top: 15px;
}

@keyframes modalshowing {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalwrshowing {
    from {
        transform: scale(0.75, 0.75);
    }
    to {
        transform: scale(1, 1);
    }
}

#wrapper {
    width: 100%;
    position: relative;
    height: calc(100% - 65px);
    padding-left: 10px;
    padding-right: 10px;
    transition: all .3s ease 0s;
    top: 10px !important;
}

#header {
    position: relative;
    z-index: 10;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(255, 255, 255, 1);
    -moz-box-shadow: 0px 0px 5px 0px rgba(255, 255, 255, 1);
    box-shadow: 0px 0px 5px 0px rgba(255, 255, 255, 1);
    overflow: hidden;
    padding-bottom: 0px;
    background-color: white;
    height: 75px;
}

#search-box {
    width: 40%;
    float: right;
    padding-right: 10px;
    margin-top: 10px;
    margin-right: 10px;
    border: 1px solid black;
}

#start-msg {
    display: block;
    padding-top: 150px;
    font-size: 35px;
}

#click-me-picto {
    width: 200px;
    height: 280px;
}

#lang-box {
    float: right;
    width: 50px;
    padding-top: 12px;
    margin-right: 40px;
}

#lang-flag-de {
    display: none;
    width: 80px;
}

#lang-flag-en {
    display: block;
    width: 80px;
}

#flag-de {
    width: 100%;
}

#flag-en {
    width: 100%;
}

#cart-box {
    width: 150px;
    float: right;
    text-align: right;
    padding: 10px;
}

#logo-box {
    width: 49%;
    float: left;
}

#logo-box span {
    color: white;
    font-size: 50px;
    margin-left: 20px;
    margin-top: 10px;
    display: block;
}

#closedetails,
#searchclose {
    position: absolute;
    font-size: 80px;
    color: #000;
}


/* SEARCH */

#search {
    padding-top: calc(100% - 725px/2);
}

#search-indicator,
#searchfield-wr {
    height: 65px;
    display: block;
    border: 0;
    margin-top: 10px;
    color: #888;
    background-color: #fff;
    text-align: center;
    vertical-align: top;
}

#search-indicator {
    /* padding-top: 10px!important; */
    text-align: left;
    padding-left: 10px;
    height: 40px;
    font-size: 30px;
}

#searchfield-wr {
    width: 50%;
    display: inline-block;
    border: 1px solid #aaa;
    margin-top: 0;
}

#searchsubmit {
    width: 16%;
    display: inline-block;
    vertical-align: top;
    font-size: 40px;
}

#searchfield {
    width: 100%;
    height: 75px;
    border-width: 0;
    font-size: 40px;
}

#searchclose {
    top: 20px;
    right: 50px;
}

#cart-indicator {
    height: 35px;
    color: #888;
    padding: 10px;
    padding-top: 10px;
    padding-right: 10px;
    padding-left: 10px;
    border: 2px solid #10365d;
    display: block;
    width: 100%;
    /*margin-top:10px;*/
    margin-right: 10px;
    margin-left: auto;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: #fff;
}


/* CODE */

#codeinput {
    font-size: 40px;
    text-align: center;
    width: 200px;
    margin-top: 500px;
    margin-bottom: 20px;
    border: 1px solid #000;
    margin-left: calc(50% - 100px);
}

#codeclose {
    position: absolute;
    font-size: 80px;
    top: 0px;
    right: 20px;
    color: #000;
}


/* KEYBOARD */

.keyboard {
    margin-top: 20px;
    position: relative;
}

.keyboard-row {
    margin-bottom: 5px;
    text-align: center;
}

.keyboard-button {
    color: #000;
    background-color: #fff;
    border: 1px solid #aaa;
    width: 55px;
    padding: 12px;
    margin-left: 3px;
    margin-right: 5px;
    cursor: pointer;
    transition: background-color 0.1s;
    font-size: 40px;
}

.keyboard-button:active,
.keyboard-button.active {
    background-color: #ddd;
}

.keyboard-button.ok {
    width: 85px;
}

.keyboard-button.bksp {
    width: 100px;
}

.keyboard-button.space {
    width: 50%;
}

.panel {
    height: 100%;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #fff;
    width: 100%;
    z-index: 100;
    font-size: 25px;
}

#start {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #fff;
    z-index: 200;
    width: 100%;
    height: 100%;
}

#start-msg {
    display: none;
}

#thank-you {
    text-align: center;
}


/* MAIN CONTENT (CATEGORIES, PRODUCTS) */

#default {
    height: 100%;
}

#content {
    width: 100%;
    position: relative;
    height: calc(100% - 75px)/* 75px is height of header */
}

#content #content-overview {
    position: absolute;
    width: 100%;
    height: 98%;
}

#categories {
    position: absolute;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    overflow-y: auto;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

#content-overview:after {
    content: '';
    display: block;
    position: absolute;
    top: 100%;
    margin-top: -10px;
    width: 139px;
    height: 10px;
    background: url(../img/grad-x.png) repeat-x;
    opacity: 0.5;
}

#products {
    position: absolute;
    top: 0;
    right: 0;
    width: calc(100% - 280px);
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    overflow-x: auto;
}

#products.no-result {
    display: block;
    padding: 20px;
}

#products .product {
    position: relative;
    display: block;
    width: 50%;
    height: 50%;
    font-weight: bold;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

#products .product.no-quanity {
    display: none;
}

#products .product.no-quanity .img {
    opacity: 0.4;
}

#products .product.no-quanity:after {
    content: 'ausverkauft';
    font-size: 15px;
    font-weight: bold;
    position: absolute;
    width: 100%;
    text-align: center;
    top: 40px;
    left: 0;
    color: #000;
    background-color: rgba(255, 255, 255, .75);
    display: block;
    padding: 5px;
}

#products .product .img {
    width: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    height: calc(100% - 200px);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

#products .product .title {
    padding-left: 10px;
    padding-right: 10px;
    font-weight: normal;
    color: #000;
    font-size: 22px;
    overflow: hidden;
    margin-top: 50px;
}

#products .product .price {
    padding-top: 30px;
    padding-left: 10px;
    padding-right: 10px;
    font-weight: bold;
    color: #000;
    font-size: 30px;
    display: block;
    text-align: right;
}

#product-price {
    font-weight: bold;
    color: #000;
    font-size: 30px;
}

#navigation {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    /* width: calc(100% - 140px); */
    /* 140 = width of nav */
    text-align: center;
    padding-top: 10px;
}

#nav-box {
    margin-left: 24%;
}

#pickup-box {
    position: absolute;
    bottom: 22px;
    padding-left: 14px;
}

#pickup-box > a {
    font-size: 30px;
    background-color: #A42422;
    color: #fff;
    padding: 20px;
}

#pickup-input {
    border: 1px solid #A42422;
    height: 55px;
    margin-top: 10px;
    color: #444;
    background-color: #eee;
}

#submit-code {
    background-color: #A42422;
    color: #fff;
    padding: 14px;
}

#cancel-code {
    border: 1px solid black;
    padding: 14px;
}

#categories .category {
    display: block;
    vertical-align: top;
    border-top: 1px solid #ddd;
    padding: 20px;
    padding-right: 0px;
    color: #888;
    text-align: left;
    position: relative;
    word-wrap: break-word;
    font-size: 25px;
    height: 75px;
}

#categories .active-category {
    background-color: #A42422;
    color: #fff;
    height: 75px;
}

#navigation .btn {
    border: 1px solid #A42422;
    background-color: #A42422;
}

::-webkit-scrollbar {
    display: none
}


/* DETAILS */

#details {
    padding-left: 10px;
    padding-right: 10px;
}

#closedetails {
    top: 10px;
    right: 30px;
    font-size: 70px;
}

#product-image {
    margin-left: 40px;
    width: 500px;
    height: 500px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    margin-bottom: 20px;
}

#product-title {
    color: #000;
    font-size: 35px;
    margin-bottom: 20px;
    margin-top: 50px;
    margin-left: 40px;
}

#product-description {
    line-height: 1.5;
    width: 60%;
    font-size: 25px;
    margin-left: 40px;
}

#product-buy-wr {
    position: absolute;
    top: 300px;
    right: 50px;
    font-size: 30px;
}

#product-buy {
    color: #fff;
    background-color: #A42422;
    border-width: 0;
    font-size: 30px;
    height: auto;
    padding: 20px 40px;
}

#product-buy-disabled {
    color: #fff;
    background-color: #9E9E9E;
    border-width: 0;
    font-size: 30px;
    height: auto;
    padding: 20px 40px;
}

#product-sold-out {
    color: #000;
}

#start-logo {
    background-color: #A42422;
    color: white;
    width: 350px;
    height: 100px;
    font-size: 50px;
    margin: 0 auto;
    padding: 25px;
    font-weight: bold;
}


/* INFORM USER */

#inform-user {
    background-color: white;
    display: none;
    position: absolute;
    width: 460px;
    height: 400px;
    left: 30px;
    top: 100px;
    padding-left: 20px;
    padding-top: 160px;
    border: black solid;
}

#snackbar {
    background-color: white;
    visibility: hidden;
    text-align: center;
    border: 2px solid #A42422;
    padding: 16px;
    position: fixed;
    left: 5%;
    right: 5%;
    bottom: 30px;
}

#snackbar.show {
    visibility: visible;
}
