.header-navbar ul li a {
    text-transform: uppercase;
}

.header-navbar ul li a:after {
    content: "";
    position: absolute;
    top: 100%;
    width: 90%;
    left: 5%;
    right: 0;
    height: 1px;
    -moz-transform: scaleX(0);
    -o-transform: scaleX(0);
    -ms-transform: scaleX(0);
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -o-animation: button_fill_left_out .3s cubic-bezier(.7, 0, .3, 1) both;
    -moz-animation: button_fill_left_out .3s cubic-bezier(.7, 0, .3, 1) both;
    -webkit-animation: button_fill_left_out .3s cubic-bezier(.7, 0, .3, 1) both;
    animation: button_fill_left_out .3s cubic-bezier(.7, 0, .3, 1) both;
    background-color: #6f882c;
}

.header-navbar ul li.active a:after, .header-navbar ul li a:hover:after {
    -o-animation: button_fill_left_in .3s cubic-bezier(.7, 0, .3, 1) both;
    -moz-animation: button_fill_left_in .3s cubic-bezier(.7, 0, .3, 1) both;
    -webkit-animation: button_fill_left_in .3s cubic-bezier(.7, 0, .3, 1) both;
    animation: button_fill_left_in .3s cubic-bezier(.7, 0, .3, 1) both;
}

.overlay-content p {
    font-weight: 500;
}

.project-1-first-section {
    padding-bottom: 0;
}

.para-first a, .green-a a {
    color: #6f882c;
    background-size: 100% 100%;
    background-position: 100%;
    background-repeat: no-repeat;
    background-image: linear-gradient(transparent calc(100% - 1px), #6f882c 1px);
    text-decoration: none;
}

a.dash-project-button {
    color: white;
}

.btn-gablok {
    background: var(--theme-color-main);
    border: 3px solid var(--theme-color-main);
    width: fit-content;
    border-radius: 2px;
    text-transform: uppercase;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
}


.btn-gablok:hover, .btn-gablok:focus {
    background: var(--theme-color-secondary);
    border: 3px solid var(--theme-color-secondary);
}

.gablok-pagination ul.pagination li.page-item a {
    border: none;
    background: none;
    font-size: 18px;
    text-decoration: none;
    position: relative;
    color: var(--theme-color-main);
    font-family: 'Fira Sans', sans-serif;
    box-shadow: none;
    font-weight: bold;
}

.gablok-pagination ul.pagination li.page-item.active a {
    color: #000;
}

.gablok-pagination ul.pagination li.page-item.active a:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--theme-color-main);
    height: 2px;
    transition: all 0.3s ease;
    z-index: 0;
    width: 23px;
    margin: 0 auto;
}

.elements-more-info {
    background: var(--theme-color-secondary);
    padding: 6rem 0;
}

.modal-header .btn-close {
    box-shadow: none;
}

.faq-item-answer h2 {
    text-align: center;
    font-size: 50px;
}

.faq-item-answer h3 {
    text-align: center;
    font-size: 30px;
}

.article-content img {
    max-width: 100%;
    height: auto;
}

/* Media queries */
@media (min-width: 992px) and (max-width: 1200px) {
    .header-navbar ul li a {
        font-size: 15px;
    }
}

@media (max-width: 575px) {
    .btn-gablok {
        font-size: 16px;
    }
}

@media (max-width: 965px) {
    .faq-heading-mar {
        margin-top: 130px;
    }
}


/* Keyframes */
@-webkit-keyframes button_fill_left_out {
    0% {
        -moz-transform: scaleX(1);
        -o-transform: scaleX(1);
        -ms-transform: scaleX(1);
        -webkit-transform: scaleX(1);
        transform: scaleX(1);
        moz-transform-origin: 100% 50%;
        -o-transform-origin: 100% 50%;
        -ms-transform-origin: 100% 50%;
        -webkit-transform-origin: 100% 50%;
        transform-origin: 100% 50%;
    }
    to {
        -moz-transform: scaleX(0);
        -o-transform: scaleX(0);
        -ms-transform: scaleX(0);
        -webkit-transform: scaleX(0);
        transform: scaleX(0);
        moz-transform-origin: 100% 50%;
        -o-transform-origin: 100% 50%;
        -ms-transform-origin: 100% 50%;
        -webkit-transform-origin: 100% 50%;
        transform-origin: 100% 50%;
    }
}

@-moz-keyframes button_fill_left_out {
    0% {
        -moz-transform: scaleX(1);
        -o-transform: scaleX(1);
        -ms-transform: scaleX(1);
        -webkit-transform: scaleX(1);
        transform: scaleX(1);
        moz-transform-origin: 100% 50%;
        -o-transform-origin: 100% 50%;
        -ms-transform-origin: 100% 50%;
        -webkit-transform-origin: 100% 50%;
        transform-origin: 100% 50%;
    }
    to {
        -moz-transform: scaleX(0);
        -o-transform: scaleX(0);
        -ms-transform: scaleX(0);
        -webkit-transform: scaleX(0);
        transform: scaleX(0);
        moz-transform-origin: 100% 50%;
        -o-transform-origin: 100% 50%;
        -ms-transform-origin: 100% 50%;
        -webkit-transform-origin: 100% 50%;
        transform-origin: 100% 50%;
    }
}

@-o-keyframes button_fill_left_out {
    0% {
        -moz-transform: scaleX(1);
        -o-transform: scaleX(1);
        -ms-transform: scaleX(1);
        -webkit-transform: scaleX(1);
        transform: scaleX(1);
        moz-transform-origin: 100% 50%;
        -o-transform-origin: 100% 50%;
        -ms-transform-origin: 100% 50%;
        -webkit-transform-origin: 100% 50%;
        transform-origin: 100% 50%;
    }
    to {
        -moz-transform: scaleX(0);
        -o-transform: scaleX(0);
        -ms-transform: scaleX(0);
        -webkit-transform: scaleX(0);
        transform: scaleX(0);
        moz-transform-origin: 100% 50%;
        -o-transform-origin: 100% 50%;
        -ms-transform-origin: 100% 50%;
        -webkit-transform-origin: 100% 50%;
        transform-origin: 100% 50%;
    }
}

@keyframes button_fill_left_out {
    0% {
        -moz-transform: scaleX(1);
        -o-transform: scaleX(1);
        -ms-transform: scaleX(1);
        -webkit-transform: scaleX(1);
        transform: scaleX(1);
        moz-transform-origin: 100% 50%;
        -o-transform-origin: 100% 50%;
        -ms-transform-origin: 100% 50%;
        -webkit-transform-origin: 100% 50%;
        transform-origin: 100% 50%;
    }
    to {
        -moz-transform: scaleX(0);
        -o-transform: scaleX(0);
        -ms-transform: scaleX(0);
        -webkit-transform: scaleX(0);
        transform: scaleX(0);
        moz-transform-origin: 100% 50%;
        -o-transform-origin: 100% 50%;
        -ms-transform-origin: 100% 50%;
        -webkit-transform-origin: 100% 50%;
        transform-origin: 100% 50%;
    }
}

@-webkit-keyframes button_fill_left_in {
    0% {
        -moz-transform: scaleX(0);
        -o-transform: scaleX(0);
        -ms-transform: scaleX(0);
        -webkit-transform: scaleX(0);
        transform: scaleX(0);
        moz-transform-origin: 0 50%;
        -o-transform-origin: 0 50%;
        -ms-transform-origin: 0 50%;
        -webkit-transform-origin: 0 50%;
        transform-origin: 0 50%;
    }
    to {
        -moz-transform: scaleX(1);
        -o-transform: scaleX(1);
        -ms-transform: scaleX(1);
        -webkit-transform: scaleX(1);
        transform: scaleX(1);
        moz-transform-origin: 0 50%;
        -o-transform-origin: 0 50%;
        -ms-transform-origin: 0 50%;
        -webkit-transform-origin: 0 50%;
        transform-origin: 0 50%;
    }
}

@-moz-keyframes button_fill_left_in {
    0% {
        -moz-transform: scaleX(0);
        -o-transform: scaleX(0);
        -ms-transform: scaleX(0);
        -webkit-transform: scaleX(0);
        transform: scaleX(0);
        moz-transform-origin: 0 50%;
        -o-transform-origin: 0 50%;
        -ms-transform-origin: 0 50%;
        -webkit-transform-origin: 0 50%;
        transform-origin: 0 50%;
    }
    to {
        -moz-transform: scaleX(1);
        -o-transform: scaleX(1);
        -ms-transform: scaleX(1);
        -webkit-transform: scaleX(1);
        transform: scaleX(1);
        moz-transform-origin: 0 50%;
        -o-transform-origin: 0 50%;
        -ms-transform-origin: 0 50%;
        -webkit-transform-origin: 0 50%;
        transform-origin: 0 50%;
    }
}

@-o-keyframes button_fill_left_in {
    0% {
        -moz-transform: scaleX(0);
        -o-transform: scaleX(0);
        -ms-transform: scaleX(0);
        -webkit-transform: scaleX(0);
        transform: scaleX(0);
        moz-transform-origin: 0 50%;
        -o-transform-origin: 0 50%;
        -ms-transform-origin: 0 50%;
        -webkit-transform-origin: 0 50%;
        transform-origin: 0 50%;
    }
    to {
        -moz-transform: scaleX(1);
        -o-transform: scaleX(1);
        -ms-transform: scaleX(1);
        -webkit-transform: scaleX(1);
        transform: scaleX(1);
        moz-transform-origin: 0 50%;
        -o-transform-origin: 0 50%;
        -ms-transform-origin: 0 50%;
        -webkit-transform-origin: 0 50%;
        transform-origin: 0 50%;
    }
}

@keyframes button_fill_left_in {
    0% {
        -moz-transform: scaleX(0);
        -o-transform: scaleX(0);
        -ms-transform: scaleX(0);
        -webkit-transform: scaleX(0);
        transform: scaleX(0);
        moz-transform-origin: 0 50%;
        -o-transform-origin: 0 50%;
        -ms-transform-origin: 0 50%;
        -webkit-transform-origin: 0 50%;
        transform-origin: 0 50%;
    }
    to {
        -moz-transform: scaleX(1);
        -o-transform: scaleX(1);
        -ms-transform: scaleX(1);
        -webkit-transform: scaleX(1);
        transform: scaleX(1);
        moz-transform-origin: 0 50%;
        -o-transform-origin: 0 50%;
        -ms-transform-origin: 0 50%;
        -webkit-transform-origin: 0 50%;
        transform-origin: 0 50%;
    }
}


.heading-first h2, section.elements-more-info h2 {
    font-size: 50px;
    font-weight: 600;
    color: var(--theme-color-dark);
    font-family: 'Fira Sans', sans-serif;
    position: relative;
}

@media screen and (max-width: 965px) {
    .heading-first h2, section.elements-more-info h2 {
        font-size: 40px;
    }

    /*.who-gab-hori h2, section.elements-more-info h2 {*/
    /*    margin-top: 80px;*/
    /*}*/
}


/* ----------------------------------- */

.side-dashboard a h3 {
    font-size: 16px;
    color: #3f4646;
    font-weight: 500;
    padding-top: 10px;
    font-family: 'Fira Sans', sans-serif;
    margin-bottom: 1.2rem;
}

/* ----------------------------------- */


.item-heading {
    font-size: 18px;
    font-family: 'Fira Sans', sans-serif;
}

/* ----------------------------------- */

.about-first-heading h2 {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    font-family: 'Fira Sans', sans-serif;
    padding-top: 9px;
    /*margin-bottom: 38px;*/
    margin-bottom: 20px;
}

/* ----------------------------------- */


.about-sec-team-bg .about-first-heading h2 {
    font-size: 50px;
    color: #2c3434;
    font-family: 'Fira Sans', sans-serif;
    text-align: center;
    font-weight: 500;
}

@media screen and (max-width: 965px) {
    .about-sec-team-bg .about-first-heading h2 {
        font-size: 40px;
    }
}

/* ----------------------------------- */

.about-img-content > span {
    font-size: 1.3rem;
    display: inline;
    padding: 2px 0;
    background: #6f882c;
    color: #fff;
    font-weight: 400;
    line-height: 25px;
    margin: 0;
    font-family: 'Fira Sans', sans-serif;
}


/* ----------------------------------- */
.faq-second-heading {
    margin-top: 2rem;
}

.faq-second-heading h2 {
    font-size: 55px;
    font-weight: 600;
    font-family: 'Fira Sans', sans-serif;
    color: #2c3434;
}

.is-page-faq:not(.is-action-detail) .faq-second-heading h2 {
    max-width: 500px;
}


@media screen and (max-width: 965px) {
    .faq-second-heading h2 {
        font-size: 40px;
    }
}


/* ----------------------------------- */
.side-dashboard a {
    padding-bottom: 1.4rem;
}

.side-dashboard a span.why-item-text {
    font-size: 16px;
    color: #3f4646;
    font-weight: 500;
    padding-top: 10px;
    font-family: 'Fira Sans', sans-serif;
    margin-bottom: 1.2rem;
}


/* ----------------------------------- */

.contect-form-text .contact-option-text {
    margin-top: 0;
    margin-bottom: .5rem;
    line-height: 1.2;
    color: var(--bs-heading-color);
    font-size: 18px;
    font-family: 'Fira Sans', sans-serif;
    font-weight: 300;
}

.contect-form-text label .contact-option-text {
    position: relative;
    top: -6px;
}

/* ----------------------------------- */

.overlay-content h2 {
    background-color: var(--theme-color-secondary);
    color: #fff;
    font-size: 1.2rem;
    line-height: 30px;
    font-weight: 500;
    padding: 0.5rem 2.1rem 0.7rem 2.1rem;
    margin-bottom: 0;
}

.titre-card h3 {
    font-size: 24px;
    font-family: 'Fira Sans', sans-serif;
    font-weight: 700;
    color: #2c3434;
    padding: 0.5rem;
    position: relative;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.titre-card h3::after {
    content: "";
    position: absolute;
    width: 50%;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translate(-50%);
    background-color: #6f882c;
}

.element-card a:hover .titre-card h3 {
    color: #fff;
}

.why-posi-stikcy .heading-first h2, .second-block-top-margin .heading-first h2 {
    color: #2c3434;
}

.border-top {
    border-top: var(--bs-border-width) var(--bs-border-style) #1d4229 !important;
}

.testimonial-back-img .heading-first h2 {
    color: var(--theme-color-main);
    font-weight: 600;
}

.testimonial-back-img .para-first p {
    color: var(--theme-color-light);
    text-align: center;
}

@media (max-width: 1400px) {
    header nav .it-starts-here {
        display: none;
    }
}


section.elements-more-info h2, section.elements-more-info p, section.elements-more-info ul {
    color: var(--theme-color-light);
}

section.elements-more-info.green-a a {
    color: var(--theme-color-main);
    background-image: linear-gradient(transparent calc(100% - 1px), var(--theme-color-main) 1px);
    font-weight: bold;
}

/*input[type="radio"]:checked {*/
/*    background-color: green;*/
/*}*/

.form-check-input:checked {
    background-color: var(--theme-color-main);
    border-color: var(--theme-color-secondary);
}


.form-check-input:focus {
    border-color: #1d4229;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(29, 66, 41, 0.2);
}


.other-articles{
    position: relative;
}

.other-articles:before {
    content: "";
    position: absolute;
    display: block;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--theme-color-light-darker-bg);
    height: 80%;
}

.is-page-projects.is-action-detail .faq-heading-mar:after {
    content: none;
}


/* Vimeo video */
.vimeo-video-pa {
    position: relative;
    width: 100%;
    height: 800px;
    overflow: hidden;
    background: rebeccapurple;

}

.vimeo-video-ch {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 178%;
    height: 137%;
    background-color: #fff;
    margin-top: 3rem;

    background-repeat: no-repeat;
    background-position: center;
    background-size: 40%;
}


@media (min-width: 1921px) {
    .vimeo-video-pa {
        height: 1000px;
    }

    .vimeo-video-ch {
        height: 200%;
    }
}

@media (min-width: 2561px) {
    .vimeo-video-pa {
        height: 1300px;
    }

    .vimeo-video-ch {
        height: 230%;
    }
}


@media (max-width: 767px) {
    .vimeo-video-pa {
        width: 190%;
        height: 600px;
    }

    .vimeo-video-ch {
        margin-top: 0;
        width: 200%;
        height: 200%;

        background-size: 22%;
        background-position-x: 35%;
    }
}


@media (max-width: 500px) {
    .vimeo-video-pa {
        width: 190%;
        height: 500px;
    }

    .vimeo-video-ch {
        margin-top: 0;
        width: 160%;
        height: 200%;
        left: 20%;

        background-size: 35%;
        background-position-x: 56%;
    }
}

@media (max-width: 300px) {
    .vimeo-video-ch {
        width: 218%;

        background-size: 33%;
        background-position-x: 54%;
    }
}
/* End Vimeo video */


/* ---------- Modified about + elements ------------------- */

/* Nav dropdown */
.header-navbar ul li.nav-item.dropdown ul {
    border-radius: 0;
}

.header-navbar ul li.nav-item.dropdown ul li {
    padding: 0.2rem 0.5rem;
}

.header-navbar ul li.active ul li a {
    color: #fff;
}

.header-navbar ul li.active ul li a:after {
    content: none;
}

/* End Nav dropdown */


.avanatages-item {
    background: #fff;
    padding: 3rem 2rem;
    height: 100%;
}

@media (max-width: 767px) {
    .avanatages-item {
        padding: 2rem 2rem;
    }
}

.element-animation .elem-num {
    color: #fff;
    font-weight: bold;
    position: relative;
    top: -11px;
    left: 4px;
    font-size: 11px;
}

.element-animation .elem-num.num-2 {
    left: 1px;
}

/* Nos valeurs */
.nos-valeurs .value-item .item-icon {
    width: fit-content;
    background: #e4e8e6;
    border-radius: 2px;
    margin-bottom: 1rem;
}

.nos-valeurs .value-item .item-icon img {
    filter: brightness(0) saturate(100%) invert(41%) sepia(31%) saturate(768%) hue-rotate(55deg) brightness(95%) contrast(91%);
}

@media (max-width: 767px) {
    .nos-valeurs .value-item .para-first p {
        text-align: center;
    }
}


@media (max-width: 991px) {
    .nos-valeurs .heading-first hr {
        margin: 23px 0px;
    }
}

/* Elements changes */
.element-num {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #528837;
    color: #fff;
    font-weight: bold;
    transition: color, background-color 500ms;
}

.element-card a:hover .element-num {
    background: #fff;
    color: #528837;
}

.other-elements {
    padding-top: 10vh;
    padding-bottom: calc(14vh - 3rem);
    background-color: var(--theme-color-main);
}

.other-elements .element-title h2:after {
    display: none;
}

.other-elements .element-num-par {
    position: relative;
    top: -1.2rem;
    right: 1rem;
    text-align: center;
}

/* Concretement Gablok  */
.concretement-gablok {
    margin-top: 0;
    background: #fff;
}

.concretement-gablok .item-icon {
    width: 225px;
    height: 225px;
    /*overflow: hidden;*/
    /*border-radius: 50%;*/
    /*border: 4px solid #528837;*/
    /*border: 4px solid #5288374f;*/
    /*display: flex;*/
    /*justify-content: center;*/
    /*align-items: center;*/
    margin: 0 auto;
}

.concretement-gablok .item-icon img {
    width: 225px;
    height: 225px;
    object-fit: cover;

    overflow: hidden;
    border-radius: 50%;
    border: 4px solid #5288374f;

    position: relative;
    z-index: 1;
}

.concretement-gablok .para-first p {
    text-align: center;
}

.item-num {
    position: absolute;
    left: -53px;
    top: -118px;
    font-size: 10rem;
    font-weight: bold;
    opacity: 0.05;
    z-index: 0;
}

@media (max-width: 575px) {

    .other-elements .element-card-content h2 {
        font-size: 18px;
    }

    .concretement-gablok .item-icon {
        width: 150px;
        height: 150px;
    }

    .concretement-gablok .item-icon img {
        width: 150px;
        height: 150px;
    }

    .concretement-gablok .item-num {
        left: -49px;
        top: -91px;
        font-size: 8rem;
    }
}

.about-heading-resp-mar {
    margin-top: 145px;
}

/*@media screen and (max-width: 965px) {*/
/*    .about-heading-resp-mar {*/
/*        margin-top: 5vh;*/
/*    }*/
/*}*/

@media screen and (max-width: 965px) {
    .about-heading-resp-mar {
        margin-top: 40px;
    }
}

.bg-th-dark-lighter {
    background: var(--theme-color-light-darker-bg);
}

.bg-th-light {
    background: var(--theme-color-light);
}

.is-page-about .about-first-heading p {
    font-weight: 300;
}

.is-page-about #en-pratique {
    padding-bottom: calc(15vh - 3rem);
}

.is-page-about #les-avantages {
    padding-top: 11vh;
}

.is-page-about .systeme-construction-content .row img {
    height: 95%;
    object-fit: cover;
    border-radius: 3px;
    width: 100%;
    max-width: 800px;
}

.is-page-about .para-first p, .is-page-about .about-first-heading p  {
    font-family: var(--bs-body-font-family);
    line-height: var(--bs-body-line-height);
}

.row-vos-besoins .avanatages-item {
    border: 1px solid #eee;
}

/* ---------- End Modified about + elements ------------------- */



/* paragraphs fonts correction */
.project-section-1 p, .project-section-1 *, .project-section-1 :after, .project-section-1 :before, .is-page-about .para-first p, .is-page-about .about-first-heading p, .avanatages-item p, .avanatages-item span, .is-page-news.is-action-detail .faq-q-1-mar p, .project-first-para span  {
    font-size: 18px;
    font-family: 'Fira Sans', sans-serif;
}
.is-page-about .about-first-heading p span {
    font-weight: inherit !important;
}

/* end paragraphs fonts correction */


/* faq categories */

.faq-accordion .accordion-item .accordion-button {
    /*color: #2c3434;*/
    font-size: 1.2rem;
    font-weight: bold;

    background: #1d4229;
    color: #fff;
    padding: 1.7rem 2rem;
}

.faq-accordion .accordion-item {
    border-bottom: 1px solid #384b08;
}

.faq-accordion .accordion-item .faq-ques {
    margin-top: 30px;
}

.faq-accordion .accordion-button {
    box-shadow: none;
    background-color: transparent;
}

.faq-accordion .accordion-button img {
    margin-right: 1rem;
}


.faq-accordion .accordion-button img, .faq-accordion .accordion-button::after {
    filter: brightness(0) saturate(100%) invert(99%) sepia(32%) saturate(2%) hue-rotate(37deg) brightness(114%) contrast(100%);
}

@media (min-width: 992px) {
    .faq-accordion {
        margin-bottom: -2.2rem;
    }
}

@media (max-width: 767px) {
    .faq-accordion .accordion-item .accordion-button {
        padding: 1.5rem 1.2rem;
        font-size: 1.1rem;
    }
}

/* end faq categories */

