.flex-carousel-list {
    position: relative;
    display: flex;
    overflow: hidden;
    flex-direction: column;
    max-width: 1920px;
    height: 100%;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    transition: all 1s cubic-bezier(0.5,0.075,0.115,0.95);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100%;
    background-color: #FFFFFF;
}


@media (min-width: 1180px) {
    .flex-carousel-list {
        flex-direction: row;
    }
}

.flex-carousel-item {
    position: relative;
    display: block;
    min-height: 120px;
    margin: 0;
    padding: 0;
    transition: all cubic-bezier(0.5,0.075,0.115,0.95) 600ms;
    border-left: 0 solid transparent;
    background-color: rgba(0,0,0,0.5);
    cursor: pointer;
}

@media (min-width: 1180px) {
    .flex-carousel-item {
        flex-basis: 70%;
        flex-basis: calc(100% - 30%);
        flex-grow: 1;
        min-height: 300px;
    }
}

@media (min-width: 1400px) {
    .flex-carousel-item {
        min-height: 608px;
    }
}


@media (min-width: 1180px) {
    .flex-carousel-wdgt:not(.is-active) .flex-carousel-item:hover, .flex-carousel-wdgt.is-active .flex-carousel-item.current {
        flex-basis: 100%;
        flex-grow: 1;
    }
}

.flex-carousel-image {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    transition: opacity 600ms cubic-bezier(0.5,0.075,0.115,0.95) 300ms;
    opacity: 1;
    width: 100%;
    height: auto;
}

.flex-carousel-image::before {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    content: "";
    transition: opacity 600ms cubic-bezier(0.5,0.075,0.115,0.95) 300ms;
    opacity: 0.5;
    background: linear-gradient(180deg,rgba(0,0,0,0) 0%,#000000 100%),rgba(7, 26, 61, 0.5);
    mix-blend-mode: multiply;
}

@supports (color: rgb(0 0 0 / 0)) {
    .flex-carousel-image::before {
        background:linear-gradient(180deg,rgb(0 0 0 / 0) 0%,#000000 100%),rgba(7, 26, 61, 0.5);
    }
}

@media (min-width: 1180px) {
    .flex-carousel-wdgt:not(.is-active) .flex-carousel-item:hover .flex-carousel-image::before {
        opacity: 0;
    }
}

.flex-carousel-image img {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    height: 100%;
    width: 100%;
    transform: translate(-50%, -50%);
    align-items: center;
    justify-content: center;
    text-align: center;
    -o-object-fit: cover;
    object-fit: cover;    
}

@media (min-width: 1180px) {
    .flex-carousel-image img {
        height: 100%;
        max-height: none;
    }
}

.flex-carousel-content {
    position: absolute;
    top: 15px;
    bottom: 15px;
    right: 15px;
    left: 15px;
    display: flex;
    /*visibility: hidden;*/
    overflow: auto;
    flex-direction: column;
    margin: 0;
    padding: 10px;
    opacity: 1;
    border-radius: 5px;
    z-index: 2;
    transition: all 300ms cubic-bezier(0.5,0.075,0.115,0.95) 111ms;    
}

.flex-carousel-content h3 {
    color: #FFFFFF;
    transition: all 300ms cubic-bezier(0.5,0.075,0.115,0.95) 111ms;
}

.flex-carousel-item:hover .flex-carousel-content {
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 3em -0.2em rgba(7,26,61,0.15);
}

.flex-carousel-item:hover .flex-carousel-content h3 {
    color: #071920;
}

.flex-carousel-toggle {
    position: absolute;
    right: 25px;
    top: 25px;
    width: 30px;
    height: 30px;
    z-index: 3;
}

.flex-carousel-toggle:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    display: block;
    content: "\f067";
    font-size: 24px;
    text-align: center;
    line-height: 30px;
    color: #FFFFFF;
    transition: all 300ms cubic-bezier(0.5,0.075,0.115,0.95) 111ms;    
}

.flex-carousel-item:hover .flex-carousel-toggle:before {
    content: "\f068";
    color: #071920;
}

.flex-carousel-inner-content {
    visibility: hidden;
    transition: all 300ms cubic-bezier(0.5,0.075,0.115,0.95) 111ms;
}

.flex-carousel-item:hover .flex-carousel-inner-content {
    visibility: visible;
}