/* set this class to hide layers on pageload */
/* use your existing modifiers if you can */
.tiny-layer-hide {
    display: none;
}

.tiny-layer-item {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, .6);
    z-index: 10000;
    /* transition-duration required to properly fire transitionend event */
    transition: opacity 0.01s;
    opacity: 0;
}
.tiny-layer-item--visible {
    opacity: 1;
}

.tiny-layer-item__content {

   position: relative;
    min-width: 200px;
    margin: 15px;
    padding: 20px;
    height: 80%;
    overflow: scroll;
    overflow-x: hidden;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .25);
    background: #fff;
}
/*.tiny-layer-item__content img {max-width: 100%;margin: auto;text-align: center}*/
.tiny-layer-item__close {
    position: absolute;cursor: pointer;
    top: 15px;
    right: 20px;
    width: 20px;
    height: 20px;
    padding: 0;
    color: #333;
    font-size: 12px;
    background-color: #ebebeb;
    border: 0;
    background:url(../image/sub/popup_close.png)no-repeat;
    border-radius: 3px;
}
