
/*---HEADER---*/
.header{
    height: 55px;
    width: 100%;
    float: left;
    top: 0px;
}
h1{
    color: black;
    text-align: center;
}

/*--HEADER CENTER---*/


/*---CENTER---*/

.center{
    width: 100%;
    float: right;
    background-color: #F9ECE9;
}

/*---CONTENT---*/
.akce{
    color: red;
    font-weight: 700 !important;
}
#ouLabel{
    line-height: 20px;
}
#ouP{
    line-height: 40px;
}
p{
    padding: 0px 10px 0px 10px;
}

.product{
    width: 100%;
    min-height: 200px;
    float: left;
    margin-bottom: 50px;
}

.product span{
    font-weight: 600;
}
.photo{
    width: 31%;
    display: inline-block;
    padding: 0;
    margin: 10px 0px 0px 10px;
    background-color: #ededed;
    position: relative;
    z-index: 1;
}
.tag_pic{
    width: 47%
}
.photo1{
    width: 30.7%;
    text-align: center;
    border: 2px black solid;
    background-color: #fafafa;
}
.photo1 p{
    margin: 0px;
    margin-top: 10px;
}
.photo2:hover{
    background-color: gray;
}
@media screen and (max-width: 600px) {
    .photo{
        width: 29%;
    }
}
@media screen and (max-width: 600px) {
    .photo1{
        width: 28%;
    }
}
.photo p{
    display: block;
    text-align: center;
}
.photo img{
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: contain;
    position: relative;
    z-index: 2;
}
.photo1 img{
    width: 90%;
}
.mat{
    display: none;
    position: absolute;
    background-color: gray;
    width: 100%;
    height: 100%;
    z-index: 998;
    opacity: 90%;
}
.photo:hover .mat{
    display: block;
}
.mat p{
    position: relative;
    margin: auto;
    top: 30%;
    color: white;
    font-size: 30px;
    font-weight: 400;
}
.line{
    text-decoration: line-through;
    text-decoration-color: red;
    text-decoration-thickness: 1,3px;
}
.order{
    float: left;
    width: 100%;
}
#form{
    width: 55%;
}
.form{
    width: 50%;
    margin: auto;
    height: auto;
}
@media screen and (max-width: 600px) {
    .order{
        margin: 0;
        margin-left: 5px;
    }
    .form{
        float: left;
    }
    .form h2{
        margin-left: 9px;
    }
}
.popup_suc, .popup_dis{
    width: 20%;
}

.textarea{
    font-family: 'Arial';
}

/*---FOOTER---*/

.footer{
    float: left;
    height: 300px;
    width: 100%;
    background-color: azure;
}
.footer p{
    text-align: center;
}
body{
    z-index: 1;
}
#photo-container{
    display: flex;
    height: 100%;
    width: 100%;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
}

@media screen and (max-width: 600px){
    #photo-wrapper{
        width: 90%;     
    }
}
#photo-wrapper{
    width: 50%;   
    position: relative;
}
@media screen and (max-width: 600px){
    #photo-wrapper{
        width: 90%;     
    }
}
#photo-wrapper img{
    height: 100%;
    width: 100%;        
    border-radius: 1%;
}
#close-photo{
    color: black;
    font-size: 24px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    border: none;
    position: absolute;
    top: 10px;
    right: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    background: white;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}
#close-photo:hover{
    transform: scale(1.1);
    background: rgb(222, 218, 218);
    color: blue;
}



/* -------------  */
.photo_b{
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    margin: 0;
    width: 100vw;
    height: 100vh;
    text-align: center;
    overflow: auto; 
    background-color: rgba(0, 0, 0, 0.8);
}
.photo_b img{
    margin-top: 5%;
    width: 30%;
    height: auto;
}
@media screen and (max-width: 600px){
    .photo_b{
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .photo_b img{
        width: 80%;
    }
}
.fa-times-thin:before {
	content: '\00d7';
    color: white;
    font-size: 50px;
    position: relative;
    top: 0;
}
img, .close{
    display: inline-block;
}

.close{
    top: 0;
    position: relative;
    align-self: self-start;
    cursor: pointer;
}
.imgs_pre{
    padding-left: 10px;
    width: 80%;
    text-align: center;
}
.img_pre{
    width: 30%;
    cursor: pointer;
}
a{
    text-decoration: none;
}
.sklad{
    color: #5FF100;
}
#price{
    color: #1DB954 ;
    font-weight: 700;
    font-size: 25px;
}
.product_top{
    width: 100%;
    float: left;
}
.popis{
    float: right;
}