@font-face {
    font-family: "AV Fontimer";
    src: url("../fonts/AV_Fontimer/AVFontimer-Regular.ttf");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "AV Fontimer";
    src: url("../fonts/AV_Fontimer/AVFontimer-Medium.ttf");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "AV Fontimer";
    src: url("../fonts/AV_Fontimer/AVFontimer-Bold.ttf");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body, html {
	overflow-x: hidden;
}

body {
	font-family: "AV Fontimer";
	font-size: 18px;
	--main-color: rgb(64, 103, 255);
	--main-bg-color: white;
}

@media screen and (max-width: 990px) {
	body:has(.mask.visible) {
		overflow-y: hidden !important;
		max-height: 100vh !important;
	}
}

a {
	color: black;
	text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
}

section .container {
	width: 960px;
	margin: 0 auto;
}


header .container {
	margin-left: auto;
	margin-right: auto;
	max-width: 960px;
	width: 960px;
}



/* ------------------------ Header style ------------------------ */

.footer .container-header .header__inner .header__title {
	color: black;
	margin-left: 18px;
}

header.header {
    height: 74px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100vw;
    display: flex;
    align-items: center;
    background: transparent;
}

header .header__end {
	margin-left: 40px;
	color: black;
}

.header__account button.auth {
	color: black;
}

.container-header {
	width: 100%;
	margin: 0 auto;
	max-width: 74vw;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: auto;
}

.header__end {
    display: flex;
    align-items: center;
}

h2.header__title {
    font-size: 20px;
	font-family: "AV Fontimer";
	font-weight: 600;
	color: var(--main-bg-color);
}

nav.header__nav {
    display: flex;
    gap: 16px;
    font-size: 16px;
}

a.header__link.active {
    font-family: "AV Fontimer";
	font-weight: 600;
    color: var(--main-color);
}

a.header__link {
    font-family: "AV Fontimer";
	font-weight: 500;
	color: var(--main-bg-color);
}

a.header__link:hover {
    color: #c2c2c2;
}

.header__socials {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-right: 21px;
}

.header__socials-block:hover {
	opacity: 0.7;
	color: #424348;
}

.header__socials-block:active {
	transform: scale(0.95);
}

.header__socials img {
    max-width: 32px;
}

.header__account button.auth {
	color: #000;
	background-color: var(--main-bg-color);
	border-radius: 10px;
    padding: 5px 10px;
    padding-top: 8px;
}

.header__socials a {
    display: flex;
}

header .header__account a img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	overflow: hidden;
}

button#btn-white {
	color: var(--main-bg-color);
}

button#btn-black {
	transition: 0.1s;
}

button#btn-black:hover {
	background-color: #dfdfdf;
}

button#btn-black:active {
	background-color: #dfdfdf;
	transform: scale(0.95);
}

/* ------------------------ Popup --------------------------------- */

.mask {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.4);
    width: 100vw;
    height: 100vh;
}

.select {
    position: relative;
    display: block;
    width: 100%;
}

.select__head {
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
    background: rgb(64, 103, 255);
    cursor: pointer;
    text-align: center;
    padding: 10px 0;
	font-weight: 600;
    font-size: 18px;
    color: white;
    font-family: "AV Fontimer";
}

.select__head::after {
    width: 20px;
    height: 12px;
    background: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4.50495 5.78413L0.205241 1.25827C-0.0684138 0.970375 -0.0684138 0.503596 0.205241 0.215836C0.478652 -0.0719461 0.922098 -0.071946 1.19549 0.215837L5.00007 4.22052L8.80452 0.215953C9.07805 -0.0718292 9.52145 -0.0718292 9.79486 0.215953C10.0684 0.503736 10.0684 0.970492 9.79486 1.25839L5.49508 5.78425C5.35831 5.92814 5.17925 6 5.00009 6C4.82085 6 4.64165 5.928 4.50495 5.78413Z' fill='white'/%3E%3C/svg%3E%0A") no-repeat center / cover;
    position: absolute;
    right: 20px;
    bottom: 50%;
    transform: translateY(50%);
    content: '';
    display: block;
    transition: .3s ease-in;
}

.select__head.open::after {
    transform: translateY(50%) rotate(180deg);
}

.select__list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border-radius: 10px;
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.5);
    background: rgb(255, 255, 255);
    margin-top: 5px;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 100;
    margin: 0;
    padding: 0;
    font-size: 14px;
    color: #424348;
    scrollbar-color: dark;
    scrollbar-width: thin;
    overscroll-behavior: contain;
}

.select__list::-webkit-scrollbar {
    width: 7px;
    background-color: #F8F9FA;
    padding: 5px;
}

.select__list::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #D9D9D9;
}

.select__list .select__item {
    position: relative;
    border-top: 1px solid rgba(224, 229, 231, 0.5);
    padding: 10px 0;
    cursor: pointer;
    list-style-type: none;
    text-align: center;
    font-size: 18px;
	font-weight: 600;
    font-family: "AV Fontimer";
    transition: .3s;
}

.select__list .select__item:hover {
    background-color: rgba(224, 229, 231, 0.5);
}

.mask {
    opacity: 0;
    z-index: -2;
    transition: .3s;
}

.mask.open {
    opacity: 1;
    z-index: 12;
}

.popup {
    width: 585px;
    height: auto;
    padding: 22px 62px;
    background: white;
    border-radius: 10px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    z-index: -10;
    opacity: 0;
    transition: .3s;
}

.popup.open {
    opacity: 1;
    z-index: 20;
}

h3.popup__title {
    font-size: 20px;
    font-family: "AV Fontimer";
	font-weight: 600;
    text-align: center;
    margin-bottom: 13px;
}

input[type="text" i] {
    padding-block: 1px;
    padding-inline: 2px;
}

input:not([type="image" i], [type="range" i], [type="checkbox" i], [type="radio" i]) {
    overflow-clip-margin: 0px !important;
    overflow: clip !important;
}

.popup-input {
    display: flex;
    flex-direction: column;
}

.popup-input label {
    font-size: 18px;
    font-family: "AV Fontimer";
	font-weight: 600;
    margin-top: 20px;
}

.popup-input label span {
    color: rgb(182, 182, 182);
}

.popup-input input {
    border-radius: 30px;
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.25);
    background: rgb(255, 255, 255);

    border: 2px solid white;
    padding: 0 18px;
    font-family: "AV Fontimer";
	font-weight: 400;
    font-size: 18px;
    transition: .3s;
    height: 45px;
}

.popup-input input:hover {
    border-color: black;
}

.popup-input input:focus {
    border-color: black;
}

button {
    background: none;
    border: 0;
    outline: 0;
    font-family: "AV Fontimer";
	font-weight: 500;
    font-size: 18px;
    transition: .3s;
    letter-spacing: 0;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -o-transition: .3s;
    cursor: pointer;
}

button.blue {
    border-radius: 5px;
    background: var(--main-color);
    color: white;
}

button.blue:hover {
    background: var(--main-color);
}

button.blue.submit-form {
    width: 400px;
    padding: 12px 0;
    border-radius: 30px;
    font-family: "AV Fontimer";
	font-weight: 600;
    margin-top: 26px;
    margin-bottom: 12px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

p.form-link {
    text-align: center;
    font-family: "AV Fontimer";
	font-weight: 500;
    font-size: 16px;
}

p.form-link button {
    text-decoration: underline;
}

p.form-error {
    color: red;
    text-align: center;
    font-size: 18px;
    margin-top: 20px;
    display: none;
}

.popup-input.reg-file span {
    padding: 5px 10px;
    border-radius: 10px;
	width: 100%;
	opacity: 1;
	background: black;
	color: white;
	text-align: center;
	display: block;
	cursor: pointer;
}

.popup-input.reg-file input[type=file] {
	position: absolute;
	z-index: -1;
	opacity: 0;
	display: block;
	width: 0;
	height: 0;
}

.email-verify label {
	font-family: "AV Fontimer";
	font-weight: 500;
	text-align: center;
	font-size: 18px;
}

.email-verify {
	display: flex;
	flex-direction: column;
	margin: 20px 0;
}

.ev__fields {
	margin-left: auto;
	margin-right: auto;
	display: flex;
	gap: 10px;
	margin-top: 10px;
}

.ev__fields input {
	width: 30px;
	height: 40px;
	appearance: none;
	-webkit-appearance: none;
	border: 1px solid black;
	border-radius: 6px;
	padding: 5px;
	text-align: center;
	font-size: 18px;
	font-family: "AV Fontimer";
	font-weight: 600;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.email-verify {
	display: none;
}

#reg-form[data-verify="1"] .popup-input {
	display: none;
}

#reg-form[data-verify="1"] .select {
	display: none;
}

#reg-form[data-verify="1"] .email-verify {
	display: flex;
}

.popup.auth {
	max-height: 90vh;
	overflow-y: scroll;
}

.popup.auth::-webkit-scrollbar {
	appearance: none;
	width: 5px;
	background: transparent;
}

.popup.auth::-webkit-scrollbar-thumb {
	background: #000;
	border-radius: 10px;
}

#spec_list_popup label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 10px 0;
	width: 50%;
}

#spec_list_popup .spec__row {
	display: flex;
	flex-wrap: wrap;
}

#spec_list_popup h2 {
	text-align: center;
}

#spec_list_popup button.blue {
	padding: 5px 20px;
	background: limegreen;
	margin-left: auto;
	margin-right: auto;
	display: block;
}

/* ------------------------ Intro's styles ------------------------ */

.intro {
	background: url("../img/intro_bg.png");
	background-size: cover;
	background-position: -200px;
	padding-top: 91px;
	padding-bottom: 25px;
	background-color: var(--main-color);
}

@media (max-width: 950px) {
	.intro {
		padding-top: 61px;
	}
}

.intro__big-img {
	position: absolute;
	height: 700px;
	top: 67px;
	right: 25%;
}

.intro__title {
	color: var(--main-bg-color);
	line-height: 45px;
	font-size: 48px;
	font-family: "AV Fontimer";
	font-weight: 600;
	text-transform: uppercase;
}

.intro__title + p {
	font-size: 24px;
	color: var(--main-bg-color);
	text-transform: uppercase;
}

.intro__info {
	position: relative;
	margin-top: 29px;
	padding: 25px 24px;
	width: 441px;
	display: flex;
	flex-wrap: wrap;
}

.intro__info::before {
	position: absolute;
	content: "";
	top: 0;
	left: 0;
	display: block;
	width: 53px;
	height: 53px;
	border-top: 2px solid var(--main-bg-color);
	border-left: 2px solid var(--main-bg-color);
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
	border-bottom-left-radius: 2px;
}

.intro__info::after {
	position: absolute;
	content: "";
	bottom: 0;
	right: 0;
	display: block;
	width: 53px;
	height: 53px;
	border-bottom: 2px solid var(--main-bg-color);
	border-right: 2px solid var(--main-bg-color);
	border-top-right-radius: 2px;
	border-bottom-right-radius: 2px;
	border-bottom-left-radius: 2px;
}

.info-block {
	display: flex;
	align-items: center;
	width: 410px;
	color: var(--main-bg-color);
	font-family: "AV Fontimer";
	font-size: 20px;
	font-weight: 500;
	border-radius: 10px;
	padding: 7px 0 8px 13px;
	margin-bottom: 13px;
}

.img-cont {
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: var(--main-bg-color);
	width: 40px;
	height: 40px;
	margin-right: 11px;
	border-radius: 10px;
}

.info-img {
	width: 30px;
	height: 30px;
}

.intro__buttons {
	width: 460px;
	display: flex;
	flex-direction: column;
	margin-top: 48px;
}

.intro__button {
	background-color: var(--main-bg-color);
	color: black;
	font-family: "AV Fontimer";
	font-size: 20px;
	font-weight: 500;
	line-height: -1px;
	padding: 13px 153px;
	border: 0;
	border-radius: 30px;
	box-shadow:  0 0 15px rgba(0, 0, 0, 0.5);
	cursor: pointer;
	transition: 0.1s;
}

.intro__button:active {
	transform: scale(0.95);
}

.auth-btn:active {
	color: #424348;
	transform: scale(0.95);
}

.checkbox-block {
	display: flex;
	margin-top: 9px;
}

.intro__checkbox {
	position: absolute;
	z-index: -1;
	opacity: 0;
}

.intro__checkbox+label::before {
	padding: 5px;
	content: "";
	display: inline-block;
	width: 25px;
	height: 25px;
	border: 2px solid rgb(237, 237, 237);
	background-color: rgb(237, 237, 237);
	border-radius: 5px;
	margin-right: 9px;
	margin-top: 4px;
}

.intro__checkbox+label {
	display: inline-flex;
	font-family: "AV Fontimer";
	font-size: 14px;
	font-weight: 400;
	color: rgb(237, 237, 237);
	user-select: none;
	cursor: pointer;
}

.intro__checkbox:checked+label::before {
	background-image: url("../img/checked.png");
	background-size: 80% 80%;
	background-position: center;
	background-repeat: no-repeat;
	background-color: var(--main-color);
}

/* ------------------------ pluses styles ------------------------ */

.pluses {
	margin-top: 64px;
}

.pluses__description {
	position: relative;
	padding: 34px 41px;
}

.pluses__description::before {
	content: "";
	position: absolute;
	border: 4px solid var(--main-color);
	top: 0;
	left: 0;
	border-bottom: 0;
	border-right: 0;
	border-radius: 3px;
	width: 219px;
	height: 219px;
}

.pluses__description::after {
	content: "";
	position: absolute;
	border: 4px solid var(--main-color);
	right: 0;
	bottom: 0;
	border-top: 0;
	border-left: 0;
	border-radius: 3px;
	width: 219px;
	height: 219px;
}

.pluses__title {
	font-family: "AV Fontimer";
	font-size: 24px;
	font-weight: 600;
}

.pluses__title span {
	color: var(--main-color);
}

.pluses__list {
	margin-top: 13px;
	margin-left: 25px;
}

.pluses__list li {
	margin-top: 14px;
	font-family: "AV Fontimer";
	font-size: 18px;
	font-weight: 400;
	text-align: justify;
}

/* ------------------------ how it works styles ------------------------ */

.how {
	margin-top: 110px;
}

.how__title {
	font-family: "AV Fontimer";
	font-size: 24px;
	font-weight: 600;
	text-align: center;
	margin-bottom: 161px;
}

.how__line {
	position: relative;
	width: 100%;
	height: 6px;
	border-radius: 5px;
	background-color: var(--main-color)
}

.line-point {
	position: absolute;
	top: -12px;
	width: 30px;
	height: 30px;
	background-color: var(--main-color);
	border-radius: 50%;
}

.over::before {
	top: calc(-1em - 12px);
	left: -3px;
	position: absolute;
	content: "";
	display: block;
	font-family: "AV Fontimer";
	font-size: 64px;
	font-weight: 600;
	opacity: 0.44;
}

.over::after {
	top: calc(-3em - 23px);
	left: 50px;
	min-width: 200px;
	position: absolute;
	content: "";
	display: block;
	font-family: "AV Fontimer";
	font-size: 14px;
	font-weight: 500;
}

.under::before {
	top: 0.5em;
	left: -3px;
	position: absolute;
	content: "";
	display: block;
	font-family: "AV Fontimer";
	font-size: 64px;
	font-weight: 600;
	opacity: 0.44;
}

.under::after {
	top: calc(3.6em - 19px);
	left: 50px;
	min-width: 200px;
	position: absolute;
	content: "";
	display: block;
	font-family: "AV Fontimer";
	font-size: 14px;
	font-weight: 500;
}

.line-point-one {
	left: 2.864%;
}

.line-point-one::before {
	content: "1";
	top: -130px;
}

.line-point-one::after {
	content: "Заказчик размещает заявку на платформе, описывает ситуацию и прикладывает необходимые документы";
	top: calc(-8em - 23px);
}

.line-point-two {
	left: 17.760%;
}

.line-point-two::before {
	content: "2";
}

.line-point-two::after {
	content: "Заявка направляется юристам, которые проводят юридическую экспертизу и предлагают свои условия по решению ситуации";
	width: 200px;
	top: calc(3.6em - 19px);
}

.line-point-three {
	left: 33.125%;
}

.line-point-three::before {
	content: "3";
	top: -130px;
}

.line-point-three::after {
	content: "Заказчику поступают предложения от исполнителей (юристов), он выбирает наилучшее предложение исходя из стоимости, срока исполнения и рейтинга юриста";
	top: calc(-8em - 23px);
	width: 200px;
}

.line-point-four {
	left: 47.916%;
}

.line-point-four::before {
	content: "4";
}

.line-point-four::after {
	content: "Между заказчиком и юристом заключается сделка, денежные средства резервируются на платформе";
	top: calc(3.6em - 19px);
	width: 240px;
}

.line-point-five {
	left: 62.447%;
}

.line-point-five::before {
	content: "5";
	top: -130px;
}

.line-point-five::after {
	content: "Исполнитель приступает к работе, которую должен завершить в указанный срок";
	top: calc(-8em - 23px);
	width: 200px;
}

.line-point-six {
	left: 79.166%;
}

.line-point-six::before {
	content: "6";
}

.line-point-six::after {
	content: "После выполнения заказа, заказчик принимает работу, и денежные средства перечисляются исполнителю";
	top: calc(3.6em - 19px);
	min-width: 160px;
	width: 160px;
}

.how-adaptive {
	display: none;
	margin-top: 30px;
}

.how__inner {
	margin-top: 18px;
}

.how__inner-content {
	display: flex;
	align-items: center;
	margin-top: 25px;
}

.how__title-adaptive {
	margin-bottom: 0;
}

.how-number {
	color: var(--main-color);
	font-family: "AV Fontimer";
	font-size: 48px;
	font-weight: 600;
	opacity: 0.77;
	margin-right: 12px;
}

.how__text {
	font-family: "AV Fontimer";
	text-align: justify;
	font-weight: 500;
	font-size: 14px;
	opacity: 0.8;
}

/* ------------------------ help's styles ------------------------ */

.help {
	margin-top: 174px;
}

.help__title {
	font-family: "AV Fontimer";
	text-align: center;
	font-size: 24px;
	font-weight: 600;
}

.help__offers {
	display: flex;
	flex-wrap: wrap;
}

.help__offers-offer {
	display: none;
	flex-direction: column;
	padding: 0 5px;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
	width: 280px;
	min-height: 206px;
	border-radius: 10px;
	margin-left: 50px;
	margin-top: 41px;
}

.offer-show {
	display: flex;
}

.help__offers-offer:nth-child(3n + 1) {
	margin-left: 0;
}

.help__offers-offer img {
	width: 100%;
	height: 100%;
	height: 253px;
}

.offer-content {
	display: flex;
	align-items: center;
	height: 100%;
}

.offer-text {
	font-family: "AV Fontimer";
	font-weight: 600;
	font-size: 24px;
	line-height: 27px;
	text-align: center;
}

.help__offers-button {
	display: block;
	padding: 10px 40px;
	margin: auto 20px 20px;
	border-radius: 30px;
	text-align: center;
	background-color: var(--main-color);
	color: var(--main-bg-color);
	cursor: pointer;
	transition: 0.1s;
}

.help__offers-button:active {
	background-color: rgb(74, 111, 255);
	transform: scale(0.95);
}

.help__link {
	display: block;
	text-decoration: underline;
	margin: 27px auto 0;
	width: auto;
	font-family: "AV Fontimer";
	font-weight: 400;
	font-size: 16px;
	cursor: pointer;
	border: 0;
	color: rgb(0, 0, 0);
	background-color: transparent;
}

.lists__new {
	position: relative;
	padding-bottom: 40px;
}

button#law-other {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: 0;
}

/* ------------------------ questions's styles ------------------------ */

.questions {
	margin-top: 66px;
	padding: 26px 0 19px;
	color: var(--main-bg-color);
	background-color: var(--main-color);
}

.questions__title {
	font-family: "AV Fontimer";
	text-align: center;
	font-size: 24px;
	font-weight: 500;
	line-height: 27px;
}

.questions__form {
	position: relative;
	width: 500px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: 23px auto 0;
}

.questions__form::before {
	content: "";
	width: 123px;
	height: 187px;
	left: -210px;
	top: -40px;
	position: absolute;
	display: block;
	background: url("../img/questions.png");
}

.questions__form::after {
	content: "";
	width: 123px;
	height: 187px;
	right: -190px;
	top: -40px;
	position: absolute;
	display: block;
	background: url("../img/questions.png");
}

.questions__form-input {
	font-family: "AV Fontimer";
	font-size: 18px;
	line-height: 27px;
	padding: 8px 0 5px 19px !important;
	border: 0;
	border-radius: 10px;
	background-color: rgb(246, 246, 246);
}

.questions__form-input:nth-child(2) {
	margin-top: 12px;
}

.questions__form-input::placeholder {
	font-size: 18px;
	font-weight: 400;
	color: black;
}

.questions__form-input:focus::placeholder {
	opacity: 0;
}

.questions__form-submit {
	display: block;
	margin-top: 23px;
	border: 0;
	border-radius: 30px;
	padding: 8px 75px;
	font-family: "AV Fontimer";
	line-height: 27px;
	font-size: 18px;
	font-weight: 500;
	background-color: var(--main-bg-color);
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
	align-self: center;
	cursor: pointer;
	transition: 0.1s;
}

.questions__form-submit:active {
	transform: scale(0.95);
}

.questions__form-error {
	display: none;
	margin-top: 20px;
	padding: 5px 0;
	border-radius: 10px;
	color: red;
	background-color: var(--main-bg-color);
	text-align: center;
}

/* ------------------------ lists's styles ------------------------ */

.lists {
	margin-top: 74px;
}

.lists__title-new {
	text-align: center;
	font-family: "AV Fontimer";
	font-size: 24px;
	line-height: 27px;
	font-weight: 600;
}

.lists__title-old {
	text-align: center;
	font-family: "AV Fontimer";
	font-size: 24px;
	line-height: 27px;
	font-weight: 600;
	margin-top: 38px;
}

.lists__new {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	min-width: 0;
}

.lists__old {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.lawsuit {
	padding: 13px 12px 13px 17px;
	width: 220px;
	min-height: 297px;
	margin-top: 26px;
	display: flex;
	flex-direction: column;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
	border-radius: 10px;
	min-width: 220px;
	max-width: 220px;
	
	margin-left: auto;
	margin-right: auto;
	opacity: 1;
	transition: 0.3s;
}


.lawsuit:first-child {
	margin-left: 0;
}

.lawsuit-title {
	display: block;
	font-family: "AV Fontimer";
	padding: 3px 6px;
	margin: 0 8px 0;
	font-weight: 500;
	font-size: 18px;
	line-height: 27px;
	border-bottom: 4px solid var(--main-color);
	border-radius: 4px;
	text-align: center;
	white-space: none;
	max-width: 175px;
	overflow-x: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	width: 175px;
}

.lawsuit-description {
	margin-top: 11px;
	font-family: "AV Fontimer";
	font-weight: 400;
	font-size: 16px;
	line-height: 18px;
	color: rgb(56, 56, 56);
	max-height: 162px;
	overflow-y: scroll;
	height: 162px;
}

.lawsuit-description span {
	font-weight: 600;
	color: black;
}

.lawsuit-status {
	margin-top: 4px;
	font-family: "AV Fontimer";
	font-weight: 400;
	font-size: 14px;
}

.lawsuit-status span {
	font-size: 16px;
	font-weight: 600;
}

.lawsuit-status .green {
	color: rgb(44, 223, 15);
	font-weight: 500;
}

.lawyer {
	display: block;
	margin-top: 10px;
	font-family: "AV Fontimer";
	font-size: 16px;
	font-weight: 600;
	margin-top: auto;
}

.lawyer span {
	font-size: 14px;
	text-decoration: underline;
	font-weight: 500;
}

a.other-link {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	display: block;
}


/* ------------------------ search's style ------------------------ */

.search {
	margin-top: 107px;
}

.search__title {
	font-family: "AV Fontimer";
	font-weight: 600;
	font-size: 24px;
	line-height: 27px;
}

.search__form {
	width: 100%;
	margin-top: 8px;
	display: flex;
}

.search__form-input {
	width: 50%;
}

.search__form-input:nth-child(2) {
	margin-left: 20px;
}

.search__form-input div {
	font-family: "AV Fontimer";
	font-weight: 500;
	font-size: 18px;
	line-height: 27px;
}

.search__form-input input {
	width: 100%;
	padding: 9px 0 9px 13px;
	margin-top: 2px;
	font-family: "AV Fontimer";
	font-weight: 400;
	font-size: 18px;
	line-height: 27px;
	border: 0;
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
	border: 1px solid black;
}

.search__form-input input::placeholder {
	color: black;
}

.search__persons {
	margin-top: 9px;
	display: grid;
    grid-auto-flow: row;
    width: 100%;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    row-gap: 20px;
    column-gap: 50px;
}

.search__persons-person {
	display: none;
	width: 220px;
	min-height: 245px;
	padding: 14px 20px 12px 11px;
	background-color: var(--main-color);
	border-radius: 10px;
	margin-top: 20px;
	max-height: 245px;
	overflow-y: scroll;
}

.search__persons-person::-webkit-scrollbar {
	display: none;
}

.person-show {
	display: block;
}

.search__inner {
	display: flex;
	align-items: center;
}

.search__person-logo {
	border-radius: 50%;
	min-width: 45px;
	width: 45px;
	height: 45px;
	background-size: 100% 100%;
	margin-right: 8px;
	overflow: hidden;
}

.search__person-logo img {
	width: 100%;
	max-width: inherit;
	object-fit: cover;
	height: 100%;
}

.search__person-name {
	font-family: "AV Fontimer";
	font-size: 16px;
	font-weight: 500;
	color: var(--main-bg-color);
}

.person-speciality {
	font-family: "AV Fontimer";
	font-weight: 500;
	font-size: 16px;
	color: var(--main-bg-color);
	margin-top: 4px;
}

.person-rating {
	font-family: "AV Fontimer";
	font-weight: 400;
	font-size: 16px;
	color: var(--main-bg-color);
	margin-top: 10px;
}

.person-rating span {
	font-weight: 600;
}

.person-cases {
	font-family: "AV Fontimer";
	font-weight: 400;
	font-size: 16px;
	color: var(--main-bg-color);
}

.person-cases span {
	font-weight: 600;
}

.person-description {
	font-family: "AV Fontimer";
	font-size: 14px;
	font-weight: 400;
	color: var(--main-bg-color);
	margin-top: 15px;
}

.search__link {
	display: block;
	text-decoration: underline;
	margin: 20px auto 0;
	font-family: "AV Fontimer";
	font-weight: 400;
	font-size: 16px;
	background-color: transparent;
	color: black;
	border: 0;
	cursor: pointer;
}

.search__form-input {
	position: relative;
}

ol.spec__list {
	position: absolute;
	top: 100%;
	background: white;
	width: 100%;
	box-shadow: 0 0 5px black;
	padding: 0;
	list-style: none;
	border-radius: 10px;
	padding-bottom: 0;
	margin: 0;
	overflow: hidden;
	z-index: -1;
	opacity: 0;
	transition: 0.3s;
	transform: translateY(-4px);
}

ol.spec__list.opened {
	transform: translateY(0);
	opacity: 1;
	z-index: 1;
}

ol.spec__list li {
	padding: 8px 10px;
	transition: 0.3s;
	cursor: pointer;
}

ol.spec__list li:hover {
	background: rgb(197, 197, 197);
}

/* ------------------------ why we styles ------------------------ */

.why {
	margin-top: 108px;
}

.why__inner {
	display: flex;
	margin-bottom: 37px;
}

.why__lawyer {
	margin-left: 50px;
}

.why__title {
	font-family: "AV Fontimer";
	font-weight: 600;
	font-size: 22px;
	line-height: 27px;
}

.why__description {
	font-family: "AV Fontimer";
	font-weight: 400;
	font-size: 20px;
	line-height: 27px;
	margin-top: 5px;
}

.why__button {
	display: block;
	width: 460px;
	color: var(--main-bg-color);
	background-color: var(--main-color);
	padding: 9px 131px 8px 131px;
	font-family: "AV Fontimer";
	font-size: 20px;
	font-weight: 500;
	line-height: 27px;
	border-radius: 30px;
	margin: 0 auto;
	transition: 0.1s;
}

.why__button:active {
	background-color: rgb(74, 111, 255);
	transform: scale(0.95);
}

/* ------------------------ answers's styles ------------------------ */

.answers {
	margin-top: 93px;
}

.answers__title {
	font-family: "AV Fontimer";
	font-weight: 600;
	font-size: 24px;
	line-height: 27px;
	padding-bottom: 11px;
}

.answers__question {
	position: relative;
	margin-top: 18px;
	background-color: var(--main-color);
	border-radius: 10px;
}

.horizontal-line {
	content: "";
	display: block;
	position: absolute;
	width: 23px;
	height: 4px;
	top: 20px;
	right: 21px;
	border-radius: 3px;
	background-color: var(--main-bg-color);
	cursor: pointer;
}

.vertical-line {
	content: "";
	display: block;
	position: absolute;
	width: 4px;
	height: 23px;
	top: 11px;
	right: 30px;
	border-radius: 3px;
	background-color: var(--main-bg-color);
	cursor: pointer;
}

.answers__question-name {
	color: var(--main-bg-color);
	padding: 11px 0 11px 16px;
	font-weight: 500;
	font-size: 20px;
	font-family: "AV Fontimer";
	cursor: pointer;
	user-select: none;
	text-decoration: underline;
}

.answers__question:not(.opened) .answers__question-answer  {
	height: 0;
}

.answers__question-answer {
	position: relative;
	margin-left: 13px;
	opacity: 0;
	margin-top: 0;
	height: 0;
	font-family: "AV Fontimer";
	font-weight: 400;
	font-size: 18px;
	line-height: 25px;
	color: var(--main-bg-color);
	overflow: hidden;
	transition: .3s;
}

.opened .vertical-line {
	display: none;
}

.opened .answers__question-answer {
	opacity: 1;
	padding-bottom: 12px;
}

/* ------------------------ footer's styles ------------------------ */

footer.footer {
	background: rgb(64, 103, 255);
	height: auto;
	padding: 26px 0;
	color: white;
	width: 100vw;
}

footer .container {
	max-width: 960px;
	display: block;
	margin: 0 auto;
}

.footer__inner-head {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
}

h2.footer-title {
	text-transform: uppercase;
	font-size: 20px;
	font-family: "AV Fontimer";
	font-weight: 600;
	font-weight: normal;
}

p.footer-subtitle {
	text-transform: uppercase;
	font-size: 16px;
	max-width: 205px;
	font-weight: 500;
}

.footer-head-col {
	display: flex;
	flex-direction: column;
}

.footer-head-col.ol {
	flex-direction: row;
	width: 55%;
	justify-content: space-between;
}

.footer-head-col.ol ol {
	list-style: disc;
	padding: 0;
	margin: 0;
}

.footer-head-col.ol ol li a {
	color: white;
	font-size: 18px;
	font-family: "AV Fontimer";
	font-weight: 500;
	transition: 0.3s;
	margin: 4px 0;
	display: block;
}

.footer-head-col.ol ol li a:hover {
	color: rgb(217, 217, 217);
}

.footer-contact {
	font-family: "AV Fontimer";
	color: white;
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 8px;
}

.footer-head-col:last-child {
	align-items: end;
	gap: 8px;
}

.footer-head-col:last-child button.blue {
	border-radius: 10px;

background: rgb(69, 69, 69);
padding: 8px 36px;
outline: none;
border: none;

}

footer hr {
	border: 1px solid rgb(255, 255, 255);
	opacity: 0.4;
	height: 0;
	margin-top: 22px;
	margin-bottom: 13px;
}

.footer__head-with-img {
	display: flex;
	width: 100%;
}

.footer-body-col {
	position: relative;
	display: flex;
	flex-direction: column;
}

.footer-body-col h4 {
	font-size: 16px;
	font-weight: 500;
}

.footer-body-col p {
	font-size: 14px;
	font-weight: 400;
}

.footer__big-img {
	display: none;
	width: auto;
	height: 62px;
	margin-left: auto;
}

.footer-body {
	display: flex;
	justify-content: space-between;
}

.footer-body-col.socials {
	align-items: center;
	gap: 16px;
	flex-direction: row;
}

footer a.policy {
	opacity: 0.6;
	font-size: 14px;
	text-decoration: underline;
	color: white;
	transition: 0.3s;
}

footer a.policy:hover {
	opacity: 1;
}

p.footer-portal-info {
	margin-top: 24px;
	font-size: 12px;
	font-family: "AV Fontimer";
	font-weight: 400;
}



/*  ------------------------ Media styles ------------------------  */

@media screen and (max-width: 1800px) {
	.container {
		width: 100%;
		max-width: 60%;
	}

	footer .container {
		max-width: 90vw;
		margin: 0 auto;
		width: 100%;
	}

	header .container {
		width: 100%;
		max-width: 60%;
	}
}

@media screen and (max-width: 1400px) {
	header .header__link {
		font-size: 12px;
	}

	header nav {
		display: flex;
		gap: 4px;
	}

	.header__account button.auth {
		font-size: 14px;
		padding: 5px 16px;
		border-radius: 6px;
	}

	.header__socials img {
		width: 24px;
		height: 24px;
	}

	header .header__end {
		margin-left: 10px;
	}

	.header__socials {
		gap: 6px;
		margin-right: 10px;
	}
}

@media screen and (max-width: 760px) {
	.container {
		max-width: 93.75%;
	}
}

/* popup */

@media screen and (max-width: 610px) {
    .popup {
        width: 300px;
        padding: 10px;
    }

	#spec_list_popup label {
		font-size: 12px;
	}

	#spec_list_popup h2 {
		font-size: 16px;
	}

	#spec_list_popup label {
		gap: 2px;
		margin: 5px 0;
	}

    .popup-input label {
        margin-top: 10px;
        font-size: 14px;
    }

    .popup-input input {
        font-size: 16px;
        height: 30px;
        padding: 0 10px;
    }

    button.blue.submit-form {
        width: 100%;
        padding: 5px 0;
        margin-top: 15px;
        font-size: 14px;
    }

    p.form-link {
        font-size: 14px;
    }

    p.form-link button {
        font-size: 14px;
    }
    
    h3.popup__title {
        font-size: 18px;
        margin-bottom: 0px;
    }

    .select__head {
        margin-top: 6px;
        height: 30px;
        padding-top: 6px;
        font-size: 16px;
    }

    .select__head::after {
        width: 13px;
        height: 8px;
    }

    .select__list {
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    }

    .select__list .select__item {
        height: 30px;
        padding-top: 5px;
        font-size: 16px;
    }

	p.pass-pos {
		font-size: 10px;
	}
}

/* header */

nav .header__socials, nav .header__account {
    display: none;
}

.burger {
    display: none;
}

.header__account:has(span) {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header__account:has(a) {
    display: flex;
    align-items: center;
    gap: 8px;
	flex-direction: row;
}

nav .header__account:has(a) {
	display: none;
}

.header__account:has(a) a.exit {
	display: flex;
	align-items: center;
	gap: 5px;
	color: white;
}

a.profile__img {
	display: flex;
	align-items: center;
	justify-content: center;
}

.header__link {
	font-size: 14px;
}




span.unread_chat {
    width: 30px;
    height: 30px;
    background: black;
    border-radius: 50%;
    border-bottom-left-radius: 2px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    cursor: pointer;
}

@media screen and (max-width: 1260px) {
	header .container {
		max-width: 95%;
	}
    /* .header__socials , .header__account {
        display: none;
    } */

    nav.header__nav {
        position: fixed;
        top: 0;
        left: 0;
        height: calc(100vh + 10px);
        background: var(--main-color);
        padding: 15px 20px;
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 30vw;
        transition: .3s;
        transform: translateX(-100%);
		padding-top: 60px;
    }

    nav.header__nav.open {
        transform: translateX(0);
    }

    nav .header__socials, nav .header__account {
        display: flex;
    }

    nav .header__account button.auth {
        font-size: 16px;
        font-family: "AV Fontimer";
		font-weight: 600;
        background: none;
        font-weight: normal;
        padding: 0;
        display: block;
        margin-left: auto;
        margin-bottom: 15px;
        margin-top: 5px;
    }

    nav.header__nav .header__link {
        font-size: 16px;
        font-family: "AV Fontimer";
		font-weight: 600;
    }

    nav .header__socials {
        position: absolute;
        bottom: 30px;
    }

    #nav-icon6 {
        width: 30px;
        height: 40px;
        position: relative;
        transition-duration: 1s;
        cursor: pointer;
        z-index: 50;
        margin-left: 7px;
    }
    #nav-icon6 span {
        height: 4px;
        width: 100%;
        top: 50%;
        transform: translateY(-50%);
        background: white;
        border-radius: 20px;
        position: absolute;
        transition-duration: .25s;
        transition-delay: .25s;    
    }
    #nav-icon6 span:before {
        left: 0;
        position: absolute;
        top: -9px;
        height: 4px;
        width: 100%;
        background: white;
        content: "";
        border-radius: 20px;
        transition-duration: .25s;
        transition: transform .25s, top .25s .25s, background .3s;
    }
    #nav-icon6 span:after {
        left: 0;
        position: absolute;
        top: 9px;
        height: 4px;
        width: 100%;
        background: white;
        content: "";
        border-radius: 20px;
        transition-duration: .25s;
        transition: transform .25s, top .25s .25s, background .3s;
    }
    #nav-icon6.open span {
        transition-duration: 0.1s;
        transition-delay: .25s;
        background: transparent;
    }
    #nav-icon6.open span:before {
        transition: top .25s, transform .25s .25s, background .3s;
        top: 0px;
        transform: rotateZ(-45deg);
        background: white;
    }
    #nav-icon6.open span:after {
        transition: top 0.4s, transform .25s .25s, background .3s;
        top: 0px;
        transform: rotateZ(45deg);
        background: white;
    }

    .burger {
        display: block;
    }

    header.header {
        height: 55px;
    }

	.header__account {
		margin-left: auto;
		justify-content: end;
	}

	.header__account img {
		width: 40px;
		height: 40px;
	}
}

@media screen and (max-width: 680px) {
    nav.header__nav {
        width: 50vw;
    }
}

@media screen and (max-width: 390px) {
    nav.header__nav {
        width: 60vw;
    }
}

/* intro */

@media screen and (max-width: 1750px) {
	.intro__big-img {
		right: 18%;
	}
}

@media screen and (max-width: 1570px) {
	.info-block {
		width: 100%;
	}

	.info-block:nth-child(2n) {
		margin-left: 0;
	}
}

@media screen and (max-width: 1500px) {
	.intro__big-img {
		display: none;
	}
}

@media screen and (max-width: 1300px) {
	.intro__title {
		font-size: 40px;
		line-height: 40px;
	}

	.intro__title + p {
		font-size: 20px;
	}
}

@media screen and (max-width: 1000px) {
	.intro {
		background-position: center;
	}

	.intro__title {
		font-size: 32px;
		line-height: 32px;
	}

	.intro__title + p {
		font-size: 16px;
	}

	.info-block {
		font-size: 16px;
		padding: 5px 0 5px 10px;
	}

	.img-cont {
		min-width: 40px;
		min-height: 40px;
	}

	.info-img {
		width: 25px;
		height: 25px;
	}

	.intro__buttons {
		margin-top: 32px;
	}
}

@media screen and (max-width: 900px) {
	.intro__info {
		width: 300px;
	}

	.intro__buttons {
		width: 300px;
	}

	.info-block {
		font-size: 14px;
	}

	.intro__button {
		padding: 8px 0;
		font-size: 18px;
	}

	.intro__checkbox+label::before {
		width: 30px;
	}
}

@media screen and (max-width: 700px) {
	.intro .container {
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	
	.intro__buttons {
		width: 100%;
	}

	.intro__info {
		width: 100%;
	}

	.intro__title {
		align-self: start;
	}

	.intro__title + p {
		align-self: start;
	}

	.checkbox-block {
		display: flex;
	}

	.intro__checkbox+label::before {
		width: 25px;
		margin-bottom: 10px;
	}

	.intro__checkbox+label {
		font-size: 12px;
	}
}

@media screen and (max-width: 580px) {
	.intro__checkbox+label {
		font-size: 9px;
		padding-left: 5px;
	}

	.intro__checkbox+label::before {
		width: 20px;
		height: 20px;
		margin: 0 5px 5px 0;
	}
}

@media screen and (max-width: 500px) {
	.intro__title {
		font-size: 20px;
	}

	.intro__title + p {
		font-size: 14px;
	}

	.info-block {
		font-size: 14px;
	}

	.intro__buttons {
		margin-top: 30px;
	}

	.intro__button {
		align-self: center;
		width: 100%;
		padding: 8px 0;
		font-size: 18px;
	}
}

@media screen and (max-width: 450px) {
	.intro {
		display: flex;
		flex-direction: column;
		align-items: center;
		padding-left: 0;
	}

	.intro__title {
		align-self: start;
	}

	.intro__title + p {
		align-self: start;
	}

	.intro__button {
		padding: 8px 0;
		font-size: 18px;
	}

	.intro__checkbox+label::before {
		min-width: 20px;
		margin-left: 0;
		margin-top: 0;
	}

	.intro__checkbox+label {
		font-size: 10px;
	}

	.intro__buttons {
		margin-top: 20px;
	}

	.intro__button {
		font-size: 14px;
	}
}

@media screen and (max-width: 380px) {
	.intro .container {
		display: flex;
		flex-direction: column;
		align-items: center;
	}
}

/* pluses */

@media screen and (max-width: 1100px) {
	.pluses__title {
		font-size: 20px;
	}

	.pluses__list {
		margin-left: 15px;
	}
	
	.pluses__list li {
		margin-top: 10px;
		font-size: 14px;
	}

	.pluses__description {
		padding: 25px 22px;
	}
}

@media screen and (max-width: 500px) {
	.pluses {
		margin-top: 43px;
	}

	.pluses__title {
		font-size: 16px;
	}

	.pluses__description {
		padding: 15px 12px;
	}

	.pluses__list li {
		font-size: 12px;
	}

	.pluses__description::before {
		width: 67px;
	}

	.pluses__description::after {
		width: 67px;
	}
}

/* how it works */

@media screen and (max-width: 1900px) {
	.line-point::after {
		max-width: 250px;
	}
}

@media screen and (max-width: 1550px) {
	.line-point::after {
		font-size: 12px;
	}

	.under::after {
		top: calc(4.8em - 19px);
	}

	.line-point-three::after {
		width: 160px;
	}
}

@media screen and (max-width: 1460px) {
	.line-point:after {
		font-size: 12px;
		max-width: 200px;
		min-width: 0;
	}

	.line-point-one:after {
		width: 180px;
	}

	.line-point-two:after {
		width: 180px;
	}

	.line-point-three:after {
		max-width: 200px;
		width: 200px;
	}
}

@media screen and (max-width: 1400px) {
	.how {
		display: none;
	}

	.how-adaptive {
		display: block;
	}

	.how__text {
		font-size: 16px;
	}

	.help {
		margin-top: 58px;
	}
}

@media screen and (max-width: 1170px) {
	.line-point-six {
		left: 77%;
	}

	.line-point-six:after {
		top: 2.8em;
		width: 150px;
	}
}

@media screen and (max-width: 870px) {
	.how {
		display: none;
	}

	.how-adaptive {
		display: block;
	}

	.how__text {
		font-size: 16px;
	}
}

@media screen and (max-width: 450px) {
	.how__title {
		font-size: 18px;
	}

	.how__text {
		font-size: 14px;
	}
}

/* help */

@media screen and (max-width: 1900px) {
	.help__offers {
		justify-content: space-around;
	}

	.offer-content {
		justify-content: center;
	}
}

@media screen and (max-width: 1570px) {
	.help__offers-offer {
		margin-left: 10px;
		margin-right: 10px;
	}

	.help__offers-offer:nth-child(3n + 1) {
		margin-left: 10px;
		margin-right: 10px;
	}
}

@media screen and (max-width: 1000px) {
	.help__title {
		margin-top: 5px;
	}
}

@media screen and (max-width: 870px) {
	.help {
		margin-top: 58px;
	}

	.help__offers-offer {
		margin-left: 10px;
		margin-right: 10px;
		min-height: auto;
	}

	.offer-content {
		margin: 25px 25px;
		height: 106px;
	}

	.offer-text {
		font-size: 18px;
		line-height: 1.2;
	}

	.help__offers-offer {
		margin: 10px 10px;
		min-height: 105px;
	}

	.offer-content {
		height: auto;
		margin: 0;
		margin-top: 10px;
	}

	.help__offers-button {
		margin: auto 10px 10px;
		padding: 10px 30px;
		font-size: 16px;
	}
}

@media screen and (max-width: 620px) {
	.help__offers-button {
		margin-top: 4px;
	}
	.help__offers-offer {
		min-height: 0;
	}
}

@media screen and (max-width: 450px) {
	.help__title {
		font-size: 18px;
	}
}

@media screen and (max-width: 400px) {
	.help__offers-offer {
		width: 100%;
		max-width: none;
	}
}

/* questions */

@media screen and (max-width: 1900px) {
	.questions__form::before {
		left: -42%;
	}

	.questions__form::after {
		right: -42%;
	}
}

@media screen and (max-width: 1570px) {
	.questions__form {
		width: 400px;
		margin-top: 14px;
	}
}

@media screen and (max-width: 1370px) {
	.questions__form::before {
		width: 100px;
		left: -35%;
		top: -20px;
		background-size: 100% auto;
		background-repeat: no-repeat;
	}

	.questions__form::after {
		width: 100px;
		right: -35%;
		top: -20px;
		background-size: 100% auto;
		background-repeat: no-repeat;
	}

	.questions__form-submit {
		padding: 8px 50px;
		color: black !important;
	}
}

@media screen and (max-width: 1130px) {
	.questions__form {
		width: 95%;
	}

	.questions__form::before {
		display: none;
	}

	.questions__form::after {
		display: none;
	}
}

@media screen and (max-width: 640px) {
	.questions {
		margin-top: 29px;
		padding: 10px 0 29px;
	}

	.questions__title {
		font-size: 18px;
	}

	.questions__form-input {
		font-size: 16px;
		padding: 4px 0 3px 10px;
	}

	.questions__form-submit {
		margin-top: 26px;
		font-size: 16px;
		padding: 4px 73px;
		white-space: nowrap;
	}
}

@media screen and (max-width: 400px) {
	.questions__form-submit {
		width: 100%;
	}
}

/* lists */

@media screen and (max-width: 1900px) {
	.lists__new {
		justify-content: space-between;
	}

	.lists__old {
		justify-content: space-between;
	}
}

@media screen and (max-width: 1600px) {
	.lists__new .slick-list {
		overflow: hidden;
	}

	.slick-dots {
        position: absolute;
        display: flex;
        align-self: center;
        width: 100%;
        bottom: 0;
        /* left: 0%; */
        /* right: 0; */
        /* margin: 0 auto; */
        justify-content: center;
    }

	.lists__new .slick-dots {
		bottom: 25px;
	}

	.lists__old .slick-dots {
		bottom: 0px;
	}

	.search__persons .slick-dots {
		bottom: -15px;
	}

	.slick-dots button {
		color: transparent;
	}

	.slick-dots li {
		width: 8px;
		height: 8px;
		margin: 0 1px;
		border-radius: 50%;
		border: 1px solid black;
		background-color: black;
		list-style-type: none;
	}

	.search__persons .slick-dots li:last-child {
		display: none;
	}

	.slick-dots .slick-active {
		background-color: var(--main-color);
		border: 0;
		list-style-type: none;
	}

	.slick-track {
		flex-wrap: wrap;
	}
}

@media screen and (max-width: 1367px) {
	.lawsuit:nth-child(3n) {
		margin-right: 0;
	}

	.lawsuit:nth-child(3n + 1) {
		margin-left: 0;
	}
}

@media screen and (max-width: 1167px) {
	.lawsuit:nth-child(2n) {
		margin-left: 35px;
		margin-right: 0;
	}

	.lawsuit:nth-child(2n + 1) {
		margin-left: 0;
	}
}

@media screen and (max-width: 960px) {
	.search__persons {
		display: flex;
		flex-direction: column;
	}

	.lists .container {
		max-width: 100%;
	}

	.lawsuit:nth-child(2n) {
		margin-left: 0;
		margin-right: 12px;
	}

	.lawsuit:nth-child(2n + 1) {
		margin-left: 0;
		margin-right: 12px;
	}

	.lawsuit {
		min-width: 220px;
		max-width: 220px;
		width: 220px;
		margin-right: 12px;
		margin-top: 20px;
		margin-bottom: 20px;
	}

	.slick-track {
		left: 20%;
	}

	.slick-prev {
		position: absolute;
		top: 40%;
		left: 5%;
		background-image: url("../img/arrow_left.svg");
		background-position: 45% 45%;
		background-repeat: no-repeat;
		color: transparent;
		background-color: var(--main-color);
		width: 30px;
		height: 30px;
		border-radius: 50%;
		z-index: 1000;
	}

	.slick-next {
		position: absolute;
		top: 40%;
		left: 90%;
		background-image: url("../img/arrow_right.svg");
		background-position: 55% 45%;
		background-repeat: no-repeat;
		color: transparent;
		background-color: var(--main-color);
		width: 30px;
		height: 30px;
		border-radius: 50%;
		z-index: 1000;
	}
}

@media screen and (max-width: 760px) {
	.slick-track {
		left: 13%;
	}
}

@media screen and (max-width: 600px) {
	.lists {
		margin-top: 0;
	}

	.lists .container {
		max-width: 100%;
		margin: 0;
	}

	.lists__title-new {
		font-size: 20px;
		margin-top: 28px;
	}

	.lists__new .slick-track {
		left: 10%;
	}
	.lists__old .slick-track {
		left: 10%;
	}
}

@media screen and (max-width: 550px) {
	.lists__new .slick-track {
		left: 8%;
	}

	.lists__old .slick-track {
		left: 8%;
	}
}

@media screen and (max-width: 480px) {
	.help__offers-offer {
		width: 100%;
	}
}

@media screen and (max-width: 470px) {
	.lists__new .slick-track {
		left: 6%;
	}

	.lists__old .slick-track {
		left: 6%;
	}

	.slick-next {
		left: 85%;
	}
}

@media screen and (max-width: 420px) {

}

@media screen and (max-width: 360px) {

}

@media screen and (max-width: 330px) {

}

/* search */

@media screen and (max-width: 1900px) {
	.search__persons-person {
		margin-right: 10px;
	}
}

@media screen and (max-width: 1540px) {
	.search__persons {
		justify-content: space-around;
	}
}

@media screen and (max-width: 959px) {
	.search .container:nth-child(2) {
		max-width: 100%;
	}

	.search {
		margin-top: 29px;
	}

	.search__title {
		font-size: 22px;
	}

	.search__link {
		display: none;
	}

	.search__persons-person {
		display: block;
	}

	.search__persons .slick-track {
        left: 20%;
    }
}

@media screen and (max-width: 760px) {
	.search__persons .slick-track {
        left: 13%;
    }
}

@media screen and (max-width: 600px) {
	.search .container {
		max-width: 93.75%;
		margin-right: 0;
		margin-left: 0;
	}

	.search__title {
		margin-left: 7.8%;
	}

	.search__form {
		flex-wrap: wrap;
		max-width: 93.75vw;
		margin: 0 auto;
		margin-left: 5.8%;
	}

	.search__form-input:nth-child(2) {
		margin-left: 0;
		margin-right: 10px;
		margin-top: 14px;
	}

	.search__form-input {
		width: 95%;
	}

	.search__title {
		font-size: 20px;
		margin-left: 0;
		text-align: center;
	}

	.search__persons .slick-track {
        left: 6%;
    }
}

@media screen and (max-width: 470px) {
	.search__form-input:nth-child(2) {
		margin-right: 0;
	}

}

@media screen and (max-width: 400px) {

	.search__persons .slick-track {
        left: 6%;
    }
}

/* why */

@media screen and (max-width: 1560px) {
	.why__title {
		font-size: 20px;
	}

	.why__description {
		font-size: 18px;
		line-height: 25px;
	}
}

@media screen and (max-width: 1320px) {
	.why {
		margin-top: 50px;
	}
}

@media screen and (max-width: 1040px) {
	.why__title {
		font-size: 18px;
	}

	.why__description {
		font-size: 16px;
		line-height: 27px;
	}

	.why__button {
		font-size: 20px;
		text-align: center;
		width: 80%;
		padding: 9px 0;
	}
}

@media screen and (max-width: 940px) {
	.why {
		margin-top: 30px;
	}

	.why__inner {
		flex-wrap: wrap;
	}

	.why__lawyer {
		margin-top: 24px;
		margin-left: 0;
	}

	.why__title {
		font-size: 20px;
		text-align: center;
	}

	.why__description {
		font-size: 16px;
		line-height: 27px;
	}
}

@media screen and (max-width: 800px) {
	.why__button {
		font-size: 16px;
		text-align: center;
		width: 80%;
		padding: 6px 0;
	}
}

@media screen and (max-width: 600px) {
	.why .container {
		max-width: 93.75%;
	}

	.why__inner {
		margin-bottom: 14px;
	}

	.why__button {
		width: 92%;
		padding: 3px 0;
	}
}

@media screen and (max-width: 350px) {
	.why__title {
		font-size: 18px;
		text-align: center;
	}

	.why__button {
		width: 92%;
	}
}

/* answers */

@media screen and (max-width: 1990px) {
	.answers {
		margin-bottom: 20px;
	}

	.answers__question-answer {
		margin-right: 12px;
	}
}

@media screen and (max-width: 1010px) {
	.answers__question-answer {
		font-size: 16px;
	}
}

@media screen and (max-width: 800px) {
	.answers {
		margin-top: 36px;
	}

	.answers__question-name {
		font-size: 18px;
		padding: 8px 11px;
	}

	.answers__question {
		padding-bottom: 0;
	}

	.answers__question-answer {
		margin-top: 0;
	}

	.answers__question-answer {
		font-size: 15px;
		line-height: 22px;
		padding-bottom: 15px;
	}

	.active .answers__question-answer {
		margin-top: 0;
		padding-bottom: 12px;
	}

	.answers__question-answer {
		padding-bottom: 0;
	}

	.horizontal-line {
		width: 14px;
		height: 2px;
		top: 22px;
		right: 16px;
	}

	.vertical-line {
		width: 2px;
		height: 14px;
		top: 16px;
		right: 22px;
	}
}

@media screen and (max-width: 550px) {
	.answers__question-name {
		font-size: 16px;
	}

	.active .answers__question-name {
		padding-bottom: 0;
	}

	.answers__question-answer {
		font-size: 12px;
		line-height: 17px;
	}
}

@media screen and (max-width: 510px) {
	.answers__question-name {
		max-width: 80%;
	}
}

@media screen and (max-width: 350px) {
	.answers__question-name {
		font-size: 14px;
	}
}

.map-container iframe {
	height: 300px;
}

.map-container {
	margin-top: 20px;
}

@media screen and (max-width: 760px) {
	.map-container iframe{
		height: 200px;
	}
}

/* footer */
@media screen and (max-width: 660px) {
	.footer__inner-head {
		justify-content: left;
	}

	.footer__big-img {
        display: block;
        position: relative;
        bottom: 10px;
    }

	.footer-head-col:last-child {
		flex-direction: row;
		align-items: start;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	.footer-contact {
		white-space: nowrap;
		font-size: 14px;
	}

	.footer-contact img {
		width: 16px;
		height: 16px;
	}

	.footer-head-col a[href="#questions"] {
		width: 100%;
		text-align: center;
	}

	.footer-body {
		justify-content: space-between;
		flex-wrap: wrap;
		gap: 10px;
	}

	.footer-head-col.ol {
		width: 100%;
		gap: 0;
		justify-content: space-between;
		margin-left: 18px;
	}
}

@media screen and (max-width: 390px) {
	.footer-head-col.ol ol li a{
		font-size: 14px;
	}
}