body.overflow {
    overflow: hidden;
}
body.overflow .wrapper {
    padding-right: 15px;
}
.slider_row {
    position: relative;
    background-color: #ffffff;
    padding: 15px 0;
}
.img_el {
    height: 135px;
    position: relative;
    margin-bottom: 10px;
    overflow-y: hidden;
    background-color: #ffffff;
}
.img_el.preloader {
    /*background: url('/forum-photo/img/preloader2.gif') no-repeat center top;
    background-size: contain;
    position: absolute;
    z-index: 0;
    left: 43%;
    top: 15px;*/
}
.img_el img {
    width: 100%;
    height: auto;
}
.img_hover {
    background: rgba(54,178,155,0.9);
    position: absolute;
    z-index: 1;
    top: -5px;
    right: 10px;
    bottom: 0;
    left: 10px;
    padding: 15px 15px 15px 15px;
    opacity: 0;
    transition: 0.5s;
}
.img_el:hover .img_hover {
    opacity: 1;
}
.img_name {
    text-align: center;
}
.img_name span {
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    padding: 20px;
    border: 2px solid #ffffff;
    display: inline-block;
}
.div_download {
    text-align: center;
    margin-top: 15px;
}
.img_download {
    background: url('/forum-photo/img/download.png') no-repeat center center;
    display: inline-block;
    width: 25px;
    height: 25px;
    opacity: 0.75;
}
.img_download:hover {
    opacity: 1;
}
#img_popup {
    background: rgba(255,255,255,0.7);
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
}
.content-popup-image {
    position: absolute;
    left: 50%;
    top: 100px;
    margin-left: -300px;
}
.content-popup-wrap {
    box-shadow: 0 0 20px 2px #c7c7c7;
    width: 600px;
    background: #fff;
    overflow-y: auto;
    max-height: 80vh;
    /*-ms-overflow-style: none;
    scrollbar-width: none;
    scroll-margin-top: 20vh;*/
}
.content-popup-wrap::-webkit-scrollbar {
    /*width: 0;
    height: 0;*/
}
.content-popup-wrap img {
    width: 100%;
    height: auto;
}
.popup-close {
    display: block;
    width: 27px;
    height: 27px;
    position: absolute;
    top: -30px;
    right: -30px;
    cursor: pointer;
    text-indent: -9999px;
    background: url('/forum-photo/img/close2.png') no-repeat center center;
    background-size: contain;
}
.popup-left,
.popup-right {
    display: block;
    position: absolute;
    cursor: pointer;
    top: 45%;
    padding: 10px 15px;
}
.popup-left img,
.popup-right img {
    width: 20px;
    height: 35px;
}
.popup-left {
    left: -45px;
}
.popup-right {
    right: -45px;
}
.popup_download {
    text-align: center;
    display: table;
    width: 100%;
    padding-bottom: 10px;
}
.popup_download a {
    vertical-align: middle;
    margin: 10px 5px;
}
.popup_name {
    padding: 10px 0;
    text-align: center;
    font-weight: bold;
}
.pg__title {
    margin-top: 30px;
    margin-bottom: 20px;
}
select#library {
    margin: 20px auto;
    display: inline-block;
    padding: 10px 15px;
    border: 2px solid #36b29b;
    color: #115067;
}
select#library option {
    cursor: pointer;
}
@media (max-width:768px) {
    body.overflow .wrapper {
        padding-right: 0;
    }
    .img_el {
        height: auto;
        margin-bottom: 15px;
        padding: 0 50px;
    }
    .img_hover {
        opacity: 1;
        background: transparent;
        top: 0;
        right: 50px;
        bottom: 0;
        left: 50px;
    }
    .div_download {
        display: none;
    }
    .img_name span {
        border: 0;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        position: absolute;
        font-size: 0;
    }
    .content-popup-image {
        left: 0;
        top: 120px;
        margin-left: 0;
    }
    .popup-close {
        top: 90px;
        right: 15px;
        position: fixed;
        width: 40px;
        height: 40px;
        background-size: contain;
    }
    .popup-left, .popup-right {
        display: none;
    }
    .content-popup-wrap {
        width: 100%;
        max-height: 50vh;
    }
}
@media (max-width:1024px) and (orientation: landscape) {
    .img_el {
        height: auto;
        margin-bottom: 15px;
        padding: 0 50px;
    }
    .img_hover {
        opacity: 1;
        background: transparent;
        top: 0;
        right: 50px;
        bottom: 0;
        left: 50px;
    }
    .div_download {
        display: none;
    }
    .img_name span {
        border: 0;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        position: absolute;
        font-size: 0;
    }
    .popup-left, .popup-right {
        display: none;
    }
    .content-popup-wrap {
        width: 100%;
    }
    .content-popup-image {
        top: 55px;
        left: 0;
        margin-left: 0;
    }
    .popup-close {
        top: 25px;
        right: 25px;
    }
    #img_popup {
        overflow: scroll;
    }
}