/* Подключение шрифта*/
@font-face {
    font-family: 'Play';
    src: url("../fonts/Play/Play-Bold.ttf");
}

@font-face {
    font-family: 'Roboto';
    src: url("../fonts/Roboto/Roboto-Regular.ttf");
}

@font-face {
    font-family: 'Roboto-Bold';
    src: url("../fonts/Roboto/Roboto-Bold.ttf");
}

@font-face {
    font-family: 'Roboto-Medium';
    src: url("../fonts/Roboto/Roboto-Medium.ttf");
}

/*сброс настроек*/
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::selection {
    background: rgba(61, 1, 2, 0.6);
    color: white;
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: Roboto, sans-serif;
    color: #3D0102;
    height: 100%;
}

.nav-call {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-call div {
    width: max-content;
}

.nav-call a {
    color: #830201;
    font-size: 16px;
}

.invalid-feedback {
    color: #BC0003;
    font-size: 12px;
}

.nav-call a:hover {
    font-weight: bold;
}

.d-block {
    display: block!important;
}

.pagination {
    align-items: center!important;
}

header {
    position: fixed;
    width: 100%;
    margin: auto;
    box-shadow: 0 -1px 10px 2px rgba(61, 1, 2, 0.25);
    top: 0;
    z-index: 1000;
}

.content {
    flex: 1 0 auto;
    margin-top: 86px;
}

.form-flex-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: end;
}

.body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

h1 {
    font-family: Roboto, sans-serif;
    font-weight: normal;
    font-size: 20px;
}

h1 span {
    font-family: Roboto-Medium, sans-serif;
    font-size: 22px;
}

h2 {
    font-family: Roboto, sans-serif;
    color: #830201;
}

.fr-2-numbers {
    font-family: Play, sans-serif;
    color: #830201;
}

h2 {
    font-size: 20px;
}

h3 {
    font-family: Roboto, sans-serif;
    font-size: 18px;
}

h4 {
    font-family: Roboto, sans-serif;
    font-weight: normal;
    color: #3D0102;
    font-size: 16px;
}

.header-logo {
    position: fixed;
    width: 100%;
    background-image: url(../img/123_1_мини.png);
    background-size: 300%;
    background-repeat: no-repeat;
    background-position: 48% 0;
    top: 0;
    z-index: 300;
}

.header-logo > div {
    background: rgba(0, 0, 0, 0.5);
}

a {
    text-decoration: none;
}

li {
    list-style-type: none;
}

a, a:active {
    font-size: 12px;
    color: rgb(255, 255, 255);
}

li a:hover {
    font-family: 'Roboto-Medium', sans-serif;
    color: rgb(255, 255, 255);
}

header, .frame-1-pc, .map-pc {
    display: none;
}

/*меню навигации для телефона и планшета*/
.header {
    z-index: 3;
    margin: 0 auto;
    padding: 30px 0 120px;
    position: relative;
    width: 100%;
    color: white;
}

.header-mini {
    padding: 30px 0;
}

.service_ul {
    margin: 20px 30px 0;
    flex-direction: column;
}

.service_ul li {
    list-style: circle;
}

.service_ul li::marker {
    color: #BC0003;
}

.service_div span {
    font-family: 'Play', sans-serif;
    font-size: 24px;
    color: #BC0003;
}

.logo-tel {
    text-align: center;
}

.logo-tel a > img {
    height: 22px;
    margin: 30px 0;
}

.menu-tel-item li a {
    font-size: 14px;
}

.menu-tel-item-content-fr-item div:first-child {
    font-size: 12px;
    color: #9A9696;
}

.map {
    margin-top: 30px;
}

.menu-tel-item-content-fr-item div:last-child, .menu-tel-item-content-address {
    font-size: 14px;
}

.menu-tel-item {
    background: #3D0102;
    position: absolute;
    margin: 0;
    width: 100%;
    top: 0;
    display: none;
    z-index: 200;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 1px 20px rgba(61, 1, 2, 0.7);
}

.menu-tel-item > .logo-tel {
    padding: 30px 0;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

#menu_bth {
    z-index: 201;
    position: absolute;
    right: 0;
    top: 0;
    padding: 30px;
}

.menu-tel-item-content {
    margin: 110px 30px 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.menu-tel-item-content ul {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.menu-tel-item-content-fr {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    row-gap: 20px;
    justify-content: space-between;
}

.menu-tel-item-content-fr-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.menu-tel-item-content-fr .menu-tel-item-content-fr-item {
    margin-right: 20px;
}

.menu-tel-item-content-fr .menu-tel-item-content-fr-item:last-child {
    margin-right: 0;
}
/*----------*/

.frame-1 {
    background-image: url("../img/123_1_мини.png");
    width: 100%;
    background-size: 300%;
    background-repeat: no-repeat;
    margin-top: 0;
    background-position: 48% 0;
}

.frame-1-service {
    position: fixed;
    box-shadow: 0 -1px 10px 2px rgba(61, 1, 2, 0.25);
    top: 0;
    margin: 0 auto;
    z-index: 10;
}

.frame-1- {
    background: rgba(0, 0, 0, 0.5);
    height: 100%;
}

.frame-1-content { /*висячая навигация*/
    margin: 60px 30px 0;
}

.btn-center {
    width: 100%;
    display: flex;
    justify-content: center;
}

.frame-1 .slider-line-item-text-items {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.frame-1 .slider-line-item-text-item- {
    margin: 0 0 0 auto;
}

.frame-1 .slider-line-item-text-item {
    display: grid;
    grid-template-columns: min-content auto;
    gap: 10px;
}

.text-flex {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


/*постепенное появление элементов из баннера*/
.slider-line-item-text-item, .frame-content-animate .service_div, .frame-content-animate ul {
    animation-duration: 1s;
    animation-name: slider_opacity;
    animation-iteration-count:1;
}

.slider-line-item-text-items .slider-line-item-text-item:nth-child(1), .frame-content-animate .service_div:nth-child(1), .frame-content-animate ul:nth-child(1) {
    animation-duration: 1.4s;
}

.slider-line-item-text-items .slider-line-item-text-item:nth-child(2), .frame-content-animate .service_div:nth-child(2), .frame-content-animate ul:nth-child(2) {
    animation-duration: 1.8s;
}

.slider-line-item-text-items .slider-line-item-text-item:nth-child(3), .frame-content-animate .service_div:nth-child(3), .frame-content-animate ul:nth-child(3) {
    animation-duration: 2.2s;
}

.slider-line-item-text-items .slider-line-item-text-item:nth-child(4), .frame-content-animate .service_div:nth-child(4) {
    animation-duration: 2.6s;
}

.frame-content-animate .service_div:nth-child(5) {
    animation-duration: 3s;
}
.frame-content-animate .service_div:nth-child(6) {
    animation-duration: 3.4s;
}
.frame-content-animate .service_div:nth-child(7) {
    animation-duration: 3.8s;
}
.frame-content-animate .service_div:nth-child(8) {
    animation-duration: 4.2s;
}

@keyframes slider_opacity {
    from{
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.frame-1 .slider-line-item-text-item div:nth-child(1) {
    font-family: 'Roboto-Bold', sans-serif;
    font-size: 20px;
    grid-column: 1/2;
}

.frame-1 .slider-line-item-text-item div:nth-child(2) {
    font-family: 'Roboto-Bold', sans-serif;
    font-size: 14px;
    grid-column: 2/3;
    align-items: center;
    display: flex;
}

.frame-1 .slider-line-item-text-item div:nth-child(3) {
    font-family: 'Roboto', sans-serif;
    display: none;
}

.form-callback {
    z-index: 100;
    margin: 30px 0;
}

input, textarea {
    width: 200px;
    height: 45px;
    border-radius: 15px;
    border: 1px solid #9A9696; /* #646060 */
    padding: 10px;
    font-size: 12px;
    color: #3D0102;
    background: none;
}

input:focus, textarea:focus {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid #9A9696;
}

textarea {
    height: 100px;
    max-width: 200px;
    min-width: 200px;
    min-height: 100px;
    max-height: 300px;
}

.form-callback p, .frame_modal-content-callBack p {
    font-size: 14px;
    text-align: center;
}

.frame-modal-3 .form-comment {
    margin: 10% auto;
    width: 85%;
}

.btn-form {
    color: white;
    background: #830201;
    font-size: 14px;
    width: 200px;
    height: 45px;
    border-radius: 15px;
    border: none;
    font-family: 'Roboto', sans-serif;
}

.btn-form:hover {
    background: #BC0003;
    cursor: pointer;
}


/*стили для крестика модальных окон*/
.close {
    font-size: 40px;
    transform: rotate(45deg);
    position: absolute;
    top: 10px;
    right: 20px;
    transition: 1s;
}

.frame_modal-content-callBack .close {
    top: 10px;
    right: 20px;
    transition: 1s;
}

.close:hover {
    transform: rotate(225deg);
    transition: 1s;
    cursor: pointer;
}
/*---------------*/

footer {
    flex-shrink: 0;
}

.footer {
    width: 85%;
    max-width: 1420px;
    margin: auto;
    display: grid;
    gap: 50px;
    grid-template-columns: repeat(4, max-content);
    justify-content: space-between;
}

.footer ul {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.footer-logo {
    font-size: 16px;
    grid-column: 1/2;
    grid-row: 1/2;
}

.footer-nav {
    font-size: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    grid-row: 1/4;
    grid-column: 2/3;
}

.footer-nav ul li a {
    font-size: 12px;
    color: #9A9696;
}

.footer-nav li a:hover {
    font-family: 'Roboto', sans-serif;
    color: white;
}

.footer-div-btn {
    display: flex;
    flex-direction: column;
    gap: 20px;
    grid-row: 1/4;
    grid-column: 3/4;
}

.footer-div-btn span {
    font-family: 'Roboto-Medium', sans-serif;
    font-size: 16px;
    color: #E00000; /*E20001*/
}

.btn-form-footer {
    color: white;
    background: #BC0003;
    font-size: 16px;
    width: 250px;
    height: 50px;
    border-radius: 20px;
    border: none;
}

.btn-form-footer:hover {
    background: #E00000;
    cursor: pointer;
}

.footer-item, .footer-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-items {
    grid-row: 1/4;
    grid-column: 4/5;
}

.footer-item-1 {
    grid-row: 2/3;
    grid-column: 1/2;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-item-2 {
    grid-row: 3/4;
    grid-column: 1/2;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-label {
    font-size: 12px;
    color: #9A9696;
}

.footer-links {
    grid-row: 4/5;
    grid-column: 1/2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-link {
    font-size: 14px;
    color: #9A9696;
}

.footer-link:hover {
    font-size: 14px;
    color: #ffffff;
}

.footer-copyright {
    font-size: 12px;
    color: #9A9696;
    grid-row: 3/4;
    grid-column: 1/5;
    justify-content: center;
    text-align: center;
}

.fr-2-text {
    color: #3D0102;
    font-size: 16px;
}

footer {
    background: #3D0102;
    width: 100%;
    padding: 50px;
    color: white;
}

ul {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.frame-modal {
    display: none;
    position: fixed;
    z-index: 110;
    left: 0;
    z-index: 1001;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.frame-modal-content, .frame-modal-message-content {
    background: white;
    margin: 10% auto;
    padding: 20px;
    width: 85%;
    min-width: 270px;
    max-width: 650px;
    box-shadow: 0 1px 20px rgba(61, 1, 2, 0.5);
    border-radius: 30px;
    z-index: 99999;
    position: relative;
}

.frame-modal-message-content {
    text-align: center;
    font-size: 16px;
    padding: 25px;
}

.frame-modal-message .close {
    font-size: 30px;
    top: 0;
    right: 20px;
}

.frame-modal-content .footer-label-checked {
    font-family: 'Roboto-Medium', sans-serif;
    font-size: 20px;
    color: rgba(61, 1, 2, 0.5);
    background: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: rgba(61, 1, 2, 0.5);
}

.footer-label-checked-log {
    margin-right: 30px;
}

.link-profile {
    background: none;
    border: none;
    font-size: 14px;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
}

button.link-profile {
    height: min-content;
}

.link-profile:hover {
    font-family: 'Roboto-Medium', sans-serif;
    color: #ffffff;
    cursor: pointer;
}

.frame-modal-content .footer-label-checked:hover, .label-checked {
    font-family: 'Roboto-Medium', sans-serif;
    cursor: pointer;
    font-size: 20px;
    color: #3D0102;
    /*background: transparent;*/
    /*-webkit-background-clip: text;*/
    /*-webkit-text-fill-color: #3D0102;*/
}

.input-checked:checked ~ .label-checked {
    font-family: 'Roboto-Medium', sans-serif;
    cursor: pointer;
    font-size: 20px;
    color: #3D0102;
    background: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: #3D0102;
}

.frame-modal-content-reg input[type='checkbox'] + label {
    flex-wrap: nowrap!important;
}


input[type='checkbox'] {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    border: 2px solid #9A9696;
    padding: 2px;
    background: none;
    position: absolute;
    z-index: -1;
    opacity: 0;
}

input[type='checkbox'] + label {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
}

.frame-5-sort-items input[type='checkbox'] + label {
    font-size: 14px;
}

input[type='checkbox']  + label a {
    color: rgba(61, 1, 2, 0.5);
    font-size: 12px;
}

input[type='checkbox'] + label a:hover, input[type='checkbox'] + label:hover {
    color: #3D0102;
    cursor: pointer;
}

input[type='checkbox'] + label::before {
    content: " ";
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 5px;
    border: 2px solid #9A9696;
    padding: 2px;
    flex-shrink: 0;
    flex-grow: 0;
    margin-right: 10px;
}

.form-fr-reg {
    flex-direction: column;
}

input[type='checkbox']:checked + label::before {
    background-image: url('../img/arow.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 12px;
}

.frame_modal-content-callBack {
    margin: 10% auto;
    width: 85%;
}

.form-index {
    margin: 0 auto;
    width: 97%;
}

.form-index,.frame_modal-content-callBack {
    background: white;
    z-index: 101;
    position: relative;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(61, 1, 2, 0.5);
    border-radius: 15px;
    max-width: 350px;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: #3D0102;
}

.frame-modal-content-form-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
}

.frame-modal-content-form-item input {
    font-size: 12px;
}

.frame-modal-text-h {
    font-family: 'Roboto-Medium', sans-serif;
    font-size: 16px;
    color: #3D0102;
    margin: 30px 0;
}

.frame-modal-content form, .frame-modal-content-form-items {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

/*элементы формы регистрации в столбик*/
.form_registration {
    flex-direction: column;
}

.form_registration .btn-form-fr-reg {
    margin: 0 auto;
}

.frame-modal-content-form-items {
    justify-content: space-around;
    width: 100%;
}

/*скрыть кнопки радио*/
.frame-modal-content > input[type='radio'] {
    display: none;
}

/*скрыть контент */
.frame-modal-content > div {
    display: none;
}

/* отобразить контент, связанный с вабранной радиокнопкой (input type="radio") */
#modal-login:checked ~ .frame-modal-content-login,
#modal-reg:checked ~ .frame-modal-content-reg {
    display: block;
}

.rating-area {
    margin: 0 auto;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    gap: 5px;
}

.rating-area:not(:checked) > input {
    display: none;
}

.rating-area:not(:checked) > label {
    float: right;
    width: 30px;
    padding: 0;
    cursor: pointer;
    font-size: 30px;
    line-height: 30px;
    color: #9A9696;
}

.stars span {
    gap: 10px;
    font-size: 26px;
    color: #9A9696;
}

.stars {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    font-size: 26px;
    color: #9A9696;
}

.rating-area:not(:checked) > label:before, .stars > span:before {
    content: '★';
}

.rating-area > input:checked ~ label, .stars > span.active,
.rating-area:not(:checked) > label:hover,
.rating-area:not(:checked) > label:hover ~ label,
.rating-area > input:checked + label:hover,
.rating-area > input:checked + label:hover ~ label,
.rating-area > input:checked ~ label:hover,
.rating-area > input:checked ~ label:hover ~ label,
.rating-area > label:hover ~ input:checked ~ label {
    color: #FBA31D;
}

.rate-area > label:active {
    position: relative;
}

#frame-3, #frame-4, #frame-5, #frame-6, #frame-7 {
    margin-top: -50px;
    padding-top: 50px;
}


.footer-div-info, .footer-div-info a, .footer-div-info a:active {
    font-size: 14px;
    color: white;
}

.footer-div-info a:hover {
    color: #E00000;
}

.frame-2 {
    width: 100%;
    margin-top: -90px;
    position: relative;
}

.frame-2- {
    width: 85%;
    margin: 0 auto;
    max-width: 1420px;
    border-radius: 40px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 20px;
    background: white;
    text-align: center;
    padding: 30px;
}

.fr-2-numbers {
    font-size: 50px;
}

.frame-2-item {
    background: white;
    box-shadow: 0 2px 5px rgba(61, 1, 2, 0.25);
    border-radius: 20px;
    margin: 0;
    width: 27%;
    min-width: 320px;
    padding: 20px;
}

.frame-3- {
    width: 85%;
    margin: 0 auto;
    max-width: 1420px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.frame-3 {
    margin: 0 0 30px;
}

.frame-3-img {
    margin: auto;
}

.frame-3-img-1 img {
    position: relative;
    width: 161px;
    z-index: 1;
    border-radius: 10px;
}

.frame-3-img-2 img {
    width: 220px;
    border-radius: 20px;
    margin-top: -90px;
    margin-left: 50px;
}

.frame-3-text {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.text {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #646060;
}

.frame-4- {
    background: #3D0102;
    width: 100%;
    padding: 30px 0 140px;
}

.text-center {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #3D0102;
    align-items: center;
    margin: 0 auto;
    text-align: center;
}

.frame-4-item-icons {
    background: #9A9696;
    border-radius: 10px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.frame-4-item-icons img {
    height: 50px;
}

.frame-4-item:hover .frame-4-item-icons {
    background: #3D0102;
    cursor: pointer;
}

.frame-4-item:hover {
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(61, 1, 2, 0.5);
}

.frame-4-item:hover .text-center {
    font-size: 16px;
}

.frame-4-item:hover {
    transform: scale(1.02);
}

.frame-4-item {
    background: white;
    box-shadow: 0 2px 5px rgba(61, 1, 2, 0.25);
    border-radius: 20px;
    padding: 30px;
    width: 300px;
    transition: .5s;
}

.frame-4-item- {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    height: 100%;
}

.frame-4-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 85%;
    max-width: 1420px;
    margin: -110px auto 0;
    gap: 30px;
}

.frame-4-text {
    display: flex;
    flex-direction: column;
    width: 85%;
    max-width: 1420px;
    margin: auto;
    gap: 30px;
}

.frame-4 h2, .frame-4 h4 {
    color: white;
}

.frame-6- {
    width: 85%;
    max-width: 1420px;
    margin: auto;
}

.frame a, .frame a:active {
    font-size: 14px;
    color: #BC0003;
}

.frame a:hover {
    font-size: 14px;
    font-family: 'Roboto-Medium', sans-serif;
}

.frame-5- {
    width: 85%;
    margin: 0 auto;
    max-width: 1420px;
    display: flex;
    gap: 30px;
    flex-direction: column;
    padding: 30px 0;
}

.frame-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-size: 14px;
}

.frame-5-content, .frame-5-content-items {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.frame-5-sort {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;

}

.frame-5-content- {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.frame-5-profile-content- {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.frame-5-sort-items {
    display: flex;
    gap: 30px;
    align-items: center;
    font-size: 14px;
}

.frame-5-sort-items-btn {
    display: flex;
    gap: 20px;
}

.frame-5-content-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(61, 1, 2, 0.25);
    border-radius: 20px;
}

.for_form {
    display: none;
}

.btn-slider, .btn {
    background: rgba(61, 1, 2, 0.5);
    border: none;
    border-radius: 5px;
}

.btn img, .btn-slider img {
    margin: 5px;
    align-items: center;
    width: 14px;
    opacity: 0.75;
}

.btn-slider-doc-prev, .btn-slider-doc-next {
    height: min-content;
    top: 40%;
}

.btn-slider-doc-prev {
    z-index: 3;
    left: 0;
    position: absolute;
}

.btn-slider-doc-next {
    z-index: 3;
    right: 0;
    position: absolute;
}

.btn-slider:hover, .btn:hover {
    background: #3D0102;
    cursor: pointer;
}

.btn-slider:hover img, .btn:hover img {
    opacity: 1;
}

.slider-line-doc-item img {
    width: 220px;
    border-radius: 10px;
    box-shadow: 0 1px 5px rgba(61, 1, 2, 0.25);
}

.slider-line-doc-item {
    padding: 0 20px;
}

.slider-line-doc {
    display: flex;
    position: relative;
    width: 768px;
    transition: all ease 1s;
}

.slider-doc {
    overflow: hidden;
}

.slider-container-doc {
    position: relative;
    margin: 30px 0;
}

.frame-5-content-item-header {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    align-items: center;
}

.frame-5-content-item-name {
    font-size: 16px;
}

.frame-5-content-item-text {
    font-size: 14px;
    color: #646060;
}

.frame-5-content-item-data {
    font-size: 12px;
    color: #9A9696;
}

.frame-profile {
    width: 85%;
    margin: 30px auto;
    max-width: 1420px;
    display: flex;
    gap: 30px;
    flex-direction: column;
    font-size: 22px;
    color: #3D0102;
    font-family: 'Roboto-Medium', sans-serif;
}

.frame-profile label {
    font-family: 'Roboto', sans-serif;
    font-weight: normal;
}

.frame-5-profile {
    width: 85%;
    margin: 0 auto;
    max-width: 1420px;
    display: flex;
    gap: 30px;
    flex-direction: column;
    padding: 0 0 30px;
}

.frame-profile- {
    display: flex;
    width: 100%;
    justify-content: space-between;
    color: #830201;
}

.profile_logout {
    color: rgba(131, 2, 1, 0.5);
    font-size: 20px;
}

.profile_logout:hover {
    color: rgb(131, 2, 1);
    font-size: 20px;
}

.frame-profile-person {
    font-family: 'Roboto-Medium', sans-serif;
    display: flex;
    gap: 10px;
}

@media screen and (max-width: 425px) {
    .footer-item {
        display: flex;
        flex-direction: row;
        gap: 10px;
    }

    .frame-2-item {
        width: 190px;
        min-width: 190px;
    }

    .footer-logo {
        grid-column: 1/5;
        grid-row: 1/2;
    }

    .footer {
        gap: 20px;
        width: 100%;
    }

    footer {
        padding: 30px;
    }

    .footer-div-info, .footer-div-info a {
        display: flex;
        flex-wrap: wrap;
        font-size: 12px;
        gap: 10px;
    }

    .footer-links {
        grid-row: 3/5;
        grid-column: 1/2;
        gap: 10px;
    }

    .footer-links a {
        font-size: 12px;
        width: 100%;
    }

    .footer-nav, .footer-items, .footer-div-btn, .footer-item-2, .footer-item .footer-label {
        display: none;
    }

    .frame-4-items {
        justify-content: center;
    }
}
/*------------*/


/*Планшет*/
@media screen and (min-width: 426px) and (max-width: 768px) {
    .frame-1 {
        background-size: 150%;
    }

    .frame-1 .slider-line-item-text-items {
        max-width: 708px;
    }

    .frame-1 .slider-line-item-text-item {
        display: grid;
        grid-template-rows: min-content auto;
        grid-template-columns: min-content auto;
        max-width: 450px;
        gap: 10px;
    }

    @media screen and (max-width: 500px) {
        .footer-items {
            display: none;
        }
    }

    .footer-copyright {
        grid-row: 4/5;
    }

    .frame-1 .slider-line-item-text-item div:nth-child(1) {
        grid-row: 1/3;
        grid-column: 1/2;
    }

    .frame-1 .slider-line-item-text-item div:nth-child(2) {
        grid-row: 1/2;
        grid-column: 2/3;
        align-items: center;
        display: flex;
    }

    .frame-1 .slider-line-item-text-item div:nth-child(3) {
        grid-row: 2/3;
        grid-column: 2/3;
        display: block;
    }

    .frame-3-img-1 img {
        width: 200px;
    }

    .frame-3-img-2 img {
        width: 280px;
        margin-left: 80px;
        max-width: 280px;
    }

    .footer {
        gap: 20px;
        width: 100%;
    }

    footer {
        padding: 30px;
    }

    .footer-nav, .footer-div-btn {
        display: none;
    }

    .footer-links {
        grid-row: 4/5;
        grid-column: 1/5;
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 30px;
        width: 100%;
    }

    .frame-2-item {
        width: 180px;
        min-width: 180px;
    }
}
/*------------*/


/* PC */
@media screen and (min-width: 769px) {
    header, .frame-1-pc, .map-pc {
        display: block;
        background: white;
    }

    .invalid-feedback {
        font-size: 14px;
    }

    .form_registration .btn-form-fr-reg {
        margin-top: 0;
        margin-left: 0;
    }

    .frame-5-profile-doc {
        padding-bottom: 0!important;
    }

    .footer-copyright {
        grid-row: 4/5;
    }

    .content {
        margin-top: 84px;
    }

    .service_ul {
        margin: 20px 50px 0;
    }

    .for_form {
        display: block;
    }

    .frame-modal-message .close {
        font-size: 30px;
        top: 5px;
    }

    h2 {
        font-size: 30px;
    }

    /*убрать меню навигации для телефона и планшета*/
    .header, .frame-1, .map-tel, .btn-center-comment {
        display: none;
    }

    .header-pc {
        width: 85%;
        margin: auto;
        max-width: 1420px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 5%;
    }

    .header-pc img {
        height: 80px;
    }

    .header-pc nav {
        width: 100%;
    }

    a, a:active {
        font-size: 16px;
        color: #646060;
    }

    li a:hover {
        font-family: 'Roboto-Medium', sans-serif;
        color: #646060;
    }

    .link-profile {
        font-size: 16px;
        color: #3D0102;
    }

    .link-profile:hover {
        color: #3D0102;
        font-size: 16px;
    }

    .slider {
        width: 100%;
        overflow: hidden;
        grid-column: 2/3;
    }

    .slider-container {
        position: relative;
        width: 100%;
        height: 100%;
    }

    .slider-line {
        display: flex;
        position: relative;
        transition: all ease 2s;
        width: 200%;
    }

    .slider-line-item {
        width: 100%;
        height: max-content;
    }

    .slider-line-item-1 {
        background-image: url("../img/123_1_мини.png");
        width: 100%;
        background-size: auto;
        background-repeat: no-repeat;
        margin-top: 0;
        background-position: 48% 0;
    }

    .slider-line-item-2 {
        background-image: url("../img/image 8.png");
        width: 100%;
        background-size: auto;
        background-repeat: no-repeat;
        margin-top: 0;
        background-position: 48% 0;
    }

    .slider-line-item-2-text {
        font-size: 20px;
        max-width: 700px;
        margin-top: 50px;
        letter-spacing: .7px;
    }

    .slider-line-item- {
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        padding-bottom: 150px;
    }

    .btn-slider-prev {
        position: absolute;
        left: 20px;
        z-index: 2;
        margin-top: 20%;
    }

    .btn-slider-next {
        position: absolute;
        right: 20px;
        z-index: 2;
        margin-top: 20%;
    }

    .btn-slider img {
        margin: 8px;
        align-items: center;
        width: 14px;
        opacity: 0.75;
    }

    .btn img {
        margin: 5px;
        align-items: center;
        width: 14px;
        opacity: 0.75;
    }


    .frame-1-pc {
        width: 100%;
        margin-top: 84px;
    }

    .slider-line-item-text {
        color: white;
        width: 85%;
        max-width: 1420px;
        margin: auto;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .frame-modal-content {
        padding: 50px;
        width: 80%;
        min-width: 750px;
        max-width: 1110px;
        border-radius: 50px;
    }

    .frame-modal-content .footer-label-checked {
        font-size: 30px;
    }

    .footer-label-checked-log {
        margin-right: 50px;
    }

    .frame-modal-content .footer-label-checked:hover, .label-checked {
        font-size: 30px;
    }

    .input-checked:checked ~ .label-checked {
        font-size: 30px;
    }

    .frame-modal-content-form-item {
        font-size: 16px;
    }

    .frame-modal-content-form-item input {
        font-size: 14px;
    }

    .frame-modal-content form, .frame-modal-content-form-items {
        gap: 50px;
    }

    .frame-modal-content-form-items {
        justify-content: space-between;
        width: 100%;
    }

    .frame-modal-text-h {
        font-size: 24px;
    }

    .frame_modal-content-callBack {
        padding: 30px;
        border-radius: 20px;
        width: 400px;
    }

    h1 {
        font-size: 24px;
        padding: 50px 0;
    }

    h1 span {
        font-size: 30px;
    }

    h3 {
        font-size: 26px;
    }

    h4 {
        font-size: 24px;
    }

    input[type='checkbox'] + label {
        font-size: 16px;
    }

    input[type='checkbox'] + label a {
        font-size: 14px;
    }

    input[type='checkbox'] + label a:hover {
        font-size: 14px;
    }

    .stars span {
        font-size: 24px;
    }

    .stars {
        font-size: 24px;
    }

    .rating-area:not(:checked) > label {
        float: right;
        width: 40px;
        padding: 0;
        cursor: pointer;
        font-size: 30px;
        color: #9A9696;
    }

    .slider-line-item-text-items {
        max-width: 700px;
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        min-width: 500px;
    }


    .slider-line-item-text-item- {
        margin: 0 0 0 auto;

    }

    .slider-line-item-text-item {
        display: grid;
        grid-template-rows: min-content auto;
        grid-template-columns: min-content auto;
        max-width: 450px;
        gap: 20px;
    }

    .slider-line-item-text-item div:nth-child(1) {
        font-family: 'Play', sans-serif;
        font-size: 30px;
        grid-row: 1/3;
        grid-column: 1/2;
    }

    .slider-line-item-text-item div:nth-child(2) {
        font-family: 'Roboto-Bold', sans-serif;
        font-size: 20px;
        grid-row: 1/2;
        grid-column: 2/3;
    }

    .slider-line-item-text-item div:nth-child(3) {
        font-family: 'Roboto', sans-serif;
        font-size: 16px;
        grid-row: 2/3;
        grid-column: 2/3;
    }

    .form-index {
        padding: 30px;
        border-radius: 20px;
        width: 400px;
    }

    .form-callback {
        margin: 50px 0;
        background: rgba(255, 255, 255, 0.7);
    }

    input, textarea {
        width: 300px;
        height: 50px;
        border-radius: 20px;
        padding: 15px;
        font-size: 14px;
    }

    textarea {
        max-width: 300px;
        min-width: 300px;
    }

    .form-callback p, .frame_modal-content-callBack p {
        font-size: 16px;
    }

    .btn-form {
        color: white;
        background: #830201;
        font-size: 16px;
        width: 300px;
        height: 50px;
        border-radius: 20px;
        border: none;
        margin-top: 10px;
        font-family: 'Roboto', sans-serif;
    }

    .btn-form:hover {
        background: #BC0003;
        cursor: pointer;
    }

    .frame-2 {
        margin-top: -150px;
        z-index: 100;
        position: relative;
    }

    #frame-3, #frame-4, #frame-5, #frame-6, #frame-7 {
        margin-top: -100px;
        padding-top: 100px;
    }

    .frame-2- {
        width: 85%;
        margin: 0 auto;
        max-width: 1420px;
        border-radius: 40px;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        align-items: stretch;
    }

    .frame-2-item {
        padding: 30px;
    }

    .fr-2-text {
        font-size: 26px;
        margin: 30px auto 0;
        text-align: center;
    }

    .fr-2-numbers {
        font-size: 90px;
    }


    .frame-3- {
        gap: 50px;
    }

    .frame-3 {
        margin: 20px 0 50px;
    }


    .frame-3-img-1 img {
        width: 280px;
    }

    .frame-3-img-2 img {
        width: 520px;
        margin-left: 100px;
    }

    .frame-3-text {
        max-width: 750px;
        width: 45%;
    }

    .text {
        font-size: 18px;
    }

    .frame-4- {
        padding: 50px 0 200px;
    }

    .text-center {
        font-size: 18px;
    }

    .frame-4-item-icons {
        width: 90px;
        height: 90px;
    }

    .frame-4-item:hover .text-center {
        font-size: 18px;
    }

    .frame-4-item {
        transition: transform .2s;
    }

    .frame-4-item:hover {
        transform: scale(1.02);
    }

    .frame-4-items {
        justify-content: space-between;
        margin: -150px auto 0;
        gap: 50px;
    }

    .frame-4-text {
        gap: 50px;
    }

    .frame-profile {
        gap: 50px;
        font-size: 36px;
        margin: 50px auto 0;
    }

    .profile_logout {
        font-size: 30px;
    }

    .profile_logout:hover {
        font-size: 30px;
    }

    .frame-profile-person {
        gap: 20px;
    }

    .frame-5- {
        gap: 50px;
        padding: 50px 0;
    }

    .frame {
        padding: 50px 0;
    }

    .frame-content {
        gap: 20px;
        font-size: 18px;
    }

    .frame-5-content, .frame-5-content-items {
        gap: 50px;
    }

    .frame-5-sort {
        gap: 30px 50px;
    }

    .frame-5-content- {
        gap: 50px;
        width: 60%;
    }

    .frame-5-profile-content- {
        gap: 50px;
        width: 100%;
    }

    .frame-5-sort-items {
        gap: 50px;
        font-size: 16px;
    }

    .frame-5-sort-items-btn {
        gap: 30px;
    }

    .frame-5-content-item {
        gap: 20px;
        width: 100%;
        padding: 20px;
    }

    .frame-5-profile-content-item {
        max-width: 675px;
        width: 45%;
        min-width: 390px;
    }

    .frame-5-content-item-name {
        font-size: 18px;
    }

    .frame-5-content-item-text {
        font-size: 16px;
    }

    .frame-5-content-item-data {
        font-size: 14px;
    }

    .form-comment {
        position: sticky;
        top: 20%;
    }

    .slider-container-doc {
        margin: 0;
        display: flex;
        flex-wrap: nowrap;
        gap: 20px;
        align-items: center;
        justify-content: space-between;
    }

    .btn-slider-doc-prev, .btn-slider-doc-next {
        height: min-content;
        position: relative;
    }

    .slider-line-doc {
        width: 1200px;
        transition: all ease 1s;
    }

    .slider-line-doc-item {
        padding: 50px 25px;
    }

    .slider-line-doc-item img {
        width: 250px;
    }

    .slider-doc .slider-line-doc-item:nth-child(0) {
        border: 1px solid #3D0102;
    }

    .map {
        margin-top: 50px;
    }

    .footer {
        gap: 30px;
    }

    .footer-logo {
        font-size: 20px;
        grid-column: 1/2;
        grid-row: 1/2;
    }

    .footer-label {
        font-size: 14px;
    }

    .footer-links {
        grid-row: 4/5;
        grid-column: 1/2;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .close {
        font-size: 50px;
        top: 30px;
        right: 30px;
    }

    .frame_modal-content-callBack .close {
        font-size: 40px;
        top: 20px;
        right: 20px;
    }

    .frame a, .frame a:active {
        font-size: 20px;
    }

    .frame a:hover {
        font-size: 20px;
    }

    @media screen and (min-width: 1024px) {
        ul {
            column-gap: 50px;
        }
    }

    @media screen and (max-width: 1378px) and (min-width: 769px) {
        .slider-line-item-text {
            justify-content: center;
        }

        .frame-3- {
            justify-content: center;
        }

        .frame-3-text {
            max-width: 100%;
            width: 100%;
        }

        .slider-line-item-2 .slider-line-item-text {
            justify-content: start;
        }

        @media screen  and (max-width: 1280px) and (min-width: 769px) {
            .frame-2- {
                justify-content: space-around;
            }

            .frame-5-content- {
                width: 100%;
            }

            .frame-5-content {
                justify-content: center;
            }

            .footer {
                gap: 20px;
            }

            .footer-div-info, .footer-div-info a {
                font-size: 14px;
            }

            .btn-form-footer {
                width: 200px;
                height: 45px;
                border-radius: 15px;
            }

            .footer-links {
                gap: 10px;
            }

            @media screen  and (max-width: 1024px) {
                .footer-div-btn {
                    display: none;
                }

                .footer-nav {
                    grid-row: 1/4;
                    grid-column: 2/4;
                }

                .footer-links {
                    grid-row: 4/5;
                    grid-column: 1/5;
                    display: flex;
                    flex-direction: row;
                    justify-content: center;
                    gap: 30px;
                }

                h1 {
                    font-size: 22px;
                    padding: 50px 0;
                }

                h1 span {
                    font-size: 28px;
                }

                h2 {
                    font-size: 28px;
                }

                h3 {
                    font-size: 24px;
                }

                h4 {
                    font-size: 22px;
                }

                .slider-line-doc-item img {
                    width: 250px;
                }

                .footer {
                    width: 100%;
                }
            }

            @media screen and (max-width: 977px) {
                .frame-5-profile-content-item {
                    width: 100%;
                    max-width: 100%;
                }
            }
        }
    }
}
