a {
  color: #333;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s, background-color 0.3s, border-color 0.3s, opacity 0.3s;
}
a:hover {
  color: #42a69e;
}

.btn-primary {
  background-color: #c03738;
  border-color: #c03738;
}
.btn-primary:hover, .btn-primary:active, .btn-primary:focus {
  background-color: #42a69e;
  border-color: #42a69e;
}
.btn-primary:focus, .btn-primary:active:focus {
  box-shadow: 0 0 0 0.25rem rgba(66, 166, 158, 0.25);
}

.btn-success {
  background-color: #42a69e;
  border-color: #42a69e;
}
.btn-success:hover, .btn-success:active, .btn-success:focus {
  background-color: #30807b;
  border-color: #30807b;
}
.btn-success:focus {
  box-shadow: 0 0 0 0.25rem rgba(66, 166, 158, 0.25);
}

.btn-icon {
  display: flex;
  align-items: center;
}
.btn-icon .las {
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

.form-control:focus {
  border-color: #42a69e;
  box-shadow: 0 0 0 0.25rem rgba(66, 166, 158, 0.25);
}

.text-small {
  font-size: 0.85rem;
}

.g-font {
  font-family: "Raleway", sans-serif;
}

.clr_danger {
  color: #c03738;
  font-weight: bold;
}

.bg_grey {
  background-color: #f2f2f2;
}

.check-icon {
  position: absolute;
  left: calc(50% - 20px);
  bottom: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 0 0 8px #fff;
  color: #fff;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  background-color: #42a69e;
}

.top-bar {
  background-color: #f2f2f2;
  font-size: 0.8rem;
}
.top-bar .las {
  font-size: 1.2rem;
  color: #42a69e;
}

.header__icon-link {
  font-size: 1.2rem;
}
.header__icon-link .las {
  font-size: 1.4rem;
  color: #c03738;
}

.logo img {
  height: 65px;
  width: auto;
}

.logo__text {
  margin-top: 10px;
  line-height: 1.6rem;
  color: #c03738;
}

.top-menu {
  background-color: #42a69e;
}

.top-menu__link {
  display: block;
  color: #fff;
  padding: 4px 10px;
  border-radius: 0.25rem;
  font-size: 1rem;
}
.top-menu__link:hover, .top-menu__link:active {
  background-color: #fff;
  color: #42a69e;
}

.top-menu__link_active {
  background-color: #fff;
  color: #42a69e;
}

.content {
  min-height: 90vh;
}

.footer {
  background-color: #42a69e;
}
.footer .btn:hover, .footer .btn:active {
  background-color: #fff;
  color: #42a69e;
  border-color: #42a69e;
}

.footer-menu__link, .footer__mail {
  font-size: 0.9rem;
  color: #fff;
}
.footer-menu__link:hover, .footer__mail:hover {
  color: #fff;
  opacity: 0.6;
}

.footer__contact {
  font-size: 0.8rem;
  color: #fff;
}
.footer__contact:hover {
  color: #fff;
  opacity: 0.6;
}

.footer__copyright {
  color: #fff;
  font-size: 0.8rem;
}

.m-modal {
  position: fixed;
  background-color: rgba(242, 242, 242, 0.95);
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s, visibility 0.5s;
}

.m-modal_visible {
  opacity: 1;
  visibility: visible;
}

.m-modal__container {
  max-width: 400px;
}

.m-modal__close {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 2rem;
  cursor: pointer;
}
.m-modal__close:hover {
  color: #c03738;
}

.about-us__img {
  width: 70%;
  overflow: hidden;
  border-radius: 50%;
  margin: 0 auto;
}
.about-us__img img {
  width: 100%;
  height: auto;
  transition: transform 0.3s;
}
.about-us__img img:hover {
  transform: scale(1.1);
}

.about-us__check {
  position: absolute;
  left: 3.5rem;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #42a69e;
  color: #fff;
  z-index: 100;
}

.work__img {
  text-align: center;
  position: relative;
}
.work__img img {
  padding: 0.75rem;
  width: 50%;
  height: auto;
  border-radius: 50%;
  background-color: #42a69e;
  margin: 0 auto;
}

.work__step {
  position: absolute;
  top: 0;
  left: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
  font-size: 1.5rem;
  font-weight: 400;
  color: #fff;
  background-color: #c03738;
  border-radius: 50%;
}

.work:last-child .work__img img {
  background-color: #c03738;
}
.work:last-child .work__step {
  background-color: #42a69e;
}

.gallery__item {
  display: block;
  height: 300px;
  border-radius: 1rem;
  background-position: center center;
  background-size: cover;
}

.gallery {
  position: relative;
}
.gallery .owl-nav button.owl-prev, .gallery .owl-nav button.owl-next {
  position: absolute;
  top: calc(50% - 20px);
  font-size: 1.6rem;
  color: #ffffff;
  height: 40px;
  width: 40px;
  background-color: #42a69e;
  border-radius: 50%;
}
.gallery button.owl-prev {
  left: calc(33.3% - 45px);
}
.gallery button.owl-next {
  right: calc(33.3% - 45px);
}
.gallery .owl-item {
  opacity: 0.2;
  transform: scale(0.8);
  transition: opacity 0.5s;
}
.gallery .center {
  opacity: 1;
  transform: scale(1);
}

.ruler {
  background-image: url("/images/bg-ruler.jpg");
  background-size: cover;
  background-position: center center;
}

.ruler__info {
  background-color: #fff;
  border-radius: 0.8rem;
}

.ruler__item {
  padding-left: 2.5rem;
  position: relative;
}
.ruler__item:before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  height: 18px;
  width: 18px;
  border: 1px solid #42a69e;
  border-radius: 50%;
}
.ruler__item:after {
  content: "";
  position: absolute;
  top: 9px;
  left: 9px;
  height: 10px;
  width: 10px;
  border: 3px solid #42a69e;
  border-radius: 50%;
}

.ruler__image {
  background-image: url("/images/ruler.png");
  background-size: contain;
  background-position: center left;
  background-repeat: no-repeat;
  height: 100%;
}

.okna-index {
  background-image: url("/images/bg-okna-index.png");
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
}

.okna-index__text {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.okna-index__text h1.fw-bold {
  color: #c03738;
}

.okna-index__item {
  padding: 0 2rem 0 3rem;
  position: relative;
}
.okna-index__item .las {
  position: absolute;
  font-size: 2rem;
  color: #42a69e;
  left: 0;
}
.okna-index__item span {
  display: block;
  font-size: 1.2rem;
  line-height: 1.6rem;
  font-weight: bold;
  margin-bottom: 0.6rem;
}

.okno__icon {
  flex: none;
}
.okno__icon img {
  width: 100px;
}

.okno__title {
  color: #42a69e;
}

.optional__item {
  position: relative;
}
.optional__item span {
  display: block;
  margin-top: 35px;
  font-weight: bold;
  text-align: center;
}
.optional__item img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
}

.colors__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.colors__list img {
  width: 80px;
  height: auto;
  border-radius: 50%;
  transition: all 0.3s;
}

.colors__item_active img {
  box-shadow: 0 0 0 5px #42a69e;
}

.colors__img {
  width: 60%;
  height: auto;
}

.payment__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.payment__list li {
  padding-left: 2rem;
  margin-right: 1.4rem;
  position: relative;
}
.payment__list li:before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  height: 18px;
  width: 18px;
  border: 1px solid #42a69e;
  border-radius: 50%;
}
.payment__list li:after {
  content: "";
  position: absolute;
  top: 9px;
  left: 9px;
  height: 10px;
  width: 10px;
  border: 3px solid #42a69e;
  border-radius: 50%;
}

.payment__img {
  position: relative;
}
.payment__img img {
  position: absolute;
  width: 100%;
  bottom: -3rem;
}

.reviews__item {
  display: block;
  height: 350px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  border-radius: 1rem;
}

.reviews__list {
  position: relative;
}
.reviews__list .owl-nav button.owl-prev, .reviews__list .owl-nav button.owl-next {
  position: absolute;
  top: calc(50% - 20px);
  font-size: 1.6rem;
  color: #ffffff;
  height: 40px;
  width: 40px;
  background-color: #42a69e;
  border-radius: 50%;
}
.reviews__list button.owl-prev {
  left: 20px;
}
.reviews__list button.owl-next {
  right: 20px;
}

.expert__img {
  position: relative;
}
.expert__img img {
  position: absolute;
  width: 100%;
  bottom: -3rem;
}
