html,
body {
    margin: 0;
    padding: 0;
    font-family: "PingFang TC", "Noto Sans TC", "Noto Sans SC", "Roboto", "Microsoft JhengHei", "微軟正黑體", "STHeitiTC-Light", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    font-size: 16px;
    background: #fafafa;
}

* {
    font-family: "PingFang TC", "Noto Sans TC", "Noto Sans SC", "Roboto", "Microsoft JhengHei", "微軟正黑體", "STHeitiTC-Light", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    box-sizing: border-box;
    outline: none;
}


/**
*
* EBUCode
*
**/
.EBUCode * {
    margin: 0;
    padding: 0;
}

.EBUCode__content {
    padding: 80px 0;
    min-height: 360px;
    background-color: #ffffff;
}

@media (max-width: 768px) {
    .EBUCode__content {
        min-height: inherit;
        min-height: initial;
        padding: 30px 0 30px 0;
    }
}

/**
*
* EBUCode__header
*
**/
.EBUCode__header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 260px;
    /* padding: 20px; */
    background-image: url('../images/bg.png');
    background-position: center;
    background-repeat: repeat-x;
    background-size: auto 100%;
}

.EBUCode__header h1,
.EBUCode__header h2 {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 20px;
}


.EBUCode__header .inputWrapper {
    position: relative;
    display: block;
    display: flex;
    align-items: center;
    justify-content: space-between;

}

.EBUCode__header .inputWrapper input {
    width: 100%;
    height: 52px;
    line-height: 52px;
    border: 2px solid #fff;
    border-radius: 0;
    color: #222;
    font-size: 16px;
    font-weight: 400;
    text-indent: 1em;
    padding-right: 30px;
}

.EBUCode__header .inputWrapper .suggestion-box {
    position: absolute;
    top: 100%;
    left: 0;
    width: calc(100% - 110px);
    order: 1px solid #ccc;
    max-height: 160px;
    overflow-y: auto;
    position: absolute;
    background-color: #f4f4f4;
    z-index: 11;
}

.EBUCode__header .inputWrapper .suggestion-item {
    padding: 10px 18px;
    cursor: pointer;
}

.EBUCode__header .inputWrapper .suggestion-item+.suggestion-item {
    border-top: 1px solid #ccc;
}

.EBUCode__header .inputWrapper .suggestion-item:hover {
    background-color: #f0f0f0;
}

.EBUCode__header .inputWrapper .clearButton {
    position: absolute;
    right: 120px;
    /* right: 10px; */
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    display: none;
}

.EBUCode__header a.EBUCode__openLightbox {
    display: inline-block;
    color: #FFF;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    margin-top: 10px;
    margin-right: auto;
    text-decoration: none;
    border-bottom: 1px solid #FFF;
}

.EBUCode__header .EBUCode__headerWrapper {
    width: 90%;
    max-width: 770px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .EBUCode__header {
        height: 220px;
    }

    .EBUCode__header .inputWrapper .clearButton {
        right: 110px;
    }

    .EBUCode__header .inputWrapper .suggestion-box {
        width: calc(100% - 100px);
    }

}

/**
*
* EBUCode__steps
*
**/
.EBUCode__steps {
    width: 90%;
    max-width: 770px;
    margin: 0 auto;
}

.EBUCode__steps h3 {
    color: #6A798E;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.5;

    border-bottom: 1px solid #D9D9D9;
    padding-bottom: 20px;
    margin-bottom: 40px;

    background-image: url('../images/icon_search.svg');
    background-repeat: no-repeat;
    background-position: 0 4px;
    background-size: 30px;
    padding-left: 40px;
}

.EBUCode__steps .EBUCode__stepsContent {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.EBUCode__steps .EBUCode__stepsContent ol {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    list-style: none;
    margin-right: 40px;
}

.EBUCode__steps .EBUCode__stepsContent ol li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.EBUCode__steps .EBUCode__stepsContent ol li:nth-child(1) {
    width: 40%;
}

.EBUCode__steps .EBUCode__stepsContent ol li:nth-child(1)::before {
    content: '1';
    display: inline-block;
    text-align: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    line-height: 40px;
    background-color: #5F7B80;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    border-radius: 50%;
    margin-right: 10px;
}

.EBUCode__steps .EBUCode__stepsContent ol li:nth-child(2) {
    width: 60%;
}

.EBUCode__steps .EBUCode__stepsContent ol li:nth-child(2)::before {
    content: '2';
    display: inline-block;
    text-align: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    line-height: 40px;
    background-color: #5F7B80;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    border-radius: 50%;
    margin-right: 10px;
}

@media (max-width: 768px) {
    .EBUCode__steps h3 {
        padding-bottom: 10px;
        margin-bottom: 20px;
    }

    .EBUCode__steps .EBUCode__stepsContent {
        flex-direction: column;
    }

    .EBUCode__steps .EBUCode__stepsContent ol {
        flex-direction: column;
        margin-right: 0;
        margin-bottom: 30px;
    }

    .EBUCode__steps .EBUCode__stepsContent ol li:nth-child(1),
    .EBUCode__steps .EBUCode__stepsContent ol li:nth-child(2) {
        width: 100%;
    }

    .EBUCode__steps .EBUCode__stepsContent ol li+li {
        margin-top: 15px;
    }
}


.EBUCode__result {
    width: 90%;
    max-width: 770px;
    margin: 0 auto;

    /* background-color: #ffffff; */
}

.EBUCode__result .EBUCode__item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 20px;
    background-color: #F6F6F6;
}

.EBUCode__result .EBUCode__item+.EBUCode__item {
    margin-top: 10px;
}

.EBUCode__result .EBUCode__item .cell {
    width: 70%;
    /* background-color: #00f; */
}

.EBUCode__result .EBUCode__item .number {
    margin-left: auto;
    padding-right: 30px;
    /* background-color: #f0f; */
    cursor: pointer;
    background-image: url('../images/icon_copy.svg');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 18px auto;
}

.EBUCode__result .EBUCode__item .copy {}


/**
*
* EBUCode__steps
*
**/
.EBUCode__tips {
    display: none;
}

.EBUCode__tips .EBUCode__tipsContent {
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: #F9ECEA;
    padding: 20px;
}

.EBUCode__tips .EBUCode__tipsContent .EBUCode__tipsTitle {
    color: #222;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    margin-right: 20px;
    margin-left: 20px;
}

.EBUCode__tips .EBUCode__tipsContent .EBUCode__tipsTitle .EBUCode__tipsTitleText {
    padding-right: 23px;
    background-image: url('../images/icon_copy.svg');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 22px auto;
}


.EBUCode__tips .EBUCode__tipsContent .EBUCode__tipsContentWrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .EBUCode__tips .EBUCode__tipsContent {
        margin-top: 20px;
        flex-direction: column;
    }

    .EBUCode__tips .EBUCode__tipsContent .EBUCode__tipsContentWrapper {
        margin-bottom: 20px;
    }
}

/* .EBUCode__result .EBUCode__list {
    width: 90%;
    max-width: 770px;
    margin: 0 auto;
} */



.EBUCode__empty {
    width: 90%;
    max-width: 770px;
    margin: 0 auto;
    text-align: center;
}

.EBUCode__empty .EBUCode__emptyIcon img {
    max-width: 140px;
}

.EBUCode__empty .EBUCode__emptyTitle {
    color: #6A798E;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
}

.EBUCode__empty .EBUCode__emptyDescription {
    color: #6A798E;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

.EBUCode__empty .EBUCode__emptyDescription .number {
    display: inline-block;
    padding-right: 20px;
    /* background-color: #f0f; */
    cursor: pointer;
    background-image: url('../images/icon_copy2.svg');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 18px auto;
    color: #EF3123;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 2px solid #EF3123;
}

.EBUCode__empty .EBUCode__button {
    margin-top: 20px;
}

/* footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #ffffff;
} */

/**
*
* EBUCode__lightbox
*
**/

.EBUCode__lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;

    display: none;
}

.EBUCode__lightbox.open {
    display: flex;
}

.EBUCode__lightboxContent {
    width: 90%;
    max-width: 410px;
    background-color: #ffffff;
    padding: 30px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
}

.EBUCode__lightboxContent .EBUCode__lightboxTitle {
    margin-bottom: 20px;
}

.EBUCode__lightboxContent .EBUCode__lightboxTitle h2 {
    margin: 0;
    text-align: center;
    color: #222;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.5;
}

.EBUCode__lightboxContent .EBUCode__image {
    text-align: center;
}

.EBUCode__lightboxContent .EBUCode__image img {
    max-width: 100px;
}

.EBUCode__lightboxContent .EBUCode__lightboxDescription {
    color: #222;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 30px;
}

.EBUCode__lightboxContent .EBUCode__lightboxButtons {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.EBUCode__lightboxClose {
    position: absolute;
    top: 0;
    right: 0;
}

@media (max-width: 768px) {
    .EBUCode__lightboxContent {
        width: 92%;
        padding: 25px;
    }
}

/**
*
* EBUCode__button
*
**/

.EBUCode__button {
    width: 160px;
    min-width: 160px;
    height: 40px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    border: 2px solid #EF3123;
    background-color: #EF3123;
    border: none;
    cursor: pointer;
}

.EBUCode__button.search {
    width: 110px;
    min-width: 110px;
    height: 52px;
    line-height: 52px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    border: 2px solid #D3060F;
    background-color: #D3060F;
    border: none;
    cursor: pointer;
}

.EBUCode__button.close {
    background-color: #fff;
    border: 2px solid #222;
    color: #222;
    cursor: pointer;
}

@media (max-width: 768px) {
    .EBUCode__button {
        width: 46%;
        min-width: 46%;
    }

    .EBUCode__button.search {
        width: 100px;
        min-width: 100px;
    }
}

.footer-fetnet a {
    opacity: 1 !important;
}