
/* áttetsző háttér */
.picslider_dimmer {
    position: fixed;
    width: 100%;
    height: 100%;
    outline: 1000px solid rgba(0,0,0,0.75); /* touchmove miatt kell, néha elhúzza fel a dimmert */
    left: 0;
    top: 0;
    background: rgba(0,0,0,0.75);
    display: none;
    align-items: center; /* flexbox */
    justify-content: center; /* flexbox */
    touch-action: pinch-zoom; /* csak a zoomolást és a kétujjas mozgatást engedi */
    z-index: 65534;
    -webkit-tap-highlight-color: transparent;

    box-sizing: border-box !important;
}

/* --- loader --- */
.picslider_loader {
    font-family: Verdana;
    font-size: 12px;
    width: 80px;
    text-align: center;
    margin: 0 auto;
    padding: 4px;
    background: rgba(0,0,0,0.75);
    color: silver;
    cursor: pointer;
}


/* --- az ablak --- */
.picslider_cont {
    margin: 0;
    border: 6px solid white;
    border-radius: 4px;
    position: relative;
    background: white;
    box-sizing: border-box;
}


/* kép */
.picslider_kep {
    background-color: gray;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}
.picslider_kep.clickable {
    cursor: pointer;
}
.picslider_kep .picslider_loader {
    opacity: 0.8;
}


/* jobbra-balra nyilak a képen */
.picslider_left,
.picslider_right {
    display: table;
    position: absolute;
    width: 30%;
    height: 100%;
    top: 0;
    padding: 10px;

    cursor: pointer;
    color: white;
    opacity: 0.6;
    transition: opacity 0.5s;

    font-weight: bold;
    font-size: 100px;
    line-height: 100px;
    text-shadow: 2px 2px rgba(0,0,0,0.25);
}
.picslider_left {
    left: 0;
    text-align: left;
}
.picslider_right {
    right: 0;
    text-align: right;
}

.picslider_left > div,
.picslider_right > div {
    display: table-cell;
    vertical-align: middle;
}

.picslider_left > div > div,
.picslider_right > div > div {
    height: 100px;
    position: relative;
    top: -15px; /* a karakter nincs tökéletesen a sor közepén */
}

.picslider_left:hover,
.picslider_right:hover {
    opacity: 0.9;
    transition: opacity 0.5s;
}


/* caption */
.picslider_caption {
    padding-top: 6px;
    white-space: nowrap;
}

.picslider_caption * {
    overflow: hidden;
    text-overflow: ellipsis;
}


/* bezárás gomb */
.picslider_close {
    position: absolute;
    right: -16px;
    top: -16px;
    width: 30px;
    height: 30px;
    background: transparent url(imgs/close30.png);
    cursor: pointer;
}


/* csak nem-mobil stílusok */
@media all and (min-width: 620px) {
    .transition_size {
        transition: width 0.4s, height 0.4s;
    }
    .transition_size_bg {
        transition: width 0.4s, height 0.4s, background-image 0.4s;
    }

}


/* csak Mozilla Firefox */
@-moz-document url-prefix() {

    /* Firefox nem támogatja a backround transitiont, ezért letiltunk minden transitiont */
    .transition_size {
        transition: none;
    }
    .transition_size_bg {
        transition: none;
    }
}

/* csak Edge */
@supports (-ms-ime-align: auto) {
    /* Edge nem támogatja a backround transitiont, ezért letiltunk minden transitiont */
    .transition_size {
        transition: none;
    }
    .transition_size_bg {
        transition: none;
    }
}

