/*---------------------------------------------------------------------------------

 * Name:  Custom Css
 * Developer: ***
 * Company: ***

-----------------------------------------------------------------------------------

    0.  CSS Reset
    1.  Document Setup
    2.  Header , Footer
    3.  Banner
    4.  Main
    5.  Nav-Side
    6.  RWD
----------------------------------------------------------------------------------- */
/*---------------------------------------------------------------------------------
    0.  CSS Reset
----------------------------------------------------------------------------------- */
html, body {
    background-color: #ffffff;
}

.uk-h1, .uk-h2, .uk-h3, .uk-h4, .uk-h5, .uk-h6, .uk-heading-2xlarge, .uk-heading-large, .uk-heading-medium, .uk-heading-small, .uk-heading-xlarge, h1, h2, h3, h4, h5, h6 {
    font-family: 'GenYoMin TW R', sans-serif;
    /* font-family: "neuzeit-grotesk", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "游ゴシック体", "Yu Gothic", YuGothic, "メイリオ", Meiryo, sans-serif */
}

.tm-main-font {
    font-family: 'GenYoMin TW R', sans-serif;
}

.tm-works-box p {
    font-family: 'GenYoMin TW R', sans-serif;
}

a {
    text-decoration: none !important;
}

.uk-light {
    color: #fff !important;
}

/*---------------------------------------------------------------------------------
    1.  Document Setup
----------------------------------------------------------------------------------- */
/*
 * cwTeXFangSong (Chinese Traditional) http://www.google.com/fonts/earlyaccess
 */
@font-face {
    font-family: 'cwTeXFangSong';
    font-style: normal;
    font-weight: 500;
    src: url(//fonts.gstatic.com/ea/cwtexfangsong/v3/cwTeXFangSong-zhonly.eot);
    src: url(//fonts.gstatic.com/ea/cwtexfangsong/v3/cwTeXFangSong-zhonly.eot?#iefix) format('embedded-opentype'),
        url(//fonts.gstatic.com/ea/cwtexfangsong/v3/cwTeXFangSong-zhonly.woff2) format('woff2'),
        url(//fonts.gstatic.com/ea/cwtexfangsong/v3/cwTeXFangSong-zhonly.woff) format('woff'),
        url(//fonts.gstatic.com/ea/cwtexfangsong/v3/cwTeXFangSong-zhonly.ttf) format('truetype');
}

@font-face {
    font-family: "GenYoMin TW R";
    /* src: url("../images/3/font/GenYoMin-R.ttc"); */
    src: url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@500&display=swap');
}

.tm-text-songtiTC {
    font-family: cwTeXFangSong, serif;
}

#loading_ {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 9999;
    background-color: #fff;
}

/*---------------------------------------------------------------------------------
    2.  Header , Footer
----------------------------------------------------------------------------------- */
.tm-header .uk-navbar-nav>li>a, .tm-header .uk-logo {
    min-height: 70px;
}

.tm-header .uk-navbar-right .uk-navbar-nav li a {
    font-family: 'GenYoMin TW R', serif;
}

.tm-header .uk-navbar-right .uk-navbar-nav>li>a {
    font-size: 16px;
    padding-left: 25px;
    padding-right: 25px;
}
.tm-header .uk-navbar-right .uk-navbar-nav.tm-icon-list{
    padding-left: 30px;
    padding-right: 30px;
}
.tm-header .uk-navbar-right .uk-navbar-nav.tm-icon-list > li>a{
    padding-left: 15px;
    padding-right: 15px;
}
header .tm-divider-vertical{
    margin-top: auto;
    margin-bottom: auto;
    height: 30px;
    border-color: #fff;
    opacity: 0.5;
}
header.uk-navbar-container.tm-header {
    background: none;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    content: '';
    left: 0;
    top: 0;
    width: 100%;
    /* background-color: rgba(0, 0, 0, 0.1);
    background-image: url(../images/dots.png); */
    -webkit-background-size: 5px 5px;
    -o-background-size: 5px 5px;
    background-size: 5px 5px;
    z-index: 999;
}

header.uk-navbar-container.tm-header.uk-active {
    background-color: #101227;
    background-image: none;
}

header.uk-navbar-container.tm-header nav.uk-navbar .uk-navbar-nav>li {
    display: inline-block;
    letter-spacing: 0;
    overflow: inherit;
    position: relative;
}

header.uk-navbar-container.tm-header nav.uk-navbar .uk-navbar-nav>li:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 0;
    left: 0;
    top: 0;
    background: #101227;
    -webkit-transition: all 400ms cubic-bezier(0.77, 0, 0.175, 1);
    -moz-transition: all 400ms cubic-bezier(0.77, 0, 0.175, 1);
    -o-transition: all 400ms cubic-bezier(0.77, 0, 0.175, 1);
    transition: all 400ms cubic-bezier(0.77, 0, 0.175, 1);
    -webkit-transition-timing-function: cubic-bezier(0.77, 0, 0.175, 1);
    -moz-transition-timing-function: cubic-bezier(0.77, 0, 0.175, 1);
    -o-transition-timing-function: cubic-bezier(0.77, 0, 0.175, 1);
    transition-timing-function: cubic-bezier(0.77, 0, 0.175, 1);
    z-index: -1;
}

header.uk-navbar-container.tm-header nav.uk-navbar .uk-navbar-nav>li>a {
    color: #fff;
}

header.uk-navbar-container.tm-header.uk-active nav.uk-navbar .uk-navbar-nav>li:before {
    background-color: #e84949;
}

header.uk-navbar-container.tm-header nav.uk-navbar .uk-navbar-nav>li:hover:before, header.uk-navbar-container.tm-header nav.uk-navbar .uk-navbar-nav>li:active:before {
    height: 100%;
}

header.uk-navbar-container.tm-header .tm-navbar-sub>ul>li:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 0;
    left: 0;
    top: 0;
    background: #101227;
    -webkit-transition: all 400ms cubic-bezier(0.77, 0, 0.175, 1);
    -moz-transition: all 400ms cubic-bezier(0.77, 0, 0.175, 1);
    -o-transition: all 400ms cubic-bezier(0.77, 0, 0.175, 1);
    transition: all 400ms cubic-bezier(0.77, 0, 0.175, 1);
    -webkit-transition-timing-function: cubic-bezier(0.77, 0, 0.175, 1);
    -moz-transition-timing-function: cubic-bezier(0.77, 0, 0.175, 1);
    -o-transition-timing-function: cubic-bezier(0.77, 0, 0.175, 1);
    transition-timing-function: cubic-bezier(0.77, 0, 0.175, 1);
    z-index: -1;
}

.tm-offcanvas-bar .uk-nav>li>a, .tm-offcanvas-bar .uk-nav-header {
    color: #fff;
    font-family: 'GenYoMin TW R', serif;
    font-size: 16px;
    padding: 8px 0;
}

.tm-offcanvas-bar .tm-copyright {
    color: #fff;
    font-family: 'GenYoMin TW R', serif;
    opacity: 0.5;
    font-size: 16px;
}

.tm-offcanvas-bar .uk-nav-default .uk-nav-divider {
    border-top: 1px solid #999;
}

.shopBag {
    color: white;
    background: red;
    position: absolute;
    bottom: 10px;
    right: 5px;
    z-index: 1;
    line-height: 10px;
}

.tm-navbar-shopbag {
    min-width: 480px;
}

.tm-breadcrumb {
    /* background-color: rgba(200, 200, 200, 0.5); */
    background: none;
}

.tm-footer {
    background-color: #F0F0F5;
}

.tm-footer .tm-navbar {
    bottom: 0;
}

.tm-footer .tm-navbar li a {
    min-height: 0;
    font-family: 'GenYoMin TW R', serif;
}

.tm-footer .tm-copyright {
    font-family: 'GenYoMin TW R', serif;
}

.tm-footer img {
    opacity: 0.7;
}

/*---------------------------------------------------------------------------------
    3.  Banner
----------------------------------------------------------------------------------- */
.tm-height-xlarge {
    height: 600px;
}

.tm-height-xxlarge {
    height: 800px;
}

.tm-down-chevron {
    width: 48px;
    height: 48px;
}

#background-img li .tm-img:before{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.1);
    background-image: url(../images/dots.png);
    -webkit-background-size: 5px 5px;
    -o-background-size: 5px 5px;
    background-size: 5px 5px;
}
/* #banner-overlay:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.1);
    background-image: url(../images/dots.png);
    -webkit-background-size: 5px 5px;
    -o-background-size: 5px 5px;
    background-size: 5px 5px;
} */

#banner-overlay {
    /* position: relative; */
    z-index: 2;
    margin-top: -70px;
}

#banner-overlay .title {
    font-family: 'GenYoMin TW R', serif;
    line-height: 96px;
    font-size: 50px;
    z-index: 2;
}

#banner-overlay h1.title>div>span:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: #fff;
    -webkit-transition: all 800ms cubic-bezier(0.645, 0.045, 0.355, 1);
    -moz-transition: all 800ms cubic-bezier(0.645, 0.045, 0.355, 1);
    -o-transition: all 800ms cubic-bezier(0.645, 0.045, 0.355, 1);
    transition: all 800ms cubic-bezier(0.645, 0.045, 0.355, 1);
    -webkit-transition-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
    -moz-transition-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
    -o-transition-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
    transition-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
    z-index: 2;
    -webkit-transition-property: left;
    -moz-transition-property: left;
    -ms-transition-property: left;
    -o-transition-property: left;
    transition-property: left;
}

#banner-overlay h1.title>div.uk-animation-slide-left>span:before, #banner-overlay h1.title>div.uk-animation-slide-left>span:after {
    left: 120%;
}

#banner-overlay h1.title>div>span:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: -140%;
    top: 0;
    background: #101227;
    -webkit-transition: all 2000ms cubic-bezier(0.165, 0.84, 0.44, 1);
    -moz-transition: all 2000ms cubic-bezier(0.165, 0.84, 0.44, 1);
    -o-transition: all 2000ms cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: all 2000ms cubic-bezier(0.165, 0.84, 0.44, 1);
    -webkit-transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
    -moz-transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
    -o-transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
    transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 3;
    -webkit-transition-property: left;
    -moz-transition-property: left;
    -ms-transition-property: left;
    -o-transition-property: left;
    transition-property: left;
}

#banner-overlay h1.title>div>span {
    overflow: hidden;
    position: relative;
    display: inline-block;
    line-height: 120%;
}

.tm-overlay-title {
    font-size: 24px;
    background-color: rgba(0, 0, 0, 0);
    border: 2px solid #fff !important;
    border-radius: 5px;
    color: #fff;
    text-transform: uppercase;
    margin-top: -30px;
    padding: 10px 30px;
    min-width: 220px;
    text-align: center;
}

/*---------------------------------------------------------------------------------
    4.  Main
----------------------------------------------------------------------------------- */
.tm-position-z-index {
    z-index: 2;
    position: relative;
}

.tm-background-main {
    background-color: #101227;
}

.tm-section-banner {
    background-color: #222145;
    padding-top: 70px;
    margin-top: -70px;
}
.tm-section-banner-box {
    margin-bottom: -120px !important;
}

.tm-section-content {
    margin-top: 60px;
}

.tm-section-banner-title {
    margin-top: 20px;
}

.tm-section-hr {
    width: 30px;
    border-color: #1b1b1b;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

.tm-button-main {
    /* color: #fff; */
    background-color: #101227;
    font-family: 'GenYoMin TW R', serif;
}

.tm-button-black {
    background-color: #1b1b1b;
    font-family: 'GenYoMin TW R', serif;
}

.tm-button-black:hover {
    background-color: #e84949;
}
.tm-button-orange {
    background-color: #e84949;
}
.tm-button-orange:hover, .tm-button-orange:active, .tm-button-orange:focus{
    background-color: #e84949;
    opacity: 0.85;
}
.tm-button-overlay {
    background-color: inherit;
    border: 1px solid #fff;
}

.tm-button-overlay:hover {
    background-color: inherit;
    opacity: 0.75;
}

.tm-button-overlay-black {
    background-color: inherit;
    border: 1px solid #1b1b1b;
    color: #1b1b1b;
}

.tm-button-overlay-black:hover {
    background-color: inherit;
    opacity: 0.75;
    color: #1b1b1b;
}

.tm-item-button {
    line-height: 70px;
    font-size: 20px;
    padding: 0 70px;
    background-color: #ffffff;
    color: #333333;
    font-family: 'GenYoMin TW R', serif;
}

.tm-item-button:hover {
    color: #333333;
    opacity: 0.95;
    transition: 0.3s;
}

.tm-item-button.blue {
    background-color: #101227;
    color: #ffffff;
}
.tm-button-item-icon{
    position: relative;
    top: -2.5px;
}
.tm-button-main:hover {
    background-color: #000;
}

.tm-hr-divider {
    width: 20px;
    border-top: 1px solid #101227;
}

.tm-about-title {
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    padding-top: 5px;
}

.tm-highlight-title:first-letter {
    color: #E74C48;
}

.tm-about-content {
    font-size: 20px;
    line-height: 36px;
}
.tm-form{
    font-family: 'GenYoMin TW R', serif;
}
.tm-login-main{
    margin-top: 120px;
    margin-bottom: 90px !important;
}
.tm-input-search {
    border: none;
}

.tm-close-search {
    padding: 5px;
}
.tm-background-line:before{
    -webkit-transform: skew(115deg);
    -moz-transform: skew(115deg);
    -ms-transform: skew(115deg);
    transform: skew(115deg);
    content: '';
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    bottom: 0;
    background-color: #fafafa;
    opacity: 0.05;
    overflow: hidden;
}
.tm-main-grid {
    position: relative;
    top: -80px;
}

.tm-nav>li>a {
    font-size: 18px;
    font-family: 'GenYoMin TW R', sans-serif;
}
.tm-nav>li.uk-active a{
    color: #101227;
}
.tm-nav-sub>li a {
    font-size: 18px;
    margin-bottom: 5px;
    font-family: 'GenYoMin TW R', sans-serif;
}


ul.tm-news-list li a {
    color: #000;
}

ul.tm-news-list li a:hover {
    color: #555;
}

.tm-social-media-bar li, .tm-social-media-bar li a {
    padding: 0;
    position: relative;
}
.tm-social-media-bar{
    background: #000;
}
.tm-social-media-bar li {
    opacity: 0.75;
}
.tm-social-media-bar li.uk-active{
    opacity: 1;
}
.fb-post-container{
    position: relative;
}
.tm-overlay-contact {
    min-width: 250px;
    text-align: center;
}

.tm-product-main .uk-card {
    border-radius: 10px;
}

.tm-product-main .uk-position-bottom-center {
    min-width: 200px;
}

.tm-icon-button {
    border-radius: 5px;
    width: 48px;
    height: 48px;
}

.tm-chat-button {
    background-color: #1b1b1b;
    position: fixed;
    z-index: 980;
    bottom: 0px;
    right: 0px;
    /* border-radius: 50%; */
    width: 70px;
    height: 70px;
    text-align: center;
    line-height: 70px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.tm-chat-button:hover {
    /* opacity: 0.95; */
    background-color: #e84949;
}

.tm-chat-box-iframe {
    position: fixed;
    z-index: 1000;
    bottom: 90px;
    right: 20px;
    border-radius: 10px;
    opacity: 0;
    z-index: -1;
}
.tm-chat-box-iframe > iframe{
    border-radius: 10px;
    overflow: hidden;
}
/* .tm-chat-box>div {
    border-radius: 10px;
    width: 350px;
    max-width: 375px;
} */

.tm-chat-box .uk-card-header {
    background-color: #F1F1F1;
    border-radius: 10px 10px 0 0;
}

.tm-chat-box .tm-online {
    /* padding: 10px 5px; */
    font-size: 12px;
    background-color: #fff;
    color: #000;
    padding: 0 10px;
}

.tm-chat-box .tm-online .uk-label {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    padding: 0;
    margin-right: 5px;
}

.tm-chat-box .uk-input {
    border: none;
    padding: 0;
}

.tm-msg {
    margin-bottom: 15px;
    display: block;
    clear: both;
    position: relative;
    max-width: 75%;
}

.tm-msg-box>p {
    border-radius: 10px;
    padding: 10px;
    width: fit-content;
    margin-bottom: 0;
}

.tm-msg-body {
    overflow-y: auto;
    display: block;
    list-style: none;
    height: 100%;
}

.tm-msg time {
    font-size: 10px;
}

.tm-msg.self {
    float: right;
    text-align: right;
}

.tm-msg.self .tm-msg-box>p {
    background-color: #222145;
    color: #fff;
}

.tm-msg.the-othe {
    float: left;
}

.tm-msg.the-othe .tm-msg-box>p {
    background-color: #F1F1F1;
    color: #000;
}
.comments{
    position: relative;
}
.internet-connection {
    width: 100%;
    position: fixed;
    top: 81px;
    z-index: 99;
}
.tm-send-button {
    background-color: #222145;
}

.tm-send-button:hover {
    background-color: #222145;
    opacity: 0.95;
}


.tm-service-link>div:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: #101227;
    -webkit-transition: all 400ms cubic-bezier(1, 0, 0, 1);
    -moz-transition: all 400ms cubic-bezier(1, 0, 0, 1);
    -o-transition: all 400ms cubic-bezier(1, 0, 0, 1);
    transition: all 400ms cubic-bezier(1, 0, 0, 1);
    -webkit-transition-timing-function: cubic-bezier(1, 0, 0, 1);
    -moz-transition-timing-function: cubic-bezier(1, 0, 0, 1);
    -o-transition-timing-function: cubic-bezier(1, 0, 0, 1);
    transition-timing-function: cubic-bezier(1, 0, 0, 1);
    z-index: 2;
}

.tm-service-link>div:hover:before {
    height: 100%;
}

.tm-service-link .tm-service-body {
    padding: 30px;
    z-index: 3;
}
.productHeart.active{
    color: red !important;
}
.productHeart.active svg path{
    fill: red !important;
}
.tm-video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}
.tm-video-container .video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/*---------------------------------------------------------------------------------
    5.  Nav-Side
----------------------------------------------------------------------------------- */
/*---------------------------------------------------------------------------------
    6.  RWD
----------------------------------------------------------------------------------- */
@media (max-width: 1440px) {
    .tm-login-main{
        margin-top: 60px;
    }
}
@media (max-width: 960px) {
    header.tm-header .uk-navbar li>a, header.tm-header .uk-logo {
        min-height: 50px;
    }

    header.tm-header .uk-logo img {
        width: 130px;
    }

    #banner-overlay{
        margin-top: -50px;
    }
    #banner-overlay .title {
        font-size: 40px;
        line-height: 66px;
    }
    .tm-works-nav.uk-active{
        top: 50px !important;
    }
    footer .tm-logo {
        float: none;
    }

    footer .tm-company {
        text-align: center;
    }
    .city{
        margin-right: 0 !important;
    }
    .tm-list-news>li>.date {
        display: none;
    }

    .tm-section-banner {
        padding-top: 0px;
        margin-top: -50px;
    }
    .uk-section-large.tm-section-content{
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .tm-section-banner-box {
        margin-bottom: 0 !important;
    }

    .tm-section-content {
        margin-top: 0;
    }

    .tm-about-title {
        -webkit-writing-mode: inherit;
        writing-mode: inherit;
    }
}

@media (max-width: 400px) {
    .tm-height-xxlarge {
        height: 600px;
    }

    .tm-service-link .tm-service-body {
        padding: 15px;
    }

    .tm-chat-box {
        right: 10px;
    }
}

@media only screen and (max-width: 630px) {
    .tm-item-button {
        padding: 0 30px;
    }
}

@media only screen and (max-width: 375px) {
    .tm-chat-box-iframe {
        width: calc(100% - 15px);
        right: 7.5px;
        bottom: 75px;
    }
    .tm-chat-box-iframe > iframe{
        width: 100%;
    }
}

@media only screen and (max-width: 345px) {
    .tm-item-button {
        padding: 0px;
    }

    #logo-title {
        width: 130px;
    }
}
@media only screen and (max-height: 568px) {
    .tm-chat-box-iframe > iframe{
        height: calc(100vh - 100px);
    } 
}


@media (pointer: coarse) {
    .uk-background-fixed {
        background-attachment: fixed !important;
    }
}
