.cd_realisations-home {
    text-align: center;
    margin-bottom: 125px;
}
.cd_realisations-home h2 {
    font-size: 3.2rem;
    text-transform: uppercase;
    margin-bottom: 34px;
}
.cd_realisations-home h2 .yellow-square {
    display: inline-block;
    padding: 0 55px;
    background-size: 260px 27px;
}
.cd_realisations-home .sous-titre {
    margin: 0;
    font-size: 1.7rem;
    font-weight: 100;
}
.cd_realisations-home-buttonAddRealForm {
    font-size: 1.8rem;
    font-weight: 400;
    padding: 0;
    background: transparent;
    border: none;
    margin-bottom: 25px;
}
.cd_realisations-home-listing {
    margin-top: 50px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 50px;
}
.cd_realisations-home-listing > li {
    width: 50%;
    display: flex;
}
.cd_realisations-home-listing > li > div {
    width: 50%;
    min-height: calc( 25vw / 1.19 );
    background-size: cover;
}
.cd_realisations-home-real-text {
    position: relative;
}
.cd_realisations-home-real-text a {
    text-decoration: none;
    color: #fff;
    display: flex;
    flex-flow: column;
    justify-content: center;
    height: 100%;
    background-color: #000;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    overflow: auto;
    transition-property: left, right;
    transition-duration: .15s;
    transition-timing-function: ease-in-out;
}
.cd_realisations-home-real-text-type,
.cd_realisations-home-real-text-name,
.cd_realisations-home-real-text-city {
    font-size: 1.2rem;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 0.05rem;
    font-weight: 100;
    line-height: 1.3;
    transition: font-weight .15s ease-in-out;
}
.cd_realisations-home-real-text-name {
    font-weight: 500;
}
.cd_realisations-home-real-text-desc {
    font-size: 0;
    padding-bottom: 18px;
    margin: 0 auto;
    position: relative;
    max-width: 440px;
    font-family: 'AlegreyaSans';
    line-height: 1.15;
    transition-property: font-size, margin-top;
    transition-duration: .15s;
    transition-timing-function: ease-in-out;
}
.cd_realisations-home-real-text-desc::after {
    content: "";
    position: absolute;
    background: #ffed00;
    width: 22px;
    height: 2px;
    left: calc( 50% - 11px );
    bottom: 0;
}
.cd_realisations-home li:nth-child( 4n + 2 ) a,
.cd_realisations-home li:nth-child( 4n + 3 ) a {
    color: #808080;
    background-color: #eee;
}
.cd_realisations-home li:nth-child( 4n + 2 ) .cd_realisations-home-real-text-desc::after,
.cd_realisations-home li:nth-child( 4n + 3 ) .cd_realisations-home-real-text-desc::after {
    background-color: #fa4a4a;
}

.cd_realisations-home li:hover .cd_realisations-home-real-text a {
    right: -100%;
    color: #fff;
}
.cd_realisations-home li:nth-child( 4n + 2 ):hover a,
.cd_realisations-home li:nth-child( 4n + 3 ):hover a {
    color: #808080;
}
.cd_realisations-home li:hover .cd_realisations-home-real-text.txt-second a {
    right: 0;
    left: -100%;
}
.cd_realisations-home li:hover .cd_realisations-home-real-text-type,
.cd_realisations-home li:hover .cd_realisations-home-real-text-name,
.cd_realisations-home li:hover .cd_realisations-home-real-text-city {
    font-weight: 500;
}
.cd_realisations-home li:hover .cd_realisations-home-real-text-desc {
    font-size: 1.2rem;
    margin-top: 30px;
    line-height: 1.3;
}

.cd_realisations-home .cd_realisations-home-link-allrealisations {
    color: #fff;
    background-color: #000;
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 400;
    padding: 4px 32px;
    border: solid 2px #000;
    text-decoration: none;
    transition-property: color, background-color;
    transition-duration: .15s;
    transition-timing-function: ease-in-out;
}
.cd_realisations-home .cd_realisations-home-link-allrealisations:hover {
    color: #000;
    background-color: #fff;
}



#cd_realisations-home-addrealform-container,
#cd_realisations-home-addrealform::before {
    display: none;
}
#cd_realisations-home-addrealform-container.show {
    display: block;
}
#cd_realisations-home-addrealform {
    position: absolute;
    top: 60px;
    background: #fff;
    bottom: 70px;
    left: calc( ( 100% - 1245px ) / 2);
    right: auto;
    max-width: 1245px;
    width: 100%;
    text-align: left;
/*    padding-top: 39px;
    padding-left: 77px;
    padding-right: 90px;
    padding-bottom: 125px;*/
    padding: 40px 80px;
}
#cd_realisations-home-addrealform > div {
    height: 100%;
    overflow: auto;
}
#cd_realisations-home-addrealform .inputs-container-container {
    height: auto;
    max-height: 100%;
    overflow: auto;
}
#cd_realisations-home-addrealform .titre {
    font-size: 2.08rem;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 0;
}
#cd_realisations-home-addrealform .sous-titre {
    font-size: 1.27rem;
    margin-bottom: 0;
}
#cd_realisations-home-addrealform .sous-sous-titre {
    font-size: 0.71rem;
    margin-bottom: 68px;
}
#cd_realisations-home-addrealform .inputs-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    overflow: auto;
}
#cd_realisations-home-addrealform .inputs-container-1 {
    width: 500px;
}
#cd_realisations-home-addrealform .inputs-container-2 {
    width: 365px;
}
/*#cd_realisations-home-addrealform .inputs-container + .inputs-container {
    position: absolute;
    left: 73px;
    bottom: 44px;
    right: 98px;
}*/
#cd_realisations-home-addrealform .inputs-container-3 {
    width: 320px;
}
#cd_realisations-home-addrealform .inputs-container-4 {
    width: calc( 100% - 320px );
    /*text-align: right;*/
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.realisations-field-group {
    margin-bottom: 20px;
}
#cd_realisations-home-addrealform .inputs-container-4 button {
    font-size: 1.52rem;
    font-weight: 500;
    border: solid 1.5px #bbb;
    color: #bbb;
    background-color: #fff;
    padding: 7px 35px;
    margin-left: 40px;
}
#cd_realisations-home-addrealform .inputs-container-4 button[type="submit"] {
    background-color: #000;
    color: #fff;
    border-color: #000;
    padding: 7px 54px;
    margin-left: 0;
}
.fields-group select,
.fields-group input,
.fields-group textarea {
    border-bottom-color: #ffed00;
}
.g-recaptcha {
    overflow: hidden;
}



.upload-group .box__input {
    position: relative;
    margin: 0;
    border: none;
    background: #ffed00;
    text-align: center;
}
.upload-group .box__input label {
    display: block;
    cursor: pointer;
    font-size: 60px;
    padding-top: 90px;
    margin: 0;
    height: 330px;
}
.upload-group .box__input label ul {
    font-size: 1rem;
}
#realisations_label-file p {
    font-weight: 500;
    font-size: 1.44rem;
    margin: 0;
    padding-top: 18px;
    line-height: 1.2;
}
.upload-group .box__file{
    display: none;
}
.animation-reserver .field-group.upload-group .box__input p {
    font-size: 1.5rem;
    text-transform: none;
    margin-bottom: 0;
    padding-top: 0;
    font-weight: 100;
    line-height: 1.25;
}
.animation-reserver .field-group.upload-group .box__input p.button {
    display: inline-block;
    font-size: 1.25rem;
    color: #f00;
    font-weight: 700;
    background-color: #fa4a4a;
    margin-top: 2.6rem;
    padding: 1.5rem 0.9rem 1.3rem 1rem;
    letter-spacing: 0.4px;
    margin-bottom: 2.4rem;
}
.box__dragndrop,
.box__uploading,
.box__success,
.box__error-type,
.box__error-rien,
.box__error {
    line-height: 1.3;
    max-height: 0;
    overflow: hidden;
    transition: max-height .15s ease-in-out;
}
.box__dragndrop.show,
.box__uploading.show,
.box__success.show,
.box__error-type.show,
.box__error-rien.show,
.box__error.show {
    max-height: 3rem;
}
.box__uploading{
    color: #00c;
}
.box__success{
    color: #0c0;
}
.box__error-rien,
.box__error-type,
.box__error{
    color: #c00;
}

.upload-group .infos-type {
    margin: 0;
    padding: 12px 0;
}
.box.has-advanced-upload.is-dragover 
.box.is-dragover .box__dragndrop {
    background-color: grey;
}
.upload-group .box__input label ul {
    padding: 0 0 0 1.5rem;
    margin: 0 0 1rem;
    text-align: left;
}
.upload-group .box__input label ul button {
    color: #000;
    background: transparent;
    border: none;
    cursor: pointer;
}
.upload-group .box__input label ul li {
    padding: 0.3rem 0;
    position: relative;
    word-break: break-all;
}
.upload-group .box__input label ul li::after {
    content: "";
    height: 0.125rem;
    background: #000;
    width: 60%;
    left: 0;
    position: absolute;
    bottom: 0;
}
.upload-group .box__input label ul li:last-child::after {
    display: none;
}



.main-realisations {
    text-align: center;
    padding-top: 107px;
}
.main-realisations .page-header h1 {
    margin: 0 0 30px;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 54px;
}
.main-realisations .page-header h1 .yellow-square {
    padding: 0 14px;
    background-position: bottom right;
    background-size: 260px 30px;
}
.main-realisations .page-content {
    font-size: 27px;
    line-height: 38px;
    margin-bottom: 60px;
}
.main-realisations .page-content p {
    margin: 0;
}
.main-realisations .listing-realisations {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.main-realisations .listing-realisations > li {
    width: calc( 50% - 20px );
    position: relative;
    margin-bottom: 63px;
}
.listing-realisations > li {
    display: flex;
}
.listing-realisations .realisation-bloc-text {
    width: 42%;
    background: #000;
    color: #fff;
    font-size: 1.17rem;
    text-transform: uppercase;
    line-height: 1;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.listing-realisations .lSSlideOuter {
    width: 58%;
    margin-left: 42%;
}
.listing-realisations .rbt-type {
    padding: 43px 0 0;
    margin: 0 0 5px;
}
.listing-realisations .rbt-nom {
    font-weight: 700;
    margin-bottom: 4px;
}
.listing-realisations .rbt-ville {
    margin-bottom: 22px;
}
.listing-realisations .rbt-msg {
    font-family: "AlegreyaSans";
    text-transform: none;
    line-height: 1.3;
    padding: 0 20px 25px;
    position: relative;
}
.listing-realisations .rbt-msg::after {
    content: "";
    position: absolute;
    width: 15px;
    height: 1px;
    background-color: #ffed00;
    bottom: 15px;
    left: calc(50% - 7.5px);
}
.listing-realisations .lSSlideOuter img {
    max-width: 100%;
}
.listing-realisations > li::before {
    content: "";
    position: absolute;
    left: 42%;
    top: 0;
    bottom: 0;
    width: 66px;
    background: url('../../images/real-triangle-noir.png') no-repeat center center / 100% 100%;
    z-index: 20;
}



.listing-realisations li:nth-child(4n + 2) .realisation-bloc-text,
.listing-realisations li:nth-child(4n + 3) .realisation-bloc-text {
    background-color: #eee;
    color: #808080;
}
.listing-realisations > li:nth-child(4n + 2)::before,
.listing-realisations > li:nth-child(4n + 3)::before {
    background-image: url('../../images/real-triangle-gris.png');
}
.listing-realisations li:nth-child(4n + 2) .rbt-msg::after,
.listing-realisations li:nth-child(4n + 3) .rbt-msg::after {
    background-color: #f00;
}



.listing-realisations li:nth-child(4n + 3) .realisation-bloc-text,
.listing-realisations li:nth-child(4n) .realisation-bloc-text {
}
.listing-realisations > li:nth-child(4n+3)::before,
.listing-realisations > li:nth-child(4n)::before {
    transform: rotateZ(180deg);
    left: auto;
    right: 42%;
}
.listing-realisations > li:nth-child(4n+3) .realisation-bloc-text,
.listing-realisations > li:nth-child(4n) .realisation-bloc-text {
    left: auto;
    right: 0;
}
.listing-realisations > li:nth-child(4n+3) .lSSlideOuter,
.listing-realisations > li:nth-child(4n) .lSSlideOuter {
    margin-left: 0;
}

.cd_realisations-page-buttonAddRealForm {
    font-size: 1.5rem;
    background-color: #000;
    border: none;
    color: #fff;
    padding: 2px 24px;
    margin-bottom: 80px;
}



@media screen and ( max-height: 1440px ){
    #cd_realisations-home-addrealform {
        top: 25px;
        left: 25px;
        right: 25px;
        bottom: 25px;
        max-width: 100%;
        width: auto;
    }
}

@media screen and ( max-height: 1280px ){
    .upload-group .box__input label {
        padding-top: 70px;
        height: 300px;
    }
    #cd_realisations-home-addrealform .titre {
        font-size: 1.8rem;
    }
    #cd_realisations-home-addrealform .sous-titre {
        font-size: 1.2rem;
    }
}

@media screen and ( max-width: 1080px ){
    .cd_realisations-home {
        margin-bottom: 100px;
    }
}

@media screen and ( max-width: 991px ){
/*    .cd_realisations-home .sous-titre {
        font-size: 1.5rem;
    }
    .cd_realisations-home-buttonAddRealForm {
        font-size: 1.7rem;
    }
    .cd_realisations-home-listing {
        display: block;
    }
    .cd_realisations-home-listing > li {
        width: 100%;
    }
    .cd_realisations-home-listing > li > div {
        width: 50%;
        min-height: calc( 50vw / 1.19 );
    }*/
    
    .cd_realisations-home {
        background-color: #ffed00;
        margin-bottom: 29px;
        padding: 110px 25px 75px;
    }
    #index .cd_realisations-home h2 {
        padding: 17px 0vw 8px;
        font-size: 2.625rem;
        margin-bottom: 40px;
        background-color: #000;
    }
    .cd_realisations-home h2 .yellow-square {
        padding: 0;
        background: none;
        color: #fff;
    }
    .cd_realisations-home .sous-titre {
        font-size: 1.875rem;
        line-height: 1.35;
        padding: 0 0vw;
        margin-bottom: 27px;
        letter-spacing: -1px;
    }
    .cd_realisations-home-buttonAddRealForm {
        background-color: #000;
        margin: 0 31% 0;
        display: flex;
        flex-flow: column;
        padding-top: 12px;
        width: 38%;
        padding-bottom: 2px;
        margin-bottom: 95px;
    }
    .cd_realisations-home-buttonAddRealForm span {
        display: inline-block;
        width: 100%;
        line-height: 1;
        color: #fff;
        text-transform: uppercase;
        font-size: 1.6rem;
        margin-bottom: 10px;
        vertical-align: top;
    }
    .cd_realisations-home-buttonAddRealForm span + span {
        color: #fff;
        font-size: 1.875rem;
        margin-bottom: 0;
    }
    
    .cd_realisations-home-listing {
        margin-top: 0;
        padding: 0 0 60px;
    }
    .cd_realisations-home-listing > li {
        width: 100%;
        display: block;
        background-color: #333;
        position: relative;
        margin-bottom: 43px;
    }
    .cd_realisations-home-listing > li:last-child {
        margin-bottom: 0;
    }
    .cd_realisations-home-listing > li > div {
        width: 100%;
        min-height: 0;
    }
    .cd_realisations-home .cd_realisations-home-real-text a:nth-child(n) {
        position: static;
        background: transparent;
        padding-bottom: 66vw;
    }
    .cd_realisations-home-real-text-type {
        padding-top: 35px;
        font-size: 1.6rem;
        font-weight: 700;
    }
    .cd_realisations-home-real-text-name {
        font-size: 1.6rem;
        padding-top: 5px;
        color: #fff;
        margin-bottom: 7px;
    }
    .cd_realisations-home-real-text-city {
        font-size: 1.6rem;
        color: #fff;
        font-weight: 700;
    }
    .cd_realisations-home-real-text-desc {
        font-size: 1.375rem;
        line-height: 1.4;
        padding: 0 17px;
        letter-spacing: 1px;
        padding-bottom: 17px;
        margin-bottom: 50px;
        color: #fff;
        font-weight: 400;
        max-width: 100%;
    }
    .cd_realisations-home-listing > li > .cd_realisations-home-real-image {
        position: absolute;
        bottom: 40px;
        left: 35px;
        right: 29px;
        height: 61vw;
        width: auto;
    }
    .cd_realisations-home .cd_realisations-home-link-allrealisations {
        padding: 14px 22px 8px;
        font-weight: 700;
        color: #fff;
        background-color: #000;
        border: none;
        text-transform: uppercase;
        font-size: 1.6rem;
        letter-spacing: 0vw;
    }
    
    #cd_realisations-home-addrealform {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 41px 41px 25px 25px;
        text-align: center;
    }
    .cd_alertebox .closeCustomAlert {
        width: 50px;
        height: 50px;
        font-size: 30px;
    }
    #cd_realisations-home-addrealform .sous-sous-titre {
        margin-bottom: 25px;
    }
    #cd_realisations-home-addrealform .inputs-container-1,
    #cd_realisations-home-addrealform .inputs-container-2,
    #cd_realisations-home-addrealform .inputs-container-3,
    #cd_realisations-home-addrealform .inputs-container-4 {
        width: 100%;
        margin-bottom: 25px;
    }
    #cd_realisations-home-addrealform .inputs-container-4 {
        margin-bottom: 0;
    }
    #cd_realisations-home-addrealform .g-recaptcha > div {
        margin: 0 auto;
    }
    #cd_realisations-home-addrealform .inputs-container-container {
        overflow: visible;
    }
    .fields-group .fake-checkbox-field label {
        width: 100%;
        text-align: left;
    }
    #cd_realisations-home-addrealform .inputs-container-4 button[type="button"] {
        display: none;
    }
    #cd_realisations-home-addrealform .inputs-container-4 button[type="submit"] {
        width: 100%;
    }
    #cd_realisations-home-addrealform .sous-titre {
        letter-spacing: 0;
    }
}

@media screen and ( max-width: 580px ){
    .cd_realisations-home {
        margin-bottom: 5vw;
        padding: 19.7vw 25px 13vw;
    }
    #index .cd_realisations-home h2 {
        padding: 3vw 0vw 1.5vw;
        font-size: 7.3vw;
        margin-bottom: 7.5vw;
    }
    .cd_realisations-home .sous-titre {
        font-size: 5.2vw;
        margin-bottom: 4.6vw;
        letter-spacing: -0.3vw;
    }
    .cd_realisations-home-buttonAddRealForm {
        margin: 0 31% 0;
        padding-top: 2vw;
        width: 38%;
        padding-bottom: 0.3vw;
        margin-bottom: 16.5vw;
    }
    .cd_realisations-home-buttonAddRealForm span {
        font-size: 4.4vw;
        margin-bottom: 1.7vw;
    }
    .cd_realisations-home-buttonAddRealForm span + span {
        font-size: 5.2vw;
    }
    
    .cd_realisations-home-listing {
        padding: 0 0 10.5vw;
    }
    .cd_realisations-home-listing > li {
        margin-bottom: 7.5vw;
    }
    .cd_realisations-home .cd_realisations-home-real-text a:nth-child(n) {
        padding-bottom: 66vw;
    }
    .cd_realisations-home-real-text-type {
        padding-top: 6vw;
        font-size: 4.5vw;
    }
    .cd_realisations-home-real-text-name {
        font-size: 4.5vw;
        padding-top: 0.9vw;
        margin-bottom: 1.2vw;
    }
    .cd_realisations-home-real-text-city {
        font-size: 4.4vw;
    }
    .cd_realisations-home-real-text-desc {
        font-size: 3.8vw;
        padding: 0 3vw;
        letter-spacing: 0.2vw;
        padding-bottom: 3vw;
        margin-bottom: 8.5vw;
    }
    .cd_realisations-home-listing > li > .cd_realisations-home-real-image {
        bottom: 7vw;
        left: 6.3vw;
        right: 5vw;
        height: 61vw;
    }
    .cd_realisations-home .cd_realisations-home-link-allrealisations {
        padding: 2.4vw 3.9vw 1.5vw;
        font-size: 4.4vw;
    }
}
