.custom.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;
}

.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;
width: 100%;
position: relative;
background: #FAF6E6;
}

.for__list .col-md-8.custom {
width: 864px;
margin-right: 32px;
}

.for__list .col-md-4.custom {
width: 416px;
}

.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__1 {
    color: #fff;
    box-shadow: 0 2px 32px 0 rgba(0, 0, 0, 12%);
    border-radius: 8px;
    padding: 10px 24px 10px 24px;
font-size: 16px;
    font-weight: 700;
margin: 0 16px 0 0;
/*position: absolute;
    left: 48px;*/
}

.for__list .btn-default.type__1:hover {
box-shadow: 0 2px 32px 0 rgba(250, 182, 15, 12%);
}

.for__list .btn-more {
height: 45px;
}

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

.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;
background: #fff;
}

.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%;
}

.events .col-md-8 .date {
font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    letter-spacing: 0.01em;
    color: #F6A144;
margin-bottom: 8px;
}

.events .col-md-8 .adress {
font-size: 18px;
    font-weight: 700;
    line-height: 22px;
    letter-spacing: 0.01em;
    color: #9F9E9E;
    margin-bottom: 24px;
}

.events .col-md-4 .date {
font-size: 18px;
    font-weight: 700;
    line-height: 22px;
    letter-spacing: 0.01em;
    color: #F6A144;
margin-bottom: 8px;
}

.events .col-md-4 .adress {
font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0.01em;
    color: #9F9E9E;
    margin-bottom: 20px;
}

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

.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;
margin-bottom: 20px;
}

.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%;
margin-top: 0;
}

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

.btn-default.type__3 {
    position: absolute;
    bottom: 40px;
    background-color: transparent;
}







/*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: 1396px) {

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

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



}



@media (max-width: 1060px) {

.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;
	}

.for__list .col-md-8.custom {
width: calc(68.1% - 24px);
    margin-right: 24px;
}

.for__list .col-md-4.custom:nth-child(2) {
    width: calc(31.9%);
}

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

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

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

.for__list .col-md-4.custom:nth-child(odd) {
    width: calc(50% - 24px);
}



}



@media (max-width: 767px) {

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

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

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

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

.for__list .block__list .custom .item.shadow.animation-boxs.wide-block {
    padding: 24px;
    margin-bottom: 24px;
	}

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

.for__list .col-md-4.custom {
    width: 100%;
}

.btn-default.type__3 {
    bottom: 24px;
width: calc(100% - 48px);
}

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



}











