/*
Theme Name: the7dtchild
Author: Dream-Theme
Author URI: http://dream-theme.com/
Description: The7 is perfectly scalable, performance and SEO optimized, responsive, retina ready multipurpose WordPress theme. It will fit every site – big or small. From huge corporate portals to studio or personal sites – The7 will become a great foundation for your next project!
Version: 1.0.0
License: This WordPress theme is comprised of two parts: (1) The PHP code and integrated HTML are licensed under the GPL license as is WordPress itself.  You will find a copy of the license text in the same directory as this text file. Or you can read it here: http://wordpress.org/about/gpl/ (2) All other parts of the theme including, but not limited to the CSS code, images, and design are licensed according to the license purchased. Read about licensing details here: http://themeforest.net/licenses/regular_extended
Template: dt-the7
*/
.wpb-content-wrapper:has(.slideshow) {
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}
html body div div .wpb_wrapper section.widget.widget_block:has(.slideshow) {
	padding: 0;
}
.slideshow {	
	position: relative;
	min-height: 600px;
	overflow: hidden;
}
/* Slide List */
.slideshow .slide-holder {
	position: absolute;
	width: 100%;
	height: 100%;	
	display: flex;
	justify-content: center;
	align-items: center;
}
.slideshow .slide-holder .slide-margins {
	max-width: 1140px;
	display: flex;
	flex: 1;
}
.slideshow .slide-holder .slide-list {	
	box-sizing: border-box;
	max-width: 200px;
	padding: 20px;
	border-radius: 5px;
	color: #fffb;
	position: relative;
	z-index: 10;	
}
.slideshow .slide-holder .slide-list li button:before {	
	content: '';
	display: block;
	width: 20px;
	height: 1px;
	background-color: #fffa;
	margin: 15px 0 9px;
	transition: .2s ease-in-out;
}
.slideshow .slide-holder .slide-list li:first-child button:before {
	content: '';
	margin-top: 0;
}
.slideshow .slide-holder .slide-list li button {
	background: 0;
	text-align: left;
	border: 0;
	transition: .3s ease-in-out;
}
.slideshow .slide-holder .slide-list p {
	font-family: 'Bai Jamjuree', sans-serif;
	margin-bottom: 3px;
	font-size: 13px;
	color: #eee;
	transition: .3s ease-in-out;
}
.slideshow .slide-holder .slide-list h6 {
	font-family: 'Oxanium', sans-serif;	
	font-weight: 600;
	color: #fff !important;
	margin-bottom: 15px;
	transition: .3s ease-in-out;
}
.slideshow .slide-holder .slide-list li.active p {
	color: #6EC1E4CC !important;
}
.slideshow .slide-holder .slide-list li.active h6 {
	color: #6EC1E4 !important;
}
.slideshow .slide-holder .slide-list li.active button:before {	
	animation-name: countdown;
	animation-duration: 8s;	
	background: #6EC1E4CC;
}
/* Display */
.slideshow .display {
	position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	min-height: 600px;
}
.slideshow .display li {
	position: absolute;
	width: 100%;
	background-size: cover;
	background-position: center;	
	z-index: 0;
	opacity: 1;
	height: 100%;
}
.slideshow .display .content {
	background-image: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.8) 25%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.2) 100%);
	height: 100%;	
	display: flex;
	justify-content: center;
	align-items: center;
	text-shadow: #000C 0 3px 10px;
}
.slideshow .display .content > div {
	width: 100%;
	max-width: 600px;
	margin: auto;
}
.slideshow .display .content p {
	color: #eee;
	font-size: 18px;
	font-family: 'Bai Jamjuree', sans-serif;
	width: 100%;
	line-height: 1.3;
	text-shadow: #000F 0 4px 10px 2px;
}
.slideshow .display .content h4 {
	color: #fff;
	font-size: 32px;
	font-family: 'Oxanium', sans-serif;
	font-weight: 700;
}
.slideshow .display .content a {
	display: inline-block;
	font-size: 16px;
	font-family: 'Bai Jamjuree', sans-serif;
	font-weight: 600;
	background-image: linear-gradient(90deg, #fff, #ddf7ff);
	margin-right: 8px;
	border-radius: 4px;
	padding: 10px 20px;
	text-decoration: none;
	margin-top: 10px;
	text-shadow: none;
}
html .page .slideshow .display .content a {
	color: #013E65;
}
.slideshow .display .content a:hover {
	background-color: #fff;
	background-blend-mode: lighten;
}
#slideshow .display li.toggled {
	z-index: 2;
	animation-name: fadeIn;
	animation-duration: 1.2s;
}
#slideshow .display li.last-active {
	z-index: 1;
}
@keyframes fadeIn {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}
@keyframes countdown {
	0% {
		width: 20px;
		animation-timing-function: ease-in-out;	
	}
	10% {
		width: 100px;
		animation-timing-function: linear;	
	}
	95% {
		width: 0;
		animation-timing-function: ease-in-out;	
	}
	100% {
		width: 20px;
	}
}
@keyframes countdown-mobile {
	0% {
		width: 100%;
		animation-timing-function: linear;	
	}
	95% {
		width: 0;
		animation-timing-function: ease-in-out;	
	}
	100% {
		width: 100%;
	}
}
@media screen and (max-width: 1100px) {
/* 	Slide List */
	.slideshow {
		min-height: 500px;
	}
	.slideshow .slide-holder {
		justify-content: flex-start;
		align-items: flex-end;
		position: absolute;
	}
	.slideshow .slide-holder .slide-margins {
		max-width: 1140px;
		position: relative;
	}
	.slideshow .slide-holder .slide-list {
		display: flex;
		position: absolute;
		bottom: 40px;
		padding: 0 40px;
		width: 100%;
		justify-content: space-between;
		max-width: 100%;
		gap: 15px;
	}
	.slideshow .slide-list h6,
	.slideshow .slide-list p {
		display: none;
	}
	.slideshow .slide-holder .slide-list li {
		width: 100%;
	}
	.slideshow .slide-holder .slide-list li button {
		width: 100%;
	}
	.slideshow .slide-holder .slide-list li button:before {
		margin: 20px 0;
		height: 2px;
		width: 100%;
	}
	.slideshow .slide-holder .slide-list li.active button:before {
		animation-name: countdown-mobile;		
	}
	.slideshow .slide-holder .slide-list li:first-child button:before {
		margin: 20px 0;
	}
/* 	Slides */
	.slideshow .display {
		min-height: 500px;
	}
	.slideshow .display li {
		box-sizing: border-box;
	}
	.slideshow .display .content {
		padding: 20px;	
		box-sizing: border-box;
		justify-content: flex-start;
		
	}
	.slideshow .display .content > div {
		max-width: 600px;
		margin: 0;	
		padding: 20px;	
	}
	.slideshow .display .content p {
		font-size: 15px;
	}
}


/* --- MEGA MENU ---  */
.main-navigation {
	padding: 20px;
}