label.top-log {
    width: 100%;
    height: 1px;
    background: #d7d7da;
    margin-top: 20px;
    margin-bottom: 50px;
}

.middle-slider{
    padding: 5px;
}
.main-content{
    padding-top: 1em;
    padding-bottom: 5em;
    background: #f6f6f9;
}
.content-main{
    margin-top: 10em;
    margin-bottom: -11em;
}
/* gallery */
.gallery-demo {
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
}

.gallery-demo:hover {
    box-shadow: 0 12px 16px 0 rgba(0, 0, 0, .24), 0 17px 50px 0 rgba(215, 215, 215, 0.04);
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
}

.gallery-grid{
    padding: 0 13% 0 13%;
}

/* popup */
.popup-effect {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 0ms;
    visibility: hidden;
    opacity: 0;
    z-index: 99;
}

.popup-effect:target {
    visibility: visible;
    opacity: 1;
}

.pop {
    background: #fff;
    border-radius: 4px;
    width: 600px;
    position: relative;
    margin: 6em auto;
    padding: 0;
    z-index: 999;
    text-align: center;
}

.pop .close {
    position: absolute;
    top: 5px;
    right: 15px;
    transition: all 200ms;
    font-size: 50px;
    font-weight: bold;
    text-decoration: none;
    color: #a8380f;
}

.pop .close:hover {
    color: #FF5722;
}
/* //popup */
/* //gallery */

@media screen and (max-width: 685px) {
    .pop {
        width: auto;
        position: relative;
        padding: 0;
    }

    .pop .close {
        font-size: 50px;
        color: #a8380f;
    }

    .gallery-grid{
        padding: 0;
    }
}