.product_all .tiny_produt {
  margin: 20px 0;
  transition: .5s;
  position: relative;
  padding-bottom: 5px;
  border: 1px solid #9A9796;
  text-align: center;
}

.product_all .tiny_produt:hover .img_block {
  transform: scale(1.2);
}

.product_all .tiny_produt .img_block {
  width: 100%;
  text-align: center;
  padding: 10px;
  transition: .5s;
  display: inline-block;
}

.product_all .tiny_produt .img_block img {
  margin: 0 auto;
  height: 180px;
  width: auto;
}

.product_all .tiny_produt .price {
  color: #5D5D5C;
  padding: 10px;
  text-align: center;
  font-size: 22px;
  margin: 0;
  font-weight: bold;
}

.product_all .tiny_produt .counters {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: nowrap;
  flex-direction: row;
  margin: auto;
  width: 100%;
  margin-bottom: 10px;
}

.product_all .tiny_produt .counters p {
  margin-bottom: 0;
  margin: 0 10px;
  position: relative;
}

.product_all .tiny_produt .counters p:before {
  content: ':';
  color: #F71848;
  font-size: 20px;
  line-height: 1;
  position: absolute;
  top: calc(35% - 15px);
  font-weight: bold;
  right: -12px;
}

.product_all .tiny_produt .counters p:last-child:before {
  display: none;
}

.product_all .tiny_produt .counters p span {
  display: inline-block;
  width: 100%;
}

.product_all .tiny_produt .counters p span.time {
  color: #fff;
  background: #F71848;
  font-size: 20px;
  width: 100%;
}

.product_all .tiny_produt .counters p span.title {
  font-size: 14px;
  line-height: 1;
  background: #fff;
  color: #F71848;
}

.product_all .tiny_produt .btn {
  text-transform: uppercase;
  font-size: 20px;
  margin: 0 auto 20px;
  width: 80%;
}

.product_all .tiny_produt p.mini {
  font-size: 12px;
  margin-bottom: 5px;
  color: #9A9796;
}

.kontakt {
  padding: 0;
}

.special .all_prhne {
  text-align: center;
  color: #5D5D5C;
  margin-bottom: 20px;
}

.special .all_prhne p {
  font-weight: bold;
  margin-bottom: 0;
}

.special .all_prhne a {
  font-size: 35px;
  font-weight: bold;
  color: #337AB7;
}

.special .tiny_consult {
  margin-bottom: 40px;
  text-align: center;
}

.special .tiny_consult .img_block {
  position: relative;
  text-align: center;
  margin-bottom: 10px;
}

.special .tiny_consult h5 {
  font-weight: bold;
  font-size: 25px;
  color: #000;
}

.special .tiny_consult p {
  color: #9A9796;
  font-size: 16px;
  margin-bottom: 10px;
}

.special .tiny_consult a {
  width: 100%;
  color: #337AB7;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  transition: .5s;
  display: inline-block;
}

@keyframes pulse {
  0% {
    border: 2px solid #F7F900;
  }
  50% {
    border: 5px solid #F7F900;
  }
  100% {
    border: 2px solid #F7F900;
  }
}

#preim ul {
  list-style: none;
  margin: 40px 0 40px;
}

@media (max-width: 991px) {
  #preim ul {
    padding: 0;
  }
}

#preim ul li {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

@media (max-width: 991px) {
  #preim ul li {
    font-size: 18px;
  }
}

#preim ul li span {
  display: inline-block;
  width: 70px;
  text-align: center;
  border-radius: 10px;
  border: 2px solid #F71847;
  color: #F71847;
  margin-right: 10px;
}

@media (max-width: 768px) {
  #preim ul li span {
    width: 50px;
  }
}

@media (max-width: 768px) {
  .callback_section {
    background: #5D5D5C;
  }
}

.callback_div {
  padding: 0 20px;
  background: #5D5D5C;
  position: relative;
}

@media (max-width: 991px) {
  .callback_div {
    padding: 0;
  }
}

.callback_div:before {
  content: '';
  background: #F71847;
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  z-index: 0;
}

.callback_div .callback_block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  flex-direction: row;
  background: #F71847;
  position: relative;
  z-index: 2;
}

.callback_div .callback_block p {
  color: #fff;
  margin: 0;
  font-weight: bold;
}

.callback_div .callback_block .callback_form {
  width: 50%;
  padding: 17px 0 17px 25px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  flex-wrap: wrap;
  flex-direction: row;
  position: relative;
  background: #5D5D5C;
}

@media (max-width: 991px) {
  .callback_div .callback_block .callback_form {
    padding-left: 0;
  }
}

.callback_div .callback_block .callback_form:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  border: 35px solid transparent;
  border-left: 30px solid #F71847;
}

.callback_div .callback_block .callback_form label {
  position: absolute;
  top: 25px;
  right: 125px;
  width: 192px;
  color: #fff;
  margin: 0;
  font-weight: lighter;
  height: 30px;
  transition: .2s;
  font-size: 14px;
}

.callback_div .callback_block .callback_form label.active {
  font-size: 10px;
  top: 10px;
}

.callback_div .callback_block .callback_form input {
  border: none;
  border-top: 1px solid #5D5D5C;
  border-bottom: 1px solid #F71847;
  background: none;
  border-radius: 0;
  padding: 5px 20px 5px 5px;
  outline: none;
  color: #fff;
}

.callback_div .callback_block .callback_form input:focus {
  border-bottom: 1px solid #fff;
}

.callback_div .callback_block .callback_form button {
  background: #F71847;
  border: 1px solid #F71847;
  color: #fff;
  border-radius: 0;
  padding: 1px 7px 2px;
  padding: 5px 20px;
}

@media (max-width: 991px) {
  .callback_div .callback_block {
    flex-wrap: wrap;
  }
  .callback_div .callback_block p {
    padding: 10px;
    text-align: center;
  }
  .callback_div .callback_block .callback_form {
    width: 100%;
    justify-content: center;
  }
  .callback_div .callback_block .callback_form label {
    right: auto;
    left: calc(50% - 96px - 50px);
  }
}

@media (max-width: 991px) and (max-width: 768px) {
  .callback_div .callback_block .callback_form label {
    right: 205px;
  }
}

@media (max-width: 991px) and (max-width: 580px) {
  .callback_div .callback_block .callback_form label {
    right: 195px;
  }
}

@media (max-width: 991px) and (max-width: 345px) {
  .callback_div .callback_block .callback_form label {
    left: calc(50% - 92px);
    right: auto;
  }
}

@media (max-width: 991px) {
  .callback_div .callback_block .callback_form:before {
    display: none;
  }
}

@media (max-width: 991px) {
  .callback_div:before {
    display: none;
  }
}

.blog .overlay {
  padding-bottom: 80px;
}

.blog .tiny_blog {
  width: 100%;
  padding: 20px;
  margin-bottom: 20px;
  text-align: center;
  transition: .5s;
}

.blog .tiny_blog .img {
  width: 100%;
  display: inline-block;
  height: 200px;
  margin-bottom: 10px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.blog .tiny_blog a {
  color: #000;
}

.blog .tiny_blog a h3 {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.blog .tiny_blog:hover {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

#how .tiny {
  text-align: center;
  margin-top: 20px;
}

#how .tiny p {
  color: #9A9796;
}

#how .tiny p.title {
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 5px;
}

#how .tiny div {
  border-radius: 50%;
  width: 100px;
  height: 100px;
  margin: auto;
  border: 7px solid #F71847;
  color: #F71847;
  display: flex;
  justify-content: center;
  align-items: center;
}

#how .tiny div svg {
  width: 50px;
  height: auto;
}

.catalog {
  padding: 0;
}

.catalog .overlay {
  padding: 80px 0 0;
  background: #fff;
  width: 100%;
  height: 100%;
}

.catalog .tiny_catalog {
  text-align: center;
}

.catalog .tiny_catalog img {
  margin: 0 auto 10px;
  transition: 2s;
  border: 5px solid #5D5D5C;
  border-radius: 50%;
}

.catalog .tiny_catalog p {
  color: #5D5D5C;
  text-align: center;
  padding: 10px;
  font-size: 22px;
  font-weight: bold;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .catalog .tiny_catalog p {
    font-size: 16px;
  }
}

.catalog .tiny_catalog:hover img {
  transform: rotate(360deg);
}

.gallery .carousel {
  padding: 0 5%;
  width: 100%;
}

.gallery .carousel-control-prev {
  width: 5%;
}

.gallery .carousel-control-next {
  width: 5%;
}

.gallery .tiny_gallery {
  position: relative;
  text-align: center;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  flex-direction: row;
}

.gallery .tiny_gallery a {
  display: inline-block;
  width: 100%;
  position: relative;
  border-radius: 50%;
  margin: auto;
  z-index: 10;
  height: 200px;
  width: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 420px) {
  .gallery .tiny_gallery a {
    width: 100px;
    height: 100px;
  }
}

#instruction .text_with_icon_block {
  max-width: 700px;
  margin: auto;
  margin-bottom: 40px;
}

#instruction .text_with_icon_block p {
  font-weight: bold;
  font-size: 20px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: nowrap;
  flex-direction: row;
}

@media (max-width: 768px) {
  #instruction .text_with_icon_block p {
    font-size: 16px;
  }
}

#instruction .text_with_icon_block p:hover img {
  margin-right: 20px;
}

#instruction .text_with_icon_block p img {
  transition: .5s;
  position: relative;
  margin-right: 10px;
}

#reviews {
  overflow: visible;
}

@media (max-width: 991px) {
  #reviews {
    background-image: url(/img/bg_review.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
}

#reviews .overlay {
  background-image: url(/img/bg_review.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 0 0 80px;
}

@media (max-width: 991px) {
  #reviews .overlay {
    background: none;
  }
}

#reviews .overlay .heading {
  top: -20px;
}

#reviews .overlay .carousel-item {
  padding-top: 100px;
}

#reviews .overlay .tiny_review {
  background: #314A73;
  border: 4px solid #fff;
  border-radius: 10px;
  max-width: 600px;
  width: 100%;
  text-align: center;
  margin: auto;
  padding: 150px 40px 40px;
}

@media (max-width: 768px) {
  #reviews .overlay .tiny_review {
    padding: 140px 15px 20px;
  }
}

#reviews .overlay .tiny_review img {
  position: absolute;
  top: 0px;
  left: calc(50% - 110px);
  border-radius: 50%;
  width: 220px;
}

#reviews .overlay .tiny_review p {
  color: #ffffff;
}

#reviews .overlay .tiny_review p.name {
  font-size: 24px;
  font-weight: bold;
}

#what .overlay {
  padding-top: 40px;
  padding: 40px 15px 0;
}

#what p.big {
  text-align: center;
  font-size: 23px;
  font-weight: bold;
}

@media (max-width: 991px) {
  #what p.big {
    font-size: 20px;
  }
}

#what .what_line {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: nowrap;
  flex-direction: row;
}

@media (max-width: 991px) {
  #what .what_line {
    flex-wrap: wrap;
  }
}

#what .what_line .left,
#what .what_line .right {
  padding-top: 100px;
  width: calc(100% / 3);
}

@media (max-width: 991px) {
  #what .what_line .left,
#what .what_line .right {
    width: 100%;
    padding: 0;
  }
}

#what .what_line .left p,
#what .what_line .right p {
  font-size: 20px;
  position: relative;
  width: 100%;
  top: -50px;
  font-weight: bold;
  padding-bottom: 50px;
}

@media (max-width: 991px) {
  #what .what_line .left p,
#what .what_line .right p {
    padding-bottom: 0;
    top: 0;
    font-size: 18px;
  }
}

#what .what_line .left p:after,
#what .what_line .right p:after {
  content: '';
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  background-size: 100% 50px;
  background-repeat: no-repeat;
  background-position: left top;
  height: 50px;
}

@media (max-width: 991px) {
  #what .what_line .left p:after,
#what .what_line .right p:after {
    display: none;
  }
}

#what .what_line .left p {
  text-align: left;
}

#what .what_line .left p:after {
  background-image: url(/img/liniyaleft.png);
}

#what .what_line .center {
  width: calc(100% / 3);
  text-align: center;
  padding: 40px 20px 50px;
}

@media (max-width: 991px) {
  #what .what_line .center {
    display: none;
  }
}

#what .what_line .center img {
  transition: .5s;
  position: relative;
}

#what .what_line .center img:hover {
  transform: scale(1.1);
}

#what .what_line .right p {
  text-align: right;
}

@media (max-width: 991px) {
  #what .what_line .right p {
    text-align: left;
  }
}

#what .what_line .right p:after {
  background-image: url(/img/liniyaright.png);
}

#why p {
  margin: 30px 25px 5px;
}

@media (max-width: 768px) {
  #why p {
    margin: 30px 0px 5px;
  }
}

#why a {
  color: #F71847;
}

#why p, #why li, #why a {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}

#why li {
  text-align: left;
}

.kontakt {
  padding-bottom: 0;
}

.kontakt img {
  width: 100%;
}

footer {
  background: #5D5D5C;
  padding: 40px 0;
}

footer a {
  display: inline-block;
  width: 100%;
  margin-bottom: 20px;
}

footer a img {
  width: 100%;
}

footer h5 {
  color: #F7F900;
  font-weight: bold;
  margin-bottom: 10px;
  text-transform: uppercase;
}

@media (max-width: 991px) {
  footer h5 {
    margin-top: 40px;
  }
}

footer p {
  color: #fff;
  margin-bottom: 5px;
}

footer .menu,
footer .footer_phone {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  flex-direction: row;
}

footer .menu a,
footer .footer_phone a {
  display: inline-block;
  width: 50%;
  color: #fff;
  margin-bottom: 5px;
}

.modal .tabs {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: nowrap;
  flex-direction: row;
  margin-bottom: 20px;
}

.modal .tabs a {
  width: calc((100% / 3) - 10px);
  display: inline-block;
  background: #5D5D5C;
  color: #fff;
  padding: 10px;
  transition: .2s;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
}

.modal .tabs a:hover, .modal .tabs a.active {
  background: #F71847;
  color: #fff;
}

.copyright {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 10px;
  background: #000;
}

.copyright p {
  text-align: center;
  margin: 0;
  font-weight: bold;
  text-transform: uppercase;
  color: #fff;
}

.video_block {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video_block video {
  width: 100%;
  height: auto;
}

/* .text-section {
  padding: 40px 0;
} */

.text-section.last {
  padding-bottom: 120px;
}

.text-section__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  background: #fff;
  padding: 40px 30px;
}

@media screen and (max-width: 991px) {
  .text-section__row {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: nowrap;
    flex-direction: column;
    padding: 40px 15px;
  }
}

.text-section__text {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: nowrap;
  flex-direction: column;
}

.text-section__text h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

.text-section__text p {
  margin-bottom: 10px;
}

.text-section__text p:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 991px) {
  .text-section__text {
    order: 1;
  }
}

.text-section__image {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  flex-direction: row;
}

.text-section__image img {
  width: auto;
  height: auto;
  max-width: 100%;
}

@media screen and (max-width: 991px) {
  .text-section__image {
    order: 2;
  }
}
