/* PORTAIL */

body.chartwell_portail .page_container {
    background-color: #fff;
    padding: 50px;
}

body.chartwell_portail #languages {
    position: absolute;
    top: 50px;
    left: 50px;
}

body.chartwell_portail .error_404 {
    height: initial;
}

body.chartwell_portail #languages a:first-of-type {
    padding-right: 10px;
}

body.chartwell_portail #languages a:hover {
    color: #8c1260;
}

body.chartwell_portail #languages a.active {
    font-weight: 600;
    color: #8c1260;
}

::-webkit-scrollbar-thumb {
    background-color: #8c1260 !important;
}

.portail_logo {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 4px solid #8c1260;
}

.portail_logo img {
    height: 150px;
}

.liste_residences {
    display: flex;
    flex-wrap: wrap;
}

.liste_residences .residence {
    width: 25%;
    padding: 15px;
}

.liste_residences .residence a {
    position: relative;
    display: block;
    color: #212121;
}

.liste_residences .residence img {
    width: 100%;
    height: auto;
}

.liste_residences .residence .projet_infos {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.5);

    transition: all 250ms ease-in-out;
    opacity: 0;
}

.liste_residences .residence:hover .projet_infos {
    opacity: 1;
}

.liste_residences .residence .projet_infos h3 {
    font-size: 35px;
    transition: all 150ms ease-in-out;
    padding: 15px 10px;
    border-bottom: 2px solid #8c1260;
    border-top: 2px solid #8c1260;
}

.liste_residences .residence:hover .projet_infos h3 {
    padding: 5px 10px;
}

body.chartwell_portail footer {
    position: relative;
    transform: none;
    height: initial;

    text-align: center;
    margin-top: 50px;
    padding-top: 50px;
    border-top: 4px solid #8c1260;
}

body.chartwell_portail footer:before {
    content: unset;
}

@media screen and (max-width: 1366px) {
    .liste_residences .residence {
        width: 33.3333%;
    }

    .liste_residences .residence .projet_infos h3 {
        font-size: 30px;
    }
}

@media screen and (max-width: 1024px) {
    .liste_residences .residence {
        width: 50%;
    }
}

@media screen and (max-width: 640px) {
    .liste_residences .residence {
        width: 100%;
    }
}