
:root {
    --noir: #000;
    --rouge: #FF0000;
    --blanc: #FFF;
    --gris-clair : #f2f4f7;

    --noir: #262626;
    --orange: #EF7D00;
    --vert-drapeau: #3FA535;
    --vert: #0f7705;
    --vert-fonce:#023A05;
    --blanc: #FFF;
}


#page_institutions{
    display: block;
    width: 100% !important;
    background-color: var(--blanc);
    padding: 0px;

}
#page_institutions .titre{
    display: flex;
    flex-direction: column;
    padding: 15px;
    width: 100% !important;
    color: var(--blanc);
    margin-top: 15px;
    margin-bottom: 20px;
    background-color: var(--orange);
    border-radius: 4px;
    border-bottom: 3px solid var(--vert-fonce);
}
#page_institutions .titre h2{
    font-size: 16px;
    font-weight: 600;
}

#page_institutions h1{
    display: block;
    width: 100% !important;

    font-size: 25px;
    font-weight: 700;
    color: var(--noir);
    margin-top: 15px;
    margin-bottom: 25px;
}

#page_institutions .liste{
    position: relative;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
#page_institutions .liste .item{
    position: relative;
    width: 100%;
    height: 200px;
    display: grid;
    /* grid-template-columns: 1fr 3fr; */
    grid-template-columns: 200px 1fr;
    gap: 0px;
    transition: all 0.3s ease-out;
    margin-bottom: 30px;
    box-shadow: 0 4px 8px 0 rgba(209, 209, 209, 0.15), 0 6px 20px 0 rgba(223, 223, 223, 0.11);
    overflow: hidden;

}
#page_institutions .liste .item:hover{
    box-shadow: 0 4px 8px 0 rgba(209, 209, 209, 0.2), 0 6px 20px 0 rgba(223, 223, 223, 0.11);
}
#page_institutions .liste .item a {
    text-decoration: none;
}
#page_institutions .liste .item .inner{
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: rgba(210, 210, 210, 0.4);
}
#page_institutions .liste .item .inner img{
    position: relative;
    width: auto;
    transition: all 0.3s ease-in-out;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: center;
}
#page_institutions .liste .item .inner:hover img{
    transform: scale(1.02) rotate(-0.5deg);
}


#page_institutions .liste .item .caption{
    position: relative;
    padding: 10px 20px;
    color: var(--noir);
}
#page_institutions .liste .item .caption h2{
    position: relative;
    font-size: 15px;
    text-transform: uppercase;
    color: var(--noir);
    margin-bottom: 10px;
    font-weight: 700;
}
#page_institutions .liste .item .caption h3{
    position: relative;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--orange);
    font-weight: 500;
    margin-bottom: 12px;
}
#page_institutions .liste .item .caption .text{
    overflow: hidden;
    margin-bottom: 15px;
    font-size: 12px;
}
#page_institutions .liste .item .caption .text p,
#page_institutions .liste .item .caption .text *{
    font-size: 12px !important;
}
#page_institutions .liste .item .caption .text a{
    font-size: 12px;
    margin-top: 12px;
}

#page_institutions .liste .item .caption a{ 
  position: relative;
  font-size: 13px;
}
#page_institutions .liste .link {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: -8px;
}
#page_institutions .liste .link a{
    position: relative;
    display: inline-block;
    color: var(--vert-drapeau);
    font-size: 11px;
    width: auto;
    padding: 4px 8px;
    border-radius: 3px;
    background-color: rgba(233, 233, 233, 0);
    transition: all ease-in 0.3s;
    border: 0;
    border: none;
    outline: 0;
    color: var(--bleu);
}
#page_institutions .liste .link a.plus{
    position: relative;
    display: inline-block;
    color: var(--vert-drapeau);
    font-size: 11px;
    width: auto;
    padding: 4px 8px;
    border-radius: 3px;
    background-color: rgb(233, 233, 233);
    transition: all ease-in 0.3s;
    border: 0;
    border: none;
    outline: 0;
    color: var(--noir);
}
#page_institutions .liste .link a:hover{
    color: var(--orange);
    text-decoration: underline;
}

#page_institutions .liste .link a.plus:hover{
    background-color: var(--orange);
    color: var(--blanc);
}







/******************************************* Responsive********************/

@media screen and (max-width: 1520px) {

}
@media screen and (max-width: 1400px) {

}
@media screen and (max-width: 1350px) {
    
}
@media screen and (max-width: 1250px) {

}
@media screen and (max-width: 992px) {

}

@media screen and (max-width: 768px) {
   
   
}
@media screen and (max-width: 640px) {
    
}
@media screen and (max-width: 480px) {
  

}


/**************       dark mode   ***********/
.dark-mode #page_institutions .liste .item .caption h2,
.dark-mode #page_institutions .liste .item .caption h3,
.dark-mode #page_institutions .liste .item .caption p,
.dark-mode #page_institutions .liste .item .caption a{
    color: yellow !important;
}
.dark-mode #page_institutions .liste .item{
    box-shadow: 0 4px 8px 0 rgba(41, 41, 41, 0.08), 0 6px 20px 0 rgba(223, 223, 223, 0.04);
}
.dark-mode #page_institutions .liste .item .caption a{
    border: 1px solid yellow !important;
}
.dark-mode #page_institutions{
   background-color: rgb(36, 36, 36) !important;
}



