.modal-dialog {
  max-width: none;
}

.modal-content {
  border: none;
  border-radius: 0;
  background: url("../img/modal-bg1.jpg") no-repeat center;
  background-size: cover;
  padding: 92px 0 81px;
  color: #fff;
}

.modal-content .logo-spectrum {
  width: 100%;
}

.modal-header {
  border: none;
  padding: 0;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

.modal-title {
  font-size: 42px;
  font-weight: bold;
  text-transform: uppercase;
  max-width: 360px;
  margin: 11px 0 20px;
}

.modal-description {
  font-size: 20px;
  font-weight: bold;
  max-width: 280px;
}

.modal-description-test {
  font-size: 24px;
  font-weight: 500;
  max-width: 280px;
}

.modal-body {
  padding: 0;
  max-width: 390px;
  margin-left: auto;
}

.modal-body .form-callback {
  padding: 0;
}

#testModal .modal-content {
  background: url("../img/modal-bg2.jpg") no-repeat center;
  background-size: cover;
}

#resumeModal .modal-content {
  background: url("../img/modal-bg3.jpg") no-repeat center;
  background-size: cover;
}

#resumeModal .modal-body {
  max-width: 700px;
}

#fileModal .modal-content {
  background: url("../img/file-bg.jpg") no-repeat center;
  background-size: cover;
}

.download-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: #fff;
  margin: 8px 0 38px;
  font-size: 20px;
  font-family: "FuturaPT", sans-serif;
  line-height: 16px;
  -webkit-font-feature-settings: 'pnum' on, 'lnum' on;
  font-feature-settings: 'pnum' on, 'lnum' on;
  font-weight: normal;
}

.download-box:hover {
  color: #E12651;
}

.download-box .pdf-box__icon {
  width: 57px;
  min-width: 57px;
  height: 67px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.download-box .pdf-box__text {
  max-width: 167px;
}

.download-box strong {
  margin: 13px 0 0;
  font-size: 14px;
  display: block;
}

.btn-download {
  max-width: 295px;
  width: 100%;
}

.btn-download .btn-icon {
  margin: 0 11px 0;
}

#thanksSuccessModal .modal-dialog, #thanksFilesModal .modal-dialog, #thanksWebinarModal .modal-dialog {
  max-width: 1170px;
}

#thanksSuccessModal .modal-content, #thanksWebinarModal .modal-content {
  background: url(../img/modal-bg.jpg) no-repeat center;
  background-size: cover;
  padding: 125px;
  text-align: center;
}

#thanksSuccessModal .modal-header,
#thanksSuccessModal .modal-body,
#thanksWebinarModal .modal-header, 
#thanksWebinarModal .modal-body {
  max-width: 423px;
  width: 100%;
  margin: 0 auto;
}

#thanksSuccessModal .modal-icon,
#thanksWebinarModal .modal-icon,
#thanksFilesModal .modal-icon {
  max-width: 120px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 40px;
}

#thanksSuccessModal .modal-icon img,
#thanksWebinarModal .modal-icon img,
#thanksFilesModal .modal-icon img {
  width: 100%;
}

#thanksSuccessModal .modal-title,
#thanksWebinarModal .modal-title,
#thanksFilesModal .modal-title {
  font-size: 35px;
  max-width: none;
  margin: 0 0 20px;
}

#thanksSuccessModal .modal-body, #thanksWebinarModal .modal-body {
  margin: 40px auto 0;
}

#thanksSuccessModal .box-text, #thanksWebinarModal .box-text {
  max-width: 296px;
  width: 100%;
  margin: 0 auto;
}

#thanksSuccessModal .btn, #thanksWebinarModal .btn {
  margin: 0 auto;
  max-width: 216px;
  width: 100%;
}

#thanksFilesModal .modal-content {
  background: url(../img/modal-bg.jpg) no-repeat center;
  background-size: cover;
  padding: 80px;
  position: relative;
}

#thanksFilesModal .modal-icon {
  margin: 0 0 40px;
}

#thanksFilesModal .box-text {
  width: 100%;
}


.btn-close-auto {
  position: absolute;
  color: #fff;
  width: fit-content;
  height: auto;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  opacity: 1;
  padding: 0;
  margin: 0;
  background: transparent;
  font-size: 16px;
  font-weight: 500;
}

.btn-close-auto svg {
  fill: #fff;
  width: 19px;
  height: 19px;
  min-width: 19px;
  margin: 0 0 0 10px;
}

.file-box {
  max-width: 311px;
  width: 100%;
  margin: 0 0 20px auto;
  color: #fff;
  padding: 20px 75px 20px 20px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 10px;
  background: rgba(255, 255, 255, .05);
  position: relative;
  z-index: 1;
  font-size: 20px;
  font-family: "FuturaPT", sans-serif;
  font-weight: normal;
}

.file-box:hover {
  color: #fff;
}

.file-box:last-child {
  margin-bottom: 0;
}

.file-box::before {
  content: '';
  position: absolute;
  z-index: -1;
  right: 0;
  top: 50%;
  transform: translate(0,-50%);
  width: 87px;
  height: 160px;
  background: url('../img/file-icon-decor.svg') no-repeat center;
  background-size: 100%;
}

.file-box__icon {
  position: absolute;
  right: 18px;
  bottom: 20px;
  width: 57px;
}

.file-box__name {
  margin: 0 0 100px;
  display: block;
}

.file-box__size {
  font-size: 14px;
  font-weight: bold;
  display: block;
}