  /*--------------------------------------------------------------
# banner_type12
--------------------------------------------------------------*/
.banner_type12 {
    /* height: 520px; */
    padding-bottom: 6rem;
    overflow: visible;
    background: #f1f1f1;
    padding-top: 5rem;
    position: relative;
}

    .banner_type12 .slick-track {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .banner_type12 .control_btn_box {
        /*padding: 0 30px;*/
        display: flex;
        justify-content: flex-end;
    }



.banner_type12 .decorate_icon::before {
    width: 8px;
    height: 2px;
    content: "";
    display: block;
    position: absolute;
    bottom: 3px;
    right: 2px;
    transform: rotate(38deg);
    background: rgb(31, 31, 31);
}

    .banner_type12 h2 {
        font-style: normal;
        font-weight: 700;
        font-size: 3.125rem;
        line-height: 60px;
        text-transform: uppercase;
        color: #1f1f1f;
    }

    .banner_type12 .stitle {
        font-style: normal;
        font-weight: 500;
        font-size: 1.25rem;
        line-height: 38px;
        letter-spacing: 0.1em;
        color: #1f1f1f;
    }

    .banner_type12 .item {
        transition: all 0.8s;
        transform: scale(0.9);
        padding:5px;
    }

        .banner_type12 .item.isactive,
        .banner_type12 .slider-for .slick-current {
            transform: scale(1);
            display: inline-flex;
        }

        .banner_type12 .item img {
            border: solid 10px var(--color-primary);
            float: left;
        }

    .banner_type12 .isactive img,
    .banner_type12 .slider-for .slick-current img {
        border: solid 15px var(--color-secondary);
        float: left;
    }

    .banner_type12 .item_text_box {
        transition: width 4s;
        padding: 0px;
        width: 0px;
        overflow: hidden;
        opacity: 0;
    }

    .banner_type12 .isactive .item_text_box,
    .banner_type12 .slider-for .slick-current .item_text_box {
        opacity: 1;
        width: 500px;
    }

    .banner_type12 .item_text_title {
        font-style: normal;
        font-weight: 700;
        font-size: 2.25rem;
        line-height: 40px;
        color: #000000;
        padding: 20px 50px 79px;
        width: 460px;
    }

    .banner_type12 .item_text_box p {
        font-style: normal;
        font-weight: 500;
        font-size: 1.25rem;
        line-height: 30px;
        text-transform: uppercase;
        color: #5e5e5e;
        padding: 0px 50px;
        width: 500px;
    }

    .banner_type12 .control_btn {
        font-style: normal;
        font-weight: 400;
        font-size: 1.25rem;
        line-height: 24px;
        text-transform: uppercase;
        color: #1f1f1f;
        background: none;
        border: none;
        display: flex;
        width: 120px;
    }

    .banner_type12 .last_btn .decorate_icon {
        text-align: left;
        right: 15px;
        left: auto;
    }
    .banner_type12 .decorate_icon::before {
        display:none;
    }
    .banner_type12 .decorate_icon {
        position: relative;
        overflow: hidden;
        width: 44px;
        height: 10px;
        text-align: right;
        display: block;
        top: 3px;
        left: 15px;
    }

        .banner_type12 .decorate_icon i {
            position: relative;
            bottom: 2px;
            text-align: right;
        }

        .banner_type12 .decorate_icon::after {
            width: 100px;
            height: 2px;
            background: #1f1f1f;
            content: "";
            display: block;
            position: absolute;
            bottom: 0px;
            right: 2px;
        }

    .banner_type12 .slick-prev .decorate_icon::before {
        width: 8px;
        height: 2px;
        background: #1f1f1f;
        content: "";
        display: block;
        position: absolute;
        bottom: 3px;
        left: 0;
        transform: rotate(318deg);
    }

    .banner_type12 .slick-next .decorate_icon::before {
        width: 8px;
        height: 2px;
        background: #1f1f1f;
        content: "";
        display: block;
        position: absolute;
        bottom: 3px;
        right: 0;
        transform: rotate(38deg);
    }

/* // Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .banner_type12 .isactive img,
    .banner_type12.slider-for .slick-current img {
        width: 50%;
    }

    .banner_type12 .isactive .item_text_box,
    .banner_type12 .slider-for .slick-current .item_text_box {
        width: 50%;
    }

    .banner_type12 .control_btn_box3 {
        /* top: 560px; */
        position: relative;
    }
}
/* // Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .banner_type12 .isactive img,
    .slider-for .slick-current img {
        width: 100%;
        float: none;
    }

    .banner_type12 .isactive .item_text_box,
    .slider-for .slick-current .item_text_box {
        width: 100%;
        margin-top: 24px;
    }

    .banner_type12 .control_btn_box3 {
        position: absolute;
        left: 0;
        top: 670px;
    }
}
