/*
Theme Name: Fischer SAS
Template: Divi
Version: 0.1
Description: Extended Divi theme for Fischer SAS specific theme
Author: Menges Jean
Author URI: https://www.mengesjean.fr
*/
@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@200;300;400;500;600;700&display=swap');

* {
    font-family: Mulish;
}

.carousel-item {
    height: 75vh;
    width: 100vw;
    position: relative;
}

.carousel-item--thumbnail {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
}

.carousel-item--content {
    background-color: rgba(35, 35, 35, 0.63);
    width: 100%;
    bottom: 0;
    position: absolute;
    left: 0;
    padding: 15px 45px;
    display: flex;
    justify-content: space-between;
}

.carousel-item--content * {
    color: white;
}

.carousel-item--content>h2 {
    width: 35%;
    font-size: 2.5rem;
    font-weight: 300;
}


.carousel-item--content>p {
    width: 60%;
    font-size: 1.2rem;
    font-weight: 300;
}

@media screen and (max-width: 659px){
    .carousel-item--content {
        flex-direction: column;
        padding-left: 10px!important; 
        padding-right: 10px!important; 
    }
    .carousel-item--content > * {
        width: 100%!important;
    }

    .carousel-item--content>h2 {
        font-size: 2rem;
    }
    
    
    .carousel-item--content>p {
        font-size: 1rem;
    }
}

.quad-block .et_pb_column {
    padding-left: 50px;
}

.quad-block .et_pb_column:first-child::before {
    content: url(assets/icon1.svg);
    position: absolute;
    left: -20px;
    top: 10px;
}



.quad-block .et_pb_column:last-child::before {
    content: url(assets/icon2.svg);
    position: absolute;
    left: -20px;
    top: 10px;
}


.quad-block:last-child .et_pb_column:first-child::before {
    content: url(assets/icon3.svg);
    position: absolute;
    left: -20px;
    top: 10px;
}


.quad-block:last-child .et_pb_column:last-child::before {
    content: url(assets/icon4.svg);
    position: absolute;
    left: -20px;
    top: 10px;
}

#number-banner {
    display: flex;
    align-items: center;
}

#number-banner .et_pb_column {
    position: relative;
    margin: 0 !important;
    width: 25% !important;
}

@media screen and (max-width: 959px) {
    #number-banner .et_pb_column {
        width: 50% !important;
    }
}

@media screen and (max-width: 659px) {
    #number-banner .et_pb_column {
        width: 100% !important;
    }
}


.ds-timeline .timeline-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 0;
    padding: 0 0 50px;
    position: relative;
}

.ds-timeline .timeline-item:after {
    content: '';
    position: absolute;
    width: 3px;
    height: 100%;
    visibility: visible;
    top: 0;
    left: 0;
    margin-left: -1.5px;
    background-color: #FF000C;
}

.ds-timeline .timeline-item .col-date {
    position: relative;
    padding-left: 40px;
}

.ds-timeline .timeline-item .col-date:before {
    content: '';
    position: absolute;
    left: -18px;
    top: 50%;
    background-color: #FF000C;
    width: 26px;
    height: 26px;
    margin-top: -35px;
    border: 5px solid #f4f4f4;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    border-radius: 50%;
}

.ds-timeline .timeline-item .col-details {
    padding-left: 40px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    border-radius: 3px;
}

.ds-timeline .tm-date {
    font-size: 18px;
}

.ds-timeline .tm-date h4 {
    font-weight: 600;
    font-size: 23px;
    margin: 8px 0;
}

.ds-timeline .tm-video .et_pb_video_play {
    font-size: 50px;
    line-height: 56px;
    margin: -28px auto auto -28px;
}

.ds-timeline .tm-video .et_pb_video_play:before {
    content: '\45';
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    border-radius: 50%;
    -webkit-transition: all 0.3s ease-in;
    -moz-transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
    -webkit-transition-delay: 0;
    -moz-transition-delay: 0;
    -ms-transition-delay: 0;
    -o-transition-delay: 0;
    transition-delay: 0;
    display: inline-block;
    width: 56px;
    height: 56px;
    top: 50%;
    left: 50%;
    border: 2px solid #fff;
    background-color: rgba(255, 255, 255, 0);
    color: #fff;
    text-align: center;
}

.ds-timeline .tm-video:hover .et_pb_video_play:before {
    background: #FF000C;
    border-color: #FF000C;
    -webkit-transform: scale(1.25);
    -moz-transform: scale(1.25);
    -ms-transform: scale(1.25);
    -o-transform: scale(1.25);
    transform: scale(1.25);
}

.ds-timeline .tm-desc {
    padding: 30px;
    background-color: #fff;
}

.ds-timeline .tm-title {
    border-bottom: 2px solid #f4f4f4;
    border-left: 3px solid #FF000C;
    background-color: #fff;
    padding: 15px 30px;
}

.ds-timeline .tm-title h3 {
    padding: 0;
    line-height: 1.1;
    font-weight: 600;
}

.ds-timeline .tm-countdown {
    background-color: transparent !important;
    padding: 0;
    margin-bottom: 10px !important;
}

.ds-timeline .tm-countdown .et_pb_countdown_timer_container {
    text-align: left;
    display: flex;
}

.ds-timeline .tm-countdown .section.values {
    width: auto;
    max-width: 95px;
    flex-grow: 1;
    background-color: #fff;
    color: #1d1c21;
    padding: 12px 8px;
    border-top: 3px solid #FF000C;
    margin-right: 10px;
}

.ds-timeline .tm-countdown .section.values:last-child {
    margin-right: 0;
}

.ds-timeline .tm-countdown .section.values .value {
    font-weight: 800;
    font-size: 27px !important;
    line-height: 1 !important;
}

.ds-timeline .tm-countdown .section.values .label {
    text-transform: uppercase;
}

.ds-timeline .tm-countdown .section.sep {
    display: none;
}

@media (min-width: 980px) {
    .ds-timeline .timeline-item:after {
        left: 50% !important;
    }

    .ds-timeline .timeline-item:first-child:after {
        height: 50%;
        top: 50%;
    }

    .ds-timeline .timeline-item:last-child:after {
        height: 50%;
    }

    .ds-timeline .timeline-item.even {
        flex-direction: row-reverse;
    }

    .ds-timeline .timeline-item.even .col-details {
        padding-right: 40px;
        padding-left: 0 !important;
    }

    .ds-timeline .timeline-item.odd .col-date {
        padding-right: 40px;
        padding-left: 0 !important;
    }

    .ds-timeline .timeline-item.odd .col-date:before {
        left: auto;
        right: -18px;
    }

    .ds-timeline .timeline-item.odd .et_pb_button_module_wrapper {
        text-align: right;
    }

    .ds-timeline .timeline-item.odd .tm-date {
        text-align: right;
    }

    .ds-timeline .timeline-item.odd .tm-countdown .et_pb_countdown_timer_container {
        justify-content: flex-end;
    }
}

.reference-container {
    display: flex;
    align-items: center;
    padding: 0!important;
}

.wp-block-group__inner-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.wp-block-group__inner-container img {
    transform: scale(.9);
}


.toggler {
    width: 100%;
}
.toggler_header {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.toggler_header > * {
    border: 1px solid #a7a7a7a6;
    cursor: pointer;
    text-align: center;
}
.toggler_header__item {
    position: relative;
    padding: 15px 20px;
    width: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    transition: all .3s ease-in-out;
    color: black;
}

@media screen and (max-width: 959px){
    .toggler_header__item {
        width: 50%;
    }
    .toggler_header__item:last-of-type {
        width: 100%;
    }
    .wp-block-group__inner-container {
        flex-direction: column;
    }
}


.toggler_header__item:hover {
    background: whitesmoke;
}

.toggler_header__item.active:after {
    content: ''; 
    position: absolute;
    width: 100%;
    height: 2px;
    background: #FF000C;
    left: 0;
    bottom: 0;
}

.toggler_content__item {
    display: none;
    padding: 5vh 10vw;
}

.toggler_content__item.active {
    display: block!important;
}

.et_pb_button_module_wrapper .et_pb_button, .et_pb_button_module_wrapper .et_pb_button:hover {
    font-size: 17px!important;
    padding: 7px 40px!important;
    font-weight: bold;
    font-family: Mulish;
}

.wpcf7-form label {
    font-family: Mulish;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 143.5%;
    color: #000000;
    margin-bottom: 10px;
    display: inline-block;
}

.form-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    align-items: center;
}

.form-group {
    width: 48%;
}

.form-group-full {
    width: 100%;
}

.form-line-col {
    width: 48%;
}

@media screen and (max-width: 659px){
    .form-line-col {
        width: 100%;
    }

    .form-group {
        width: 100%;
        margin-bottom: 30px;
    }
    .form-line {
        flex-direction: column;
        margin-bottom: 0px;
    }
}

.form-line-col .form-group-full {
    margin-bottom: 5px;
}

input[type="text"], input[type="email"], input[type="tel"], textarea {
    background: #FFFFFF;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    border: none;
    padding: 15px 20px;
    width: 100%;
}

.et_pb_button {
    cursor: pointer;
}

.wpcf7-form .et_pb_button, .wpcf7-form .et_pb_button:hover {
    font-size: 18px!important;
    padding-left: 25px!important;
    padding-right: 25px!important;
}

.adresse-block p {
    padding-bottom: 0px!important;
}

.phone-number-content {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 5px;
    padding-right: 25px;
}

.phone-number-content a {
    color: rgba(0, 0, 0, 0.6);
    cursor: pointer;
    z-index: 9;
}

.svg-phone {
    margin-right: 10px;
    transform: scale(.8);
}

.et_header_style_left #et-top-navigation, .et_header_style_split #et-top-navigation {
    padding-top: 10px!important;
}

.et_menu_container {
    padding-right: 0!important;
}

#top-menu li {
    padding-right: 1vw!important;
    padding-left: 1vw!important;
}

.phone-number-mobile {
    display: none;
}

.phone-number-mobile .phone-number-content {
    justify-content: center;
    margin-bottom: 0!important;
    padding-right: 0!important;
}


@media screen and (max-width: 980px) {
    .phone-number-mobile {
        display: block!important;
    }
    .phone-number-desktop {
        display: none!important;
    }
}

#top-menu a {
    padding-bottom: 20px!important;
    padding-top: 20px!important;
}

.current_page_item a {
    color: rgba(0, 0, 0, 0.6)!important;
}

.current_page_item.menu-item-type-post_type a {
    color: inherit!important;
}


.current_page_item.menu-item-type-post_type:after {
    content: '';
    height: 2px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgb(255, 0, 12);
}

#top-menu li:last-of-type {
    background-color: rgba(255, 0, 12, 0.6);;
    padding-left: 2vw!important;
    padding-right: 2vw!important;
}

#top-menu li:last-of-type a {
    text-transform: uppercase;
    color: white!important;
}

#top-menu li:last-of-type.current_page_item {
    background: rgb(255, 0, 12);
}

.bx-wrapper {
    border: 0!important;
} 

.et-search-form, .nav li ul, .et_mobile_menu, .footer-widget li:before, blockquote {
    border-color: #FF000C!important;
}

.mobile_menu_bar:before {
    color: black!important;
}

.et_pb_column.et_pb_column_empty {
    display: block!important;
}

#main-footer {
    display: flex;
    justify-content: space-between;
    padding: 3vh 7vw;
}


.footer-col {
    flex:1;
    padding: 0 2vw;
}

.footer-col h2 {
    font-size: 1.3rem;
    color: white!important;
}

.footer-col p, .footer-col li {
    padding-bottom: 3px;
    color: #000000!important;
}

.footer-col a {
    color: #000000!important;
}

.social-footer h2 {
    padding-bottom: 40px;
    display: block;
}

.social-footer {
    text-align: center;
}

.social-footer p {
    display: flex;
    justify-content: center;
}

.footer-col:last-of-type {
    align-self: center;
}

@media screen and (max-width: 980px) {
    #main-footer {
        flex-direction: column;
    }

    .footer-col {
        margin-bottom: 20px;
    }

    .social-footer p {
        justify-content: flex-start;
    }
    .social-footer {
        text-align: left;
    }

    .reference-container .et_pb_column {
        width: 15.6%!important;
    }
}


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

    .reference-container .et_pb_column {
        width: 100%!important;
    }

    .reference-container .et_pb_image .et_pb_image_wrap {
        display: flex;
        justify-content: center;
    }
}

.toggler_content__item h3 {
    margin-top: 15px;
    margin-bottom: 15px;
}


.toggler_content__item h4 {
    margin-top: 10px;
    margin-bottom: 10px;
}


.toggler_content__item p {
    padding-bottom: 3px;
}

.toggler_content__item ul {
    padding: 0 0 23px 23px;
}

.website-author {
    background-color: #222222;
    color: white;
    padding-left: 1rem;
    font-size: .8rem;
}

.website-author a {
    color: white!important;
    font-weight: bold;
}