/* Ant-carousel v.1.1 */
div.document {
	max-width: 1280px;
	min-width:300px; 
	margin:0 auto; 
}
.carousel {
	width: 100%;  /* this value is set by the user */
	height: auto;
	position: relative;
	margin-top: 60px;
}
.carousel-hider {
	overflow: hidden;
}
.carousel-list {
	width: auto;
	margin: 0;
	padding: 0;
	list-style-type: none;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: flex-start;
	justify-content: flex-start;
}
.carousel-element {
	display: block;
	position: relative;
	-webkit-flex: 0 0 auto;
	flex: 0 0 auto;
	width: 1280px;  /* this value is set by the user */
    z-index: -11;
}
.carus{
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	opacity: 0;
}
/* Navigation item styles */
div.carousel-arrow-left, div.carousel-arrow-right {
 	width: 22px;
	height: 40px;
	position: absolute;
	cursor: pointer;
	opacity: 0.8;
	display: block;
}
div.carousel-arrow-left {
 	left: 2%;
	top: 50%;
	width: 36px;
 	background:url(../images/service/angle-left-grey.svg) no-repeat;
}
div.carousel-arrow-left:hover {
 	background:url(../images/service/angle-left-blue.svg) no-repeat;
}
div.carousel-arrow-right {
 	right: 2%;
	top: 50%;
	width: 36px;
 	background:url(../images/service/angle-right-grey.svg)no-repeat;
}
div.carousel-arrow-right:hover {
 	background:url(../images/service/angle-right-blue.svg)no-repeat;
}
div.carousel-arrow-left: hover {
	opacity: 1.0;
}
div.carousel-arrow-right: hover {
	opacity: 1.0;
}
div.carousel-dots {
	width: 100%;
	 height: auto;
	position: absolute;
	left: 0;
	bottom: 3%;
	z-index: -2;
	text-align: center;
}
span.dot {
	width: 10px;
	height: 10px;
	margin: 5px 3px;
	padding: 0;
	display: inline-block;
	background-color: #BBB;
	-webkit-border-radius: 1px;
	border-radius: 1px;
	cursor: pointer;
}
div.carousel-dots {
	transform: scale(0.7)
}

	.carousel-element p{
	    position: absolute;
		left: 13%;
		top: 30%;
		font-size: 2.5em;
		color: #ececec;
		font-weight: bold;
	}
@media screen and (max-width: 1160px)/*1050-1160*/{ /*важно and*/
	.carousel-element img{
		width: 100%;
		height: auto;
		object-fit: contain;
		max-width: 1160px;
	}
}
@media screen and (max-width: 1050px)/*998-1050*/{  /*важно and*/
	.carousel-element img{
		max-width: 1050px;
	}

}
@media screen and (max-width: 997px)/*906-997*/{  /*важно and*/
	.carousel-element img{
		max-width: 997px;
	}
}
@media screen and (max-width: 905px)/*769-905*/{  
	.carousel-element img{
		max-width: 905px;
	}
}
@media screen and (max-width: 768px)/*661-768*/ {
		.carousel-element img{
		max-width: 768px;
	}
}
@media screen and (max-width: 660px)/*401-660*/{
	.carousel-element img{
		max-width: 660px;
	}
}
@media screen and (max-width: 520px)/*401-660*/{
	.carousel-element img{
		max-width: 520px;
	}
div.carousel-dots {
	display: none;
}
div.carousel-arrow-left {
	left: 1.5%; 
	top: 45%;
	transform: scale(0.7)
}
div.carousel-arrow-right {
 	right: 1.5%;
	top: 45%;
	transform: scale(0.7)
}
}
@media screen and (max-width: 400px)/*401-660*/{
	.carousel-element img{
		width: 100%;
		height: auto;
		max-width: 400px;
	}
}
