        /* 
        Function: display larger photos hovering over the page, from specific container.
        Works with imgBox.js
        Version 1.2
        FanFanD Yun, Feb 2018
        
        Last edited 12:36 Apr 26
        */

.bkg_imgbox {
    position: fixed;
    top: 0px;
    left: 0px;
    background-color: rgba(0, 0, 0, .8);
    width: 100%;
    height: 100%;
    z-index: 1;
    cursor: zoom-out;
    -webkit-animation: opacity01 0.3s;
    animation: fade-in 0.3s;
}

.bkg_imgbox_l, .bkg_imgbox_r {
    position: fixed;
    top: 35%;
    bottom: 50%;
    cursor: pointer;
    width: 40%;
    height: 30%;
    z-index: 10;
}

.bkg_imgbox_l {
    float: left;
    left: 0;
}

.bkg_imgbox_r {
    float: right;
    right: 0;
}

/*arrow fade in & out*/

.bkg_imgbox_l div, .bkg_imgbox_r div {
    opacity: 0;
    transition: all 0.3s;
}

.bkg_imgbox_l:hover div, .bkg_imgbox_r:hover div {
    opacity: 1;
}


.bkg_btn_l, .bkg_btn_r {
    background-image: url(../img/cursor_pglr.png);
    width: 50px;
    height: 75px;
    z-index: 10;
    position: absolute;
    top: 42%;
}

.bkg_btn_l {
    left: 30px;
    background-position: 0 0;
}

.bkg_btn_r {
    right: 30px;
    background-position: 50px 0;
}

.imgbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 980px;
    margin: auto;
    text-align: center;
    /*border: solid #ffffff 5px;*/
    z-index: 5;
    box-shadow: 0 5px 40px 0 rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 5px 40px 0 rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0 5px 40px 0 rgba(0, 0, 0, 0.3);
    -webkit-animation: fade-in 0.3s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    animation: fade-in 0.3s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}

.close-me {
    -webkit-animation: fade-out 0.3s;
    animation: fade-out 0.3s;
}

@-webkit-keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-webkit-keyframes fade-out {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes fade-out {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@media only screen and (max-width: 1225px) {
    .imgbox {
        max-width: 80%;
    }
}