@font-face {
  font-family: 'TTFirs';
  src: url('/certify/fonts/TTFirs/TTFirs-ExtraBold.woff2') format('woff2'),
      url('/certify/fonts/TTFirs/TTFirs-ExtraBold.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'TTFirs';
  src: url('/certify/fonts/TTFirs/TTFirs-Bold.woff2') format('woff2'),
      url('/certify/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;
  }
}

#main-modal h2{
  display: none;
}
#main-modal .form_wrapper{
  padding-top: 10px;
}
@media (max-width: 576px){
  #main-modal .form_wrapper{
    padding-top: 26px;
    padding-bottom: 26px;
  }
}

.certhow-faq{
  padding: 148px 0 0;
  user-select: none;
}
.certhow-faq h2{
  text-align: center;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 500;
  margin: 0;
  padding: 0;
  color: #383838;
}
@media (max-width: 1200px) {
  .certhow-faq h2{
    font-size: 28px;
  }
}
@media (max-width: 768px) {
  .certhow-faq h2{
    font-size: 23px;
  }
  .certpage h2 br{
    display: none;
  }
}
.certhow-faq-container{
  max-width: 1250px;
  margin: 0 auto;
  padding: 0;
}
.certhow-faq__list{
  margin-top: 43px;
}
.certhow-faq__item{
  border-bottom: 1px solid #EAEAEC;
}
.certhow-faq__question{
  cursor: pointer;
  position: relative;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  padding: 18px 32px 19px;
  min-height: 74px;
}
.certhow-faq__question::before{
  content: '';
  position: absolute;
  right: 32px;
  top: 50%;
  margin-top: -21px;
  width: 42px;
  height: 42px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg width='42' height='42' viewBox='0 0 42 42' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cmask id='path-1-inside-1_2030_11067' fill='white'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10.7924 19.7367C11.2485 19.1733 12.075 19.0863 12.6384 19.5424L21 26.3114L29.3617 19.5424C29.9251 19.0863 30.7516 19.1733 31.2077 19.7367C31.6638 20.3001 31.5768 21.1266 31.0134 21.5827L21.8259 29.0202C21.3443 29.41 20.6558 29.41 20.1742 29.0202L10.9867 21.5827C10.4233 21.1266 10.3363 20.3001 10.7924 19.7367Z'/%3E%3C/mask%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10.7924 19.7367C11.2485 19.1733 12.075 19.0863 12.6384 19.5424L21 26.3114L29.3617 19.5424C29.9251 19.0863 30.7516 19.1733 31.2077 19.7367C31.6638 20.3001 31.5768 21.1266 31.0134 21.5827L21.8259 29.0202C21.3443 29.41 20.6558 29.41 20.1742 29.0202L10.9867 21.5827C10.4233 21.1266 10.3363 20.3001 10.7924 19.7367Z' fill='%23292D32'/%3E%3Cpath d='M12.6384 19.5424L14.6937 17.0034L12.6384 19.5424ZM21 26.3114L18.9447 28.8504L21 30.5143L23.0554 28.8504L21 26.3114ZM29.3617 19.5424L27.3063 17.0034L27.3063 17.0034L29.3617 19.5424ZM31.2077 19.7367L28.6687 21.7921L28.6687 21.7921L31.2077 19.7367ZM31.0134 21.5827L33.0687 24.1217L33.0688 24.1217L31.0134 21.5827ZM21.8259 29.0202L19.7705 26.4812L19.7705 26.4812L21.8259 29.0202ZM20.1742 29.0202L22.2296 26.4812L22.2296 26.4812L20.1742 29.0202ZM10.9867 21.5827L8.93134 24.1217L8.93134 24.1217L10.9867 21.5827ZM14.6937 17.0034C12.7281 15.4122 9.84465 15.7157 8.25341 17.6813L13.3314 21.7921C12.6523 22.6309 11.4218 22.7605 10.583 22.0814L14.6937 17.0034ZM23.0554 23.7724L14.6937 17.0034L10.583 22.0814L18.9447 28.8504L23.0554 23.7724ZM27.3063 17.0034L18.9447 23.7724L23.0554 28.8504L31.4171 22.0814L27.3063 17.0034ZM33.7467 17.6813C32.1554 15.7157 29.272 15.4122 27.3063 17.0034L31.4171 22.0814C30.5783 22.7605 29.3477 22.631 28.6687 21.7921L33.7467 17.6813ZM33.0688 24.1217C35.0344 22.5304 35.3379 19.647 33.7467 17.6813L28.6687 21.7921C27.9896 20.9533 28.1191 19.7227 28.958 19.0437L33.0688 24.1217ZM23.8812 31.5592L33.0687 24.1217L28.958 19.0437L19.7705 26.4812L23.8812 31.5592ZM18.1188 31.5592C19.7989 32.9192 22.2012 32.9192 23.8813 31.5592L19.7705 26.4812C20.4875 25.9008 21.5126 25.9008 22.2296 26.4812L18.1188 31.5592ZM8.93134 24.1217L18.1188 31.5592L22.2296 26.4812L13.0421 19.0437L8.93134 24.1217ZM8.25341 17.6813C6.66217 19.647 6.96568 22.5304 8.93134 24.1217L13.0421 19.0437C13.8809 19.7227 14.0105 20.9533 13.3314 21.7921L8.25341 17.6813Z' fill='%239696A2' mask='url(%23path-1-inside-1_2030_11067)'/%3E%3C/svg%3E%0A");
  transition: transform 0.3s;
}
.certhow-faq__question:hover{
  color: #56BC20;
}
.certhow-faq__answer{
  padding: 24px 32px;
  display: none;
}
.certhow-faq__item.open .certhow-faq__question{
  color: #56BC20;
  font-weight: 700;
}
.certhow-faq__item.open .certhow-faq__answer{
  display: block;
  border-top: 1px solid #eaeaec;
  background: #f8f8f8;
}
.certhow-faq__item.open .certhow-faq__question::before{
  transform: scale(1,-1);
}
.certhow-faq__answer a {
  color: #56BC20 !important;
}
.certhow-faq__answer ul {
  padding-left: 40px;
}
.certhow-faq__answer ul > li{
  list-style: disc;
}
@media (max-width: 992px) {
  .certhow-faq{
    padding: 64px 16px 0;
  }
  .certhow-faq-container{
    padding: 0;
  }
  .certhow-faq__list{
    margin-top: 24px;
  }
  .certhow-faq__question{
    padding: 22px 30px 22px 0;
    min-height: unset;
    font-size: 16px;
    line-height: 1.5;
  }
  .certhow-faq__question::before{
    width: 30px;
    height: 30px;
    right: 0;
  }
  .certhow-faq__answer{
    margin: 0 -16px;
    padding: 16px;
    font-size: 16px;
    line-height: 1.5 !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 0 8px;
  position: relative;
}
.certpage-form__form .c-form-item:last-child{
  margin-bottom: 0;
}
.certpage-form__form .c-form-list .c-form-item:nth-child(1),
.certpage-form__form .c-form-list .c-form-item:nth-child(2){
  display: none;
}
.certpage-form__form .c-form-policy .c-form-list .c-form-item:nth-child(1),
.certpage-form__form .c-form-policy .c-form-list .c-form-item:nth-child(2){
  display: block;
}
.certpage-form__form .c-form-label{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 48px;
  z-index: 1;
  display: flex;
  align-items: center;
  padding: 0 16px;
  /* color: #5D5D5D; */
  color: rgba(38,38,38,0.4);
  pointer-events: none;
}
.certpage-form__form .c-form-label::before{
  content: '';
  position: absolute;
  top: 2px;
  left: 17px;
  bottom: 2px;
  right: 40px;
  background: #fff;
  z-index: -1;
}
.certpage-form__form .c-form-label.hidden{
  display: none;
}
.certpage-form__form .c-form input {
  height: 48px;
  padding: 0 16px;
  border-radius: 6px;
  margin: 0;
  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: 16px 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;
  }
}
