@charset "utf-8";

/* CSS Document */

body {
    font-family: Arial, "Microsoft JhengHei", PMingLiU, sans-serif;
    -webkit-text-size-adjust: none;
    line-height: 120%;
    font-size: 1em;
    /*background-image: url(../images/bg.jpg);*/
    background-repeat: no-repeat;
    background-position: center top;
}
html {
    overflow-y: scroll;
}

header{background: white;padding: 0 0 1px 0;}
a:active, a:focus {
    outline: none;
}
a img {
    border: none;
}
a {
    text-decoration: none;
}
.right {
    float: right;
}
.left {
    float: left;
}
.aoao {
    /***點點點***/
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}
article a {
    word-wrap: break-word;
    /***超連結換行***/
    word-break: break-all;
    /***超連結換行***/
}
.datatable {
    /***表格加拉軸***/
    overflow-x: auto;
    display: block;
    background:#e0f8fe;
    border-left:3px solid #212972;
    border-right:2px solid #212972;
    border-bottom:2px solid #212972;
    border-collapse:collapse;
}

.datatable td{ border-right:1px solid #212972; border-bottom:1px solid #212972; padding:5px; }
.datatable td[colspan] { text-align:center; font-weight:bold; padding:10px 0; }

.right {
    float: right;
}
.left {
    float: left;
}
.container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}
.a_link {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    cursor: pointer;
}
.pc {
    display: block;
}
.phone {
    display: none;
}
.clearfix:after, .clearfix:before {
    content: "";
    display: table;
}
.clearfix:after {
    clear: both;
}

/***star.header***/

#top {
    background: linear-gradient(45deg, #db0808 3%,#e23f3f 24%,#d60000 81%);
    padding: 10px 0;
}
#top .container {
    position: relative;
}
#logo {
    display: inline-block;
}
.collapse-button {
    display: none;
}

/***star.nav ****/

nav {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}
nav ul {
    padding: 0;
    margin: 3% 0;
    display:flex;
    justify-content:space-around;
}
nav .mainShow {
}
nav .mainShow {}
nav li.mainShow a {
    padding:15px 10px;
    font-size: 18px;
    letter-spacing: 0px;
    font-weight: bold;
    color: #7c7d7e;
    transition: 0.2s ease;
}
nav li.mainShow a:hover {
    padding: 8px 10px;
    border-left: 2px solid #6e6e6e66;
    border-right: 2px solid #6e6e6e66;
}
li.mainShow.nav_contact {
    position: absolute;
    top: -126px;
    right: 1px;
    width: 160px;
    height: 30px;
    text-align: center;
}
li.mainShow.nav_contact a {
    width: 160px;
    color: #fff;
    border-top: 4px solid #fff;
    border-bottom: 4px solid #fff;
    padding: 8px 0;
    display: block;
}
li.mainShow.nav_contact a:hover {
    padding: 8px 0;
    border: none;
}

/* subNav */

.mainShow:hover>.subNav {
    display: block;
}
.subNav>li:hover>.subNav {
    display: block;
}
.subNav {
    display: none;
    position: absolute;
    z-index: 200;
    background: #fcfcfc;
    padding: 0;
}
.subNav li {
    position: relative;
    text-align: left;
    min-width: 240px;
}
.subNav li:hover {
    background: #ccc;
}
.subNav li:last-child {
    border-bottom: 0;
}
.subNav li a {
    display: none;
    color: #333;
}
.subNav li ul.subNav {
    top: -1px;
    left: 164px;
}

/***end.nav****/

.topShow {
    position: absolute;
    top: -80px;
    right: 0;
    padding: 0;
}
#langNav li {
    display: inline-block;
    min-width: 37px;
    text-align: center;
    background: #e16877;
}
#langNav li a {
    display: block;
    padding: 8px 0;
    font-size: 15px;
    color: #FFF;
    font-weight: bold;
}
#langNav li:hover, #langNav .current {
    background: #FFF;
}
#langNav li:hover a, #langNav .current a {
    color: #e16877;
}

/***end.header***/

.title {
    margin: 2% 0 4%;
    text-align: center;
    z-index: 0;
    position: relative;
}




.title .top {
    position: relative;
    display: inline-block;
    padding: 10px 25px;
    font-weight: bold;
    font-size: 21px;
    text-decoration: none;
    color: #fff;
    border-radius: 20px;
    background: #ed0707;
}
/* .title .top:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    left: -10px;
    top: -10px;
    z-index:-3;
    border: 3px solid #cf4141;
} */
.top a{
color:#fff;	
	
	
	}
@media print, screen and (max-width:999px) {
    .right, .left {
        float: none;
    }
    .container {
        padding: 0 3%;
    }
    .pc {
        display: none;
    }
    .phone {
        display: block;
    }
    /**header**/
    .collapse-button {
        display: block;
    }
    .topShow {
        position: inherit;
        padding: 3%;
    }
    #logo {
        margin-left: 10px;
    }
    #langNav li {
        margin-left: 10px;
    }
    nav {
        max-height: 0;
        overflow: hidden;
        width: 100%;
        height: auto;
        position: relative;
        margin-top: 0;
        background: white;
    }
    nav ul {
        margin: 0;
        display:block;
    }
    nav.active {
        max-height: 3000px;
        border-bottom: 3px solid #E16877;
    }
    nav>li {
        width: 100% !important;
        display: block;
    }
    nav a {
        /*width: 100% !important;*/
        width: 100%;
        display: block;
    }
    .mainShow>a:first-child {
        margin: 0 0 0 26px;
    }
    nav>ul>li {
        width: 100% !important;
        /*background: #FFF !important;*/
        float: none !important;
        border-right: none !important;
        border-left: none !important;
        /*border-bottom: 1px solid #EEE;*/
        height: auto !important;
    }
    nav>ul>li {
        border-bottom: 1px solid rgba(119, 119, 119, 0.38);
    }
    nav ul li:first-child {
        border-top: 1px solid rgba(255, 255, 255, 0.7);
    }
    nav>ul>li>a {
        display: inline-block;
        text-align: left;
        padding: 10px !important;
        height: 50px !important;
        line-height: 0 !important;
        box-sizing: border-box !important;
        vertical-align: baseline !important;
        border-radius: 0px;
        width: calc(100%);
    }
    nav>ul>li.mainShow {
        position: relative;
        min-height: inherit;
        border-top: 0;
        border-radius: 0px;
        padding: 0;
        margin: 0;
    }
    nav>ul>li.mainShow>a.menu {
        display: inline-block;
        width: 52px;
        height: 55px;
        float: right;
    }
    nav>ul>li.mainShow>a.menu.active {}
    nav>ul>li.mainShow:first-child {
        border-top: 1px solid #B5B5AC;
    }
    nav ul li.mainShow a.menu {
        display: inline-block;
        position: absolute;
        right: 10px;
        top: 0px;
        width: 50px;
        height: 17px;
        float: right;
        background-image: url(../images/nav_line01.png);
        background-repeat: no-repeat;
        background-position: center center;
        z-index: 2;
    }
    nav ul li.mainShow a.menu.active {
        background: url(../images/nav_line02.png) no-repeat center center;
    }
    nav ul li.mainShow li a.menu {
        top: 11px;
    }
    nav li.mainShow a {
        border: 0;
    }
    nav li.mainShow a:hover, nav li.mainShow.nav_contact a {
        padding: 8px 8px;
        border: 0;
    }
    nav li:hover a, nav li.mainShow.nav_contact:hover a {
        color: #fff;
    }
    nav li.mainShow:hover {
        background: #ac002e;
        border-radius: 0px;
    }
    nav>ul>li>a:before, #topNav>li>a:before {
        content: ' ';
        display: inline-block;
        width: 0;
        height: 80%;
        vertical-align: baseline;
    }
    li a.active+.subNav {
        max-height: 5000px;
    }
    li.mainShow.nav_contact {
        position: relative;
        top: 0;
        right: 0;
    }
    li.mainShow.nav_contact a {
        color: #cf0000;
    }
    /************.subNav ***************/
    .subNav {
        display: block;
        position: relative;
        top: auto !important;
        left: auto !important;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        border-radius: 0px;
    }
    .subNav li {
        margin-top: 0px;
        white-space: inherit;
        border-top: 2px solid rgba(182, 182, 182, 0.3);
        padding: 8px 25px;
    }
    .subNav li a:before {
        /* padding: 1em; */
        /* height: 2em; */
    }
    .subNav li a {
        text-align: left;
        margin-left: 1em;
    }
    .subNav li a i {
        display: inline-block;
        margin: 0 10px;
    }
    .subNav li li {
        background-color: rgb(0, 38, 72);
    }
    .subNav li li a {
        margin-left: 8px;
    }
    .subNav .subNav {
        margin-bottom: -6px;
    }
    /**********end**.subNav ***************/
}
@media print, screen and (max-width:640px) {
    #langNav {
        position: relative;
        left: auto;
        right: 0;
        top: 0px;
    }
    .title .top {
        font-size: 16px;
        padding: padding: 10px 30px 16px;
    }
}
@media print, screen and (max-width:480px) {
    #logo img {
        width: 80%;
    }
    .collapse-button {
        top: 5%;
    }
}
