#euv-background{
    position: fixed;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9995;
    display: none;
}

#euv-window{
    width: 100%;
    max-width: 1000px;
    background: #fff;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #FFF;
    align-items: center;
    justify-content: center;
    font-family: "Roboto Condensed", sans-serif;
    z-index: 9996;
    border-radius: 3px;
    display: none;
}

#euv-window .save{
    width: 180px;
    font-size: 14px;
    text-transform: uppercase;
    background-color: #439846;
    margin: 0 auto;
    display: block;
    color: #FFF;
    text-align: center;
    text-decoration: none;
    margin-top: 40px;
    margin-bottom: 40px;
    border-radius: 3px;
    padding: 10px 0;
}

#euv-window .success{
    text-align: center;
    font-size: 26px;
    color: #008000;
    padding: 80px 0;
    font-weight: bold;
    text-transform: uppercase;
}

#euv-window .save:hover{
    background-color: #4DAF50;
}



/* PRODUCT */

#euv-window .product{
    display: flex;
    margin: 40px 40px 0 40px;
}

#euv-window .product .img{
}

#euv-window .product .img img{
    width: 300px;
    border: 3px solid #DADADA;
    margin: 0 40px 0 0;
}

#euv-window .product .data{
    flex-grow: 1;
}

#euv-window .product .data label{
    display: block;
    margin: 0;
}

#euv-window .product .data input{
    margin: 0 0 10px 0;
}

#euv-window .product .data input[type="text"]{
    width: 100%;
    border: none;
    background-color: #EBEBEB;
    padding: 5px 10px;
    margin: 3px 0 10px 0;
}


/* IMG FIELDS */

#euv-window .img-fields{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0 0 0;
}

#euv-window .img-fields .photo{
    position: relative;
    display: block;
    height: 94px;
    background-color: #DADADA;
    flex-basis: 100px;
    flex-grow: 0;
    flex-shrink: 0;
    border: 2px solid #0066cc;
}

#euv-window .img-fields .photo img{
    width: 90px;
    height: 90px;
    object-fit: cover;
}

#euv-window .img-fields .edit{
    padding: 5px;
    background-color: #0066CC;
    color: #FFF;
    text-decoration: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#euv-window .img-fields .edit:hover{
    background-color: #1b8dff;
    color: #FFF;
    text-decoration: none;
}



/* CROPPIE OVERLAY */



#euv-co-background{
    position: fixed;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9997;
    display: none;
}

#euv-co-window{
    width: 100%;
    max-width: 600px;
    background: #fff;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #FFF;
    align-items: center;
    justify-content: center;
    font-family: "Roboto Condensed", sans-serif;
    z-index: 9998;
    border-radius: 3px;
    padding: 20px;
    display: none;
}

.croppie-loading-gif{
    position: absolute;
    top: 190px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
}

#croppieWorkspace{
    width: 100%;
    height: 400px;
}

/* bind */

#euv-co-window .bind{
    margin: 40px 0 0 0;
}

#euv-co-window .bind .nadpis{
    font-weight: bold;
    margin: 10px 0 0 0;
}

#euv-co-window .bind .nothing{
    padding: 5px 0 5px 20px;
}

#euv-co-window .bind a{
    text-decoration: underline;
    display: block;
    padding: 5px 0 5px 20px;
}

#euv-co-window .bind a:hover{
    text-decoration: none;
    display: block;
    padding: 5px 0 5px 20px;
}

#euv-co-window .bind input[type="file"]{
    margin: 5px 0 20px 20px; 
}

/* controls */

#euv-co-window .controls{
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0 0 0;
}

#euv-co-window .controls .button{
    width: 120px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    border-radius: 3px;
    font-size: 14px;
    color: #FFF;
    text-decoration: none;
    padding: 10px 15px;
}

#euv-co-window .controls .button:hover{
    color: #FFF;
    text-decoration: none;
    opacity: 0.8;
}


#euv-co-window .controls #croppie-cancel{
    background-color: #CC0000;
}

#euv-co-window .controls #croppie-save{
    background-color: #008000;
}
/* Keep the print editor and cropper above the order search dialog. */
#euv-background { z-index: 12100; }
#euv-window { z-index: 12101; }
#euv-co-background { z-index: 12102; }
#euv-co-window { z-index: 12103; }
