.text_before_items {
margin-bottom: 0px;
}

.cases__custom .tags a:first-child {
background: #1F4D64;
font-size: 16px;
    color: #fff;
    line-height: 20px;
    font-weight: 700;
box-shadow: 0 3px 32px 0 rgba(0, 0, 0, 12%);
border-radius: 8px;
margin-right: 16px;
    margin-left: 0;
}

.cases__custom .tags a:not(:first-child) {
background: #fff;
font-size: 16px;
    color: #1F4D64;
    line-height: 20px;
    font-weight: 700;
box-shadow: 0 3px 32px 0 rgba(0, 0, 0, 12%);
border-radius: 8px;
margin-right: 16px;
    margin-left: 0;
}

.cases__custom .tags a:last-child {
margin-right: 0px;
}

.cases__custom .tags a:hover {
box-shadow: 0 2px 32px 0 rgba(250, 182, 15, 12%);
}

.col-md-12.block__list, .for__list .block__list .custom {
padding: 0;
display: flex;
display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    flex-wrap: wrap;
}

.for__list .block__list .custom .item.shadow.animation-boxs.normal-block,
.for__list .block__list .custom:not(:first-child) .item.shadow.animation-boxs {
padding: 40px 48px;
    box-shadow: 0 3px 32px 0 rgba(0, 0, 0, 4%);
    border-radius: 12px;
    margin-bottom: 32px;
position: relative;
height: auto !important;
}

.banners-small.for__list  {
    padding: 0px;
}

.for__list .block__list .custom .item.shadow.animation-boxs.wide-block {
padding: 40px 48px;
    box-shadow: 0 3px 32px 0 rgba(0, 0, 0, 4%);
    border-radius: 12px;
margin-bottom: 32px;
position: relative;
    height: auto;
}

.for__list .col-md-8.custom {
/*padding: 40px 48px;
    box-shadow: 0 3px 32px 0 rgba(0, 0, 0, 4%);
    border-radius: 12px;
margin-bottom: 32px;*/
width: 864px;
margin-right: 32px;
}

.for__list .col-md-4.custom {
/*padding: 40px 48px;
    box-shadow: 0 3px 32px 0 rgba(0, 0, 0, 4%);
    border-radius: 12px;*/
width: 416px;
   /* margin-bottom: 32px;*/
}

.for__list .col-md-4.custom:nth-child(2) {
    margin-right: 0px;
}

.for__list .col-md-4.custom {
    margin-right: 32px;
}

.for__list .col-md-4.custom:nth-child(3n+2) {
    margin-right: 0px;
}

.for__list .btn-default.type__3 {
    bottom: 40px;
    position: absolute;
}

.btn-more {
height: 45px;
}

.banners-small.for__list .item .image img {
    max-width: 160px;
max-height: 80px;
}

.banners-small.for__list .item.wide-block .image {
    max-height: 428px;
        box-shadow: 0 3px 32px 0 rgba(0, 0, 0, 4%);
    border-radius: 12px;
width: 192px;
    height: 80px;
display: flex;
display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
}

.banners-small.for__list .col-md-8.custom .item .block__content h3 {
margin-bottom: 20px;
font-size: 26px;
    font-weight: 800;
    line-height: 32px;
    padding-bottom: 0;
    width: 100%;
}

.banners-small.for__list  .col-md-8.custom .item p {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
    width: 100%;
}

.banners-small.for__list .col-md-4.custom .item .image img {
    width: auto;
    max-width: 130px;
}

.banners-small.for__list .col-md-4.custom .item .image {
    max-height: 428px;
        box-shadow: 0 3px 32px 0 rgba(0, 0, 0, 4%);
    border-radius: 12px;
width: 135px;
    height: 56px;
display: flex;
display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
}

.banners-small.for__list .col-md-4.custom .item .block__content h3 {
margin-bottom: 20px;
font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    padding-bottom: 0;
    width: 100%;
}

.banners-small.for__list  .col-md-4.custom .item p {
    margin-bottom: 20px;
font-size: 20px;
font-weight: 400;
line-height: 28px;
letter-spacing: 0.02em;
    width: 100%;
}








/*OLD STYLES*/

.banners-small.blog .item .inner-item {
    padding-bottom: 0px;
}

.banners-small .item .inner-item {
    padding: 0px;
}

.blog-page .text_before_items {
    margin-bottom: 0px;
}

.blog-page .s_3.col-item .prev_text-block {
display: none;
}











/* MOBILKI */


@media (max-width: 1392px) {

.for__list .col-md-8.custom {
    width: calc(67% - 32px);
}

.for__list .col-md-4.custom:nth-child(2),
.for__list .col-md-4.custom:nth-child(5),
.for__list .col-md-4.custom:nth-child(8) {
    width: 33%;
}

.for__list .col-md-4.custom {
width: calc(33.5% - 32px);
	}



}


@media (max-width: 1060px) {

.for__list .col-md-8.custom {
    width: 100%;
margin-right: 0;
}

.for__list .col-md-4.custom:nth-child(even) {
width: calc(50% - 32px);
margin-right: 32px;
	}

.for__list .col-md-4.custom:nth-child(odd) {
width: 50%;
margin-right: 0;
	}



}





@media (max-width: 991px) {

.banners-small.for__list  .col-md-4.custom .item p {
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    width: 100%;
}

.banners-small.for__list .col-md-4.custom .item .block__content h3 {
    font-size: 22px;
    font-weight: 800;
    line-height: 27px;
    letter-spacing: 0.01em;
}

.banners-small.for__list .col-md-8.custom .item p {
    margin-bottom: 20px;
    width: 100%;
    font-size: 18px;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 0.02em;
}

.banners-small.for__list .col-md-8.custom .item p:last-child,
.banners-small.for__list .col-md-4.custom .item p:last-child {
    margin-bottom: 24px;
}

.for__list .block__list .custom .item.shadow.animation-boxs.wide-block,
.for__list .block__list .custom:not(:first-child) .item.shadow.animation-boxs {
    padding: 24px;
	}

.for__list .btn-default.type__3 {
    bottom: 24px;
}

.banners-small.for__list .col-md-4.custom .item .image img {
    height: 100%;
}

.banners-small.for__list .item .image img {
    max-width: 160px;
    max-height: 48px;
}



}



@media (max-width: 600px) {

.col-md-12.block__list, .for__list .block__list .custom {
    flex-wrap: nowrap;
    flex-direction: column;
}

.for__list .col-md-4.custom:nth-child(even) {
    width: 100%;
    margin-right: 0;
}

.for__list .col-md-4.custom:nth-child(odd) {
    width: 100%;
}

.for__list .block__list .custom .item.shadow.animation-boxs.wide-block,
.for__list .block__list .custom:not(:first-child) .item.shadow.animation-boxs {
    margin-bottom: 16px;
}


}









