/*REZERVACE*/
.rez-second, .rez-vycep-nadpis{
    display:none;
}
.rez-second{
    max-width: 1000px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.rez-align-center, .rez-vycep-nadpis .nadpis-vycep{
    text-align: center;
}
/*date*/
.rez-date{
    display:grid;
    grid-template-columns:1fr 1fr;
    grid-gap:50px;
    justify-content: center;
    max-width: 1000px;
    width: 100%;
    margin:0  auto;
}
.rez-date-od, .rez-date-do{
    font-size: 1.2rem;
    display:grid;
    grid-template-columns: 50px 1fr;
    flex-direction: row;
    grid-gap:0;
    flex-wrap: nowrap;
    align-items: baseline;
}
/*vycep checkbox*/
.rez-vycep-all{
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(3, fit-content(200px));
    grid-template-rows: minmax(100px, 200px);
    position: relative;
}
.rez-vycep-single{
    display:flex;
    flex-direction: column;
    flex-wrap: nowrap;
    position: relative;
}
.rez-vycep-single img{
    opacity: 0.5;
    transition: opacity 400ms ease-out;
    width: 200px;
    height: auto;
    cursor: pointer;
}
.rez-vycep-single input[type=checkbox]{
    visibility: hidden;
}
.rez-check-number{
    border:1px solid var(--colorOrange);
    border-radius: 50%;
    position: absolute;
    padding: 1px 9px 0 10px;
    top:20px;
    left:20px;
}
.rez-vycep-all .rez-vycep-selected img{
    opacity: 1;
}
.rez-vycep-all .rez-vycep-selected .rez-check-number{
    opacity: 1;
}
.message-vycep{
    position: absolute;
    width: 100%;
    text-align: center;
}
/*rezervace*/
.rez-all-page .rez-second label{
    margin-bottom: 6px;
}
.rez-subtitle{
    font-style: italic;
    font-size: 0.9em;
}
.rez-contact{
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin: 10px 0;
}
.rez-username, .rez-email, .rez-phone, .rez-des, .rez-keg-num, .rez-keg-select{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}
/*KEG*/
.rez-keg{
    margin-top: 20px;
    margin-bottom: 20px;
}
.rez-keg-all{
    display:flex;
    flex-direction: column;
    flex-wrap: nowrap;
}
.rez-keg-single{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.rez-keg-select{
    margin-right: 20px;
}
.rez-keg-add, .rez-keg-delete{
    cursor: pointer;
    transition:color 400ms ease-out;
}
.rez-keg-add:hover, .rez-keg-delete:hover{
    color: var(--colorOrange);
}
/*souhlas*/
.rez-gdpr-op label{
    cursor: pointer;
}
.rez-gdpr-op input[type=radio]{
    vertical-align:text-top;
}
/*LOADER START*/
.rez-loader{
    padding: 20px 0 0 0;
    text-align: center;
}
.rez-loader > span{
    display: inline-block;
    background-color: var(--colorOrange);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    animation: jumps 0.6s infinite alternate;
}
.rez-loader > span:nth-child(2){
    background-color: var(--colorBlue);
    animation-delay: 0.2s;
}
.rez-loader > span:nth-child(3){
    animation-delay: 0.4s;
}
@keyframes jumps {
    to{
        transform: translate3d(0, -12px, 0);
    }
}
/*LOADER END*/
@media Screen and (max-width: 760px){
    .rez-date{
        display:flex;
        flex-direction: column;
        align-items: stretch;
    }
    .rez-date-do label{
        margin:0 20px 0 0;
    }
    .rez-vycep-all{
        grid-template-columns: repeat(2, fit-content(200px));
    }
    .rez-check-number{
        border:1px solid var(--colorOrange);
        border-radius: 50%;
        position: absolute;
        padding: 1px 9px 0 10px;
        top:0;
        left:0;
    }
}