/**
* Theme Name: Harmony Care Child
* Description: This is a child theme of Harmony Care.
* Author: <a href="https://cmsmasters.net/">cmsmasters</a>
* Template: harmony-care
* Version: 1.0.9
* Tested up to: 6.6
* Requires PHP: 7.4
* License:
* License URI:
* Text Domain: harmony-care-child
* Copyright: cmsmasters 2025 / All Rights Reserved
*/

/* = Général
----------------------*/
body:not(.home) #main > .cmsmasters-main__outer{
    padding-top: 275px;
}

/* = Header
----------------------*/
body.home #page-title{
    display: none!important;
}
.sub-menu{
    box-shadow: 0 0 30px rgba(0,0,0,0.3);
}
.devenir-membre a{
    padding-top: 28px!important;
    color:#71a52f;
}
.devenir-membre:hover a{
    color:#598126;
}

.devenir-membre span.elementor-widget-cmsmasters-nav-menu__item-text-wrap{
    border: 1px solid #71a52f;
    border-radius:7px;
}
.devenir-membre span.elementor-widget-cmsmasters-nav-menu__item-text{
    padding: 5px 10px;
    color:#71a52f;
}
.devenir-membre:hover span.elementor-widget-cmsmasters-nav-menu__item-text{
    color:#598126;
}

/* = Footer
----------------------*/

/* = Acceuil
----------------------*/
#slider-txt h1{
    color: #013969;
    font-size: 83px;
    font-weight: 900;
    font-family: "Lora", Sans-serif;
    line-height: 1;
}
#slider-txt h1 span{
    display: block;
}
#slider-txt h1 span b{
    color: #71a52f;
    font-weight: 400;
    font-size: 100px;
    margin-top: -50px;
    display: inline-block;
    margin-right: -15px;
    line-height: 0;
}
#slider-txt h1 span.pale-txt{
    color: #67868c;
    font-size: 60px;
    font-weight: bold;
    font-style: italic;
}
#slider-txt p{
    font-size: 17px!important;
    font-weight: 600!important;
    max-width: 500px;
}
#section-boite-services .elementor-image-box-content p{
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
}
#section-boite-services .elementor-image-box-content > a{
    font-size: 16px;
    font-weight: bold;
    display: inline-flex;
    align-content: center;
    align-items: center;
}
#section-boite-services .elementor-image-box-content > a i{
    color: #fff;
    background-color: #013969;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    font-size: 8px;
    border-radius: 50px;
    margin-left: 8px;
}
#section-boite-services .elementor-image-box-content > a:hover{
    color: #013969;   
}
#section-boite-services .green-a .elementor-image-box-content > a{
    color: #71A52F;
}
#section-boite-services .green-a .elementor-image-box-content > a i{
    color: #fff;
    background-color: #71A52F;
}
#section-boite-services .gray-a .elementor-image-box-content > a{
    color: #707070;
}
#section-boite-services .gray-a .elementor-image-box-content > a i{
    color: #fff;
    background-color: #707070;
}

/* = menu
-----------------------*/
.gform_wrapper h3.gsection_title{
    font-size: 28px;
    margin: 0;
}
.gform_wrapper .gfield--type-phone{
    margin-bottom: 25px;
}
.gform_wrapper .gfield--type-product .gfield_label{
    font-size: 16px;
    font-weight: bold;
}
.gform_wrapper .gfield--type-product .gfield_description{
    font-size: 15px;
}
.gform_wrapper .gfield--type-product .ginput_product_price_wrapper{
    display: flex;
    flex-direction: row;
    align-items: baseline;
}
.gform_wrapper .gfield--type-product .ginput_product_price_wrapper .ginput_product_price{
    font-size: 16px;
    width: calc(100% - 50px);
    margin-left: 10px;
    font-weight: bold;
}
.gform-theme--foundation .gfield.gfield--type-quantity{
    grid-column: span 2;
    margin-top: 20px;
}
.gform-theme--foundation .gfield.gfield--type-option{
    grid-column: span 5;
    padding-left: 15px;
    margin-top: 20px;
}
.gform-theme--framework .gfield--type-choice .gchoice:nth-child(1) .ginput_price{
    display: none!important;
}
.gform_wrapper.gform-theme--foundation .gfield.gf_list_2col:where(:not(.gfield--type-image_choice)) .gfield_checkbox, 
.gform_wrapper.gform-theme--foundation .gfield.gf_list_2col:where(:not(.gfield--type-image_choice)) .gfield_radio {
    grid-template-columns: inherit;
    flex-direction: row;
    display: flex;
}
body:not(.cmsmasters-is-touch) input[type=number]{
    padding-right: 10px;
}
.gform_page_footer{
    margin-top: 40px!important;
}
.gfield_total{
    margin-top:40px;

}
.gfield_total label,
.gfield_total input{
    font-size: 20px;
    font-weight: bold;

}
.gform_wrapper.gform-theme--foundation .instruction{
    display: none;
}


/* = Calendrier
----------------------*/
.tribe-events-calendar-month__body a {
    pointer-events: none!important;
}
.tribe-events-before-html {
    text-align: center;
}
.gform_wrapper .gform_button,
.gform_wrapper .gform_next_button,
.tribe-events-before-html a{
    display: inline-block;
    margin: 25px auto;
    color: #FFFFFF!important;
    --button-bg-color: var( --e-global-color-accent );
    background: var( --e-global-color-accent );
    background-color: transparent;
    background-image: linear-gradient(90deg, var( --button-bg-color ) 0%, #139200 100%);
    padding: 14px 35px 14px 35px;
    border-radius: 5px;
    transition: all 0.5s ease;
}
.gform_wrapper .gform_button:hover,
.tribe-events-before-html a:hover,
.gform_wrapper .gform_next_button:hover{
    --button-bg-color: #139200;
    background: #139200;
    background-image: linear-gradient(90deg, var( --button-bg-color ) 0%, #139200 100%);
    color: #FFFFFF;

}
.tribe-common .tribe-common-c-btn-border::before, 
.tribe-common a.tribe-common-c-btn-border::before,
.tribe-common .tribe-common-c-btn-border-small::before, .tribe-common a.tribe-common-c-btn-border-small::before {
  background-color: #013969!important;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__header-column-title-desktop {
  color: #fff;
}
.tribe-events .tribe-events-calendar-month__calendar-event-datetime,
.tribe-events .tribe-events-calendar-month__day--past .tribe-events-calendar-month__calendar-event-datetime {
  color: #013969;
  font-size: 14px;
  font-weight: bold;
}
.tribe-common .tribe-events-calendar-series-archive__container {
  display: none;
}
.tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date, 
.tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link{
    color: #71a52f;
    font-weight: bold;
}
.tribe-events .datepicker .day.active, 
.tribe-events .datepicker .day.active.focused, 
.tribe-events .datepicker .day.active:focus, 
.tribe-events .datepicker .day.active:hover, 
.tribe-events .datepicker .month.active, 
.tribe-events .datepicker .month.active.focused, 
.tribe-events .datepicker .month.active:focus, 
.tribe-events .datepicker .month.active:hover, 
.tribe-events .datepicker .year.active, 
.tribe-events .datepicker .year.active.focused, 
.tribe-events .datepicker .year.active:focus, 
.tribe-events .datepicker .year.active:hover{
    background: #71a52f;
}
.tribe-events .datepicker .day.focused, .tribe-events .datepicker .day:focus, 
.tribe-events .datepicker .day:hover, .tribe-events .datepicker .month.focused, 
.tribe-events .datepicker .month:focus, .tribe-events .datepicker .month:hover, 
.tribe-events .datepicker .year.focused, .tribe-events .datepicker .year:focus, 
.tribe-events .datepicker .year:hover{
    background: #71a52f;
    color:#139200;
}
.tribe-js .tribe-events-calendar-month__body a{
    cursor: text;
}
.tribe-events-c-top-bar__datepicker-button,
.tribe-events-c-top-bar__datepicker-button span{
    font-size: 20px;
    font-weight: bold;
    text-transform: capitalize;
}
.tribe-events .tribe-events-calendar-month__multiday-event-bar-title {
  text-overflow: inherit!important;
  overflow: hidden;
  white-space: inherit!important;
}

/* =A propos
----------------------*/
#ligne-historique .historique > li{
    display: flex;
}
#ligne-historique .historique > li > b{
    color: #013969;
    text-align: right;
    width: 245px;
}
#ligne-historique .historique > li > .info-histoire{
    text-align: left;
    width: calc(100% - 265px);
    margin-left: 20px;
}
#ligne-historique .historique > li > .info-histoire ul{
    columns: 3;
    margin: 12px 15px;
}
#ligne-historique .historique > li > .info-histoire li{
    font-size: 14px;
    line-height: 1.2;
}

/* =Contact
----------------------*/
.gform-theme--foundation .gform_fields {
  grid-row-gap: 20px!important;
  row-gap: 20px!important;
}


.hidden_field,
.hidden_field + .gfield_quantity,
.hidden_field + .gfield_quantity + .gfield--input-type-radio,
.conge + .gfield_quantity,
.conge + .gfield_quantity + .gfield_quantity,
.conge + .gfield_quantity + .gfield--input-type-radio,
.conge .ginput_product_price_wrapper{
    display:none!important;
}

.dejeuner + .gfield_quantity + .gfield_quantity{
    visibility:hidden!important;
}

.gfield--type-total label{
    font-size: 18px!important;
}
.gfield--type-total input{
    font-size: 24px!important;
    font-weight: bold!important;
}
#field_8_90{
    margin-top: 50px;
}
.gfield_quantity{
    min-width: 200px!important;
}
.gform-theme--foundation .gfield.gfield--type-quantity{
    grid-column: span 3;
}

/* = RESPONSIVE
----------------------*/
@media (max-width: 1224px) {
    #menu-mobile .menu-item a{
        font-size: 24px;
    }
}
@media (max-width: 991px) {
    .gfield_quantity{
        grid-column: span 6!important;
        min-width: 0!important;
    }
    .gfield_quantity label{
        font-size: 12px!important;
    }
    .gform_wrapper{
        margin: 0 25px;
    }
    .gform-theme--foundation .gfield.gfield--type-quantity,
    .gform-theme--foundation .gfield.gfield--type-option {
        grid-column: span 12;
        margin-top: 0;
        padding-left: 0;
    }
    #ligne-historique .historique > li > .info-histoire ul {
        columns: 1;
        margin: 12px 15px;
    }
}
@media (max-width: 500px) {
    body:not(.home) #main > .cmsmasters-main__outer{
        padding-top: 225px;
    }
    #slider-txt h1 {
        font-size: 56px;
        margin-top:35px
    }
    #slider-txt h1 span b {
        font-size: 77px;
    }
    #slider-txt h1 br{
        display:none;
    }
    #slider-txt h1 span.pale-txt {
        font-size: 34px;
    }
    .tribe-common .tribe-common-b3, .tribe-common .tribe-common-b3--min-medium, 
    .tribe-common .tribe-common-cta, .tribe-common .tribe-common-form-control-toggle__label{
        color: #fff!important;
    }
    .tribe-events .tribe-events-calendar-month__day-cell--selected:focus, 
    .tribe-events .tribe-events-calendar-month__day-cell--selected:hover,
    .tribe-events .tribe-events-calendar-month__day-cell--selected {
        background-color: #65b200;
    }
    .tribe-events .tribe-events-calendar-month__day--past .tribe-events-calendar-month__mobile-events-icon--event {
        background-color: #67868c;
    }
    #ligne-historique .historique{
        margin: 25px 0 0;
    }
    #ligne-historique .historique > li {
        display: flex;
        flex-direction: column;
    }
    #ligne-historique .historique > li > b {
        text-align: left;
        width: 100%;
    }
    #ligne-historique .historique > li > .info-histoire {
        text-align: left;
        width: 100%;
        margin-left: 0;
        margin-bottom: 25px;
    }
}