.mirida-section--form-friend form{
	display: flex;
	flex-wrap: wrap;
	margin: 0 0 0 -40px;
}
.mirida-section--form-friend #alx_feed_back_FID170.alx_feed_back{
	width: 100%;
}
.mirida-section--form-friend form > * {
	width: 100%;
	box-sizing: border-box;
	padding-left: 40px;
}

@media (min-width: 960px){
	.mirida-section--form-friend form > * {
		width: 50%;
	}
}

.mirida-section--form-friend .afbf_item_pole{
	margin: 0 0 15px;

}
.mirida-section--form-friend #fb_close_FID170{
	display: inline-block;
	padding: 0 60px;
	height: 71px;
	line-height: 71px;
	background-color: #021634;
	color: #ffffff !important;
	/*font-size: 21px !important;*/
	text-decoration: none !important;
}
@media (min-width: 319px){
	.mirida-section--form-friend #fb_close_FID170{
		font-size:  calc( 21px + 9 * (100vw - 319px) / (1200 - 319) ) !important;
	}
}
@media (min-width: 1200px){
	.mirida-section--form-friend #fb_close_FID170{
		font-size:  30px !important;
	}	
}
.mirida-section--form-friend .afbf_submit_block{
	width: 100%;
	text-align: center !important;
}
.mirida-section--form-friend{
	background-repeat: no-repeat;
	background-position: top center;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg width='1920' height='755' viewBox='0 0 1920 755' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_214_23)'%3E%3Cpath d='M1642.53 463.838C1635.29 461.898 1627.31 462.709 1619.82 466.912L1559.25 501.76L1609.23 588.122L1695.7 538.322L1660.67 477.857C1656.28 470.472 1649.78 465.779 1642.53 463.838ZM1533.35 516.712L1472.89 551.744C1458.42 559.976 1453.53 578.227 1461.94 592.592L1496.79 653.163L1583.15 603.18L1533.35 516.712ZM1710.65 564.219L1624.29 614.203L1674.09 700.67L1734.55 665.639C1749.03 657.406 1753.92 639.155 1745.5 624.79L1710.65 564.219ZM1598.21 629.26L1511.74 679.06L1546.77 739.525C1555.01 753.996 1573.26 758.886 1587.62 750.47L1648.19 715.622L1598.21 629.26Z' fill='%23001530' fill-opacity='0.3'/%3E%3Cpath d='M336 59.667C331.833 59.667 327.666 61.2503 324.25 64.5837L257.583 131.25C251 137.75 251 148.25 257.583 154.75L324.25 221.417C330.75 228 341.25 228 347.75 221.417L414.416 154.75C421 148.25 421 137.75 414.416 131.25L347.75 64.5837C344.333 61.2503 340.166 59.667 336 59.667ZM336 76.3337L402.666 143L336 209.667L269.333 143M327.666 101.334V151.334H344.333V101.334M327.666 168V184.667H344.333V168H327.666Z' fill='%23001530' fill-opacity='0.3'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_214_23'%3E%3Crect width='1920' height='755' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
}
.footer-links-block-law {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Центрирование на десктопе */
  gap: 20px;
  margin-bottom: 20px;
}

.footer-links-law {
  text-align: center; /* Добавляем центрирование текста внутри каждого пункта */
}

.footer-links-law a {
  color: #CCC;
  font-size: 0.75em;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links-law a:hover {
  color: #CCC;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .footer-links-block-law {
    flex-direction: column;
    align-items: center; /* Центрируем блоки по горизонтали */
    gap: 10px;
  }

  .footer-links-law {
    width: 100%; /* Занимает всю ширину родителя */
    text-align: center; /* Текст точно по центру */
  }
}