.cert-button {
  background: #407933;
  border-color: #407933;
  border-radius: 0;
  width: 100%;
  margin-bottom: 30px;
}
.bg-light {
  background: none !important;
}

.footer-navigation {
  background-color: #31261d !important;
}

.bg-light .nav-item {
  color: #f4f5f0 !important;
  padding-left: 0 !important;
}

.aboutttl {
  color: #4797a8;
}

.teacher_description {
  height: 60px;
  margin-bottom: 20px;
  font-size: 18px;
}

.teacher_name {
  color: #a4493d;
}
.carousel-example-indicators {
  width: 250px;
  height: 180px;
}

.carousel-indicators {
  margin-bottom: -180px;
  height: 180px;
  width: 100%;
  margin-left: 0 !important;
}

.carousel-indicators > li {
  width: 250px;
  height: 180px;
}

/*.lb-nav a.lb-prev {*/
/*    width: 4% !important;*/
/*    left: -30px !important;*/
/*    background: url(/img/lightbox/prev.png) no-repeat !important;*/
/*    opacity: 1 !important;*/
/*    position: absolute;*/
/*    top: 50% !important;*/
/*}*/

/*.lb-nav a.lb-next {*/
/*    width: 4% !important;*/
/*    right: -45px !important;*/
/*    background: url(/img/lightbox/next.png) no-repeat !important;*/
/*    opacity: 1 !important;*/
/*    position: absolute;*/
/*    top: 50%;*/

/*}*/
.carousel-indicators > li:first-child {
  margin-left: 0;
}

.carousel-indicators > li:last-child {
  margin-right: 0;
}

img.d-block {
  object-fit: cover;
  max-height: 635px;
}

.about-p {
  object-fit: cover;
  max-height: 660px;
}

.flex-img-worker {
  height: 360px;
  overflow: hidden;
  border-radius: 5px;
}

.flex-img-worker .img-fluid {
  object-fit: cover;
  width: 100%;
}

.about_master {
  margin-bottom: 30px;
}
.carousel-item {
  width: 100%;
  height: 680px;
  margin: 0 auto;
}

#about-carousel a.carousel-control-prev {
  width: auto;
}
#about-carousel a.carousel-control-next {
  width: auto;
}
.map-legend {
  list-style: none;
}

.map-legend li {
  line-height: inherit;
  margin-bottom: 2.7rem;
}

.map-legend li img {
  max-width: 100px;
  object-fit: cover;
  height: 42px;
}

.map-legend li span {
  vertical-align: middle;
  margin-left: 5px;
}
/**/
#about_collapse .collapse:not(.show) {
  display: block;
  height: 300px !important;
  overflow: hidden;
  background: -webkit-linear-gradient(90deg, #eee, #333);
  -webkit-background-clip: text;
  /*-webkit-text-fill-color: transparent;*/
}

#about_collapse a.collapsed:after {
  content: "Развернуть";
  color: #31261d;
}

#about_collapse a:not(.collapsed):after {
  content: "Свернуть";
  color: #31261d;
}
/**/

.mcoll {
  position: absolute;
  right: 15px;
}
#boss_collapse .collapse:not(.show) {
  display: block;
  overflow: hidden;
  background: -webkit-linear-gradient(90deg, #eee, #333);
  -webkit-background-clip: text;
  /*-webkit-text-fill-color: transparent;*/
}

#boss_collapse a.collapsed:after {
  content: "Развернуть";
  color: #31261d;
}

#boss_collapse a:not(.collapsed):after {
  content: "Свернуть";
  color: #31261d;
}

.carousel-control-next-icon {
  background-image: url(/img/carousel/next.png);
}
.carousel-control-prev-icon {
  background-image: url(/img/carousel/prev.png);
}

p.filterName {
  color: #407933;
}

.points {
  width: 14px;
  height: 26px;
  margin-top: -16px;
  margin-left: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  cursor: pointer;
  opacity: 0;
}

.siti_wrap {
  position: absolute;
  display: none;
  padding: 25px 0px 0px 0px;
  z-index: 10;
  text-align: left;
  min-width: 16px;
}

.cityName {
  position: absolute;
  color: #fff;
  border-radius: 7px;
  text-align: center;
  margin-bottom: 10px;
  font-size: 1.2rem;
  padding: 8px 14px;
  line-height: 1;
  letter-spacing: 1px;
  font-family: Bernierr;
}

.imgForCity {
  text-align: left;
  position: absolute;
}
/* страница упс*/
.ups_color_1 {
  color: #b44d3c;
}

.ups_color_2 {
  color: #407933;
}

.ups {
  font-family: Bernierr;
  font-size: 6rem;
  line-height: 4rem;
  margin-bottom: 49px;
}
.ups-1 {
  font-family: Bernierr;
  font-size: 3rem;
  line-height: 3.6rem;
}

.ups-1:first-child {
  margin-top: 20px;
}

.ups-1:last-child {
  margin-bottom: 20px;
}

.ups-btn {
  margin-top: 50px;
}

.ups-btn a {
  border-radius: 0;
  width: 100%;
  margin-bottom: 0px;
  font-family: Bernierr;
  font-size: 2rem;
  height: 4rem;
  padding: 0.375rem 0.75rem;
  text-align: left;
  padding-left: 1.2rem !important;
  width: 41%;
}

.ups_no_page {
  background-image: url(/img/tips.png);
}

.ups_ok_pay {
  background-image: url(/img/goodpay.svg);
}

.ups_bad_pay {
  background-image: url(/img/badpay.svg);
}

.ups-img {
  width: auto;
  height: 100%;
  max-height: 433px;
  background-repeat: no-repeat;
  background-position: center right;
  background-size: contain;
}
/* страница после оплаты */

#certificate_collapse a.collapsed:after {
  content: "Развернуть";
  color: #31261d;
}
#certificate_collapse a:not([href]) a:after {
  content: "Свернуть";
  color: #31261d;
}

#certificate_collapse a.collapsed:after {
  content: "Развернуть";
  color: #31261d;
}
