﻿@font-face {
    font-family: DroidSerif-BoldItalic;
    src: url(fonts/RougeScript-Regular.ttf) format("truetype");
    /* src: url(fonts/ScheherazadeRegAAT.ttf) format("truetype"), 
       url(fonts/ScheherazadeRegOT.ttf) format("opentype"); */
}

@font-face {
    font-family: DroidSerif;
    src: url(fonts/DroidSerif-Regular.ttf) format("truetype");
}

@font-face {
    font-family: Mandali;
    src: url(fonts/Mandali-Regular.ttf) format("truetype");
}

body {
    font-family: Mandali, Calibri, Arial, sans-serif;
    font-size: 1.15em;
}

.form-control, .form-control-static, .form-control-static textarea {
    font-family: Mandali, Calibri, Verdana, sans-serif;
    font-weight: bold;
}

button, a.btn, input[type="button"], input[type="submit"], input[type="reset"], .select2, .select2 option, .content-wrapper h1, .content-wrapper li {
    font-family: Mandali, Calibri, Verdana, sans-serif;
    font-weight: bold;
}

tfoot tr th {
    text-align: right !important;
}

.breadcrumb li.active {
    font-size: 1.1em;
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
    border: 1px solid #369;
}

.logo-lg, .logo-mini {
    font-family: DroidSerif-BoldItalic, Calibri, Verdana, sans-serif;
    font-weight: 300;
    font-size: 2.4em;
    color: #fff;
}

section.sidebar, .sidebar-menu li a span {
    font-family: Mandali, Calibri, Verdana, sans-serif;
    font-size: 1.05em;
}
/* Button 設定 */
.btn-primary, .btn-default, .btn-success, .btn-danger {
    font-size: 0.9em;
    min-width: 8em;
    min-height: 2em;
}

/* Tab 設定 */
.nav-tabs > li > a {
    margin-right: 2px;
    line-height: 1.42857143;
    border: 1px solid #d8d8d8;
    border-bottom: 1px solid transparent;
    border-radius: 4px 4px 0 0;
}

    .nav-tabs > li > a:hover {
        border-top-color: #837f7f;
        border-right-color: #837f7f;
        border-left-color: #837f7f;
    }
/* Table 設定 */
table thead, table thead td, th, th label, th label.control-label {
    font-family: DroidSerif, Calibri, Verdana, sans-serif;
    font-size: 0.9em;
    background-color: #e8e8e8 !important;
    color: #4c4c4c;
    vertical-align: middle;
    vertical-align: middle !important;
}

table tbody td, table th {
    font-family: Mandali, Calibri, Verdana, sans-serif;
    font-size: 1.05em;
    font-weight: bold;
    color: #1f1f1f;
}

.form-group .control-label {
    font-family: Mandali, Calibri, Verdana, sans-serif;
    font-size: 0.95em;
    font-weight: bold;
    color: #4c4c4c;
}

/* Login Form */
#loginForm input[type=text] {
    font-family: Mandali, Calibri, Arial, sans-serif;
}

#divLoginForm .panel-heading {
    font-family: Mandali, Calibri, Arial, sans-serif;
    font-size: 1.2em;
    color: #808080;
}

input[type=text], input[type=number] {
    font-family: Mandali, Calibri, Arial, sans-serif;
    font-size: 1.05em;
    color: #1f1f1f;
}

/* --------------- Select2 --------------------*/
.select2, .select2-container--default, .select2-selection--single, .select2-selection--multiple, .select2-selection__rendered {
    min-height: 35px;
    max-height: 35px;
    min-width: 100%;
}

    select[required], .select2-selection__rendered[required] {
        border-left-width: 5px;
        border-left-color: #0094ff;
    }

.select2-offscreen[required],
.select2-offscreen[required]:focus {
    width: auto !important;
    height: auto !important;
}
/* --------------- Select2 的 required 要在其 parent element 加上 select2-required class name --------------------*/
div.select2-required span.select2-selection {
    border-left: 4px solid #0094ff !important;
}

select.form-control {
    padding-top: 0px;
}

/*------- Required Field Setting -------*/
.required, .Required, :Required {
    border-left-width: 5px;
    border-left-color: #0094ff;
}

.form-control:read-only {
    background-color: #f6f6f6;
}

.input-group-addon {
    color: white;
    height: 0.95em !important;
    background-color: #157cb7 !important;
    border-top-right-radius: 18% !important;
    border-bottom-right-radius: 18% !important;
    cursor: pointer;
}

#divLoginForm .input-group-addon {
    color: white;
    height: 0.98em !important;
    background-color: #157cb7 !important;
    border-top-right-radius: 0% !important;
    border-bottom-right-radius: 0% !important;
    border-top-left-radius: 15% !important;
    border-bottom-left-radius: 15% !important;
    cursor: pointer;
}
/*------- Alertify Setting -------*/
.alertify-notifier .ajs-message {
    /*width: 1000px;*/
    width: 50em;
    font-size: 1.25em;
}

.alertify-notifier.ajs-right {
    float: left;
    margin-left: auto;
    margin-right: auto;
    right: 53%;
    top: 250px;
}
.alertify input[type=text] {
    width: 100% !important;
}
/*------- Hightlight -------*/
.control-label.highlight-label {
    font-weight: bold;
    color: #3c8dbc;
}

.highlight-text {
    color: #157cb7 !important;
    margin-right: 6em;
    margin-left: 0.5em;
}


.form_datetime {
    cursor: pointer;
}

.user-footer .btn {
    font-size: 1em !important;
}
/*------- Horizon Defined CSS -------*/
.sidebar-menu li a {
    font-size: 1.05em !important;
}
.horizon-text-decimal {
    text-align: right;
    font-weight: bold;
    margin-right: 0.1em;
}
.horizon-ActionText {
    margin-left: 0.15em;
    margin-right: 0.15em;
}
.horizon-subtitle {
    font-weight: bold;
    font-style: italic;
    color: #606060;
    font-size: 0.85em;
}
.badge-square {
    display: inline-block;
    min-width: 10px;
    padding: 0.2em 1.5em;
    font-size: 1em;
    font-weight: bold;
    color: #fff;
    line-height: 1;
    vertical-align: middle;
    white-space: nowrap;
    text-align: center;
    background-color: #777777;
    border-radius: 3px;
}

.nav-content {
    padding-top: 0.75em;
    padding-bottom: 0.75em;
}

.nav-tabs a {
    font-size: 0.9em !important;
}

    .nav-tabs li i {
        font-size: 1.35em;
        margin-right: 0.3em;
    }

.nav-tabs li .active, .nav-tabs .active a {
    font-size: 1em;
    font-weight: bold;
    color: #606060;
    background-color: white;
}