@import url('https://fonts.googleapis.com/css?family=Montserrat:300,400,400i,500,700,900&subset=cyrillic');
@import url('https://fonts.googleapis.com/css?family=PT+Serif:700&subset=cyrillic,cyrillic-ext');
@font-face {
  font-family: 'ALSRubl';
  src: url('../fonts/rouble.eot');
  src: url('../fonts/rouble.eot?#iefix') format('embedded-opentype'), url('../fonts/rouble.woff') format('woff'), url('../fonts/rouble.ttf') format('truetype'), url('../fonts/rouble.svg#ALSRubl') format('svg');
  font-weight: normal;
  font-style: normal;
}
.rouble {
  font-family: 'ALSRubl';
}
body {
  background: #FFF;
  font-weight: 500;
  color: #000000;
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
}
p {
  margin: 0 0 15px;
}
.visible-xs {
  display: none;
}
@media only screen and (max-width: 770px) {
  .visible-xs {
    display: block;
  }
}
.menu-xs {
  position: fixed;
  right: 40px;
  top: 40px;
  z-index: 15;
  display: none;
}
@media only screen and (max-width: 970px) {
  .menu-xs {
    display: block;
  }
}
@media only screen and (max-width: 770px) {
  .menu-xs {
    right: 30px;
  }
}
@media only screen and (max-width: 470px) {
  .menu-xs {
    right: 20px;
  }
}
.menu-xs-bttn {
  height: 22px;
  position: relative;
  width: 37px;
  padding: 5px 0;
  cursor: pointer;
}
.menu-xs-bttn span,
.menu-xs-bttn::before,
.menu-xs-bttn:after {
  content: '';
  display: block;
  position: absolute;
  height: 2px;
  right: 0;
  background-color: rgba(255, 255, 255, 0.6);
}
.menu-xs-bttn span {
  top: 3px;
  left: 0;
}
.menu-xs-bttn::before {
  top: 50%;
  margin-top: -1px;
  left: -5px;
}
.menu-xs-bttn:after {
  bottom: 3px;
  left: 10px;
}
.menu-xs-list {
  display: none;
  align-items: flex-start;
  position: absolute;
  right: 100%;
  top: 0;
  flex-direction: column;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  padding: 10px 5px;
  background: rgba(0, 0, 0, 0.5);
}
.menu-xs-list a {
  color: #FFF;
  font-size: 20px;
  letter-spacing: 1px;
  font-weight: 300;
  margin: 5px 10px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  opacity: .99s;
  transition: all 500ms ease;
}
.menu-xs-list a:hover,
.menu-xs-list a.active {
  opacity: 1;
  border-bottom: 1px solid #FFF;
}
.menu-xs.opened .menu-xs-bttn {
  border: 0;
  background: rgba(0, 0, 0, 0.5);
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}
.menu-xs.opened .menu-xs-bttn span {
  display: none;
}
.menu-xs.opened .menu-xs-bttn::before,
.menu-xs.opened .menu-xs-bttn:after {
  bottom: 2px;
  height: auto;
  width: 2px;
  top: 2px;
  right: 50%;
  left: auto;
  margin-right: -1px;
}
.menu-xs.opened .menu-xs-bttn::before {
  transform: rotate(45deg);
}
.menu-xs.opened .menu-xs-bttn:after {
  transform: rotate(135deg);
}
.menu-xs.opened .menu-xs-list {
  display: flex;
}
.wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1366px;
  min-width: 320px;
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
  padding: 100px 40px;
  box-sizing: border-box;
}
@media only screen and (max-width: 1270px) {
  .wrapper {
    padding: 100px 30px;
    max-width: 960px;
  }
}
@media only screen and (max-width: 970px) {
  .wrapper {
    padding: 100px 30px;
  }
}
@media only screen and (max-width: 770px) {
  .wrapper {
    padding: 100px 20px;
  }
}
@media only screen and (max-width: 470px) {
  .wrapper {
    padding: 100px 10px;
  }
}
.menu {
  position: absolute;
  left: 40px;
  top: 40px;
  display: flex;
  z-index: 2;
}
@media only screen and (max-width: 970px) {
  .menu {
    display: none;
  }
}
.menu a {
  color: #FFF;
  font-size: 22px;
  font-weight: 500;
  opacity: .5;
  text-decoration: none;
  margin-right: 60px;
  transition: all 500ms ease;
}
.menu a:hover,
.menu a.active {
  opacity: 1;
  text-decoration: underline;
}
.menu a:last-child {
  margin-right: 0;
}
.header {
  background-image: url(../images/header_bg.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #FFF;
}
@media only screen and (max-width: 970px) {
  .header {
    overflow-x: hidden;
  }
}
.header .wrapper {
  justify-content: flex-start;
  height: 1060px;
  padding-top: 50px;
  align-items: flex-start;
}
@media only screen and (max-width: 1270px) {
  .header .wrapper {
    height: 940px;
  }
}
@media only screen and (max-width: 970px) {
  .header .wrapper {
    align-items: stretch;
  }
}
.header-logo {
  background-image: url(../images/logo.png);
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: contain;
  height: 139px;
  width: 229px;
  display: block;
  text-decoration: none;
  color: inherit;
  margin-bottom: 16px;
}
@media only screen and (max-width: 970px) {
  .header-logo {
    position: absolute;
    top: 40px;
    left: 30px;
    width: 158px;
    height: 96px;
  }
}
@media only screen and (max-width: 770px) {
  .header-logo {
    left: 25px;
    top: 30px;
  }
}
@media only screen and (max-width: 470px) {
  .header-logo {
    left: 20px;
    top: 25px;
  }
}
.header-title {
  z-index: 3;
  font-size: 55px;
  line-height: 1.2;
  margin-bottom: 30px;
  position: relative;
  font-family: 'PT Serif', serif;
}
@media only screen and (max-width: 1270px) {
  .header-title {
    width: auto;
    font-size: 50px;
  }
}
@media only screen and (max-width: 970px) {
  .header-title {
    text-align: center;
    font-size: 40px;
    order: 2;
  }
}
@media only screen and (max-width: 770px) {
  .header-title {
    font-size: 30px;
  }
}
@media only screen and (min-width: 970px) {
  .header-title span {
    display: block;
    position: absolute;
    right: 100%;
    top: 0;
  }
}
.header-text {
  position: relative;
  z-index: 3;
  font-size: 19px;
  line-height: 1.65;
  margin-bottom: 40px;
  font-weight: 300;
}
@media only screen and (max-width: 1270px) {
  .header-text {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
  }
}
@media only screen and (max-width: 970px) {
  .header-text {
    text-align: center;
    font-size: 17px;
    line-height: 1.5;
    order: 3;
  }
}
@media only screen and (max-width: 770px) {
  .header-text {
    font-size: 14px;
    line-height: 1.4;
  }
}
@media only screen and (min-width: 970px) {
  .header-text span {
    display: block;
  }
}
.header-author {
  font-style: italic;
  font-size: 17px;
}
@media only screen and (max-width: 970px) {
  .header-author {
    order: 4;
    text-align: center;
  }
}
.header-book {
  position: absolute;
  z-index: 2;
  left: 50px;
  bottom: -150px;
  width: 1762px;
  height: 1236px;
  background-image: url(../images/header-book.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: 0 0;
}
@media only screen and (max-width: 1270px) {
  .header-book {
    bottom: auto;
    top: 160px;
    left: 20px;
    width: 1211px;
    height: 850px;
  }
}
@media only screen and (max-width: 970px) {
  .header-book {
    position: relative;
    top: auto;
    order: 1;
    width: auto;
    bottom: auto;
    left: auto;
    height: 550px;
    margin-left: -30px;
    margin-right: -30px;
    background-image: url(../images/header-book-xs.png);
    background-position: center;
  }
}
@media only screen and (max-width: 770px) {
  .header-book {
    height: 450px;
  }
}
@media only screen and (max-width: 470px) {
  .header-book {
    height: 350px;
  }
}
.header-book .author_man,
.header-book .author_woman,
.header-book .menu_authors,
.header-book .menu_book,
.header-book .menu_contacts {
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
}
@media only screen and (max-width: 970px) {
  .header-book .author_man,
  .header-book .author_woman,
  .header-book .menu_authors,
  .header-book .menu_book,
  .header-book .menu_contacts {
    display: none;
  }
}
.header-book .author_man a,
.header-book .author_woman a,
.header-book .menu_authors a,
.header-book .menu_book a,
.header-book .menu_contacts a {
  display: block;
  position: absolute;
  height: 50px;
  z-index: 6;
  /*background-color: rgba(255,255,255,.5);*/
}
@media only screen and (max-width: 1270px) {
  .header-book .author_man a,
  .header-book .author_woman a,
  .header-book .menu_authors a,
  .header-book .menu_book a,
  .header-book .menu_contacts a {
    height: 30px;
  }
}
.header-book .author_man {
  background-image: url(../images/author_man.png);
  top: 42%;
  left: 50px;
  width: 631px;
  height: 43%;
  margin-top: -900px;
  margin-left: -1500px;
}
@media only screen and (max-width: 1270px) {
  .header-book .author_man {
    top: 40%;
  }
}
.header-book .author_woman {
  background-image: url(../images/author_woman.png);
  top: 23%;
  left: 750px;
  width: 631px;
  height: 44%;
  margin-top: 900px;
  margin-left: 1500px;
}
@media only screen and (max-width: 1270px) {
  .header-book .author_woman {
    top: 23%;
    left: 530px;
  }
}
.header-book .menu_authors {
  background-image: url(../images/menu_authors.png);
  top: 32%;
  left: 800px;
  width: 525px;
  height: 37%;
  z-index: 5;
  margin-top: -900px;
  margin-left: 1500px;
}
@media only screen and (max-width: 1270px) {
  .header-book .menu_authors {
    top: 33%;
    left: 550px;
  }
}
.header-book .menu_authors a {
  width: 170px;
  top: 205px;
  left: 170px;
  transform: rotate(329deg) skew(28deg);
  -webkit-transform: rotate(329deg) skew(28deg);
  -moz-transform: rotate(329deg) skew(28deg);
  -o-transform: rotate(329deg) skew(28deg);
  -ms-transform: rotate(329deg) skew(28deg);
}
@media only screen and (max-width: 1270px) {
  .header-book .menu_authors a {
    width: 115px;
    top: 142px;
    left: 118px;
  }
}
.header-book .menu_book {
  background-image: url(../images/menu_book.png);
  top: 23%;
  left: 480px;
  width: 632px;
  height: 43%;
  margin-top: -900px;
  margin-left: -1500px;
}
@media only screen and (max-width: 1270px) {
  .header-book .menu_book {
    left: 335px;
  }
}
.header-book .menu_book a {
  width: 310px;
  top: 240px;
  left: 160px;
  transform: rotate(29deg) skew(11deg);
  -webkit-transform: rotate(29deg) skew(11deg);
  -moz-transform: rotate(29deg) skew(11deg);
  -o-transform: rotate(29deg) skew(11deg);
  -ms-transform: rotate(29deg) skew(11deg);
}
@media only screen and (max-width: 1270px) {
  .header-book .menu_book a {
    width: 210px;
    top: 168px;
    left: 110px;
  }
}
.header-book .menu_contacts {
  background-image: url(../images/menu_contacts.png);
  top: 69%;
  left: 150px;
  width: 313px;
  height: 14%;
  margin-top: -900px;
  margin-left: -1500px;
}
@media only screen and (max-width: 1270px) {
  .header-book .menu_contacts {
    top: 71%;
    left: 134px;
  }
}
.header-book .menu_contacts a {
  width: 95%;
  top: 60px;
  left: 0;
  transform: rotate(29deg) skew(-31deg);
  -webkit-transform: rotate(29deg) skew(-31deg);
  -moz-transform: rotate(29deg) skew(-31deg);
  -o-transform: rotate(29deg) skew(-31deg);
  -ms-transform: rotate(29deg) skew(-31deg);
}
@media only screen and (max-width: 1270px) {
  .header-book .menu_contacts a {
    width: 200px;
    top: 43px;
  }
}
.authors {
  background-image: url(../images/authors_bg.jpg);
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #FFF;
  overflow: hidden;
}
.authors-block {
  z-index: 2;
}
.authors_flat_one,
.authors_flat_two,
.authors_flat_three {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-repeat: no-repeat;
  z-index: 1;
}
.authors_flat_one {
  background-image: url(../images/authors_flat_one.png);
  background-position-x: 0;
}
.authors_flat_two {
  background-image: url(../images/authors_flat_two.png);
}
.authors_flat_three {
  background-image: url(../images/authors_flat_three.png);
}
.authors-title {
  font-size: 60px;
  margin-bottom: 35px;
  line-height: 1;
  font-family: 'PT Serif', serif;
}
@media only screen and (max-width: 970px) {
  .authors-title {
    text-align: center;
  }
}
@media only screen and (max-width: 770px) {
  .authors-title {
    display: none;
  }
}
.authors-subtitle {
  font-size: 32px;
  font-weight: 700;
  font-family: 'PT Serif', serif;
  text-align: center;
  color: #FFF;
  margin-bottom: 40px;
}
.authors-text {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.42;
  margin-bottom: 75px;
}
@media only screen and (max-width: 970px) {
  .authors-text {
    text-align: center;
  }
}
.author {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: flex-start;
  color: #5c5051;
  padding: 0 0 0 50px;
  background: #FFF url(../images/autor_bg.png) 0 0 repeat;
  background-color: #FFF;
  border-radius: 2px;
  width: 45%;
  min-width: 320px;
  max-width: 590px;
  box-shadow: -50px 50px 200px 0px rgba(46, 39, 32, 0.6);
  margin: 0 8% 80px 0;
  box-sizing: border-box;
}
.author-list {
  display: flex;
}
@media only screen and (max-width: 770px) {
  .author-list {
    flex-direction: column;
    align-items: center;
  }
}
@media only screen and (max-width: 1270px) {
  .author {
    padding: 0 20px 0 30px;
  }
}
@media only screen and (max-width: 970px) {
  .author {
    padding: 0 20px;
    margin-right: 5%;
  }
}
@media only screen and (max-width: 770px) {
  .author {
    padding: 0 20px;
    margin: 0 0 50px;
    align-self: center;
    align-items: center;
  }
}
@media only screen and (max-width: 470px) {
  .author {
    min-width: 260px;
  }
}
.author:last-child {
  margin-top: 70px;
  margin-bottom: 0;
  margin-right: 0;
}
.author__photo {
  margin-top: -35px;
  margin-bottom: 35px;
}
@media only screen and (max-width: 770px) {
  .author__photo {
    margin-bottom: 20px;
  }
}
.author__name {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 25px;
  font-family: 'PT Serif', serif;
  white-space: nowrap;
}
@media only screen and (max-width: 970px) {
  .author__name {
    font-size: 24px;
  }
}
@media only screen and (max-width: 770px) {
  .author__name {
    font-size: 22px;
  }
}
@media only screen and (max-width: 470px) {
  .author__name {
    font-size: 20px;
  }
}
.author__info {
  font-size: 16px;
  margin-bottom: 50px;
  line-height: 1.4;
}
@media only screen and (max-width: 1270px) {
  .author__info {
    font-size: 15px;
    margin-bottom: 40px;
  }
}
@media only screen and (max-width: 770px) {
  .author__info {
    font-size: 14px;
    text-align: center;
    margin-bottom: 25px;
  }
}
.author__info span {
  display: block;
}
@media only screen and (max-width: 970px) {
  .author__info span {
    display: inline;
  }
}
.author__links {
  display: none;
  margin-top: 15px;
}
.author__button {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  color: #ffe7e5;
  font-size: 16px;
  border-radius: 32px;
  height: 64px;
  text-align: center;
  padding: 0 30px;
  margin-bottom: -30px;
  background-color: #a71e34;
  box-shadow: 0px 30px 100px 10px rgba(136, 25, 37, 0.75);
}
@media only screen and (max-width: 970px) {
  .author__button {
    font-size: 14px;
    border-radius: 28px;
    line-height: 56px;
    padding: 0 25px;
  }
}
@media only screen and (max-width: 770px) {
  .author__button {
    border-radius: 23px;
    line-height: 46px;
    margin-bottom: 35px;
    box-shadow: 0px 1px 10px 1px rgba(136, 25, 37, 0.75);
  }
}
.author__button:hover {
  text-decoration: underline;
}
.book {
  background-image: url(../images/book_bg.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}
.book-item {
  font-size: 0;
  line-height: 0;
}
.book-slider {
  max-width: 100%;
  margin: 0 auto;
  box-shadow: -50px 50px 200px 0px rgba(46, 39, 32, 0.9);
  background-image: url(../images/book-slider.jpg);
  background-position: 0 0;
  background-size: contain;
  background-repeat: no-repeat;
}
@media only screen and (max-width: 770px) {
  .book-slider {
    position: absolute !important;
    left: -5000px;
  }
}
.book-slider .slick-slide img {
  max-width: 100%;
}
.book-slider .slick-arrow {
  position: absolute;
  border-radius: 100%;
  height: 54px;
  width: 54px;
  top: 50%;
  margin-top: -27px;
  border: 0;
  outline: 0;
  z-index: 10;
  color: transparent;
  cursor: pointer;
  box-shadow: 0px 0px 100px 0px rgba(136, 25, 37, 0.95);
}
.book-slider .slick-arrow:hover {
  box-shadow: 0px 0px 100px 10px rgba(136, 25, 37, 0.95);
}
.book-slider .slick-arrow:before {
  display: block;
  content: '';
  position: absolute;
  top: 50%;
  margin-top: -6px;
  height: 8px;
  width: 8px;
  border-left: 3px solid #a71e34;
  border-bottom: 3px solid #a71e34;
}
.book-slider .slick-arrow:after {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -2px;
  margin-left: -10px;
  content: '';
  height: 3px;
  width: 20px;
  background-color: #a71e34;
}
.book-slider .slick-arrow.slick-prev {
  left: -25px;
  background: #f0d0d0;
  background: -moz-linear-gradient(left, #f0d0d0 1%, #f8ebeb 100%);
  background: -webkit-linear-gradient(left, #f0d0d0 1%, #f8ebeb 100%);
  background: linear-gradient(to right, #f0d0d0 1%, #f8ebeb 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f0d0d0', endColorstr='#f8ebeb', GradientType=1);
}
.book-slider .slick-arrow.slick-prev:before {
  transform: rotate(45deg);
  right: 50%;
}
.book-slider .slick-arrow.slick-next {
  right: -25px;
  background: #f0d0d0;
  background: -moz-linear-gradient(left, #f8ebeb 1%, #f0d0d0 100%);
  background: -webkit-linear-gradient(left, #f8ebeb 1%, #f0d0d0 100%);
  background: linear-gradient(to right, #f8ebeb 1%, #f0d0d0 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f8ebeb', endColorstr='#f0d0d0', GradientType=1);
}
.book-slider .slick-arrow.slick-next:before {
  transform: rotate(-135deg);
  left: 50%;
}
@media only screen and (max-width: 770px) {
  .book-stub {
    position: relative;
    height: 500px;
  }
  .book-stub-block {
    position: absolute;
    width: 924px;
    height: 380px;
    top: 50%;
    left: 50%;
    margin-top: -188px;
    margin-left: -462px;
    transform: rotate(-15deg);
  }
  .book-stub span {
    position: absolute;
    height: 176px;
    width: 450px;
    display: inline-block;
    background: transparent url(../images/book-stub.jpg) 0 0 no-repeat;
  }
  .book-stub span:nth-child(1) {
    top: 0;
    right: 100%;
    margin-right: -315px;
  }
  .book-stub span:nth-child(2) {
    top: 0;
    right: 50%;
    margin-right: -325px;
  }
  .book-stub span:nth-child(3) {
    top: 0;
    left: 100%;
    margin-left: -115px;
  }
  .book-stub span:nth-child(4) {
    top: 200px;
    left: 0;
  }
  .book-stub span:nth-child(5) {
    top: 200px;
    right: 0;
  }
}
.book-download {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 320px;
  z-index: 5;
  text-decoration: none;
  border-radius: 35px;
  color: #ffe7e5;
  font-size: 17px;
  line-height: 70px;
  text-align: center;
  margin: 50px auto 0;
  background-color: #a71e34;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0px 30px 100px 10px rgba(136, 25, 37, 0.75);
}
@media only screen and (max-width: 770px) {
  .book-download {
    font-size: 16px;
    border-radius: 30px;
    line-height: 60px;
    width: 260px;
  }
}
.book-download:hover {
  text-decoration: underline;
}
.book-download:after {
  display: block;
  content: '';
  height: 17px;
  width: 17px;
  margin-left: 15px;
  background: transparent url(../images/download.png) 50% 50% no-repeat;
}
.contacts {
  background-image: url(../images/contacts_bg.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}
@media only screen and (max-width: 770px) {
  .contacts .wrapper {
    padding-bottom: 200px;
  }
}
@media only screen and (max-width: 570px) {
  .contacts .wrapper {
    padding-bottom: 260px;
  }
}
.contacts-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  bottom: 30px;
  left: 40px;
  right: 40px;
  font-size: 12px;
  color: #FFF;
}
@media only screen and (max-width: 770px) {
  .contacts-footer {
    justify-content: center;
    flex-direction: column;
  }
}
@media only screen and (max-width: 570px) {
  .contacts-footer .wrapper {
    padding-bottom: 260px;
  }
}
.contacts-footer a,
.contacts-footer span {
  color: #FFF;
  opacity: .6;
  line-height: 1.42;
  margin: 10px 0;
  text-decoration: none;
  transition: all 500ms ease;
}
.contacts-footer__privacy {
  margin: 10px 30px;
  white-space: nowrap;
}
.contacts-footer a:hover {
  text-decoration: underline;
  opacity: 1;
}
.callback {
  display: flex;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
}
@media only screen and (max-width: 970px) {
  .callback {
    flex-direction: column;
    align-items: center;
  }
}
.callback-subtitle {
  font-size: 32px;
  font-weight: 700;
  font-family: 'PT Serif', serif;
  text-align: center;
  color: #FFF;
  margin-bottom: 40px;
}
.callback-block {
  width: 740px;
  position: relative;
}
@media only screen and (max-width: 770px) {
  .callback-block {
    width: 100%;
  }
}
.callback .contacts-book {
  position: absolute;
  top: 0px;
  left: 101%;
  width: 695px;
  height: 603px;
  background-image: url(../images/contacts-book.png);
  background-position: 0 50%;
  background-repeat: no-repeat;
  background-size: contain;
}
@media only screen and (max-width: 970px) {
  .callback .contacts-book {
    display: none;
  }
}
.callback-head {
  margin-bottom: 35px;
}
@media only screen and (max-width: 770px) {
  .callback-head {
    flex-direction: column;
    align-items: center;
  }
}
.callback-head__item {
  color: #FFF;
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-size: 17px;
  font-weight: 300;
}
@media only screen and (max-width: 470px) {
  .callback-head__item {
    font-size: 15px;
  }
}
@media only screen and (max-width: 770px) {
  .callback-head__item:first-child {
    margin-bottom: 35px;
  }
}
.callback-head__item a {
  color: #FFF;
  text-decoration: none;
  font-size: 32px;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 10px;
}
@media only screen and (max-width: 570px) {
  .callback-head__item a {
    font-size: 26px;
  }
}
@media only screen and (max-width: 470px) {
  .callback-head__item a {
    font-size: 22px;
  }
}
@media only screen and (max-width: 370px) {
  .callback-head__item a {
    font-size: 18px;
  }
}
.callback-head__item:first-child {
  margin-bottom: 25px;
}
.callback-form {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  border: 2px dashed rgba(255, 255, 255, 0.4);
  border-radius: 24px;
  padding: 50px 50px 0;
}
@media only screen and (max-width: 770px) {
  .callback-form {
    padding: 40px 30px 0;
  }
}
@media only screen and (max-width: 470px) {
  .callback-form {
    justify-content: center;
    padding: 40px 30px 0;
    border: 0;
    padding: 10px 10px 0;
  }
}
.callback-form__title {
  font-size: 24px;
  padding: 0 0 30px;
  font-weight: 300;
  color: #FFF;
}
@media only screen and (min-width: 470px) {
  .callback-form__title {
    padding: 0 15px 10px 0;
    top: -18px;
    left: -5px;
    position: absolute;
    background: transparent url(../images/contacts_bg.jpg) 0 0 no-repeat;
  }
}
.callback-form__item {
  position: relative;
  width: 100%;
  padding-top: 5px;
  margin-bottom: 25px;
  box-sizing: border-box;
}
.callback-form__item:nth-child(3) {
  display: none;
}
@media only screen and (min-width: 770px) {
  .callback-form__item:nth-child(4),
  .callback-form__item:nth-child(5) {
    width: 45%;
  }
}
@media only screen and (max-width: 770px) {
  .callback-form__item:nth-child(4) {
    display: none;
  }
}
.callback-form__item:before {
  content: '';
  display: block;
  z-index: 2;
  background-repeat: no-repeat;
  background-size: contain;
  height: 14px;
  width: 14px;
  position: absolute;
  right: 10px;
  top: 50%;
  margin-top: -7px;
  opacity: 0;
  transition: all 600ms ease;
}
.callback-form__item:after {
  content: '';
  display: block;
  z-index: 1;
  height: 1px;
  width: 1px;
  position: absolute;
  right: 17px;
  top: 50%;
  opacity: 0;
  transition: all 600ms ease;
}
.callback-form__item.checked:before {
  background-image: url(../images/checked.svg);
}
.callback-form__item.checked:after {
  box-shadow: 0px 0px 25px 4px #2be189;
}
.callback-form__item.error:before {
  background-image: url(../images/error.svg);
}
.callback-form__item.error:after {
  box-shadow: 0px 0px 25px 4px #ff3333;
}
.callback-form__item.checked:before,
.callback-form__item.checked:after,
.callback-form__item.error:before,
.callback-form__item.error:after {
  opacity: 1;
}
.callback-form__item_line {
  display: block;
  height: 2px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.4);
}
.callback-form__item_line:after {
  content: '';
  display: block;
  height: 2px;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  background-color: #ff313f;
  transition: all 600ms ease;
  width: 0;
}
.callback-form__item label {
  position: absolute;
  left: 17px;
  top: 0;
  right: 0;
  line-height: 50px;
  opacity: .4;
  color: #FFF;
  z-index: 1;
  font-weight: 300;
  transition: all 600ms ease;
}
.callback-form__item label span {
  display: none;
}
@media only screen and (max-width: 770px) {
  .callback-form__item label span {
    display: inline;
  }
}
.callback-form__item input[type=text] {
  display: block;
  position: relative;
  background-color: transparent;
  outline: none;
  padding: 0 25px 0 17px;
  box-sizing: border-box;
  border: 0;
  color: #FFF;
  width: 100%;
  line-height: 50px;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 1px;
  z-index: 2;
}
.callback-form__item input[type=text]:focus + label,
.callback-form__item input[type=text].notempty + label {
  line-height: 12px;
  font-size: 12px;
}
.callback-form__item input[type=text]:focus + label + .callback-form__item_line:after {
  width: 100%;
}
.callback-form input[type=submit] {
  cursor: pointer;
  width: 240px;
  z-index: 5;
  text-decoration: none;
  border-radius: 35px;
  color: #ffe7e5;
  font-size: 17px;
  line-height: 60px;
  text-align: center;
  margin: 20px auto -35px;
  background-color: #a71e34;
  text-transform: uppercase;
  border: 0;
  outline: none;
  box-shadow: 0px 30px 100px 10px rgba(136, 25, 37, 0.75);
}
.callback-form input[type=submit]:hover {
  text-decoration: underline;
}
.form-input__text {
  font-family: 'Montserrat', sans-serif;
  outline: 0;
  line-height: 52px;
  display: block;
  color: #b1b1b1;
  text-transform: uppercase;
  background-color: #FFF;
  font-size: 15px;
  font-weight: 500;
  border-radius: 4px;
  border: 1px solid #FFFFFF;
}
.form-input__text.error {
  border: 1px solid #e73c42;
  background-color: #fccac3 !important;
}
.form-input__submit {
  text-align: center;
  line-height: 54px;
  border-radius: 54px;
  color: #FFFFFF;
  text-transform: uppercase;
  box-shadow: 0px 15px 27px 0px rgba(0, 95, 130, 0.6);
  cursor: pointer;
  background: #ff8d54;
  background: -moz-linear-gradient(left, #ff8d54 0%, #ff5c0d 100%);
  background: -webkit-linear-gradient(left, #ff8d54 0%, #ff5c0d 100%);
  background: linear-gradient(to right, #ff8d54 0%, #ff5c0d 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff8d54', endColorstr='#ff5c0d', GradientType=1);
  margin: 0 0 0 8px;
  padding: 0 20px;
}
@media only screen and (min-width: 1000px) and (max-width: 1200px) {
  .form-input__submit span {
    display: none;
  }
}
@media only screen and (max-width: 480px) {
  .form-input__submit {
    font-size: 14px;
    margin: 0;
  }
}
.popup {
  display: none;
  position: fixed;
  width: 280px;
  top: 40%;
  left: 50%;
  margin-left: -140px;
  padding: 50px 30px;
  background: rgba(0, 0, 0, 0.5);
  color: #FFF;
  line-height: 1.5;
  text-align: center;
  z-index: 200;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}
.popup-close {
  position: absolute;
  right: 0;
  bottom: 100%;
  height: 22px;
  width: 37px;
  padding: 5px 0;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5);
  border-top-right-radius: 12px;
  border-top-left-radius: 12px;
  font-family: 'PT Serif', serif;
  font-size: 18px;
}
.popup-close:before,
.popup-close:after {
  content: '';
  display: block;
  position: absolute;
  bottom: 2px;
  width: 2px;
  top: 2px;
  right: 50%;
  left: auto;
  background-color: #FFF;
  margin-right: -1px;
}
.popup-close::before {
  transform: rotate(45deg);
}
.popup-close:after {
  transform: rotate(135deg);
}
