/**
 * Updated:			02/06/2025
 * Author:			RSGDX
 * License:			GPL v2 or later
 * License URI:		https://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain:		rsgdx
 * Plugin URI:		https://rynerworld.com/
 * Author URI:		https://rynerworld.com/
 * Domain Path:		/languages
 * 
 * @package			RSGDX
 * @author			Ryner S. Galaus
 * 
 */


body.single-trade-shows .template-container {
	width: 100%;
}
body.single-trade-shows.rsgdx-active #content {
	background-color: var(--ec_rsgcf_black_shade_0);
}
body.single-trade-shows.rsgdx-active #content .ast-container {
	width: 100%; max-width: 100%; padding: 0;
}
.rsgdx-active .ec-trade-show-container {
	width: 100%;
}
.rsgdx-active .ec-trade-show-container p {
	margin-bottom: 2px; font-size: 16px; color: var(--ec_rsgcf_white_shade_0);
}
.rsgdx-active .ec-trade-show-container h1 {
	font-size: 35px; font-weight: 800; margin-bottom: 15px; color: var(--site_shade_5);
}
.rsgdx-active .ec-trade-show-container h2 {
	font-size: 30px; font-weight: 800; margin-bottom: 15px;
}
.rsgdx-active .ec-trade-show-container h3 {
	font-size: 25px; font-weight: 700;
}
.rsgdx-active .ec-trade-show-container h4 {
	font-size: 22px; font-weight: 600;
}
.rsgdx-active .ec-trade-show-container ul {
	font-size: 16px; margin-left: 30px; line-height: 2em;
}

/***************************
* Single - Tabs
***************************/
.rsgdx-trade-show-tabs {
	padding: 60px 20px; background-color: var(--site_secondary_color);
}
.rsgdx-trade-show-tabs .rsgdx-container-box {
	border-radius: 20px; display: flex; flex-direction: row; align-items: stretch; justify-content: space-between; overflow: hidden;
}
.rsgdx-trade-show-tabs .rsgdx-container-box > div {
	border-radius: 20px; width: 50%; height: auto; background-color: var(--site_shade_1);
}
.rsgdx-trade-show-tabs .rsgdx-container-box > div.rsgdx-trade-show-tabs-contents {
	border-bottom-right-radius: 0; color: var(--site_shade_5);
}
.rsgdx-trade-show-tabs .rsgdx-container-box > div.rsgdx-trade-show-tabs-contents h2,
.rsgdx-trade-show-tabs .rsgdx-container-box > div.rsgdx-trade-show-tabs-contents h3 {
	color: var(--site_shade_5);
}
.rsgdx-trade-show-tabs .rsgdx-container-box > div.rsgdx-trade-show-tabs-imgs {
	border-bottom-left-radius: 0;
}
.rsgdx-trade-show-tabs-contents {
	padding: 30px;
}
.rsgdx-trade-show-tabs-imgs > div {
	padding: 30px;
}
.rsgdx-trade-show-tabs-imgs > div.rsgdx-trade-show-tabs-imgs-1 {
	background-color: var(--site_secondary_color); padding: 0 0 30px 30px;
}
.rsgdx-trade-show-tabs-imgs img {
	border-radius: 20px; width: 100%; object-fit: cover; object-position: center;
}
.rsgdx-trade-show-tabs-imgs-2 {
	border-top-right-radius: 20px;
}
.rsgdx-trade-show-tabs-dates {
	display: flex; flex-direction: row; align-items: center; padding: 30px 0;
}
.rsgdx-trade-show-tabs-dates span {
	border-bottom: 2px solid var(--site_shade_3); display: block; padding: 10px 20px; min-width: 150px; text-align: center; cursor: pointer; transition: ease .3s;
}
.rsgdx-trade-show-tabs-dates span:first-child {
	margin-right: 10px;
}
.rsgdx-trade-show-tabs-dates span:hover, .rsgdx-trade-show-tabs-dates span.rsgdx-active {
	background-color: var(--site_shade_2); border-bottom: 2px solid var(--site_primary_color); transition: ease .3s;
}
.rsgdx-trade-show-tabs-dates span b { 
	font-weight: 500; min-width: 100px; font-size: 15px; background-color: var(--site_primary_color); color: var(--site_shade_5); border-radius: 20px; padding: 5px 20px; display: inline-block;
}
.rsgdx-trade-show-tab a {
	color: var(--site_primary_color);
}
.rsgdx-trade-show-tab a:hover {
	opacity: 0.8;
}
.rsgdx-trade-show-tab[data-tab="2"] {
	display: none;
}
.rsgdx-trade-show-tabs.rsgdx-trade-show-tabs-no-images .rsgdx-container-box > div.rsgdx-trade-show-tabs-imgs {
	display: none;
}
.rsgdx-trade-show-tabs.rsgdx-trade-show-tabs-no-images .rsgdx-container-box > div.rsgdx-trade-show-tabs-contents {
	width: 100%;
}
@media only screen and (max-width: 1000px) {
	.rsgdx-trade-show-tabs .rsgdx-container-box {
		flex-direction: column;
	}
	.rsgdx-trade-show-tabs .rsgdx-container-box > div {
		width: 100%;
	}
	.rsgdx-trade-show-tabs-imgs > div.rsgdx-trade-show-tabs-imgs-1 {
		padding: 30px;
	}
	.rsgdx-trade-show-tabs .rsgdx-container-box > div.rsgdx-trade-show-tabs-contents {
		border-bottom-left-radius: 0;
	}
}

/***************************
* Search Section
***************************/
.rsgdx-trade-show-search {
	padding: 60px 20px; background-color: var(--site_secondary_color);
}
.rsgdx-trade-show-search .rsgdx-container-box {
	background-color: var(--site_shade_1); border-radius: 20px; display: flex; flex-direction: row; align-items: center; padding: 30px; justify-content: space-between;
}
.rsgdx-trade-show-search .rsgdx-container-box > div {
	width: 47%; overflow: hidden;
}
.rsgdx-trade-show-search-img img {
	width: 100%; height: 400px; border-radius: 20px; object-fit: cover; object-position: center;
}
.rsgdx-trade-show-search-form form > div {
	padding: 10px 0;
}
.rsgdx-trade-show-search-form input, .rsgdx-trade-show-search-form select {
	border: none; border-bottom: 1px solid var(--site_shade_7); background: none!important; padding: 10px; height: auto; color: var(--site_shade_6); width: 100%; outline: none!important; box-shadow: none!important;
}
.rsgdx-trade-show-search-form select option {
	background-color: var(--site_shade_2); color: var(--site_shade_6);
}
.rsgdx-trade-show-search-form input[type="date"] {
	position: relative; justify-content: space-between; align-items: center; flex-direction: row;
}
.rsgdx-trade-show-search-form input[type="date"]::after {
	content: "\f274"; position: absolute; right: 10px; top: 10px; font-size: 18px; pointer-events: none; z-index: 2; font-weight: 800; font-family: var(--site_family_2); cursor: pointer; width: 30px; text-align: right;
}
.rsgdx-trade-show-search-form label {
	margin-bottom: 0; margin-top: 10px; display: block; color: var(--site_shade_6);
}
.rsgdx-trade-show-search-form-dates {
	display: flex; flex-direction: row; align-items: flex-start; justify-content: space-between;
}
.rsgdx-trade-show-search-form-dates > div {
	width: 45%;
}
.rsgdx-trade-show-search-form-submit button {
	min-width: 200px; text-align: center; margin-top: 20px;
}

@media only screen and (max-width: 800px) {
	.rsgdx-trade-show-search .rsgdx-container-box {
		flex-direction: column;
	}
	.rsgdx-trade-show-search .rsgdx-container-box > div {
		width: 100%;
	}
	.rsgdx-trade-show-search-img {
		margin-top: 20px;
	}
}


/***************************
* Archive - Title Section
***************************/
.rsgdx-trade-show-title {
	padding: 60px 20px 0 20px; background-color: var(--site_secondary_color); 
}


/***************************
* Archive - Grid Section
***************************/
.rsgdx-trade-show-grid {
	background-color: var(--site_shade_1); padding: 60px 20px;
}
.rsgdx-trade-show-grid-boxes { 
	display: flex; flex-direction: row; justify-content: space-between; align-items: stretch; flex-wrap:wrap; gap: 1%;
}
.rsgdx-trade-show-grid-boxes[data-total="2"] {
	justify-content: flex-start;
}
.rsgdx-trade-show-grid-box { 
	width: 32%; margin: 0 0 20px; height: auto; position: relative; overflow: hidden; padding-bottom: 60px;
}
.rsgdx-trade-show-grid-box-img {
	background-size: contain; background-position: center; width: 100%; height: 300px; background-color: var(--site_shade_5); border-radius: 20px; transition: ease .3s; cursor: pointer; background-repeat: no-repeat; position: relative; overflow: hidden; display: block;
}
.rsgdx-trade-show-grid-box-img:hover {
	transform: scale(0.9); transition: ease .3s;
}
.rsgdx-trade-show-grid-box-img span {
	background-color: var(--site_shade_2); border-radius: 20px; position: absolute; margin: 10px 0 0 10px; padding: 5px 20px; color: var(--site_shade_5); font-size: 13px;
}
.rsgdx-trade-show-grid-box-tags {
	padding: 20px 0;
}
.rsgdx-trade-show-grid-box-tags span{
	background: var(--site_shade_3); border-radius: 20px; padding: 5px 20px; margin: 5px 10px 5px 0; display: inline-block; color: var(--site_shade_5);
}
.rsgdx-trade-show-grid-box-title {
	font-weight: 700; font-size: 16px;
}
.rsgdx-trade-show-grid-box-excerpt {
	font-size: 14px;
}
.rsgdx-trade-show-grid-box-link {
	position: absolute; bottom: 20px;
}
.rsgdx-trade-show-grid-box-link a {
	color: var(--site_primary_color); text-decoration: underline; font-weight: 600;
}
.rsgdx-trade-show-grid-box-link a:hover {
	color: var(--site_shade_5);
}
.rsgdx-trade-show-grid-btn {
	padding-top: 40px;
}
.rsgdx-trade-show-grid-btn a {
	min-width: 200px; text-align: center;
}

@media only screen and (max-width: 900px) {
	.rsgdx-trade-show-grid-box {
		width: 49%;
	}
}
@media only screen and (max-width: 600px) {
	.rsgdx-trade-show-grid-box {
		width: 100%;
	}
	.rsgdx-trade-show-grid-box-link {
		position: relative;
		margin-top: 20px;
	}
}

/***************************
* Archive - Learn More Section
***************************/
.rsgdx-trade-show-learn-more, .rsgdx-trade-show-learn-more-hidden {
	background-color: var(--site_secondary_color); padding: 60px 20px;
}
.rsgdx-trade-show-learn-more .rsgdx-container-box {
	display: flex; flex-direction: row; justify-content: space-between; align-items: center;
}
.rsgdx-trade-show-learn-more .rsgdx-container-box > div {
	width: 45%;
}
.rsgdx-trade-show-learn-more-hidden {
	display: none;
}
.rsgdx-trade-show-learn-more-hidden.rsgdx-active {
	display: block;
}
.rsgdx-trade-show-learn-more-hidden .section {
	padding: 20px 0;
}
.rsgdx-trade-show-learn-more-hidden-row {
	display: flex; flex-direction: row; justify-content: space-between; align-items: center; padding: 40px 0;
}
.rsgdx-trade-show-learn-more-hidden-row[data-row="description-only"], .rsgdx-trade-show-learn-more-hidden-row[data-row="img-only"] {
	flex-direction: column;
}
.rsgdx-trade-show-learn-more-hidden-row > div {
	width: 45%;
}
.rsgdx-trade-show-learn-more-hidden-row[data-row="description-only"] > div {
	width: 100%;
}
.rsgdx-trade-show-learn-more-hidden-img img {
	border-radius: 20px; width: 100%; height: 400px; object-fit: cover; object-position: center;
}
@media only screen and (max-width: 800px) {
	.rsgdx-trade-show-learn-more-hidden-row {
		flex-direction: column;
	}
	.rsgdx-trade-show-learn-more-hidden-row > div {
		width: 100%;
	}
	.rsgdx-trade-show-learn-more .rsgdx-container-box {
		flex-direction: column;
	}
	.rsgdx-trade-show-learn-more .rsgdx-container-box > div {
		width: 100%;
	}
}

/***************************
* Photo Gallery Section
***************************/
.rsgdx-trade-show-photo-gallery {
	background-color: var(--site_shade_1); padding: 60px 20px;
}