/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

/**
**
** Global
**
**/

@font-face {
    font-family: 'Satoshi';
    src: url('fonts/Satoshi-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Satoshi';
    src: url('fonts/Satoshi-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: bold;
}

@font-face {
    font-family: 'Satoshi-Black';
    src: url('fonts/Satoshi-Black.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Satoshi';
    src: url('fonts/Satoshi-Medium.woff2') format('woff2');
    font-weight: medium;
    font-style: medium;
}

p, li, span, strong, em, button[type=submit] {
    color: #252525; 
    font-family: 'Satoshi', arial!important;
}

button[type=submit] {
    color: #fff!important;
}

.simple-banner-text span {
	font-size: 14px!important;
	color: #fff!important;
}

h1, h2, h3, h4, h5, h6 {
    color: #252525; 
    font-family: 'Satoshi-Black', arial!important;
    font-weight: bold;
}

.toggle-title a{
	line-height: 2rem!important;
}

li {
    font-size: 16px!important;
}

td {
    padding: 10px;
}

td, li {
    margin-left: 30px;
}

p {
    font-size: 1rem;
    line-height: 1.6rem;
}

.comment-respond {
	display: none;
}

/* -- Agences -- */
.box-agence {
    padding: 20px!important; 
    border-radius: 10px!important;
    border: 0.5px solid #3B6A55;
}

.nectar-google-map {
    border-radius: 10px;
    height: 700px;
}

/* -- Buttons -- */
.button-duo a:first-child {
    margin-right: 15px;
}

.regular-button span, .button_solid_color span{
	color: #fff;
}

.widget_nav_menu ul, .widget_nav_menu li {
    margin: 0;
    padding: 0;
}

.widget_nav_menu li a{
    font-size: 12px;
    line-height: 16px;
}

.widget_text p {
    font-size: 12px;
    line-height: 16px;
}

.see-through span {
    color: rgb(80, 160, 124);
}

/* -- bento box -- */
.bento-img img {
    border-radius: 20px;
}

.bento-box {
    padding: 40px!important;
    border-radius: 5px; 
    background: #50a07c07;
    width: 100%;
    border: 0.5px solid #3B6A55;
}

.bento-box p {
    font-size: 14px;
    margin-top: 20px;
}

.bento-box h3 {
    font-size: 1.3rem;
}

.bento-section > div:last-child {
    gap: 10px!important;
    justify-content: center;
    flex-wrap: nowrap!important;
}

/* -- Image with Icon -- */
.iwithtext {
    display: flex;
    align-items: center;
    justify-items: flex-start;
    margin-bottom: 10px!important;
}
.iwithtext .iwt-icon {
    position: inherit;
}
.iwt-icon {
    display: flex;
    align-items: center;
}
.row .col .iwithtext .iwt-icon img:not([srcset]) {
    width: 20px;
    margin: 0;
}
.iwithtext .iwt-text {
    padding-left: 10px;
    font-family: 'Satoshi', arial!important;
    font-weight: bold;
}

.avis-google img {
    max-width: 250px!important;
}

.bloc-shadow {
    border-radius: 20px;
    box-shadow: 0px 0px 0px 20px rgba(0,0,0,0.55);
}

/* -- Bloc Diags -- */

.all-diags > div:last-child {
    gap: 30px!important;
    flex-wrap: nowrap!important;
}

.bloc-diag {
    border: 0.5px solid #3B6A55; 
    border-radius: 20px;
    padding: 40px 40px!important;
    background: #fff;
}

.bloc-diag h2 {
    font-size: 1.6rem;
    color: #3B6A55;
}

.bloc-diag-header > div > div {
    display: flex; 
    gap: 20px;
    align-items: center;
    flex-direction: row;
}

.img-with-aniamtion-wrap .hover-wrap {
    margin-bottom: 0px;
}

.icon-bloc-diag {
    background: #fff;
    border-radius: 50%;
    display: flex; 
    align-items: center;
    border: 0.5px solid #3B6A55;
}

.bloc-diag-header img {
    width: 80px!important;
    display: block;
}

/* -- Team Image -- */
.team-member img {
    width: 100%!important;
    height: 400px!important;
    object-fit: cover!important;
}

/* .nectar-button span, .menu-title-text {

    font-size: 16px;
    font-weight: 900;
} */

/** Header **/ 
.__header {
    text-align: center;
}

.__header h1 {
    font-size: 8vw!important;
    line-height: 4rem;
}

.__header h2 {
    font-size: 3.8vw;
    margin: 20px 0px;
    color: #252525;
}
.__cartouche {
    background-color: #fff;
    padding: 5px 20px!important;
    border-radius: 50px;
    display: inline-block;
    font-weight: 700;
}

/* Unfair Advantage */ 
ul {
    margin-top: 40px;
    margin-left: 0!important;
}
.__unfair-advantage li {
    list-style: none;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    font-weight: 700;
}
.__unfair-advantage li::before {
    content: "";
    background-image: url('/wp-content/uploads/2023/02/validation-dpe.svg');
    background-repeat: no-repeat;
    background-size:100%;
    display: block;
    min-width:30px;
    height:30px;
    margin-right: 15px;
}
.__extra-rounded img{
    border-radius: 200px;
}

/* Box section */ 
.__box-section {
    padding-bottom: 20px;
    border-bottom: 1px solid #D7D7D7;
    margin-right: 0px;
    margin-left: 0px!important;
    width: 100%;
}

.__box-section:last-child {
    padding-right: 0px;
    border-right: none;
}

/* Contenu du DPE */ 
.__dpe-content {
    background-color: #fff;
    padding: 40px 60px!important;
    box-shadow: 0px 0px 25px rgba(0,0,0,0.05)!important;
    border-radius: 15px;
}

.__dpe-content p{
    font-size: 14px;
    line-height: 26px;
}

/* Bloc CTA */ 
.__bloc-cta {
    margin: 40px auto; 
    background-color: #50a07c;
    padding: 40px 40px!important;
    border-radius: 15px; 
}

.__bloc-cta p, .__bloc-cta h2, .__bloc-cta h3 {
    color: #fff;
}

.__bloc-cta h3 {
    font-size: 20px;
    margin: 30px 0px 30px 0px;
}

.__bloc-cta p {
    font-size: 14px;
    line-height: 20px;
}

.__bloc-cta .nectar-button span {
    color: #50a07c;
}


/** Devis **/ 
.main-form {
    background-color: rgb(247, 255, 248);
    padding: 30px 30px;
}

.formulaire {
    background-color: #fff;
    padding: 30px 40px;
    border-radius: 5px;
    box-shadow: 0px 0px 45px rgba(0,0,0,0.05);
    margin: 0 auto;
}

.formulaire h2{
    margin-bottom: 30px; 
    font-size: 1.8rem;
    line-height: 2.5rem;
    text-align: center;
    font-weight: 900;
}

.formulaire p {
    font-size: 14px;
}

.formulaire form {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin: 60px 0px
}

.form-options {
    margin: 40px 0px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.form-options h3 {
    display: block;
    width: 100%;
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: 0px;
    margin-top: 20px;
}

input[type="radio"]+label, .check-form input[type="checkbox"]+label {
    border: 2px solid #29384570;
    color: #29384570;
    padding: 10px 20px;
    margin-top: 20px;
    border-radius: 5px;
    font-weight: 900;
    cursor: pointer;
}

.opt-com {
    line-height: 20px!important;
}
 
.opt-com input[type="checkbox"]+label {
    color:rgb(123, 123, 123);
    font-size: 0.8rem;
    line-height: 0.5rem;
}

input[type="radio" i], .check-form input[type="checkbox"] {
    display: none;
}

input[type="radio"]:checked+label, .check-form input[type="checkbox"]:checked+label {
    border: 2px solid #50a07c;
    color: #50a07c;
}

input[type="number"], input[type="text"], input[type="email"], input[type="tel"] {
    margin: 20px 0px;
    padding: 10px 30px;
    border: 2px solid #29384570;
    color: #272727;
    font-size: 1rem;
    border-radius: 5px;
    background-color: #fff;
}

input[type="number"]:focus-visible {
    border: 2px solid #50a07c!important;
}

.form-duet {
    display: flex;
	flex-wrap: wrap; 
    gap: 20px;
    width: 100%;
}

.form-duet > div {
    width: 100%;
}

.form-duet input {
    box-sizing: border-box;
    width: 100%;
}

.form-uno {
    width: 100%;
    display: block;
}

.form-uno input {
    box-sizing: border-box;
    width: 100%;
}

.buttons-form {
    margin-top: 60px;
    display: flex;
	flex-wrap: wrap; 
    justify-content: center;
	gap: 30px;
}

.btn {
    border: none;
    padding: 15px 20px; 
    font-size: 1rem;
    display: inline-block;
    transition: all .4s;
    font-weight: 900;
    font-family: 'Satoshi', arial;
    min-width: 200px;
    box-shadow: 0px 0px 45px rgba(0,0,0,0.08);
    border-radius: 5px;
}

::placeholder {
    color: rgb(201, 201, 201);
}

.step p {
    text-align: center;
    font-weight: 200;
    line-height: 1.6rem;
}

.btn-primary{
    background-color: #50a07c;
    color: #fff;
}

.btn-secondary {
    background-color: rgb(232, 232, 232);
    color: rgb(162, 162, 162);
    display: inline-block;
}

.btn-tertiary {
    background-color: #fff;
    border: 2px solid #50a07c; 
    color: #50a07c;
}

.begin {
    display: block!important;
    margin: 0 auto;
}

.btn-div {
    display: flex;
	flex-wrap: wrap;
    justify-content: center;
    gap: 0px;
    margin: 30px auto;
}

button:hover {
    cursor: pointer;
    transform: translateY(-5px);
}

#result {
    opacity: 0;
    transition: all .4s;
}  

#result {
    font-size: 1rem;
    line-height: 1.8rem;
    max-width: 600px;
    margin: 0 auto;
    padding: 30px; 
    text-align: center;
    background-color: #e0e0e050;
    color:rgb(123, 123, 123);
    border-radius: 15px;
}

#dpe-price {
    font-size: 1.3rem;
    line-height: 1.8rem;
    font-weight: 900;
    max-width: 600px;
    margin: 30px auto;
    padding: 30px; 
    background-color: rgb(196, 255, 208);
    color: green;
    border-radius: 15px;
    text-align: center
}

.is-visible {
    opacity: 1!important;
}

footer {
    padding: 50px 0px 0px 0px;
    color: #00000050;
}

/* Etape multistep */ 
.step {
    display: none;
}

.current {
    display: block;
}

/** FIN - Devis **/ 


/* Page contact */
.__bloc-pop {
    padding: 40px;
    background-color: rgb(255, 254, 236);
    border-radius: 15px;
    box-shadow: 0px 0px 25px rgba(0,0,0,0.08);
    text-align: center;
}

.__bloc-pop img{
    max-width: 80px!important;
    border-radius: 50%;
}

.__bloc-pop h2 {
    font-size: 18px;
}

.__bloc-pop h3 {
    font-size: 16px;
    line-height: 1.5rem;
    max-width: 300px;
    color: grey;
    margin: 0px auto;
    margin-bottom: 30px!important;
}

.__bloc-pop p {
    font-size: 14px;
    line-height: 1.3rem;
}

/* Formulaire de contact */ 
.form-content {
    padding: 60px; 
    border: 2px solid #d5d5d5;
    border-radius: 15px;
}

.form-content input, .form-input {
    width: 100%!important;
}

.form-content label {
    font-weight: 900;
}

.form-input {
    margin-top: 20px;
}

.form-input input, .form-input textarea {
    border: none;
    background-color: #00000009;
    border-radius: 0;
    margin: 10px 0px 10px 0px;
}

.form-input input:focus, .form-input textarea:focus {
    border: 2px solid #000!important;
}

.form-row {
    display: flex;
    gap: 30px;
    align-items: center;
}

.form-submit {
    max-width: 300px;
    margin: 0 auto;
}

.__bloc-text h3 {
    border-left: 5px solid #50a07c;
    padding-left: 20px;
    margin-bottom: 20px!important;
    margin-top: 30px;
}

.toggles--minimal-shadow .toggle:before {
    box-shadow: none;
}

.toggle>.toggle-title a {
    font-size: 22px;
    font-weight: 900;
}

.yoast a, .breadcrumb_last{
    font-size: 14px;
}

.yoast a::after{
    content: "";
    width: 10px; 
    height: 10px;
    background-image: url('https://ritmodiag.com/wp-content/uploads/2023/03/breadcrump-dpe.svg');
    background-repeat: no-repeat;
    background-size:100%;
    display: inline-block;
    margin-left: 10px;
}

/* Popup */ 


#modal {
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: fixed; 
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.6)
}

.content-modal {
    padding: 60px 20px 20px 20px; 
    width: 800px;
    max-width: calc(100vw - 80px);
    border-radius: 5px;
    color: #fff;
    background: #50a07c;
    text-align: center;
    position: relative;
}

.content-modal img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 15px;
}

.content-modal h1 {
    font-size: 1.4rem;
    line-height: 1.8rem;
    color: #fff;
}

.content-modal h2 {
    font-size: 1rem;
    color: #fff;
}

.content-modal .btn {
    background-color: #fff;
    border-radius: 5px;
    display: inline-block;
    margin: 50px auto 0px auto;
    padding: 20px;
    color: #50a07c;
    text-decoration: none;
}

.content-modal button {
    background: none;
    border: none; 
}

.content-modal button:hover {
    transform: inherit;
}

.content-modal button::after {
    content: "";
    display: block;
    background-image: url('https://ritmodiag.com/wp-content/uploads/2023/04/croix-blanche-ritmo-diag.svg');
    background-size: contain;
    width: 40px; 
    height: 40px;
    position: absolute;
    top: 30px;
    right: 30px;
    cursor: pointer;
}

/* Footer */ 
#footer-widgets p {
    color: #fff;
}

/* -- CTA Section -- */
.cta-section {
    color: #fff!important;
    padding: 40px 80px!important;
    text-align: center;
}

.cta-section .using-bg-color {
    border-radius: 20px!important;
}

.cta-section h2, .cta-section p {
    color: #fff!important;
    max-width: 800px;
    margin: 0 auto;
}

.mentions-form {
	margin-bottom: 40px;
}

.mentions-form input{
	width: inherit!important;
}

.see-through span {
	color: #fff!important;
}

.cta-white span {
	color: #50a07c!important;
}


/* ecran de plus de 900 pixels */ 
@media screen and (min-width: 900px) {
    .__flex-gap > div  {
        gap: 30px!important;
        flex-wrap: nowrap!important;
    }
    .__header {
        text-align: left;
    }
    .__header h1 {
        font-size: 4vmax!important;
    }
    .__header h2 {
        font-size: 2.2vw;
    }
    .__box-section {
        margin-bottom: 20px;
    }
    .__bloc-pop {
        padding: 40px;
        text-align: left;
    }
    
    .__bloc-pop img{
        max-width: 150px!important;
    }
    
    .__bloc-pop h3 {
        max-width: 800px;
        margin: 0px 0px;
        margin-bottom: 10px!important;
    }
    .__bloc-pop p {
        font-size: 14px;
        line-height: 1.6rem;
    }
    .__bloc-text {
        padding-right: 100px!important;
    }
	.buttons-form {
		flex-wrap: no-wrap; 
		justify-content: space-between;
		gap: 0px;
	}
	.form-duet {
		flex-wrap: nowrap;
	}
	
	.btn-div {
		flex-wrap: nowrap;
		gap: 40px;
		margin: 30px auto;
	}
}

/* ecran de plus de 1380 pixels */ 
@media screen and (min-width: 1380px) {

    /** Header **/ 
    .__header h1 {
        font-size: 5vmin!important;
        line-height: 4.5rem;
    }
    .__header h2 {
        font-size: 2.8vmin;
    }

    /* Box sections */ 
    .__box-section {
        padding-right: 50px!important;
        padding-left: 40px!important; 
        border-bottom: 0px;
        border-right: 1px solid #D7D7D7;
        margin-right: 30px;
        margin-left: 40px!important;
        width: 30%;
    }

    .__box-section:last-child {
        padding-right: 0px;
        border-right: none;
    }

    /* Modal */ 
    .content-modal {
        padding: 80px; 
    }


    .content-modal img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 15px;
        margin-top: 20px;
    }

    /** Devis **/ 
    .formulaire {
        max-width: 800px;
    }

    .formulaire h2{
        font-size: 2rem;
        line-height: 3rem;
    }
}

.badge-uppage {
    display: flex;
    justify-content: center;
}

.badge-uppage p {
    display: inline-block;
    margin: 0 auto;
    background-color: #50a07c;
    color: #F5FFDE;
    border-radius: 20px;
    padding: 2px 15px;
    font-weight: bold;
}

.diagnostiqueur-dpe {
    padding: 60px!important;
    background-color: #50a07c15;
    border-radius: 20px;
}

.diagnostiqueur-dpe img {
    width: 120px;
    height: 120px;
    margin-bottom: 30px;
    object-fit: cover;
    border-radius: 50%;
}

.diagnostiqueur-dpe h3 {
    margin: 30px 0px;
    font-size: 1.3rem;
}

.cta-box {
    background-color: #50a07c;
    border-radius: 20px;
    padding: 40px;
}

.cta-box p, .cta-box p strong, .cta-box h2 {
    color: #fff;
}

.certifications {
    background-color: #fff;
    padding: 20px;
    border-radius: 20px;
}

.certifications p {
    font-size: 0.8rem;
}

.wpcf7-list-item .first .last label{
	display: flex!important;
}
body[data-form-submit=regular] .container-wrap input[type=submit] {
	font-family: 'Satoshi', arial!important; 
}

.row_diagnostiqueur h4 {
	font-size: 14px!important;
}

.row_diagnostiqueur .position {
	font-size: 12px!important;
	line-height: 15px;
}

@media screen and (max-width: 900px) {
    .button-duo a {
        display: block!important;
        width: 100%!important;
        text-align: center;
    }
    .avis-google > div > div > div > div > div > div {
        display: flex; 
        justify-content: center;
    }
    .avis-google img {
        text-align: center;
        max-width: 100%!important;
    }
    .all-diags > div:last-child, .bento-section > div:last-child {
        flex-wrap: wrap!important;
        gap: 0px!important;
    }
    .cta-section {
        padding: 40px 20px!important;
    }
    .cta-section h2 {
        font-size: 1.3rem!important;
    }
    #slide-out-widget-area .inner .off-canvas-menu-container li a {
        font-family: 'Satoshi', arial!important;
    }
}