/* 2 */
.slider{
	position: relative;
	width: 100%;
    height: 87%;
	margin:0 auto !important;
	background: #fcfcfc; /* darckblue */
	text-align:center;
}
.slider .myslide{
	height: 43rem;
	display: none;
	overflow: hidden;
    margin:0% 0% 0% 5%;
}
.slider .prev, .slider .next{
	position: absolute;
	top: 50%;
	transform: translate(0, -50%);
	font-size: 50px;
	padding: 15px;
	cursor: pointer;
	color: #fff;
	transition: 0.1s;
	user-select: none;
}
.slider .prev:hover, .slider .next:hover{
	color: #00a7ff; /* blue */
}
.slider .next{
	right: 0;
}
.slider .dotsbox{
	position: absolute;
	left: 50%;
	transform: translate(-50%);
	bottom: 20px;
	cursor: pointer;
}
.slider .dot{
	display: inline-block;
	width: 15px;
	height: 15px;
	border: 3px solid #fff;
	border-radius: 50%;
	margin: 0 10px;
	cursor: pointer;
}
/* /2 */

/* javascript */
.slider .active, .slider .dot:hover{
	border-color: #00a7ff; /* blue */
}
/* /javascript */

/* muslide add fade */
.slider .fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 3.5s;
  animation-name: fade;
  animation-duration: 3.5s;
}

@-webkit-keyframes fade {
  from {opacity: 0.5}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: 0.5}
  to {opacity: 1}
}
/* /muslide add fade */

/* 3 */
.slider .slider-text{
	position: absolute;
	color: #fff;
	letter-spacing: 2px;
	line-height: 35px;
	top: 40%;
	left: 15%;
	-webkit-animation-name: posi;
  	-webkit-animation-duration: 2s;
  	animation-name: posi;
  	animation-duration: 2s;
	z-index: 1;
}

@-webkit-keyframes posi {
  from {left: 25%;}
  to {left: 15%;}
}


@keyframes posi {
  from {left: 25%;}
  to {left: 15%;}
}

.slider .slider-text h1{
	color: #00a7ff; /* blue */
	font-size: 50px;
	margin-bottom: 20px;
	text-shadow: 1px 1px 1px #fff;
}
.slider .slider-text p{
	font-weight: bold;
	font-size: 20px;
}
/* /3 */

/* 4 */
.slider img{
    width:90%;height:93%;
	transform: scale(1.1, 1.1);
	-webkit-animation-name: posis; /* changed */
  	-webkit-animation-duration: 40s;
  	animation-name: posis; /* changed */
  	animation-duration: 40s;
}
@-webkit-keyframes posis {
    from {left: 15%;}
    to {left: 55%;}
  }

@keyframes posis {
    from {left: 15%;}
    to {left: 55%;}
}

@-webkit-keyframes zoomin {
    from {transform: scale(1, 1);}
    to {transform: scale(1.5, 1.5);}
}
@keyframes zoomin {
    from {transform: scale(1, 1);}
    to {transform: scale(1.5, 1.5);}
}
/* /4 */



/* 5 */
@media screen and (max-width: 800px){
	.myslide{
		height: 500px;
	}
	.slider .slider-text {
		letter-spacing: 2px;
		line-height: 25px;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		-webkit-animation-name: posi2;
		-webkit-animation-duration: 2s;
		animation-name: posi2;
		animation-duration: 2s;
	}

	@-webkit-keyframes posi2 {
	  from {top: 35%;}
	  to {top: 50%;}
	}


	@keyframes posi2 {
	  from {top: 35%;}
	  to {top: 50%;}
	}

	.slider .slider-text h1{
		font-size: 40px;
	}
	.slider .slider-text p{
		font-size: 13px;
	}

}
/* /5 */

/* 6 */
@media screen and (max-width: 520px){
	.slider .slider-text h1{
		font-size: 30px;
		margin-bottom: 20px;
	}
}
/* /6 */
