/**
*
* General CSS styles for the child theme.
*
**/

.freedhome-submit-listing.disabled {
	background-color: #cccccc;
	cursor: not-allowed;
	pointer-events: none;
}

.go-to-plans-button {
	margin-top: 1rem;
	background-color: #fff;
	top: 0;
	padding: 5px 15px;
	color: #000;
	position: relative;
	font-size: 15px;
	font-weight: 400;
	display: inline-block;
	transition: all 0.2s ease-in-out;
	cursor: pointer;
	margin-right: 6px;
	overflow: hidden;
	border: 1px solid #8f872e;
	border-radius: 50px;
}

.fh-thankyou-button-section {
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
	gap: 20px;
}

.fh-thankyou-button-section .up {
	margin-bottom: 20px;
}

.numerical-rating .rating-counter {
	margin-left: 10px !important;
}

.author-profile-modern .contact-section-modern {
	display: none !important;
}

.ical-dropdown-btn {
	display: none !important;
}

/* Statistics Tab */

/* Hide "Interazioni con le Prenotazioni" card */
.listeo-hero-stats .listeo-stat-card:nth-child(4) {
	display: none !important;
}

/* Hide Prenotazioni & Ricavi section */
.listeo-booking-revenue-stats-section {
	display: none !important;
}


/* My Listings Tab */

/* Hide "Tutte Le Categorie" select2 filter */
#select2-my-listings-category-container {
	display: none !important;
}

/* Hide the whole select2 box wrapper */
.select2-container[aria-labelledby="select2-my-listings-category-container"] {
	display: none !important;
}


/* Add Listing Form */

/* Random Box at the end */
#submit-listing-form>div.add-listing-section.row.gallery.dynamic-features {
	display: none !important;
}

/* Hide Lat/Long Fields */
.form-field-_geolocation_long-container,
.form-field-_geolocation_lat-container {
	display: none !important;
}


/* Home Page */

/* Home page header background fix (make header white like other pages) */
.home #header,
.home .header-widget,
.home header,
.home .site-header {
	background: #fff !important;
}

/* HOME header text color fix */
.home #header,
.home header,
.home .site-header {
	color: #1a1a1a !important;
}

/* Navigation links */
.home #header a,
.home #header .menu-item a,
.home .site-header a {
	color: #1a1a1a !important;
}

/* Active / hover state */
.home #header a:hover,
.home #header .menu-item.current-menu-item>a {
	color: #0b3d2e !important;
	/* dark green accent */
}

/* My Account Button color */
.home #header .user-menu .user-name .usrname {
	color: #1a1a1a !important;
}


/* Single Listing Page */

/* Remove the duplicate section in the review */
#add-review .sub-ratings-container+.sub-ratings-container {
	display: none !important;
}

nav#navigation ul li:hover>a {
	background: rgba(82, 183, 87, 0.06);
	color: #52b757 !important;
}

/* Mobile menu background fix */
@media (max-width: 991px) {

	/* Header area around logo while menu is open */
	.mobile-nav-header {
		background: #fff !important;
	}
}

@media (min-width: 1367px) {
	.add-sub-rating {
		width: 50%!important;
	}
}

.term-brevi .fullwidth-filters.ajax-search, .term-medio-lungo .fullwidth-filters.ajax-search {
	display: none !important;
}

#chart-date-range, #booking-date-range {
	margin-top: 0.5rem;
}

.dashboard-list-box h4 {
	padding: 30px!important;
}

a.wcs-switch-link.button {
	display: none !important;
}

a.send-message-to-owner.button.popup-with-zoom-anim {
	font-size: 1.8rem!important;
}

i.mce-ico.mce-i-link, i.mce-ico.mce-i-unlink, div#mceu_15-body {
	display: none !important;
}

@media (max-width: 991px) {

	.single-listing .row.sticky-wrapper {
		display: flex;
		flex-direction: column;
	}

	.col-lg-4.col-md-4.listeo-single-listing-sidebar.sticky {
		order: 1
	}

	div.listeo-single-listing-content {
		order: 2
	}

}

.direct-checkout-button {
    display: block;
    text-align: center;
    background: #52b757;
    color: white;
    padding: 12px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.go-back-button {
	display: block;
    text-align: center;
    background: transparent;
    color: #52b757;
    padding: 8px 6px;
    border-radius: 4px;
    text-decoration: none;
	width: fit-content;
	border: 1px solid #52b757;
	margin-bottom: 1.5rem;
}

.direct-checkout-button:hover {
    background: #3a8e3a;
    color: white;
}

.plan-unchecked i {
    margin-right: 8px;
}

.custom-package-page {
	margin-top: 40px;
}

.my-plan-content {
	padding: 20px;
}

.subscription-name {
	font-weight: bold;
    color: #52b757;
}

a.woocommerce-Button.wc-forward.button {
	display: block;
    width: fit-content;
    margin-top: 1rem;
}

.dashboard-list-box #select2-my-listings-category-container {
	display: block !important;
}

.video-container {
    position: relative;
    width: 100%;
    /* Metodo 1: Moderno e consigliato (supporto ampio) */
    aspect-ratio: 16 / 9;
    /* Metodo 2: Fallback per browser molto vecchi */
    padding-top: 56.25%; /* Rapporto 16:9 */
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.not-show-again-container {
	display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}

input.dismiss-popup-checkbox {
    margin: 0 0 0 5px!important;
    max-width: unset!important;
    width: auto!important;
    box-sizing: border-box;
    display: block;
	margin-left: 5px;
	cursor: pointer;
	border: unset!important;
}

label.dismiss-popup-label {
	margin-bottom: 0!important;
}

.pricing-package .pricing-package-details .plan-features-auto-wc, .pricing-package-select a i.fa.fa-shopping-cart {
	display: none!important;
}

.woocommerce-page.elementor-page .container.content-container {
    max-width: 100vw!important;
    margin: 0 auto!important;
	padding: 2rem;
}

.woocommerce-page.elementor-page .e-con > .e-con-inner {
	max-width: none!important;
}

li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--dashboard, 
li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--downloads,
li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--edit-account {
	display: none!important;
}

.help-button {
	cursor: pointer;
    background: transparent;
    border: none;
}