.espace-justice {
    color: var(--app-color-green)!important;
}
p {
    font-weight: normal;
}
/*.bg-entete-img {
    top: -80%;
}*/   
.container {
    padding: 15px 15px;
}
.green-box {
    background: var(--app-color-green);
    color: white;
    padding: 10px 10px;
    text-align: center;
}
.bg-gray {
    background: var(--app-color-lightgray);
}
.img-card-container {
    max-height: 233px;
    /*max-height: 47%;*/
    overflow: hidden;
}
.img-card-container img, .bandeau-img {
    margin-top: -215px;
}
.gray-box {
    background-color: var(--app-color-gray);
    color: white;
    padding: 10px 10px;
    text-align: center;
}
.card-container {
    /*width: 25rem;*/
    /*height: 550px;*/
}
.card {
    background: rgba(239, 236, 234, .1);
    margin-bottom: 10px;
}
.card-body {
    height: 230px;
}
.card-text {
    height: auto;
    min-height: 110px;
}
.max-scale {
    margin: 0 auto; 
    max-width: var(--main-max-width);
}
.container-justice {
    display: flex;
    height: 280px;
    max-height: 340px;
    overflow: hidden;
    margin-top: 3em;
    margin-bottom: 3em;
}
.container-justice .container-justice-img {
    overflow: hidden;
}
.ask-h5 {
    text-align: left;
}
@media only screen and (min-width: 1990px) {
    .card-container {
        width: 23rem;
    }
}
@media only screen and (min-width: 2630px) {
    .card-container {
        width: 20rem;
    }
}
@media only screen and (min-width: 1750px) and (max-width: 2299px) {
    .bandeau-img {
        margin-top: -285px;
    }
}
@media only screen and (max-width: 1350px) {
    .container-justice {
        height: 225px;
    }
    .bg-entete {
        height: 250px
    }
}
@media only screen and (max-width: 1462px) {
    .card-container {
        width: 18rem;
    }  
/*    .bg-entete-img {
        top: -55%;
    } */  
}
@media only screen and (max-width: 1050px) {
    .card-container {
        width: 16rem;
    }  
    .bg-entete {
        height: 210px;
    }   
}
@media only screen and (min-width: 451px) and (max-width: 750px) {
    .bg-entete-img {
        top: 0px;
    }   
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .card-container {
        width: 13rem;
    }
    .card-container .card {
        height: 260px;
    }
    .img-card-container {
        height: 100%;
        max-height: 400px;
        overflow: hidden;
    }
    .img-card-container img {
        margin-top: -150px;
    }
    .bg-titre-justice {
        height: 140px;
    }
    .bg-titre-justice h1 {
        padding-top: 55px;
    }
    .bg-justice-img {
        top: -120px;
    }
}
@media only screen and (min-width: 768px) and (max-width: 990px) {
    .container-justice {
        height: 175px;
    }
    .bandeau-img {
        margin-top: -115px;
    }
}
@media only screen and (min-width: 768px) and (max-width: 790px) {
    .card-container {
        width: 12rem;
    }
    .card-container .card {
        height: 310px;
    }
}
@media only screen and (max-width: 767px) {
    .container {
        padding: 1em 15px;
    }
    .card-container {
        height: 700px;
    }
    .card-body {
        height: 220px;
    }
    .title-container {
        text-align: center;
    }
    .title-container h2 {
        font-size: 1.5em;
    }
    .img-card-container {
        max-height: 323px;
        overflow: hidden;
    }   
    .img-card-container img {
        margin-top: -110px;
    }         
    .orange-box h5 {
        text-align: center;
    }
    .orange-box {
        max-width: 100vw!important;
    }
    .orange-box button {
        max-width: 250px;
        margin: 0 auto;
    }
    .ask-h5 {
        text-align: center;
    }
}
@media only screen and (max-width: 450px) {
    .card-container {
        height: 650px;
    }
    .img-card-container {
        max-height: 279px;
        overflow: hidden;
    }  
    .bg-entete-img {
        top: 0px;
    }
}
@media only screen and (orientation: landscape) and (max-width: 767px) {
    .carousel-inner {
        height: 300px;
    } 
    .card {
        flex-direction: row!important;
        justify-content: space-around;
        height: 250px;
        overflow: hidden;
    }
    .card-body {
        width: 60%
    }
    .landscape {
        width: 60%;
        display: flex;
        align-items: center;
    }
    .img-card-container {
        height: unset;
        max-height: unset;
    }
    .img-card-container img {
        max-width: 370px;
        margin-top: 0;
    } 
}
@media only screen and (max-width: 380px) { 
    .card-container {
        height: 550px;
    } 
    .img-card-container {
        max-height: 229px;
        overflow: hidden;
    }  
}   
@media only screen and (max-width: 350px) { 
    .card-container {
        height: 550px;
    } 
    .img-card-container {
        max-height: 191px;
        overflow: hidden;
    }  
}    
@media only screen and (width: 640px) and (height: 360px) {
    .bg-entete-img {
        top: -110px;
    }
}