/* 
Theme Name: ECOCIP by MentalWorks
Theme URI: https://github.com/elementor/hello-theme/
Description: Child theme of Hello Elementor, enriched by Mentalworks
Author: MentalWorks
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: ecocip
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/
/* Global */

body, p, h1, h2, h3, div {
    font-family: 'montserrat', sans-serif;
    font-size: 12px;
    line-height: 1.4;
    color: #38393A;
}

.page-header {
    display: none;
}

.gform_page_fields {
    margin-bottom: 50px !important;
}

.page-content header {
    padding-top: 30px;
    margin-bottom: 50px;
}

.page-content header .line {
    border-top: 2px solid #38393A; 
}

.page-content header .logo-header {
    padding: 20px;
    margin: -30px auto;
    width: 200px;
    height: auto;
    //height: 30px;
    //width: auto;
    background: white;
    z-index: 10;
}

.page-content aside {
    margin-bottom: 30px;
}

.page-content aside p,
.page-content aside h3 {
    margin-top: 20px;
    margin-bottom: 20px;
}

.page-content aside p,
.page-content aside li {
    font-size: 20px;
}

.page-content aside ul {
    padding-left: 40px;
}

.page-content h1 {    
    font-size: 50px;
    line-height: 2;
    font-weight: bold;
    text-align: center;
    color: #38393A;
    margin-bottom: 50px;
}

.page-content h1 .baseline {
    margin-top: 40px;
    font-weight: bold; 
    font-size: 40px;
}

.page-content h2 {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 30px;
}

.page-content h2 em {
    font-size: 22px;
    font-weight: 400;
}

.page-content h3, 
.page-content h4 {
    font-size: 22px;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 0;
}

.page-content p, 
.page-content li {
    font-size: 16px;
}

.page-content ul {
    padding-left: 20px;
}

.page-content .button--primary.button,
.page-content .gform-theme--framework .gform-page-footer .gform_next_button.gform-theme-button.button,
.page-content .gform-theme--framework .gform-page-footer .gform_previous_button.gform-theme-button.button,
.page-content .gform-theme--framework .gform-page-footer input[type=submit].gform_button {
    display: inline-block !important;
    font-size: 20px !important;
    font-weight: bold !important;
    line-height: 1.4 !important;
    color: #38393A !important;
    background-color: #ffbf4d !important;
    padding: 10px 20px !important;
    border-radius: 5px !important;
    border: 2px solid transparent;
    margin: 20px 0 !important;
    text-decoration: none;
    transition: all 300ms ease-out;
}

.page-content .gform-theme--framework .gform-page-footer .gform_previous_button.gform-theme-button.button {
    display: none !important;
}

.page-content .button--primary.button:hover {
    color: #ffbf4d;
    background-color: #38393A;
}

main {
    padding-top: 40px;
}

.gfield--type-survey .gfield_description {
    display: none !important;
}
.gfield--type-html img,
.gsection_description img{
    //display: none !important;
}

.page-content .dimension-logo h2,
h3.gsection_title,
.gfield_required,
.page-content p:has(+ aside) {
    display: none !important;
}

.gform-theme--framework:where(:not(.gform_editor)) .gfield--type-section {
    border: none !important;
}

.gsection_description img {
    margin-top: 30px;
    width: 100%;
    height: auto;
}

@media (min-width:762px) {
    .gsection_description img {
        width: 65%;
    }
}

.gform_fields .dimension-logo {
    margin: 0 auto 50px auto;
    width: 120px;
    height: auto;
}

.gfield_label.gform-field-label {
    font-size: 18px !important;
    font-weight: bold !important;
}

@media (min-width:762px) {
    .ginput_container_likert table {
        margin-top: -30px;
    }
}

.ginput_container_likert table tr {
    background-color: white !important;
}

.ginput_container_likert table th {
    text-align: left;
    border-block-start: none !important;
    transform: translate3d(30px, 36px, 0);
    pointer-events: none;
}

.ginput_container_likert table td {
    text-align: left !important;
    background-color: white !important;
}

.gsurvey-likert-choice {
    cursor: pointer;
}

.gsurvey-likert-choice input[type="radio"] {
    pointer-events: none;
}

.gfield_consent_label {
    font-size: 16px !important;
}

.gform_fields .gform-page-footer {

}

.chart-wrapper {
    width: 100%;
    max-width: 1216px;
    aspect-ratio: 1 / 1;   /* carré */
    position: relative;
}

.chart-wrapper.chart-16-10 {
    aspect-ratio: 16 / 10;
}

.chart-wrapper canvas {
    width: 100% !important;
    height: 100% !important;
}

.chart-legend {
    margin: 50px auto;
}

.chart-legend td {
    padding: 0 20px;
    text-align: center;
    background-color: transparent !important;
    border: none;
}

.page-content footer {
    margin-top: 50px;
    //padding-bottom: 10px;
    text-align:center;
}

.page-content footer img {
    margin-top: 20px;
    width: 100px;
    height: auto;
}
