


/*------------------------------------------- carousel -----------------------------------------*/

.carousel-inner > .carousel-item {
    height: 400px;
    background-size:cover;
    background-position: center center;
}

.filtre {
    width: 100%;
    height: 400px;
    background: rgba(255, 255, 255, 0.3);
}

.box {
    max-width: 450px;
    height: 350px;
    background: white;
    float: right;
    color: #fff;
    z-index: 10;
    opacity: 0.75;
    margin-top: 20px;
    margin-right: 200px;
}

.box p {
    font-size: 14px;
}


.box h2, p {
    color : black;
}

.box h2 {
    padding-top: 20px;
    text-align: center;
    font-size: 24px
}

.box p {
    padding: 10px 30px 10px 30px;
}

@media screen and (max-width: 414px){
    .box h2 {
        font-size: 20px;
    }
    .box p {
        font-size: 12px;
    }
    .filtre {
        display: flex;
        justify-content: center;
    }
    .box {
        max-width: 300px;
        height: 320px;
        color: #fff;
        z-index: 10;
        opacity: 0.90;
        margin: 30px;
    }
}

/*------------------------------------------------- avis décès - espace de souvenirs ------------------------------------------------*/



table {
    width: 600px;
}


.espace-souvenirs {
    background-color: #F6F6F6;
    height: auto;
    min-width: 360px;
    border: 1px solid #aeaeae;
    border-radius: 5px;
}
@media all and (min-width: 540px){
    .espace-souvenirs {
        min-width: 460px;
    }
}

#image-homme {
    border-radius: 50%;
    width: 75px;
}



  


.bas-souvenirs > p > i {
    color : #c30040!important;
}
.titre {
    padding-bottom: 20px;
    padding-top: 25px;
}

tr {
    text-align: center;
}

td {
    color : black;
    height: 35px;
}


.page-item a {
    font-family: 'roboto-regular'!important;
    font-size: 13px!important;
}


@media all and (max-width: 1200px){
    td {
        font-size: 12px;
        height: 30px;
    }

    #pagination {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}


@media all and (max-width: 414px){

    table {
        width: 400px;
    }


}


@media all and (max-width: 375px){

    table {
        width: 360px;
    }

    .espace-souvenirs {
        width: 360px;
    }
}

@media all and (max-width: 320px){

    table {
        width: 310px;
    }

    .espace-souvenirs {
        width: 310px;
    }
}



/*------------------------------------------------- nos services ------------------------------------------------*/

#nos-services {
    padding-top: 50px;
    padding-bottom: 50px;
}


.main-title{
    color: #2d2d2d;
    text-align: center;
    text-transform: capitalize;
    padding: 0.7em 0;
}

.content {
    position: relative;
    max-width: 300px;
    margin: auto;
    overflow: hidden;
    margin-bottom: 30px;
}

.content .content-overlay {
    background: rgba(0,0,0,0.7);
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
    -webkit-transition: all 0.4s ease-in-out 0s;
    -moz-transition: all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
}

.content:hover .content-overlay{
    opacity: 1;
}

.content-image{
    width: 100%;
}

.content-details {
    position: absolute;
    text-align: center;
    padding-left: 1em;
    padding-right: 1em;
    width: 100%;
    top: 50%;
    left: 50%;
    opacity: 0;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}

.content:hover .content-details{
    top: 50%;
    left: 50%;
    opacity: 1;
}

.content-details h3{
    color: #fff;
    font-weight: 500;
    letter-spacing: 0.15em;
    margin-bottom: 0.5em;
    text-transform: uppercase;
}

.content-details p{
    color: #fff;
    font-size: 0.8em;
}

.fadeIn-bottom{
    top: 80%;
}

.fadeIn-top{
    top: 20%;
}

.fadeIn-left{
    left: 20%;
}

.fadeIn-right{
    left: 80%;
}

@media all and (max-width: 896px){

    .content .content-details{
        top: 50%;
        left: 50%;
        opacity: 1;
    }

    .content .content-overlay{
        opacity: 1;
    }

}


/*------------------------------------------------- notre equipe ------------------------------------------------*/

.img {
    width: 100%;
}

@media all and (max-width: 414px){
    .img {
        width: 60px;
    }
}

/*------------------------------------------------- nous trouver ------------------------------------------------*/


#nous-trouver {
    margin-top: 50px;
}
