/*NOTE: This file is intended for programmers. Aspro technical support is not advised to work with him.*/

/* Examples (uncomment to use):*/

/* Expand site width */
/* body .wrapper { max-width: 1400px !important;  } */

/* Set site background image */
/* body {  background: url(image_source) top no-repeat; }

/* Hide compare button */
/* a.compare_item { display: none !important;  }*/

.mainPageNews {
	background: #fafafa;
	padding: 12px 70px;
	position: relative;
}
.mainPageNews__title {
	color: #d4022c;
	letter-spacing: 0.2px;
}
.mainPageNews__descr {
	color: #333;
	font-size: 11px;
	letter-spacing: 0.2px;
}
.mainPageNews .slick-arrow {
	background: #e8e7e7;
	position: absolute;
	width: 17px;
	height: 35px;
	top: 50%;
}
.mainPageNews .slick-arrow::before {
	content: "";
	width: 6px;
	height: 10px;
	background: url('/images/arrow_news.png') no-repeat;
	display: block;
	position: absolute;
	top: calc(50% - 5px);
	z-index: 1;
}
.mainPageNews .slick-arrow.slick-prev {
	background: #e8e7e7;
	position: absolute;
	left: 0;
	border-radius: 0 20px 20px 0;
}
.mainPageNews .slick-arrow.slick-prev::before {
	left: 4px;
	transform: rotate(180deg);
}
.mainPageNews .slick-arrow.slick-next {
	background: #e8e7e7;
	position: absolute;
	right: 0;
	border-radius: 20px 0 0 20px;
}
.mainPageNews .slick-arrow.slick-next::before {
	right: 4px;
}
.mainPageNews__item {
	position: relative;
	padding-left: 50px;
	box-sizing: border-box;
	overflow: hidden;
	min-height: 31px;
	display: flex !important;
	flex-direction: column;
	justify-content: center;
}
.mainPageNews__preview {
	position: absolute;
	top: calc(50% - 15px);
	left: 0;
}
.mainPageNews .slick-track {
	display: flex;
	align-items: center;
}

@media (max-width: 600px) {
	.mainPageNews {
		padding: 12px 40px;
	}
}

/* форма 'Оставьте отзыв о вебинаре' */
/* ================================  */

.webinar-reviews {
	display: flex;
	justify-content: center;
	width: 100%;
}

.webinar-reviews__inner {
	width: 100%;
	max-width: 520px;
	margin-bottom: 30px;
}

.webinar-reviews .reviews-reply-field.reviews-reply-field-text .bxlhe-frame {
	width: 100% !important;
	height: 185px !important;
}

.webinar-reviews .bxlhe-editor-cell {
	height: 150px;
}

.webinar-reviews .bxlhe-editor-cell {
	height: 135px !important;
}

.webinar-reviews > form {
	width: 100% !important;
	max-width: 520px !important;
}

/* __end */
@media (max-width: 870px) {
	.item-block--rating {
		width: 96% !important;
		padding-top: 10px !important;
	}
}

/* блок 'Отзывы о вебинарах ' */
/* =========================  */
.webinar-reviews-content {
	padding: 0 4vw;
}
.webinar-reviews-content__title {
	font-size: 22px;
	font-weight: 600;
	color: #383838;
	text-align: center;
	margin: 0 0 30px 0;
}
.webinar-reviews-content__text {
	font-size: 16px;
}
.webinar-reviews-success {
	display: flex;
	justify-content: center;
	margin: 100px 0;
	font-size: 28px;
	line-height: 1.1;
	text-align: center;
}

.collapse-question {
	cursor: pointer;
}
.collapse-question:hover {
	color: #c50026;
}

.collapse-inner {
	display: none;
}

body .webinar-top-poster {
	max-width: 878px;
	margin-left: 8px;
	margin-right: 12px;
}

@media (max-width: 520px) {
	body .webinar-top-poster  {
		margin-left: 3px;
		margin-right: 5px;
	}
}

/* Методическая копилка */
/* ================================  */

.subject-banner {
	max-width: 100%;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	margin-bottom: 40px;
}
.subject-banner__item {
	padding: 5px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 10px;
	border-radius: 25px;
	margin-right: 10px;
	cursor: pointer;
	max-width: calc(100% / 5 - 30px);
	width: 100%;
	margin-bottom: 10px;
	opacity: 0.5;
	color: #ffffff;
	transition: .3s ease;
}

.subject-banner__item.item-active {
	opacity: 1;
}

.subject-banner__item.rus {
	background: #FFBD40;
}
.subject-banner__item.math {
	background: #3E94D1;
}
.subject-banner__item.hist {
	background: #A60000;
}
.subject-banner__item.bio {
	background: #007536;
}
.subject-banner__item.chem {
	background: #58026D;
}
.subject-banner__item.inf {
	background: #7e7e7e;
}
.subject-banner__item.phys {
	background: #071A71;
}
.subject-banner__item.lit {
	background: #982669;
}
.subject-banner__item.eng {
	background: #1531AE;
}
.subject-banner__item.soc {
	background: #00BD39;
}
.subject-banner__item.geo {
	background: #00bda5;
}
.subject-banner__item.dobr {
	background: #7200bd;
}
.subject-banner__item.nchobr {
	background: #f598dc;
}

.webinar-question__title--with-subtitle {
	margin-bottom: 10px;
}

.webinar-question__title-subtitle {
	font-size: 13px;
	color: #383838;
	position: relative;
	text-align: center;
	margin-bottom: 25px;
}
/* цены и скидки в каталоге */
.new-price-catalog {
	font-size: 16px;
	font-weight: bold;

}

.old-price-catalog {
	font-size: 14px;
	text-decoration: line-through;
	font-weight: normal;
}

.discount-catalog {
	height: 35px;
	width: 35px;
	color: #fff;
	font-weight: bold;
	border-radius: 50%;
	background-color: #ed002e;
	position: absolute;
	bottom: 0;
	right: 30px;
	font-size: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.new-price-detail {
	margin-top: 10px;
	font-size: 21px;
	font-weight: bold;
	color: #383838;
}

.old-price-detail {
	font-size: 17px;
	text-decoration: line-through;
	font-weight: normal;
	color: #383838;
	margin-top: 5px;
}

.discount-detail {
	height: 58px;
	width: 58px;
	color: #fff;
	font-weight: bold;
	border-radius: 50%;
	background-color: #ed002e;
	position: absolute;
	bottom: 0;
	right: 0;
	font-size: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.catalog-card__prices--flex {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.catalog-card__img {
	position: relative;
}

.catalog-card__footer .in-cart {
	margin-right: 0;
}

.catalog-card__footer .button_block  {
	margin-right: 0;
}

.phones .phone_wrap a.phone_text {
	cursor: pointer;
	transition: opacity .4s
}

a.phone_text:hover {
	opacity: .7;
}

/* вебинары: список предметов (картинки) */
.webinars-list {
	display: flex;
	flex-wrap: wrap;
}

.webinars-list div {
	width: 33.3%;
}

@media screen and (max-width: 768px) {
	.webinars-list div {
		width: 50%;
	}
}

.webinars-list a {
	transition: opacity .4s;
	display: block;
	margin: 0 auto;
}

.webinars-list a:hover {
	opacity: .8;
}

.webinars-list img {
	max-width: 100%
}

body .sort_header {
	padding-top: 5px;
}

@media screen and (max-width: 950px) {
	body .adaptive_filter .filter_opener {
		margin-top: -4px;
	}
}

@media screen and (max-width: 450px) {
	body .adaptive_filter .filter_opener i {
		display: none;
	}



	body .adaptive_filter .filter_opener {
		margin-top: -2px;
		text-transform: uppercase;
		font-size: 12px;
	}
}

#footer .footer_bottom_inner .phones .phone_wrap {
	display: flex;
	align-items: center;
}

#footer .footer_bottom_inner .phones .phone_wrap a:hover {
	opacity: .8;
}


/* надеюсь это временное решение, пока кто-нибудь не поправит логику
* скрываю сообщение при оформлении заказа "Купон не был применен"
*/
#content #bx-soa-order-form #bx-soa-order #bx-soa-paysystem .bx-soa-coupon-block .bx-soa-coupon-item-used .bx-soa-tooltip-warning span.tooltip-inner {
	display: none;
}


@media screen and (min-width: 702px){
	.in-cart, .button_block{
		margin-right: 0px;
	}
}