.section-1-csr {
    padding: 50px 0;
}

.img-banner-custom {
    margin-top: 40px;
}

.counter {
    text-align: center;
}

.counter strong {
    font-size: 60px;
}

.counter p {
    color: #172440;
    font-family: "New Hero";
    font-size: 26px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.section-2-csr {
    padding: 50px 0;
    background: #F6F9FC;
}

.section-3-csr {
    padding: 50px 0;
    background: #fff;
}
.row_posts_csr{
    overflow: hidden;
}
.box_s3_csr::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.4);
}

.box_s3_csr:hover {
    background-size: 120% 120% !important;
    transition: 1s all;
}

.box_s3_csr {
    overflow: hidden;
    transition: .5s all;
    background-size: 100% 100% !important;
    width: 100%;
    height: 100%;
    min-height: 480px;
    position: relative;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-bottom: 30px;
}

.cta_csr_box {
    position: absolute;
    bottom: 0px;
    right: 0px;
    z-index: 1;
}

.title_csr_box {
    font-family: New Hero;
    font-weight: 600;
    font-size: 24px;
    line-height: 100%;
    color: #fff;
    margin: 0 0 10px;
    position: relative;
    z-index: 1;
}

.text_csr_box {
    color: #fff;
    font-family: New Hero;
    font-weight: 400;
    font-size: 16px;
    line-height: 27px;
    position: relative;
    z-index: 1;
    padding-right: 60px;
}

.box-section-parteneri-home {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    text-align: center;
    border: 1px solid #EBEDF0;
    background: #FFF;
    padding: 0 15px;
    flex-direction: column;
}

.name-parteneri {
    color: #3B393C;
    text-align: center;
    font-family: "New Hero";
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin: 40px 0 10px;
    min-height: 90px;
}

.type-parteneri {
    color: #172440;
    font-family: "New Hero";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    padding: 5px 12px;
    background: #F6F9FC;
}

.swiper-container,
.swiper-container-2 {
    overflow: hidden;
    position: relative;
}

.btn_to_media {
    color: #E60026;
    text-align: center;
    font-family: "New Hero";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    position: relative;
    background: #fff;
    text-decoration: none;
}

.btn_to_media::after {
    content: '';
    background: #E60026;
    width: 28px;
    height: 1.5px;
    position: absolute;
    top: calc(50% - 0.5px);
    right: -35px;
    display: block;
    transition: .25s all;
    opacity: .6
}

.section-4-csr {
    padding: 50px 0;
}

.post-item {
    padding: 0;
}

.post-thumbnail {
    position: relative;
    width: 100%;
    min-height: 320px;
    max-height: 320px;
    overflow: hidden;
}


@media screen and (max-width:1600px) {
    .post-thumbnail {
        min-height: 320px;
        max-height: 320px;
    }
}

.post-thumbnail img {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    width: 100%;
    height: auto !important;
    transition: .5s all;
    max-width: fit-content;
    min-height: 350px;
    width: auto;
}

.post-item:hover .post-thumbnail img {
    transform: translate(-50%, -50%) scale(1.1);
    transition: .5s all;
}

@media screen and (max-width:991px) {
    .post-item:hover .post-thumbnail img {
        transform: translate(-50%, -50%) scale(1);
    }
}

.post-details {
    padding: 0 20px;
}

.post-category {
    margin: 20px 0px 0;
}

.post-category span {
    color: #5C5F66;
    text-align: center;
    font-family: "New Hero";
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    display: inline-block;
    margin-right: 5px;
    padding: 5px;
    border: 1px solid #5C5F66;
}
@media screen and (max-width:991px){
    .post-category span{
        margin: 5px;
    }
}
.post-title a {
    color: #3B393C !important;
    font-family: "New Hero";
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.post-title a:hover {
    text-decoration: none;
}

h2.post-title {
    margin: 10px 0 0;
    font-size: 20px;
    color: #3B393C !important;
    font-family: "New Hero";
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.csr_post::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.4);
}

.csr_post {
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    margin-bottom: 10px;
    padding: 30px;
    transform: scale(1);
    transition: .5s all;
    position: relative;
}

.csr_post:hover {
    transform: scale(1.01);
    transition: .5s all;
}

.csr_post a h4 {
    font-family: New Hero;
    font-weight: 600;
    font-size: 24px;
    line-height: 100%;
    margin: 0;
}

.section-3-csr .col-md-3 {
    overflow: hidden;
}

.csr_post a span::after {
    content: '';
    width: 20px;
    height: 2px;
    right: -30px;
    top: calc(50% - 1px);
    background: #fff;
    position: absolute;
}

.csr_post a span {
    position: relative
}

.csr_post a {
    font-family: New Hero;
    font-weight: 500;
    font-size: 16px;
    line-height: 1 !important;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none !important;
    margin: 0;
}

.section-4-csr .row {
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
}

.section-4-csr .fadeInRight {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding-right: 60px;
}

.mt-20 {
    margin-top: 20px;
}

#thumbnail-gallery {
    margin-top: 20px
}

#thumbnail-interior-gallery .swiper-slide img,
#thumbnail-gallery .swiper-slide img {
    cursor: pointer;
    width: 100%;
    height: auto
}

#thumbnail-gallery {
    display: inline-block;
    width: 100%;
    overflow: hidden;
}

#thumbnail-gallery {
    margin-top: 20px;
}

.main-gallery,
#interior-gallery,
#thumbnail-interior-gallery,
#thumbnail-gallery {
    display: inline-block;
    width: 100%;
    overflow: hidden;
}

#exterior-gallery {
    margin-top: 0;
    position: relative;
}

#thumbnail-gallery .swiper-slide {
    filter: grayscale(100%);
}

#thumbnail-gallery .swiper-slide.swiper-slide-active {
    filter: none;
}

@media screen and (min-width: 992px) {
    .main-interior-gallery .swiper-slide,
    .main-gallery .swiper-slide {
        /* min-height: 720px; */
        max-height: 720px;
        overflow: hidden;
    }
}

@media screen and (max-width: 991px) {
    #interior-gallery .swiper-slide,
    #exterior-gallery .swiper-slide {
        min-height: 320px;
        max-height: 320px;
        overflow: hidden;
        position: relative;
    }
    #exterior-gallery {
        margin-top: 20px;
    }
    #thumbnail-gallery {
        margin-top: 0 !important;
    }
    #thumbnail-interior-gallery .swiper-slide img,
    #thumbnail-gallery .swiper-slide img {
        cursor: pointer;
        width: 100%;
        height: auto;
    }
    #interior-gallery .swiper-slide img,
    #exterior-gallery .swiper-slide img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        max-width: fit-content;
        min-height: 320px;
        max-height: 320px;
        width: auto;
    }
}

@media screen and (min-width:992px) {
    .section-2-csr .row {
        display: flex;
        align-items: center;
    }
}

.section-3-category-csr {
    padding: 50px 0;
}

.section-4-category-csr {
    padding: 0 0 50px;
}

@media screen and (max-width:991px) {
    .counter .col-xs-12 {
        margin-bottom: 30px;
    }
    .counter p {
        font-size: 24px;
    }
    .counter strong {
        font-size: 36px;
    }
    .section-4-csr .row {
        flex-direction: column;
    }
    .section-4-csr .fadeInRight {
        align-items: flex-start;
        justify-content: flex-start;
    }
    .section-2-csr,
    .section-3-csr {
        padding-bottom: 0;
    }
    .box_s3_csr,
    .box_s3_csr:hover {
        background-size: cover !important;
    }
    .section-4-csr{
        padding-bottom: 15px;
    }
    .back-bottom{
        top: -40px
    }
}

.section-parteneri-home {
    padding-bottom: 50px;
}
.button_custom {
    color: #fff;
    padding: 10px 20px;
    background: #E60026;
    font-family: "New Hero";
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-block;
     border: 1px solid #E60026;
    transition: .5s all;
}
.button_custom:hover {
    text-decoration: none;
    background: #fff;
    color: #E60026;
    border: 1px solid #E60026;
    transition: .5s all;
}
.title-general-custom {
    color: #172440;
    font-family: "New Hero";
    font-size: 26px;
    font-style: normal;
    line-height: normal;
    position: relative;
    margin: 0 0 20px;
}

.studiu_section-csr .row {
    display: flex;
    align-items: center;
}

@media screen and (max-width: 991px) {
    .studiu_section-csr .row .fadeInRight {
        order: -1;
        margin-bottom: 20px;
    }
    .studiu_section-csr .row {
        display: flex;
        align-items: center;
        flex-direction: column;
    }
}