/* Переопределение slick */
.slick-dots {
    bottom: 20px;
}
.slick-dots li {
    margin: 0 0px;
}

.slick-dots li button:before {
    font-size: 12px;
    color: #d6d6d6;
    opacity: 1;
}

.slick-dots li.slick-active button:before {
    color: #842f46;
    opacity: 1;
}

.slick-prev:before, .slick-next:before {
    font-family: 'FontAwesome';
    font-size: 25px;
}

.slick-prev:before {
    content: "\f053";
}

.slick-next:before {
    content: "\f054";
}

.slick-prev {
    left: 25px;
    z-index: 10;
}

.slick-next {
    right: 25px;
}
/* Переопределение slick END */

body {
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
	overflow-x: hidden;
	background-color: #f5f5f5;
}

:root {
	font-size: 14px;
}

a {
    color: #64001c;
}

a:hover {
    color: #410012;
}

section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
}

hr.dark_sep {
	border: none!important;
	background: url(../img/sep_dark.png) center no-repeat;
	height: 2px;
	width: 100%;
	margin: 50px 0;
}

/* my-btn */
.my-btn, .my-btn-wa {
    background-color: #852d48;
    border-color: #852d48;
    border: none;
    border-radius: 4px;
    color: #fff;
    text-shadow: 1px 1px 1px #9a4500;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    text-shadow: 1px 1px 15px rgba(255,255,255,.75);
}
.my-btn:hover, .my-btn-wa:hover {
    background-color: #64001c;
    border-color: #64001c;
    color: #fff;
}
.my-btn:focus, .my-btn-wa:focus {
    box-shadow: 0 0 0 0.2rem #852d4880;
}
.my-btn:not(:disabled):not(.disabled):active,
.my-btn-wa:not(:disabled):not(.disabled):active {
    background-color: #64001c;
    border-color: #64001c;
    color: #fff;
}
.my-btn:not(:disabled):not(.disabled):active:focus,
.my-btn-wa:not(:disabled):not(.disabled):active:focus {
   box-shadow: 0 0 0 0.2rem #852d4880; 
}

.my-btn-wa {
    padding-right: 46px;
    position: relative;
}

.my-btn-wa:before {
    background: #64001c;
    font-family: 'FontAwesome';
    content: "\f054";
    line-height: 30px;
    position: absolute;
    right: 0px;
    top: 0px;
    bottom: 0px;
    padding: 0px 13px;
    text-align: center;
    border-radius: 0px 4px 4px 0px;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

.my-btn-wa:hover:before {
    padding-right: 10px;
}

.my-btn--link {
	color: #fa7d15;
	font-style: italic;
}

.my-btn--link:hover {
	color: #fa7d15;
}



/* my-btn END*/


.header {
	padding: 20px 0;
	background-color: #d7dfea;
}

.header__logo img {
	max-width: 100%;
	height: auto;
	width: 200px;
}

.header__contacts__item  {
	line-height: 25px;
	margin-bottom: 8px;
	font-size: 18px;
	position: relative;
}

.header__contacts__item a {
	color: #222;
}

.header__contacts__item i {
    font-size: 25px;
    color: #852d48;
    margin-right: 10px;
}

/* social_list */

.social_list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.social_list li {
    display: inline-block;
    margin-right: 20px;
}

.social_list li:last-child {
  margin-right: 0;
}

.social_list a {
    color: #333;
    font-size: 30px;
}

.social_list a:hover {
    color: #832f49;
}

/* social_list END */

/* main-menu */
.main-menu {
	padding: 0;
	margin-bottom: 15px;
}

.main-menu .navbar-nav {
	width: 100%;
}

.main_menu__item {
    position: relative;
}

.main_menu__item:before, .main_menu__item:last-child:after {
    position: absolute;
    top: 50%;
    left: -6px;
    margin-top: -10px;
    font-family: 'FontAwesome';
    /* content: "\f0a3"; */
    color: #e3c07c;
    font-size: 14px;
    -webkit-transition: -webkit-transform 0;
    -moz-transition: -moz-transform 0;
    transition: transform 0;
    -webkit-transform: rotate(0);
    -moz-transform: rotate(0);
    -ms-transform: rotate(0);
    -o-transform: rotate(0);
    transform: rotate(0);
}

.main_menu__item:last-child:after {
    right: -9px;
    left: auto;
}

.main_menu__item:hover {
    background-color: #852d48;
}

.main_menu__item:hover:before, 
.main_menu__item:hover + .main_menu__item:before,
.main_menu__item:hover:last-child:after {
    -webkit-transition: -webkit-transform 1s ease;
    -moz-transition: -moz-transform 1s ease;
    transition: transform 1s ease;
    -webkit-transform: rotate(720deg);
    -moz-transform: rotate(720deg);
    -ms-transform: rotate(720deg);
    -o-transform: rotate(720deg);
    transform: rotate(720deg);
}

.main_menu__item.active {
	background-color: #852d48;
	position: relative;
}

.main-menu .navbar-nav .nav-link {
	font-size: 16px;
	line-height: 20px;
	color: #fff;
	text-shadow: 1px 1px 1px #151515;
	-webkit-transition: .2s ease-out;
	transition: .2s ease-out;
	/* padding: 20px 18px; */
	padding: 20px 5px;
}

.main-menu .navbar-nav .nav-link:hover {
	color: #fff;
	text-shadow: 1px 1px 15px rgba(255,255,255,.75);
}


.main-slider {
	margin-bottom: 30px;
}

.main-slider__item {
    height: 450px !important;
    width: 100%;
    position: relative;
    background-position: center;
    background-size: cover;
}

.main-slider__item_text-wrapper {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    max-width: 700px;
    padding-top: 42px;
    text-align: center;
    transform: translate(-50%, -50%);
}

.main-slider__item__title {
    font-weight: 900;
    font-size: 42px;
    margin-bottom: 40px;
    line-height: 52px;
    color: #fff;
    text-shadow: 2px 2px 4px #000000, 0 0 1em #000000;
}

.main-slider__item__desc {
    font-size: 20px;
    margin-bottom: 30px;
    color: #fff;
    text-shadow: 2px 2px 4px #000000, 0 0 1em #000000;
}

.main-slider .slick-list {
    border-radius: 8px;
}

/* main-menu END*/

/*  undermenu */

.undermenu__item {
    padding-left: 40px;
    min-height: 30px;
    margin-bottom: 30px;
}

.undermenu__item .icon {
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 26px;
    height: 26px;
    background: #d7dfea;
    -webkit-border-radius: 13px;
    -moz-border-radius: 13px;
    -ms-border-radius: 13px;
    -o-border-radius: 13px;
    border-radius: 13px;
}

/*  undermenu END*/

.line-breadcrumb .breadcrumb {
	background-color: transparent;
	margin: 0;
}

.line-breadcrumb .breadcrumb .breadcrumb-item {
	line-height: 25px;
}

.line-breadcrumb .breadcrumb .breadcrumb-item a {
	color: #ff9d4d;
}

.line-breadcrumb .breadcrumb .breadcrumb-item.active {
	color: #5a5a5a;
}

.line-breadcrumb .breadcrumb .breadcrumb-item:nth-child(2) a {
	background-image: url(../img/breadcrumbs_home.png);
	background-repeat: no-repeat;
	background-position: top;
	display: inline-block;
	height: 25px;
	width: 25px;
	margin-right: 0;
	text-indent: 9999em;
}

.line-breadcrumb .breadcrumb .breadcrumb-item:nth-child(2)::before {
	content: none;
}

.line-breadcrumb .breadcrumb .breadcrumb-item::before {
	color: #6c757d;
}

.content {
	background-color: #fff;
	margin-bottom: 40px;
	padding: 20px 30px;
	height: calc(100% - 20px);
}
.content img{
    max-width: 100%;
    height: auto;
}


h1 {
	font-weight: 700;
	margin-bottom: 20px;
	text-align: center;
	font-size: 36px;
}

.content [href$='.pdf'] {
	background: url(../img/acrobat.png) right top no-repeat;
	padding-right: 20px;
}

.content [href$='.zip'] {
	background: url(../img/zip.png) right top no-repeat;
	padding-right: 20px;
}

.content [href$='.doc'], .content [href$='.docx'] {
	background: url(../img/word.png) right top no-repeat;
	padding-right: 20px;
}

.content [href$='.xls'] {
	background: url(../img/excel.png) right top no-repeat;
	padding-right: 20px;
}

.fast_links {
    background: #ddd;
    padding: 60px 0px 50px;
    background-size: cover;
    background-position: center;
    background-image: url(../img/bg/fast_link_bg.jpg);
}

.fast_links_block {
	background-color: #fcfcfc;
	border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 0 6px rgba(48,48,48,.15);
    margin-bottom: 30px;
}

.fast_links_block img{
    width: 100%;
}

.quotes {
	padding: 60px 0px;
	background-color: #fff;
}

.quotes-slider {
	margin-bottom: 30px;
}

.quotes-slider .slick-prev {
    left: 15px;
    z-index: 10;
}

.quotes-slider .slick-next {
    right: 15px;
}

.quotes-slider .slick-prev:before, .quotes-slider .slick-next:before {
    color: #000;
}

.quotes-slider__item .name {
	font-size: 30px;
}

.quotes-slider__item blockquote {
	border: none;
	text-align: left;
	position: relative;
	margin: 10px 0;
	font-size: 24px;
	line-height: 30px;
	font-style: italic;
	padding: 20px 75px;
}


/* reviews */
.reviews {
	padding: 40px 0;
    background-color: #f5f5f5;
}

.reviews-item {
    margin-bottom: 20px;
}

.reviews-item__content {
    padding: 24px 29px;
    border: 1px solid #7f3937;
    border-radius: 5px;
    position: relative;
    margin-bottom: 15px;
    background-color: #fff;
    box-shadow: 0 5px 10px #2d2c2c;
}

.reviews-item__content:before {
    position: absolute;
    bottom: -11px;
    left: 20px;
    content: '';
    height: 0;
    width: 0;
    border-top: 11px solid #7f3937;
    border-right: 10px solid transparent;
}

.reviews-item__content:after {
    position: absolute;
    bottom: -8px;
    left: 21px;
    content: '';
    height: 0;
    width: 0;
    border-top: 8px solid #fff;
    border-right: 7px solid transparent;
}

.reviews-item__content blockquote{
    margin: 0;
    max-height: 130px;
    overflow: hidden;
}


.reviews-item__name {
    font-weight: 700;
    line-height: 1;
    margin: 0;
    color: #7f3937;
    text-transform: uppercase;
    margin-right: 5px;
}


section.reviews_inner {
    background-color: #f5f5f5;
}

.reviews_inner .reviews-item-inner {
    margin-bottom: 20px;
}

.reviews_inner .reviews-item-inner .reviews-content{
    padding: 24px 29px;
    border: 1px solid #7f3937;
    border-radius: 5px;
    position: relative;
    margin-bottom: 15px;
    background-color: #fff;
}
.reviews_inner .reviews-item-inner .reviews-content:before {
    position: absolute;
    bottom: -11px;
    left: 20px;
    content: '';
    height: 0;
    width: 0;
    border-top: 11px solid #7f3937;
    border-right: 10px solid transparent;
}

.reviews_inner .reviews-item-inner .reviews-content:after {
    position: absolute;
    bottom: -8px;
    left: 21px;
    content: '';
    height: 0;
    width: 0;
    border-top: 8px solid #fff;
    border-right: 7px solid transparent;
}

.reviews_inner .reviews-item-inner .reviews-name {
    font-weight: 700;
    line-height: 1;
    margin: 0;
    color: #7f3937;
    text-transform: uppercase;
    margin-right: 5px;
}

.reviews_inner .reviews-item-inner .reviews-date {
}


.reviews_inner.comments .reviews-item-inner .reviews-content:before {
    top: -11px;
    bottom: auto;
    border-bottom: 11px solid #7f3937;
    border-top: none;
}
.reviews_inner.comments .reviews-item-inner .reviews-content:after {
    top: -8px;
    bottom: auto;
    border-bottom: 8px solid #fff;
    border-top: none;
}

.reviews_inner.comments .reviews-item-inner .reviews-content {
    margin-top: 20px;
}

.reviews_inner.comments .reviews-item-inner {
    margin-bottom: 40px;
}

/* reviews END*/

/* main_callback */

.main_callback {
    background-image: url('../img/bg/avtodrom3.jpg');
    padding: 60px 0px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: #fff;
}

.main_callback .control-label {
    font-weight: 600;
    font-size: 16px;
    text-shadow: 1px 1px 1px #000;
}

/* main_callback END */



.achievements {
	padding: 50px 0;
	background-color: #fff;
}

.achievements-slider .slick-dots {
    bottom: -20px;
}

.achievements-slider .slick-prev {
    left: 15px;
    z-index: 10;
}

.achievements-slider .slick-next {
    right: 15px;
}

.achievements-slider .slick-prev:before, .achievements-slider .slick-next:before {
    color: #000;
}

/* aside */

.aside-instructors, .aside-article, .aside-foto{
	background: #fff;
	padding: 12px;
	margin-bottom: 20px;
	border-radius: 5px;
}

.aside-instructors h3 {
	color: #000;
	background: 0 0;
	text-shadow: 1px 1px 1px #000;
	border: none;
	border-bottom: 1px dashed #484848;
	padding: 0 0 12px;
	margin: 0 0 14px;
	font-size: 20px;
	line-height: 28px;
}

.aside-instructors .aside-instructors__list {
	padding-left: 20px;
	color: #000;
}

.aside-instructors .aside-instructors__list li {
	line-height: 20px;
}

/* .aside-instructors .aside-instructors__list a {
    color: #ff9d4d;
}

.aside-instructors .aside-instructors__list a:hover {
    color: #ffb980;
}
 */
.aside-foto h3 {
	color: #000;
	background: 0 0;
	text-shadow: 1px 1px 1px #000;
	border: none;
	border-bottom: 1px dashed #484848;
	padding: 0 0 12px;
	margin: 0 0 14px;
	font-size: 20px;
	line-height: 28px;
}

.aside-article h3 {
	color: #000;
	background: 0 0;
	text-shadow: 1px 1px 1px #000;
	border: none;
	border-bottom: 1px dashed #484848;
	padding: 0 0 12px;
	margin: 0 0 14px;
	font-size: 20px;
	line-height: 28px;
}

.aside-article .aside-article__content {
	color: #000;
}

.aside-article .aside-article__content h4 {
	font-weight: 700;
}

/* aside END*/



.instructors-list__item {
	margin-bottom: 30px;
}

.instructors-list__item h2 {
	font-size: 21px;
	line-height: 30px;
}

.instructors-list__item h2 a {
	color: #08c;
}

.instructors-list__item h2 a:hover {
	text-decoration: none;
}

.instructors-list__item img, .instructor-foto, .main_img_page {
	border-radius: 15px;
	box-shadow: 2px 0 5px rgba(0,0,0,.8);
	width: 100%;
}

.album_fotothumb_block {
	margin-bottom: 10px;
}

.album_thumb_block {
	margin-bottom: 20px;
	text-align: center;
}

.album_thumb_block h2 {
	font-size: inherit;
}

.album_fotothumb_block img,.album_thumb_block img {
	width: 100%;
	border-radius: .25em;
}

/* news  */
.news-block-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #efefef;
    padding-top: 15px;
    padding-bottom: 15px;
}

.news-date {
    margin-bottom: 20px;
}

.news-desc {
    margin-bottom: 10px;
}

/* news END */

.footer {
	background: #343a40;
	padding: 50px 0 30px;
	color: #fff;
}

.footer a {
	color: #fff;
}
.footer a:hover {
	color: #fff;
}

.footer__title {
	font-size: 26px;
	line-height: 34px;
	margin-bottom: 16px;
	color: #ff953a;
}

.footer__text p {
	margin-bottom: 18px;
}

.footer_menu {
    padding: 0;
    margin: 0;
    list-style: none;
}
.footer_menu li{
    margin-bottom: 20px;
}

.footer_menu li a{
    font-size: 18px;
    color: #fff;
}

.footer .social_list a {
    color: #fff;
    font-size: 30px;
}


@media (max-width:992px) {
	.title-block {
		font-size: 65px;
	}
	.main-menu {
        padding: .5rem 1rem;
    }
}

@media (max-width:768px) {
	.title-block {
		font-size: 55px;
	}
	.main-slider__item__title {
        font-size: 30px;
        line-height: 1.4;
        margin-bottom: 15px;
    }
    .main-slider__item__desc {
        font-size: 14px;
    }
}

@media (max-width:576px) {
	.title-block {
		font-size: 38px;
	}
}

@media (max-width:390px) {
	.title-block {
		font-size: 32px;
	}
}

@media (max-width:374.98px) {
	:root {
		font-size: 12px;
	}
}