.col-md-3.col-diapo {
    padding: 0 5px 0 5px;
}
.single_image_gallery {
    height: 250px;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
}
.single_image_gallery:after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.2;
    -webkit-transition-duration:400ms;
         -o-transition-duration:400ms;
            transition-duration:400ms; 
}
.single_image_gallery p {
    position: absolute;
    bottom: 0;
    text-align: center;
    width: 100%;
    color: #fff;
    font-size: 14px;
    background: rgba(0,0,0,0.5);
    margin-bottom: 0;
}
.single_image_gallery:hover{
    cursor: pointer;
}
.single_image_gallery:hover:after {
    width: 100%;
}
.img_in_gallery {
    -o-object-fit: cover !important;
       object-fit: cover !important;
}

.modal_block .modal-content {
    background-color: transparent;
    border:none;
}
.modal_block .modal-dialog,
#slider_gallery .modal_block .modal-dialog{
    max-width: 100%;
}
.modal_block button.close,
#slider_gallery .modal_block button.close{
    color:red;
    font-size: 50px;
    position: absolute;
    right: 50px;
    top: 30px;
    text-shadow: none;
    z-index: 9999;
}
.modal_block .owl-carousel .owl-stage-outer,
.modal_block .owl-carousel .owl-stage,
.modal_block .owl-carousel.owl-drag .owl-item,
.modal_block .item {
    height: 90vh;
}
.modal_block .item{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}
.modal_block .owl-carousel .owl-item img {
    display: block;
    margin: auto;
    width: auto;
    height: 100%;
}
.modal_block .item p{
    width: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 111;
    position: absolute;
    text-align: center;
    color: white;
    letter-spacing: 1px;
    display: inline-block;
    margin:0;
}
.modal_block .owl-nav{
    opacity: 1;
}
.modal_block .owl-theme .owl-nav [class*='owl-'], 
.modal_block .owl-theme .owl-nav [class*='owl-']:hover{
    background-color: transparent;
}
.modal_block .owl-theme .owl-nav button:focus{
    outline: none;
}
.modal_block button.owl-prev span,
.modal_block button.owl-next span {
    -webkit-transition-duration: 400ms;
         -o-transition-duration: 400ms;
            transition-duration: 400ms;
    font-size: 110px;
    color: #fff;
}
@media only screen and (max-width: 768px) {
    .modal_block .owl-carousel .owl-item img {
        width: 100% !important;
        height: auto !important;
    }
    .owl-next {
        right: 10px;
    }
    .owl-prev {
        left: 10px;
    }
}

/*------------------------------------*\
    Owl theme
\*------------------------------------*/

/* -- dots -- */

.owl-theme .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    border-radius: 0px;
    background: transparent;
    -webkit-transition: 0.2s all;
    -o-transition: 0.2s all;
    transition: 0.2s all;
}
.owl-theme .owl-dots .owl-dot.active span {
    -webkit-transform: scale(2);
        -ms-transform: scale(2);
            transform: scale(2);
}

/* -- nav -- */

.owl-theme .owl-nav {
    opacity: 0;
    -webkit-transition: 0.2s opacity;
    -o-transition: 0.2s opacity;
    transition: 0.2s opacity;
}

.owl-theme:hover .owl-nav {
    opacity: 1;
}
.owl-theme .owl-nav [class*='owl-'] {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    border: none;
    color: #FFF;
    padding: 0px;
    width: 30px;
    height: 60px;
    line-height: 60px;
    border-radius:0;
    margin: 0;
}

.owl-theme .owl-prev {
    left: 0px;
}

.owl-theme .owl-next {
    right: 0px;
}

.owl-theme .owl-nav [class*='owl-']:hover {
    opacity: 0.8;
}
.owl-theme .owl-next {
    right: 0px;
}