﻿@charset "UTF-8";
@import url(../normalize_by_peter.css);
/* @import url(//fonts.googleapis.com/earlyaccess/notosanstc.css) */
/* @import url(//fonts.googleapis.com/css?family=Open+Sans) */

/* frame */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    outline: none;
}

html, body {
    height: 100%;
    width: 100%;
    background-color: #1d242c;
}

/* base */
body, .default_font_style {
    color: #FFF;
    /* v1.3 */
    font-family: "Microsoft JhengHei", "微軟正黑體";
    font-size: medium;
    font-weight: unset;
    line-height: unset;
    letter-spacing: unset;
}

table {
    /* width: 100% */
    width: unset;
}

h1.title {
    margin-top: 30px;
    color: #fff;
    font-size: 24px;
    line-height: 1.5em;
    font-weight: 300;
}

/* component-style */
.default-label {
    /* font-size: 12px; */
    padding: 6px;
    border-radius: 2px;
    /* background-color: #7a848a */
    background-color: transparent;
    /* v1.4: 元件齊高 */
    display: inline-block;
    line-height: 1;
    margin: 1px 0;
}

/* v1.3: label無值時，會出現色塊，無值時應該不佔空間 */
.default-label:empty {
    display: none;
}

.primary-label {
    background-color: #337ab7;
}

.success-label {
    background-color: #5cb85c;
}

.info-label {
    background-color: #5bc0de;
}

.warning-label {
    background-color: #f0ad4e;
}

.danger-label {
    background-color: #e70010;
}

.checkbox-style input[type=checkbox],
.checkbox-list  input[type=checkbox],
.radiobutton-style input[type=radio],
.radiobutton-list  input[type=radio] {
    display: none;
}

.checkbox-style input[type=checkbox] + label,
.checkbox-list  input[type=checkbox] + label {
    background: url(icon/checkbox_n.svg) no-repeat 0 center;
}
.checkbox-style input[type=checkbox]:checked + label,
.checkbox-list  input[type=checkbox]:checked + label {
    background: url(icon/checkbox_s.svg) no-repeat 0 center;
}

.radiobutton-style input[type=radio] + label,
.radiobutton-list  input[type=radio] + label {
    background: url(icon/radio_n.svg) no-repeat 0 center;
}

.radiobutton-style input[type=radio]:checked + label,
.radiobutton-list  input[type=radio]:checked + label {
    background: url(icon/radio_s.svg) no-repeat 0 center;
}

.checkbox-style input[type=checkbox] + label,
.checkbox-list  input[type=checkbox] + label,
.radiobutton-style input[type=radio] + label,
.radiobutton-list  input[type=radio] + label {
    line-height: 1.5;
    display: inline-block;
    padding-left: 24px;
    min-height: 24px;
    vertical-align: middle;
}

.textbox {
    background-color: transparent;
    border-radius: 4px;
    border: solid 1px #7a848a;
    padding: 11.5px 14px; /* v1.4 */
    /* font-size: 14px; */
    /* v1.4: 元件齊高 */
    display: inline-block;
    line-height: 1;
    margin: 1px 0;
}

textarea.textbox {
    display: block;
    margin-right: 0!important;
}

.textbox:focus,
.dropdownlist:focus {
    border-color: #23c0ea;
}

.dropdownlist {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    /* background-color: #161b20; */
    background-color: #1d242c;
    background-image: url(icon/icon-arrow-down.svg);
    background-position: right 15px center;
    background-repeat: no-repeat;
    border: 1px solid #7a848a;
    padding: 14px 40px 14px 14px; /* v1.4 */
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    /* font-size: 20px; */
    /* line-height: 28px; */
    /* v1.4: 元件齊高 */
    display: inline-block;
    line-height: 1;
    margin: 1px 0;
}

.dropdownlist option {
}

.dropdownlist option:checked {
    /* background-color: #e70010 */
}

.linkbutton {
    text-decoration: underline; /* normalize_by_peter.css 會令之none, 故設之 */
    /* v1.4 */
    padding: 6px;
    /* v1.4: 元件齊高 */
    display: inline-block;
    line-height: 1;
    /* margin: 1px 0; */
}

.linkbutton:link {
    color: #FFF;
}

.linkbutton:hover {
    color: #FFF; /* chocolate */
}

.linkbutton:active {
    color: #FFF; /* firebrick */
}

.linkbutton:visited {
    color: #FFF; /* purple */
}

.hyperlink {
    text-decoration: underline; /* normalize_by_peter.css 會令之none, 故設之  */
    /* v1.4 */
    padding: 6px;
    /* v1.4: 元件齊高 */
    display: inline-block;
    line-height: 1;
    /* margin: 1px 0; */
}

.hyperlink:link {
    color: #71B9DB;
}

.hyperlink:hover {
    color: #71B9DB; /* chocolate */
}

.hyperlink:active {
    color: #71B9DB; /* firebrick */
}

.hyperlink:visited {
    color: #71B9DB; /* purple */
}

.button-style {
    border-radius: 25px;
    border-width: 0;
    background-color: #71b9db;
    text-align: center;
    /* v1.4 */
    padding: 15px 25px;
    /* v1.4: 元件齊高 */
    display: inline-block;
    line-height: 1;
    margin: 1px 0;
}

.button-style:hover {
    background-color: #5fa2c2;
}

.button-style:active {
    background-color: #2a799e;
}

.button-style:disabled {
    background-color: #344759;
    color: rgba(255, 255, 255, 0.2);
}

.static-menu-style {
    background-color: #161b20;
}

.static-menu-style > li:not(:last-child) {
    margin-right: 10px;
}

.static-menu-style a.popout {
    background-image: none!important;
}

.static-menuitem-style {
    /* padding: 32px 32px 34px 32px !important; // v1.3 */
    padding: unset;
    text-align: center;
    /* color: #a2a2a2; */
    color: #FFF;
}

.dynamic-menu-style {
    background-color: #161b20;
}

.dynamic-menu-style a.popout {
    background-image: url(icon/icon-arrow-right-a2a2a2.svg) !important;
    background-position: right 15px center !important;
    background-repeat: no-repeat !important;
}

.dynamic-menu-style a.popout.highlighted {
    background-image: url(icon/icon-arrow-right.svg) !important;
}

.dynamic-menuitem-style {
    width: 279px;
    /* padding: 19px 40px 17px 40px !important */
    padding: unset; /*  v1.3 */
    text-align: left;
    /* color: #a2a2a2; */
    color: #FFF;
}

.table-style {
    border-radius: 10px;
    background-color: #383e46;
    text-align: left;
}

.table-item-style,
.table-row-style > td, th {
    /* v1.4: 交給 cellpadding 去設定 */
}

.table-row-style:not(:last-child) {
    border-bottom: 1px solid #53595e;
}

.table-header-style {
    border-bottom: 2px solid #7a848a !important;
    font-weight: bolder;
    font-size: large;
}

.table-footer-style {
    border-top: 2px solid #7a848a !important;
    font-weight: bolder;
    font-size: large;
}

.table-seperator-style {
    background-color: #53595e;
    border: 1px solid transparent;
    /* v1.4 */
    padding: unset;
}
