/* Главная */
.home {
  width: 100%;
  height: 100vh;
  background: #000;
  background: url(/assets/img/bg_home.jpg) no-repeat top center;
  background-size: cover;
}

.home .middle {
  margin-top: 50%;
}

.home h1 {
  font-size: 50px;
  color: #b94231;
  margin-top: 25vh;
  text-transform: uppercase;
  font-family: CTCScreenBold;
  line-height: 40px;
}

.home h1:nth-child(2) {
  font-size: 50px;
  margin-top: 0;
  color: #b94231;
  margin-left: 75px;
  text-transform: uppercase;
  font-family: CTCScreenBold;
}

.home p:nth-child(3):before {
  content: "";
  display: block;
  width: 600px;
  height: 4px;
  margin-top: -20px;
  background: url(/assets/img/line_top.png) no-repeat top center;
  background-size: contain;
  position: absolute;
  margin-left: -190px;
}

.home p {
  font-size: 24px;
  color: #000;
  text-align: left;
  margin-top: 10vh;
  font-family: GoodPro-Medium;
}

.home p:nth-child(3):after {
  content: "";
  display: block;
  width: 600px;
  height: 4px;
  margin-top: 30px;
  background: url(/assets/img/line_bottom.png) no-repeat top center;
  background-size: contain;
  position: absolute;
  margin-left: -90px;
}

.home a button {
  margin-top: 5vh;
  border: none;
  padding: 10px 20px;
  background: #e23b2a;
  font-weight: 500;
  font-family: CTCScreenBold;
  font-size: 14px;
  color: #ffffff;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, .2);
  transition: box-shadow .3s ease;
}

.home a button:hover {
  box-shadow: 0 0 10px #e23b2a;
}

.home p:nth-child(5) {
  font-size: 14px;
  color: #000;
  text-align: right;
  margin-top: 5vh;
  font-family: GoodPro-Light;
}

/* Слайдер */
.home .slider {
  box-shadow: 0 0 10px rgba(0, 0, 0, .2);
  border-radius: 5px;
  width: 100%;
  margin-top: 55px;
}

.home .slider img {
  border: 4px solid #ffffff;
  border-radius: 5px;
}

.home .slider .dots {
  position: absolute;
  bottom: -25px;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
}

.home .slider .dots li {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 0 5px;
  padding: 0;
  cursor: pointer;
}

.home .slider .dots li button {
  font-size: 0;
  line-height: 0;
  display: block;
  width: 20px;
  height: 20px;
  padding: 5px;
  cursor: pointer;
  color: transparent;
  border: 0;
  outline: none;
  background: transparent;
}

.home .slider .dots li button:before {
  font-family: 'slick';
  font-size: 30px;
  line-height: 20px;
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  content: '•';
  text-align: center;
  opacity: .25;
  color: black;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.home .slider .dots li.slick-active button:before {
  font-family: 'slick';
  font-size: 30px;
  line-height: 20px;
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  content: '•';
  text-align: center;
  opacity: 1;
  color: black;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Конец слайдера */
@media (min-width: 100px) and (max-width: 1200px) {
  .home {
    height: 100vh;
    overflow: scroll;
  }

  .home .middle {
    margin-top: 0;
    text-align: center;
  }

  .home h1,
  .home h1:nth-child(2),
  .home p,
  .home p:nth-child(5) {
    margin-left: 0;
    text-align: center;
    margin-top: 20px;
  }

  .home h1 {
    margin-top: 150px;
  }

  .home p {
    margin-top: 40px;
  }

  .home p:nth-child(3):before,
  .home p:nth-child(3):after {
    display: none;
  }

  .home a button {
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .home p:nth-child(5) {
    margin-bottom: 40px;
  }

  .slider {
    display: none;
  }
}

.callback {
  overflow-x: scroll;
}

.callback,
.dark {
  display: block;
  width: 100vw;
  height: 100vh;
  position: absolute;
  opacity: 1;
  transition: opacity .5s ease;
  pointer-events: all;
  top: 0;
  left: 0;
  z-index: 10000;
}

.dark {
  background: rgba(0, 0, 0, .8);
  opacity: 1;
  pointer-events: all;
  transition: opacity .5s ease;
}

.form input:-webkit-autofill,
.form input:-webkit-autofill:hover,
.form input:-webkit-autofill:focus,
.form textarea:-webkit-autofill,
.form textarea:-webkit-autofill:hover,
.form textarea:-webkit-autofill:focus,
.form select:-webkit-autofill,
.form select:-webkit-autofill:hover,
.form select:-webkit-autofill:focus {
  -webkit-text-fill-color: #000;
  -webkit-box-shadow: 0 0 0px 1000px #ededed inset;
  -webkit-transition: background-color 5000s ease-in-out 0s;
  transition: background-color 5000s ease-in-out 0s;
}

.form {
  width: 60%;
  max-width: 400px;
  min-width: 300px;
  padding: 40px;
  padding-top: 80px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 50px rgba(0, 0, 0, .5);
  background: #fff;
  margin-top: 100px;
  margin-left: 50%;
  transform: translate(-50%, 0);
  margin-bottom: 100px;
}

.form .close {
  position: absolute;
  right: 30px;
  top: 20px;
  padding: 10px;
  cursor: pointer;
  transition: opacity .3s ease;
}

.form .close img {
  width: 20px;
}

.form .head h2 {
  position: absolute;
  left: 40px;
  top: 30px;
  font-size: 18px;
  font-family: CTCScreenBold;
}

.form input {
  display: inline-block;
  width: 100%;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 25px 30px 5px 20px;
  margin-bottom: 30px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  font-size: 14px;
  color: #000;
  background: #ededed;
  font-family: GoodPro-Medium;
  transition: all .3s ease;
}

.form input:focus {
  border-bottom: 2px solid #909090;
}

.form input.error {
  border-bottom: 2px solid #e23b2a;
}

.form input.success {
  border-bottom: 2px solid #65ba18;
}

.form .relative {
  position: relative;
}

.form span.placeholder {
  cursor: text !important;
  position: absolute;
  top: 15px;
  left: 10px;
  font-size: 14px;
  font-family: GoodPro-Medium;
  color: #909090;
  transform: scale(1) translateY(0);
  padding: 0 0 0 10px;
  width: 220px;
  border-radius: 5px;
  transition: all .3s ease;
}

.form span.placeholder.focus_input {
  transform: scale(.75) translate3d(-35px, -90%, 0)
}

.form input:focus,
.form textarea:focus {
  outline: none;
}

.form input.required {
  background: #ededed url(/assets/img/star.svg) no-repeat 95% center;
  background-size: 10px;
}

.form button {
  display: inline-block;
  width: 100%;
  border: none;
  padding: 10px 20px;
  margin-bottom: 20px;
  border-radius: 5px;
  color: #fff;
  text-transform: none;
  font-size: 16px;
  background: #e23b2a;
  font-family: CTCScreenBold;
  transition: all .3s ease;
}

.form button:hover {
  box-shadow: 0 0 10px #e23b2a;
}

.form .error_label {
  margin: 0;
  padding: 0;
  border: none;
  margin-bottom: 14px;
  margin-top: -30px;
  font-size: 11px;
  color: #e23b2a;
  font-family: GoodPro-Medium;
  text-align: left;
  padding-left: 20px;
  z-index: 0;
  position: absolute;
  left: 0;
  bottom: 0;
}

.form img.required {
  width: 10px;
  margin-top: -15px;
  margin-right: 5px;
}

.form .custom-selected {
  position: relative;
}

.form .custom-selected select {
  display: none;
}

.form .select-selected:after {
  position: absolute;
  content: "";
  top: 14px;
  right: 20px;
  width: 0;
  height: 0;
  background: url(/assets/img/select_arrow.svg) no-repeat center center;
  background-size: 15px;
  border: 10px solid transparent;
  transition: all .5s ease;
}

.form .select-selected.default {
  color: #ccc;
  font-weight: 400;
}

.form .select-selected.select-arrow-active {
  border-bottom: 2px solid #909090;
}

.form .select-selected.select-arrow-active:after {
  transform: rotate(180deg);
}

.form .select-selected {
  display: inline-block;
  width: 100%;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 15px 30px 15px 20px;
  margin-bottom: 30px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  font-size: 14px;
  color: #000;
  min-height: 53px;
  background: #ededed;
  font-family: GoodPro-Medium;
  text-transform: capitalize;
  transition: all .3s ease;
}

.form .select-selected.success {
  border-bottom: 2px solid #65ba18;
}

.form .select-items {
  margin-top: 10px;
  background: #ededed;
  color: #000;
  width: 100%;
  font-size: 14px;
  font-family: GoodPro-Medium;
  font-family: 500;
}

.form .select-items div {
  padding: 15px 20px;
  width: 100%;
  font-size: 14px;
  cursor: pointer !important;
  font-family: GoodPro-Medium;
  font-weight: 500;
}

.form .select-items {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  position: absolute;
  top: 43px;
  left: 0;
  right: 0;
  z-index: 99;
  opacity: 1;
  pointer-events: all;
  transform: translateY(0px);
  transition: all .5s ease;
}

.form .select-hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(50px);
}

.form .select-items div,
.form .same-as-selected {
  transition: all .5s ease;
}

.form .select-items div:hover,
.form .same-as-selected {
  background-color: #e23b2a;
  color: #fff;
}

.form .select-items div:last-child:hover,
.form .select-items div:last-child.same-as-selected {
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}

.form .same-as-selected {
  position: relative;
}

.form .same-as-selected:after {
  position: absolute;
  content: "";
  top: 14px;
  right: 20px;
  width: 0;
  height: 0;
  background: url(/assets/img/check.svg) no-repeat center center;
  background-size: 15px;
  border: 10px solid transparent;
}

.hide {
  pointer-events: none;
  opacity: 0;
}

@font-face {
  font-family: 'FuturaPT';
  src: url('/assets/img/may9/FuturaPT-Bold.eot?#iefix') format('embedded-opentype'),
    url('/assets/img/may9/FuturaPT-Bold.woff') format('woff'),
    url('/assets/img/may9/FuturaPT-Bold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

.hided_may {
  display: none !important;
}

.may9 {
  cursor: default !important;
  position: fixed;
  z-index: 1000;
  bottom: 0;
  left: 0;
  right: 0;
  width: 80%;
  background: #dc4128 url(/assets/img/may9/arrow_white.svg) no-repeat 70% 100%;
  background-size: 100px;
  height: 100px;
  margin: 0 auto;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  font-family: FuturaPT;
  font-weight: 600;
}

.may9 img {
  position: absolute;
  left: 200px;
  top: 20px;
  width: 55px;
}

.may9 img.night {
	left: 0;
	padding: 0 30px;
	width: 150px;
	height: 100px;
	box-sizing: border-box;
	-o-object-fit: contain;
	object-fit: contain;
	top: 0;
	background: #fff;
	border-top-left-radius: 5px;
}

.may9 p {
  width: 35%;
  position: absolute;
  left: calc(20% + 70px);
  top: 20px;
  height: 60px;
  font-size: 14px;
  color: #fff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.may9 .go {
  position: absolute;
  right: 30px;
  top: 20px;
  height: 60px;
  display: inline-block;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.may9 .go button {
  border: none;
  border-radius: 5px;
  background: #fff;
  color: #dc4128;
  padding: 10px 40px;
  font-size: 14px;
  cursor: pointer;
  transition: all .3s ease;
}

.may9 .go button:hover {
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

@media only screen and (max-width: 1250px) {
  .may9 {
    background: #dc4128;
  }

  .may9 p {
    left: calc(25% + 70px);
  }
}

@media only screen and (max-width: 1050px) {
  .may9 p {
    display: none;
  }

  .may9 .go {
    right: 25%;
  }
}

@media only screen and (max-width: 850px) {
  .may9 .go {
    right: 10%;
  }
}

@media only screen and (max-width: 650px) {
  .may9 .go {
    display: none;
  }

  .may9 {
    text-align: center;
  }

  .may9 img {
    position: static;
  }

  .may9 img.night {
    border-top-left-radius: 0;
    margin-left: 20px;
  }

  .may9 a {
    display: none;
  }
}