﻿.mezera {
    padding-top: 10px;
}

.box1 {
    background-color: white;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 5px 10px rgb(128 128 128);
    padding: 10px 5px 5px 5px;
}

.box3 {
    background-color: white;
    width: 220px;
    height: 320px;
    box-sizing: border-box;
    box-shadow: 0 5px 10px rgb(128 128 128);
    padding: 10px;
    float: left;
    margin-left: 20px;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

.box2 {
    background-color: white;
    width: 100%;
    height: 100px;
    box-sizing: border-box;
    box-shadow: 0 5px 10px rgb(128 128 128);
    padding: 10px 5px 5px 5px;
}

.boxTlacitka {
    background-color: white;
    width: 100%;
    height: 70px;
    box-sizing: border-box;
    box-shadow: 0 5px 10px rgb(128 128 128);
    padding: 10px;
}

.box input {
    padding: 10px,0;
    margin-bottom: 30px;
    width: 100%;
}

.box div {
    position: relative;
}

    .box div label {
        position: absolute;
        top: 5px;
        left: 10px;
        pointer-events: none;
        color: #999;
        transition: .5s;
    }

.box input:focus ~ label,
.box input:not([value=""]) ~ label,
.box textarea:focus ~ label,
.box textarea:not([value=""]) ~ label {
    top: -18px;
    font-weight: bold;
    font-size: 1.1em;
    color: black;
    background-color: white;
    padding: 0 10px 0 10px;
}

.box input:invalid,
.box textarea:not(:valid):not([value=""]) {
    box-shadow: 0 0 0 0.2rem rgb(255 0 0);
}

.symbolKc:after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin: auto;
    content: "Kč";
    right: 37px;
}

.symbolKs:after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin: auto;
    content: "Ks";
    right: 37px;
}

.symbolKg:after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin: auto;
    content: "Kg";
    right: 37px;
}

.symbolcm:after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin: auto;
    content: "cm";
    right: 37px;
}

.TextM1 input, .TextM1 textarea, .TextM1 select {
    padding: 3px 10px 0 0;
    margin-bottom: 20px;
    margin-top: 10px;
    width: 100%;
}

.TextM1 div {
    position: relative;
    margin-left: 5px;
    margin-right: 5px;
}

    .TextM1 div label {
        position: absolute;
        left: 10px;
        pointer-events: none;
        transition: .5s;
        top: -15px;
        color: dodgerblue;
        font-size: 1em;
        background-color: white;
        padding: 0 10px 0 10px;
    }

.TextM1 input:invalid,
.TextM1 textarea:not(:valid) {
    box-shadow: 0 0 0 0.2rem rgb(255 0 0);
}

.radiobuttonObrazek {
    width: 30px;
    height: 30px;
    position: relative;
    top: 0px;
    left: 0px;
}


.TextM2 input, .TextM2 textarea, .TextM2 select {
    padding: 30px 0 0 0;
    margin-top: 30px;
    width: 100%;
}

.TextM2 div {
    position: relative;
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 9px;
}

    .TextM2 div label {
        position: absolute;
        left: 10px;
        pointer-events: none;
        transition: .5s;
        top: -19px;
        color: dodgerblue;
        font-size: 1em;
        opacity: 0.9;
        background-color: white;
        padding: 0 10px 0 10px;
    }



.file {
    width: 100%;
    height: 100px;
    background: #ebebeb;
    padding: 4px;
    border: 8px dashed dodgerblue;
    position: relative;
    cursor: pointer;
}

    .file::before {
        content: '';
        position: absolute;
        background: #ebebeb;
        font-size: 20px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        height: 100%;
    }

    .file::after {
        content: 'Vložte obrázek';
        position: absolute;
        color: dodgerblue;
        font-size: 20px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        border-color: dodgerblue;
    }

.dragover {
    border-color: red;
}

.waitImage {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 500px;
    margin-top: -250px; /* Half the height */
    margin-left: -250px; /* Half the width */
}

    .waitImage image {
        width: 100%;
        height: 100%;
    }