.img-content.foox-05 {
    position: relative;
}

.img-content.foox-05 {
    line-height: 0;
    overflow: hidden;
}

.img-content.foox-05 .bg {
    position: absolute;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    top: 5px;
    left: 5px;
    background: #eaeaea;
    z-index: 0;
}

.img-content.foox-05:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 50%;
    top: 0;
    left: 0;
    background: url(img/mask01.png) no-repeat;
    background-size: 100%;
    z-index: 1;
}

.img-content.foox-05 img {
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateX(30px);
    transition: .3s;
}

.about-content.active-top .img-content.foox-05 img {
    opacity: 1;
    transform: translateX(0);
    transition: .3s;
}

.img-content.foox-05:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 50%;
    bottom: 0;
    left: 0;
    background: url(img/mask02.png) no-repeat;
    background-size: 100%;
    z-index: 3;
}

.img-content.foox-03 {
    transform: scale(1.23);
    transform-origin: right bottom;
    position: relative;
    bottom: -70px;
    opacity: 0;
    transition: .2s;
}

.active-top .img-content.foox-03 {
    transform: scale(1.28);
    transform-origin: right bottom;
    bottom: 0;
    opacity: 1;
    transition: .2s;
}

/* Carousel */

.owl-carousel .owl-stage {
    display: flex;
    flex-flow: wrap;
}

.carousel {
    height: 100%;
}

.carousel > .row {
    height: 100%;
    padding: 0;
    margin: 0;
}

.carousel-content .col-12 {
    overflow: hidden;
}

.carousel-content .carousel-img {
    background-position: center !important;
    background-size: cover !important;
    transform: scale(1.1);
    transition: .2s;
}

.carousel-content.active-top .carousel-img {
    transform: scale(1.0);
    transition: .3s;
}

.carousel-content .owl-nav {
    position: absolute;
    bottom: 0;
    z-index: 1;
    display: flex;
    justify-content: center;
    width: 100%;
}

.carousel-content button.owl-prev {
    display: block !important;
    appearance: none !important;
    background: #fa5a06 !important;
    color: #fff !important;
    border-radius: 0!important;
    padding: 13px 0!important;
    letter-spacing: 1px!important;
    font-weight: inherit!important;
    font-weight: 600 !important;
    width: 130px !important;
}

.carousel-content button.owl-prev:hover {
    background: #fa5a06 !important;
    color: #fff !important;
}


.carousel-content button.owl-next {
    display: block !important;
    appearance: none !important;
    background: #fff !important;
    color: #fa5a06 !important;
    border-radius: 0!important;
    padding: 13px 0!important;
    letter-spacing: 1px!important;
    font-weight: inherit!important;
    font-weight: 600 !important;
    width: 130px !important;
}

.carousel-content button.owl-next:hover {
    background: #406573 !important;
    color: #fff !important;
}

.carousel-content .inner {
    transform: translateY(100px);
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    transition-delay: .1s;
}

.carousel-content .active .inner {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition: .5s;
    transition-delay: .5s;
}

.carousel-content .inner p {
    text-align: justify;
}

.carousel-content .mh-img {
    min-height: 260px;
}


/* Teaser */

.teaser {
    display: block;
    background: none;
}

.teaser .img {
    width: calc(100% - 20px);
    line-height: 0;
    transition: .2s;
    overflow: hidden;
    border-radius: 20px;
}

.teaser.active .img,
.teaser:hover .img {
    width: 100%;
    transition: .2s;
}

.teaser .img img {
    transform: scale(1.0);
    transition: .2s;
    border-radius: 20px;
}

.teaser.active .img img,
.teaser:hover .img img {
    transform: scale(1.15);
    transition: .2s;
    border-radius: 20px;
}

.teaser .inner {
    background: #fa5a06;
    padding: 20px;
    color: #fff;
    margin-left: 20px;
    position: relative;
    z-index: 2;
    margin-top: -20px;
    border-radius: 0 20px 20px 20px;
    transition: .2s;
}

.teaser.active .inner,
.teaser:hover .inner {
    background: #eaeaea;
    color: #406573;
    padding: 30px;
    margin-left: 0;
    border-radius: 0 0 20px 20px;
    margin-top: -55px;
    transition: .2s;
}

.teaser .inner h4 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
}

.teaser .inner p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4; 
    -webkit-box-orient: vertical;
}


/* Newsletter */

.newsletter-content:before {
    position: absolute;
    content: "";
    width: 100%;
    height: calc(100% - 40px);
    left: 0;
    bottom: 0;
    opacity: .8;
    background: url(img/bg-background.png) no-repeat;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.newsletter-content:after {
    content: "";
    position: absolute;
    width: 100%;
    height: calc(100% - 40px);
    left: 0;
    bottom: 0;
    background: #eaeaea;
    z-index: 0;
}




/* Prefooter */

.prefooter-content {
    background: #406573;
}

.prefooter-content h4 {
    border-bottom: 1px solid #6d8a95;
    padding-bottom: 10px;
}

.prefooter-content i {
    color: #fa5a06;;
}

.social-link a {
    background: #fa5a06;
    color: #fff;
    margin-right: 5px;
    margin-top: 5px;
    display: inline-block;
    width: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 26px;
    border-radius: 50%;
}

.social-link a:last-child {
    margin-right: 0;
}

.social-link a i {
    color: #fff !important;
}

.social-link a:hover {
    background: #d26004 !important;
}

footer {
    background: #444;
    font-size: 12px;
}