@font-face {
    font-family: en;
    src: url(../client/public/fonts/inconsolata.woff);
}

@font-face {
    font-family: sym;
    src: url(../client/public/fonts/symmingliu.woff);
}

@font-face {
    font-family: zh;
    src: local("微軟正黑體"), local("Microsoft JhengHei"), local("Lantinghei TC"), local("MingLiU_HKSCS");
}

@font-face {
    font-family: huninn;/*    src: url(../font/jf-openhuninn-2.0.ttf);*/
    src: url(../font/huakang.ttc);
}

table {
    border-collapse: collapse;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    margin-bottom: 20px;
    width: 100%;
    min-width: 600px;
}

.phone table {
    margin-left: 2%;
    width: 96%;
    min-width: auto;
}

.phone .id {
    display: none;
}

body {
    position: relative;
    background-image: url('/image/leaf.jpg');
    color: #cccccc;
    font-family: en, sym, huninn, zh !important;
    margin: 0;
}

.ui-container {
    max-width: 1000px;
    position: relative;
    min-width: 1000px;
    margin: 0 auto !important;
}

.phone .ui-container {
    max-width: auto;
    min-width: auto;
}

h1, h2 {
    color: #eeeeee;
    text-shadow: black 3px 3px;
    text-align: center;
    margin: 3px;
}

h2 {
    font-weight: initial;
}

td {
    text-align: center;
}

td:nth-child(2) {
    padding-left: 20px;
    text-align: left;
}

.phone td:nth-child(2) {
    padding-left: 0px;
    text-align: center;
}

tr {
    cursor: default;
}

tbody tr:hover {
    background: rgba(255, 255, 255, 0.1);
}

tbody tr:last-child:hover {
    background: none;
}

th {
    padding-top: 12px;
    padding-bottom: 12px;
}

th:last-child {
    padding-right: 20px;
}

th:first-child {
    padding-left: 20px;
}

tbody td:first-child {
    text-align: center;
    padding-left: 20px;
}

.phone tbody td:first-child {
    padding-left: 0px;
}

tbody td:last-child {
    padding-right: 20px;
}

tbody td {
    padding-top: 8px;
    padding-bottom: 8px;
}

tbody tr:last-child {
    padding-bottom: 20px;
}

hr {
    border-color: #888;
}

.footer {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-size: contain;
    background-image: url('/image/footer.png');
    z-index: -1;
}

th:nth-child(2), th:nth-child(3), th:nth-child(4) {
    padding: 0 5px;
    white-space: nowrap;
}

h3 {
    text-align: center;
}

.inactive {
    color: #666;
    background-color: #440000
}

.info a, td a {
    color: #abcdef;
    text-decoration: none;
    font-weight: bold;
}

.info a:hover, td a:hover {
    color: #6789ab;
}

.na {
    color: #444;
}
