/*
    Lisa Monpierre
    EFRITS SAS
 
    Training center website
    Dec. 2021
*/

#carousel, #carouselStories
{
	width: 100%;

	float: left;
	position: relative;
	margin: 0 0 40px 0;
	padding: 0;	
}

#carousel
{
	box-shadow: 0px 3px 60px rgba(0, 0, 0, 0.16);
	border-radius: 6px;
	padding: 20px;	

}

#slides, #slidesStories
{
	width: 100%;

	float: left;
	position: relative;
	margin: 10px auto;
	padding: 0;
}

.slideText
{
	display: none;
	
	margin: 2% auto;
	margin-top: 0;
	
	position: absolute;
	
	color: white;
	background-color: rgba(0, 0, 0, 0.75);
}

.slide, .slide1, .slideStories
{
	width:100%;
	display: flex;
	flex-wrap: wrap;
	align-content: space-around;
	float: left;
	display: block;
	margin: 0 auto;
	padding: 0;

	text-align: center;

	-webkit-animation-name: fade;
	-webkit-animation-duration: 1.5s;
	animation-name: fade;
	animation-duration: 1.5s;
}

.slide img, .slide1 img
{
	width: 100%;
	height: 100%;

	float: center;
	margin: 0;
	padding: 0;
}/*

.slide button, .slide1 button
{
	width: 250px;

	padding: 15px;
	margin: 10px;
	float: center;

	border-radius: 6px;
	border: none;
	outline: none;

	background-color: #B29457;
	color: #FAF9F9;
	font-size: 20px;
	font-weight: bold;
}*/

#dotButtons
{
	margin: 0;
	padding: 0;

	text-align: center;
	z-index: -1;

}

#dotButtons
 {
 	margin: 0;
 	padding: 0;
 
 	text-align: center;
 	z-index: -1;
 
 }

.carouselTitle
{
	text-align: left;
	margin: 0;
	padding: 0;
	width: 100%;

	font-size: 220%;

	color: #373737;
}


#dots,#dotsStories
{
	min-height: 150px;
	margin: 0;
	padding: 0 10px;

	text-align: center;

}

.dot, .dot1, .dotStories
{
	display: inline-block;
	padding: 0;

	background-color: rgba(69,72,89,0.1);
	
	-webkit-transform:skew(30deg);
	-moz-transform:skew(30deg);
	-o-transform:skew(30deg);
	tranform:skew(30deg);

	transition: background-color 0.6s ease;
}

.dotButton
{
	display: inline-block;
	padding: 10px;
	margin: 10px;
	font-size: 30px;

	z-index: -1;

	border-radius: 6px;

	background-color: white;
	color: #c88f1a;
	font-weight: bold;
	box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
	transition: box-shadow 10s ease-in-out;
}

.dotButton:hover
{
	z-index: 10;
	cursor: pointer;
	background-color: #EEEEEE;

}

.dotButtonActivate
{
	box-shadow: inset 0px 0px 10px rgba(33, 33, 33, 0.5);
	z-index: 10;
	cursor: pointer;
	color: #373737;
}


@media only screen and (min-width: 541px) /* portrait tablet */
{
	.slide, .slide1
	{
		height: 100%;
	}
	.slideText
	{
		position: relative;
		float: left;
		height: 220px;
		width: 100%;
		font-size: 18px;
		padding: 0 2%;
	}
	.dot, .dot1, .dotStories
	{
		height: 52px;
		width: 72px;
		margin: 4px 4px;
	}	
	.dot:hover, .dot1:hover, .dotActive, .dotStories:hover, .dotStoriesActivate
	{
		height: 54px;
		width: 74px;
		
		background-color: #373737;
		cursor: pointer;
	}
	
}

@media only screen and (max-width: 540px) /* portrait mobile */
{
	.slide, .slide1
	{
		height: 100%;
	}
	.slideText
	{
		position: relative;
		float: left;
		height: 220px;
		width: 100%;
		font-size: 18px;
		padding: 0 2%;
	}
	.dot, .dot1, .dotStories
	{
		height: 42px;
		width: 62px;
		margin: 4px 4px;
	}	
	.dot:hover, .dot1:hover, .dotActive, .dotStories:hover, .dotStoriesActivate
	{
		height: 44px;
		width: 64px;
		
		background-color: #373737;
		cursor: pointer;
	}
	
}

@media only screen and (min-width : 1825px) /* desktop */
{
	.slide, .slide1
	{
		height: 650px;
	}
	.slideText
	{
		position: absolute;
		height: 240px;
		width: 400px;
		bottom: 40px;
		left: 10px;
		font-size: 18px;
	}
	.dot, .dot1, .dotStories
	{
		height: 25px;
		width: 50px;
		margin: 2px 2px;
	}
	
	.dot:hover, .dot1:hover, .dotActive, .dotStories:hover, .dotStoriesActivate
	{
		height: 32px;
		width: 62px;
		
		background-color: #373737;
		cursor: pointer;
	}
}

@media only screen and (orientation: landscape) and (min-width: 1601px) and (max-width: 1824px) /* desktop */
{
	.slide, .slide1
	{
		height: 650px;
	}
	.slideText
	{
		position: absolute;
		height: 240px;
		width: 400px;
		bottom: 40px;
		left: 10px;
		font-size: 18px;
	}
	.dot, .dot1, .dotStories
	{
		height: 25px;
		width: 50px;
		margin: 2px 2px;
	}
	
	.dot:hover, .dot1:hover, .dotActive, .dotStories:hover, .dotStoriesActivate
	{
		height: 32px;
		width: 62px;
		
		background-color: #373737;
		cursor: pointer;
	}
}

@media only screen and (orientation: landscape) and (min-width: 1225px) and (max-width: 1600px) /* laptop */
{
	.slide, .slide1
	{
		height: 650px;
	}
	.slideText
	{
		position: absolute;
		height: 240px;
		width: 400px;
		bottom: 30px;
		left: 10px;
		font-size: 18px;
	}
	.dot, .dot1, .dotStories
	{
		height: 25px;
		width: 50px;
		margin: 2px 2px;
	}
	
	.dot:hover, .dot1:hover, .dotActive, .dotStories:hover, .dotStoriesActivate
	{
		height: 32px;
		width: 62px;
		
		background-color: #373737;
		cursor: pointer;
	}
}

@media only screen and (orientation: landscape) and (min-width: 961px) and (max-width: 1224px) /* landscape tablet */
{
	.slide, .slide1
	{
		height: 100%;
	}
	.slideText
	{
		position: absolute;
		height: 240px;
		width: 350px;
		bottom: 75px;
		left: 10px;
		font-size: 18px;
	}
	.dot, .dot1, .dotStories
	{
		height: 52px;
		width: 72px;
		margin: 4px 4px;
	}	
	.dot:hover, .dot1:hover, .dotActive, .dotStories:hover, .dotStoriesActivate
	{
		height: 54px;
		width: 74px;
		
		background-color: #373737;
		cursor: pointer;
	}
	
}

@media only screen and (orientation: landscape) and (max-device-width: 960px) /* landscape mobile */
{
	.slide, .slide1
	{
		height: 100%;
	}
	.slideText
	{
		position: relative;
		float: left;
		height: 220px;
		width: 100%;
		font-size: 18px;
		padding: 0 2%;
		left: 0;
		top: 0;
	}
	.dot, .dot1, .dotStories
	{
		height: 52px;
		width: 72px;
		margin: 4px 4px;
	}	
	.dot:hover, .dot1:hover, .dotActive, .dotStories:hover, .dotStoriesActivate
	{
		height: 54px;
		width: 74px;
		
		background-color: #373737;
		cursor: pointer;
	}
	
}