@charset "utf-8";

/* CSS Document */

body {
    font-family: "微軟正黑體";
    margin: 0;
    padding: 0;
    height: 100%;
}

#container {
    min-height: 100%;
    position: relative;
}

#header {
    padding: 10px;
    border-top: #2c3e50 5px solid;
    height: 100px;
    padding-bottom: 0px;
}

#banner {
    margin-bottom: 40px;
    margin: 0px;
}

#main {
    padding-top: 20px;
    padding-bottom: 60px;
    float: left;
    width: 100%;
    /* Height of the footer */
}

#product_tb {
    background-color: #f4f7f8;
    padding-top: 20px;
    height: 350px;
    float: left;
    width: 100%;
}

#news_tb {
    list-style: none;
    width: 100%;
    padding-top: 20px;
}

#footer_about {
    width: 100%;
    background-color: #34495e;
    color: #fff;
    height: auto;
    float: left;
    padding-bottom: 20px;
}

#footer {
    width: 100%;
    height: 60px;
    /* Height of the footer */
    background: #2c3e50;
    color: #b3c4d6;
    text-align: center;
    line-height: 60px;
    font-size: 15px;
    bottom: 0;
    float: left;
}

#logo {
    float: left;
    margin-right: 100px;
    float: left;
    position: relative;
}

.wtb {
    width: 1000px;
    margin: 0 auto;
}

.wtb_main,
.wtb_main p a {
    width: 1000px;
    margin: 0 auto;
    min-height: 300px;
    color: #666;
    line-height: 26px;
    text-decoration: none;
}

#menu {
    float: left;
}

#menulist {
    float: left;
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

.menuitem {
    list-style-type: none;
    display: inline;
    font-family: "微軟正黑體";
    font-size: 15px;
    padding: 50px 12px 35px 16px;
    line-height: 100px;
    height: 100px;
}

.menuitem:hover,
.active {
    background-color: #f9f9f9;
    border-bottom: 5px solid #3498db;
    font-weight: bold;
}

.menuitem :link {
    text-decoration: none;
    color: #4a4a4a;
    font-weight: bold;
}

.menulink {
    display: inline;
    width: 100%;
    height: 100%;
}

.menuitem :visited {
    color: #4a4a4a;
}

.menuitem :hover {
    color: #3498db;
}

.menuitem :active {
    color: #4a4a4a;
}

.index_item {
    height: 330px;
    margin-top: 30px;
}

.index_item li {
    list-style: none;
    float: left;
    width: 320px;
    height: 130px;
}

#itemA {
    border: #ccc 1px solid;
    background-image: url(images/icon01.png);
    background-repeat: no-repeat;
    background-color: #f8fbfc;
    background-position: 20px 20px;
    padding-left: 150px;
    padding-top: 20px;
    padding-right: 20px;
    margin: 0px;
    margin-right: 16px;
}

#itemB {
    border: #ccc 1px solid;
    background-image: url(images/icon02.png);
    background-repeat: no-repeat;
    background-color: #f8fbfc;
    background-position: 20px 20px;
    padding-left: 150px;
    padding-top: 20px;
    padding-right: 20px;
    margin: 0px;
}

#itemC {
    border: #ccc 1px solid;
    background-image: url(images/icon03.png);
    background-repeat: no-repeat;
    background-color: #f8fbfc;
    background-position: 20px 20px;
    padding-left: 150px;
    padding-top: 20px;
    padding-right: 20px;
    margin: 0px;
    margin-right: 16px;
    margin-top: 16px;
}

#itemD {
    border: #ccc 1px solid;
    background-image: url(images/icon04.png);
    background-repeat: no-repeat;
    background-color: #f8fbfc;
    background-position: 20px 20px;
    padding-left: 150px;
    padding-top: 20px;
    padding-right: 20px;
    margin-top: 16px;
}

.item_title {
    color: #324455;
    font-weight: bold;
    font-size: 20px;
    line-height: 50px;
    height: 50px;
}

.item_txt {
    color: #8394a4;
    font-size: 13px;
    line-height: 22px;
    height: 22px;
}

.title {
    background-image: url(images/icon_title.png);
    background-repeat: no-repeat;
    background-position: 0px 45px;
    height: 60px;
    line-height: 50px;
    width: 100%;
    float: left;
}

.title_tw {
    font-weight: bold;
    color: #2b2b2b;
    font-size: 20px;
    float: left;
    margin-right: 5px;
}

.title_tw_w {
    font-weight: bold;
    color: #fff;
    font-size: 20px;
    float: left;
    margin-right: 5px;
}

.title_en {
    font-size: 15px;
    color: #9c9c9c;
    float: left;
}

.title_en_c {
    font-size: 15px;
    color: #cfcfcf;
    float: left;
}

.newsbox {
    width: 100%;
}

.newstb {
    float: left;
    margin-bottom: 30px;
    width: 320px;
    height: 400px;
    border: #cfd1d4 1px solid;
    margin-top: 20px;
    margin-right: 17px;
}

.news_img {
    background-color: #CCC;
    width: 320px;
    height: 240px;
    text-align: center;
    line-height: 240px;
    color: #000;
}

.news_title {
    color: #3e5f6e;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    width: calc(100% - 40px);
    margin-top: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    float: left;
}

.news_txt {
    color: #3e5f6e;
    font-size: 15px;
    line-height: 22px;
    padding-left: 20px;
    padding-right: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    width: calc(100% - 40px);
    margin-bottom: 10px;
}

.btnmore {
    background-color: #0198db;
    width: 100px;
    height: 40px;
    text-align: center;
    color: #fff;
    border: 0px;
    margin: 0 auto;
    -webkit-appearance: none;
}

.btnsend {
    background-color: #0198db;
    width: 100px;
    height: 40px;
    text-align: center;
    color: #fff;
    border: 0px;
    margin: 0 auto;
    font-size: 15px;
    -webkit-appearance: none;
}

.title_blue {
    color: #0198db;
    font-weight: bold;
    line-height: 50px;
    font-size: 18px;
    float: left;
    width: 100%;
}

#Fabout {
    width: 400px;
    padding-top: 20px;
    margin-right: 10px;
    float: left;
}

.Fmain,
.Fmain a {
    color: #cfcfcf;
    font-size: 13px;
    line-height: 20px;
    padding-top: 5px;
    text-decoration: none;
    width: 320px;
}

#Fwork {
    width: 250px;
    padding-top: 20px;
    margin-right: 10px;
    float: left;
}

#Fcontact {
    width: 330px;
    padding-top: 20px;
    float: left;
}

.mainnews {
    width: 100%;
    float: left;
}

.mainwork {
    height: auto;
    float: left;
    width: 1000px;
    margin-top: 30px;
}

.server_tb {
    padding: 0px;
    list-style: none;
    float: left;
    width: 100%;
}

.server_box {
    border-bottom: #ccc 1px dashed;
    margin-top: 30px;
    width: 100%;
    float: left;
}

.server_box li {
    list-style: none;
    float: left;
    height: 220px;
}

.img_server {
    width: 400px;
    height: auto;
    margin: 20px;
    margin-left: 0px;
    float: left;
}

.txt_server {
    font-size: 15px;
    color: #525252;
    margin: 20px;
    height: auto;
    FLOAT: left;
    width: calc(100% - 460px);
}

.item_btntb {
    list-style: none;
    width: 100%;
    margin-bottom: 30px;
    float: left;
}

.btn_item,
.btn_item2 {
    float: left;
}

.btn_item a {
    text-decoration: none;
    background-color: #0198db;
    color: #fff;
    padding: 21px;
    padding-top: 6px;
    padding-bottom: 6px;
    margin-top: 30px;
    float: left;
    margin-right: 10px;
}

.btn_item2 a {
    text-decoration: none;
    border: #0198db 1px solid;
    padding: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
    color: #0198db;
    margin-top: 30px;
    float: left;
    margin-right: 10px;
}

.btn_item2 :hover {
    background-color: #0198db;
    color: #fff;
}

.txt_c {
    font-size: 10px;
    color: #90a0b1;
    line-height: 15px;
    margin-top: 10px;
}

.txt_bb {
    color: #306985;
    font-size: 13px;
    line-height: 20px;
}

.txt_bb2 {
    color: #2F5971;
    font-size: 15px;
    line-height: 30px;
    padding: 3px;
}


/*CSS pagenum style pagination*/

.pagenum {
    PADDING-RIGHT: 3px;
    PADDING-LEFT: 3px;
    FONT-SIZE: 0.85em;
    PADDING-BOTTOM: 3px;
    MARGIN: 3px;
    PADDING-TOP: 3px;
    FONT-FAMILY: Tahoma, Helvetica, sans-serif;
    TEXT-ALIGN: center
}

.pagenum A {
    BORDER: #0198db 1px solid;
    PADDING-RIGHT: 12px;
    BACKGROUND-POSITION: 50% bottom;
    PADDING-LEFT: 12px;
    PADDING-BOTTOM: 5px;
    COLOR: #0198db;
    MARGIN-RIGHT: 5px;
    PADDING-TOP: 5px;
    TEXT-DECORATION: none;
}

.pagenum A:hover {
    BORDER: #0198db 1px solid;
    BACKGROUND-IMAGE: none;
    COLOR: #fff;
    BACKGROUND-COLOR: #0198db
}

.pagenum A:active {
    BORDER-RIGHT: #0198db 1px solid;
    BORDER-TOP: #0198db 1px solid;
    BACKGROUND-IMAGE: none;
    BORDER-LEFT: #0198db 1px solid;
    COLOR: #fff;
    BORDER-BOTTOM: #0198db 1px solid;
    BACKGROUND-COLOR: #0089c6;
}

.pagenum SPAN.current {
    PADDING-RIGHT: 6px;
    PADDING-LEFT: 6px;
    FONT-WEIGHT: bold;
    PADDING-BOTTOM: 2px;
    COLOR: #000;
    MARGIN-RIGHT: 3px;
    PADDING-TOP: 2px
}

.pagenum SPAN.disabled {
    DISPLAY: none
}

.pagenum A.next {
    BORDER-RIGHT: #ccdbe4 2px solid;
    BORDER-TOP: #ccdbe4 2px solid;
    MARGIN: 0px 0px 0px 10px;
    BORDER-LEFT: #ccdbe4 2px solid;
    BORDER-BOTTOM: #ccdbe4 2px solid
}

.pagenum A.next:hover {
    BORDER-RIGHT: #0198db 2px solid;
    BORDER-TOP: #0198db 2px solid;
    BORDER-LEFT: #0198db 2px solid;
    BORDER-BOTTOM: #0198db 2px solid
}

.pagenum A.prev {
    BORDER-RIGHT: #ccdbe4 2px solid;
    BORDER-TOP: #ccdbe4 2px solid;
    MARGIN: 0px 10px 0px 0px;
    BORDER-LEFT: #ccdbe4 2px solid;
    BORDER-BOTTOM: #ccdbe4 2px solid
}

.pagenum A.prev:hover {
    BORDER-RIGHT: #0198db 2px solid;
    BORDER-TOP: #0198db 2px solid;
    BORDER-LEFT: #0198db 2px solid;
    BORDER-BOTTOM: #0198db 2px solid
}


/****************************/

.input {
    height: 26px;
    BORDER: #CFE1EF 1px solid;
    width: 250px;
    margin: 5px;
    padding: 10px;
}

.input2 {
    height: 300px;
    BORDER: #CFE1EF 1px solid;
    width: 750px;
    margin: 5px;
    VERTICAL-ALIGN: top;
    padding: 10px;
    line-height: 30px;
}


/*********0628*/

.wtb2 {
    width: 100%;
    margin: 0 auto;
    min-height: 30px;
    color: #666;
    line-height: 26px;
}


/*****0704*/

.newstb {
    float: left;
    margin-bottom: 30px;
    width: 320px;
    height: 400px;
    border: #cfd1d4 1px solid;
    margin-top: 20px;
}

.newstb:nth-child(3n) {
    margin-right: 0px;
}

.mainwork div {
    margin-right: 10px;
    margin-bottom: 10px;
    float: left;
    padding: 0px;
    width: 240px;
    height: 180px;
    border: #ccc 1px solid;
}

.mainwork div:nth-child(4n) {
    margin-right: 0px;
    margin-bottom: 10px;
    padding: 0px;
    float: left;
    height: 180px;
    border: #ccc 1px solid;
}

.studio {
    text-decoration: none;
    color: #b3c4d6;
}

.QRicon {
    z-index: 101;
    position: relative;
    right: -410px;
}

#BgMenu {
    position: fixed;
    top: 0;
    left: -85%;
    width: 80%;
    height: 100%;
    background: #2e8bd9;
    transition: .5s;
    z-index: 999999999;
    overflow: scroll;
}

#BgMenu li {
    width: calc( 100% - 25px);
    line-height: 35px;
    padding-left: 25px;
    text-align: left;
    border-bottom: rgba(255, 255, 255, 0.5) 1px solid;
    color: #fff;
    font-size: 15px;
}

#BgMenu a {
    color: #fff;
    text-decoration: none;
}

#BgMenu li.this {
    color: #07BD5D;
}

#BgMenu li span.en {
    opacity: .5;
    font-size: 12px;
    margin-right: 25px;
}

#BgMenu li:hover {
    background: rgba(255, 255, 255, 0.25);
}

#BgMenu a:hover {
    text-decoration: none;
}

#BgMenu li li {
    font-size: 12px;
    line-height: 25px;
}

#BgMenu li li:last-child {
    border: 0;
}

#openMenu {
    display: none;
    position: absolute;
    top: 20px;
    right: 5%;
    width: 30px;
    height: 5px;
    background-size: contain;
    cursor: pointer;
    background: #2e8bd9;
    border-radius: 1px;
    border: #fff 10px solid;
    border-top: #fff 20px solid;
    border-bottom: #fff 20px solid;
    z-index: 9999999;
    transition: .3s;
    margin-right: -7.5px;
}

#openMenuBefore {
    position: absolute;
    top: -10px;
    left: 0px;
    height: 5px;
    width: 100%;
    background: #2e8bd9;
    transition: .3s;
}

#openMenuAfter {
    position: absolute;
    bottom: -10px;
    left: 0px;
    height: 5px;
    width: 100%;
    background: #2e8bd9;
    transition: .3s;
}

.rotateBefore {
    transform: rotate(45deg);
    top: 0px !important;
}

.rotateAfter {
    transform: rotate(-45deg);
    bottom: 0px !important;
}

#closeMenu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 20%;
    height: 100%;
    cursor: pointer;
    z-index: 99999999999;
}

#footer_about .wtb {
    float: left;
    margin-left: calc( (100% - 1000px) / 2);
}

.aboutDiv img {
    width: auto;
    max-width: 100%;
    height: auto !important;
}

@media screen and (max-width: 999px) {
    .newstb {
        width: 300px;
    }
    .news_img img,
    .news_img {
        width: 300px;
        height: 225px;
    }
}

@media screen and (max-width: 979px) {
    .newstb {
        width: calc( 50% - 42px);
        margin-left: 20px;
        padding-bottom: 20px;
        height: auto;
    }
    .news_img img,
    .news_img {
        width: 100%;
        height: auto;
        float: left;
    }
    .aboutDiv p img {
        width: 50%;
        margin-right: 0 !important;
        float: left;
    }
    #main {
        width: calc( 100% - 40px);
        float: left;
        margin-left: 20px;
    }
    #menu {
        display: none;
    }
    #openMenu {
        display: block;
    }
    .wtb_main {
        width: 100%;
    }
    #footer_about .wtb {
        float: left;
        width: 100%;
        margin-left: 0;
    }
    #Fabout {
        width: 260px;
    }
    .Fmain,
    #Fcontact {
        width: 250px;
    }
    #Fwork {
        width: 210px;
    }
    .wtb {
        width: 100%;
        float: left;
    }
    .mainwork {
        width: 100%;
        float: left;
    }
    .mainwork div,
    .mainwork div:nth-child(4n) {
        width: calc( (50% - 40px));
        height: auto;
        margin-right: 0px;
        margin-left: 20px;
    }
    .mainwork div img {
        width: calc( (100% - 40px));
        float: left;
        margin-left: 20px;
    }
    #itemB {
        margin-top: 16px;
    }
    .index_item li {
        width: calc( 100% - 115px);
        background-size: 65px 65px;
        padding-left: 95px !important;
        margin-right: 0px;
    }
    .index_item {
        width: 100%;
        float: left;
        height: auto;
    }
    #product_tb {
        float: left;
        width: 100%;
        height: auto;
    }
    #contactTable {
        width: 100%;
    }
    #contactTable tr td:nth-child(1) {
        width: 200px;
    }
    #contactTable tr td:nth-child(2) {
        width: calc( 100% - 200px - 4px);
    }
    .input2 {
        width: auto;
    }
}

@media screen and (max-width: 768px) {
    .aboutDiv img {
        width: 100% !important;
        height: auto !important;
        float: left;
        margin-top: 10px;
    }
    .flexslider2,
    .flexslider {
        float: left;
    }
    #header {
        height: auto;
    }
    #logo img {
        width: 150px;
        height: auto;
    }
    .mainwork,
    .wtb2 {
        width: 100%;
        height: auto;
    }
    .mainwork div,
    .mainwork div:nth-child(4n) {
        width: 100%;
        height: auto;
        margin-right: 0px;
        border: none;
        margin-left: 0px;
    }
    .mainwork div img {
        width: calc( (100% - 40px));
        float: left;
    }
    #footer {
        float: left;
        font-size: 12px;
    }
    #footer_about,
    #Fabout,
    #Fwork,
    #Fcontact {
        width: 100%;
        float: left;
        height: auto;
        padding-bottom: 10px;
    }
    .Fmain {
        width: calc( 100% - 40px);
        margin: 0px 20px;
        float: left;
    }
    #news_tb {
        float: left;
        width: 100%;
    }
    .item_title {
        height: auto;
        line-height: initial;
        font-size: 16px;
        margin-bottom: 10px;
    }
    .item_txt {
        height: auto;
        line-height: initial;
    }
    .txt_server {
        display: block;
        width: 100%;
        height: auto;
        float: left;
        margin-right: 0;
        margin-left: 0;
    }
    .img_server,
    .img_server img {
        width: 100%;
        height: auto;
    }
    #contactTable tr td:nth-child(1) {
        display: none;
    }
    #contactTable tr td input {
        width: calc( 100% - 34px);
    }
    #contactTable tr td:nth-child(2) {
        width: calc( 100% - 4px);
    }
    .input2 {
        width: calc( 100% - 32px);
    }
    .btnTD {
        display: table-cell !important;
    }
}

@media (max-width: 767px) {
    .newstb {
        width: calc( 100% - 40px);
        margin-left: 20px;
        padding-bottom: 20px;
        height: auto;
    }
    #main {
        padding: 20px;
        margin-left: 0px;
    }
    #Fabout .title,
    #Fwork .title,
    #Fcontact .title {
        margin-left: 20px;
        width: calc( 100% - 20px);
    }
}