@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700');

/*!
 *  Font Awesome 4.5.0 by @davegandy - http://fontawesome.io - @fontawesome
 *  License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
 */
@font-face {
  font-family: "FontAwesome";
  src: url("fonts/fontawesome/webfonts/fontawesome-webfont.woff2") format("woff2"), url("fonts/fontawesome/webfonts/fontawesome-webfont.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -moz-tap-highlight-color: rgba(0, 0, 0, 0);
}

html,
body {
    overflow: hidden;
    height: 100%;
    width: 100%;
    position: fixed;
} 

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #f5f6f6;
}

::backdrop {
    background-color: #f5f6f6;
}

.overlay {
    height: 100%;
    width: 100%;
    background-color: rgba(0,0,0,.5);
    z-index: 9;
    opacity: 0;
    transition: .5s;
    position: absolute;
}

.overlay-start {
    transition: .25s;
}

.overlay-box-area {
    font-size: 32px;
    width: 67%;
    right: 0;
    top: 50%;
    color: #fff;
    text-align: center;
    position: absolute;
}

.overlay-box {
    color: #fff;
    font-size: 18px;
    font-weight: normal;
    width: 50%;
    background-color: #000;
    padding: 10px 20px;
    margin: 0 20px;
    box-shadow: 5px 5px 50px rgba(0,0,0,.15);
}

.overlay-start .overlay-box-area {
    top: 40%;
}

.overlay-color {
    padding-top: 20px;
    padding-bottom: 20px;
}

.start-timer {
    font-size: 60px;
    color: #fff;
}

section {
    height: 100%;
    overflow: hidden;
}

/* options */

.section-options {
    height: 100%;
    width: 100%;
    background-color: rgba(0,0,0,.5);
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
    transition: .25s;
    opacity: 0;
}

.options-area {
    padding: 50px;
    background-color: #333;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    transform: scale(1.05) translateY(3%);
    transition: .25s;
    border-radius: 10px;
    margin-top: 20px;
}

.options-area h1 {
    font-size: 26px;
}

.options-area .input-area {
    margin: 10px 20px 15px 0;
}

.options-area .input-area p {
    font-size: 16px;
    margin-bottom: 5px;
}

.options-area input {
    width: 100px;
    height: 33px;
    font-size: 16px;
    background-color: transparent;
    border: 1px solid #fff;
    border-radius: 5px;
    color: #fff;
    padding: 5px;
}

.options-area .button {
    background-color: #888;
    margin-top: 25px;
    transition: .25s;
    box-shadow: 0 5px 0 rgba(0,0,0,.5);
}

.options-area .button:hover {
    background-color: #666;
}

.options-area .button:active {
    background-color: #555;
    box-shadow: 0 0 0 rgba(0,0,0,.5);
    transform: translateY(5px);
}

.options-area .info {
    border: 1px solid #fff;
    padding: 8px;
    border-radius: 5px;
    font-size: 12px;
    margin-top: 5px;
}

.options-area h1 span {
    text-decoration: line-through;
}

.blur {
    filter: blur(5px);
}

/* START header */

header {
    background-color: #0a2433;
    border-top: 3px solid #099e2e;
    overflow: hidden;
}

.header {
    display: table;
}

.header-left, .wrapper-left {
    min-width: 350px;
    display: table-cell;
}

.header-right, .wrapper-right {
    width: 100%;
    display: table-cell;
    vertical-align: top;

}

.wrapper-left {
    border-right: 1px solid #ddd;
    position: relative;
}

.header-top, .header-bottom {
    height: 44px;
    position: relative;
}

.header-right .header-bottom {
    border-bottom: 3px solid #1493be;
}

.header-icon-layer {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.header-text {
    color: #fff;
    font-size: 18px;
    text-align: center;
    width: 100%;
}

.header-top .header-text {
    padding-top: 12px;
}

.header-text-low {
    padding-top: 14px;
    font-size: 14px;
}

.header-icon {
    font-family: FontAwesome;
    font-size: 1.7em;
    line-height: 35px;
    color: #fff;
    width: 40px;
    height: 38px;
    margin: 6px;
}

.header-icon-home:before {
    content: "\f015";
}

.header-icon-plus:before {
    content: "\f067";
}

.header-icon-plus, .header-icon-minus {
    margin: 5px auto 0;
    font-size: 1.4em;
}

.header-icon-minus:before {
    content: "\f068";
    font-size: 1.2em;
}

.header-icon-table:before {
    content: "\f0ce";
}

.header-icon-print:before {
    content: "\f02f";
    color: #099e2e;
}

.header-icon-returnbooking:before {
    content: "\f05c";
}

.header-icon-settings {
    float: right;
}

.header-icon-remove {
    margin-left: 15px;
}

.header-left .button-icon {
    width: 50%;
    height: 100%;
    display: inline-block;
    text-align: center;
}

.header-left .button-add {
    border-bottom: 3px solid #099e2e;
}

.header-left .button-remove {
    border-bottom: 3px solid #da6060;
    float: left;
}

/* END header */

/* START content */

.wrapper {
    display: table;
    clear: both;
    height: calc(100% - 90px);
}

.wrapper-left .content {
    padding: 10px;
    height: calc(100% - 119px);
    position: relative;
    overflow: hidden;
}

.wrapper-right .content {
    font-size: 0;
    margin: 5px;
    height: calc(100% - 61px);
    position: relative;
    overflow: scroll;
}

.wrapper-right canvas {
    height: 100%;
    width: 100%;
}

#content-product {
    height: 100%;
    width: 100%;
}

.content-text-area {
    width: 100%;
    height: 100%;
    text-align: center;
    position: relative;
    color: #353535;
}

.intro-area {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    text-align: center;
    z-index: 2;
    padding: 0 120px;
}

.highscore-headline {
    font-size: 28px;
    margin-bottom: 10px;
}

.game-over {
    font-size: 36px;
    font-weight: 800;
    color: #353535;
    text-align: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    padding: 0px 25px;
}

.game-over-text {
    color: #0a2433;
    font-size: 40px;
    margin: 10px 0 20px;
}

.game-over-info {
    font-size: 18px;
    font-weight: normal;
    color: #999;
}

.game-over-info strong {
    color: #0a2433;
}

.game-over-image {
    background-size: contain;
    background-repeat: no-repeat;
    width: 150px;
    height: 180px;
    margin: 0 auto 10px;
}

.game-over-image-good {
    background-image: url(images/r2o_illustration_good_90305.png);
}
.game-over-image-bad {
    background-image: url(images/r2o_illustration_bad_90305.png);
}

.intro-headline {
    font-size: 34px;
    font-weight: 600;
    color: #0a2433;
    margin-bottom: 10px;
}

.intro-text {
    font-size: 19px;
    font-weight: 600;
    color: #999;
    margin-bottom: 20px;
}

.intro-text-lower {
    font-size: 17px;
    color: #1493be;
    padding: 20px 0;
    cursor: pointer;
}

.intro-text span {
    font-size: 15px;
    font-weight: 400;
}

.basket-text-wrapper {
    position: absolute;
    top: 45%;
    left: 0;
    right: 0;
}

.basket-text-empty {
    font-size: 20px;
    font-weight: 600;
    color: #999;
}

.basket-text-empty-subtitle {
    color: #1493be;
    font-size: 17px;
    padding: 20px 0;
}

.basket-text-empty-subtitle span:before {
    content: "\f097";
    font-family: FontAwesome;
}

.basket-text-amount-subtitle {
    font-size: 16px;
}

.basket-text-amount {
    font-size: 34px;
    display: inline-block;
}

.current-score-text {
    margin-top: 20px;
}

.current-score-big-color {
    color: #099e2e!important;
    transition: 0s!important;
}

.current-score-big {
    font-size: 34px;
    display: inline-block;
    margin-left: 10px;
    transition: 2s;
    color: inherit;
}

.highscore-list-area, .current-score-list-area {
    margin-bottom: 20px;
    list-style-type: none
}

.highscore-list, .current-score-list {
    position: relative;
    height: 47px;
    margin-bottom: 2px;
}

.highscore-list, .current-score-list div {
    position: absolute;
    left: 0;
    transition: .25s;
    background-color: #fff;
    border-radius: 3px;
    box-shadow: 1px 1px 3px 0 rgba(50, 50, 50, 0.5);
    border: 1px solid #fff;
    width: 100%;
    height: 47px;
}

.current-score-list .preAnimation {
    left: -100px;
    opacity: 0;
}

.highscore-list p, .current-score-list p {
    display: inline-block;
    font-size: 17px;
    font-weight: 600;
    color: #0a2433;
    padding: 11px 10px 0 10px;
}

.highscore-list p, .current-score-list .current-score {
    font-weight: 300;
}

.highscore-position span {
    font-size: 14px;
    font-weight: normal;
    margin-left: 5px;
}

.highscore-position {
    float: left;
    font-weight: bold;
}

.highscore-name, .current-score-name {
    float: left;
    font-weight: bold;
}

.highscore-points, .current-score {
    float: right;
}

.alltime-highscore-list-color .highscore-list {
    border-color: #daa520!important;
}

.button-icon:before {
    font-family: FontAwesome;
    font-size: 14px;
    color: #fff;
    margin-right: 5px
}

.button-discount {
    background-color: #da6060;
}

.button-discount:active {
    background-color: #b25151;
}

.button-icon-discount:before {
    content: "\f02b";
}

.button-customers {
    background-color: #1493be;
}

.button-customers:active {
    background-color: #136f91;
}

.button-icon-customers:before {
    content: "\f0c0";
}

.button-options {
    background-color: #099e2e;
}

.button-options:active {
    background-color: #097d21;
}

.button-icon-options:before {
    content: "\f15c";
}

.footer {
    position: absolute;
    width: 100%;
    bottom: 4px;
}

.mainbutton {
    height: 50px;
    width: 100%;
    background-color: #099e2e;
    padding-top: 10px;
    cursor: pointer;
}

.mainbutton p {
    letter-spacing: 2px;
    color: #fff;
    text-align: center;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: bold;
}

.mainbutton:active {
    background-color: #097d21;
}

.content-button-area {
    font-size: 0;
    margin: 0 3px;
}

.button-area {
    width: 33.33%;
    display: inline-block;
    padding: 0 2px;
    margin: 10px 0;
}

.button {
    padding: 15px 10px;
    display: inline-block;
    border-radius: 5px;
    text-align: center;
    font-size: 13px;
    color: #fff;
    width: 100%;
    cursor: pointer;
    box-shadow: 1px 1px 3px 0 rgba(50, 50, 50, 0.5);
}

.product-box-area {
    width: 33.33%;
    display: inline-block;
}

.product-box {
    display: block;
    margin: 3px;
    height: 100px;
    text-align: center;
    background-color: #fff;
    border-radius: 5px;
    position: relative;
    box-shadow: 1px 1px 3px 0 rgba(50, 50, 50, 0.5);
    transition: .4s;
}

.product-button {
    position: absolute;
    width: 50%;
    top: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(20, 147, 190, 0.3);
    border-radius: 0 5px 5px 0;
}

.product-text-area {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
}

.product-text {
    font-size: 21px;
    color: #0a2433;
}

.product-price {
    font-size: 14px;
    color: #0a2433;
}

.tab-area {
    display: table;
    width: 100%;
    height: 100%;
}

.tab {
    display: table-cell;
    text-align: center;
    border-right: 1px solid #ddd;
    border-top: 1px solid #ddd;
    padding-top: 13px;
    transition: .15s;
    width: 25%;
    cursor: pointer;
}

.tab p {
    font-size: 17.4px;
}

.tab-active {
    background-color: #0a2433;
    color: #fff;
}

.hide {
    display: none;
}

.fadeOut {
    opacity: 0;
}

/* Border Left */
.wide-img .image-area {
    width: 50%;
    background-color: #fff;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.wide-img .product-text-area {
    left: 50%;
}

.wide-img.scoreElement .product-box {
    border-left-width: 15px;
    border-left-style: solid;
}

.wide-img .product-text {
    font-size: 16px;
}

.product-text {
    word-break: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

.image-area {
    width: 25%;
    height:100%;
    background-size: 90%;
    background-position: center;
    background-repeat: no-repeat;
    border-right: 1px solid #ebebeb;
}

/* outline */
.specialElement .product-box {
    border-color: transparent;
    border-width: 3px;
    border-style: solid;
}

.narrow-img .product-text-area {
    left: 25%;
}

.narrow-img .product-text {
    padding: 0 10px;
    line-height: 1.2;
}

/* border-bottom */
.borderMode2.specialElement .product-box {
    border-bottom-color: transparent;
    border-bottom-width: 6px;
    border-bottom-style: solid;
}

.borderMode2 .product-text-area {
    left: 25%;
}

.borderMode2 .product-text {
    padding: 0 10px;
    line-height: 1.2;
}

/* dot color */
.product-dot.specialElement .product-text {
    word-break: break-all;
}

.product-dot.specialElement .product-text-dot {
    height: 18px;
    width: 18px;
    border-radius: 10px;
    display: inline-block;
    vertical-align: -1px;
    margin-right: 7px;
}

.product-dot .product-box {
    border-width: 0px;
}

.logo {
    /*background: url(favicons/r2o-game-app-icon_x152.png) no-repeat;*/
    background: url(r2o-game-app-icon.png) no-repeat;
    background-size: contain;
    height: 76px;
    width: 76px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,.1);
}

.content-logo {
    width: 100px;
    height: 100px;
    border-radius: 30px;
    /*filter: brightness(0.96);*/
    box-shadow: none;
    opacity: .6;
    /*filter: grayscale(100%) brightness(0.96);*/
    margin-bottom: 20px;
}

.boot-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #c9cac9;
    z-index: 10;
    transition: opacity .33s;
}

.boot-overlay-area {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: auto;
}

.boot-logo {
    background: url(favicons/r2o-game-app-icon_x152.png) no-repeat;
    background-size: contain;
    height: 150px;
    width: 150px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 35px;
}

.boot-text {
    color: #fff;
    font-size: 30px;
    text-align: center;
}

@media (max-width:900px) {
    .product-text {
        font-size: 16px;
    }
    .product-price {
        font-size: 12px;
    }
}

@media (max-width:730px) {
    .device-overlay {
        display: block!important;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 99;
        background-color: #105c79;
        color: #fff;
    }
    .device-overlay-area {
        top: 50%;
        position: absolute;
        transform: translateY(-50%);
        left: 0;
        right: 0;
    }
    .device-overlay h1 {
        margin: 0 20px;
        text-align: center;
        font-size: 38px;
        font-weight: bold;
    }
    .device-overlay p {
        margin: 10px 20px 0;
        text-align: center;
        font-size: 16px;
        font-weight: normal;
    }
    .sad-logo {
        background: url(http://rfenz13.grafik.graphische.net/ready2order/POS-Game/r2o-sad.png) no-repeat;
        background-size: contain;
        height: 100px;
        width: 100px;
        margin-bottom: 15px;
        margin-left: auto;
        margin-right: auto;
    }
}