
/* BEGIN GALLERY INTRO */

.gallery_wrapper{
    width: 100%;
    background-color: #fff;
}

.gallery_wrapper .gallery_container{
    margin: 0px 5% 0px 5%;
    box-sizing: border-box;
}

.gallery_container .gallery_heading,
.heading{
    font: normal normal 100 42px/normal "Jura", Helvetica, Arial, sans-serif;
    text-align: center;
    opacity: .8;
    margin: 30px 0 10px 0;
}

.line_wrapper{
    text-align: center;
}

.line_wrapper .line{
    height: 3px;
    width: 80px;
    background-color: #025F92;
    display: inline-block;
    margin-bottom: 90px;
}

.gallery_container .gallery{
    box-sizing: border-box;
    width: 100%;
    margin: 0% 0% 15% 0%;
}

.gallery .gallery_details{
    padding: 30px 7% 50px 7%;
    background-color: #f7f7f7;
    opacity: .8;
    margin-bottom: 30px;
}

.gallery_details .gallery_heading{
    font: normal normal 100 42px/normal "Jura", Helvetica, Arial, sans-serif;
    text-align: left;
}

.gallery_details .gallery_info{
    line-height: 2.0em;
    font-size: 14px;
    font-family: "Jura", Helvetica, Arial, sans-serif;
}


/* END GALLERY INTRO */


/* BEGIN GALLERY ITEMS */

.gallery .item{
    width: 25%;
    float: left;
    box-sizing: border-box;
    cursor: pointer;
    height: 250px;
    overflow: hidden;
    margin-bottom: 20px;
}

.item .image_container{
    width: 90%;
    margin: 10px 5%;
    transition: all .5s ease-in-out;
}
.item:hover .image_container{
    transform: rotate(-5deg);
}

.item .image_container img{
    width: 100%;
    height: auto;
}


@media screen and (max-width:768px){
    .gallery .item{
        width:100%;
        height: auto;
    }
}

/* END GALLERY ITEMS */


/* BEGIN POP UP IMAGE */

.class_wrapper{
    transition: all .5s ease-in-out;
    filter: grayscale(0%);
}

.class_wrapper.blur{
    filter: grayscale(100%);
}

.pop_up_image{
    position: fixed;
    top: 50%;
    left: 50%;
    height: 80vh;
    transform: translate(-50%,-50%);
    transition: all .5s ease-in-out;
    box-sizing: border-box;
}

.pop_up_image .image_container{
    width: 100%;
    height: 100%;
}

.pop_up_image .image_container img{
    width: auto;
    height: 100%;
    animation: changeheight 1s linear forwards;
}


@keyframes changeheight{
    0%{
        height: 0;
    }

    100%{
        height: 100%;
        border: 10px solid #fff;
        box-shadow: 5px 2px 3px #000;
    }
}

@media screen and (max-width:768px){
    .pop_up_image{
        width: 90vw;
        height: auto;
    }

    .pop_up_image .image_container img{
        width: 100%;
        height: auto;
        animation: changeheight 1s linear forwards;
    }

@keyframes changeheight{
    0%{
        width: 0;
    }

    100%{
        width: 100%;
    }
}
}

/* END POP UP IMAGE */