/*mostras*/
.wrapper-gallery-cta {
    height: 416px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.wrapper-gallery-cta .element-gallery-cta {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    max-width: 70%;
    height: auto;
    padding: 32px 20px 32px;
    color: #fff;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.75);
}

.wrapper-gallery-cta .element-gallery-cta .element-cta-count {
    font-size: 18px;
}
.wrapper-gallery-cta .element-gallery-cta .element-cta-title {
    font-size: 18px;
    display: block;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 5px;
}

.wrapper-gallery-cta .element-cover + img {
    position: absolute;
    width: 100%;
    height: 100%;
    /*top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);*/
    transition: 0.3s ease;
}
.wrapper-gallery-cta:hover .element-cover + img {
    transform: scale(1.1) translate(-45%, -45%);
    filter: blur(1px);
}

#wrapper-gallery-modal {
    padding-top: 60px;
    animation-duration: 0.35s;
    animation-fill-mode: both;
    animation-name: slideOut;
    background: #fff;
    height: auto;
    opacity: 0;
    position: fixed;
    visibility: hidden;
    width: 100%;
    z-index: 9999999;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
#wrapper-gallery-modal.visible {
    animation-name: slideIn;
    opacity: 1;
    top: 0;
    visibility: visible;
}

#wrapper-gallery-modal ::-webkit-scrollbar {
    width: 5px;
}
#wrapper-gallery-modal ::-webkit-scrollbar-thumb:vertical {
    margin: 3px;
    background-color: #999;
    -webkit-border-radius: 3px;
    margin-left: 10px;
}
#wrapper-gallery-modal ::-webkit-scrollbar-button:end:increment,
#wrapper-gallery-modal ::-webkit-scrollbar-button:start:decrement {
    height: 5px;
    display: block;
}

#wrapper-gallery-modal .brand {
    display: none;
}
#wrapper-gallery-modal .wrapper-gallery:not(.visible) {
    display: none;
}

.wrapper-gallery-legend {
    display: none;
}

.wrapper-sidebar-icons {
    position: relative;
}
.element-icon {
    text-align: center;
    width: 40px;
    height: 40px;
    border: 1px solid black;
    padding: 2px 0;
    margin-bottom: 14px;
    cursor: pointer;
}
.element-icon .material-icons {
    display: inline-block !important;
    font-size: 34px;
}
.element-icon.element-icon-close {
    position: absolute;
    right: 0;
    top: 0;
}

.element-icon.active {
    border-color: #f58479;
}
.element-icon.active .material-icons {
    color: #f58479;
}

.container-gallery {
    max-width: 1060px;
    margin: -162px auto 0;
    display: flex;
    justify-content: left;
}

.wrapper-gallery .item {
    min-width: 732px;
}

.wrapper-gallery-sidebar {
    width: 300px;
    margin-left: 39px;
    display: none;
}

.wrapper-gallery.gallery-slider {
    width: 100%;
    position: relative;
}
.wrapper-gallery.gallery-slider img {
    width: 100%;
    max-width: 732px;
}

.wrapper-gallery.gallery-slider .flex-direction-nav {
    position: absolute;
    top: 50%;
    transform: translatey(-50%);
    right: -10px;
    left: -10px;
}
.wrapper-gallery.gallery-slider .flex-direction-nav i {
    font-size: 60px;
    color: #fff;
    display: inline-block !important;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
}

.wrapper-gallery.gallery-slider .flex-next i {
    float: right;
}
.wrapper-gallery.gallery-slider .flex-prev i {
    float: left;
}
.wrapper-gallery.gallery-slider.visible + .wrapper-gallery-sidebar {
    display: block;
}

.wrapper-gallery.gallery-list {
    overflow: scroll;
}
.wrapper-gallery.gallery-list img {
    width: 100%;
}
.wrapper-gallery.gallery-list figcaption {
    border-bottom: 1px solid #ccc;
    padding-bottom: 25px;
    margin: 20px 0 25px;
}

.wrapper-gallery.gallery-mosaic {
    display: flex;
    flex-wrap: wrap;
    overflow: scroll;
}
.wrapper-gallery.gallery-mosaic figure {
    width: calc(33.3333% - 5px);
    display: inline-block;
    margin: 2.5px;
    position: relative;
}
.wrapper-gallery.gallery-mosaic figure img {
    width: 100%;
    height: 244px;
    object-fit: cover;
}

.wrapper-gallery.gallery-mosaic figcaption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: 0.3s ease;
    cursor: pointer;
}
.wrapper-gallery.gallery-mosaic figure:hover figcaption {
    opacity: 1;
}

.wrapper-gallery.gallery-mosaic .element-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.wrapper-gallery.gallery-mosaic .element-caption h2 {
    font-size: 25px;
    line-height: normal;
}

.wrapper-gallery.gallery-mosaic .list-header-wrapper,
.wrapper-gallery.gallery-mosaic .element-caption span,
.wrapper-gallery.gallery-mosaic .element-caption p {
    display: none;
}

.pswp {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    overflow: hidden;
    -ms-touch-action: none;
    touch-action: none;
    z-index: 1500;
    outline: 0;
}

.pswp--open {
    display: block;
}

.pswp__bg {
    background: #292929;
}
.pswp__bg,
.pswp__scroll-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.pswp__container,
.pswp__zoom-wrap,
.pswp__item {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.pswp__item {
    overflow: hidden;
}
.pswp__zoom-wrap {
    transform-origin: left top;
}

.pswp__button {
    width: 44px;
    height: 44px;
    opacity: 0.75;
    float: right;
}

.pswp__button,
.pswp__button--arrow--left:before,
.pswp__button--arrow--right:before {
    background-size: 264px 88px;
    background-repeat: no-repeat;
    background-position: 0 0;
    background-image: url('../abril-master2/plugins/abril-content/photoswipe/default-skin.png');
}

.pswp__button--close {
    background-position: 0 -44px;
}

.pswp__button--zoom {
    display: none;
    background-position: -88px 0;
}
.pswp--zoom-allowed .pswp__button--zoom {
    display: block;
}

.pswp__button--arrow--left,
.pswp__button--arrow--right {
    top: 50%;
    margin-top: -50px;
    width: 70px;
    height: 100px;
    position: absolute;
    background: none;
}

.pswp__button--arrow--left {
    left: 0;
}
.pswp__button--arrow--right {
    right: 0;
}

.pswp__button--arrow--left:before,
.pswp__button--arrow--right:before {
    content: '';
    top: 35px;
    background-color: rgba(0, 0, 0, 0.3);
    height: 30px;
    width: 32px;
    position: absolute;
}

.pswp__button--arrow--right:before {
    right: 6px;
    background-position: -94px -44px;
}
.pswp__button--arrow--left:before {
    left: 6px;
    background-position: -138px -44px;
}

.pswp__ui--idle .pswp__top-bar {
    opacity: 0;
}
.pswp__top-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 44px;
    width: 100%;
}
.pswp__ui--fit .pswp__caption,
.pswp__ui--fit .pswp__top-bar {
    background-color: rgba(0, 0, 0, 0.3);
}
.pswp__counter {
    position: absolute;
    left: 0;
    top: 0;
    height: 44px;
    font-size: 13px;
    line-height: 44px;
    color: #fff;
    opacity: 0.75;
    padding: 0 10px;
}

.pswp__caption {
    display: none;
}

@media (max-width: 991px) {
    .container-gallery {
        margin: 0 auto;
    }

    .element-icon {
        display: inline-block;
    }
    .element-icon:not(:last-of-type) {
        margin-right: 15px;
    }
    .element-icon-slider.element-icon,
    .element-icon-mosaic.element-icon {
        display: none;
    }

    .wrapper-gallery .item {
        max-width: 100vw;
        min-width: 50px;
    }

    .wrapper-gallery.gallery-slider {
        width: 100%;
        margin-bottom: 50px;
    }
    .wrapper-gallery.gallery-slider img {
        object-fit: cover;
        max-height: 370px;
    }

    .wrapper-gallery.gallery-slider.visible + .wrapper-gallery-sidebar {
        display: block;
        margin: 0;
        overflow: scroll;
        max-height: 300px;
    }

    .pswp__top-bar {
        opacity: 1 !important;
        height: 75px;
    }
    .pswp__button--close {
        background-position: 0px -12px;
        height: 100%;
    }
    .pswp__button--zoom {
        display: block;
        height: 100%;
        background-position: -87px 31px;
    }
}
