
/************************************
* Hlavni CSS styly pro modalni okno
*************************************/
.modal, .modal-image {
    z-index: 300;
    display: none;
    position: fixed;
    left: 0;
    top: 0px;
    width: 100%;
    height: calc(100% - 35px);
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.6);
}

.modal-image-image {
    width: 800px;
    box-shadow: 0px 0px 12px white;
}

.modal-content, .modal-content-image, #modal-content-image-html {
    margin: auto;
    background-color: #000;
    position: relative;
    padding: 10px;
    height: 100%;
    outline: 0;
    color: white;
}

.modal-container, .modal-panel {
    padding: 0.01em 16px;
}

.modal-btn, .modal-button {
    border: none;
    display: inline-block;
    padding: 8px 16px;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background-color: inherit;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    font-size: 2.5rem;
    z-index: 999;
}

.modal-display-topright {
    position: absolute;
    background-color: transparent;
    right: 20px;
    top: 22px;
}


/******************************
* CSS styly pro mobil
*******************************/
@media only screen and (max-width: 1024px) {
    .modal, .modal-image {
        width: 100%;
        height: 100%;
    }
    .modal-image-image {
        width: 100%;
    }
    .modal-content, .modal-content-image {
        padding: 1px;
    }
    .modal-display-topright {
        position: absolute;
        right: 10px;
        top: 15px;
    }
}