
body {
    font-family: 微軟正黑體 !important;
}

.header {
    position: fixed;
    width: 100%;
    z-index: 9;
    top: 0px;
}

.footer {
    position: absolute;
    padding: 1rem;
    margin-left: 20px;
    font-size: x-small;
}

.dropdown-menu {
    border: #fff !important;
    padding: 0px !important;
    font-weight: bolder;
}

.dropdown-item {
    padding: 2px 30px 0px !important;
    margin-bottom: 8px;
}

.navbar-light .navbar-nav .nav-link {
    color: #000 !important;
}

.dropdown-item.active, .dropdown-item:active {
    color: #000 !important;
}

.dropdown-item.hover, .dropdown-item:hover {
    background-color: #fff !important;
}

.dropdown-menu li:hover .sub-menu {
    visibility: visible;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/*iphone*/
@media (min-width: 320px) and (max-width: 414px) {
    .space {
        margin-bottom: 25px !important;
    }

    #contact2_text {
        position: absolute;
        z-index: 1;
        font-weight: 400 !important;
        font-size: x-small !important;
        margin-top: 15px !important;
        margin-left: 9%;
        line-height: 2em;
    }
}

/*ipad*/
@media (min-width: 760px) and (max-width: 768px) {
    .dropdown-item {
        padding: 1px 10px 0px !important;
    }

    .navbar-brand {
        margin-right: 10px !important;
    }

    #contact2_text {
        width: 500px;
        margin-left: 10%;
        line-height: 3em;
        font-size: medium !important;
    }
}

/*ipro*/
@media (min-width: 769px) {
    .navbar-expand-md .navbar-nav .nav-link {
        /*padding-right: 30px !important;*/
        padding-left: 40px !important;
    }

    .dropdown-item {
        padding: 2px 40px 0px !important;
    }

    #contact2_text {
        width: 500px;
        margin-left: 10%;
        line-height: 3em;
        margin-top: 70px !important;
        font-size: medium !important;
    }
}

/*acer*/
@media (min-width: 1025px) {
    .navbar-expand-md .navbar-nav .nav-link {
        padding-right: 30px !important;
        padding-left: 30px !important;
    }

    #contact2_text {
        width: 500px;
        margin-left: 10%;
        line-height: 3em;
        margin-top: 100px;
        font-size: medium !important;
    }
}

@media (min-width: 768px) and (max-width: 936px) {
    .navbar-expand-md .navbar-nav .nav-link {
        padding-right: 5px !important;
        padding-left: 13px !important;
        font-size: 14px;
    }
}

.wrapper img {
    width: 100%;
    height: auto;
}

.space {
    margin-bottom: 50px;
}

.v_center
{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

#contact2_text {
    position: absolute;
    z-index: 1;
    font-weight: bold;
    margin-top: 20px;
    margin-left: 9%;
}

#contact2_text a {
    color: black;
}

.navbar-toggler {
    padding: 3px !important;
}

.tmenu {
    text-align: right;
    background-position: right;
    /*margin-top: 50px;*/
}

.tmenu span {
    margin-right: 20px;
    font-weight: bolder;
    font-size: small;
}

.tmenu img {
    width: 60%;
}

video {
    width: 100%;
    height: auto;
}

#homeimg {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin-right: auto;
    margin-left: auto;
}

#homeimg img {
    padding: 30px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    width: 10000px;
}

#indexmenu .col-6, .col-5 {
    margin-bottom: 25px;
    margin-top: 25px;
}

#indexmenu .col-6, .col-5 {
    text-align: center;
}

#indexmenu {
    text-align: center;
}

#menutext {
    text-align: left;
}

#menutext span {
    color: black;
}

.col-1, .col-5, .col-6 {
    padding-right: 10px !important;
    padding-left: 10px !important;
}

#tlstore .col-4 {
    margin-bottom: 50px;
}

/*slick slider*/

.slick-prev {
    left: 0px;
    background-image: url('../img/arrow_previous.png');
    background-repeat: no-repeat;
    background-position-y: center;
    background-color: transparent;
}

.slick-next {
    right: 0px;
    background-position-y: center;
    background-image: url('../img/arrow_next.png');
    background-repeat: no-repeat;
    background-color: transparent;
}

#smimg .slick-slide img
{
    margin: 0 auto;
}

#smimg .slick-next
{
    font-size: 0;
    position: absolute;
    /*top: 47%;*/
    cursor: pointer;
    border: none;
    z-index: 99;
    width: 30px;
    height: 30px;
    top: calc(50% - 15px);
    right: -25px;
}

#smimg .slick-prev
{
    font-size: 0;
    position: absolute;
    /*top: 47%;*/
    cursor: pointer;
    border: none;
    z-index: 99;
    width: 30px;
    height: 30px;
    top: calc(50% - 15px);
    left: -25px;
}

.slick-next,.slick-prev {
    font-size: 0;
    position: absolute;
    /*top: 47%;*/
    cursor: pointer;
    border: none;
    z-index: 99;
    width: 30px;
    height: 30px;
    top: calc(50% - 1px);
    background-size: 30px 30px;
}

#indeximg {
    text-align: center;
}

#indeximg2 img {
    width: 4rem;
    margin-left: 2rem;
    margin-top: 20px;
    margin-bottom: 30px;
    float: left;
}

#infoleft img, #inforight img {
    width: 85%;
}

#indeximg3 {
    float: right;
    margin-top: 50px;
    margin-right: 40px;
}

#indeximg3 > img {
    width: 30px;
    height: 30px;
}

.navbar-nav li[class=nav-item]
{
    margin-top: 4px;
}

.autoplay img {
    margin: 0 auto;
}

.autoplay2 img {
    width: 80px;
    margin: 10px auto 20px auto;
}

.smimgstyle {
    /*float: left;*/
    /*margin-left: 5px;*/
    /*margin-top: 5px;*/
    /*margin: 10px auto 20px auto;*/
}

#smimg {
    margin: 0 auto;
    width: 90%;
}

.table td {
    border-top: 0px !important;
    padding: 5px !important;
}

.andtable td {
    font-size: small;
    /*padding: 5px !important;*/
}

@media (min-width: 1200px) {
    .container {
        max-width: 980px !important;
    }
}

#contactleft, #contactright {
    margin-left: auto;
    margin-right: auto;
    width: 300px;
}

@media (min-width: 320px) and (max-width: 767px) {
    #contactright {
        margin-top: 50px;
    }
}

@media (min-width: 1500px) {

    #smimg img {
        width: 80px;
        height: auto;
    }

    .autoplay img {
    width: 570px;
    }
}

@media (min-width: 1200px) and (max-width: 1500px)  {

    #smimg img {
        width: 80px;
        height: auto;
    }

    .autoplay img {
        width: 380px;
    }
}

@media (min-width: 992px) and (max-width: 1200px)  {
    #indeximg {
        margin-top: 4%;
    }

    #indeximg3 img {
        margin-top: 2.4rem;
        margin-right: 2rem;
    }

    .autoplay img {
        width: 390px;
    }

    .autoplay2 {
        padding: 165px 20px;
    }

    #infoleft img, #inforight img {
        width: 75%;
    }

    #smimg img {
        width: 70px;
        height: auto;
    }

    .tantable {
        margin-top: 10px;
    }

}

@media (min-width: 768px) and (max-width: 992px) {
    .autoplay img {
        width: 240px;
    }

    .autoplay2 img {
        width: 66px;
    }

    .autoplay2 {
        padding: 140px 20px;
    }

    #indeximg {
        margin-top: 30%;
    }

    #indeximg3 img {
        margin-top: 80px;
        margin-right: 30px;
    }

    #smimg img {
        width: 58px;
        height: auto;
    }

    .tantable td {
        font-size: small;
        padding: 3px !important;
    }

}

@media (min-width: 576px) and (max-width: 768px) {
    .autoplay img {
        width: 180px;
    }

    .autoplay2 img {
        width: 50px;
    }

    .autoplay2 {
        padding: 100px 20px;
    }

    #indeximg {
        margin-top: 40%;
    }

    .slick-prev, .slick-next {
        width: 20px;
        height: 20px;
        background-size: 20px 20px;
    }

    #smimg img {
        width: 48px;
        height: auto;
    }

    .tantable td {
        font-size: x-small;
        padding: 3px !important;
    }
}

@media (min-width: 435px) and (max-width: 576px) {
    .autoplay img {
        width: 130px;
    }

    .autoplay2 img {
        width: 35px;
    }

    .autoplay2 {
        padding: 80px 20px;
    }

    #indeximg {
        margin-top: 50%;
    }

    .slick-prev, .slick-next {
        width: 15px;
        height: 15px;
        background-size: 15px 15px;
    }

    #smimg img {
        width: 32px;
        height: auto;
    }

    .tantable td {
        font-size: xx-small;
        padding: 3px !important;
    }

}

@media (min-width: 320px) and (max-width: 435px) {
    .autoplay img {
        width: 90px;
    }

    .autoplay2 img {
        width: 20px;
    }

    .autoplay2 {
        padding: 70px 20px;
    }

    #indeximg {
        margin-top: 50%;
    }

    .slick-prev, .slick-next {
        width: 15px;
        height: 15px;
        background-size: 15px 15px;
    }

    #smimg {
        width: 320px;
        margin: 0 auto;
    }

    #smimg img {
        width: 22px;
        height: auto;
    }

    .tantable td {
        font-size: xx-small;
        padding: 2px !important;
    }
}

.carousel-indicators li {
    border-radius: 100%;
    height: 10px !important;
    width: 10px !important;
    cursor: pointer;
}

@media (min-width: 320px) and (max-width: 353px) {
    .tantable {
        margin-top: -70px;
    }
}

@media (min-width: 353px) and (max-width: 420px) {
    .tantable {
        margin-top: -50px;
    }
}

@media (min-width: 420px) and (max-width: 476px) {
    .tantable {
        margin-top: -20px;
    }
}