/* 新增的css by nick  */



@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes fadeOutUp {
    0% {
        opacity: 1;
        transform: translateY(0%);
    }
    100% {
        opacity: 0;
        transform: translateY(-50%);
    }
}

@keyframes slideInDown {
    0% {
        transform: translateY(-101%);
    }
    100% {
        transform: translateY(0%);
    }
}

@keyframes slideInLeft {
    0% {
        transform: translateX(-101%);
    }
    100% {
        transform: translateX(0%);
    }
}

@keyframes slideOutUp {
    0% {
        transform: translateY(0%);
    }
    100% {
        transform: translateY(-100%);
    }
}

@keyframes slideOutLeft {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes w100 {
    0% {}
    100% {
        width: 100%;
    }
}

@keyframes w0 {
    0% {
        width: 100%;
    }
    100% {
        width: 0%;
    }
}





/* 語言選項設定開始 */

.hd_meun {
    margin-left: 0;
    float: right;
}

.hd_language {
    float: right;
}

.hd_language>a {
    margin-right: 15px;
    font-size: 0.75rem;
}

.hd_language select {
    display: none;
    background-color: transparent;
    /*移除箭頭樣式*/
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    border: none;
    margin-right: 15px;
    font-family: Century Gothic, 微軟正黑體;
    font-weight: bold;
}

@media only screen and (max-width: 900px) {
    .hd_language>a {
        display: none
    }
    .hd_language select {
        display: block
    }
}





/* 語言選項設定開始 */


/* 登入按鈕設定開始 */

.nav_pri .inner li.customer-list {
    padding-top: 30px;
    position: relative;
}

.nav_pri .inner li.customer-list:before {
    content: "";
    display: block;
    width: 100%;
    max-width: 155px;
    height: 1px;
    background-color: #3e3e3e;
    position: absolute;
    top: 0;
    left: 0;
}

.nav_pri .inner .on.customer-list>h4 {
    color: #fff;
}

.nav_pri .inner li.customer-list>h4 {
    display: flex;
    align-items: center;
}

.nav_pri .inner li.customer-list>h4>span {
    font-size: 0.75rem;
    line-height: 1.5;
    padding-top: 2px;
}

.nav_pri .inner li.customer-list>h4>img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.nav_pri .inner li.customer-list h5 {
    font-size: 0.75rem;
}

.nav_pri .inner li.customer-list .list2 {
    padding-left: 40px;
    padding-top: 5px;
}








/* 登入按鈕設定結束 */


/* 搜尋燈箱設定開始 */

.searchLibox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 999;
    overflow-y: scroll;
    color: #000;
    display: none;
}

.searchLibox:before {
    content: "";
    display: block;
    width: 270px;
    height: 10px;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #d21010;
}

@media only screen and (max-width: 700px) {
    .searchLibox:before {
        width: 50vw;
    }
}

.searchLibox .liboxClose {
    padding: 10px 20px 10px 25px;
    position: absolute;
    top: 0;
    right: 0;
    background-color: #595959;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.searchLibox .liboxClose p {
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 1px;
}


.searchLibox .liboxClose span {
    display: block;
    margin-left: 10px;
    width: 16px;
    height: 16px;
    transform: rotate(45deg);
    position: relative;
}

.searchLibox .liboxClose span:before,
.searchLibox .liboxClose span:after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
}

.searchLibox .liboxClose span:before {
    width: 100%;
    height: 1px;
}

.searchLibox .liboxClose span:after {
    width: 1px;
    height: 100%;
}


.searchLibox .searchContent {
    margin: auto;
    max-width: 960px;
    width: 100%;
    padding: 120px 50px;
    min-height: 100vh;
}

@media only screen and (max-width: 700px) {
    .searchLibox .searchContent {
        padding: 80px 5vw;
    }
}


.searchLibox .searchBar {
    margin-top: 40%;
    overflow: hidden;
    transition: margin-top 0.8s ease 0.6s;
    max-width: 860px;
    width: calc(100vw - 100px);
    background-color: #fff;
}

@media only screen and (max-width: 700px) {
    .searchLibox .searchBar {
        width: 90vw;
    }
}

.searchLibox .searchBar.fixed {
    position: fixed;
    top: 0;
    left: calc(50% - 8px);
    transform: translate(-50%, 0) !important;
    z-index: 1;
}

@media only screen and (max-width: 1024px) {
    .searchLibox .searchBar.fixed {
        left: 50%;
    }
}


.searchLibox .searchContent form {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 0 0 7px 0;
}

.searchLibox .searchContent form:before {
    content: "";
    display: block;
    position: absolute;
    width: 0%;
    height: 6px;
    background-color: #000;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.searchLibox .searchContent form input {
    width: calc(100% - 200px);
    border: none;
    font-family: CenturyGothic-Bold, 微軟正黑體;
    font-size: 1.125rem;
    margin-right: auto;
}

@media only screen and (max-width: 700px) {
    .searchLibox .searchContent form input {
        width: calc(100% - 100px);
    }
}

.searchLibox .searchContent form input::placeholder {
    color: #000;
    font-size: 1rem;
    transition: all .4s ease;
    font-family: CenturyGothic-regular, 微軟正黑體;
}

@media only screen and (max-width: 700px) {
    .searchLibox .searchContent form input::placeholder {
        font-size: 0.875rem;
    }
}

.searchLibox .searchContent form input:focus::placeholder {
    opacity: 0;
}

.searchLibox .searchContent form button {
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.searchLibox .searchContent form button p {
    font-size: 2.25rem;
    padding-top: 5px;
    font-family: 'CenturyGothic-Bold';
    line-height: 1.8;
}

@media only screen and (max-width: 700px) {
    .searchLibox .searchContent form button p {
        font-size: 1.25rem;
    }
}

.searchLibox .searchBar .psWords {
    padding: 20px 0;
    transform: translateY(101%);
    transition: all 0.6s ease;
}

.searchLibox .searchBar .psWords p {
    font-size: 1rem;
}

.searchLibox .searchResult {
    padding: 20px 0 0 0;
    display: none;
}

.searchLibox .searchBar .psWords p span {
    font-weight: bold;
}

.searchLibox .searchResult ul {
    margin-top: 40px;
}

.searchLibox .searchResult ul li {
    animation: fadeInUp 1s both 1.3s;
}

.searchLibox .searchResult ul li a {
    padding: 40px 0;
    position: relative;
    display: block;
}

.searchLibox .searchResult ul li:not(:last-child) a:after {
    display: block;
    content: "";
    width: 100%;
    height: 1px;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #cccccc;
}

.searchLibox .searchResult ul li ._title {
    display: flex;
    align-items: flex-end;
    font-family: CenturyGothic-Bold, 微軟正黑體;
    font-weight: bold;
}

@media only screen and (max-width: 700px) {
    .searchLibox .searchResult ul li ._title {
        flex-wrap: wrap;
    }
}

.searchLibox .searchResult ul li ._title h6 {
    font-size: 1.375rem;
    margin-right: 5px;
    line-height: 1.5;
}

.searchLibox .searchResult ul li ._title p {
    font-size: 0.875rem;
    margin-right: 5px;
    line-height: 1.5;
    padding-bottom: 4px;
}

.searchLibox .searchResult ul li ._words {
    margin-top: 10px;
}

.searchLibox .searchResult ul li ._words p {
    font-size: 0.875rem;
}













/* 燈箱開啟 */

.searchLibox.open {
    display: block;
    animation: fadeIn .6s both;
}

.searchLibox.open:before {
    animation: slideInLeft 1s both .7s;
}

.searchLibox.open .liboxClose {
    animation: slideInDown 0.6s both .7s;
}

.searchLibox.open .searchContent form:before {
    animation: w100 .7s both .3s;
}

.searchLibox.open .searchContent form button,
.searchLibox.open .searchContent form input {
    animation: fadeIn 1s both .8s;
}






/* 燈箱關閉 */

.searchLibox.close {
    display: block;
    animation: fadeOut .6s both .4s;
}

.searchLibox.close .liboxClose {
    animation: fadeOutUp 0.4s both;
}

.searchLibox.close:before {
    animation: slideOutLeft 0.4s both;
}

.searchLibox.close .searchContent form:before {
    animation: w0 .4s both;
}

.searchLibox.close .psWords,
.searchLibox.close .searchResult ul li,
.searchLibox.close .searchContent form button,
.searchLibox.close .searchContent form input {
    animation: fadeOut .4s both;
}





/* 結果開啟 */

.searchLibox.searched {}


.searchLibox.searched .searchBar {
    margin-top: 0;
}


.searchLibox.searched .searchResult {
    display: block;
}








/* 搜尋燈箱設定結束 */