/******* Modals ***********/
.modal {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 40;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 100vw;
  min-width: 320px;
  max-height: 100vh;
  padding-top: 30px;
  padding-bottom: 30px;
  background-color: rgba(0, 0, 0, 0.5);
  overflow-x: hidden;
  overflow-y: auto; }

.modal--hidden {
  display: none; }

.modal__wrapper {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  width: 70%;
  max-height: 320px;
  margin-top: auto;
  margin-bottom: auto;
  padding: 40px 0 40px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  background-color: #909090; }

.modal__close {
  padding: 0;
  border: none;
  background-color: transparent;
  outline: none;
  position: absolute;
  right: 22px;
  top: 22px; }
  .modal__close:not(:hover) {
    -webkit-transition: 0.3s;
    transition: 0.3s; }
  .modal__close:hover {
    outline: none;
    cursor: pointer;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    opacity: 0.5; }
.section-big-title {
  font-size: 40px;
  line-height: 49px;
  max-width: 100%;
  margin: 0;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
}
.thanks-modal__form-wrapper {
	text-align: center;
}
.thanks-modal__content {
	text-align: right;
}
.thanks-modal__content img {
	margin-right: -80px;
    margin-top: -30px;
}
.thanks-modal__form-wrapper p {
	font-size: 16px;
    line-height: 30px;
    max-width: 100%;
    margin: 0;
    /* font-weight: 600; */
    /* text-transform: uppercase; */
    color: #fff;
}

@media (max-width: 1024px) {
  .modal__wrapper {
    min-height: 450px; }
  .modal__close {
    right: 18px;
    top: 18px; }
    .modal__close svg {
      width: 20px;
      height: 20px; } 
	.section-big-title {
    font-size: 30px;
    line-height: 38px; }
}

@media (max-width: 767px) {
  .modal__wrapper {
    min-height: unset; }
  .modal__close {
    right: 10px;
    top: 10px; }
    .modal__close svg {
      width: 15px;
      height: 15px; } 
	.section-big-title {
    font-size: 22px;
    line-height: 28px; }
}
/******* Modals end *******/