﻿body {
}

.form__btn {
    background: #333;
    color: #fff;
    outline: none;
    border: none;
    padding: 5px;
    width: 100%;
    height: 50px;
    margin-top: 5px;
    /*    border-radius: 0.9rem;*/
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    box-sizing: content-box;
}


.maindiv {
    max-width: 500px;
}

.main {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    margin-top: 50px;
}

.inputsearch{
    font-size:20px;
    width: 100%;
}

/*@media (pointer:none), (pointer:coarse) {
    .form-active {
        width: unset !important;
        height: 100%;
        font-size: 30px;
    }

    * {
        font-size: xx-large;
    }

    #country, #continent {
        font-size: 50px;
    }

    .divpopisek {
        font-size: large;
        width: unset !important;
    }

    .divpopisek2 {
        font-size: small;
    }

    .divpopisek3 {
        font-size: xx-large !important;
    }

    .divhead {
        margin-left: 20px;
    }

    .step--1,
    .step--2,
    .step--3,
    .step--4,
    .step--5 {
        width: unset;
        padding-left: 20px;
        padding-right: 20px;
        width: 100%;
    }


    .stepper {
        width: 100%;
    }

    #frm1, #frm2, #frm3, #frm5 {
        width: 100% !important;
    }

    #frm4 {
        width: unset !important;
    }

    .form__btn {
        height: 100px !important;
    }

    .images {
        height: 240px !important;
    }

    .images2 {
        width: 100%;
        max-width: 178px;
    }

    #frm2, #frm5 {*/
        /*    padding-left:50px;
    padding-right:50px;*/
        /*width: 100% !important;
        max-width: unset !important;
    }

    .disgrid {
        grid-template-columns: repeat(auto-fill, 250px) !important;
    }

    .item1pc {
        width: 100% !important;
    }

    .grid-containerPC {
        grid-template-areas:
            'pc pc pc'
            'middle middle middle'
            'image files files' !important;
        margin-bottom: 80px !important;
    }

    .filegrid {
        justify-content: space-between !important;
    }

    .boxesdiv {
        width: 100%;
    }
}*/


.row {
    display: -ms-flexbox; /* IE10 */
    display: flex;
    -ms-flex-wrap: wrap; /* IE10 */
    flex-wrap: wrap;
    padding: 0 4px;
    width:100%;
}

/* Create four equal columns that sits next to each other */
.column {
    -ms-flex: 25%; /* IE10 */
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
}

    .column img {
        margin-top: 8px;
        vertical-align: middle;
        width: 100%;
    }

@media screen and (max-width: 1620px) {
    .column {
        -ms-flex: calc(100%/3);
        flex: calc(100%/3);
        max-width: calc(100%/3);
    }

    .row {
        width: 100%;
    }

    #frm1, #frm2, #frm3, #frm5 {
        max-width: 100% !important;
    }
    #frm2 {
        width: 400px !important;
    }
}
/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 1400px) {
    .column {
        -ms-flex: 50%;
        flex: 50%;
        max-width: 50%;
    }
    .row {
        width: 100%;
    }

    #frm1, #frm2, #frm3, #frm5 {
        max-width: 100% !important;
    }
    #frm2 {
        width: 400px !important;
    }
}



/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 800px) {
    .column {
        -ms-flex: 100%;
        flex: 100%;
        max-width: 100%;
    }

    .row {
        width: 100%;
    }

    #frm1, #frm2, #frm3, #frm5 {
        max-width: 100% !important;
    }

    #frm2 {
        width: 400px !important;
    }
}

@media (pointer:none), (pointer:coarse) {
    #frm1, #frm2, #frm3, #frm5 {
        max-width: 100% !important;
    }
    .row {
        width: 100%;
    }

    .column {
        -ms-flex: 100%;
        flex: 100%;
        max-width: 100%;
    }

    .specdiv{
        font-size:30px !important;
    }
    #frm2{
        width: 100% !important;
    }
}

#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

    #myImg:hover {
        opacity: 0.7;
    }

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: hidden; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
    margin: auto;
    display: block;
    max-height: calc(100vh - 200px);
    max-width: calc(100vh - 200px);
    overflow-y: hidden;
}

/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation */
.modal-content, #caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0)
    }

    to {
        -webkit-transform: scale(1)
    }
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

    .close:hover,
    .close:focus {
        color: #bbb;
        text-decoration: none;
        cursor: pointer;
    }

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}


input:checked + label {
    background-color: black;
    color: white;
}


    input:checked + label:before {
        background-color: transparent;
        color: black;
    }







.loader {
    position: fixed;
    left: 49%;
    top: 46%;
    width: 100%;
    height: 100%;
    z-index: 9998;
    opacity: 0.8;
    background: 50% 50% no-repeat #fff;
    display: none;
    width:50px;
    height:auto;
}

.loader3 {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9998;
    opacity: 0.8;
    display: none;
    background: #fff;
}

.loader2 {
    position: fixed;
    width: 100%;
    height: 50px;
    top: 57%;
    left: 50%;
    margin-top: -25px;
    margin-left: -87px;
    z-index: 9998;
}





.containercat {
    column-count: 4;
    column-gap: 10px;
}

.item {
    margin-bottom: 5px;
    box-sizing: border-box;
    break-inside: avoid-column; /* Zabraňuje rozdělení obsahu mezi sloupce */
}

    .item img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 10px 10px 0px 0px;
    }

@media (max-width: 1620px) {
    /* Pro zmenšení na 3 sloupce */
    .containercat {
        column-count: 3;
    }
}

@media (max-width: 1100px) {
    /* Pro zmenšení na 2 sloupce */
    .containercat {
        column-count: 2;
    }
}

@media (max-width: 800px) {
    /* Pro zmenšení na 1 sloupec */
    .containercat {
        column-count: 1;
    }
}

