/* template: branches */
.branches {
    display: flex;
    flex-direction: column;
}
.branches .branche {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    border-bottom: 4px solid #f2f2f1;
}
.branches .branche:last-of-type {
    border-bottom: none;
}
.branches .branche .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 160px;
    background-color: #e84242;
    background-image: url("../../images/icons/kepser-stripes-white.svg");
    background-position: 0 28px;
    background-size: 28px;
    background-repeat: no-repeat;
}
.branches .branche .icon svg {
    width: 75%;
    fill: #fff;
}
.branches .branche .content {
    margin: 0;
    padding: 0;
    padding-bottom: 60px;
    width: 75%;
    max-height: 165px;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
}
.branches .branche .content.transition {
    transition: all ease 1.5s;
}
.branches .branche .content.active {
    max-height: 2000px;
}
.branches .branche .content h2 {
    margin: 15px 0 10px 0;
    font-family: metronic-slab;
    font-size: 2em;
    color: #e84242;
    font-weight: 400;
}
.branches .branche .content p {}
.branches .branche .arrow-down {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-top: -60px;
    width: 100%;
    height: 60px;
    pointer-events: none;
    background-color: #fff;
}
.branches .branche .arrow-down svg {
    display: block;
    width: 40px;
    height: 40px;
    fill: #00565d;
}
.branches .branche .content:hover + .arrow-down svg {
    fill: #e84242;
}
.branches .branche .content.active + .arrow-down svg {
    transform: rotate(180deg);
}
.branches-cases { }
.branches-cases .row.home--carousel { }
.branches-cases .row.home--carousel .home--carousel-owl .home--slide .content { position: absolute; top: 100px; left: 0; right: 0; margin: 0 auto; z-index: 2; }
.branches-cases .row.home--carousel .home--carousel-owl .home--slide .content .case-slide-title { font-size: 2.5em; padding: 25px 30px 35px 40px; padding-right: 50px; max-width: 650px; min-height: 0; }
.branches-cases .row.home--carousel .home--carousel-owl .home--slide .content .case-slide-title .stripes { top: 27px; width: 40px; height: 40px; }
.branches-cases .row.home--carousel .home--carousel-owl .home--slide .content .case-slide-content { margin: 0; max-width: 650px; box-sizing: border-box; background-color: #fff; }
.branches-cases .row.home--carousel .home--carousel-owl .home--slide .content .case-slide-content p.more a { padding: 20px 40px 22px 40px; text-decoration: underline!important; }
.branches-cases .row.home--carousel .home--carousel-owl .home--slide .content .case-slide-content p.more a:hover { color: #00565d!important; text-decoration: none!important; }
.branches-cases .row.home--carousel .home--carousel-owl .home--slide .content .case-slide-content p.more a:hover svg { fill: #00565d!important; }


/* responsive-ness */
@media screen and (max-width: 1465px) and (min-width: 600px) {
    .branches-cases .row.home--carousel .home--carousel-owl .home--slide .content {
        left: 8%;
    }
    .branches-cases .row.home--carousel .home--carousel-owl .home--slide .content .case-slide-title,
    .branches-cases .row.home--carousel .home--carousel-owl .home--slide .content .case-slide-content {
        max-width: 50%;
    }
}
@media screen and (max-width: 600px) {
    /* template: branches */
    .branches .branche {
        padding: 60px 0 50px 0;
    }
    .branches .branche:first-of-type {
        padding-top: 30px;
    }
    .branches .branche .content {
        width: 100%;
    }
    .branches .branche .content h2 {
        margin: 25px 0 20px 0;
        font-size: 1.8em;
        line-height: 1.2;
    }
    .branches .branche .arrow-down svg {
        fill: #00565d !important;
    }
    
    .branches-cases .row.home--carousel {
        padding-bottom: 20px;
        min-height: 0;
    }
    .branches-cases .row.home--carousel .home--carousel-owl .home--slide .content {
        position: relative;
        top: -15px;
    }
    .branches-cases .row.home--carousel .home--carousel-owl .home--slide .content .case-slide-title {
        padding: 25px 30px 30px 30px;
        font-size: 1.5em;
        min-height: 130px;
    }
    .branches-cases .row.home--carousel .home--carousel-owl .home--slide .content .case-slide-title .stripes {
        top: 24px;
        width: 28px;
        height: 28px;
    }
    .branches-cases .row.home--carousel .home--carousel-owl .home--slide .content .case-slide-content p.more a {
        padding: 16px 10px 18px 30px;
        font-size: 14px!important;
    }
    .branches-cases .row.home--carousel .home--carousel-owl .home--slide .content .case-slide-content p.more p.more svg {
        width: 16px;
        height: 16px;
        transform: translateY(4px);
    }

}