﻿/* body Style */

/* Hide All by Default */

.HideAll {
    display: none;
}

/* Font Face */
@font-face {
    font-family: 'Noto Sans TC';
    src: url('../fonts/NotoSansTC-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Noto Sans SC';
    src: url('../fonts/NotoSansSC-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

/* Remove text-shadow in selection highlight: h5bp.com/i （These selection rule sets have to be separate.） */
::-moz-selection {
    background: #fff;
    color: #333;
    text-shadow: none;
}

::selection {
    background: #fff;
    color: #E93735;
    text-shadow: none;
}

/* body Style */
body {
    margin: 0;
    padding: 0;
    color: #333;

    font-family: 'Microsoft YaHei UI','Microsoft JhengHei UI','PingFang SC',SimSun,Arial,sans-serif;
    font-weight: 400;
    line-height: 1.6;

    text-rendering: optimizeLegibility;
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
    -webkit-font-smoothing: subpixel-antialiased;

    background-color: transparent;
    /*background: url(../images/BG_M.png) left top no-repeat fixed;
    background-size: cover;*/
}

@media only screen and (min-width: 768px) {
    body {
        /*background: url(../images/BG.png) left top no-repeat fixed;
        background-size: cover;*/
    }
}

/* Default Html Tag Style */

a {
    color: #3066be;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
    -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
    -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
    -o-transition: color 0.1s ease-in, background 0.1s ease-in;
    transition: color 0.1s ease-in, background 0.1s ease-in;
}

    a:hover, a:focus {
        color: #E93735;
        text-decoration: none;
        outline: 0;
    }

    a:before, a:after {
        -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
        -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
        -o-transition: color 0.1s ease-in, background 0.1s ease-in;
        transition: color 0.1s ease-in, background 0.1s ease-in;
    }

p {
    text-align: justify;
    -ms-text-justify: inter-ideograph;
    text-justify: inter-ideograph;
}

hr {
    position: relative;
    display: block;
    margin: 20px 0;
    padding: 0;
    width: 100%;
    height: 2px;
    border: none;
    background-image: -webkit-linear-gradient(to right, #CCCCCC, #808080, #333333, #808080, #CCCCCC);
    background-image: -moz-linear-gradient(to right, #CCCCCC, #808080, #333333, #808080, #CCCCCC);
    background-image: -o-linear-gradient(to right, #CCCCCC, #808080, #333333, #808080, #CCCCCC);
    background-image: linear-gradient(to right, #CCCCCC, #808080, #333333, #808080, #CCCCCC);
}

/* Page Content Height */
.PageContentHeight {
    /* 100vh - 64px - 58px - 64px */
    min-height: calc(100vh - 170px);
}

@media only screen and (min-width: 768px) {
    .PageContentHeight {
        /* 100vh - 66px - 60px - 40px */
        min-height: calc(100vh - 150px);
    }
}

/* Default Page Fonts */

.en {
    font-size: 12px;
    font-family: 'Segoe UI',SegoeUI,"Helvetica Neue",'ST Heiti','Apple LiGothic',Helvetica,Arial,sans-serif !important;
}

.cn {
    font-size: 12px;
    font-family: 'Microsoft YaHei UI','Microsoft JhengHei UI','PingFang SC',SimSun,Arial,sans-serif !important;
}

@media only screen and (min-width: 768px) {
    .en {
        font-size: 14px;
        font-family: 'Segoe UI',SegoeUI,"Helvetica Neue",'ST Heiti','Apple LiGothic',Helvetica,Arial,sans-serif !important;
    }

    .cn {
        font-size: 14px;
        font-family: 'Microsoft YaHei UI','Microsoft JhengHei UI','PingFang SC',SimSun,Arial,sans-serif !important;
    }
}

.ContentFont {
    font-size: 12px;
}

.ZeroHeight {
    height: 0;
}

#PageTop {
    height: 20px;
}

/* Desktop & Mobile Device Show */

.MobileShow {
    display: normal !important;
}

@media only screen and (min-width: 768px) {
    .MobileShow {
        display: none;
    }
}

.DesktopShow {
    display: normal;
}

@media only screen and (max-width: 767px) {
    .DesktopShow {
        display: none;
    }
}

/* Subject Title */

.TitleLg {
    font-size: 22px;
}
@media only screen and (min-width: 768px) {
    .TitleLg {
        font-size: 26px;
    }
}

.TitleMd {
    font-size: 20px;
}
@media only screen and (min-width: 768px) {
    .TitleMd {
        font-size: 22px;
    }
}

.TitleSm {
    font-size: 16px;
}
@media only screen and (min-width: 768px) {
    .TitleSm {
        font-size: 18px;
    }
}

.TitleXs {
    font-size: 14px;
}
@media only screen and (min-width: 768px) {
    .TitleXs {
        font-size: 16px;
    }
}

.SubTitle {
    font-size: 10px;
}
@media only screen and (min-width: 768px) {
    .SubTitle {
        font-size: 12px;
    }
}

.SubTitleEn {
    font-family: 'Segoe UI',SegoeUI,"Helvetica Neue",'ST Heiti','Apple LiGothic',Helvetica,Arial,sans-serif!important;
    padding-left: 0;
    font-size: 14px;
}
@media only screen and (min-width: 768px) {
    .SubTitleEn {
        padding-left: 10px;
    }
}

/* Color Code */

.RTISOrange {
    color: #D58164 !important;
}

.RTISBlue {
    color: #187BCD !important;
}

.RTISGreen {
    color: #289997 !important;
}

.white {
    color: #FFFFFF !important;
}

.silver {
    color: #CCCCCC !important;
}

.lightgray {
    color: #A0A0A0 !important;
}

.gray {
    color: #808080 !important;
}

.darkgray {
    color: #0C0C0C !important;
}

.red {
    color: #FF4040 !important;
}

.txtred {
    color: #C25A51 !important;
}

.msred {
    color: #E81123 !important;
}

.lightred {
    color: #FF8080 !important;
}

.darkred {
    color: #FF1010 !important;
}

.footerred {
    color: #FE4E4E !important;
}

.orange {
    color: #FF7F00 !important;
}

.appleOrange {
    color: #F46C0E !important;
}

.yellow {
    color: #D6AC3C !important;
}

.eggyellow {
    color: #FFCC00 !important;
}

.lightyellow {
    color: #FFDE5B !important;
}

.lightgold {
    color: #DFAE2E !important;
}

.gold {
    color: #A17345 !important;
}

.bitblue {
    color: #EFEFFF !important;
}

.lightblue {
    color: #C0C0FF !important;
}

.blue {
    color: #83A0D8 !important;
}

.darkblue {
    color: #4472C4 !important;
}

.txtblue {
    color: #4F84BF !important;
}

.purple {
    color: #b200ff !important;
}

.txtgreen {
    color: #93B45C !important;
}

.green {
    color: #3EB991 !important;
}

.darkGreen {
    color: #52A480 !important;
}

.black {
    color: #000000 !important;
}

.ScoreStar {
    color: #D6AC3C !important;
}

/* Module Main Page */

.MenuItem {
    padding-left: 8px;
    text-decoration: none;
    color: #000000;
}

/* BootStrap Style */

.navbar {
    font-size: 14px;
}

.dropdown-item {
    font-size: 14px;
}

/* Telerik Control Style */

/* RadTextBox Font */
html body .RadInput_Bootstrap .riTextBox, html body .RadInputMgr_Bootstrap {
    font-size: 12px!important;
    font-family: 'Microsoft YaHei UI','Microsoft JhengHei UI','PingFang SC',SimSun,Arial,sans-serif !important;
}

/* RadLable CHS Font */
.RadLabel_Bootstrap {
    font-size: 12px!important;
    font-family: 'Microsoft YaHei UI','Microsoft JhengHei UI','PingFang SC',SimSun,Arial,sans-serif !important;
}

/* Rad Notification */

.RadNotification {
    width: 100%;
    min-height: 100px;
    font-size: 12px;
}

.rnTitleBarTitle {
    margin: 1px 0 0 0!important;
}

/* RadGrid */

.rgNoRecords {
    height: 30px !important;
}

.divGrid {
    outline: none;
    width: 100%;
    overflow: scroll;
    overflow-y: hidden;
}

@media only screen and (min-width: 992px) {
    .divGrid {
        overflow: hidden;
    }
}

/* RadGrid Row Cell Padding */

.RadGrid_Bootstrap .rgRow > td, .RadGrid_Bootstrap .rgAltRow > td, .RadGrid_Bootstrap .rgEditRow > td, .RadGrid_Bootstrap .rgFooter > td, .RadGrid_Bootstrap .rgFilterRow > td, .RadGrid_Bootstrap .rgHeader, .RadGrid_Bootstrap .rgResizeCol, .RadGrid_Bootstrap .rgGroupHeader td {
    padding-left: 8px !important;
    padding-right: 8px !important;
}

/* RadGrid Footer Padding */

.RadGrid_Bootstrap .rgFooter > td {
    padding: 10px 8px !important;
}

/* Rad Tree List */

.divTL {
    outline: none;
    width: 100%;
    overflow: scroll;
    overflow-y: hidden;
}

@media only screen and (min-width: 992px) {
    .divTL {
        overflow: hidden;
    }
}

.RadTreeList_Bootstrap .rtlRSel {
    background-color: #EAF2FF !important;
    color: #000000 !important;
    background: #EAF2FF !important;
}

.RadTreeList_Bootstrap .rtlREdit {
    background-color: #EAF2FF !important;
    color: #000000 !important;
    background: #EAF2FF !important;
}

.RadTreeList_Bootstrap .rtlREdit td > [type="text"], .RadTreeList_Bootstrap .rtlEditForm td > [type="text"] {
    width: 100%!important;
}

/* Rad Tree View */

.RadTreeView_Bootstrap .rtSelected .rtIn {
    border-color: #6F9FCC !important;
    color: #FFFFFF !important;
    background-color: #7EA9D0 !important;
    background-image: -webkit-linear-gradient(to bottom, #95B9D9, #7EAAD1);
}

/* RadGrid Pager Info Part */

.RadGrid .rgPagerCell .rgInfoPart {
    padding-top: 8px !important;
}

.RadGrid_Bootstrap {
    font-family: 'Microsoft YaHei UI','Microsoft JhengHei UI','PingFang SC',SimSun,Arial,sans-serif !important;
}

.RadGrid_Bootstrap .rgMasterTable .rgSelectedCell, .RadGrid_Bootstrap .rgSelectedRow td, .RadGrid_Bootstrap td.rgEditRow .rgSelectedRow, .RadGrid_Bootstrap .rgSelectedRow td.rgSorted {
    color: #000000 !important;
    background: #EAF2FF !important;
    border-color: #DEDEDE !important;
}

/* Rad Button Font And Size */
.RadButton {
    font-size: 12px !important;
    font-family: 'Microsoft YaHei UI','Microsoft JhengHei UI','PingFang SC',SimSun,Arial,sans-serif !important;
}

span.RadButton_Bootstrap .rbDecorated {
    font-size: 12px !important;
    font-family: 'Microsoft YaHei UI','Microsoft JhengHei UI','PingFang SC',SimSun,Arial,sans-serif !important;
}

/* Rad ComboBox Font And Size */

.RadComboBoxDropDown_Bootstrap .rcbHovered label {
    font-size: 12px !important;
    font-family: 'Microsoft YaHei UI','Microsoft JhengHei UI','PingFang SC',SimSun,Arial,sans-serif !important;
}

.RadComboBoxDropDown_Bootstrap .rcbItem label {
    font-size: 12px !important;
    font-family: 'Microsoft YaHei UI','Microsoft JhengHei UI','PingFang SC',SimSun,Arial,sans-serif !important;
}

.RadComboBoxDropDown input[type="checkbox"] {
    margin: 3px 8px 3px 4px !important;
}

.RadComboBox .rcbEmptyMessage {
    font-size: 12px !important;
}

.RadComboBoxDropDown_Bootstrap {
    font-size: 12px !important;
}

/* Rad Radio Button List */

.RadRadioButton.RadButton .rbText {
    padding: 0px 10px 0 5px!important;
}