/* 
###
BACKSTAGE 5.1 CSS > KIEK.JS CSS (lightweight jquery image viewer by Cybox) 
###
*/
#kiek {
    position: fixed;
    top: 10%;
    left: 0;
    width: 100%;
    height: 80%;
    box-sizing: border-box;
    z-index: 11;
    text-align:center;
    background-image: url('../../images/icons/loading.gif');
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size:32px 32px;
}
#kiek img {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -25%;
    margin-top: -25%;
    display: none;
    max-width:100%;
    max-height:100%;
    cursor: pointer;
}
#kiek iframe {
    z-index: 13;
}
#kiek-overlay {
    width: 100%;
    height: 100%;
    background: var(--background);
    position: fixed;
    left: 0;
    top: 0;
    opacity: 0.99;
    opacity: 1;
    z-index: 9;
    border-radius: 3px;
    cursor: pointer;
}
#kiek-close {
    position: fixed;
    z-index: 999999999999999;
    right: 45px;
    top: 40px;
    text-align: center;
    font-size: 16px;
    width: 60px;
    height: 60px;
    overflow: hidden;
    color: transparent;
    background-image: url('../../images/icons/close.svg');
    background-size: 30px 30px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    cursor:pointer;
    display: block
}
/*#kiek-close:hover {
    background-size: 35px 35px;
}*/
#kiek-close span.kiek-close {
    display: block;
    width: 60px;
    height: 60px;
}
#kiek-title {
    position: fixed;
    z-index: 99999999999;
    left: 0;
    bottom: 3.5%;
    width: 100%;
    text-align: center;
    font-size: 1em;
    cursor:pointer;
    pointer-events: none;
    display: none; /* i don't like this */
}
div#kiek-left,
div#kiek-right {
    position: fixed;
    height: 100%;
    top:0;
    z-index: 12;
    cursor:pointer;
    text-align: center;
    width: 150px;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
    background-size: 30px 30px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    color: transparent;
}
/*div#kiek-left:hover,
div#kiek-right:hover {
    background-size: 35px 35px;
}*/
div#kiek-left {
    left:0px;
    background-image: url('../../images/icons/arrow-kiek-left.svg');
}
div#kiek-right {
    right: 0px;
    background-image: url('../../images/icons/arrow-kiek-right.svg');
}
div#kiek-close span.kiek-close {
    cursor: pointer;
}


@media screen and (max-width: 1000px) {

    /* KIEK */
    #kiek-close,#kiek-close:hover {
        top: 5%;
        right: 0;
        width: 100%;
        background-size: 16px 16px;
    }
    #kiek-close span.kiek-close {
        width: 100%;
    }
    div#kiek-left,
    div#kiek-right,
    div#kiek-left:hover,
    div#kiek-right:hover{
        background-position: 50% 95%;
        width: 50px;
        background-size: 16px 16px;
    }

}