/*Galería*/
.deip-gallery-bg {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 1000000;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.deip-gallery-wrap {
    position: relative;
    background: #FFF;
    width: 90%;
    max-width: 1500px;
    border-radius: 15px;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    transition: all 0.3s linear;
    opacity: 0;
    transform: translateY(-15px);
    margin-top: 20px;
    margin-bottom: 20px;
}

.deip-gallery-wrap.deip-gallery-loaded {
    opacity: 1;
    transform: none;
}

.deip-gallery-column {
    width: 50%;
}

.deip-gallery-column-slider {
    justify-content: center;
    align-items: center;
}

.deip-gallery-column-slider img {
    margin: auto;
}

.deip-gallery-wrap .slick-slide {
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.deip-gallery-column-content {
    padding: 60px 25px;
    height: 100%;
    overflow-y: auto;
}

.deip-gallery-column-content {
    transition: all 0.3s linear;
}

.deip-gallery-wrap .slick-dotted.slick-slider {
    margin-bottom: 0;
}

.deip-gallery-wrap .slick-dotted.slick-slider .slick-dots {
    bottom: 0;
}

.deip-gallery-wrap .slick-prev {
    left: 10px;
    z-index: 1;
}

.deip-gallery-wrap .slick-next {
    right: 10px;
    z-index: 1;
}

.deip-gallery-wrap p.deip-gallery-content-title {
    padding-bottom: 1em;
    font-size: 22px;
    color: #000000;
    line-height: 1.5em;
}

.deip-gallery-wrap .slick-prev, .deip-gallery-wrap .slick-next {
    width: 30px;
    height: 30px;
    border-radius: 100%;
    transition: all .3s ease-in-out;
    background: #c1c1c1;
}

.deip-gallery-wrap .slick-prev:hover, .deip-gallery-wrap .slick-prev:focus, 
.deip-gallery-wrap .slick-next:hover, .deip-gallery-wrap .slick-next:focus {
    background: #c1c1c1;
}

.deip-gallery-wrap .slick-dots li button:before {
    color: #c1c1c1;
    opacity: 1 !important;
}

.deip-gallery-wrap .slick-dots li {
    opacity: 0.4;
}

.deip-gallery-wrap .slick-dots li.slick-active {
    opacity: 1;
}

.deip-gallery-wrap .slick-prev:before {
    font-family: ETmodules !important;
    speak: none;
    font-style: normal;
    font-weight: 400;
    content: "4";
    font-size: 30px;
    transform: translateY(-1px);
    opacity: 1;
}

.deip-gallery-wrap .slick-next:before {
    font-family: ETmodules !important;
    speak: none;
    font-style: normal;
    font-weight: 400;
    content: "5";
    font-size: 30px;
    transform: translateY(-1px);
    opacity: 1;
}

.deip-gallery-close {
    position: absolute;
    right: 15px;
    top: 15px;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    opacity: .5;
    color: #FFF;
}
.deip-gallery-close:hover {
    opacity: 1;
}
.deip-gallery-close:before {
    font-family: ETmodules !important;
    speak: none;
    font-style: normal;
    font-weight: 400;
    content: "\E051";
    font-size: 25px;
}

.deip-fixed-body {
    margin-right: 15px; 
    overflow: hidden;
}

.deip-gallery-wrap ol, .deip-gallery-wrap ul {
    list-style: initial;
    margin-left: 20px;
}

.deip-gallery-wrap .slick-track.no-before-after:before, .deip-gallery-wrap .slick-track.no-before-after:after {
    display: none !important;
}

@media(max-width: 980px) {
    .deip-gallery-column {
        width: 100%;
    }

    .deip-gallery-bg {
        overflow-y: auto;
    }

    .deip-gallery-wrap {
        width: 85%;
        margin-top: 25px;
        margin-bottom: 25px;
    }
}

@media (max-width: 767px) {
    .deip-gallery-column-content {
        min-height: 500px;
    }
}

@media (max-width: 600px) {
    .deip-gallery-close {
        top: 10px;
        right: 10px;
        font-size: 20px;
    }

    .deip-gallery-wrap {
        margin-top: 35px;
    }
}