.ffl-row {
  margin-bottom: 25px;
}

.ffl-wrapper {
	position: relative;
	display: block;
}

.ffl-wrapper.captcha-wrapper {
  margin-bottom: 20px;
  margin-left: 30px;
  display: inline-block;
  vertical-align: middle;
  width: 160px;
}

.textarea-wrapper {
  margin: 25px 0;
}

.ffl-row .ffl-wrapper {
  width: 48%;
}

.ffl-row.area .ffl-wrapper,
.ffl-row.full .ffl-wrapper {
  width: 100%;
}

.ffl-row .ffl-wrapper:nth-child(odd) {
  float: left;
}

.ffl-row .ffl-wrapper:nth-child(even) {
  float: right;
}

.ffl-wrapper input[type="text"] {
  width: 100%;
  height: 51px;
  line-height: 51px;
  padding: 0 20px;
  box-sizing: border-box;
  border: 1px solid #d2d2d2;
  border-radius: 2px;
  font-size: 18px;
  outline: 0;
  background: #fcfbfe;
}

.ffl-wrapper textarea {
  width: 100%;
  height: 170px;
  padding: 20px;
  box-sizing: border-box;
  border: 1px solid #d2d2d2;
  border-radius: 2px;
  font-size: 18px;
  outline: 0;
  resize: vertical;
  background: #fcfbfe;
}

.ffl-wrapper .ffl-label {
  position: absolute;
  font-size: 14px;
	white-space: nowrap;
	max-width: 100%;
	text-overflow: ellipsis;
	overflow: hidden;
	pointer-events: none;
  top: 15px;
  left: 15px;
  padding: 2px 5px;
  color: #757575;
  border-radius: 10px;
	transition-property: all;
	transition-duration: 200ms;
	transition-timing-function: ease;
	transition-delay: 0s;
}

.captcha-wrapper .ffl-label {
  left: 50%;
  transform: translateX(-50%);
}

.ffl-floated .ffl-label {
  top: -9px;
  background: #fff;
}

.cf-bottom {
  text-align: right;
}

.cf-remark {
  margin-bottom: 20px;
  display: inline-block;
  vertical-align: middle;
  font-size: 16px;
  color: #757575;
}

.cf-submit {
  margin-left: 55px;
  margin-bottom: 20px;
  display: inline-block;
  vertical-align: middle;
}

.cf-submit button {
  display: inline-block;
  vertical-align: middle;
  height: 48px;
  line-height: 48px;
  padding: 0 60px;
  font-size: 18px;
  color: #fff;
  text-transform: uppercase;
  background: #0f5fb1;
  outline: 0;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  box-shadow: 0px 3px 5px 0px rgba(36, 57, 115, 0.54);
  transition: background .5s;
}

.cf-submit button:hover {
  background: #0f3872;
}

.spinner {
  display: none;
}

.spinner img {
  height: 48px;
}

.form-success {
  margin-bottom: 15px;
  padding: 10px;
  background: #fff;
  border: 1px solid #328f20;
}

.product-form h5 {
  margin-bottom: 35px;
  font-weight: 400;
  font-size: 20px;
  color: #141414;
}

.contact-map-wrapper {
  padding: 0 10px;
  margin-bottom: 80px;
}

.contact-map {
  position: relative;
  max-width: 1720px;
  margin: 75px auto 70px;
  padding: 90px 80px;
  box-sizing: border-box;
  min-height: 585px;
  border-radius: 10px;
  box-shadow: 0px 0px 7px 0px rgba(0, 58, 114, 0.51);
}

.cm-link {
  border-radius: 10px;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url('/images/map.jpg');
  background-size: cover;
  background-position: 50% 50%;
}

.cm-contacts {
  position: relative;
  background: rgba(255,2555,255,.9);
  padding: 55px 40px;
  max-width: 290px;
  border-radius: 10px;
}

.cm-items {
  margin-bottom: 50px;
}

.cm-item {
  margin-bottom: 18px;
}

.cm-item:last-of-type {
  margin-bottom: 30px;
}

.cm-item h4 {
  margin-bottom: 10px;
}

.cm-item h4 span:first-child {
  margin-right: 10px;
}

.cm-item h4 span:last-child {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 17px;
  font-style: italic;
  color: #0f5fb1;
  text-transform: uppercase;
}

.cm-item > p {
  margin-left: 54px;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  color: #141414;
  line-height: 1.5;
}

.contact-form-block {
  position: relative;
  padding: 65px 10px 75px;
}

.contact-form {
  position: relative;
  max-width: 905px;
  margin: 0 auto;
  z-index: 2;
}

@media (max-width: 1440px) {
  .contact-form-block .tb-pattern-l {
    opacity: .2;
  }

  .contact-form-block .tb-pattern-r-alt {
    opacity: .2;
  }
}

@media (max-width: 870px) {
  .product-form .cf-bottom {
    text-align: center;
  }

  .product-form .cf-bottom * {
    margin-left: 0;
    margin-right: 0;
  }

  .product-form .ffl-wrapper.captcha-wrapper {
    margin-left: 0;
  }

  .contact-map {
    margin-bottom: 0;
  }

  .contact-map-wrapper {
    margin-bottom: 20px;
  }
}

@media (max-width: 600px) {
  .cm-item > p {
    margin-left: 0;
  }

  .contact-map {
    padding: 20px;
  }

  .cm-contacts {
    max-width: none;
  }

  .cm-contacts .socials a:not(:first-child) {
    margin-left: 5px;
  }

  .cm-contacts .socials a:not(:last-child) {
    margin-right: 5px;
  }
}

@media (max-width: 460px) {
  .ffl-row {
    margin-bottom: 0;
  }

  .ffl-row .ffl-wrapper {
    width: 100%;
    margin-bottom: 25px;
  }

  .ffl-row .ffl-wrapper:nth-child(odd),
  .ffl-row .ffl-wrapper:nth-child(even) {
    float: none;
  }

  .cm-contacts {
    padding: 55px 15px;
  }

  .contact-map-wrapper {
    margin-bottom: 0;
  }
}