@font-face {
  font-family: 'DroidSerif';
  src: url('../fonts/DroidSerif.eot?#iefix') format('embedded-opentype'),
  url('../fonts/DroidSerif.woff') format('woff'),
  url('../fonts/DroidSerif.ttf')  format('truetype'),
  url('../fonts/DroidSerif.svg#DroidSerif') format('svg');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'OpenSans-Regular';
  src: url('../fonts/OpenSans-Regular.eot?#iefix') format('embedded-opentype'),
  url('../fonts/OpenSans-Regular.woff') format('woff'),
  url('../fonts/OpenSans-Regular.ttf')  format('truetype'),
  url('../fonts/OpenSans-Regular.svg#OpenSans-Regular') format('svg');
  font-weight: normal;
  font-style: normal;
}
html, body {
  font-size: 16px;
  font-family: 'OpenSans-Regular', Helvetica, sans-serif;
  color: #303030;
  background-color: #3a54b4;
}
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
}
:after, :before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
h1,h2,h3,h4,h5,h6 {
  font-weight: normal;
}
ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
a {
  color: #303030;
  text-decoration: none;
  transition: color 0.4s ease 0s;
}
a:hover {
  color: #fff;
}
img {
  width: 100%;
  height: auto;
}
.clearfix:before, .clearfix:after {
  content: "";
  display: block;
}
.clearfix:after {
  clear: both;
}
.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
  max-width: 1010px;
}
.display-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.open-menu {
  display: none;
}
header:before {
  content: '';
  height: 15px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6), inset 0 -1px 1px rgba(0, 0, 0, 0.6), 0 0 5px rgba(0, 0, 0, 0.6);
  border-top: 0 solid rgba(19, 28, 60, 1);
  border-bottom: 0 solid rgba(19, 28, 60, 1);
  background: rgba(19, 28, 60, 1) url('../image/bevel_300.png') repeat-x;
  display: block;
}
.logo {
  flex-shrink: 0;
}
.logo-title {
  font-size: 36px;
  font-family: 'DroidSerif', Helvetica, sans-serif;
  font-weight: bold;
}
.logo-link:hover {
  color: #303030;
}
.logo-link__text {
  display: block;
  color: #131C3C;
  font-size: 13.5px;
  font-family: 'OpenSans-Regular',Helvetica,sans-serif;
  font-weight: normal;
  margin-top: 5px;
}
.nav {
  width: 100%;
  text-align: right;
  border-bottom: 1px solid rgba(48, 48, 48, 0.5);
  padding: 30px 0 30px 15px;
}
.nav-list__element {
  display: inline-block;
  padding: 0 15px;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
}
.active {
  color: #fff;
}
.display-flex--header {
  height: 110px;
  position: relative;
}
.display-flex--main {
  margin-top: 95px;
  margin-bottom: 200px;
}
.title-small {
  font-size: 30px;
  font-weight: normal;
  line-height: 1.2em;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(48, 48, 48, 0.5);
  margin-bottom: 20px;
}
.text-small {
  font-size: 13.5px;
}
.main-info__link {
  font-size: 14px;
  font-weight: bold;
  line-height: 1.2em;
  margin: 40px 0 0 0;
  display: flex;
  align-items: center;
  width: 145px;
  cursor: pointer;
}
.icon {
  background: url("../image/sprite.png") no-repeat;
  display: inline-block;
}
.icon--play {
  background-position: -75px 0;
  width: 30px;
  height: 30px;
  margin-left: 15px;
}
.main-image {
  min-width: 240px;
}
.main-info {
  width: 100%;
  padding: 0 65px;
}
footer {
  background: #2a8a9d;
}
.footer-block {
  position: relative;
}
.icon--exclamation, .icon--massage {
  width: 25px;
  height: 40px;
  position: absolute;
  left: 0;
}
.text-small__indent {
  padding-left: 40px;
}
.display-flex--footer {
  padding: 35px 0 20px 0;
  height: 175px;
  align-items: flex-start;
}
.footer-block__copyright {
  align-self: flex-end;
}
.icon--massage {
  background-position: -29px 0;
  width: 42px;
}
.text-small__massage {
  padding-left: 65px;
  margin-bottom: 18px;
}
.copyright {
  font-size: 12px;
}
.title {
  font-weight: normal;
  font-size: 47px;
  line-height: 1.2em;
  margin: 40px 0 15px 0;
}
.container--about {
  padding: 0 30px;
}
.about-image {
  max-width: 850px;
}
.line-bottom {
  border-bottom: 1px solid rgba(48, 48, 48, 0.5);
  margin: 35px 0;
}
.text--about {
  max-width: 535px;
  margin-bottom: 75px;
}
.text--services {
  max-width: 650px;
  margin-bottom: 20px;
}
.display-flex--services {
  align-items: flex-start;
  margin-bottom: 90px;
}
.services-block {
  width: 33%;
  padding-right: 15px;
}
.services-title {
  display: flex;
  align-items: center;
  font-size: 20px;
  line-height: 1.2em;
  margin-bottom: 10px;
}
.services-title > .icon {
  margin-right: 15px;
  flex-shrink: 0;
}
.icon-card {
  background-position: -109px 0;
  width: 64px;
  height: 46px;
}
.icon--brain {
  background-position: -230px 0;
  width: 39px;
  height: 50px;
}
.icon--circle {
  background-position: -176px 0;
  width: 47px;
  height: 50px;
}
.form {
  max-width: 370px;
  text-align: right;
  margin-bottom: 60px;
}
.fb-label {
  font-size: 0;
  position: absolute;
}
.fb-input, .fb-textarea {
  background-color: rgba(240, 240, 240, 1);
  font-size: 16px;
  font-family: 'OpenSans-Regular',Helvetica,sans-serif;
  color: #303030;
  margin: 0 0 5px;
  height: 30px;
  padding: 5px;
  border-radius: 2px;
  border: none;
  width: 100%;
}
.fb-textarea {
  min-height: 130px;
}
.text--contacts {
  margin-bottom: 40px;
  max-width: 630px;
}
.fb-submit {
  background-color: rgba(136, 150, 205, 1);
  border: none;
  cursor: pointer;
  font-size: 16px;
  border-radius: 2px;
  padding: 5px;
  color: #303030;
  line-height: 1.2em;
  font-family: 'OpenSans-Regular',Helvetica,sans-serif;
}
.privacy {
  display: block;
  margin-bottom: 10px;
  outline: none;
  font-size: 13.5px;
  font-family: 'OpenSans-Regular', Helvetica, sans-serif;
}
.privacy:hover {

}
@media (max-width: 768px) {
  .main-info {
    padding: 0 0 0 25px;
  }
  .display-flex--footer, .display-flex--services {
    flex-wrap: wrap;
  }
  .footer-block {
    width: 50%;
    padding: 0 10px;
  }
  .text-small__indent {
    padding-left: 30px;
  }
  .text-small__massage {
    padding-left: 45px;
  }
  .footer-block__copyright, .services-block {
    width: 100%;
  }
  .services-block {
    margin-top: 25px;
    padding: 0;
  }
}

@media (max-width: 480px) {
  .nav {
    display: none;
  }
  button.open-menu {
    display: block;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
  }
  button.open-menu .line {
    display: block;
    height: 4px;
    background: #000;
    margin-bottom: 7px;
    width: 45px;
    border-radius: 1px;
  }
  body.open .nav {
    display: block;
    position: absolute;
    width: 180px;
    z-index: 99;
    padding: 25px 20px;
    background: #fff;
    bottom: -145px;
    right: 0;
    box-shadow: 0 0 5px rgba(0,0,0,0.56);
    border-radius: 3px;
    text-align: left;
  }
  .open .open-menu span {
    opacity: 0;
    position: relative;
  }
  .open #open-menu span:first-child, .open #open-menu span:last-child {
    -webkit-transform: rotate(-45deg);
    top: 12px;
    opacity: 1;
  }
  .open #open-menu span:last-child {
    -webkit-transform: rotate(45deg);
    top: -10px;
  }
  .active {
    color: #000;
  }
  .nav-list__element {
    padding: 5px 10px;
  }
  .nav-list__link:hover {
    color: #000;
  }
  .display-flex--main {
    flex-wrap: wrap;
  }
  .main-info {
    padding: 0;
    margin-top: 20px;
  }
  .main-image {
    max-width: 240px;
    width: 100%;
    margin: 0 auto;
    min-width: auto;
  }
  .display-flex--footer {
    height: auto;
  }
  .footer-block {
    width: 100%;
    margin-bottom: 25px;
  }
  .text-small__massage {
    margin-bottom: 10px;
  }
}
@media (max-width: 360px) {
  .logo-title {
    font-size: 26px;
  }
}