/**
Theme Name: leggimenu.it Child
Author: leggimenu SRL
Author URI: https://www.leggimenu.it/
Description: Child del tema ufficiale del servizio leggimenu.it
Version: 1.0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: leggimenu-child
Template: astra
*/

/* Globals */

.d-none {
    display: none !important;
}

.cursor-pointer {
    cursor: pointer;
}

 
/* Main Header */
.ehf-header #masthead {
  z-index: 999;
}

.main-header-bar,
.ast-header-break-point .main-header-bar{
    border: none;
}

.home .not-frontpage {
    display: none !important;
}

.main-lm-menu {
    align-items: center;
}

.main-lm-menu ul > li.featured > a {
    max-height: 50px;
    border: solid 1px #fff;
    border-radius: 100px;
    cursor: pointer;
}

.main-lm-menu ul > li.featured:hover > a {
    background: #fff !important;
    color: #537b83 !important;
}

.menu-link sup,
.uael-menu-item sup {
    padding-left: 5px;
    font-size: 10px;
}

.menu-link i,
.uael-menu-item i {
    margin-right: 5px;
    font-size: 12px;
}

a.uael-menu-item {
    justify-content: flex-start !important;
    padding-left: 20px !important;
	padding-top: 10px !important;
	padding-bottom: 10px !important;
}


.main-lm-menu .sub-menu {
    border-top: solid 2px #537B83 !important;
}

.ast-header-break-point .site-header {
    border-bottom-width: 0 !important;
}

.menu-come-funziona,
.menu-caratteristiche,
.menu-demo,
.menu-faq {
    display: none !important;
}

.home .menu-come-funziona,
.home .menu-caratteristiche,
.home .menu-demo,
.home .menu-faq {
    display: flex !important;
}

.checkbox-radio-block label {
    display: inline !important;
}


/* Admin Bar */
#wp-admin-bar-comments {
    display: none;
}

/* BLOG */
.uael-post__meta-data svg {
  height: 14px !important;
  width: 14px !important;
}


/* BETTEDOCS */
.docs-cat-icon {
    filter: invert(49%) sepia(4%) saturate(2858%) hue-rotate(143deg) brightness(90%) contrast(90%);
}


/* EDD Customization */
#edd_purchase_form .cf_partita_iva {
    position: relative;
}

#edd_purchase_form .iva-spinner {
    position: absolute;
    right: 40px;
    top: 60%;
    transform: translateY(-50%);
    color: #666;
    pointer-events: none;
}

body.anonimous-user #edd_checkout_user_info,
body.anonimous-user #edd_cc_fields,
body.anonimous-user #edd_cc_address,
body.anonimous-user #edd-stripe-payment-errors,
body.anonimous-user #edd_purchase_submit {
    display: none;
}

.edd_discount {
    display: block !important;
}

.edd-add-to-cart.elementor-button {
    padding: 15px 5px !important;
}

#edd_user_history tr td:nth-last-child(2),
#edd_user_history tr th:nth-last-child(2),
#edd_subscription_receipt tr td:nth-last-child(2),
#edd_subscription_receipt tr th:nth-last-child(2),
#edd_user_history th.edd_license_key,
#edd_user_history td.edd_license_key {
    display: none;
}

#edd_user_history th.edd_invoice,
#edd_user_history td.edd_invoice {
    display: block !important;
}

p {
    margin-bottom: 0 !important;
}

#edd_checkout_cart p {
    padding: 0;
}

#edd-recurring-form {
    text-align: left;
}

#edd-recurring-form fieldset {
    padding: 0 20px 10px 20px;
}

#edd-recurring-form fieldset p {
    margin-bottom: 20px !important;
}

#edd-recurring-form .edd-input,
#edd-recurring-form .edd-select {
    display: block;
    width: 100%;
}

.edd-csau-products h2 {
    background: #FAFAFA;
    font-size: 20px;
    font-family: "Poppins", sans-serif;
    margin: 0 !important;
    padding: 24px;
    border-bottom: 1px solid #eaeaea;
}

.edd-csau-products .edd_download_title {
    margin: 10px 0 !important;
}

.edd-csau-products div.edd_price {
    color: #999;
    font-size: 12px;
    margin-bottom: 10px;
}

.edd-csau-products .edd_download_excerpt p {
    padding: 0 !important;
    margin-bottom: 20px !important;
}

.edd-csau-products span.edd_price {
    font-size: 16px;
    font-weight: bold;
    color: #537B83;
}

.edd-csau-products .edd-add-to-cart {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: var( --e-global-color-66ee9dd );
    background-color: var( --e-global-color-1406e3a );
    border-radius: 100px 100px 100px 100px;
    padding: 13px 15px 13px 15px !important;
}

.edd-csau-products .edd-add-to-cart:hover {
    background: #222;
}

#edd_checkout_wrap legend {
    font-size: 20px !important;
}

.elementor-widget-wp-widget-ws_iubenda_buttons_widget {
    text-align: center;
}

.ur-frontend-form .ur-button-container .ur-submit-button {
    margin-left: auto !important;
    margin-right: auto !important;
}

.logged-in .mp-form-submit,
.logged-in .mepr_tos,
.grecaptcha-badge {
    display: none !important;
}

.error404 #masthead {
    background: #537B83;

}

.error404.ast-separate-container #primary {
    margin-top: 150px;
}

.error404 .ast-404-search {
    display: none;
}

#ur-recaptcha-node {
    width: 304px !important;
    max-width: 304px !important;
    margin: 20px auto;
}

.sub-menu a.menu-link {
    font-size: 14px;
}

/* Regole CSS da applicare solo a Safari */
@media not all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm) {

    #edd_purchase_form_wrap input[type=checkbox] {
        transform: scale(2,2);
        -webkit-transform: scale(2,2);
        -moz-transform: scale(2,2);
        -o-transform: scale(2,2);
        width: 20px;
    }

    #edd_purchase_form_wrap .edd-privacy-policy-agreement input[type=checkbox] {
        transform: scale(2.5,2.5);
        -webkit-transform: scale(2.5,2.5);
        -moz-transform: scale(2.5,2.5);
        -o-transform: scale(2.5,2.5);
        margin-right: 20px;
    }

    .edd-card-selector-radio input[type=radio],
    #edd-payment-mode-wrap  input[type=radio]{
        transform: scale(2,2);
        -webkit-transform: scale(2,2);
        -moz-transform: scale(2,2);
        -o-transform: scale(2,2);
    }

}

@supports (-webkit-touch-callout: none) {

    #edd_purchase_form_wrap .edd-privacy-policy-agreement input[type=checkbox] {
        width: 65px; /* Larghezza desiderata del checkbox */
        height: 25px; /* Altezza desiderata del checkbox */
        border-radius: 4px; /* Bordo arrotondato */
    }

}


/* Tooltips */

.tooltip .tooltiptext {
    width: 300px;
    text-align: left !important;
}

.tooltip .tooltiptext:before {
    left: 50px;
}


/* BetterDocs Customization */

#betterdocs-single-main {
    background: #fff;
    margin-left: 20px;
    border-radius: 5px;
}

.betterdocs-single-wraper {
    background: #F4F7FA !important;
}

.docs-single-title .betterdocs-entry-title {
    padding-bottom: inherit !important;
}

.feedback-update-form {
  margin: 25px 0 !important;
}

.feedback-form-icon:before {
  content: "\f0e0";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.feedback-form-icon svg {
    display: none;
}

#feedback_form_submit_btn {
  background-color: #537b83;
  margin-top: 10px;
}

.betterdocs-sidebar-content .docs-single-cat-wrap .docs-cat-title-wrap.active-title {
  background-color: #ebebeb;
  border-right: 3px solid #537b83;
}

.docs-cat-title-inner span {
  background-color: transparent;
}

.betterdocs-search-title {
    color: #537b83;
}

.betterdocs-search-category {
    font-size: 14px;
    font-family: inherit;
    font-style: italic;
    text-transform: none;
}

.docs-item-count {
    display: none;
}

.docs-cat-heading {
    line-height: 40px !important;
}

#betterdocs-single-content .elementor-widget-text-editor .elementor-widget-container a {
    border-bottom: dotted 1px #537b83;
}

.elementor-button.button-trial {
    padding-left: 10px !important;
    padding-right: 10px !important;
    
    background: #fff !important;
    color: #000;
}

.elementor-button.button-trial:hover {
    background: #000 !important;
}

.elementor-button.button-trial:disabled,
.elementor-button.button-trial:hover:disabled {
    background: #ddd !important;
    color: #999 !important;
}

.edd_purchase_submit_wrapper {
    margin: 0 !important;
}

/* USER REGISTRATION CUSTOMIZATION */
#user_email_suggestion {
	display: none !important;
}

#user-registration {
    box-shadow: none;
}

#ur-frontend-form {
    max-width: 800px;
    margin: auto;
    border: solid 1px #eee;
}

#user_switching_switch_on {
    left: 50% !important;
    transform: translateX(-50%);
    background: #000;
    padding: 10px 20px !important;
}

#user_switching_switch_on a {
    color: #fff;
}

#user_switching_switch_on a:hover {
    font-weight: bold;
}

/* RESPONSIVE */

@media screen and (max-width: 767px) {
    
    .timeslot {
        margin-bottom: 20px !important;
    }
    
    .user-registration-profile-header,
    .user-registration-profile-content {
        width: 100% !important;
        float: none !important;
    }
    
    .ast-menu-toggle {
        background-color: transparent !important;
    }
    
    .elementor-tab-title {
        color: #333 !important;
        background: #f1f1f1 !important;
    }
    
    #edd_checkout_cart td, 
    #edd_checkout_cart th {
        padding: 5px;
    }
    
    
    .user-registration-MyAccount-content {
        overflow-x: auto;
    }
    
    .user-registration-MyAccount-content #edd_user_history {
        width: 767px;
    }
    
    #dettagli-acquisto .elementor-shortcode {
        overflow-x: auto;
    }
    
}



/* Acconsento hacking */

#acconsento-click-consent-banner-body {
    line-height: 16px !important;
}

#acconsento-click-consent-banner-body p,
#acconsento-click-consent-banner-body b {
    font-size: 12px !important;
}

#acconsento-click #trovami {
    margin-top: -5px !important;
}

#acconsento-click .el-acconsento-row {
    margin-bottom: 5px !important;
}

#acconsento-click-consent-banner-body .acconsento-click-text-left {
    margin-bottom: 0 !important;
}