@CHARSET "UTF-8";

/*Modal image styles*/

/* The Modal (background) */
.modalimg-box {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 20px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(255,255,255); /* Fallback color */
    background-color: rgba(255,255,255,1);
}

/* Modal content (image) */
.modalimg-image {
    margin: auto;
    display: block;
    height: 90%;
}

/* Caption of modal image */
.modalimg-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 768px;
    text-align: center;
    color: #303030;
    padding: 10px 0;
}

/* Previous/next buttons */
.modalimg-nav {
    position: absolute;
    color: #c0c0c0;
    font-size: 40px;
    font-weight: bold;
    transition: 0.2s;
}
.modalimg-prev {
    top: 40%;
    left: 35px;
}
.modalimg-next {
    top: 40%;
    right: 35px;
    transition: 0.2s;
}
.modalimg-nav:hover,
.modalimg-nav:focus {
    color: #808080;
    text-decoration: none;
    cursor: pointer;
}

/* The Close Button */
.modalimg-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #c0c0c0;
    font-size: 40px;
    font-weight: bold;
    transition: 0.2s;
}

.modalimg-close:hover,
.modalimg-close:focus {
    color: #f08080;
    text-decoration: none;
    cursor: pointer;
}

/* Add Animation .modalimg-image, .modalimg-caption*/
/*
.modalimg-box {    
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.3s;
    animation-name: zoom;
    animation-duration: 0.3s;
}
*/

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

@keyframes zoom {
    from {transform:scale(.5); opacity: 0;} 
    to {transform:scale(1); opacity: 1;}
}

/* For smaller screens */
@media only screen and (max-width: 768px){
    /*.modalimg-image {
        width: 100%;
    }*/
    .modalimg-close {
        display: none;
    }
}