/*При создании использвался SASS*/

@font-face {
	font-family: "Elina";
	src: url("../fonts/Elina.otf");
}

@font-face {
	font-family: "MPLUS1p";
	font-weight: 300;
	src: url("../fonts/M_PLUS_1p/MPLUS1p-Light.ttf");
}

@font-face {
	font-family: "MPLUS1p";
	font-weight: 400;
	src: url("../fonts/M_PLUS_1p/MPLUS1p-Regular.ttf");
}

@font-face {
	font-family: "MPLUS1p";
	font-weight: 500;
	src: url("../fonts/M_PLUS_1p/MPLUS1p-Medium.ttf");
}

@font-face {
	font-family: "MPLUS1p";
	font-weight: 700;
	src: url("../fonts/M_PLUS_1p/MPLUS1p-Bold.ttf");
}

@font-face {
	font-family: "Trajan Sans Pro";
	font-weight: 500;
	src: url("../fonts/TrajanSansPro/TrajanSansPro-Regular.otf");
}

@font-face {
	font-family: "Trajan Sans Pro";
	font-weight: 600;
	src: url("../fonts/TrajanSansPro/TrajanSansPro-Semibold.otf");
}

@font-face {
	font-family: "Trajan Sans Pro";
	font-weight: 700;
	src: url("../fonts/TrajanSansPro/TrajanSansPro-Bold.otf");
}

@font-face {
	font-family: "Montserrat";
	font-weight: 300;
	src: url("../fonts/Montserrat/Montserrat-Light.ttf");
}

@media (max-width: 768px) {
	body.general #templateLesson .swiper-button-next {
		right: -5px !important;
	}

	body.general #templateLesson .swiper-button-prev {
		left: -5px !important;
	}
}

.swiper-slide .btnStyle {
	color: #131520 !important;
}

.swiper-slide .btnStyle:hover {
	color: #fff !important;
}

.font-elina {
	font-family: "Elina";
}

body.general {
	background-color: #fff;
	color: #000;
}

body.general a {
	color: #292C3B;
}

body.general .swiper-button-prev,
body.general .swiper-button-next {
	color: #131520;
}

body.general .btnStyle {
	font-size: 18px !important;
	width: unset;
	height: unset;
	padding: 0.5em 1em;
	line-height: unset;
}

body.general .btnStyle2 {
	transition: 0.3s;
}

body.general .btnStyle2:hover,
.sliderItems .more:hover {
	background-color: #D86519 !important;
}

.theme-light {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.theme-light .backFonBlock {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	background-image: url("../img/online-school__back2.jpg");
	height: auto;
	padding-bottom: 0;
}

@media (max-width: 991px) {
	.theme-light .backFonBlock {
		min-height: 10vh;
	}
}

.theme-light .backFonBlock .bottomShadow {
	background: linear-gradient(180deg, rgb(255 255 255 / 30%) 0%, #FFFFFF 100%);
}

.theme-light .linePreviewText {
	height: 100%;
	width: 100%;
	align-items: baseline;
}

.theme-light .linePreviewText:before {
	display: block;
	content: '';
	height: 15vw;
	max-height: 200px;
}

@media (max-width: 992px) {
	.theme-light .linePreviewText:before {
		min-height: 0;
	}
}

.theme-light .linePreviewText .container .row {
	background: rgba(255, 255, 255, 0.78);
	border-radius: 12px;
	color: #000;
	padding: 50px 100px;
	font-size: 40px;
	text-align: center;
	line-height: 1.5em;
}

.theme-light .linePreviewText .container h6 {
	font-family: "Elina";
	text-transform: none;
	font-size: 20px;
	text-align: center;
	font-weight: 300;
	line-height: 3em;
}

@media (max-width: 768px) {
	.theme-light #aboutBlock {
		margin-top: 0;
	}
}

.theme-light #aboutBlock ul {
	font-size: 20px;
}

.theme-light #aboutBlock ul li {
	position: relative;
}

.theme-light #aboutBlock ul li .num {
	min-width: 100px;
	max-width: 100px;
	height: 100px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 100px;
	border: 2px dashed #131520;
	margin-right: 1em;
	font-family: "Montserrat";
	font-weight: 300;
	font-size: 60px !important;
	align-self: baseline;
}


.theme-light #current-courses>h2 {
	font-weight: 400;
	font-size: 45px;
	text-align: center;
}

.theme-light #current-courses .courses-item {
	border: 1px solid #0000003b;
	background-color: #fff;
	position: relative;
	border-radius: 12px;
}

.theme-light #current-courses .courses-item .desc .head,
.theme-light #current-courses .courses-item .desc .price {
	line-height: 1.5em;
	font-size: 2em;
	font-weight: 500;
}

.theme-light #current-courses .courses-item .desc .price {
	color: #f88d02;
	white-space: nowrap;
	font-size: 30px;
}

.theme-light #current-courses .courses-item .desc #duration {
	white-space: nowrap;
	margin-bottom: 20px;
}

.theme-light #current-courses .courses-item .desc #duration,
.theme-light #current-courses .courses-item .desc #curators,
.theme-light #current-courses .courses-item .desc #outcome {
	position: relative;
	padding-left: 35px;
	padding-right: 20px;
}

.theme-light #current-courses .courses-item .desc #duration:before,
.theme-light #current-courses .courses-item .desc #curators:before,
.theme-light #current-courses .courses-item .desc #outcome:before {
	position: absolute;
	content: "";
	width: 24px;
	height: 24px;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	left: 0;
}

.theme-light #current-courses .courses-item .desc #duration:before {
	background-image: url("../img/icons/clock_yellow.svg");
}

.theme-light #current-courses .courses-item .desc #curators:before {
	background-image: url("../img/icons/hands_yellow.svg");
}

.theme-light #current-courses .courses-item .desc #outcome:before {
	background-image: url("../img/icons/medal_yellow.svg");
}

@media (max-width: 768px) {
	.theme-light #reviews {
		margin-top: 40px;
	}
}

.theme-light #slider .swiper-container .swiper-wrapper .swiper-slide {
	padding: 6px;
}

.theme-light #slider .swiper-container .swiper-wrapper .swiper-slide .item {
	box-shadow: unset;
	border-radius: 12px;
	padding-left: 60px;
	padding-right: 60px;
}

@media (max-width: 992px) {
	.theme-light #slider .swiper-container .swiper-wrapper .swiper-slide .item {
		padding-left: 30px;
		padding-right: 30px;
	}
}

.theme-light #slider .swiper-container .swiper-wrapper .swiper-slide .item h1 {
	text-transform: unset;
	font-weight: 300;
	font-size: 35px;
	line-height: 1.5em;
}

.theme-light #slider .swiper-container .swiper-wrapper .swiper-slide .item p {
	font-size: 16px;
}

@media (min-width: 992px) {
	header {
		background-image: url('../img/menuBack__light.png');
	}
}

.circleTitle .lineTitle .line {
	background: #292c3b;
}

.circleTitle .lineTitle .title {
	background: #fff;
	border-radius: 100px;
	color: #292C3B;
}

.circleTitle .lineTitle .title,
footer .footer-bottom {
	border-color: #292c3b;
}

footer .footer-logo img,
.logo img {
	mix-blend-mode: difference;
}

body>footer>div.container>div.d-none.d-md-block>div>div.col-6 {
	display: flex;
	align-items: center;
	justify-content: center;
}

.menuBlock ul li a {
	color: #292C3B;
}

.menuBlock ul li a:after {
	background: #292C3B !important;
}

.menuBlock ul li.menuAccaunt a,
.menuBlock ul li.menuBasket a {
	width: 29px !important;
}

.menuBlock ul li.menuAccaunt a:before,
.menuBlock ul li.menuBasket a:before {
	width: 100% !important;
}

.menuBlock ul li.menuAccaunt a {
	background-image: url('/wp-content/themes/ksenia_nokhrina_online_school/img/user_dark.svg') !important;
}

.menuBlock ul li.menuBalance a {
	background-image: url('/wp-content/themes/ksenia_nokhrina_online_school/img/purse-with-bill_dark.svg') !important;
}

.menuBlock ul li.menuBasket a {
	background-image: url('/wp-content/themes/ksenia_nokhrina_online_school/img/basket_dark.svg') !important;
}

.menuBlock ul li.menuBasket a:hover,
.menuBlock ul li.menuAccaunt a:hover {
	background-image: none !important;
}

.header-mobile,
.header-mobile ul,
.header-mobile .circle-nav-item:after {
	background-color: #fff !important;
}

.header-mobile,
.header-mobile .circle-nav-item:after {
	box-shadow: 0 -8px 6px rgba(183, 183, 183, 0.1);
}

#lessonsBlock .swiper-container {
	padding: 0 8px;
}

.tab-content {
	width: calc(100% + 16px);
	margin-left: -8px;
}

.header-mobile .nav-fill {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
}

.featuresOC:not(:last-child) {
	margin-bottom: 20px;
	margin-right: 30px;
}

.featuresOC .icon img {
	max-height: 22px;
	min-width: 22px;
	object-fit: contain;
}

.sliderItems .more {
	color: #fff !important;
	transition: .3s;
}

.info-video {
	padding-bottom: 89%;
}

.info-video img {
	object-fit: cover;
	border-radius: 15px;
}

.studingProccess .swiper-container .item p {
	font-size: 22px !important;
	line-height: 32px !important;
}

#aboutBlock p {
	font-weight: 300;
	font-family: "MPLUS1p";
	line-height: 1.5em;
}

.countdown {
	background-color: #F8F8F8;
	padding: 20px 12.5px 10px 12.5px;
	border-radius: 5px;
	margin-bottom: 1.5em;
}

.countdown .countdown-number {
	text-align: center;
}

.countdown .countdown-number .countdown-time {
	color: #292C3B;
	font-weight: 500;
	min-width: 42.7px;
}

.countdown .countdown-separator {
	margin: 0 10px;
	display: inline-block;
}

.countdown .countdown-number .countdown-time,
.countdown .countdown-separator {
	font-size: 32px;
}


.countdown .countdown-number .countdown-text {
	font-size: 8px;
	line-height: 2em;
}

.countdown .countdown-separator,
.countdown .countdown-number .countdown-text {
	color: #292c3b94;
}

.info-wrapper .info-wrapper-title {
	color: #515461 !important;
}

.info-wrapper .info-wrapper-title {
	margin: 0;
	line-height: 3em;
}

#templateLesson {
	padding-top: 0;
	position: relative;
}

#templateLesson .backFonImg {
	min-height: 65vh;
	height: 20vw;
	max-height: 100vh;
	position: absolute;
	top: 0;
}

@media (max-width: 992px) {
	#templateLesson .backFonImg {
		min-height: 10vh;
		height: 50vw;
	}
}

#templateLesson>.container {
	margin-bottom: 50px;
}

@media (max-width: 992px) {
	#templateLesson>.container {
		min-height: unset;
		height: auto;
		margin-bottom: 0;
	}
}

@media (max-width: 576px) {
	#templateLesson>.container {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}

#templateLesson>.container:before {
	min-height: 100px;
	display: block;
	content: '';
	height: 15vw;
	max-height: 180px;
}

@media (max-width: 992px) {
	#templateLesson>.container:before {
		min-height: 0;
	}
}

#templateLesson .info-wrapper {
	padding: 0;
	margin-top: 0;
	margin-bottom: 0;
	background: rgba(255, 255, 255, 0.78);
}

#templateLesson .itemsLessons .desc .btnStyle {
	white-space: nowrap;
}

#templateLesson .itemsLessons .desc a.btnStyle {
	color: #fff;
	position: inherit !important;
	background-color: #F88D02;
	font-size: 18px !important;
	margin: 0 !important;
}

#templateLesson .itemsLessons .desc a.btnStyle:hover {
	background-color: #D86519 !important;
}

#templateLesson .itemsLessons .item {
	padding: 15px;
}

#templateLesson .payment {
	padding-top: 1em;
}

#templateLesson .payment button {
	margin-top: -.25em;
	width: 100%;
}

#templateLesson .payment .paymentPart {
	padding-top: .75em;
}

a.not-link:hover {
	color: unset !important;
}

#mobileHeader {
	background: #fff;
}

#lessonsBlock .sliderItems .item {
	box-shadow: 0px 1px 6px #00000029;
	border: none !important;
}

.lesvideo {
	display: block !important;
}

.llms-video-wrapper .center-video>div:first-child {
	height: 100% !important;
}

.slideMenu {
	background: #fff !important;
}

@media screen and (max-width: 768px) {
	#templateLesson .info-wrapper {
		transform: unset;
	}
}

@media screen and (max-width: 768px) {
	#templateLesson .info-wrapper {
		background: #ffffff00;
		opacity: 1;
	}
}

#templateLesson .itemsLessons .item .desc a.btnStyle.btnStyle2:not(.more) {
	max-width: unset;
}

.llms-video-wrapper .center-video {
	height: 100% !important;
}

.modal-body2 {
	display: none;
}

@keyframes pulseCert {
	50% {
		transform: scale(1.2);
	}
}

#aboutBlock h2 {
	font-family: "MPLUS1p";
	letter-spacing: -.5px;
}

.theme-light #current-courses .features-values .icon {
	height: 22px;
	margin-right: 8px;
}

.theme-light #aboutBlock .studingProccessItems .item .num {
	color: #f88d02;
	font-size: 61px !important;
	min-width: 100px;
	max-width: 100px;
	height: 100px;
	border: 1px dashed #131520;
	margin: 0 !important;
	align-self: center;
	z-index: 5;
	border-radius: 100px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-family: 'Montserrat';
	font-weight: 300;
	position: absolute;
	transform: translateY(-50%);
	background-color: #fff;
}

@media (max-width: 767px) {
	.linePreviewText .container {
		position: inherit !important;
		bottom: unset;
	}

	.linePreviewText h6 {
		font-size: 17px !important;
		line-height: 1.5em !important;
	}

	#aboutBlock h2,
	#lessonsBlock h2 {
		text-align: center;
		font-size: 25px !important;
		margin-top: 32px;
		margin-bottom: 21px !important;
	}

	.theme-light #aboutBlock h4 {
		margin-top: 10px;
		font-size: 20px;
		text-align: center;
		margin-bottom: 0;
		padding-left: 50px;
		padding-right: 50px;
	}

	.theme-light #aboutBlock p {
		padding-left: 50px;
		padding-right: 50px;
		line-height: 22px;
	}

	body.general .btnStyle {
		border-radius: 6px;
		font-family: "MPLUS1p";
		font-weight: 700 !important;
		width: 100%;
	}

	#reviews>h2 {
		font-size: 25px !important;
		font-family: "MPLUS1p";
		font-weight: 500 !important;
		line-height: 31px;
		text-align: center;
		margin-bottom: 28px !important;
	}

	.info-wrapper .info-wrapper-title {
		line-height: 1.75em;
		font-size: 17px;
	}

	.info-wrapper p {
		font-size: 25px !important;
		line-height: 1.35em !important;
		font-weight: 500;
		font-family: "MPLUS1p";
		margin-top: 32px;
		letter-spacing: -1.25px;
	}

	#templateLesson .infoPath.infoPath2 {
		margin-bottom: 55px;
	}

	#templateLesson .textPath .desc {
		font-size: 16px;
		text-align: center;
		margin-top: 60px !important;
	}

	#templateLesson .textPath .desc#contentShow {
		overflow-y: hidden;
		position: relative;
		transition: .3s;
	}

	#templateLesson .textPath .desc#contentShow:after {
		position: absolute;
		content: '';
		width: 100%;
		bottom: 0;
		height: 40%;
		left: 0;
		opacity: 1;
		transition: .3s;
		background-image: linear-gradient(181deg, rgba(255, 255, 255, 0.41) 0%, #ffffff 100%);
	}

	#templateLesson .textPath .desc.show#contentShow:after {
		opacity: 0;
	}

	.wrapContainer.swiper-pagination {
		padding: 0;
		left: 0;
	}

	#templateLesson .swiper-button-next,
	#templateLesson .swiper-button-prev {
		margin-top: -13px;
	}

	#templateLesson .swiper-button-next {
		right: -5px !important;
	}

	#templateLesson .swiper-button-prev {
		left: -5px !important;
	}

	.scrollFixed.col-lg-4 {
		margin-bottom: 0 !important;
	}

	#templateLesson .itemsLessons .item {
		border: none !important;
		box-shadow: 0 0 6px rgba(0, 0, 0, 0.16);
	}

	.itemsLessons .desc {
		display: block !important;
		grid-template-rows: repeat(3, auto);
	}

	.itemsLessons .desc .countdown {
		grid-row-start: 1;
		justify-content: center;
	}

	.itemsLessons .desc a,
	.itemsLessons .desc .descText {
		text-align: left;
	}

	.itemsLessons .desc .descText {
		color: #707070;
		font-weight: 400;
	}

	.mark {
		color: #fff;
		font-size: 20px !important;
		padding-top: 10px !important;
		padding-bottom: 10px !important;
		line-height: 1em !important;
	}
}

@media screen and (max-width: 576px) {

	#aboutBlock,
	.scrollFixed.col-lg-4 {
		position: relative;
	}

	#aboutBlock:before {
		height: calc(100% + 150px);
	}

	.scrollFixed.col-lg-4:before {
		height: 50%;
	}
}

.studingProccess .swiper-button-prev:after,
.studingProccess .swiper-button-next:after {
	color: #000;
}

.studingProccess .swiper-pagination .swiper-pagination-bullet,
.wrapContainer.swiper-pagination .swiper-pagination-bullet {
	background-color: #e7e7e7;
	width: 9px !important;
	height: 9px !important;
}

.studingProccess .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active,
.wrapContainer.swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
	background-color: #f88d02;
}

.wrapContainer.swiper-pagination .swiper-pagination-bullet {
	margin: 18px 3.5px 0;
}

.studingProccess .swiper-pagination {
	bottom: 30px !important;
}

.swiper-button-prev {
	margin-left: 5px !important;
}

.swiper-button-next {
	margin-right: 5px !important;
}

.js_toggleExcerpt,
.js__toggleTextSlider {
	margin: 30px 0;
	background: none;
	border: unset;
	outline: none;
	position: relative;
	transition: .3s;
	width: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.js_toggleExcerpt:after,
.js_toggleExcerpt:before,
.js__toggleTextSlider:after,
.js__toggleTextSlider:before {
	width: 15px;
	height: 3px;
	border-radius: 3px;
	background-color: #b5b5b5;
	content: '';
	position: absolute;
}

.js_toggleExcerpt:after,
.js__toggleTextSlider:after {
	transform: rotate(-45deg) translateX(6px);
}

.js_toggleExcerpt:before,
.js__toggleTextSlider:before {
	transform: rotate(45deg) translateX(-6px);
}

.js_toggleExcerpt.open {
	transform: rotate(180deg);
}

.mark {
	position: relative;
}

.mark-circle {
	position: absolute;
	top: 0;
	height: 100%;
	width: 4px;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
	right: 100%;
}

.mark-circle:after {
	left: 0;
	content: '';
	position: absolute;
	width: 100px;
	height: 100px;
	border-radius: 100px;
}

.mark.mark--green .mark-circle:after {
	background-color: #2C9207;
}

.mark.mark--red .mark-circle:after {
	background-color: #951E1E;
}

.mark.mark--orange .mark-circle:after {
	background-color: #F88D02;
}

@media (min-width: 992px) {
	.theme-light .features-values {
		margin: 20px 0;
	}
}

.onDesc {
	display: inline-block;
	font-family: 'M PLUS 1p', sans-serif;
	font-size: 30px;
	line-height: 40px;
	margin-bottom: 2rem;
}

@media (max-width: 900px) {
	.info-wrapper {
		padding-bottom: 0px !important;
		margin-bottom: -20px !important;
	}
}

#templateLesson .infoPath {
	margin-top: 0px !important;
}

body.general .swiper-pagination .swiper-pagination-bullet {
	border: unset;
}

.header-mobile .nav-fill .circle-nav-item svg {
	margin-bottom: 10px;
}

@media (min-width: 576px) {
	.theme-light.container {
		margin-top: 20px;
	}
}

#mainBlock .linePreviewText h1,
.info-wrapper .info-wrapper-title .bg-white78.font-elina {
	color: #F88D02 !important;
	background: rgba(255, 255, 255, 0.78);
	border-radius: 12px;
	font-size: 35px;
	padding: .5em .5em;
}

.motivationText {
	font-family: "Trajan Sans Pro";
	font-size: 40px;
	line-height: 1.25em;
	margin-top: 10px;
	color: #131520;
	font-weight: 600;
}

.theme-light #aboutBlock .studingProccessItems .item .textSlider {
	background-color: #ffffff8a;
	padding-top: 20px !important;
	padding-bottom: 40px;
	padding-left: 55px;
	padding-right: 55px;
	margin-top: 50px;
}


.studingProccess .swiper-container .item p {
	font-size: 22px !important;
	line-height: 32px !important;
}

@media (max-width: 768px) {
	.studingProccess .swiper-container .item p {
		font-size: 16px !important;
		line-height: 32px !important;
	}
}

.btn--onlyBorder {
	border: 1px solid #F88D02 !important;
	background-color: transparent !important;
	color: #09090C !important;
}

.btn--onlyBorder:hover {
	background-color: #F88D02 !important;
	color: #fff
}

.sliderItems .item .desc .line-clock .lessonTree .iconTree {
	background-image: url('../img/icons/cookingHat_white.png');
}

body.general .recommended .swiper-button-prev {
	left: -30px !important;
}

body.general .recommended .swiper-button-next {
	right: -30px !important;
}

@media (max-width: 767px) {
	.theme-light #aboutBlock p {
		padding-left: 0;
		padding-right: 0;
	}
}

#templateLesson .infoPath .info-video {
	border-radius: 10px;
}

.itemsLessons button {
	border-radius: 6px !important;
	margin-top: 10px !important;
}

.wrapperLesson .wrapContainer.radiusElement img {
	border-radius: 10px !important;
}

#templateLesson .itemsLessons .item .item-img {
	border-radius: 10px !important;
}

button#singeOnlineCourse_submit {
	width: 100%;
}

.backFonBlock .bottomShadow {
	height: 100%;
}

.studingProccess .swiper-pagination .swiper-pagination-bullet {
	margin-left: 3.5px;
	margin-right: 3.5px;
}

.studingProccess .swiper-wrapper {
	height: auto !important;
}

.studingProccess .swiper-wrapper .item {
	height: auto;
	border: 1px solid #0000003b;
	border-radius: 12px;
	margin-top: 50px;
}

@media screen and (max-width: 768px) {
	.studingProccess .swiper-wrapper .item {
		padding-bottom: 50px;
	}

	.theme-light #aboutBlock .studingProccessItems .item .textSlider {
		padding: 0 15px !important;
	}
}

.studingProccess .swiper-button-next,
.studingProccess .swiper-button-prev {
	margin-top: 0px;
}

.studingProccess .swiper-button-next {
	right: 30px !important;
}

.studingProccess .swiper-button-prev {
	left: 30px !important;
}

.studingProccess .swiper-wrapper .item .textSlider .js__toggleTextSlider {
	display: none;
	position: absolute;
	bottom: -10px;
	z-index: 1;
}

.studingProccess .swiper-wrapper .item .textSlider {
	border-radius: 12px;
}

@media screen and (max-width: 992px) {

	.studingProccess .swiper-button-next,
	.studingProccess .swiper-button-prev {
		display: none;
	}

	.studingProccess .swiper-wrapper .item .textSlider.hide {
		height: 250px;
		position: relative;
		overflow-y: hidden;
		transition: .3s;
	}

	.studingProccess .swiper-wrapper .item .textSlider.hide:after {
		background: linear-gradient(to top, rgb(255, 255, 255) 25%, rgba(255, 255, 255, 0));
		content: '';
		position: absolute;
		height: 75%;
		width: 100%;
		bottom: 0;
		left: 0;
		transition: .3s;
	}

	.studingProccess .swiper-wrapper .item .textSlider.hide.show:after {
		opacity: 0;
	}

	.studingProccess .swiper-wrapper .item .textSlider.hide .js__toggleTextSlider {
		display: flex;
		transition: .3s;
		transform: rotate(0deg);
		justify-content: center;
		align-content: center;
	}
}

@media screen and (max-width: 768px) {
	#vPleerBackground .mdl {
		width: 100vw !important;
		height: 100vh !important;
		height: calc(var(--vh, 1vh) * 100) !important;
		grid-template-rows: auto 2fr 1fr;
	}
}

#vPleerBackground #modal {
	grid-template-rows: auto 1fr .75fr;
	height: 100% !important;
}

#vPleerBackground #modal .wht {
	grid-row-start: 1;
}

#vPleerBackground #modal .lesvideo {
	grid-row-start: 2
}

#vPleerBackground #modal .chat {
	grid-row-start: 3
}

.chat #chat {
	height: 100%;
	display: grid;
	grid-template-rows: 1fr auto;
	grid-template-columns: 1fr auto;
	grid-gap: 10px;
}

.chat #chat .messages-wrapper {
	position: relative;
	grid-column-start: 1;
	grid-column-end: 3;
	overflow: auto;
	border: 1px solid #d1d1d1;
	padding: 10px;
}

.chat #chat #messages {
	position: absolute;
	display: flex;
	flex-direction: column-reverse;
}

.chat #chat #messages .message {
	padding: 4px 0;
}

.chat #chat #messages .message .timestamp {
	font-size: 13px;
	font-style: italic;
}

.chat #chat #messages .message .user {
	color: #F88D02;
	font-weight: 700;
}

.chat #chat #message,
.chat #chat #send {
	border-radius: 100px !important;
	height: 3em;
}

.chat #chat #message {
	resize: none;
	padding: .5em 1em;
}

.chat #chat #send {
	background-color: #fff;
	border: 2px solid #F88D02;
	color: #000;
	font-weight: 500;
	transition: .3s;
	padding: 0em 1.5em;
}

.chat #chat #send:hover {
	background-color: #F88D02;
}

.popup-wrapper .popup-block {
	background: #ffffff;
}

.popup-wrapper .popup-block .field-input,
.popup-wrapper .popup-block .info,
.popup-wrapper .popup-block .field-input input {
	color: #000 !important;
}

.popup-wrapper .popup-block .field-input input,
.popup-wrapper .popup-block .field-checkbox .nice-checkbox {
	background-color: #e8f0fe;
}

@media(max-width:575px) {
	#vPleerBackground #modal {
		width: 100vw !important;
	}
}

/* Стили нового оформления "Онлайн-школы" */

section .section-header {
	padding-bottom: 1.5rem;
	text-align: center;
}

section .section-header .section-title {
	text-transform: uppercase;
	line-height: 1.5;
}

section .section-header .courses-icon {
	width: 100%;
	max-width: 375px;
	height: 5.5rem;
	margin: 0 auto;
	background-image: url(../img/forHeader.svg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

section .section-header .section-title {
	font-family: "MPLUS1p", sans-serif;
}

#video-preview .video {
	border: 10px solid white;
	border-radius: 15px;
	box-shadow: 0 0 0px 1px #0000003b;
	aspect-ratio: 16 / 9;
	margin: auto;
}

#video-preview .video iframe {
	width: 100%;
	height: 100%;
}

#join-us .swiper-wrapper .swiper-slide {
	display: grid;
	grid-template-columns: 250px 3fr;
	grid-template-rows: 55px 50px 25px 100px 25px;
	align-items: center;
	column-gap: 30px;
}

#join-us .swiper-wrapper .swiper-slide img {
	grid-column-start: 1;
	grid-column-end: 1;
	grid-row-start: 1;
	grid-row-end: 6;
	height: 100%;
	width: 100%;
	border: 1px solid #0000003b;
	border-radius: 15px;
	object-fit: fill;
}

#join-us .swiper-wrapper .swiper-slide h3 {
	grid-column-start: 2;
	grid-column-end: 2;
	grid-row-start: 2;
	grid-row-end: 2;
	margin-bottom: 0;
	font-weight: 600;
	font-size: 25px;
	text-wrap-mode: nowrap;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	max-height: 3.2em;
	line-height: 1em;
}

#join-us .swiper-wrapper .swiper-slide p {
	grid-column-start: 2;
	grid-column-end: 2;
	grid-row-start: 4;
	grid-row-end: 4;
	font-size: 20px;
	line-height: 35px;
	text-align: justify;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-align: justify;
}

#join-us .back {
	position: absolute;
	background-color: #ececec;
	border: 1px solid #0000003b;
	border-radius: 15px;
	left: 0;
	right: 0;
	top: 45px;
	bottom: -10px;
	display: grid;
	grid-template-columns: 25px 125px 125px 5fr 150px;
	align-items: end;
}

#join-us .back .swiper-button-next,
#join-us .back .swiper-button-prev {
	position: relative;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: 0;
	padding: 40px 35px;
}

#join-us .back .swiper-button-next::after,
#join-us .back .swiper-button-prev::after {
	font-size: 25px;
}

#join-us .back .swiper-button-prev {
	justify-self: end;
	grid-column-start: 2;
}

#join-us .back .swiper-button-next {
	justify-self: start;
	grid-column-start: 3;
}

#join-us .back .swiper-page {
	grid-column-start: 5;
	padding-right: 45px;
	padding-bottom: 15px;
	text-align: right;
	font-size: 25px;
	color: gray;
}

#join-us div.back div.swiper-page span.swiper-pagination-current {
	font-size: 30px;
	color: black;
}

#aboutBlock .arc-container {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: -20px;
	height: 100px;
}

#aboutBlock .arc {
	-webkit-mask-image: radial-gradient(circle 70px at 50% 120%, transparent 66px, black 67px);
	mask-image: radial-gradient(circle 70px at 50% 120%, transparent 66px, black 67px);
	background-color: white;
	height: 99px;
	width: calc(100% - 2px);
	margin: auto;
	margin-bottom: -20px;
	border-radius: 15px;
	color: #f88d02;
	display: flex;
	justify-content: center;
	position: absolute;
	z-index: 1;
}

#aboutBlock .arc-shadow {
	-webkit-mask-image: radial-gradient(circle 70px at 50% 118%, transparent 64px, black 65px);
	mask-image: radial-gradient(circle 70px at 50% 118%, transparent 64px, black 65px);
	height: 101px;
	width: 100%;
	border-radius: 15px;
	background-color: #0000003b;
	position: absolute;
	z-index: 0;
	margin-bottom: -19px;
}

#aboutBlock .arc p {
	margin-top: 15px;
	font-size: 20px;
	font-family: 'MPLUS1p';
	font-weight: 500;
}

/* Курсы в записи */

#past-courses .sliders-block {
	margin: auto;
	display: flex;
	flex-direction: column;
}

#past-courses .sliders-block .tabs {
	margin: auto;
	text-align: center;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	width: 100%;
	margin-bottom: 35px;
	height: 50px;
	box-shadow: 0px 0 0px 1px rgba(0, 0, 0, 0.3);
	border-radius: 15px;
	position: relative;
	overflow: hidden;
}

#past-courses .sliders-block .tabs button {
	width: 100%;
	font-size: 18px;
	font-weight: 500;
	text-transform: uppercase;
	border: none;
	background: transparent;
	color: #333;
	position: relative;
	z-index: 2;
	cursor: pointer;
	transition: color 0.4s ease;
}

#past-courses .sliders-block .tabs button:nth-child(1) {
	border-radius: 15px 0 0 15px;
}

#past-courses .sliders-block .tabs button:nth-child(3) {
	border-radius: 0 15px 15px 0;
}

#past-courses .sliders-block .tabs button.active {
	color: white;
}

/* Анимированный фон */
#past-courses .sliders-block .tabs .tab-active-bg {
	position: absolute;
	top: 0;
	left: 0;
	background: #ea8c32;
	z-index: 1;
	transform: translateX(0%);
	transition: transform 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}

#past-courses .sliders-block .tabs[data-active="1"] .tab-active-bg {
	transform: translateX(100%);
}

#past-courses .sliders-block .sliders {
	grid-row-start: 3;
}

#past-courses .sliders-block .sliders div[data-slider].active {
	height: auto;
	opacity: 1;
	visibility: visible;
	overflow: visible;
}

#past-courses .sliders-block .sliders div[data-slider]:not(.active) {
	opacity: 0;
	height: 0;
	visibility: hidden;
	overflow: hidden;
	pointer-events: none;
}

#past-courses div.sliders-block div.sliders div.slider-item.active {
	display: flex;
	align-items: center;
}

#past-courses div.sliders-block div.sliders div.slider-item.active div.swiper-button-next,
#past-courses div.sliders-block div.sliders div.slider-item.active div.swiper-button-prev {
	width: 0;
	height: 0;
	position: relative;
	top: 70%;
}

#past-courses .sliders-block .sliders .swiper-slide {
	border: 1px solid #0000003b;
	border-radius: 15px;
}

#past-courses .sliders-block .sliders .swiper-slide a {
	display: flex;
	flex-direction: column;
	width: 100%;
}

#past-courses .sliders-block .sliders .swiper-slide a>img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	border-radius: 15px 15px 0 0;
}

#past-courses .sliders-block .sliders .swiper-slide h6 {
	width: auto;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-align: center;
	text-overflow: ellipsis;
	line-height: 1.2em;
	max-height: 2.4em;
	font-size: 1.2em;
	height: 2.4em;
	margin: 5px;
	word-wrap: break-word;
	overflow-wrap: break-word;
	word-break: break-word;
	hyphens: auto;
}

#past-courses .sliders-block .sliders .swiper-slide button {
	border-radius: 0 0 15px 15px;
	height: 100%;
	background: #ea8c32;
	color: white;
	border: none;
	font-size: 18px;
	font-weight: 500;
}

/* ----------------------------------------------------------- */
/* Раздел "Отзывы" */
/* ----------------------------------------------------------- */

#reviews div.swiper-slider {
	margin: auto;
	display: flex;
	align-items: center;
}

#reviews div.swiper-container {
	margin: auto;
}

#reviews .swiper-button-next,
#reviews .swiper-button-prev {
	width: 0;
	height: 0;
	position: relative;
	top: 60%;
}

/* Основные стили карточки (предыдущие стили остаются) */
#reviews .swiper-slider .review-card {
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border: 1px solid #0000003b;
	border-radius: 15px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	height: 100%;
	max-width: 400px;
	margin: 0 auto;
}

#reviews .swiper-slider .review-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#reviews .swiper-slider .review-card__image {
	width: 100%;
	height: 200px;
	overflow: hidden;
	background: #f5f5f5;
}

#reviews .swiper-slider .review-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.3s ease;
}

#reviews .swiper-slider .review-card__content {
	padding: 20px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

#reviews .swiper-slider .review-card__name {
	color: #ea8c32;
	font-size: 16px;
	font-weight: 600;
	margin: 0 0 12px 0;
	line-height: 1.3;
}

#reviews .swiper-slider .review-card__name {
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	max-height: 1.2em;
	line-height: 1em;
}

/* Обновленные стили для текста с ограничением */
#reviews .swiper-slider .review-card__text-wrapper {
	margin: 0 0 16px 0;
	flex-grow: 1;
}

#reviews .swiper-slider .review-card__text {
	color: #333333;
	font-size: 0.95rem;
	line-height: 1.6;
	margin: 0;
	text-align: justify;
	overflow: hidden;
}

#reviews .swiper-slider .review-card__text--truncated {
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-align: justify;
}

/* Кнопка "Подробнее" */
#reviews .swiper-slider .review-card__read-more {
	background: none;
	border: none;
	color: #ea8c32;
	font-size: 0.9rem;
	font-weight: 500;
	cursor: pointer;
	padding: 4px 0 0 0;
	text-decoration: underline;
	transition: color 0.3s ease;
	align-self: flex-start;
}

#reviews .swiper-slider .review-card__read-more:hover {
	color: #e55a2b;
	text-decoration: none;
}

#reviews .swiper-slider .review-card__meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid #f0f0f0;
}

#reviews .swiper-slider .review-card__contact {
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

#reviews .swiper-slider .review-card__contact,
#reviews .swiper-slider .review-card__date {
	font-size: 0.85rem;
	color: #666666;
	font-style: italic;
}

/* Popup стили */
.review-popup {
	display: none;
	position: fixed;
	top: 0;
	right: -40%;
	width: 33.33%;
	height: 100vh;
	background: #ffffff;
	border-radius: 15px;
	box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
	z-index: 1000;
	transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
	margin: 20px 20px 20px 0;
	height: calc(100vh - 40px);
}

.review-popup.active {
	right: 0;
	display: block;
}

.review-popup__content {
	padding: 40px 30px 30px 30px;
	height: 100%;
	overflow-y: auto;
	position: relative;
}

.review-popup__close {
	position: absolute;
	top: 15px;
	left: 15px;
	background: #f5f5f5;
	border: none;
	width: 25px;
	height: 25px;
	border-radius: 50%;
	font-size: 18px;
	font-weight: bold;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	color: #666;
}

.review-popup__close:hover {
	background: #ea8c32;
	color: white;
	transform: rotate(90deg);
}

.review-popup__img {
	height: 350px;
	object-fit: contain;
	overflow: hidden;
	display: flex;
	align-items: center;
	border-radius: 15px;
}

.review-popup__img img {
	height: 100%;
	width: 100%;
	object-fit: cover;
}

.review-popup__name {
	margin: 0;
	color: #ea8c32;
	font-weight: 600;
	padding: 20px 0 10px 0;
}

.review-popup__text {
	font-size: 1rem;
	line-height: 1.7;
	color: #333;
	text-align: justify;
}

/* Overlay */
.review-popup__overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: rgba(0, 0, 0, 0.5);
	z-index: 999;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

.review-popup__overlay.active {
	opacity: 1;
	visibility: visible;
}

/* Настройки для Swiper */
#reviews .swiper-slider .swiper-slide {
	height: auto;
	display: flex;
	align-items: stretch;
}

/* Анимации */
@keyframes slideInRight {
	from {
		right: -33.33%;
	}

	to {
		right: 0;
	}
}

@keyframes slideOutRight {
	from {
		right: 0;
	}

	to {
		right: -33.33%;
	}
}

/* Скрыть скроллбар в popup для лучшего вида */
.review-popup__content::-webkit-scrollbar {
	width: 6px;
}

.review-popup__content::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 3px;
}

.review-popup__content::-webkit-scrollbar-thumb {
	background: #ccc;
	border-radius: 3px;
}

.review-popup__content::-webkit-scrollbar-thumb:hover {
	background: #999;
}

/* =============== МЕДИА-ЗАПРОСЫ =============== */

@media (min-width: 320px) and (max-width: 768px) {

	body.general main a,
	body.general main a:hover {
		color: inherit;
	}

	#mainBlock .linePreviewText h1 {
		line-height: 30px;
	}

	section div.section-header .section-title {
		font-size: 28px;
	}

	.theme-light {
		padding: 0 15px;
		row-gap: 5vh;
	}

	.theme-light section {
		width: 100%;
	}

	#join-us {
		display: none;
	}

	.swiper-button-prev,
	.swiper-button-next {
		display: none;
		margin: 0;
		padding: 0;
	}

	section .section-header {
		padding: 0 1.5rem 1rem;
	}

	section .section-header .courses-icon {
		height: 4rem;
	}

	#past-courses .sliders-block .tabs button {
		font-size: 15px;
		line-height: 1rem;
	}

	#past-courses .sliders-block {
		width: 100%;
		padding: 0 10px;
	}

	#past-courses .sliders-block .tabs {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-template-rows: 40px 40px;
		gap: 5px;
		width: 100%;
		margin-bottom: 20px;
		border-radius: 15px;
		box-shadow: 0px 0 0px 1px rgba(0, 0, 0, 0.3);
		position: relative;
		overflow: visible;
		height: auto;
	}

	#past-courses .sliders-block .tabs button {
		width: 100%;
		font-size: 16px;
		border-radius: 12px;
		position: relative;
		z-index: 2;
	}

	/* Позиционирование кнопок */
	#past-courses .sliders-block .tabs button:nth-child(1) {
		grid-column: 1 / 2;
		grid-row: 1 / 2;
		border-radius: 12px 0 0 12px;
	}

	#past-courses .sliders-block .tabs button:nth-child(2) {
		grid-column: 2 / 3;
		grid-row: 1 / 2;
		border-radius: 0 12px 12px 0;
	}

	#past-courses .sliders-block .tabs button:nth-child(3) {
		grid-column: 1 / 3;
		grid-row: 2 / 3;
		border-radius: 12px;
	}

	/* Фон активного таба адаптируем */
	#past-courses .sliders-block .tabs .tab-active-bg {
		width: 50%;
		height: 40px;
		border-radius: 12px;
		transition: transform 0.4s cubic-bezier(0.4, 0.0, 0.2, 1), border-radius 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
		grid-column-start: 1;
		grid-row-start: 1;
	}

	#past-courses .sliders-block .tabs[data-active="0"] .tab-active-bg {
		transform: translateX(0) translateY(0);
		width: 50%;
		height: 40px;
		transition: all 0.25s ease-in;
	}

	#past-courses .sliders-block .tabs[data-active="1"] .tab-active-bg {
		transform: translateX(100%) translateY(0);
		width: 50%;
		height: 40px;
		transition: all 0.25s ease-in;
	}

	#past-courses .sliders-block .tabs[data-active="2"] .tab-active-bg {
		transform: translateX(0) translateY(45px);
		transition: all 0.25s ease-in;
		width: 100%;
		height: 40px;
	}

	#past-courses .sliders-block .sliders .swiper-slide a {
		width: 100%;
	}

	#past-courses .sliders-block .sliders .swiper-slide a>img {
		height: 150px;
	}

	#past-courses .sliders-block .sliders .swiper-slide a>button {
		height: 40px;
	}

	#instBlock,
	#recommend {
		margin-top: 0;
	}

	main {
		margin-bottom: 55px;
	}
}

@media (min-width: 768px) {
	.theme-light {
		padding: 0 15px;
		row-gap: 80px;
	}

	.theme-light section {
		width: 100%;
		max-width: 850px;
	}

	#join-us {
		display: block;
		height: 320px;
		padding: 0 50px 25px 25px;
	}

	section div.section-header .section-title {
		font-size: 40px;
	}

	.swiper-button-prev,
	.swiper-button-next {
		display: block;
	}

	.theme-light .swiper-button-prev {
		left: -50px;
	}

	.theme-light .swiper-button-next {
		right: -50px;
	}

	#mainBlock .linePreviewText h1 {
		line-height: 40px;
	}

	#video-preview .video {
		height: 350px;
		width: 100%;
		max-width: 670px;
	}

	#aboutBlock {
		display: none;
	}

	#past-courses .sliders-block .tabs .tab-active-bg {
		border-radius: 15px 0 0 15px;
		width: calc(100% / 3);
		height: 100%;
	}

	#past-courses .sliders-block .tabs[data-active="0"] .tab-active-bg {
		transform: translateX(0%);
		border-radius: 15px 0 0 15px;
		transition: all 0.35s ease-in;
	}

	#past-courses .sliders-block .tabs[data-active="1"] .tab-active-bg {
		border-radius: 0;
		transition: all 0.35s ease-in;
	}

	#past-courses .sliders-block .tabs[data-active="2"] .tab-active-bg {
		border-radius: 0 15px 15px 0;
		transform: translateX(200%);
		transition: all 0.35s ease-in;
	}

	#past-courses .sliders-block .sliders .swiper-slide a>img {
		height: 190px;
	}

	#past-courses .sliders-block .sliders .swiper-slide a>button {
		height: 45px;
	}
}

@media (min-width: 1440px) {
	.theme-light section {
		width: 100%;
		max-width: 1200px;
	}

	.theme-light .swiper-button-prev {
		left: -100px;
	}

	.theme-light .swiper-button-next {
		right: -100px;
	}

	.review-popup {
		width: 20%;
	}

	#mainBlock .linePreviewText h1 {
		line-height: 60px;
	}

	#video-preview .video {
		height: 550px;
		width: 100%;
		max-width: 1100px;
	}

	#past-courses .sliders-block .sliders .swiper-slide a>img {
		height: 275px;
	}

	#past-courses .sliders-block .sliders .swiper-slide a>h6 {
		height: 50px;
	}

	#past-courses .sliders-block .sliders .swiper-slide a>button {
		height: 45px;
	}
}

/* ---------------- Медиа-запросы для popup отзыва ---------------- */
@media (max-width: 1024px) {
	.review-popup {
		width: 50%;
		right: -50%;
	}
}

@media (max-width: 768px) {
	#reviews .swiper-slider .review-card {
		max-width: 100%;
		margin: 0 10px;
	}

	#reviews .swiper-slider .review-card__image {
		height: 180px;
	}

	#reviews .swiper-slider .review-card__content {
		padding: 16px;
	}

	#reviews .swiper-slider .review-card__name {
		font-size: 1.1rem;
	}

	/* Popup на мобильных занимает больше места */
	.review-popup {
		width: 85%;
		right: -85%;
		margin: 10px 10px 10px 0;
		height: calc(100vh - 20px);
	}

	.review-popup__content {
		padding: 30px 20px 20px 20px;
	}
}

@media (max-width: 480px) {
	#reviews .swiper-slider .review-card {
		margin: 0 5px;
	}

	#reviews .swiper-slider .review-card__image {
		height: 160px;
	}

	#reviews .swiper-slider .review-card__content {
		padding: 14px;
	}

	/* Popup почти на весь экран на маленьких устройствах */
	.review-popup {
		width: 95%;
		right: -95%;
		margin: 5px 5px 5px 0;
		height: calc(100vh - 10px);
		border-radius: 15px;
	}
}