.wp-editor-area {
    max-height: 500px;
    overflow: auto;
}

#ajas_preview_content {
    padding-left: 10%;
    padding-top: 5%;
}

#preview_img {

    width: 80%;
    height: 90%;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    border-style: solid;
    border-width: 2px;
    display: none;
}

#preview_img:hover {
    opacity: 0.7;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 100px;
    left: 0%;
    top: 0;
    width: 100%;
    height:100%;
    overflow: auto;
    background-color: rgba(70, 70, 70, 0.7);
}

.modal-image {
    margin: auto;
    display: block;
    position:fixed;
    z-index: 1001;
    left:0;
    top:5%;
    right:0;
    overflow: auto;
    max-width: 90%;
    max-height: 90%;
    transition: transform 0.5s;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);

}

.modal-image.zoom-animation {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1)
}

.modal-image.zoomOut-animation {
    animation: zoomOut;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}

}

@-webkit-keyframes zoom {
    from {transform: scale(0)}
    to {transform: scale(1)}
}

@keyframes zoomOut {
    from {transform:scale(1)}
    to {transform:scale(0)}

}

@-webkit-keyframes zoomOut {
    from {transform: scale(1)}
    to {transform: scale(0)}
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-image {
        width: 70%;
        height: 70%
    }
}