/* start block cookies */

.cookies { 
  position: fixed;
  z-index: 10000000000;
  bottom: 0;
  background: #282828;
  
  width: 100%;
  
  
  
 
  padding: 16px 0;
  max-width: 100%;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .6s;
}

.cookies.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.cookies_container{
  display: flex;
  align-items: center;
}
.cookies_text {
 
  font-size: 12px;
  color: #fff;
  line-height: 18px;  
}

.cookies_text a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid #fff; 
  transition: border-color .3s;
  &:hover{
    border-color: transparent;
  }
}

.cookies_btn {
  height: 34px;
  width: 60px;
  background: #0094FF;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  cursor: pointer;
  font-weight: 300;
  color: #FFFFFF;
  font-size: 15px;
  margin-left: 6%;
  flex-shrink: 0;
  
}

@media (max-width: 767.98px) {
  .cookies {
    padding: 12px 0;
  }
  .cookies_btn {
    
    margin-left: 8px;
  }
  .cookies_container{
    justify-content: space-between;
  }
  
}

/*  eof block cookies */

.opportunity-block {
  background: #F2F8FC;
  border-radius: 8px;
  padding: 18px 14px 20px;
  margin-top: 27px;
}

.opportunity-block__body {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  gap: 16px;
}

.opportunity-block__mediabox {
  flex: 0 0 45px;
  padding-bottom: 10px;
  text-align: center;
  border-bottom: 2px solid #E05B23;
  svg {
    width: 29px;
    height: 41px;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}

.opportunity-block__text {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 125%;
  color: #333333;
}

.opportunity-block__btn {
  display: block;
  width: fit-content;
  text-decoration: none;
  height: 40px;
  border-radius: 5px;
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 300;
  font-size: 15px;
  line-height: 40px;
  text-align: center;
  color: #fff !important;
  margin-left: 61px;
  padding: 0 20px;
  background: #E05B23;
  border: none;
  transition: background .3s;
  &:hover{
    background: #DC4100;
  }
}

@media (min-width: 768px) { 
  .opportunity-block{  
    padding: 24px 40px;
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 788px;
    margin-left: auto;
    margin-right: auto;
  }
  .opportunity-block__body{
    flex: 1;
    margin-bottom: 0;
  }
  .opportunity-block__btn{
    margin: 0;
  }
}
@media (min-width: 992px) { 
  .opportunity-block{
    border-radius: 8px;
    margin-top: 78px;    
    gap: 27px;
  }
  .opportunity-block__body{
    gap: 27px;
  }
  .opportunity-block__mediabox{
    flex: 0 0 60px;
    svg{
      width: 40px;
      height: 56px;
    }    
  }
  .opportunity-block__text{
    font-size: 20px;
    font-weight: 400;
  }
  .opportunity-block__btn{
    height: 50px;
    padding: 0 30px;
    font-size: 17px;
    line-height: 50px;
  }
}

/* чекбоксы */

.acceptance {
  margin-top: 16px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
}
.acceptance:before{
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .1);
  display: block;
  content: '';
  
  flex-shrink:0;
}
.acceptance:has(input:checked):before{
  background: rgba(255, 255, 255, .1) url('data:image/svg+xml;charset=UTF-8,<svg viewBox="0 0 12 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4.61533 10C4.37085 10 4.13649 9.90483 3.96269 9.73367L0.270435 6.09731C-0.0901449 5.74219 -0.0901449 5.16692 0.270435 4.8118C0.631014 4.45668 1.21513 4.45668 1.57571 4.8118L4.52874 7.71937L10.3484 0.350906C10.6621 -0.0453956 11.2411 -0.116426 11.6435 0.191104C12.0459 0.499345 12.1188 1.07107 11.8051 1.46668L5.34362 9.64847C5.18137 9.85444 4.93689 9.98156 4.67296 9.99789C4.65276 9.99932 4.63402 9.99932 4.61526 9.99932L4.61533 10Z" fill="%23E05B23"/></svg>') center no-repeat;
  background-size: 14px 10px;

}
.acceptance__check {
  display: none;
}
.acceptance__text {
  line-height: 1.5;
  flex: 1;
  text-align: left;
}

@media (max-width: 767.98px) { 
  .acceptance{
    flex-wrap: wrap;
  }
  .acceptance:before{
    transform: translateY(4px);
  } 
  .acceptance_desktop{
    display: none;
  }
}
@media (min-width: 768px) { 
  .acceptance{
    margin-top: 24px;
    align-items: center;   
  }
  .acceptance_mobile{
    display: none !important;
  }  
}

.acceptance_error {
    position: relative;
}

.acceptance_error:before {
    border: 2px solid #ff0000 !important;
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.3);
}

.acceptance__error {
    display: block;
    color: #ff0000;
    font-size: 12px;
    margin-top: 5px;
    animation: fadeIn 0.3s ease-in;
}
@media (max-width: 767.98px) { 
  .acceptance__error{
    margin-left: 0;
    width: 100%;
  }  
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* чекбоксы */