﻿/*
Theme Name: Menu - Restaurace Česká
Theme URI: menu.restauraceceska.cz
Description: Šablona pro zobrazení menu na TV.
Author: Chsoft.cz
Author URI: https://chsoft.cz/
Version: 2.0
*/

@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i&display=swap&subset=latin-ext');

* {
    box-sizing: border-box;
}

html, body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    height: 100%;
}

p {
    margin-bottom: 0;
}

.row {
    margin-left: 0;
    margin-right: 0;
}

#menu {
    background: #d0a025;
    font-size: 16px;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
    height: 100%;
    display: flex;
    align-items: center;
}

.table-wrapper {
    box-shadow: 5px 0 15px #666666;
    margin-bottom: 50px;
}

.table-head {
    color: #ffffff;
    background-color: #990100;
    font-size: 22px;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
}

.table-items .cr-name {
    font-weight: 700;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
}

.table-items .cr-price {
    color: #990100;
    font-weight: 700;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
}

.table-items .row:nth-of-type(2n-1) .cr-name {
    background-color: #e5e5e5;
}

.table-items .row:nth-of-type(2n-1) .cr-price {
    background-color: #cbcbcb;
}

.table-items .row:nth-of-type(2n+0) .cr-name {
    background-color: #ffffff;
}

.table-items .row:nth-of-type(2n+0) .cr-price {
    background-color: #cbcbcb;
}

.cr-none p {
    text-decoration: line-through;
}

.cr-w-10 { width: 10%; }
.cr-w-20 { width: 20%; }
.cr-w-30 { width: 30%; }
.cr-w-40 { width: 40%; }
.cr-w-50 { width: 50%; }
.cr-w-60 { width: 60%; }
.cr-w-70 { width: 70%; }
.cr-w-80 { width: 80%; }
.cr-w-90 { width: 90%; }
.cr-w-100 { width: 100%; }

.cr-fw-light { font-weight: 300; }
.cr-fw-regular { font-weight: 400; }
.cr-fw-semi-bold { font-weight: 600; }
.cr-fw-bold { font-weight: 700; }
.cr-fw-extra-bold { font-weight: 800; }

.food-item {
    position: relative;
}

.food-desc, .food-price {
    position: absolute;
}

.food-img {
    max-height: 87%;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    top: 0;
    z-index: 2;
}

.food-desc {
    align-items: center;
    bottom: 20px;
    background-color: #990100;
    border-radius: 15px;
    display: flex;
    margin-left: 20px;
    margin-right: 20px;
    height: 70px;
    z-index: 1;
    width: calc(100% - 40px);
}
.food-desc p {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    padding: 20px 35px;
}

.food-price {
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    left: 20px;
    top: 20px;
    z-index: 1;
}

.food-none:before, .food-none:after {
    position: absolute;
    content: '';
    background: #dc0000;
    display: block;
    width: 10px;
    height: 300px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    left: 0;
    right: 0;
    top: 15px;
    margin: auto;
    z-index: 3;
}

.food-none:after {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

#main {
    background-color: #fff;
    height: 100vh;
}

#navigation a {
    text-decoration-color: #fff;
}

.navigation-item {
    box-shadow: 5px 0 15px #666666;
    margin-bottom: 20px;
    display: flex;
    flex-flow: column nowrap;
}

.navigation-item img {
    max-height: 38vh;
}

.navigation-item .navigation-item-title {
    color: #fff;
    background-color: #990100;
    font-size: 28px;
    font-weight: 700;
}

.vh-50 {
    height: 50vh;
}

.img-item {
    width: 100%;
    height: 50vh;
    background-image: url("./img/default-placeholder-full.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border: 1px solid black;
}

.left {
    background: grey;
}

.right {
    background: black;
}

.main-wrapper {
    background: #d0a025;
    height: 100vh;
}

.section {
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.section-half {
    height: 50%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.half {
    height: 100%;
    width: 50%;
}

.three-quarters {
    height: 100%;
    width: 75%;
}

.three-quarters.centered {
    height: 75%;
}

.section-text {
    align-items: center;
    background: #d0a025;
    display: flex;
    flex-direction: row;
    justify-content: center;
    min-height: 100%;
}

.text-block {
    background-color: #990100;
    box-shadow: 5px 0 15px #666666;
    padding: 10px;
    margin: 10px 0;
}

.text-block p {
    color: #ffffff;
    font-size: 22px;
}

.text-block p:not(:last-child) {
    margin-bottom: 25px;
}