/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: Prometheus
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.1.0
Text Domain: Avada
*/

main {
min-height: 800px !important;
}

/* === Post-Specific Adjustments === */
.postid-12268 .woocommerce-Tabs-panel {
	margin-left: 0 !important;
}
.postid-12268 .wc-tabs,
.fusion-woocommerce-tab-title {
	display: none !important;
}

/* === Quiet Product Display === */
.quiet-product-row {
	display: flex;
	justify-content: space-around;
	align-items: center;
	margin: 20px 0;
}
.quiet-product {
	flex-basis: 30%;
	text-align: center;
}
.quiet-product img {
	width: 100%;
	max-width: 100%;
	height: auto;
	object-fit: cover;
	border: 2px solid #ddd;
	border-radius: 8px;
	transition: transform 0.3s ease;
}
.quiet-product img:hover {
	transform: scale(1.05);
}

/* === Event & Community Forms === */
.fusion-events-single-title-content {
	background-color: #000 !important;
}
.tribe-events-content a {
	color: #fff !important;
}
.ui-datepicker-month,
.ui-datepicker-year {
	top: -5px;
	height: auto;
	width: auto !important;
}
#tribe-events > .tribe-events-before-html {
	display: none;
}
#tribe-community-events-list,
#tribe-community-events-list > tbody > tr {
	border: solid;
}
#tribe-community-events-list > tbody > tr > td {
	border: solid;
	padding: 10px;
}
.eventForm td {
	padding: 0 10px 3px 0;
}
.eventForm .tribe-datetime-block .tribe-field-end_time,
.eventForm .tribe-datetime-block .tribe-field-start_time {
	width: 90px;
}
.eventForm .tribe-datetime-block .tribe-field-end_date,
.eventForm .tribe-datetime-block .tribe-field-start_date {
	width: 110px;
}
.event-terms-description {
	width: 100%;
}
#event_tribe_event_status,
#event_tribe_organizer,
.event-status > img,
.recurrence-row.tribe-datetime-block,
.tribe-community-events-content > .tribe-event-list-search,
.tribe-community-events-content > .tribe-nav,
.tribe-section.tribe-section-cost,
.tribe-section.tribe-section-image-uploader,
.tribe-section.tribe-section-taxonomy,
.tribe-section.tribe-section-website {
	display: none;
}
.tribe-community-events-list-title,
.tribe-responsive-table-container {
	margin: 10px;
}
.eventForm {
	margin-top: 0;
}
.select2-container--default {
	margin-right: 20px;
}
.eventstable .table-1 tr:nth-child(2n),
.eventstable th {
	background: #212024 !important;
}
.eventstable .table-1 tr:nth-child(odd) {
	background: #000;
}
.eventstable table {
	margin: auto;
}
.eventstable td,
.eventstable th {
	border: none !important;
}
.eventstable h2 {
	font-size: 24px !important;
}

/* === Blog Layout === */
.fusion-blog-layout-grid.fusion-blog-equal-heights .fusion-post-wrapper,
.fusion-post-wrapper {
	border: none !important;
}
.fusion-blog-shortcode-2 .fusion-blog-layout-grid .fusion-post-grid {
	padding: 10px 0 !important;
}
.fusion-blog-layout-grid.fusion-blog-equal-heights
	.fusion-post-wrapper
	.fusion-post-content.post-content {
	margin-bottom: 0 !important;
}
.fusion-blog-layout-grid .fusion-post-slideshow {
	border-bottom: none !important;
}
.blog-shortcode-post-title {
	font-size: 18px !important;
}
#biggest-link-front-page article {
	position: relative !important;
}
#biggest-link-front-page .blog-shortcode-post-title .entry-title {
	font-size: 18px !important;
}
.fusion-recent-posts {
	margin-bottom: 0;
}
.mc4wp-form-fields {
	text-align: center;
}

/* === Grid & Columns === */
.col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6,
.col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12,
.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6,
.col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12,
.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6,
.col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12,
.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6,
.col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* === Video Embeds === */
.videoWrapper {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* === WooCommerce === */
.woocommerce-product-gallery__image,
.woocommerce-product-gallery__image a,
.woocommerce-product-gallery__wrapper img {
	pointer-events: none !important;
}
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message {
	background-color: #222;
	color: #fff;
	padding-left: 30px;
}
.woocommerce-info:before,
.woocommerce-message:before {
	content: none;
}
.cart-empty.woocommerce-info {
	background-color: transparent;
	padding: 0 20px !important;
}
.single-product .posted_in,
.single-product .social-share {
	display: none !important;
}

/* === Misc / Utilities === */
.grecaptcha-badge {
	z-index: 1001;
	display: none !important;
}
.fusion-mobile-menu-search {
	margin-top: 35px;
}
.fusion-builder-column-0 > .fusion-column-wrapper {
	margin-right: 0 !important;
}
.fusion-builder-column-1 > .fusion-column-wrapper {
	padding-left: 0 !important;
}
.panel-title a {
	justify-content: center;
}
.meta {
	color: #aaa;
}
.sidebar {
	background-color: #aaa9a9 !important;
}
.fusion-events-content-wrapper {
	background-color: #222;
}
.popmake-content {
	color: #000 !important;
}
.related {
	display: none !important;
}

/* === Livestream Layout === */
:root {
	--right-col-width: 24em;
	--content-width: calc(100vw - var(--right-col-width));
}
.samlivestream {
	display: flex;
	flex-direction: row;
}
.livestreamvideo {
	width: var(--content-width);
	height: 46.125vw;
}
.livestreamchat {
	height: 46.125vw;
	width: 20vw;
}

/* === Tribe Events Styling === */
.tribe-events-content,
.tribe-events-content h2,
.tribe-events-content h3,
.tribe-events-content h4,
.tribe-events-content h5,
.tribe-events-content h6 {
	color: #aaa9a9;
}
.tribe-events-calendar-month__calendar-event-datetime,
.tribe-events-calendar-month__day-date-daynum {
	color: #aaa !important;
}
.tribe-events-c-view-selector__list-item-text {
	color: #000 !important;
}
#tribe-community-events {
	display: flex;
	flex-flow: column;
}
#tribe-community-events > form {
	display: grid;
	gap: 25px;
}

/* === Responsive Styles === */
@media only screen and (max-width: 768px) {
	.quiet-product-row {
		flex-direction: column;
	}
	.quiet-product {
		margin-bottom: 20px;
	}
}

@media only screen and (max-width: 640px) {
	.fusion-columns .fusion-column:not(.fusion-column-last) {
		margin: 0 0 20px !important;
	}
	.fusion-recent-posts {
		margin-bottom: 15px;
	}
	.fusion-load-more-button {
		margin-top: 0;
	}
	.samlivestream {
		flex-direction: column;
		height: 90vh;
	}
	.livestreamvideo {
		width: 100%;
		height: 67.5vw;
	}
	.livestreamchat {
		height: auto;
		width: auto;
		flex-grow: 2;
	}
}

@media only screen and (max-width: 500px) {
	.events-community-post-content,
	.events-community-post-title,
	.tribe-section.tribe-section-terms {
		width: 85vw;
	}
	.eventstable .table-1 tr td {
		padding: 10px;
	}
}

@media only screen and (min-width: 640px) {
	.fusion-load-more-button {
		width: 25%;
		margin-left: 37.5%;
	}
}
