/* home page */

.course-preview-wrapper {

}
.course-preview-item,
.history-preview-item,
.user-preview-item {
	min-height: 270px;
	height: auto;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 15px;
}
.user-preview-item {
	cursor: pointer;
	height: 343px;
	overflow-y: hidden;
}
.course-preview-img,
.history-preview-img,
.user-preview-img {
	position: absolute;
	top: 0px;
	width: 92%;
	height: 220px;
	background-size: cover;
	background-position: top;
	background-repeat: no-repeat;
}
.history-preview-img,
.user-preview-img {
	width: 100%;
}
.course-preview-desc,
.history-preview-desc,
.user-preview-desc {
	padding-top: 70px;
	width: 100%;
	height: auto;
	margin-top: 160px;
}
.course-preview-desc {
	min-height: 245px;
}
/* user */
.user-preview-desc {
	margin-top: 110px;
	padding-top: 170px;
	height: 233px;
	transition:  .2s;
	background-color: #fff;
}
.user-preview-item .user-preview-img {
	height: 270px;
	transition:  .2s;
}
.user-preview-desc .user-info {
	visibility: hidden;
	transition:  .2s;
}
.user-preview-img .img-overlay {
	background-color: #85bc42;
	opacity: 0;
	height: 100%;
	transition:  .2s;
}
@media (min-width: 576px) and (max-width: 767px) {
	.history-preview-img {
		height: 290px;
	}
	.history-preview-desc {
		padding-top: 150px;
	}
}

@media (max-width: 575px) {
	.history-preview-item {
		width: 100%;
        margin-left: auto;
        margin-right: auto;
	}
	.history-preview-img {
		height: 320px;
		background-position: center!important;
	}
	.history-preview-desc {
		padding-top: 170px;
	}
}
/**/
.fun-and-effective-wrapper,
.user-preview-wrapper,
.user-preview-wrapper .y-heading.h-m.w-divider.icon.graduation:before {
	background-color: #edf4f8;
}
.fun-and-effective-wrapper {
	padding: 40px 0;
}
.fun-and-effective-wrapper .y-heading {
	margin: 0px 0px 5px 0px;
}
.fun-and-effective-wrapper .y-text {
	margin-top: 10px;
}

.user-preview-item:hover .user-preview-img {
	height: 150px;
}
.user-preview-item:hover .user-preview-img .img-overlay {
	opacity: .3;
}
.user-preview-item:hover .user-preview-desc {
	padding-top: 50px;
}
.user-preview-item:hover .user-preview-desc .user-info {
	visibility: visible;
}

/* news */

.news-item {
	display: flex;	
	margin-bottom: 15px;
}
.news-item-img {
	width: 200px;
	height: 200px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}
.news-item-img-overlay {
	background-color: rgba(133, 188, 66, .6);
	height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	opacity: 0;
	transition: .3s;
	color: #fff;
	font-size: 20px;
}
.news-item:hover .news-item-img-overlay {
	opacity: 1;
}
.news-item-desc {
	display: inline-block;
	flex-basis: calc(100% - 200px);
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
}
.news-item-desc .y-box-heading {
	display: flex;
	justify-content: space-between;
	margin: 0px 0px 10px 0px;

}
.news-item .button {
	margin: 10px 0px 0px 0px;
}

/* reviews */

.reviews-wrapper {

}
.reviews-top-wrapper {
	background-color: #31495e;
	position: relative;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}
.rewiew-counter {
	height: 280px;
	display: flex;
	justify-content: center;
	align-items: center;
}
.rewiew-counter .y-heading {
	color: #fff;
	text-align: center;
	/*font-weight: bold;*/
}
.reviews-bottom-wrapper {
	background-color: #85bc42;
}
.reviews-top,
.reviews-bottom {
	min-height: 280px;
}
.reviews-top {

}
.reviews-bottom {

}
.why-we-are,
.contacts-heading,
.general-left-heading {
	left: 0px;
	top: -20px;
	display: inline-block;
	min-width: 200px;
	height: 66px;
	background-color: #85bc42;
	position: absolute;
	line-height: 66px;
	z-index: 999;
}
.why-we-are .y-heading,
.contacts-heading .y-heading,
.general-left-heading .y-heading {
	margin: 10px 0px 0px 0px;
	color: #fff;
}
.why-we-are .nav-triangle,
.contacts-heading .nav-triangle,
.general-left-heading .nav-triangle {
	transform: rotate(180deg);
	background-color: transparent;
	position: absolute;
	right: -48px;
	border-width: 0 0 66px 50px;
}
.reviews .owl-stage .item {

}
.review {
	min-height: 180px;
	height: auto;
	background-color: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}
.review h5,
.review .y-text,
.review .y-text p {
	color: #fff;
	text-align: center;
}
.owl-theme .owl-dots .owl-dot span {
	background-color: transparent;
	border: 2px solid #fff; 
	height: 12px;
	width: 12px;

}
.owl-theme .owl-dots .owl-dot:focus {
	outline: none;
}
.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
	background-color: #fff; 	
}
.reviews-heading {
	padding-bottom: 15px;
}
.reviews-heading h3.y-heading.h-m.y-color-white.icon:before {
	background-color: #85bc42 !important;
}

/* contacts */

.bottom-wrapper {
	position: relative;
}
.contacts-wrapper {
	z-index: 2;
	margin-top: 50px;
	position: relative;
	height: 400px;
	width: 350px;
	background-color: #31495e;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding-right: 10px;
}
.contacts-wrapper .contacts-list {
	/*text-align: right;*/
}
.contacts-wrapper .contacts-list p {
	margin-bottom: 0px;
	color: #fff;
	margin-left: 10px;
}
.contacts-wrapper .contacts-list div.wrap {
	margin-bottom: 10px;
	display: flex;
}
.contacts-wrapper-angle {
	position: absolute;
	display: block;
	border-style: solid;
	border-width: 0px 0px 400px 300px;
	border-color: transparent transparent #31495e transparent;
	transform: rotate(180deg);
	right: -300px;
	top: 0px;
}
.map-wrapper {
	z-index: 1;
	position: absolute;
	right: 0px;
	top: 0px;
	width: calc(100% - 350px);
}
.map-wrapper #map {
	width: 100%;
}

/* about us advantages*/

.advantages-item {
	height: auto;
	text-align: center;

}
.advantages-item img {
	width: 40%;
	height: auto;
	margin-bottom: 15px;
}
.advantages-item p {
	font-size: 14px;
	color: #fff;
}