@font-face {
	font-family: Gilroy;
	font-weight: 400;
	font-style: normal;
	src: url(../fonts/Gilroy-Regular.eot);
	src: url(../fonts/Gilroy-Regular.eot?#iefix) format("embedded-opentype"), url(../fonts/Gilroy-Regular.woff) format("woff"), url(../fonts/Gilroy-Regular.ttf) format("truetype")
}

@font-face {
	font-family: Gilroy;
	font-weight: 500;
	font-style: normal;
	src: url(../fonts/Gilroy-Medium.eot);
	src: url(../fonts/Gilroy-Medium.eot?#iefix) format("embedded-opentype"), url(../fonts/Gilroy-Medium.woff) format("woff"), url(../fonts/Gilroy-Medium.ttf) format("truetype")
}

@font-face {
	font-family: Gilroy;
	font-weight: 600;
	font-style: normal;
	src: url(../fonts/Gilroy-SemiBold.eot);
	src: url(../fonts/Gilroy-SemiBold.eot?#iefix) format("embedded-opentype"), url(../fonts/Gilroy-SemiBold.woff) format("woff"), url(../fonts/Gilroy-SemiBold.ttf) format("truetype")
}

@font-face {
	font-family: Gilroy;
	font-weight: 700;
	font-style: normal;
	src: url(../fonts/Gilroy-Bold.eot);
	src: url(../fonts/Gilroy-Bold.eot?#iefix) format("embedded-opentype"), url(../fonts/Gilroy-Bold.woff) format("woff"), url(../fonts/Gilroy-Bold.ttf) format("truetype")
}

@font-face {
	font-family: Gilroy;
	font-weight: 900;
	font-style: normal;
	src: url(../fonts/Gilroy-ExtraBold.eot);
	src: url(../fonts/Gilroy-ExtraBold.eot?#iefix) format("embedded-opentype"), url(../fonts/Gilroy-ExtraBold.woff) format("woff"), url(../fonts/Gilroy-ExtraBold.ttf) format("truetype")
}

body {
  font-family: "Gilroy", "Times New Roman", Arial, sans-serif;
}

.center_window {
  width: 80%;
  border-radius: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}
.center_window.shadow {
  -webkit-box-shadow: 0 0 40px 0 rgba(190, 190, 190, 0.4);
  box-shadow: 0 0 40px 0 rgba(182, 182, 182, 0.4);
  background-color: rgb(255, 255, 255);
}
.thanks-scene__block {
  display: inline-flex;
}
.thanks-scene__header {
  color: #461b7f;
  font-size: 1.8rem;
  width: 100%;
  margin: 0 auto;
  font-weight: normal;
  margin-top: 20px;
  margin-bottom: 10px;
  font-family: "ProximaNova-Bold", sans-serif;
  line-height: 1em;
}
.thanks-scene__header span {
  display: block;
  font-size: 1.5rem;
}
.thanks-scene__subheader {
  color: #0050ae;
  font-family: "ProximaNova-Bold", sans-serif;
  margin-bottom: 10px;
}
.thanks-scene__text {
  width: 60%;
  margin: 0 auto;
  padding-top: 40px;
  padding-bottom: 20px;
  opacity: 0.7;
  font-size: 1.1em;
}
.thanks-scene__button {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  outline: none;
  border: none;
  margin-top: 50px;
  margin-bottom: 6px;
  border-radius: 40px;
  padding: 26px 40px;
  font-size: 0.8em;
  color: #fff;
  background: #aa1485;
  transition: all 0.3s ease-in;
}
.thanks-scene__button:hover {
  cursor: pointer;
  box-shadow: 0 0 20px 2px rgba(43, 43, 43, 0.226);
  background: #830f66;
}
.thanks-scene__button:active,
.thanks-scene__button-telegram:active {
  transform: translateY(2px);
}
.thanks-scene__button:focus {
  outline: 0;
}
.thanks-scene__button-telegram {
  color: rgba(0, 0, 0, 0.4);
  display: inline-block;
  font-size: 1em;
  margin-top: 20px;
  transition: all 0.3s ease-in;
}
.thanks-scene__button-telegram:hover {
  color: rgba(0, 0, 0, 0.7);
}
.thanks-scene__left-card {
  position: absolute;
  left: -120px;
  bottom: -10px;
}
.thanks-scene__left-img {
  transform: scale(0.9);
}
.thanks-scene__left-card.rotate {
  transform: rotate(-20deg);
}
.thanks-scene__checkbox {
  opacity: 0.7;
  font-size: 0.8em;
  color: rgba(0, 0, 0, 0.6);
}
.thanks-scene__checkbox:hover {
  color: rgba(0, 0, 0, 0.7);
}

.thanks-scene__list li {
  width: 100%;
  margin-right: 20px;
  margin-left: 20px;
  padding-bottom: 6px;
}
.thanks-scene__list li a {
  color: #000000;
  text-decoration: underline;
}
.thanks-scene__list li a:hover {
  text-decoration: none;
}
.thanks-scene__list:first-of-type {
  margin-right: 0;
}
.line-breack {
  width: 100%;
}
.thanks-scene__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  text-align: left;
  margin: 20px 0 10px;
  list-style-type: none;
  padding-left: 0;
  list-style-image: url("../img/payokay-list-type.png");
  font-size: 1.13em;
}
.thanks_window .thanks-scene__list {
  position: static;
}

.thanks-scene__list li strong {
  font-weight: 700;
}

.thankyou {
  display: none;
  padding: 20px 0;
}
.thankyou strong {
  font-weight: 600;
}

.thanks-scene__text2 {
  /* width: 100%; */
  font-size: 2em;
  margin-bottom: 20px;
}

/* modal__thanks start */

.thanks_window-ok {
  display: none;
  font-size: 35px;
}

/* modal__thanks end */

/* Telegram window */
.telegram_window {
  background-color: #52ace3;
  background-image: url("../img/telegram-bg.png");
  background-position: left center;
  background-repeat: no-repeat;
  padding: 30px;
  border-radius: 16px;
  color: #fff;
  width: 80%;
  margin: 0 auto;
  font-size: 1.1em;
  font-weight: 500;
  box-shadow: 0 0 26px 2px #52abe3b6;
}
.telegram_window__button {
  position: relative;
  display: inline-block;
  box-sizing: border-box;
  margin-top: 16px;
  width: 320px;
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: 22px;
  font-size: 0.8em;
  overflow: hidden;
  background: rgba(255, 145, 66, 1);
  background: -moz-linear-gradient(top, rgba(255, 145, 66, 1) 0%, rgba(255, 94, 0, 1) 100%);
  background: -webkit-gradient(
    left top,
    left bottom,
    color-stop(0%, rgba(255, 145, 66, 1)),
    color-stop(100%, rgba(255, 94, 0, 1))
  );
  background: -webkit-linear-gradient(top, rgba(255, 145, 66, 1) 0%, rgba(255, 94, 0, 1) 100%);
  background: -o-linear-gradient(top, rgba(255, 145, 66, 1) 0%, rgba(255, 94, 0, 1) 100%);
  background: -ms-linear-gradient(top, rgba(255, 145, 66, 1) 0%, rgba(255, 94, 0, 1) 100%);
  background: linear-gradient(to bottom, rgba(255, 145, 66, 1) 0%, rgba(255, 94, 0, 1) 100%);
  transition: all 0.3s ease;
}

.telegram_window__button::after {
  content: "";
  display: block;
  width: 30px;
  height: 300px;
  margin-left: 60px;
  background: #fff;
  position: absolute;
  left: -40px;
  top: -150px;
  z-index: 1;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: all 0.1s;
  transition: all 0.1s;
  -webkit-animation-name: slideme;
  animation-name: slideme;
  -webkit-animation-duration: 3s;
  animation-duration: 3s;
  -webkit-animation-delay: 0.05s;
  animation-delay: 0.05s;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}
@-webkit-keyframes slideme {
  0% {
    left: -30px;
    margin-left: 0px;
  }
  30% {
    left: 110%;
    margin-left: 80px;
  }
  100% {
    left: 110%;
    margin-left: 80px;
  }
}
.telegram_window__button:hover {
  box-shadow: 0 0 20px 2px rgba(255, 145, 66, 1);
}
.telegram_window__button:active {
  transform: translateY(2px);
}
.telegram_window__button:focus {
  outline: 0;
}
.thanks-scene__button-telegram {
  color: rgba(0, 0, 0, 0.4);
  display: inline-block;
  font-size: 1rem;
  margin-top: 20px;
  transition: all 0.3s ease-in;
}
.thanks-scene__button-telegram:hover {
  color: rgba(0, 0, 0, 0.7);
  text-decoration: underline;
}
/* END Telegram window */

@media (min-height: 670px) {
  .center_window {
    top: 50%;
    transform: translate(-50%, -50%);
  }
}
@media (max-width: 767px) and (max-height: 670px) {
  .center_window {
    /* top: 40px; */
    /* transform: translate(-50%, 0); */
  }
}
@media (max-width: 767px) {
  .thanks-scene__button-telegram {
    margin-top: 0;
  }
  .thanks_page_window {
    width: 90%;
  }
  .telegram_window__button {
    width: 100%;
  }
  .test_page_window:before,
  .thanks_page_window:before {
    display: none;
  }
  .thanks-scene__block {
    width: 100%;
    flex-direction: column;
    padding-left: 40px;
    padding-top: 10px;
    box-sizing: border-box;
  }
  .line-breack {
    display: none;
  }
  .thanks-scene__list,
  .thanks-scene__list:first-of-type {
    margin: 0;
    text-align: left;
  }
  .thanks-scene__list li {
    width: 100%;
    padding-bottom: 2px;
  }
  .thanks_window .thanks-scene__list {
    position: static;
    font-size: 1em;
  }
  .thanks-scene__left-card {
    position: relative;
    left: auto;
    bottom: 20px;
    height: 150px;
    text-align: center;
  }
  .thanks-scene__left-card.rotate {
    transform: rotate(0);
  }
  .thanks-scene__left-img {
    width: 100%;
    transform: scale(0.7);
  }
  .thanks-scene__button {
    margin-top: 20px;
    padding-top: 16px;
    padding-bottom: 16px;
    width: 100%;
  }
  .thanks-scene__header {
    font-size: 1.4rem;
    margin: 0 0 16px;
  }
  .thanks-scene__header span {
    font-size: 1.2rem;
    line-height: 1.3rem;
  }
  .thanks-scene__text {
    width: 100%;
    font-size: 1em;
    padding-top: 0;
  }

  .thanks-scene__text2 {
    font-size: 1.5em;
    margin-bottom: 10px;
  }
}
