/* template-other-images shortcode CSS start */
.st-template-other-images-wrap .stc-grid-wrap.grid-4,
.st-template-related-templates-wrap .stc-grid-wrap.grid-4 {
	grid-template-columns: repeat( 4, 1fr );
}

.st-template-other-images-wrap .stc-grid-wrap.grid-3,
.st-template-related-templates-wrap .stc-grid-wrap.grid-3 {
	grid-template-columns: repeat( 3, 1fr );
}

.st-template-other-images-wrap .stc-grid-wrap.grid-2,
.st-template-related-templates-wrap .stc-grid-wrap.grid-2 {
	grid-template-columns: repeat( 2, 1fr );
}

.st-template-other-images-wrap .stc-grid-wrap.grid-1,
.st-template-related-templates-wrap .stc-grid-wrap.grid-1 {
	grid-template-columns: repeat( 1, 1fr );
}

.st-template-other-images-wrap .stc-grid-wrap,
.st-template-related-templates-wrap .stc-grid-wrap {
	display: grid;
	grid-gap: 2.5rem;
}

.st-template-other-images-wrap .stc-grid-item-inner,
.st-template-related-templates-wrap .stc-grid-item-inner {
	margin: 0;
	position: relative;
	transition: all 0.15s;
	box-sizing: border-box;
	background: #fff;
	border-radius: 5px;
	border: 1px solid #e5e7eb;
}

.st-template-other-images-wrap .stc-grid-item-screenshot,
.st-template-related-templates-wrap .stc-grid-item-screenshot {
	display: block;
	overflow: hidden;
	position: relative;
	background-size: 100%;
	background-repeat: no-repeat;
	background-position: center top;
	background-color: #f7f7f9;
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
}

.st-template-other-images-wrap .stc-grid-item-screenshot::after,
.st-template-related-templates-wrap .stc-grid-item-screenshot::after {
	content: "";
	display: block;
	padding-top: 118%;
}

.st-template-other-images-wrap .stc-grid-item-header,
.st-template-related-templates-wrap .stc-grid-item-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 25px;
	border-top: 1px solid #e9e9e9;
	position: relative;
}

.st-template-other-images-wrap .stc-grid-item-title,
.st-template-related-templates-wrap .stc-grid-item-title {
	color: #1f2937;
	font-size: 20px;
	margin: 0;
	padding: 0;
	text-align: center;
	width: 100%;
	font-weight: 500;
}

.st-template-preview-wrap {
	background: #fff;
	border: 1px solid #d1d5db;
	box-sizing: border-box;
	border-radius: 10px;
	margin: 0 auto;
	overflow: hidden;
}

.st-template-preview-dots {
	padding: 5px 12px;
}

.st-template-preview-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid #d1d5db;
}

.st-template-preview-devices > span {
	margin: 5px;
	cursor: pointer;
}

.st-template-preview-devices svg path {
	fill: #d1d5db;
}

.st-template-preview-devices span.active svg path {
	fill: #1f2937;
}

.st-preview-tablet .st-template-preview-wrap {
	width: 441px;
}

.st-preview-mobile .st-template-preview-wrap {
	width: 291px;
}

.st-template-page-builder-wrap > svg {
	width: 32px;
	height: auto;
	margin: 5px;
	border-radius: 50%;
}

.st-template-other-images-wrap .stc-grid-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	grid-gap: 50px;
	flex-direction: row;
	flex-wrap: wrap;
}

.st-template-other-images-wrap .stc-grid-item {
	cursor: pointer;
	width: 340px;
}

.st-template-other-images-wrap .stc-grid-item {
	height: auto;
}

.st-template-other-images-wrap .stc-grid-item-inner {
	height: 18vw;
}

.stc-grid-new-item .stc-grid-item-header {
	padding: 20px 20px;
	border-top: 1px solid #e9e9e9;
	background: var( --stc-color-white );
	box-sizing: border-box;
	border-radius: 0 0 4px 4px;
	display: grid;
	z-index: 5;
	height: auto;
	min-height: 9vw;
}

.stc-grid-new-item .stc-grid-item-desc {
	font-weight: 400;
	font-size: 16px;
	font-style: normal;
	line-height: 160%;
}

.stc-grid-new-item .stc-grid-item-title {
	color: var( --st-color-heading );
	font-size: var( --st-font-size-xs );
	line-height: var( --st-line-height-xs );
	font-style: normal;
	margin: 0;
	padding: 0;
	text-align: center;
	width: 100%;
	font-weight: 600;
	display: flex;
	align-items: center;
}

.stc-grid-new-item .stc-grid-item-hover-button-wrap {
	justify-content: center;
	position: absolute;
	left: 0;
	background: transparent;
	width: 100%;
	height: auto;
	visibility: hidden;
	opacity: 0;
	color: var( --stc-color-white );
}

.stc-grid-item {
	cursor: default;
}

@media (max-width: 991px) {

	.st-template-other-images-wrap .stc-grid-wrap.grid-4,
	.st-template-other-images-wrap .stc-grid-wrap.grid-3,
	.st-template-related-templates-wrap .stc-grid-wrap.grid-4,
	.st-template-related-templates-wrap .stc-grid-wrap.grid-3 {
		grid-template-columns: repeat( 2, 1fr );
	}

	.st-template-other-images-wrap .stc-grid-item-inner {
		height: 60vw;
	}

	.st-template-other-images-wrap .stc-grid-item {
		width: 290px;
	}
}

@media (max-width: 767px) {

	.st-template-other-images-wrap .stc-grid-wrap.grid-4,
	.st-template-other-images-wrap .stc-grid-wrap.grid-3,
	.st-template-other-images-wrap .stc-grid-wrap.grid-2,
	.st-template-related-templates-wrap .stc-grid-wrap.grid-4,
	.st-template-related-templates-wrap .stc-grid-wrap.grid-3,
	.st-template-related-templates-wrap .stc-grid-wrap.grid-2 {
		grid-template-columns: repeat( 1, 1fr );
	}

	.st-template-other-images-wrap .stc-grid-item-inner {
		height: 75vw;
	}
}

/* template-other-images shortcode CSS end */
.stc-mega-menu-wrap {
	text-align: left;
}

.stc-mega-menu-toggle {
	background: var( --stc-color-white );
	border: 1px solid var( --stc-border-color );
	border-radius: var( --stc-border-radius-2 );
	fill: var( --stc-color-placeholder );
	padding: 10px 13px;
	box-sizing: border-box;
	cursor: pointer;
	display: none;
}

.stc-mega-menu-group {
	background: var( --stc-color-white );
	box-shadow: 0 2px 4px -1px rgba( 0, 0, 0, 0.1 ), 0 4px 6px rgba( 0, 0, 0, 0.1 );
	border-radius: 0 0 var( --stc-border-radius-4 ) var( --stc-border-radius-4 );
	padding: 18px 22px 22px 22px;
	left: -22px;
	z-index: 9;
	display: flex;
	flex-wrap: wrap;
	margin: var( --stc-mega-menu-group-margin, 0 );
}

.stc-mega-menu-group.stc-mega-menu-group-two-col {
	width: 400px;
}

.stc-mega-menu-item {
	position: relative;
	white-space: nowrap;
}

.stc-mega-menu-item:hover > .stc-mega-menu-group {
	visibility: visible;
	opacity: 1;
}

.stc-mega-menu-item:last-child {
	margin-right: 0;
}

.stc-mega-menu-section-title {
	font-weight: 600;
	font-size: var( --stc-font-size-xs );
	line-height: var( --stc-font-line-height-xs );
	display: flex;
	align-items: center;
	color: var( --stc-color-heading );
	margin-bottom: 6px;
}

.stc-mega-menu-children {
	color: var( --stc-color-body );
	font-weight: 400;
	font-size: var( --stc-font-size-xs );
	line-height: var( --stc-font-line-height-xs );
}

.stc-mega-menu-child-item {
	margin-bottom: 6px;
	cursor: pointer;
	font-size: 13px;
}

.stc-mega-menu-child-item.stc-mega-menu-child-item-active,
.stc-mega-menu-child-item:hover {
	color: var( --stc-color-accent-hover );
}

.stc-mega-menu-child-item:last-child {
	margin-bottom: 0;
}

.stc-mega-menu-item:hover > .stc-mega-menu-item-title,
.stc-mega-menu-item-active > .stc-mega-menu-item-title {
	border-bottom-color: var( --stc-color-heading );
}

.stc-mega-menu-item-title {
	cursor: pointer;
	border-bottom: 2px solid transparent;
	display: inline-block;
	font-size: 15px;
	margin: var( --stc-mega-menu-item-title-margin, 0 20px 0 0 );
	padding: var( --stc-mega-menu-item-title-padding, 0 0 20px 0 );
}

.stc-mega-menu-item-title svg {
	width: 10px;
	height: 10px;
	fill: var( --stc-color-placeholder );
	margin-left: 10px;
}

.stc-mega-menu-item-title:hover svg {
	fill: var( --stc-color-heading );
}

.stc-mega-menu-item-active svg {
	fill: var( --stc-color-heading );
}

.st-template-preview-button-wrap {
	align-content: center;
	justify-content: center;
	line-height: 24px;
	display: flex;
	align-items: center;
	text-align: center;
	color: #fff;
	background: #492cdd;
	padding: 5px 20px 5px 20px;
	position: absolute;
	left: 0;
	right: 0;
	bottom: -10px;
	width: fit-content;
	margin: 0 auto;
}

a.st-template-button {
	color: #fff;
}

.astra-sites-buy-now-button{
	line-height: 1em;
	color: #FFFFFF;
	background-color: #492CDD;
	border-radius: 4px;
	padding: 15px 30px;
	text-decoration:none;
}

@media (min-width: 769px) {

	.stc-mega-menu {
		display: flex;
		position: relative;
	}

	.stc-mega-menu-group {
		position: absolute;
		top: 100%;
		opacity: 0;
		visibility: hidden;
		width: 230px;
	}

	.stc-mega-menu-group-col-2,
	.stc-mega-menu-group-col-3 {
		width: 400px;
	}

	.stc-mega-menu-group-col-2 .stc-mega-menu-section,
	.stc-mega-menu-group-col-3 .stc-mega-menu-section {
		width: 50%;
	}

	.stc-mega-menu-group-col-2 .stc-mega-menu-section:nth-child( 1 ),
	.stc-mega-menu-group-col-2 .stc-mega-menu-section:nth-child( 2 ),
	.stc-mega-menu-group-col-3 .stc-mega-menu-section:nth-child( 1 ),
	.stc-mega-menu-group-col-3 .stc-mega-menu-section:nth-child( 2 ) {
		padding-bottom: 20px;
	}

	.stc-mega-menu-group-col-2 .stc-mega-menu-section:nth-child( 1 ),
	.stc-mega-menu-group-col-2 .stc-mega-menu-section:nth-child( 3 ),
	.stc-mega-menu-group-col-3 .stc-mega-menu-section:nth-child( 1 ),
	.stc-mega-menu-group-col-3 .stc-mega-menu-section:nth-child( 3 ) {
		border-right: 1px solid var( --stc-color-light-gray );
	}

	.stc-mega-menu-group-col-2 .stc-mega-menu-section:nth-child( 2 ),
	.stc-mega-menu-group-col-2 .stc-mega-menu-section:nth-child( 4 ),
	.stc-mega-menu-group-col-3 .stc-mega-menu-section:nth-child( 2 ),
	.stc-mega-menu-group-col-3 .stc-mega-menu-section:nth-child( 4 ) {
		padding-left: 25px;
	}
}

@media (max-width: 768px) {

	.stc-mega-menu-item-title {
		font-weight: var( --stc-font-weight-bold );
		font-size: var( --stc-font-size-m );
		line-height: var( --stc-font-line-height-xs );
		color: var( --stc-color-heading );
		margin-bottom: 8px;
		padding: 0;
	}

	.st-other-filters {
		margin-bottom: 0;
	}

	.st-category-filter {
		width: 50%;
	}

	.stc-mega-menu-section-title {
		color: var( --stc-color-placeholder );
		font-size: var( --stc-font-size-s );
	}

	.stc-mega-menu-container {
		display: none;
	}

	.stc-mega-menu-show .stc-mega-menu-container {
		display: block;
	}

	.stc-mega-menu-toggle {
		display: inline-block;
	}

	.st-categories-icon {
		margin-left: 8px;
	}

	.stc-mega-menu-item-title svg {
		display: none;
	}

	.stc-mega-menu-item {
		margin-bottom: 38px;
	}

	.stc-mega-menu-group {
		background: transparent;
		box-shadow: none;
		border-radius: initial;
		padding: 0;
		margin: 0;
		width: 100%;
		flex-direction: column;
	}

	.stc-mega-menu-group-col-2 .stc-mega-menu-section:nth-child( 2 ),
	.stc-mega-menu-group-col-2 .stc-mega-menu-section:nth-child( 4 ),
	.stc-mega-menu-group-col-3 .stc-mega-menu-section:nth-child( 2 ),
	.stc-mega-menu-group-col-3 .stc-mega-menu-section:nth-child( 4 ) {
		padding: 0;
	}

	.stc-mega-menu-container {
		background: var( --stc-color-white );
		box-shadow: 0 2px 4px -1px rgba( 0, 0, 0, 0.1 ), 0 4px 6px rgba( 0, 0, 0, 0.1 );
		border-radius: 0 0 var( --stc-border-radius-4 ) var( --stc-border-radius-4 );
		padding: 37px 45px;
		position: absolute;
		left: 0;
		right: 0;
		z-index: 2;
		margin-top: 15px;
		overflow-y: auto;
		height: 50vh;
	}

	.stc-mega-menu-section {
		width: 100%;
		margin-bottom: 15px;
	}

	.stc-mega-menu-section:last-child {
		margin-bottom: 0;
	}
}

@media (min-width: 768px) {

	.st-mobile-searchbox {
		display: none;
	}
}
