/* 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 */

/* Для форм и подвала  */

.center_form .lock  { 
justify-content: center !important;
}

.center_form .lock a { 
  font-family: Open Sans;
  font-weight: 300;
  line-height: 14px;

  text-align: center;
  text-decoration: none;

  color: white;
  border-bottom: 1px dotted #fff;

  transition: border-color .3s;
}

.center_form .lock a:hover {
  border-color: transparent;
}

.center_form .lock .text {
    text-align: center !important;
}

.footer_left{
  float: left; 
  text-align: left; 
  line-height: 1.6;
  color: white;
  a{
    color: inherit;
    border-bottom: 1px dotted #fff;
	text-decoration:none;
    transition: border-color .3s;

    &:hover{
      border-color: transparent;
    }
  }
}

  .adw-rating{
  margin-bottom: 2px;
  margin-top: 22px;

  background: #F6F6F6;
		border: 1px solid #BEBEBE;
		border-radius: 7px;
		overflow: hidden;
		width: fit-content;
 
}

#about .bl_center{
	
	position: relative;
}
	

@media (min-width: 992px) { 

	
  .adw-rating{
  	position: absolute;
  	left: 70%;
  	top: 65px;
  	margin-top: 0;
    margin-bottom: 0;
  
  }  
}

.opportunity-block__wrapper{
	clear: both;
	padding: 10px 5px 0;
}
.opportunity-block {
  background: #f2f1f3;
  padding: 20px 12px 26px;  
  border-radius: 8px;
  max-width: 620px;
}

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

.opportunity-block__img {
  display: block;
  flex: 0 0 46px;
  width: 46px;
  height: auto;
}

.opportunity-block__text {
 
  font-size: 16px;
  font-family: "Open Sans";
  color: rgb(0, 0, 0);
  line-height: 1.125;
 	font-weight: 600;




}

.opportunity-block__btn {
  display: block;
  width: fit-content;
  text-decoration: none;
  height: 36px;
  font-size: 14px;
  font-family: "Open Sans";
  color: #fff;
  text-transform: uppercase;
  line-height: 36px;
  font-weight: 600;
  text-align: center;
  margin-left: 68px;
  padding: 0 18px;
  background: #dc724e;
  border: none;
  transition: background .3s;
  &:hover{
    background: #F56636;
  }
}

@media (min-width: 768px) { 
  .opportunity-block{  
    padding: 38px 45px;
    display: flex;
    align-items: center;
    gap: 15px;
    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__wrapper{
	clear: both;
	padding-top: 50px;
}
  .opportunity-block{
    gap: 60px;





  }
  .opportunity-block__body{
    gap: 34px;
  }
  .opportunity-block__img{
    flex: 0 0 56px;
    width: 56px;
  }
  .opportunity-block__text{
    font-size: 16px;
  }
  .opportunity-block__btn{ 
    height: 53px;
    padding: 0 33px;
    font-size: 16px;
    line-height: 53px;
  }
}

.acceptance {
  margin: 20px 5% 0;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  float: left;
}

.checkcolor:before{
	background: rgba(220, 114, 78, .87) !important;
	
}

.checkcolor:has(input:checked):before {
	background: rgba(220, 114, 78, .87) url('data:image/svg+xml;charset=UTF-8,<svg viewBox="0 0 14 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M13.4893 0.501953L13.4961 0.505859C13.4983 0.508086 13.5 0.512122 13.5 0.516602C13.5 0.520015 13.4984 0.523913 13.4961 0.526367L4.46973 9.49414L4.46875 9.49512C4.46681 9.49706 4.46146 9.5 4.4541 9.5C4.44787 9.49995 4.44259 9.49728 4.44043 9.49512L4.43945 9.49414L0.503906 5.58398H0.504883C0.501753 5.5808 0.499957 5.57714 0.5 5.57324L0.504883 5.5625C0.507007 5.56052 0.508945 5.55932 0.510742 5.55859C0.513034 5.5577 0.516049 5.55664 0.519531 5.55664C0.523013 5.55664 0.526029 5.5577 0.52832 5.55859C0.530296 5.55939 0.532757 5.56109 0.535156 5.56348V5.5625L4.10254 9.10938L4.45508 9.45898L4.80762 9.10938L13.4658 0.505859C13.4683 0.503439 13.4708 0.502709 13.4727 0.501953C13.4748 0.501131 13.4773 0.500038 13.4805 0.5C13.4839 0.5 13.487 0.501053 13.4893 0.501953Z" fill="%23FFF" stroke="white"/></svg>') center no-repeat !important;
}
.acceptance:before {
  width: 25px;
  height: 25px;
  /*border-radius: 5px;*/
  background: rgba(222, 222, 222, .15);
  display: block;
  content: '';

  flex-shrink: 0;



}

.acceptance:has(input:checked):before {
  background: rgba(222, 222, 222, .15) url('data:image/svg+xml;charset=UTF-8,<svg viewBox="0 0 14 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M13.4893 0.501953L13.4961 0.505859C13.4983 0.508086 13.5 0.512122 13.5 0.516602C13.5 0.520015 13.4984 0.523913 13.4961 0.526367L4.46973 9.49414L4.46875 9.49512C4.46681 9.49706 4.46146 9.5 4.4541 9.5C4.44787 9.49995 4.44259 9.49728 4.44043 9.49512L4.43945 9.49414L0.503906 5.58398H0.504883C0.501753 5.5808 0.499957 5.57714 0.5 5.57324L0.504883 5.5625C0.507007 5.56052 0.508945 5.55932 0.510742 5.55859C0.513034 5.5577 0.516049 5.55664 0.519531 5.55664C0.523013 5.55664 0.526029 5.5577 0.52832 5.55859C0.530296 5.55939 0.532757 5.56109 0.535156 5.56348V5.5625L4.10254 9.10938L4.45508 9.45898L4.80762 9.10938L13.4658 0.505859C13.4683 0.503439 13.4708 0.502709 13.4727 0.501953C13.4748 0.501131 13.4773 0.500038 13.4805 0.5C13.4839 0.5 13.487 0.501053 13.4893 0.501953Z" fill="%23FFF" stroke="white"/></svg>') center no-repeat;
  background-size: 14px 10px;
}

.acceptance__check {
  display: none;
}

.acceptance__text {
  font: 300 11px open sans;
  line-height: 1.4;
  flex: 1;

}

.acceptance__text a {
  text-decoration: none;
  color: inherit;
  display: inline-block;
  border-bottom: 1px dotted #fff;
  transition: border-color .3s;
}

.acceptance__text a:hover {
  border-color: transparent;
}

@media (max-width: 991.98px) {
  .acceptance {
    flex-wrap: wrap;
  }

  .acceptance:before {
    transform: translateY(4px);
  }
}

@media (min-width: 992px) {
  .acceptance {
    margin-top: 12px;
    align-items: center;
    max-width: 420px;
   /*  margin-left: 20%;
    margin-right: 20%; */
  }

  .acceptance__text {
    font-size: 12px;
  }
}

/* Подсветка чекбокса при ошибке */
.acceptance_error:before {
    border: 2px solid #ff0000 !important;
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.4);
    animation: shake 0.3s ease-in-out;
}

/* Текст ошибки */
.acceptance__error {
    display: block;
    color: #ff0000;
    font-size: 12px;
    font-weight: 400;
    margin-top: 8px;
    margin-left: 38px;
    animation: fadeInError 0.3s ease-in;
}

/* Анимация появления ошибки */
@keyframes fadeInError {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Анимация тряски чекбокса */
@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

/* Адаптация для мобильных */
@media (max-width: 991.98px) {
    .acceptance__error {
        margin-left: 38px;
        font-size: 11px;
    }
}

@media (min-width: 992px) {
    .acceptance__error {
        margin-left: 38px;
    }
}
