/* GALLERY BLOCK */

.card-img-top {
    width: 100% !important;
    height: 15vw !important;
    object-fit: cover !important;
}

.gallery-block {
    /*padding-bottom: 60px;*/
    padding-top: 20px;
}

.gallery-block .heading {
    margin-bottom: 50px;
    text-align: center;
}

.gallery-block .heading h2 {
    font-weight: bold;
    font-size: 1.4rem;
    text-transform: uppercase;
}

.gallery-block.cards-gallery h6 {
    font-size: 17px;
    font-weight: bold;
}

.gallery-block.cards-gallery h6::after {
    content: "";
    width: 60px;
    height: 2px;
    /* yellow */
    background: #fab31b;
    display: block;
    margin: 10px auto;
}

.gallery-block.cards-gallery .card {
    transition: 0.4s ease;
}

.gallery-block.cards-gallery .card img {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.gallery-block.cards-gallery .card-body {
    text-align: center;
}

.gallery-block.cards-gallery .card-body p {
    font-size: 15px;
}

.gallery-block.cards-gallery h6 a {
    color: #002e5b;
    font-family: 'Exo', sans-serif;
}

.gallery-block.cards-gallery h6 a:hover {
    text-decoration: none;
}

.gallery-block.cards-gallery .card {
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.gallery-block.grid-gallery {
    /*padding-bottom: 60px;*/
    padding-top: 15px;
    background-color: #e9ecef;
}

.gallery-block.grid-gallery .heading {
    margin-bottom: 50px;
    text-align: center;
}

.gallery-block.grid-gallery .heading h2 {
    font-weight: bold;
    font-size: 1.4rem;
    text-transform: uppercase;
}

.gallery-block.grid-gallery a:hover {
    opacity: 0.8;
}

.gallery-block.grid-gallery .item img {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: 0.4s;
}

.gallery-block.grid-gallery .item {
    margin-bottom: 20px;
}

@media (min-width: 576px) {

    .gallery-block .transform-on-hover:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.15) !important;
    }

    .gallery-block.grid-gallery .scale-on-hover:hover {
        transform: scale(1.05);
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.15) !important;
    }

}