/* @import "font.css"; */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;700&display=swap");

:root {
  --main-color: #095f6b;
}

body {
  background: #ededeb;
  color: #555;
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
}

h3,
h5 {
  color: var(--main-color);
}

.section-bg-colored h3 {
  color: #ededeb;
}

h1 {
  font-size: 50px;
  font-weight: 300;
}

h1 .sub-title {
  border-top: 2px solid var(--main-color);
  padding-top: 10px;
}

h3 {
  font-size: 60px;
  font-weight: 300;
}

h4 {
  margin-top: 50px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

h4 + .sub-title {
  font-size: 14px;
  margin-bottom: 20px;
}

sup {
  z-index: 0;
}

.section-bg-colored {
  background: var(--main-color);
  color: #f0f0f0;
}

.text-colored {
  color: var(--main-color);
}

.sm-subtext {
  font-size: 12px;
  position: absolute;
  bottom: -40%;
  color: #000;
  width: 100%;
  left: 0;
  text-align: center;
}

.z-index-2 {
  position: relative;
  z-index: 2;
}

.z-index-3 {
  position: relative;
  z-index: 3;
}

section {
  position: relative;
}

section > div {
  z-index: 2;
  position: relative;
}

.section-bg-1:after {
  content: "";
  position: absolute;
  background: url(../img/l-bg-1.png) no-repeat right top;
  background-size: 90%;
  top: 0;
  right: 0;
  display: block;
  width: 100%;
  height: 921px;
  z-index: 1;
}

.section-bg-2:after {
  content: "";
  position: absolute;
  background: url(../img/l-bg-2.png) no-repeat left bottom;
  background-size: 70%;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 921px;
  z-index: 1;
}

.section-bg-3:after {
  content: "";
  position: absolute;
  background: url(../img/l-bg-3.png) no-repeat left bottom;
  background-size: 50%;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 921px;
  z-index: 1;
}

/* NAVBAR */

.navbar {
  z-index: 99;
}

.navbar-nav {
  flex-wrap: wrap;
}

.navbar .nav-link {
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
}

.navbar-contacts {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-bottom: 0;
  min-width: 30%;
}

.navbar-contacts .label {
  background-color: var(--main-color);
  color: #fff;
  display: flex;
  align-items: center;
  padding: 2px 7px 2px 2px;
  border-radius: 30px;
  text-decoration: none;
}

.navbar-contacts .label img {
  width: 25px;
  margin-right: 7px;
}

/* /.navbar */

.btn-main-colored {
  font-size: 32px;
  background: var(--main-color);
  color: #f0f0f0;
  border-radius: 0;
  font-weight: 300;
  box-shadow: 0px 0px 70px 0px rgba(0, 0, 0, 0.23);
}

.btn-main-colored:hover {
  background: rgb(9, 95, 107, 0.7);
  color: #f0f0f0;
}

.btn-light-colored {
  font-size: 32px;
  background: #f0f0f0;
  color: var(--main-color);
  border-radius: 0;
  font-weight: 300;
}

/* .btn-partly {
  background-color: #e1e1e1;
  border-radius: 0;
} */

.btn-partly {
  margin-top: 10px;
}

.btn-partly .store-logo img {
  margin-right: 20px;
  height: 30px;
}

.btn-partly .partly-side img {
  height: 30px;
}

.btn-partly .partly-side div {
  color: #fff;
}

#partly-ios.d-none,
#partly-android.d-none,
#partly-pc.d-none {
  display: none !important;
}

/* SERVICES BOX */

.service-box .discount {
  text-transform: uppercase;
  font-weight: 700;
  color: #ffc107;
}

.service-box .discount .txt {
  font-size: 14px;
}

.service-box .discount .num {
  font-size: 24px;
}

.special-price-section .service-box .service-icon {
  width: 90px;
}

.service-box {
  height: 100%;
  position: relative;
  perspective: 1000px;
}

.service-box-body {
  /* background-color: rgba(255, 255, 255, 0.26); */
  background-color: rgb(74 137 145);
  padding: 15px;
}

.service-box h6 {
  color: #fff;
  font-weight: bold;
  margin-bottom: 0;
}

.service-box .sub-txt {
  font-size: 12px;
}

.service-box-image {
  background-position: center;
  background-size: cover;
  height: 100%;
  width: 100%;
  min-height: 200px;
}

.box-corner-spacer {
  shape-outside: polygon(100px 60px, 0px 60px, 0px 0px, 100px 0px);
  float: right;
  display: block;
  width: 110px;
  height: 60px;
}

.service-icon {
  width: 60px;
  margin-right: 15px;
}

.service-btn {
  display: flex;
  align-items: center;
  padding: 15px 10px;
  justify-content: center;
  text-transform: uppercase;
  /* background-color: rgba(255, 255, 255, 0.5); */
  background-color: rgb(132 175 182);
  flex: 1;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  text-decoration: none;
}

.service-btn img {
  width: 24px;
  margin-right: 10px;
}

.service-btn:hover {
  color: #fff;
  background-color: #6b9fa6;
}

.details-list {
  font-size: 13px;
}

.price-badge {
  background-color: rgba(255, 255, 255, 0.35);
  border-radius: 50px;
  padding: 10px 20px;
  font-weight: bold;
  white-space: nowrap;
}

.price-badge.badge-sm {
  display: inline-block;
  text-transform: lowercase;
  font-size: 16px;
  position: absolute;
  right: 0;
  bottom: 10px;
}

.descr-small {
  font-size: 13px;
}

.btn-white-round {
  background-color: #fff;
  border-radius: 50px;
  padding: 10px 20px;
  font-weight: bold;
  color: var(--main-color);
  text-decoration: none;
}

.btn-white-round:hover {
  color: var(--main-color);
  background-color: rgba(255, 255, 255, 0.8);
}

.subbtn-text {
  font-size: 12px;
}

/* service box card back */

.service-flip-card {
  position: relative;
  height: 100%;
  transition: transform 1s;
  transform-style: preserve-3d;
}

.card-front {
  position: relative;
  z-index: 2;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.card-back {
  background-size: cover;
  background-position: center;
  transform: rotateY(180deg);
  position: absolute;
  left: 0;
  /* display: none; */
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  cursor: pointer;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.card-flip-btn {
  background-color: rgb(132 175 182);
  display: flex;
  align-items: center;
  text-transform: uppercase;
  font-weight: bold;
  text-align: center;
  padding: 10px;
  font-size: 14px;
  cursor: pointer;
  border-left: 4px solid rgb(74 137 145);
}

.fixed-flip-btn {
  margin: 0 -15px -15px -15px;
  padding: 10px;
  float: right;
  display: inline-flex;
  border-left: unset;
  justify-content: center;
}

.flip-close-btn {
  position: absolute;
  opacity: 0.8;
  bottom: 0;
  right: 0;
  border: unset;
}

.card-flip-btn img {
  margin-left: 10px;
}

.card-flip-btn:hover {
  background-color: #6b9fa6;
}

/* SERVICES LIST */

.services-list {
  margin-bottom: 0;
}

.services-list li {
  min-height: 135px;
  padding-top: 20px;
  padding-bottom: 20px;
  border-bottom: 2px solid #28737e;
}

.services-list .icon img {
  max-width: 90px;
  margin-right: 15px;
}

.services-list .txt {
  font-size: 18px;
  font-weight: 700;
}

.services-list .price {
  background: #28737e;
  padding: 4px 10px;
  border-radius: 30px;
  white-space: nowrap;
  font-size: 18px;
}

.soc-icons img {
  width: 40px;
}

/* quote-cards */
.quote-card {
  padding: 10px;
  background: url(../img/quote.png) top right no-repeat #f6f6f5;
  background-position: top 10px right 10px;
  background-size: 50px;
  display: flex;
  flex-direction: column;
}

.quote-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.quote-card-body .stars {
  margin-bottom: 5px;
}

.quote-card-body p {
  margin-bottom: 0;
  flex: 1;
}

.quote-card-body .stars img {
  width: 15px;
  opacity: 0.5;
  margin-right: 2px;
}

.load-review-btn {
  background: #48878f;
  color: #fff;
  border-radius: 30px;
  padding: 3px 10px 3px 5px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-top: 10px;
}

.load-review-btn:hover {
  opacity: 0.8;
  color: #fff;
}

.load-review-btn img {
  width: 18px;
  margin-right: 5px;
}

/* .partners-logos */

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
}

.partners-logos img {
  max-height: 150px;
  max-width: 280px;
  margin: 15px;
}

.partners h5 {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--main-color);
}

/* gallery */
#works {
  z-index: 15;
}

.work-gallery {
  display: grid;
  grid-gap: 12px 24px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.work-gallery figure img {
  width: 100%;
}

.work-gallery figcaption {
  display: none;
}

/* contacts */

.list-contacts > div {
  display: flex;
  align-items: center;
  font-size: 14px;
}

.list-contacts .contact-item span {
  display: block;
  font-size: 12px;
  text-decoration: none !important;
  color: #fff;
}

.list-contacts .contact-item .item-data {
  display: block;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  text-decoration: none;
  word-break: break-word;
  color: #fff;
  font-weight: bold;
}

.list-contacts .contact-item .item-data:hover {
  text-decoration: underline;
}

#contacts .contact-item-sm li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

#contacts .contact-item-sm li img {
  width: 24px;
  margin-right: 15px;
}

#contacts .contact-item-sm li a {
  text-decoration: none;
  color: #fff;
}

#contacts .contact-item-sm li a:hover {
  text-decoration: underline;
}

.list-contacts .icon img {
  width: 40px;
  margin-right: 10px;
}

#contacts p {
  font-size: 14px;
}

.footer-nav li a {
  color: #fff;
  font-size: 12px;
  text-decoration: none;
}

.footer-nav li {
  line-height: 1em;
}

 .service-logo {
  margin-right: 10px;
  opacity: 0.5;
}

/* career-link */

#career-link {
  font-weight: bold;
  background-color: #48878f;
  padding: 20px 0;
  color: #fff;
}


/* fixed */

.fixed-contacts {
  position: fixed;
  left: calc(100% - 28px);
  bottom: 15%;
  z-index: 10;
}

.fixed-contacts .label {
  margin-bottom: 10px;
  padding: 5px 10px 5px 5px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  background: var(--main-color);
  color: #fff;
  text-decoration: none;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  left: -10px;
  position: relative;
  
  -webkit-transition: left 0.3s ease-in-out;
  -moz-transition: left 0.3s ease-in-out;
  -o-transition: left 0.3s ease-in-out;
  transition: left 0.3s ease-in-out;
}

.fixed-contacts .label:hover {
  left: calc(-100% + 28px);
  box-shadow: 0px 0px 5px 0px #00000047;
}

.fixed-contacts .label img {
  width: 28px;
  margin-right: 10px;
}
