/*container bigger than BS xl*/
@media only screen and (min-width: 1600px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1440px;
    }
}

/*carousel-item #homeBanner*/

[id*="Printer"] {
    height: 110vw;
}

#screenPrinter {
    background-image: url(../images/20201203update/homebanner/screen-bg-576.jpg);
}

#padPrinter {
    background-image: url(../images/20201203update/homebanner/pad-bg-576.jpg);
}

#inkPrinter {
    background-image: url(../images/20201203update/homebanner/ink-bg-576.jpg);
}

#goldPrinter {
    background-image: url(../images/20201203update/homebanner/gold-bg-576.jpg);
}

#UVPrinter {
    background-image: url(../images/20201203update/homebanner/UV-bg-576.jpg);
}

#flamePrinter {
    background-image: url(../images/20201203update/homebanner/flame-bg-576.jpg);
}

@media only screen and (min-width: 576px) {
    [id*="Printer"] {
        height: 75vw;
    }

    #screenPrinter {
        background-image: url(../images/20201203update/homebanner/screen-bg-992.jpg);
    }

    #padPrinter {
        background-image: url(../images/20201203update/homebanner/pad-bg-992.jpg);
    }

    #inkPrinter {
        background-image: url(../images/20201203update/homebanner/ink-bg-992.jpg);
    }

    #goldPrinter {
        background-image: url(../images/20201203update/homebanner/gold-bg-992.jpg);
    }

    #UVPrinter {
        background-image: url(../images/20201203update/homebanner/UV-bg-992.jpg);
    }

    #flamePrinter {
        background-image: url(../images/20201203update/homebanner/flame-bg-992.jpg);
    }
}

@media only screen and (min-width: 768px) {
    [id*="Printer"] {
        height: 60vw;
    }
}

@media only screen and (min-width: 992px) {
    [id*="Printer"] {
        height: 100vh;
    }

    #screenPrinter {
        background-image: url(../images/20201203update/homebanner/screen-bg-1920.jpg);
    }

    #padPrinter {
        background-image: url(../images/20201203update/homebanner/pad-bg-1920.jpg);
    }

    #inkPrinter {
        background-image: url(../images/20201203update/homebanner/ink-bg-1920.jpg);
    }

    #goldPrinter {
        background-image: url(../images/20201203update/homebanner/gold-bg-1920.jpg);
    }

    #UVPrinter {
        background-image: url(../images/20201203update/homebanner/UV-bg-1920.jpg);
    }

    #flamePrinter {
        background-image: url(../images/20201203update/homebanner/flame-bg-1920.jpg);
    }
}

/*inkright*/

.inkright-width {
    width: 45vw;
}

[id*="Printer"] .banner-inkright {
    bottom: 2rem;
    left: 85vw;
    transform: translate(-50%, 0%);
    opacity: 0;
}

@media only screen and (min-width: 576px) {
    .inkright-width {
        width: 35vw;
    }

    [id*="Printer"] .banner-inkright {
        bottom: 5rem;
    }
}

@media only screen and (min-width: 768px) {
    [id*="Printer"] .banner-inkright {
        bottom: 3rem;
    }
}

@media only screen and (min-width: 992px) {
    .inkright-width {
        width: 32vw;
    }
}

.carousel-item.active [id*="Printer"] .banner-inkright {
    animation-name: inkright;
    animation-duration: .7s;
    animation-delay: .7s;
    animation-fill-mode: forwards;
}

@keyframes inkright {
    0% {
        opacity: 0;
        left: 85vw;
    }

    100% {
        opacity: 1;
        left: 75vw;
    }
}

@media only screen and (min-width: 992px) {

    [id*="Printer"] .banner-inkright {
        left: 90vw;
    }

    @keyframes inkright {
        0% {
            opacity: 0;
            left: 90vw;
        }

        100% {
            opacity: 1;
            left: 77vw;
        }
    }
}

@media only screen and (min-width: 1200px) {

    [id*="Printer"] .banner-inkright {
        left: 85vw;
    }

    @keyframes inkright {
        0% {
            opacity: 0;
        }

        100% {
            opacity: 1;
            left: 72vw;
        }
    }
}

/*machineright*/

.machineright-width {
    width: 40vw;
}

@media only screen and (min-width: 576px) {
    .machineright-width {
        width: 30vw;
    }
}

@media only screen and (min-width: 992px) {
    .machineright-width {
        width: 35vw;
    }
}

[id*="Printer"] .banner-machineright {
    bottom: 5rem;
    left: 95vw;
    transform: translate(-50%, 30%);
    opacity: 0;
}

.carousel-item.active [id*="Printer"] .banner-machineright {
    animation-name: machineright;
    animation-duration: .7s;
    animation-delay: .7s;
    animation-fill-mode: forwards;
}

@keyframes machineright {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
        left: 85vw;
    }
}

@media only screen and (min-width: 992px) {

    [id*="Printer"] .banner-machineright {
        left: 90vw;
    }

    @keyframes machineright {
        0% {
            opacity: 0;
        }

        100% {
            opacity: 1;
            left: 77vw;
        }
    }
}

@media only screen and (min-width: 1200px) {

    [id*="Printer"] .banner-machineright {
        left: 85vw;
    }

    @keyframes machineright {
        0% {
            opacity: 0;
        }

        100% {
            opacity: 1;
            left: 72vw;
        }
    }
}

/*machineleft*/

.machineleft-width {
    width: 48vw;
}

[id*="Printer"] .banner-machineleft {
    bottom: 4rem;
    right: 95vw;
    transform: translate(50%, 25%);
    opacity: 0;
}

@media only screen and (min-width: 576px) {
    .machineleft-width {
        width: 35vw;
    }

    [id*="Printer"] .banner-machineleft {
        bottom: 5rem;
    }
}

@media only screen and (min-width: 992px) {
    .machineleft-width {
        width: 45vw;
    }
}

.carousel-item.active [id*="Printer"] .banner-machineleft {
    animation-name: machineleft;
    animation-duration: .7s;
    animation-delay: .7s;
    animation-fill-mode: forwards;
}

@keyframes machineleft {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
        right: 85vw;
    }
}

@media only screen and (min-width: 992px) {

    [id*="Printer"] .banner-machineleft {
        right: 90vw;
    }

    @keyframes machineleft {
        0% {
            opacity: 0;
        }

        100% {
            opacity: 1;
            right: 77vw;
        }
    }
}

@media only screen and (min-width: 1200px) {

    [id*="Printer"] .banner-machineleft {
        right: 85vw;
    }

    @keyframes machineleft {
        0% {
            opacity: 0;
        }

        100% {
            opacity: 1;
            right: 72vw;
        }
    }
}

/* UVbanner-machineright */

.UVright-width {
    width: 55vw;
}

[id*="Printer"] .banner-UVright {
    bottom: 2rem;
    left: 85vw;
    transform: translate(-50%, 0%);
    opacity: 0;
}

@media only screen and (min-width: 576px) {
    .UVright-width {
        width: 35vw;
    }

    [id*="Printer"] .banner-UVright {
        bottom: 5rem;
    }
}

@media only screen and (min-width: 768px) {
    [id*="Printer"] .banner-UVright {
        bottom: 3rem;
    }
}

@media only screen and (min-width: 992px) {
    .UVright-width {
        width: 44vw;
    }
}

.carousel-item.active [id*="Printer"] .banner-UVright {
    animation-name: UVright;
    animation-duration: .7s;
    animation-delay: .7s;
    animation-fill-mode: forwards;
}

@keyframes UVright {
    0% {
        opacity: 0;
        left: 85vw;
    }

    100% {
        opacity: 1;
        left: 75vw;
    }
}

@media only screen and (min-width: 992px) {

    [id*="Printer"] .banner-UVright {
        left: 90vw;
    }

    @keyframes UVright {
        0% {
            opacity: 0;
            left: 90vw;
        }

        100% {
            opacity: 1;
            left: 77vw;
        }
    }
}

@media only screen and (min-width: 1200px) {

    [id*="Printer"] .banner-UVright {
        left: 85vw;
    }

    @keyframes UVright {
        0% {
            opacity: 0;
        }

        100% {
            opacity: 1;
            left: 72vw;
        }
    }
}

/* flamebanner-machineright */

.flameleft-width {
    width: 48vw;
}

[id*="Printer"] .banner-flameleft {
    bottom: 4rem;
    right: 95vw;
    transform: translate(50%, 25%);
    opacity: 0;
}

@media only screen and (min-width: 576px) {
    .flameleft-width {
        width: 35vw;
    }

    [id*="Printer"] .banner-flameleft {
        bottom: 5rem;
    }
}

@media only screen and (min-width: 992px) {
    .flameleft-width {
        width: 34vw;
    }

    [id*="Printer"] .banner-flameleft {
        bottom: 10rem;
    }
}

.carousel-item.active [id*="Printer"] .banner-flameleft {
    animation-name: flameleft;
    animation-duration: .7s;
    animation-delay: .7s;
    animation-fill-mode: forwards;
}

@keyframes flameleft {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
        right: 85vw;
    }
}

@media only screen and (min-width: 992px) {

    [id*="Printer"] .banner-flameleft {
        right: 90vw;
    }

    @keyframes flameleft {
        0% {
            opacity: 0;
        }

        100% {
            opacity: 1;
            right: 77vw;
        }
    }
}

@media only screen and (min-width: 1200px) {

    [id*="Printer"] .banner-flameleft {
        right: 85vw;
    }

    @keyframes flameleft {
        0% {
            opacity: 0;
        }

        100% {
            opacity: 1;
            right: 72vw;
        }
    }
}

/* goldbanner-machineleft */

.goldleft-width {
    width: 40vw;
}

[id*="Printer"] .banner-goldleft {
    bottom: 4rem;
    right: 95vw;
    transform: translate(50%, 25%);
    opacity: 0;
}

@media only screen and (min-width: 576px) {
    .goldleft-width {
        width: 35vw;
    }

    [id*="Printer"] .banner-goldleft {
        bottom: 5rem;
    }
}

@media only screen and (min-width: 992px) {
    .goldleft-width {
        width: 40vw;
    }
}

.carousel-item.active [id*="Printer"] .banner-goldleft {
    animation-name: goldleft;
    animation-duration: .7s;
    animation-delay: .7s;
    animation-fill-mode: forwards;
}

@keyframes goldleft {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
        right: 85vw;
    }
}

@media only screen and (min-width: 992px) {

    [id*="Printer"] .banner-goldleft {
        right: 90vw;
    }

    @keyframes goldleft {
        0% {
            opacity: 0;
        }

        100% {
            opacity: 1;
            right: 77vw;
        }
    }
}

@media only screen and (min-width: 1200px) {

    [id*="Printer"] .banner-goldleft {
        right: 85vw;
    }

    @keyframes goldleft {
        0% {
            opacity: 0;
        }

        100% {
            opacity: 1;
            right: 72vw;
        }
    }
}

/*橫線bar跟內文div的寬度*/

.banner-leftbar-position-2,
.banner-rightbar-position-2 {
    z-index: 3;
}

.banner-leftbar-position-2,
.banner-leftbar-2,
[id*="Printer"] .banner-leftbar-position-2 [class*="banner-content-"] {
    width: calc(40vw + 8rem);
}

.banner-rightbar-position-2,
.banner-rightbar-2,
[id*="Printer"] .banner-rightbar-position-2 [class*="banner-content-"] {
    width: 70vw;
}

@media only screen and (min-width: 576px) {

    .banner-leftbar-position-2,
    .banner-leftbar-2,
    .banner-rightbar-position-2,
    .banner-rightbar-2,
    [id*="Printer"] .banner-rightbar-position-2 [class*="banner-content-"],
    [id*="Printer"] .banner-leftbar-position-2 [class*="banner-content-"] {
        width: 60vw;
    }
}

@media only screen and (min-width: 992px) {

    .banner-leftbar-position-2,
    .banner-leftbar-2,
    .banner-rightbar-position-2,
    .banner-rightbar-2,
    [id*="Printer"] .banner-rightbar-position-2 [class*="banner-content-"],
    [id*="Printer"] .banner-leftbar-position-2 [class*="banner-content-"] {
        width: 45vw;
    }
}

@media only screen and (min-width: 1200px) {

    .banner-leftbar-position-2,
    .banner-leftbar-2,
    .banner-rightbar-position-2,
    .banner-rightbar-2,
    [id*="Printer"] .banner-rightbar-position-2 [class*="banner-content-"],
    [id*="Printer"] .banner-leftbar-position-2 [class*="banner-content-"] {
        width: 40vw;
    }
}

/*圖片再左邊 banner-leftbar-position 兩條線支點位置*/

/*圖片再右邊 banner-rightbar-position 兩條線支點位置*/

div[class*="banner-leftbar-position-"] {
    position: absolute;
    right: 41vw;
    bottom: 55%;
    height: 1px;
}

@media only screen and (min-width: 400px) {
    div[class*="banner-leftbar-position-"] {
        right: 45vw;
        bottom: 60%;
    }
}

@media only screen and (min-width: 576px) {
    div[class*="banner-leftbar-position-"] {
        bottom: 50%;
    }
}

@media only screen and (min-width: 992px) {
    div[class*="banner-leftbar-position-"] {
        right: 45vw;
        bottom: 55%;
    }
}

@media only screen and (min-width: 1200px) {
    div[class*="banner-leftbar-position-"] {
        right: 40vw;
    }
}

div[class*="banner-rightbar-position-"] {
    position: absolute;
    left: 77vw;
    bottom: 55%;
    height: 1px;
}

@media only screen and (min-width: 400px) {
    div[class*="banner-rightbar-position-"] {
        bottom: 60%;
    }
}

@media only screen and (min-width: 576px) {
    div[class*="banner-rightbar-position-"] {
        bottom: 55%;
        left: 70vw;
    }
}

@media only screen and (min-width: 768px) {
    div[class*="banner-rightbar-position-"] {
        bottom: 60%;
    }
}

@media only screen and (min-width: 992px) {
    div[class*="banner-rightbar-position-"] {
        left: 55vw;
    }
}

@media only screen and (min-width: 1200px) {
    div[class*="banner-rightbar-position-"] {
        left: 50vw;
        bottom: 55%;
    }
}

/*bar1*/

.banner-leftbar-position-1 {
    width: 150px;
    /*控制中心點位置（我的天這真的很難寫）*/
    transform: translateX(-100%) rotate(-45deg);
    -webkit-transform: translateX(-100%) rotate(-45deg);
    /*旋轉對準中心點*/
    transform-origin: 100% 50%;
    -webkit-transform-origin: 100% 50%;
}

.banner-leftbar-1 {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    transform: translateX(0%) scaleX(0);
    -webkit-transform: translateX(0%) scaleX(0);
    transform-origin: 0% 0%;
    -webkit-transform-origin: 0% 0%;
    width: 10px;
    height: 1px;
    background-color: rgba(255, 255, 255, 1);
    transition: transform 250ms;
    -webkit-transition: transform 250ms;
}

/*bar1長度（斜的短的那條）*/
@media only screen and (min-width: 576px) {
    .banner-leftbar-1 {
        width: 150px;
    }
}

.carousel-item.active [id*="Printer"] .banner-leftbar-1 {
    animation-name: leftbar1;
    animation-duration: .5s;
    animation-delay: 1.6s;
    animation-fill-mode: forwards;
}

@keyframes leftbar1 {
    0% {
        transform: translateX(0%) scaleX(0);
        -webkit-transform: translateX(0%) scaleX(0);
    }

    100% {
        transform: translateX(0%) scaleX(1);
        -webkit-transform: translateX(0%) scaleX(1);
    }
}

/*bar2*/

.banner-leftbar-position-2 {
    transform: rotate(0);
    -webkit-transform: rotate(0);
    transform-origin: calc(150px + 50%) 50%;
    -webkit-transform-origin: calc(150px + 50%) 50%;
}

.banner-leftbar-2 {
    content: '';
    position: absolute;
    left: -150px;
    top: 0;
    transform: translateX(100%) scaleX(0);
    -webkit-transform: translateX(100%) scaleX(0);
    transform-origin: 0% 100%;
    -webkit-transform-origin: 0% 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 1);
    transition: transform 250ms;
    -webkit-transition: transform 250ms;
}

.carousel-item.active [id*="Printer"] .banner-leftbar-2 {
    animation-name: leftbar2;
    animation-duration: .8s;
    animation-delay: 2.1s;
    animation-fill-mode: forwards;
}

@keyframes leftbar2 {
    0% {
        transform: translateX(100%) scaleX(0);
        -webkit-transform: translateX(100%) scaleX(0);
    }

    100% {
        transform: translateX(100%) scaleX(1);
        -webkit-transform: translateX(100%) scaleX(1);
    }
}

/*bar1*/

.banner-rightbar-position-1 {
    width: 150px;
    transform: rotate(225deg);
    -webkit-transform: rotate(225deg);
    /*旋轉對準中心點*/
    transform-origin: 0% 50%;
    -webkit-transform-origin: 0% 50%;
}

.banner-rightbar-1 {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    transform: translateX(0%) scaleX(0);
    -webkit-transform: translateX(0%) scaleX(0);
    transform-origin: 0% 0%;
    -webkit-transform-origin: 0% 0%;
    width: 50px;
    height: 1px;
    background-color: rgba(255, 255, 255, 1);
    transition: transform 250ms;
    -webkit-transition: transform 250ms;
}

/*bar1長度（斜的短的那條）*/
@media only screen and (min-width: 576px) {
    .banner-rightbar-1 {
        width: 150px;
    }
}

.carousel-item.active [id*="Printer"] .banner-rightbar-1 {
    animation-name: rightbar1;
    animation-duration: .5s;
    animation-delay: 1.6s;
    animation-fill-mode: forwards;
}

@keyframes rightbar1 {
    0% {
        transform: translateX(-100%) scaleX(0);
        -webkit-transform: translateX(-100%) scaleX(0);
    }

    100% {
        transform: translateX(-100%) scaleX(1);
        -webkit-transform: translateX(-100%) scaleX(1);
    }
}

/*bar2*/

.banner-rightbar-position-2 {
    /*    width: 40vw;*/
    transform: rotate(0);
    -webkit-transform: rotate(0);
    transform-origin: 0% 50%;
    -webkit-transform-origin: 0% 50%;
}

.banner-rightbar-2 {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    transform: translateX(-100%) scaleX(0);
    -webkit-transform: translateX(-100%) scaleX(0);
    transform-origin: 100% 100%;
    -webkit-transform-origin: 100% 100%;
    /*    width: 40vw;*/
    height: 1px;
    background-color: rgba(255, 255, 255, 1);
    transition: transform 250ms;
    -webkit-transition: transform 250ms;
}

.carousel-item.active [id*="Printer"] .banner-rightbar-2 {
    animation-name: rightbar2;
    animation-duration: .8s;
    animation-delay: 2.1s;
    animation-fill-mode: forwards;
}

@keyframes rightbar2 {
    0% {
        transform: translateX(-100%) scaleX(0);
        -webkit-transform: translateX(-100%) scaleX(0);
    }

    100% {
        transform: translateX(-100%) scaleX(1);
        -webkit-transform: translateX(-100%) scaleX(1);
    }
}

/*textmove*/

[id*="Printer"] [class*="banner-rightbar-position-"] [class*="banner-content-"] {
    transform: translateX(-100%);
    left: 0;
}

[id*="Printer"] [class*="banner-leftbar-position-"] [class*="banner-content-"] {
    transform: translateX(100%);
    left: -150px;
}

[id*="Printer"] .banner-rightbar-position-2 [class*="banner-content-"],
[id*="Printer"] .banner-leftbar-position-2 [class*="banner-content-"] {
    position: absolute;
    margin: 0;
    opacity: 0;
}

[id*="Printer"] .banner-content-title1 {
    font-family: 'Roboto', 'Microsoft Yahei';
    bottom: 1.2rem;
    font-size: 2rem;
}

[id*="Printer"] .banner-content-title2 {
    bottom: 0;
    font-size: .75rem;
}

[id*="Printer"] .banner-content-info {
    top: 0;
    font-size: .9rem;
}

[id*="Printer"] .banner-content-btn {
    font-family: 'Roboto', 'Microsoft Yahei';
    top: 0;
    font-size: 1rem;
}

.carousel-item.active [id*="Printer"] .banner-content-title1 {
    animation-name: titlefirst;
    animation-duration: .5s;
    animation-delay: 2.9s;
    animation-fill-mode: forwards;
}

@keyframes titlefirst {
    0% {
        bottom: 1.8vw;
        opacity: 0;
    }

    100% {
        bottom: calc(.85rem + 30px);
        opacity: 1;
    }
}

.carousel-item.active [id*="Printer"] .banner-content-title2 {
    animation-name: titlesecond;
    animation-duration: .5s;
    animation-delay: 2.9s;
    animation-fill-mode: forwards;
}

@keyframes titlesecond {
    0% {
        bottom: 0;
        opacity: 0;
    }

    100% {
        bottom: 15px;
        opacity: 1;
    }
}

.carousel-item.active [id*="Printer"] .banner-content-info {
    animation-name: info;
    animation-duration: .5s;
    animation-delay: 2.9s;
    animation-fill-mode: forwards;
}

@keyframes info {
    0% {
        top: 0;
        opacity: 0;
    }

    100% {
        top: 15px;
        opacity: 1;
    }
}

.carousel-item.active [id*="Printer"] .banner-content-btn {
    animation-name: btn;
    animation-duration: .5s;
    animation-delay: 3.2s;
    animation-fill-mode: forwards;
}

@keyframes btn {
    0% {
        top: 0;
        opacity: 0;
    }

    100% {
        top: 6rem;
        opacity: 1;
    }
}

@media only screen and (min-width: 400px) {

    @keyframes btn {
        0% {
            top: 0;
            opacity: 0;
        }

        100% {
            top: 5rem;
            opacity: 1;
        }
    }
}

@media only screen and (min-width: 576px) {
    [id*="Printer"] [class*="banner-leftbar-position-"] [class*="banner-content-"] {
        left: -100px;
    }

    [id*="Printer"] .banner-content-title1 {
        bottom: 1.2rem;
    }

    [id*="Printer"] .banner-content-title2 {
        font-size: 1rem;
    }

    @keyframes titlefirst {
        0% {
            bottom: 2.1vw;
            opacity: 0;
        }

        100% {
            bottom: calc(1.2rem + 30px);
            opacity: 1;
        }
    }
}

@media only screen and (min-width: 768px) {
    [id*="Printer"] .banner-content-info {
        font-size: 1rem;
    }
}

@media only screen and (min-width: 992px) {

    [id*="Printer"] [class*="banner-leftbar-position-"] [class*="banner-content-"] {
        left: -100px;
    }

    [id*="Printer"] .banner-rightbar-position-2 [class*="banner-content-"],
    [id*="Printer"] .banner-leftbar-position-2 [class*="banner-content-"] {
        font-family: 'Roboto', 'Microsoft Yahei';
    }

    [id*="Printer"] .banner-content-title1 {
        bottom: 1.4vw;
        font-size: 3rem;
    }

    [id*="Printer"] .banner-content-title2 {
        bottom: 0;
        font-size: 1.2rem;
    }

    [id*="Printer"] .banner-content-info {
        top: 0;
        font-size: 1.1rem;
    }

    [id*="Printer"] .banner-content-btn {
        top: 2.7vw;
        font-size: 1.1rem;
    }

    @keyframes titlefirst {
        0% {
            bottom: 1.4vw;
            opacity: 0;
        }

        100% {
            bottom: calc(1.4vw + 2rem);
            opacity: 1;
        }
    }

    @keyframes titlesecond {
        0% {
            bottom: 0;
            opacity: 0;
        }

        100% {
            bottom: 1rem;
            opacity: 1;
        }
    }

    @keyframes info {
        0% {
            top: 0;
            opacity: 0;
        }

        100% {
            top: 1rem;
            opacity: 1;
        }
    }

    @keyframes btn {
        0% {
            top: 2.5vw;
            opacity: 0;
        }

        100% {
            top: calc(3rem + 2.5vw);
            opacity: 1;
        }
    }
}

@media only screen and (min-width: 992px) {

    [id*="Printer"] .banner-content-title1 {
        font-size: 3.5vw;
    }

    [id*="Printer"] .banner-content-title2 {
        bottom: 0;
        font-size: 1.4vw;
    }

    [id*="Printer"] .banner-content-info {
        top: 0;
        font-size: 1.25vw;
    }
}

/*procedure*/
.arrow-box {
    margin-left: calc(-7.14vw - 1.19rem);
    margin-right: -90px;
}

.arrow-shaft {
    position: relative;
    height: calc(18vw + 3rem);
    /*padding-left 跟 arrowhead 圖片一樣寬，才可以讓文字對齊*/
    /*arrowhead 圖寬高比為 119:300 ，高度已固定，故寬度為 (18vw + 3rem)·119/300=(7.14vw + 1.19rem)*/
    padding-left: calc(7.14vw + 1.19rem + 30px);
    transition: .2s;
}

.arrow-shaft:hover {
    opacity: 0;
}

.procedure {
    height: calc(18vw + 3rem);
    padding-left: calc(7.14vw + 1.19rem + 30px);
}

img.arrow-point {
    position: absolute;
    right: 1.5px;
    top: 0;
    height: calc(18vw + 3rem);
    transform: translateX(100%);
    transition: .2s;
}

.arrow-shaft img.arrow-point {
    right: .5px;
}

.procedure-bar {
    position: relative;
}

.procedure-bar::after {
    content: '';
    position: absolute;
    left: -15%;
    top: 50%;
    width: 55%;
    height: 1.5px;
    background-color: rgba(255, 255, 255, 1);
    transform: translatey(50%);
    -webkit-transform: translatey(50%);
}

@media only screen and (max-width: 991.98px) {
    .bg-orange-img {
        background-image: url(../images/20201203update/procedure/arrow-o-box.jpg);
    }

    .bg-blue-img {
        background-image: url(../images/20201203update/procedure/arrow-b-box.jpg);
    }

    .bg-green-img {
        background-image: url(../images/20201203update/procedure/arrow-g-box.jpg);
    }
}

@media only screen and (min-width: 992px) {
    .bg-orange-img {
        background-image: url(../images/20201203update/procedure/arrow-o-box-xl.jpg);
    }

    .bg-blue-img {
        background-image: url(../images/20201203update/procedure/arrow-b-box-xl.jpg);
    }

    .bg-green-img {
        background-image: url(../images/20201203update/procedure/arrow-g-box-xl.jpg);
    }
}

.hover-to-opacity-0 {
    position: relative;
    transition: .3s;
}

.hover-to-opacity-0:hover,
.hover-to-opacity-0.hover {
    opacity: 0;
}

/*輪播小點點*/
.carousel-indicators li {
    width: 12px;
    height: 12px;
    margin-right: 4px;
    margin-left: 4px;
    border-radius: 100%;
}

/*首頁下面的倫波*/

.carousel-history {
    width: 100%;
    height: 580px;
    position: relative;
}

@media only screen and (min-width: 992px) {
    .carousel-history {
        height: 700px;
    }
}

@media only screen and (min-width: 1440px) {
    .carousel-history {
        height: 50vw;
    }
}

.carousel-history img {
    width: 260px;
    border: none;
}

@media only screen and (min-width: 992px) {
    .carousel-history img {
        width: 320px;
    }
}

@media only screen and (min-width: 1440px) {
    .carousel-history img {
        width: 24vw;
    }
}

.carousel-history .list {
    width: 100%;
    position: absolute;
}

.carousel-history li {
    position: absolute;
    top: 0;
    list-style: none !important;
    transition: all 0.6s ease-out;
}

.p1 {
    left: 15%;
    transform: translateX(-50%) scale(0.6);
    opacity: 0.3;
    z-index: 1;
}

.p2 {
    left: 30%;
    transform: translateX(-50%) scale(0.81);
    opacity: 0.7;
    z-index: 2;
}

.p3 {
    left: 50%;
    transform: translateX(-50%) scale(1);
    opacity: 1;
    z-index: 3;
}

.p4 {
    left: 70%;
    transform: translateX(-50%) scale(0.81);
    opacity: 0.7;
    z-index: 2;
}

.p5 {
    left: 85%;
    transform: translateX(-50%) scale(0.6);
    opacity: 0.3;
    z-index: 1;
}

.carousel-history .list .img-text {
    position: absolute;
    background-color: rgba(0, 0, 0, .2);
    color: #fff;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    font-size: 18px;
    padding: 2rem;
}

.img-text-mb {
    position: absolute;
    background-color: rgba(0, 0, 0, .25);
    color: #fff;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.carousel-history .list .img-text h2 {
    margin-top: 38%;
}

.indicators {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.carousel-history .btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: .25rem;
    font-size: 20px;
    color: white;
    text-decoration: none;
    background: rgba(97, 92, 198, .4);
    cursor: pointer;
}

.carousel-history .btn:focus {
    outline: none;
    box-shadow: 0 0 0 .2rem rgba(97, 92, 198, 0.1);
    background: rgba(97, 92, 198, .8);
}

.indicators a {
    position: relative;
    display: inline-block;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 3px;
    padding-right: 3px;
    cursor: pointer;
}

.next {
    right: 15px;
}

.prev {
    left: 15px;
}

.indicators-css {
    display: block;
    width: 25px;
    height: 4px;
    background: rgba(97, 92, 198, .2);
    box-shadow: 0 0 .3rem rgba(0, 0, 0, 0.1) !important;
}

.indicators-active {
    background: rgba(97, 92, 198, 1);
    box-shadow: 0 0 .3rem rgba(0, 0, 0, 0.2) !important;
}