/*
 * Vanilla modal (assets/js/lib/modal.js) replacing the former jQuery lightbox plugin.
 * Variant specific rules (.sky-modal.talia_open, .karta_open, .black) live in aplikacja.css.
 */
.sky-modal
{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2147483647;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0);
    cursor: pointer;
    opacity: 0;
    transition: opacity .25s ease, background .25s ease;
}

.sky-modal.sky-modal-open
{
    opacity: 1;
    background: rgba(0, 0, 0, .8);
}

.sky-modal .sky-modal-content
{
    position: relative;
    text-align: left;
    display: inline-block;
    overflow: auto;
    padding: 25px 25px 0;
    border-bottom: 25px solid transparent;
    margin-left: 5%;
    margin-right: 5%;
    max-height: 95%;
    background: #fff;
    cursor: auto;
    white-space: normal;
}

.sky-modal .sky-modal-inner
{
    display: block;
}

.sky-modal .sky-modal-close
{
    position: absolute;
    z-index: 9999;
    top: 0;
    right: 0;
    line-height: 25px;
    width: 25px;
    cursor: pointer;
    text-align: center;
    font-family: Arial, sans-serif;
    background: rgba(255, 255, 255, .3);
    color: #000;
    border: 0;
    padding: 0;
}

body.sky-modal-active
{
    overflow: hidden;
}
