/*
Theme Name: Coherence Child
Theme URI: http://weshore.com/
Author: Weshore Themes
Author URI: https://weshore.com
Template: coherence
Description: Smart, Powerful and Unlimited Customizable WordPress Theme.
Version: 1.0
License: Private License
License URI: license.txt
Text Domain: coherence-child
Tags: responsive, retina, rtl-language-support, blog, portfolio, custom-colors, live-editor
*/


/* My code  */

:root{
    --color1:#154a12;
    --color2:#e87272;
    --color3:#ededed;
    --font1:"Kimberley", sans-serif;
    --font2:"Montserrat", sans-serif;
}
/* form style start */
.search-form-pi .acadp-card {background:#fff !important}
 button.acadp-button-primary, a.acadp-button-secondary, .acadp :is(.acadp-button-primary), a.acadp-button-primary{font-size:18px !important;font-weight:500;font-family:inherit !important;border-radius:32px !important;padding:14px 32px !important;transition:all 0.2s;color:#fff !important;text-transform:capitalize;outline:none !important}
 a.acadp-button-secondary{background:var(--color2) !important;}
 a.acadp-button-secondary:hover{background:var(--color1) !important;outline:none !important}
 button.acadp-button-primary , .acadp :is(.acadp-button-primary), a.acadp-button-primary{background:var(--color1) !important;}
button.acadp-button-primary:hover, .acadp :is(.acadp-button-primary:hover), a.acadp-button-primary:hover{background:var(--color2) !important; outline:none !important}
/* list style start */
.search-form-pi .acadp-listings{margin-top:30px !important;}
.acadp :is(.acadp-form-input:focus),:is(.acadp .acadp-form-select:focus),:is(.acadp .acadp-form-textarea:focus) {border-color:var(--color1) !important;box-shadow:none !important;}
@media only screen and (max-width: 430px){
 .search-form-pi button.acadp-button-primary, .search-form-pi a.acadp-button-secondary,.acadp :is(.acadp-button-primary){font-size:15px !important; padding:14px 26px !important;}   
.search-form-pi .acadp-button-group{flex-wrap:wrap !important;}
.acadp-button-group.acadp-items-center{display:flex;flex-direction:column !important;align-items:start !important;}
}
.acadp :is(.acadp-badge-new) {background-color: rgb(232 114 114 / 22%) !important; color: rgb(23 36 79) !important;}

/* page login  */
.acadp a.acadp-button-logout {margin-block:10% !important}
a.acadp-button-whatsapp:hover, a.acadp-button-twitter:hover, a.acadp-button-facebook:hover{background:var(--color2) !important;color:#fff !important;}
.acadp-author-datetime, time.acadp-datetime, .acadp-button-add-to-favourites,.acadp-button-remove-from-favourites, .acadp-button-report{display:none !important}

@media (min-width: 768px) {
    .acadp :is(.md\:acadp-w-1\/3) {
        width: 40% ;
    }
}
@media (min-width: 768px) {
    .acadp :is(.md\:acadp-w-2\/3) {
        width: 60%;
    }
}
/* END de my code  */

/*-----------------------------------------***style header***----------------------------------*/
.section-footer .menu-icon-home > a i{display:none !important;}
.section-header .coherence-core-nav-menu .menu-icon-rs {margin-inline: 5px !important;}
.section-header .coherence-core-nav-menu .menu-icon-rs > a {padding-inline: 5px !important;}

@media only screen and (min-width: 1025px){
	.section-header .menu-icon-home > a span{display: none;}
}
@media only screen and (max-width: 1024px){
	.section-header .menu-icon-home > a i{display:none !important;}
	.section-header .coherence-core-dropdown .menu-icon-rs{display:none !important;}
}


/*------------------------------------------------------***End***------------------------------------------------------*/


/*------------------------------------------------------***Begin Pages internes Style***------------------------------------------------------*/


/*------------------------------------------------------***End***------------------------------------------------------*/

 * :is(a[href^="tel:"]):hover {
    text-decoration: underline !important;
    text-underline-offset: 4px !important;
 }

/*------------------------------------------------------***Begin Home page Style***------------------------------------------------------*/

/**************************************Style : PRE-HOME*********************************/


/**************************************Style : SLIDER HOME*********************************/

.prime-slide-general .bdt-prime-slider .bdt-slideshow-items li > div{height: 100% !important;min-height: inherit !important;}
.col-slider-inner-content > .e-con-inner {margin-right: 0px !important;margin-left: auto !important;}


/**************************************Style : section_presentation*********************************/


/**************************************Style : section_prestations*********************************/


/**************************************Style : section_Actualites*********************************/
 

/**************************************Style : section_Realisations*********************************/


/**************************************Style : section_valeurs*********************************/


/**************************************Style : section_points_forts*********************************/


/**************************************Style : section_avis*********************************/


/*--------------------------------------------------------------***End***----------------------------------------------------------------------*/



/*------------------------------------------------------***Begin footer style***------------------------------------------------------*/
.coherence-logo svg{width: 130px !important;height: auto !important;}
.coherence-logo svg * {fill: #fff !important;}
.menu-main-footer .hide-sub-mn .sub-menu , .menu-main-footer .hide-sub-mn .sub-arrow {display: none !important;}


/*------------------------------------------------------***End***------------------------------------------------------*/



/*------------------------------------------------------***Begin Responsive Media query style***------------------------------------------------------*/

/*------------***Large devices (desktops, more than 800px)***------------*/
@media only screen and (min-width: 801px){
    
    /*style header*/

    /*style main content*/

    /*style footer*/
    
}

/*------------***Large devices (desktops, less than 1501px)***------------*/
@media only screen and (max-width: 1500px){

    /*style header*/

    /*style main content*/

    /*style footer*/

}

/*------------***Large devices (desktops, less than 1361px)***------------*/
@media only screen and (max-width: 1360px){

    /*style header*/

    /*style main content*/

    /*style footer*/

}

/*------------***Large devices (desktops, less than 1281px)***------------*/
@media only screen and (max-width: 1280px){

    /*style header*/

    /*style main content*/

    /*style footer*/
}


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

    /*style header*/

    /*style main content*/

    /*style footer*/

}


/*------------***Medium devices (tablets, less than 1025px)***------------*/
@media only screen and (max-width: 1024px){

	/*style header*/

    /*style main content*/

    /*style footer*/

}

/*------------***Medium devices (tablets, Bootstrap less than 993px)***------------*/
@media only screen and (max-width: 992px){

    /*style header*/

    /*style main content*/

    /*style footer*/

}

/*------------***Tablet Media query style***------------*/
@media only screen and (max-width: 800px){
    /*style header*/

    /*style main content*/

    /*style footer*/

}

/*------------***Tablet Mini Media query style***------------*/
@media only screen and (max-width: 767px){

    /*style header*/

    /*style main content*/

    /*style footer*/

}

/*------------***Between Big Mobile and Tablet Media query style***------------*/
@media only screen and (min-width: 601px) and (max-width: 800px){

    /*style header*/

    /*style main content*/

    /*style footer*/

}

/*------------***Begin Big Mobile Media query style***------------*/
@media only screen and (max-width: 600px){

    /*style header*/

    /*style main content*/

    /*style footer*/
    .menu-main-footer .coherence-core-nav-menu a {justify-content: center !important;}

}

/*------------***Between Mobile and Tablet Media query style***------------*/
@media only screen and (min-width: 498px) and (max-width: 600px){

    /*style header*/

    /*style main content*/

    /*style footer*/

}

/*------------***Mobile Media query style***------------*/
@media only screen and (max-width: 497px){

    /*style header*/

    /*style main content*/

    /*style footer*/
}

/*------------------------------------------------------***End Media query***------------------------------------------------------*/


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

.img-bg-absolute {
    height: 100% !important;
}
[data-wpr-lazyrender]{ content-visibility:visible !important;}

/*------------------------------------------------------***Simulateur***------------------------------------------------------*/
        .investment-section {
            margin-bottom: 40px;
        }
		.simulateur-h1{
	        color: #154a12;
            text-align: center !important;
            margin-bottom: 30px;
            font-size: 28px;
		}
        .section-title {
            font-size: 18px;
			text-align: center !important;
            color: #154a12;
            margin-bottom: -10px;
            font-weight: 600;
        }
  		.slider-container {
            margin-bottom: 20px;
        }
		#cowVisual{
			display:none !important;
		}
		.payment-mode{
			display :none !important;
		}
        .slider-label {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
            font-size: 14px;
            color: #666;
        }

        input[type="range"] {
            width: 100%;
            height: 8px;
            border-radius: 5px;
            background: #ddd;
            outline: none;
            -webkit-appearance: none;
        }

        input[type="range"]::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: #154a12;
            cursor: pointer;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
        }

        input[type="range"]::-webkit-slider-thumb:hover {
            background: #0d3308;
            transform: scale(1.1);
        }

        input[type="range"]::-moz-range-thumb {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: #154a12;
            cursor: pointer;
            border: none;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
        }

        .value-display {
            background: #e8727221;
            padding: 4px;
            border-radius: 10px;
            text-align: center;
            margin-top: 15px;
        }

        .value-display .label {
            font-size: 12px;
            color: #666;
            margin-bottom: 5px;
        }

        .value-display .value {
            font-size: 24px;
            color: #154a12;
            font-weight: bold;
        }

        .cow-visual {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 15px;
            padding: 15px;
            background: #f8f9fa;
            border-radius: 10px;
            justify-content: center;
        }

        .cow-icon {
            font-size: 30px;
        }

        .duration-section {
            margin-top: 30px;
        }

        .duration-buttons {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
            gap: 10px;
            margin-bottom: 20px;
        }

        .duration-btn {
            padding: 12px 20px;
            border: 2px solid #ddd;
            background: white;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 14px;
            font-weight: 600;
            color: #666;
        }

        .duration-btn:hover {
            border-color: #154a12;
            transform: translateY(-2px);
        }

        .duration-btn.active {
            background: #154a12;
            color: white;
            border-color: #154a12;
        }

        .chart-container {
            background: white;
            padding: 20px;
            border-radius: 15px;
            margin-bottom: 20px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        #myChart {
            max-height: 270px;
            width: 100% !important;
            height: auto !important;
        }

        .results {
            background: linear-gradient(135deg, #154a12 0%, #2d7a28 100%);
            color: white;
            padding: 30px;
            border-radius: 15px;
            margin-top: 30px;
        }

        .result-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        }

        .result-item:last-child {
            border-bottom: none;
            padding-top: 20px;
            font-size: 20px;
            font-weight: bold;
        }

        .result-label {
            font-size: 14px;
        }

        .result-value {
            font-size: 18px;
            font-weight: 600;
        }

        .payment-mode {
            background: #f8f9fa;
            padding: 15px;
            border-radius: 10px;
            margin-top: 15px;
            text-align: center;
            color: #666;
            font-size: 14px;
        }

        @media (max-width: 480px) {
            .simulateur-h1 {
                font-size: 24px;
            }
            .duration-buttons {
                grid-template-columns: repeat(2, 1fr);
            }
        }

/*------------------------------------------------------***End Simulateur***------------------------------------------------------*/