/*
 Theme Name:   Farmacia Cantelli Child
 Description:  Farmacia Cantelli Child Theme
 Author:       The Space
 Author URI:   https://thespacesm.com/
 Template:     farmaciacantelli
 Version:      1.0.0
 Text Domain:  farmaciacantelli
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

legend, h1, h2, h3, h4, h5, h6, .title {
    font-family: "Playfair Display"!important;
}

.page-service-general .info-box-subtitle , .page-service-general-home .info-box-subtitle {
    border-radius: 100px!important;
}

.page-service-general-home .info-box-subtitle{
    margin-top: 10px!important;
    margin-bottom: 5px!important;
}

#cmplz-document {
    max-width: 100%!important;
}

.grecaptcha-badge { 
    visibility: hidden!important;
}

.btn-header {
    height: 101px;
    transition:  0.5s;
}

.whb-sticked .btn-header {
    height: 61px!important;
    transition:  0.5s;
}

.tribe-events-c-ical.tribe-common-b2.tribe-common-b3--min-medium a.tribe-events-c-ical__link {
    display: none!important;
}

.form-broadcast-whatsapp input[type="submit"] {
    width: 100%;
}

.mb-stitolo .title-subtitle {
    margin-bottom: 0px!important;
}

.btn-service.vc_icon_element.vc_icon_element-outer .vc_icon_element-inner.vc_icon_element-size-md .vc_icon_element-icon {
    font-size: 20px!important;
}

.btn-service.vc_icon_element.vc_icon_element-outer div.vc_icon_element-inner.vc_icon_element-size-md.vc_icon_element-have-style-inner {
    width: 3em!important;
    height: 3em!important;
}

.btn-service.vc_icon_element.vc_icon_element-outer:hover   {
   padding-left: 20px!important;
   transition: 0.3s;
}

.btn-service.vc_icon_element.vc_icon_element-outer   {
   transition: 0.3s;
}

.service-cantelli .info-box-title{
    text-transform: none;
}

.btn-icon-cantelli .wd-btn-icon {
    border: 2px solid #fff;
    height: 26px;
    width: 26px;
    border-radius: 20px;
    margin-left: 10px;
    transition: 0.3s;
}

.btn-icon-cantelli:hover .wd-btn-icon {
    margin-left: 20px;
    transition: 0.3s;
}

.btn-icon-cantelli:hover {
    background-color: rgb(41 35 92);
}

.btn-icon-cantelli .wd-btn-icon .wd-icon {
    line-height: 23px;
    margin-left: 3px;
}

a.btn-icon-cantelli {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
}

.footer-cantelli .widget_nav_menu ul {
    font-size: 15px;
}

.team-member .member-name {
    font-family: var(--wd-text-font);
    text-transform: none;
    font-size: 15px;
    color: #35a387;
}

.team-member .member-position {
    font-family: var(--wd-text-font);
    text-transform: none;
    color: var(--wd-title-color)!important;
    font-style: var(--wd-title-font-style)!important;
    line-height: 1.4!important;
    font-size: 18px!important;
    font-weight: 600;
}

.btn.back-service {
    border-bottom: none;
    text-transform: none;
    letter-spacing: 0.3px;
    font-size: 14px;
    color: #fff;
}

.btn.back-service:hover {
    transition: 0.5s;
    color: rgb(69, 209, 169);
}

.btn.back-service:hover .wd-btn-icon {
    margin-right: 15px;
    transition: 0.5s;
    color: rgb(69, 209, 169);
}

.btn.back-service .wd-btn-icon {
    margin-right: 5px;
    color: #fff;
    transition: 0.5s;
}

.form-service input , .form-service textarea , .single-tribe_events .wpcf7 input , .single-tribe_events .wpcf7 textarea{
    border-radius: 6px;
    border-color: #29235c;
    border: 2px solid;
    margin-top: 10px;
}

.form-service textarea:focus .single-tribe_events .wpcf7 textarea:focus {
    border-color: var(--wd-form-brd-color-focus);
    transition: border-color .4s ease;
}

.form-service input , .single-tribe_events .wpcf7 input {
    height: 46px;
}

.form-service label , .single-tribe_events .wpcf7 label{
    font-weight: 600;
    font-size: 16px;
    margin-top: 15px;
}

.form-service input[type="submit"] , .single-tribe_events .wpcf7 input[type="submit"] {
    width: 100%;
    color: #fff;
    background-color: #29235c;
    font-size: 15px;
    letter-spacing: 1px;
    margin-top: 15px;
    height: 50px;
}

.form-service input[type="submit"]:hover , .single-tribe_events .wpcf7 input[type="submit"]:hover {
    background-color: #35a387;
}

.single-tribe_events .wpcf7 .wpcf7-acceptance input {
    height: auto;
    margin-top: 0!important;
}

.single-tribe_events .wpcf7 .wpcf7-acceptance label {
    font-weight: 400!important;
    color: rgb(20 24 39)!important;
}

.single-tribe_events .tribe-events-content .wpcf7 a {
    border-bottom: 1px solid #3ba387!important;
}

.page-service-general .btn.btn-color-primary.btn-style-link {
    color: var(--wd-primary-color);
    font-weight: 800;
    text-transform: none;
    font-size: 15px;
}

.timeline-cantelli h4.wd-timeline-title {
    font-size: 48px!important;
    line-height: 56px!important;
}

.timeline-cantelli .date-timeline h4.wd-timeline-title {
    font-size: 60px!important;
    line-height: 66px!important;
}

.timeline-cantelli .date-timeline strong{
    font-size: 20px;
    color: var(--wd-title-color);
}

.timeline-cantelli .wd-item-position-full-width {
    padding: 60px 15%;
    border-radius: 15px;
}

.form-contatti label {
    margin-bottom: 20px;
    color: #29235c;
}

.form-contatti input[type='email'], .form-contatti input[type='date'], .form-contatti input[type='number'], .form-contatti input[type='text'], .form-contatti input[type='tel'] {
    border-radius: 50px;
    background-color: #ffffff94!important;
    color: #29235C!important;
    -webkit-text-fill-color: #29235C!important;
}

.form-contatti textarea {
    border-radius: 10px;
    background-color: #ffffff94!important;
    color: #29235C!important;
    -webkit-text-fill-color: #29235C!important;
}

.screen-reader-response{
    display: none;

}

.wpcf7-not-valid-tip {
    color: #3ba387;
}

.form-contatti input[type="submit"] {
    border-radius: 30px;
    font-size: 15px;
    letter-spacing: 0.5px;
    color: #fff;
    margin: 15px 0;
    background-color: #3ba387;
}

.tribe-common .tribe-common-h--alt {
    font-weight: 500!important;
    text-transform: none!important;
}

.tribe-common .tribe-common-c-btn, .tribe-common a.tribe-common-c-btn {
    background-color: #29235c!important;
}

.tribe-common .tribe-common-c-svgicon {
    color: #3ba387!important;
}

.tribe-events .tribe-events-calendar-month__calendar-event--featured:before {
    background-color: #3ba387!important;
}

.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: #3ba387!important;
}

.tribe-events .tribe-events-c-ical__link {
    border: 1px solid #3ba387!important;
    color: #3ba387!important;
}

.tribe-events .tribe-events-calendar-month__multiday-event-bar-inner {
    background-color: rgb(59 163 135 / 32%)!important;
}

.tribe-events .tribe-events-calendar-month__day-cell--selected, .tribe-events .tribe-events-calendar-month__day-cell--selected:focus, .tribe-events .tribe-events-calendar-month__day-cell--selected:hover {
    background-color: #3ba387!important;
}

.tribe-events .tribe-events-calendar-month__mobile-events-icon--event {
    background-color: #3ba387!important;
}

.tribe-common .tribe-common-anchor-thin-alt {
    border-bottom: 1px solid #3ba387!important;
}

.tribe-events .tribe-events-calendar-day__event--featured:after {
    background-color: #3ba387!important;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-day__event-datetime-featured-text {
    color: #3ba387!important;
}

.tribe-events .tribe-events-c-ical__link:active, .tribe-events .tribe-events-c-ical__link:focus, .tribe-events .tribe-events-c-ical__link:hover {
    color: #fff!important;
    background-color: #3ba387!important;
}

.tribe-common .tribe-common-anchor-thin-alt:active, .tribe-common .tribe-common-anchor-thin-alt:focus, .tribe-common .tribe-common-anchor-thin-alt:hover {
    border-bottom: 1px solid #3ba387!important;
    color: #3ba387!important;
}

/* Dropdown */

.wd-dropdown-menu.wd-design-sized .wd-sub-menu>li>a, .wd-dropdown-menu.wd-design-full-width .wd-sub-menu>li>a {
    text-transform: inherit!important;
    font-weight: 500!important;
    font-size: 15px!important;
}

.wd-dropdown-menu.wd-design-sized .wd-sub-menu>li, .wd-dropdown-menu.wd-design-full-width .wd-sub-menu>li {
    margin-bottom: 2px!important;
    width: 100%!important;
}

.wd-dropdown-menu.wd-design-sized {
    padding: 20px 20px 20px 20px!important;
}

/* Social */

div.icons-design-default .wd-social-icon {
    padding: 6px;
    color: #5e617a!important;
    background-color: #5e617a29!important;
    height: 35px!important;
    width: 35px!important;
    margin: 0 6px!important;
    line-height: 25px!important;
}

.review-btn-google li {
    background-color: #ffecc0!important;
    width: fit-content!important;
    margin: 0 auto!important;
    padding: 10px 20px!important;
    border-radius: 30px!important;
}

.review-btn-google li:hover {
    background-color: #ffcf5e!important;
}

/* Form */

.form-service .wpcf7-form-control-wrap label {
    font-weight: 400!important;
    line-height: 20px!important;
}

.form-service .wpcf7-form-control-wrap input {
    margin-top: 0!important;
}

/* Ordina Whatsapp */

.ordina-prod-whatsapp [class*="box-icon-with-"].box-with-text .info-box-icon {
    min-width: 40px;
    height: 40px;
    line-height: 40px;
}

.ordina-prod-whatsapp .box-with-text.text-size-small {
    font-size: 20px;
}

/* Btn Booking */

.reservio-booking-button a.btn-book {
    box-shadow: none!important;
    border: none!important;
    background: none!important;
}

.btn-large .btn-book span {
    background: none!important;
}

.reservio-booking-button a.btn-book:after , .btn-header .wd-btn-icon:after , .mobile-nav .wp-block-buttons>.wp-block-button.has-custom-width .wp-block-button__link strong:after {
    content: "\f073";
    font-family: 'Font Awesome 5 Free';
    font-weight: 400;
    padding-left: 5px;
}

/* Eventi interni */

.single-tribe_events .tribe-events-cal-links .tribe-events-gcal, .tribe-events-cal-links .tribe-events-ical {
    color: #3ba387!important;
    padding-left: 0!important;
}

.single-tribe_events .tribe-events-meta-group.tribe-events-meta-group-details {
    display: none!important;
}

#tribe-events-footer , .tribe-events-event-meta:before {
    border-top: none!important;
}

.tribe-events-single-event-title , .tribe-events-content h2, .tribe-events-content h3, .tribe-events-content h4, .tribe-events-content h5, .tribe-events-content h6 {
    color: #29235c;
}

.tribe-events-back a, .tribe-events-back a:visited {
    color: #29235c;
}

.tribe-events-schedule .recurringinfo, .tribe-events-schedule h2, .tribe-related-event-info .recurringinfo , .tribe-events-content {
    color: #5e617a;
}

.wd-nav[class*="wd-style-"] {
    --nav-color: #45475b;
}

.single-tribe_events .tribe-events-nav-pagination {
    display: none!important;
}

.flex-infobox .wd-info-box {
    display: flex;
    align-items: center;
}

.scrollToTop {
    bottom: 100px!important;
}


@media only screen and (max-width: 1024px) {
    .mobile-nav .wp-block-buttons>.wp-block-button.has-custom-width .wp-block-button__link {
    padding: 22px 15px!important;
    }
    .tribe-events .tribe-events-calendar-month__day-cell--selected .tribe-events-calendar-month__day-date {
        color: #fff!important;
    }
}

@media only screen and (max-width: 600px) {
    :root {
        --wd-text-font-size: 16px!important;
    }

    .timeline-cantelli h4.wd-timeline-title {
        font-size: 32px!important;
        line-height: 40px!important;
    }

    .timeline-cantelli .wd-item-position-left, .timeline-cantelli .wd-item-position-right {
        padding: 30px 0px 15px!important;
    }

    .timeline-cantelli .date-timeline h4.wd-timeline-title {
        font-size: 50px!important;
        line-height: 58px!important;
    }

    .timeline-cantelli .wd-item-position-full-width {
        padding: 30px 5%;
    }

    .timeline-cantelli .wd-item-position-left .timeline-col-primary .timeline-arrow, .timeline-cantelli .wd-item-position-right .timeline-col-primary .timeline-arrow {
        display: none!important;
    }

    .page-service-general .wd-info-box {
        display: block;
    }

    .page-service-general .wd-info-box img {
        margin-bottom: 15px;
    }

    #wa.wa__widget_container .wa__btn_popup_txt{
        display: none!important;
    }

    .timeline-cantelli .woodmart-timeline-line {
        border-color: #ffffff!important;
    }

    .timeline-cantelli .woodmart-timeline-dot {
        display: none!important;
    }

    #wa.wa__widget_container .wa__btn_popup {
        left: unset;
        bottom: 30px;
    }


}