﻿
* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

html {
    overflow-y: scroll; /* IE */
    overflow-x: hidden;
    height: 100%;/* Moz */
    margin-bottom: 0.1em;
}

body {
    background: #f4f4f4;
    min-height: 100%;
    height: 100%;
    margin: 0;
    font: 12px "新細明體", Verdana, Geneva, sans-serif;
    color: #000000;
}

img {
    border: 0;
}

h1, h2, h3, h4 {
    font-size: 1.25em;
    font-weight: bold;
}

a {
    color: #0057a0;
    text-decoration: none;
    cursor: pointer;
}

a:hover {
    color: #6e4e3a;
    text-decoration: none;
}

a.nonlink,
a.nonlink:hover {
    color: #000;
    text-decoration: none;
    cursor: text;
}

pre {
    font: 15px/26px "細明體";
}

select {
    border: #c3c3c3 1px solid;
    padding: 3px;
    color: #000033;
}

.clear {
    clear: both;
}

.pull-right {
    float: right !important;
}

.pull-left {
    float: left !important;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.text-justify {
    text-align: justify;
}

.text-justify:after {
    content: '';
    display: inline-block;
    width: 100%;
}



#page {
    position: relative;
    width: 100%;
    min-height: 100%;
    margin: 0 auto;
}

* html #page {
    width: 100%;
}


/* common style */
.container {
    position: relative;
    width: 1000px;
    margin: 0 auto;
    padding: 0 10px;
}

.pure-g [class *= "pure-u"] {
    font-family: "Microsoft JhengHei", Tahoma, Geneva, sans-serif;
}

.row {
    /* 讓 .col float 撐開.row */
    overflow: hidden; /* IE7 IE8 Firefox Chrome Safari */
    _width: 100%;  /* IE6 */
}

.col {
    float: left;
    letter-spacing: normal;
}



/* #header */
#header {
}

#header .container {
    height: 100px;
    padding: 0;
}

.logo {
    padding-top: 10px;
    text-align: center;
}
.logo img {
    width: 450px;
    height: 80px;
}


/* mainMenu */
.mainMenu {
    border-radius: 8px;
    background: #bcbcbc;
    position: fixed;
    left: 15%;
    width: 90px;
    z-index: 999;
}

.mainMenu .toggle {
    display: none;
}

.mainMenu > ul {
    position: relative;
    width: 90px;
    margin: 0 auto;
    padding: 0;
    font-size: 0;
}

.mainMenu ul li {
    position: relative;
}

.mainMenu > ul > li {
    margin: 20px 0;
}

.mainMenu > ul > li > a {
    display: block;
    width: 65px;
    margin: 0 auto;
    font-size: 16px;
    font-family: Arial,"微軟正黑體","Helvetica Neue",Helvetica,sans-serif,"新細明體";
    line-height: 30px;
    text-align: center;
    color: #FFF;
}

.mainMenu > ul > li > a > i{
    display: block;
    font-size: 2em;
}

.mainMenu ul > li:hover > ul {
    display: block;
}

.mainMenu ul > li:hover > ul > li:hover > ul {
    display: block;
}

.mainMenu ul > li.active:after,
.mainMenu ul > li.active:before {
    content: " ";
    border: solid transparent;
    position: absolute;
    right: -1px;
    height: 0;
    width: 0;
    pointer-events: none;
}

.mainMenu ul > li.active:after {
    border-color: rgba(204, 204, 204, 0);
    border-right-color: #EDEDED;
    border-width: 10px;
    top: 21px;
    margin-top: -10px;
}

.mainMenu ul > li.active:before {
    border-color: rgba(204, 204, 204, 0);
    border-right-color: #CDCDCD;
    border-width: 11px;
    top: 21px;
    margin-top: -11px;
}

.mainMenu ul > li.active > a {
    color: #FFB400;
}


/*MENU第二層以下*/
.mainMenu ul > li ul {
    display: none;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
/*    border: 1px solid #CDCDCD;*/
    background: #FFFFFF;
    position: absolute;
    left: 95%;
    margin: 0;
    padding: 5px;
    min-width: 80px;
    -webkit-animation-duration: 0.6s;
    -moz-animation-duration: 0.6s;
    -o-animation-duration: 0.6s;
    animation-duration: 0.6s;
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    -o-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: fadeInLeft;
    -moz-animation-name: fadeInLeft;
    -o-animation-name: fadeInLeft;
    animation-name: fadeInLeft;  /* Webkit (Safari/Chrome) */
    /*-webkit-box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.25);
    box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.25);*/
    text-align: left;
    white-space: nowrap;
    z-index: 99;
}

.mainMenu ul > li > ul {
    top: 3px;
}

.mainMenu ul > li > ul li:hover {
    background-color: #E5E5E5;
}

.mainMenu ul > li ul:before,
.mainMenu ul > li ul:after {
    right: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.mainMenu ul > li ul:after {
    border-color: rgba(255, 255, 255, 0);
    border-right-color: #FFFFFF;
    border-width: 10px;
    top: 45%;
    margin-top: -10px;
}

.mainMenu ul > li ul:before {
    border-color: rgba(215, 215, 215, 0);
    border-right-color: #CDCDCD;
    border-width: 11px;
    top: 45%;
    margin-top: -11px;
}

.mainMenu ul > li > ul li {
    position: relative;
    display: block;
    min-width: 120px;
    padding: 5px 10px;
    font-size: 13px;
}

.mainMenu ul > li > ul > li a {
    display: block;
    color: #353535;
    font-size: 13px;
}

.mainMenu ul > li > ul > li a i {
    margin-right: 5px;
    vertical-align: middle;
    font-size: 1.3em;
}

.mainMenu ul > li > ul > li > a .holder {
    background: url('../../images/arrow.png') no-repeat;
    background-position: 50% 50%;
    position: relative;
    display: inline-block;
    width: 10px;
    height: 10px;
    z-index: 99;
    pointer-events: none;
}



/* #content */
#content {}

#content .container {
    /*padding:0 37.5px;*/
}

#content .container .row {}


/* page style */
.breadcrumb {
    padding: 10px;
    font: 12px "Microsoft JhengHei";
    color: #727272;
}

.breadcrumb a { color: #f4633d; }


.login {
    border: 2px solid #00b7ea;
    border-radius: 10px;
    background-color: #fff;
    position: relative;
    margin: 10px auto;
    padding: 15px;
    width: 450px;
}

.login input[type=text],
.login input[type=password] {
    width: 100%;
    padding: 10px;
    margin: 0px;
}

.login .pure-button {
    border-radius: 5px;
    width: 100%;
}

/* #footer */
#footer {
    clear: both;
    position: relative;
    margin-top: 20px;
    padding: 15px;
    color: #fff;
}

#footer .copyright {
    border-bottom: 1px solid #dfe1e1;
    position: relative;
    margin: 10px auto;
    padding-bottom: 15px;
    font: normal 10px/14px  Verdana, Arial, Helvetica, sans-serif;
    color: #808080;
    text-align: center;
}

#footer .info {
    position: relative;
    width: 500px;
    margin: 20px auto;
    font: normal 12px/18px Tahoma, Arial, Helvetica, Sans-Serif;
    color: #808080;
}



/* tableStyle */
.tb-list {
    border-collapse: collapse;
    width: 100%;
    margin: 0 auto;
    font:15px "Microsoft JhengHei", Verdana, Geneva, sans-serif;
}

.tb-list th {
    background: url('../../images/dot01.gif') 0 100% repeat-x;
    text-align:right;
    white-space: nowrap;
}

.tb-list th img {
    margin-left: 3px !important;
    vertical-align: baseline !important;
}

.tb-list td {
    background: url('../../images/dot01.gif') 0 100% repeat-x;
    padding: 8px;
}

.tb-list td table td {
    border: none;
    margin: 0px;
    padding: 0px;
}

.tb-list01,
.tb-list02 {
    border-collapse: collapse;
    border: 1px solid #dad9d2;
    width: 100%;
    margin: 0 auto;
    font: normal 15px/22px "Microsoft JhengHei", Tahoma, Geneva, sans-serif;
    word-break:break-all;
    word-wrap:break-word;
}

.tb-list01 a,
.tb-list02 a { color:#2059b7; }

.tb-list01 th,
.tb-list02 th {
    background-color:#dad9d2;
    padding: 8px 0;
}

.tb-list01 td,
.tb-list02 td {
    border-bottom: 1px solid #dad9d2;
    background-color:#fff;
    padding: 8px;
}

.tb-list01 td table td,
.tb-list02 td table td {
    border: none;
    margin: 0px;
    padding: 0px;
}

.tb-list03 {
    border-collapse: collapse;
    width: 100%;
    margin: 0 auto;
    font:15px "Microsoft JhengHei", Verdana, Geneva, sans-serif;
}

.tb-list03 th {
    border-bottom:1px solid #a6a921;
    background: #e0e28b;
    text-align:center;
    padding: 4px 8px;
}


.tb-list03 td {
    background: url('../../images/dot01.gif') 0 100% repeat-x;
    padding: 8px;
}

.tb-list03 td table td {
    border: none;
    margin: 0px;
    padding: 0px;
}

.tb-list04 {
    border-collapse: collapse;
    width: 100%;
    margin: 0 auto;
    font:15px "Microsoft JhengHei", Verdana, Geneva, sans-serif;
}

.tb-list04 th {
    background: url('../../images/dot01.gif') 0 100% repeat-x #fff;
    padding: 10px;
    font:18px "Microsoft JhengHei", Verdana, Geneva, sans-serif;
    color:#046380;
    text-align:left;
}

.tb-list04 td {
    background: url('../../images/dot01.gif') 0 100% repeat-x #fff;
    padding: 10px;
}

.tb-list04 td span{
    color:#046380;
}

.tb-list04 td table td {
    border: none;
    margin: 0px;
    padding: 0px;
}


.tb-form01 {
    position:relative;
    width:100%;
    margin: 5px auto;
    padding:0px;
    border-collapse:collapse;
    font: 12px Tahoma, Geneva, sans-serif;
}

.tb-form01 th {
    padding:8px;
    text-align:right;
    font-weight:bold;
    color:#333;
}

.tb-form01 td {
    padding:6px;
    font-size:1em;
}

.tb-form01 td table td {
    border:none;
    margin:0px;
    padding:0px;
}



/*input style*/
input[type=text] {
    vertical-align: middle;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: inline-block;
    border: 1px solid #cfcfcf;
    padding: 6px;
    margin: 0 3px;
}


/* button */
.pure-button {
    position: relative;
    font-size: 13px;
    min-width: 120px;
    margin: 2px 0;
}

.btn-small {
    font-size: 85%;
    min-width: inherit;
}

.btn-act {
    border: 1px solid #0087ae;
    background: #00b7ea;/* Old browsers */
    text-decoration: none;
    color: #ffffff;
}

.btn-clear {
    border: 1px solid #cfcfcf;
    background: #aeaeae;/* Old browsers */
    text-decoration: none;
    color: #ffffff;
}

.btn {
    background: #b8cc69;
    border: 1px solid #a6bf42;
    border-radius: 3px;
    text-decoration: none;
    color: #ffffff;
}



/*RWD*/
@media screen and (max-width:980px) {
    .container {
        width: 100%;
    }

    #footer .copyright {
        width: 90%;
    }

    #footer .info {
        width: 60%;
    }
}


@media screen and (max-width:768px) {
    #footer .info {
        text-align: center;
    }

    #footer .info span {
        display: block;
    }
}


@media screen and (max-width:480px) {
    .login {
        width: 100%;
    }

    .logo img {
        width: 90%;
        height: auto;
    }
}


@media screen and (max-width:380px) {
    #header {
        height: 70px;
    }
}

