html {
    -webkit-min-height: 100% !important;
    min-height: 100% !important;
    position: relative;
}

#page-wrapper {
    margin-bottom: 50px;
}

.gallery-block.grid-gallery {
    padding-bottom: 60px;
    padding-top: 60px;
}

.gallery-block.grid-gallery .heading {
    margin-bottom: 50px;
    text-align: center;
}
.gallery-block.grid-gallery .heading h1{
    font-weight: bold;
    font-size: 2rem;
    text-transform: uppercase;
    padding-bottom: 1rem;
    
}
.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: 0px 2px 10px rgba(0, 0, 0, 0.15);
    transition: 0.4s;
}

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


.image {
    width: 100% !important;

}

.croix-fermeture {
    font-size: 3rem !important;
    color: aliceblue !important;
    text-shadow: 3px 3px 5px black, 3px -3px 5px black, -3px 3px 5px black, -3px -3px 5px black;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 100000 !important;
}

.close {
    height: 40px;
    width: 40px;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 100000 !important;
}


.col-md-3 {
    margin-bottom: 20px;
}

.each-item {
    position: relative;
    overflow: hidden;
}

.each-item:hover .cap2,
.each-item:hover .cap1 {
    left: 0px;
}

.cap1 {
    position: absolute;
    width: 100%;
    height: 70%;
    background: rgba(255, 255, 255, 0.5);
    top: 0px;
    left: -100%;
    padding: 10px;
    transition: all .5s;
}

.cap2 {
    position: absolute;
    width: 100%;
    height: 30%;
    background: rgba(0, 178, 255, 0.5);
    bottom: 0px;
    left: 100%;
    padding: 10px;
    transition: all .5s;
}

.titre-modal {
    text-align: center;
    padding-bottom: 10px;
}

.puce-modal {
    list-style-type: none;
     !important;
}
}

/*************************   COULEUR + bouton   ***********************/
.bg-primary {
    background-color: rgba(25, 25, 25, 0.67) !important;
    z-index: 100;
}

/*

.btn:focus-within,
.btn:focus {
    outline: none !important;
}*/

.btnh-light {
    color: #222222;
    background-color: #fff;
    border-color: #e0e0e0;
    margin: 2px;
}

.btnh-light:hover {
    color: #222;
    background-color: #fff;
    border-color: #e0e0e0;
    -webkit-box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15);
}

.btnh-light:focus {
    -webkit-box-shadow: 0 0 0 0 rgb(255, 255, 255) !important;
    box-shadow: 0 0 0 0 rgb(255, 255, 255) !important;
    background-color: whitesmoke;
    color: #222;
    /* outline: none !important;*/
}

.bg-light {
    background-image: linear-gradient(#ffffff, #ffffff, #ffffff, #e5e5e5) !important;
    -webkit-background-image: linear-gradient(#ffffff, #ffffff, #ffffff, #e5e5e5) !important;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.27);


}

.dropdown-item:active {
    background-color: whitesmoke !important;
    color: #222 !important;
}

/*-------------------------------
      BUTTON call to action
-------------------------------*/
.btn-call {
    font-size: 2rem;
    padding: 0 8px 4px 8px;
    border: none;
    border-radius: 3px;
    box-shadow: 4px 6px 16px 2px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    outline: none;
    transition: 0.2s;
    color: #fff;
    background-color: #36a1f5;
}

.btn-call:hover {
    box-shadow: 4px 6px 16px 2px rgba(0, 0, 0, 0.16);
    background-color: #1e8fe8;
}

.btn-call:active {
    transform: scale(0.98);
    box-shadow: 4px 6px 14px 2px rgba(0, 0, 0, 0.23);
}
@media (min-width: 576px) {

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