#contacts {
  background-image: url("../images/contacts/bg.jpg"), -webkit-gradient(linear, left top, right top, from(#fff), to(#fff));
  background-image: url("../images/contacts/bg.jpg"), -webkit-linear-gradient(left, #fff, #fff);
  background-image: url("../images/contacts/bg.jpg"), -o-linear-gradient(left, #fff, #fff);
  background-image: url("../images/contacts/bg.jpg"), linear-gradient(to right, #fff, #fff);
  background-position: left center;
  background-repeat: no-repeat;
  background-size: 50% 100%, 50%;
  margin-bottom: -90px;
}
#contacts .wrapper {
  padding-top: 40px;
  padding-bottom: 130px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
#contacts .wrapper h1,
#contacts .wrapper h2 {
  font-family: "Yaseva Regular", sans-serif;
  font-weight: normal;
  font-size: 40px;
  text-shadow: 0px 0px 70px rgba(0, 0, 0, 0.5);
  color: #fff;
  line-height: 1;
  margin-bottom: 20px;
}
#contacts .wrapper p {
  color: #fff;
  line-height: 1.4;
  font-size: 16px;
}
#contacts .wrapper .left,
#contacts .wrapper .right {
  width: 50%;
}
#contacts .wrapper .left {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 40px;
}
#contacts .wrapper .left p {
  margin-bottom: 25px;
}
#contacts .wrapper .left span {
  background-image: url("../images/contacts/text-bg.svg");
  background-repeat: repeat-x;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  height: 32px;
  color: #1e3a6a;
  font-size: 16px;
  position: relative;
  padding: 0 10px;
  margin-left: 44px;
  line-height: 1;
}
#contacts .wrapper .left span::before {
  content: "";
  width: 44px;
  height: 100%;
  background-size: contain;
  background-position: right center;
  background-repeat: no-repeat;
  background-image: url("../images/contacts/text-bg-left-decor.svg");
  position: absolute;
  right: 100%;
  top: 0;
}
#contacts .wrapper .left span::after {
  content: "";
  width: 3px;
  height: 100%;
  background-size: contain;
  background-position: left center;
  background-repeat: no-repeat;
  background-image: url("../images/contacts/text-bg-right-decor.svg");
  position: absolute;
  left: 100%;
  top: 0;
}
#contacts .wrapper .left.contacts p {
  color: #a0b8e2;
}
#contacts .wrapper .left.contacts ul li {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  text-shadow: 0px 0px 53px rgba(0, 0, 0, 0.29);
  margin-bottom: 10px;
  color: #fff;
}
#contacts .wrapper .left.contacts ul li a,
#contacts .wrapper .left.contacts ul li address {
  color: #fff;
  font-size: 20px;
  font-family: "Rubik SemiBold", sans-serif;
  font-style: normal;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
}
#contacts .wrapper .left.contacts ul li img {
  width: 29px;
  margin-right: 10px;
  -o-object-fit: contain;
     object-fit: contain;
  flex-shrink: 0;
}
#contacts .wrapper .left.contacts ul li:last-of-type {
  margin-bottom: 0;
}
#contacts .wrapper .right {
  padding-left: 40px;
}
#contacts .wrapper .right h2 {
  color: #1e3a6a;
  text-shadow: none;
}
#contacts .wrapper .right p {
  color: #596883;
  margin-bottom: 35px;
}
#contacts .wrapper .right form {
  width: 100%;
}
#contacts .wrapper .right form button.btn-primary {
  margin-top: 40px;
}
#contacts .wrapper .right form .col {
  position: relative;
}
#contacts .wrapper .right form .col span.validate-message {
  position: absolute;
  top: 100%;
  left: 0;
  color: #f5a6a4;
  font-size: 11px;
  display: none;
}
#contacts .wrapper .right form .col span.validate-message.show {
  display: block;
}
#contacts.real {
  background-image: url("../images/contacts/bg-2.jpg"), -webkit-gradient(linear, left top, right top, from(#fff), to(#fff));
  background-image: url("../images/contacts/bg-2.jpg"), -webkit-linear-gradient(left, #fff, #fff);
  background-image: url("../images/contacts/bg-2.jpg"), -o-linear-gradient(left, #fff, #fff);
  background-image: url("../images/contacts/bg-2.jpg"), linear-gradient(to right, #fff, #fff);
}

@media screen and (max-width: 1024px) {
  #contacts {
    background-image: none;
  }
  #contacts .wrapper {
    width: 100%;
    flex-direction: column;
    padding: 0;
  }
  #contacts .wrapper .left,
#contacts .wrapper .right {
    width: 100%;
    padding: 40px 15px;
  }
  #contacts .wrapper .left {
    background-image: url("../images/contacts/bg.jpg");
    background-position: top center;
    background-size: cover;
    padding-top: 100px;
  }
  #contacts .wrapper .left.contacts {
    background-image: url("../images/contacts/bg-2.jpg");
  }
  #contacts .wrapper .left.contacts ul li img {
    width: 30px;
    height: 30px;
    padding: 5px;
    border-radius: 2px;
    border: 1px solid #eee;
    margin-right: 10px;
    background-color: #fff;
  }
  #contacts .wrapper .left.contacts ul li a,
#contacts .wrapper .left.contacts ul li address {
    font-size: 15px;
    line-height: 1.1;
  }
  #contacts .wrapper .right {
    max-width: 600px;
    margin: 0 auto;
    padding-bottom: 130px;
  }
  #contacts.real {
    background-image: none;
  }
}
@media screen and (max-width: 760px) {
  #contacts .wrapper h1,
#contacts .wrapper h2 {
    font-size: 30px;
    margin-bottom: 10px;
  }
  #contacts .wrapper p {
    font-size: 13px;
  }
  #contacts .wrapper .left span {
    font-size: 13px;
  }
  #contacts .wrapper .left.contacts {
    padding-bottom: 180px;
    background-image: url("../images/contacts/mobile-bg-2.jpg");
    background-position: bottom;
  }
  #contacts .wrapper .right .row {
    flex-direction: column;
    margin-bottom: 0;
  }
  #contacts .wrapper .right .row .col {
    margin-bottom: 15px;
  }
  #contacts .wrapper .right .row .col:last-of-type .col:last-of-type {
    margin-bottom: 0;
  }
}