@font-face {
  font-family: 'TTFirs';
  src: url('/local/templates/topjob/fonts/TTFirs/TTFirs-ExtraBold.woff2') format('woff2'),
      url('/local/templates/topjob/fonts/TTFirs/TTFirs-ExtraBold.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'TTFirs';
  src: url('/local/templates/topjob/fonts/TTFirs/TTFirs-Bold.woff2') format('woff2'),
      url('/local/templates/topjob/fonts/TTFirs/TTFirs-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
.yellow-button{
  font-family: 'TTFirs';
  font-weight: 700;
  font-size: 25px;
  line-height: 30px;
  padding: 22px 50px;
  color: #000 !important;
  background-color: #fce832;
  border-radius: 14px;
  display: block;
  width: fit-content;
  transition: background-color 0.3s;
}
@media (hover:hover){
  .yellow-button:hover{
    background-color: #fcd232;
  }
}
@media (max-width: 992px){
  .yellow-button{
    font-size: 14px;
    line-height: 14px;
    padding: 12px 15px;
    border-radius: 8px;
  }
}


.certpage{
  margin: 0 -40px;
  position: relative;
}
@media (max-width: 768px) {
  .certpage{
    margin: 0 -35px;
    padding: 0 1rem;
  }
}

.certpage strong{
  padding: 0;
  background: none;
  line-height: inherit;
}

.certpage h2{
  font-size: 36px;
  line-height: 1.2;
  font-weight: 500;
  margin: 0;
  padding: 0;
  color: #383838;
}
@media (max-width: 1200px) {
  .certpage h2{
    font-size: 28px;
  }
}
@media (max-width: 768px) {
  .certpage h2{
    font-size: 24px;
  }
  .certpage h2 br{
    display: none;
  }
}

.certpage,
.certpage ul,
.certpage p{
  color: #383838;
}

.fancybox__slide.vk-video-clip .fancybox__content{
  width: auto !important;
  height: auto !important;
  aspect-ratio: 9 / 18;
}
@media screen and (orientation: landscape){
  .fancybox__slide.vk-video-clip .fancybox__content{
    max-width: 460px !important;
    max-height: 80vh !important;
    border-radius: 10px !important;
  }
}
@media screen and (orientation: portrait){
  .fancybox__slide.vk-video-clip .fancybox__content,
  .fancybox__slide.vk-video-clip video{
    border-radius: 0 !important;
  }
}
/**/

.certpage-form{
  margin-bottom: 40px;
}
.certpage-form .certpage-container{
  border-radius: 20px;
  max-width: 1250px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding: 43px 47px 45px;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: contain;
}
.certpage-form__content{
  width: 378px;
}
.certpage-form__title {
  font-family: 'TTFirs';
  font-weight: 900;
  font-size: 50px;
  line-height: 1.125;
  color: #344652;
}
@media (max-width: 1200px){
  .certpage-form__title{
    font-size: 42px;
  }
}
@media (max-width: 767px){
  .certpage-form__title{
    font-size: 32px;
  }
}
.certpage-form__form{
  width: 400px;
  padding: 3px 0 65px;
  position: relative;
}
.certpage-form__form h2{
  display: none;
}
.certpage-form__form .c-form {
  margin: 0;
}
.certpage-form__form .c-form-item {
  margin: 0;
}
.certpage-form__form .c-form-label {
  display: none;
}
.certpage-form__form .c-form input {
  height: 48px;
  padding: 0 16px;
  border-radius: 6px;
  margin: 0 0 8px;
  border: none;
}
.certpage-form__form .c-form-item .parsley-errors-list{
  margin: 0;
}
.certpage-form__img{
  flex: 1;
  position: relative;
}
.certpage-form__img div{
  position: absolute;
  left: 46px;
  top: 8px;
  width: 331px;
  height: 454px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
.certpage-form__form button {
  position: absolute !important;
  top: auto !important;
  bottom: 0;
  left: 0;
  width: 100% !important;
  border: none;
  box-shadow: none;
  border: none !important;
  outline: none !important;
  margin: 0 !important;
  background: #58C341;
  border-radius: 6px;
  color: #fff;
  font-size: 19px;
  line-height: 1;
  letter-spacing: 0.005em;
  font-weight: 700;
  height: 48px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  box-shadow: 0px 5px 0px #4D992E;
  cursor: pointer;
}
.certpage-form__form .c-form-policy {
  padding: 0;
  margin: 8px 0 0;
  letter-spacing: normal;
}
.certpage-form__form .c-form-policy .c-form-item+ .c-form-item{
  margin-top: 8px;
}
.certpage-form__form .c-form-policy p {
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: normal;
  margin: 12px 0 0;
}
.certpage-form__form .c-form-policy p a {
  display: block;
  margin: 3px 0 0 -3px;
}
.certpage-form__form .c-form-policy > p:last-child {
  display: none;
}
@media (max-width: 1200px){
  .certpage-form__form{
    margin: 0 0 0 60px;
  }
  .certpage-form__img{
    right: -2%;
    width: calc(100% - 610px);
  }
  .certpage-form__img div{
    left: 10px;
    top: 13px;
    width: 331px;
    height: 454px;
  }
  .certpage-form__content {
    width: 325px;
  }
  .certpage-form__form{
    flex: 1;
    margin: 0;
  }
  .certpage-form {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media (min-width: 993px){
  .certpage-form__img div{
    background-image: url(/certify/img/main/form_boxes_b.webp);
  }
}
@media (max-width: 992px){
  .certpage-form__img{
    display: none;
  }
}
@media (min-width: 769px){
  .certpage-form .certpage-container{
    background-image:  url('/certify/img/p/certify/research/form_bg_b.png');
    background-color: #f3f3f3;
  }
}
@media (max-width: 768px){
  .certpage-form__img{
    display: none;
  }
  .certpage-form .certpage-container{
    min-height: unset;
    background-image:  url('/certify/img/p/certify/research/form_bg_mob.png');
    background-color: #f3f3f3;
    background-position: top;
  }
  .certpage-form__form .c-form-item{
    display: block;
    width: 100%;
    margin-right: 0;
  }
  .certpage-form__form {
    max-width: 400px;
    flex: none;
    margin: 25px auto 0;
    width: 100%;
  }
  .certpage-form__content {
    width: 100%;
  }
  .certpage-form .certpage-container{
    display: block;
    text-align: center;
    padding: 48px 34px;
  }
  .certpage-form__form .c-form-policy {
    margin-left: auto;
    margin-right: auto;
  }
  .certpage-form__form .c-form-policy p a {
    display: inline-block;
  }
  .certpage-form__form .c-form-policy p {
    text-align: center;
  }
}
