/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 1 version
*/

.galleries h2 {
    padding-bottom: 0;
}


.galleries .fxgallery-title{
    display: none;
}

.size-object-fit{
    -o-object-fit: cover;
       object-fit: cover;
    width: 100%;
    height: 100%;
}


.gallery-filter__select .gallery-filter__pill{
    margin-top: 0;
    font-family: 'Raleway', sans-serif;
    border: none;
    display: inline-block;
    text-align: center;
    background: #0033A0;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.15em;
    padding: 15px 49px 15px 30px;
    cursor: pointer;
    position: relative;
    border-radius: 31px;
    z-index: 1;
}


.gallery-filter__select .gallery-filter__pill:before{
    content: '' !important;
    width: 0;
    height: 0;
}

.js-gallery {
    padding: 60px 0 105px 0;
    margin: 0 -16px;
}

.gallery-item {
    padding: 0 16px;
}

.gallery {
    height: 248px;
    position: relative;
    overflow: hidden;
    display: block;
}

.gallery__title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 82px;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(0,51,160,0.85);
    font-size: 35px;
    font-family: 'Raleway', sans-serif;
    text-transform: capitalize;
}

.gallery__bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(0,51,160,0.85);
    width: 100%;
    font-size: 25px;
}

.gallery__bottom ul {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.gallery__bottom ul li {
    width: 50%;
    display: flex;
    height: 42px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 0 3px 0;
    font-size: 20px;
    font-weight: 600;
    font-style: italic;
    border-right: 1px solid #fff;
    line-height: 1em;
}

.gallery__bottom ul li:last-child {
    border: none;
}

.gallery__bottom ul li::before {
    display: none;
}

.gallery__bottom ul li span {
    color: #fff;
    display: block;
    width: 100%;
    text-align: center;
    
}



@media (min-width: 768px) {
    .js-gallery {
        padding-top: 50px;
    }

    .gallery__title {
        font-size: 30px;
    }
}

@media (min-width: 1200px) {

    .gallery {
        overflow: clip;
    }

    .js-gallery {
        padding-top: 18px;
        padding-bottom: 0;
    }

    .gallery-item {
        margin-top: 32px;
    }

    .js-gallery .fx-slide {
        display: block;
    }

    .gallery {
        height: 300px;
        position: relative;
    }

    .gallery__title {
        font-size: 35px;
    }

    .gallery__bottom ul li {
        font-size: 25px;
    }

    .gallery__bottom {
        bottom: -42px;
        transition: all .3s ease-in-out;
    }

    .gallery:hover .gallery__bottom {
        bottom: 0;
    }

    .gallery:hover img{
        transition: opacity 300ms;
    }

    .gallery:hover img{
        opacity: 0.75;
    }
}