
.tc-flawless-style5 {
    position: relative;
    padding: 200px 0 100px;
}

.mb-120 {
    margin-bottom: 120px !important;
}

.fw-400 {
    font-weight: 400 !important;
}

.fsz-70 {
    font-size: 70px !important;
}

.tc-flawless-style5 .flawless .flex-accordion {
    width: 100%;
    height: 650px;
    overflow: hidden;
}

.tc-flawless-style5 .flawless .flex-accordion .acc-list {
    height: 100%;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.tc-flawless-style5 .flawless .flex-accordion .acc-list .acc-li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    position: relative;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
}

.tc-flawless-style5 .flawless .flex-accordion .acc-list .acc-li.is-open {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -webkit-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
    -webkit-filter: grayscale(0);
    filter: grayscale(0);
}

.tc-flawless-style5 .flawless .flex-accordion .acc-list .acc-li:not(.is-open) {
    width: 100px;
}

.tc-flawless-style5 .flawless .flex-accordion .acc-list .acc-li.is-open .bg {
    -webkit-filter: brightness(1);
    filter: brightness(1);
}

.tc-flawless-style5 .flawless .flex-accordion .acc-list .acc-li .bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -webkit-filter: brightness(0.4);
    filter: brightness(0.4);
    -webkit-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

.tc-flawless-style5 .flawless .flex-accordion .acc-list .acc-li .panel-inner {
    background-repeat: no-repeat;
    background-position: center center;
    overflow: hidden;
    display: inline-block;
    height: 100%;
    width: 100%;
    position: relative;
    z-index: 3;
}

.tc-flawless-style5 .flawless .flex-accordion .acc-list .acc-li .panel-inner .acc-title {
    width: 110px;
    height: 100%;
    position: relative;
    padding: 40px 15px;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.tc-flawless-style5 .flawless .flex-accordion .acc-list .acc-li.is-open .panel-inner .acc-title {
    cursor: inherit;
}

.tc-flawless-style5 .flawless .flex-accordion .acc-list .acc-li.is-open .panel-inner .acc-title {
    cursor: inherit;
}

.tc-flawless-style5 .flawless .flex-accordion .acc-list .acc-li .panel-inner .acc-body {
    position: absolute;
    top: 0;
    left: 110px;
    width: calc(100% - 110px);
    height: 100%;
    -webkit-transform: scale(0.9);
    -ms-transform: scale(0.9);
    transform: scale(0.9);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.tc-flawless-style5 .flawless .flex-accordion .acc-list .acc-li.is-open .panel-inner .acc-body {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1;
    visibility: visible;
}

.tc-flawless-style5 .flawless .flex-accordion .acc-list .acc-li .panel-inner .acc-title .numb {
    font-size: 32px;
    line-height: 1;
    color: #fff;
}

.tc-flawless-style5 .flawless .flex-accordion .acc-list .acc-li .panel-inner .acc-title .txt {
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    -webkit-transform: rotate(-90deg) translateY(40px);
    -ms-transform: rotate(-90deg) translateY(40px);
    transform: rotate(-90deg) translateY(40px);
    -webkit-transform-origin: left;
    -ms-transform-origin: left;
    transform-origin: left;
    text-align: start;
    color: #fff;
    white-space: nowrap;
}

.tc-flawless-style5 .flawless .flex-accordion .acc-list .acc-li .panel-inner .acc-body .text-title {
    font-size: 20px;
    line-height: 36px;
    font-weight: 500;
    color: #fff;
    position: absolute;
    right: 0;
    top: 0;
    padding: 10px 20px;
    background-color: #000;
}

.tc-flawless-style5 .flawless .flex-accordion .acc-list .acc-li .panel-inner .acc-body .float-arrow {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: rgba(162, 162, 162, 0.75);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 50px;
    color: #fff;
    position: absolute;
    left: calc(50% - 60px);
    top: calc(50% - 60px);
    transition: background-color .4s ease-in-out;
}


.panel-inner {
    position: relative; /* Needed so the pseudo-element is positioned correctly */
    z-index: 0; /* Makes sure the overlay sits underneath text if you adjust later */
}

.panel-inner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent);
    pointer-events: none; /* Prevents blocking clicks inside .acc-body */
}

@media screen and (max-width: 600px) {
    .tc-flawless-style5 .flawless .flex-accordion {
        height: inherit;
        width: 100%;
    }

    .tc-flawless-style5 {
        padding: 130px 0;
    }

    .tc-flawless-style5 .flawless .flex-accordion .acc-list {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .tc-flawless-style5 .flawless .flex-accordion .acc-list .acc-li:not(.is-open) {
        height: 100px;
        width: 100%;
    }

    .tc-flawless-style5 .flawless .flex-accordion .acc-list .acc-li {
        width: 100%;
        height: 500px;
    }

    .tc-flawless-style5 .flawless .flex-accordion .acc-list .acc-li {
        height: 280px;
    }

    .tc-flawless-style5 .flawless .flex-accordion .acc-list .acc-li .panel-inner .acc-title {
        width: 100%;
        height: 100px;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        padding: 0 30px;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        /*background-color: rgb(0, 0, 0, .4);*/
    }

    .tc-flawless-style5 .flawless .flex-accordion .acc-list .acc-li .bg {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        -o-object-fit: cover;
        object-fit: cover;
        -webkit-filter: brightness(0.4);
        filter: brightness(0.4);
        -webkit-transition: all .5s ease;
        -o-transition: all .5s ease;
        transition: all .5s ease;
    }

    .tc-flawless-style5 .flawless .flex-accordion .acc-list .acc-li .panel-inner .acc-title .numb {
        font-size: 50px;
    }

    .tc-flawless-style5 .flawless .flex-accordion .acc-list .acc-li .panel-inner .acc-title .txt {
        -webkit-transform: rotate(0) translateY(0);
        -ms-transform: rotate(0) translateY(0);
        transform: rotate(0) translateY(0);
        -webkit-transform-origin: center;
        -ms-transform-origin: center;
        transform-origin: center;
        text-align: end;
    }

    .tc-flawless-style5 .flawless .flex-accordion .acc-list .acc-li .panel-inner .acc-body {
        top: 100px;
        left: 0;
        width: 100%;
        height: calc(100% - 100px);
        padding: 0 30px;
    }

    .tc-flawless-style5 .flawless .flex-accordion .acc-list .acc-li::after {
        background-image: -webkit-gradient(linear, left top, left bottom, from(#000000a8), to(transparent));
        background-image: -webkit-linear-gradient(top, #000000a8, transparent);
        background-image: -o-linear-gradient(top, #000000a8, transparent);
        background-image: linear-gradient(to bottom, #000000a8, transparent);
    }


    .tc-flawless-style5 .flawless .flex-accordion .acc-list .acc-li .panel-inner .acc-body .float-arrow {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }
}