@media screen and (min-width: 1040px) {

.header_content h1 {
    max-width: 70%;
}

}



.crumb span[onclick] {
    cursor: pointer;
}

.form-message {
    padding: 12px 15px;
    margin: 15px 0;
    border-radius: 5px;
    font-size: 14px;
    line-height: 1.4;
}

.form-message-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.btn_form:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.in_3 {
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}


.in_3 .in_style {
    width: calc(33% - 10px);
}


.expertiza_list li:hover {
    border-bottom: 2px solid rgba(114, 38, 43, 1) !important;
}

.expertiza_list li:hover .el__logo {
    opacity: 1 !important;
        display:  flex !important;
}



.expertiza_list li:hover .el__logo {
    opacity: 1 !important;
        display:  flex !important;
}




.expertiza_list li .el__logo {
    opacity: 0;
}



.kcp__list_content_public > li {
    display: flex;
    flex-direction: column;
}

.kcp__list_content_public_text {
    flex-grow: 1;
}

.mlc__read {
    margin-top: auto;
}






/* Выравнивание высоты карточек партнёров */
.kcp__partner.kcp__partner2 > li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Ссылка на юриста - растягиваем на всю высоту */
.kcp__partner.kcp__partner2 > li > a:first-child {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
}

/* Контейнер с аватаркой */
.kcp__partner.kcp__partner2 .kci_yuorist_ava {
    flex-shrink: 0;
}

/* Имя и должность - растягиваемся */
.kcp__partner.kcp__partner2 .kci_yuorist_name {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Email - прижимаем вниз, бордер по ширине текста */
.kcp__partner.kcp__partner2 > li > a.kcp__partner_mail {
    margin-top: auto;
    display: inline-block;
    width: auto;
    align-self: flex-start;
    border-bottom: 1px solid #72262B;
}




.case .line_v {
    display: none !important;
}


.header_video {
    margin-left: -30px;
}










@media screen and (min-width: 1460px) {


.ysl.plr .ysl_list > li:nth-child(8) {
    display: none !IMPORTANT;
}

}









.ysl_item:hover .ysl_item_text {
    max-height: 155px !important;
    overflow: hidden !important;
}




.accordion > li:before {

    background: url(/img/down.svg)  !important;

}


@media screen and (min-width: 1460px) {
    .ysl .line_v:before {
        /* width: 0.5px !important; */
        left: 48% !important; 
    }
}


@media (min-width: 1460px) and (max-width: 1140px) {

}




@media screen and (min-width: 721px) {
ul.case_list li .cl__inner {
    display: block !important;
    transition: none !important;
    animation: none !important;
    margin: 0px !important;
    padding: 0px !important;
    height: auto !important;
}

}




@media (min-width: 721px) and (max-width: 1140px) {
ul.resheny_list  .resheny_item{
height: 220px !important;


min-height: 220px !important;

	}

}





@media (min-width: 1140px) and (max-width: 1460px) {
ul.resheny_list  .resheny_item{
height: 260px !important;

min-height: 260px !important;

	}

}


@media screen and (min-width: 1460px) {
ul.resheny_list  .resheny_item{
height: 300px !important;


min-height: 300px !important;

	}
}



h1.homeh11 {
    max-width: 100% !important;
    width: 100% !important;

}


h1 {

    line-height: 110.00000000000001% !important;
    letter-spacing: -2% !important;
}



@media screen and (min-width: 1040px) {

.resheny_list > li:nth-child(2) {

    right: 50px !important;
    position: relative;
}
.resheny_list > li:nth-child(1) {
    left: 50px !important;
    position: relative;
}

.resheny_list > li:nth-child(3) {
    left: 50px !important;
    position: relative;
}

}

@media screen and (min-width: 1600px) {
h1.homeh11 {
    margin-left: 10px;
}
}

@media screen and (min-width: 1920px) {
    .header_video {
         width: calc(100% + (100vw - 1780px) / 2);
    }
}

/*
@media screen and (min-width: 1800px) {

.headerhomee {
    padding-right: 0px !important;
}

.headerhomee .wmain {
    margin-right: 0px !important;
    width: 100vw !important;
    float: left;
    max-width: 100% !important;
}

}
*/

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


.expertiza_list li.act .el__logo {
    opacity: 1 !important;
      display: flex !important;
}
}

@media (min-width: 1140px) and (max-width: 1460px) {




    .media_list > li {
        display: block;
        width: 33.3333333333%;
        padding-left: 20px;
        margin-bottom: 60px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }


    .praktik.plr .ysl_list > li {
        width: 33.3333% !important;
    }


}









.el__logo img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}


@media screen and (min-width: 721px) {
.mobhide{
   display: none !important;
	}




.header .header_content {

    padding-bottom: 50px !important;
}



}

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


.ysl.plr .line.line_r {
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
}


.resheny_content {
    min-height: 300px;
}

.header .header_content {

    padding-bottom: 30px !important;
}


.cl__tag span {
    /* word-wrap: unset !important; */
    /* overflow-wrap: break-word; */
    word-break: break-all !important;
}


.komanda_list > li:nth-last-child(2) {
    display: none !important;
}

.komanda_list > li:nth-last-child(1) a span b {
    font-weight: normal !important;
}
.desknoshow{
opacity: 0 !important;
	}
.deskhide{
   display: none !important;
	}

.accordion > li:before {

    width: 28px;
    height: 28px;
    background-size: contain !important;
}


.ysl.plr .ysl_item {
    padding: 15px !important;
}

.komanda_list > li:nth-last-child(1) {
    display: none !important;
}
/*
.komanda_list > li:nth-last-child(1) {
 display: block !important;
}

.komanda_list > li:nth-last-child(1) a{
border: none;
    text-decoration: none;
    cursor: pointer;
    height: 65px;
    font-size: 18px;
    line-height: 120%;
    font-weight: 500;
    display: inline-flex;
    padding-left: 53px;
    padding-right: 53px;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    background-color: #72262B;
    color: #fff;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.komanda_list > li:nth-last-child(1) a span {
    margin: 0px !important;
}

.komanda_list > li:nth-last-child(1) a span {
    margin: 0px !important;
    color: white !important;
    width: auto !important;
    height: auto;
    padding: 0px !important;
}

.komanda_list > li:nth-last-child(1) a * {
    border: 0px !important;
}

.komanda_list > li:nth-last-child(1) a span * {
    margin: 0px !important;
    color: white !important;
    width: auto !important;
    height: auto;
    padding: 0px !important;
}
*/
.case.plr .cl__tag {
    margin-bottom: 30px;
}

/*
.komanda_list > li:nth-last-child(1) a {
    padding: 0px !important;
    height: 55px;
    width: 220px;
}
.komanda_list > li:nth-last-child(1) a i {
    display: none !important;
}
*/
.resheny_list > li:nth-child(3n) .ri__text {
    display: block;
}
a.ysl_all {
    max-height: 55px !important;
    width: 220px !important;
    text-decoration: none !important;
}

.ysl_list > li {
    min-height: 55px !important;
}

.ysl_list3 + .line_v {
    left: 0% !important;
    width: 17px;

    position: relative;
    left: -10px !important;
}

a.ysl_all span {
    border: 0px !important;
}

.ysl_item {
    max-height: 130px !important;
}



.ysl_item_ico {
    max-width: 20px;
    max-height: 20px;
}
.ysl.plr {
    margin-top: 57px !important;
}

.reshenye {
    padding-top: 57px !important;
}

.reshenye .tm_dop {


    font-size: 22px;

    line-height: 114.99999999999999%;

}
.ysl_item_text {
    display: none !important;
}


.el__logo img {

    mix-blend-mode: multiply !important;
    filter: contrast(1) !important;
    transform: translate3d(0, 0, 0) !important;
    -webkit-backface-visibility: visible !important;
}

}



    .case_item:before {

        background: url(/img/down.svg) !important;
    background-size: contain !important;
	}


@media (min-width: 411px) and (max-width: 720px) {
resheny_video {
        top: 50px !important;
	}
}



@media (min-width: 881px) and (max-width: 1460px) {
.header_video video {
    margin-bottom: -50px  !important;
}
}



@media (min-width: 250px) and (max-width: 549px) {
.header_video video {
    margin-bottom: -100px  !important;
}
}





@media (min-width: 550px) and (max-width: 881px) {
.header_video video {
    margin-bottom: -150px  !important;
}
}


@media (min-width: 641px) and (max-width: 821px) {


    .case {
 

    }
}


@media (min-width: 641px) and (max-width: 1000px) {
.case.plr .line.line_v::before {
    width: 0.5px !important;
    background-color: #000000 !important;
}
.case.plr .line.line_v {
    display: block !important;
    top: -10px !important;
}
    .case {
 padding-bottom: 0px !important;

    }
.case.plr .line.line_v::before {
    width: 0.5px !important;
}

.case.plr .line.line_v span {
    margin-left: 3px;
    /* margin-right: 0px !important; */
}

}


@media (min-width: 1460px) and (max-width: 1700px) {

.komanda_list_main {
        background: url(/img/komanda_line_1440.svg) no-repeat 66% top;
    background-size: auto !important;
}
}


@media screen and (min-width: 1460px) {


.case.plr {
    padding-bottom: 200px;
}

h1.homeh11 {
    margin-top: -20% !important;
}

}

@media screen and (max-width: 1100px) {
.case_list_main .case_item {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.case_list_main .case_item .cl__t {
    flex: 0 0 auto;
}

.case_list_main .case_item .cl__inner {
    flex: 0 0 auto;
    margin-top: 0;
flex: 1;
}
.cl__tag {
    margin-bottom: 30px;
}
.expertiza_list > li:not(:hover) {
    height: 85px;
}

}

@media screen and (min-width: 1100px) {



.cl__tag {
    margin-bottom: 112px;
}

.case_list_main .case_item {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.case_list_main .case_item .cl__t {
    flex: 0 0 auto;
}
.case_list_main .case_item .cl__inner {
    flex: 0 0 auto;
    margin-top: 0;

}




ul.expertiza_list li img {
    max-height: 81px !important;
}
ul.expertiza_list li {
    height: 81px !important;
}
}


@media screen and (min-width: 1700px) {




#team-trigger .komanda_list_main {
        background: url(/img/komanda_line_1920.svg) no-repeat 66% top;
    background-size: auto !important;
}

}








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




.komanda_list_main {
    background: url(/img/komanda_line_375.svg) no-repeat 100% 49%;
    background-size: auto !important;
}

}



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




.case_list_main li:not(.act) .cl__tag {
    margin-bottom: 0px !important;
}

.case_list_main li:last-child .cl__tag {
    margin-bottom: 30px !important;
}



.case_list_main {
    border-bottom: 1px solid var(--c1) !important;
    padding-bottom: 10px !important;
}

a.pp_all_new.show480 {
    margin-top: 36px;
}

.hide480{
display:none !important;
	}

}


@media screen and (min-width: 480px) {
.hide480{

	}

a.pp_all_new.show480{
display:none !important;
	}

}



@media screen and (max-width: 641px) {
    .komanda_content_inner .komanda_list > li {
        width: 50%;
    }




.komanda_content_inner .komanda_list > li {

    padding-left: 20px;

}

 }

@media screen and (max-width: 480px) {
.komanda_content.komanda_content_in.plr {
    margin-top: 30px;
}
}

@media screen and (max-width: 600px) {
    .zayavka {
        margin-top: 100px !important;
    }
}

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



div#cases_container .pag {
    margin-top: 110px;
}



.komanda_list_mob .line_v:before {
    height: 300px;
    top: auto;
    bottom: 0;
}





ul#team_list li.team-item {
    order: initial !important;
}

.case_list_main .case_list > li.act ul.cl__inner {
    display: block !important;
}

#team-trigger .komanda_list > li:nth-child(7) img {
    max-width: 50%;
}

#team-trigger .komanda_list > li:nth-child(7) {
    width: 100%;
}

#team-trigger .komanda_list > li:nth-child(8) {
    display: none !important;
}



#team-trigger .komanda_list_mob .line_v {
   top: 14px !important;

	}




    .resheny_video {
             top: -10px;
        mix-blend-mode: multiply !important;
        filter: contrast(1) !important;
        transform: translate3d(0, 0, 0) !important;
        -webkit-backface-visibility: visible !important;

}


div#animation-trigger ul.resheny_list {
    /* margin-top: 50px; */
margin-bottom: 30px;
        position: relative;
        top: 15px;
}

.case_list_main .case_list > li:first-child .case_item .cl__inner {

}



}



video {
    -webkit-playsinline: true;
    object-fit: cover;
}

.header_video video,
.resheny_video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none; /* чтобы тап по видео не открывал полноэкранный плеер */
}



.resheny_item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.resheny_item.plashka-visible {
    opacity: 1;
    transform: translateY(0);
}

.resheny_item:not(.plashka-visible) {
    opacity: 0 !important;
    transform: translateY(40px) !important;
}
.resheny_item.plashka-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: opacity 0.6s ease, transform 0.6s ease;
}










.nm__item-row {
    padding-bottom: 15px;
}

.nm__submenu {
    padding-left: 15px !important;
}

    .nm__item-row {
        display: flex;
        align-items: center;
   justify-content: flex-start !important;
    }
    .nm__toggle {
        cursor: pointer;
        padding: 4px 8px;
        display: inline-flex;
        align-items: center;
    }
    .nm__arrow {
        transition: transform .25s ease;
    }
    .nm__item--open > .nm__item-row .nm__arrow {
        transform: rotate(180deg);
    }
    .nm__submenu {
        padding-left: 15px;
    }





.hl_nav .hl_nav__item + .hl_nav__item{
margin-left: 35px;

}

    .hl_nav__item-row,
    .hl_nav__row {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .hl_nav__toggle {
        display: inline-flex;
        align-items: center;
        padding: 4px 8px;
        pointer-events: none; /* стрелка не перехватывает hover родителя */
    }

    .hl_nav__arrow {
        transition: transform .25s ease;
    }

    /* Стрелка вверх при открытом подменю */
    .hl_nav__item--open > .hl_nav__row .hl_nav__arrow {
        transform: rotate(180deg);
    }

    .hl_nav__submenu {
        display: none;

    }


.hl_nav {
    height: 100% !important;
    /* display: block; */
}

.hl_nav__item {
    height: 100% !important;

    display: flex;
    align-items: center;
}
.hl_nav__submenu .hl_nav__item {
    margin-left: 0px !IMPORTANT;
    margin-bottom: 15px;
}

.hl_nav__submenu .hl_nav__item:last-child {
    margin-bottom: 0px !important;
}
    /* Открываем подменю при наведении на родителя */
.hl_nav__item--has-children:hover > .hl_nav__submenu {
    display: block;
    position: absolute;
    top: 100px;
margin-left: -30px;
    padding: 30px 40px;
    background: white;
    border-top: 1px solid black;
}
    .hl_nav__item--has-children:hover > .hl_nav__row .hl_nav__arrow {
        transform: rotate(180deg);
    }












@media screen and (min-width: 1000px) {
    .kcp__list_content .case_list {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        cursor: grab;
        user-select: none;
        -webkit-user-select: none;
        scroll-behavior: smooth;
        /* Скрыть скроллбар (по желанию) */
        scrollbar-width: none;      /* Firefox */
        -ms-overflow-style: none;   /* IE/Edge */
    }

    .kcp__list_content .case_list::-webkit-scrollbar {
        display: none;              /* Chrome/Safari */
    }

    .kcp__list_content .case_list li {
        min-width: 530px;
        flex: 0 0 auto;
    }

    /* Состояние при зажатой кнопке */
    .kcp__list_content .case_list.is-dragging {
        cursor: grabbing;
        scroll-behavior: auto;      /* отключаем smooth, чтобы не дёргалось */
    }

    /* Чтобы ссылки/текст внутри не выделялись при перетаскивании */
    .kcp__list_content .case_list.is-dragging * {
        pointer-events: none;
    }
}




.komanda_content_page .kcp__card_l {

    justify-content: start !important;

}

@media screen and (min-width: 721px) {

.komanda_content_page .kcp__card_l {
    max-width: calc(100% - 320px) !important;
}
}

.komanda_content_inner .kcp__card_r img {
    min-width: 320px;
}