/*
    Theme: RulingSite-S 2.4 
    Author: Joshua
    Version: 20130911
*/

/****** Base ******/

/* Reset */
 body, div, dl, dt, dd, h1, h2, h3, h4, h5, h6, form, fieldset, input, textarea, p, th, td {
    margin: 0;
    padding: 0;
}
img {
    border: 0;
}
input:focus, select:focus, textarea:focus {
    outline: 0;
}
/* List reset */
 #LSResult ul, #submenu ul, #submenu2 ul, #linklist ul, #super_pages_list ul, #recruit_list ul, #PageList ul, .article ul, .article2 ul, #banner_bar ul, .PageList, .col_text, .att_files ul, .info ul, #extralist10 ul, .lev_one li ol, .col, .col_r, #ADB ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
a:link, a:visited {
    color: #004fa8;
    outline: none;
    text-decoration: none;
}
a:hover, a:active {
    color: #0360c9;
    text-decoration: underline;
}
p {
    margin: 15px 0;
}
h2 {
    font-family: 微軟正黑體;
    font-size: 24px;
    font-weight: 100;
    margin-bottom: 10px;
    padding-left: 15px;
    color: #000;
    background: url(cssimg/h2-bg.jpg) left top no-repeat;
}
h2 a:link, h2 a:visited {
    color: #fff
}
h2 a:hover, h2 a:active {
    color: #fff
}
h3, .teacher_title1, .ts_styled caption, .ts_rowsonly caption, .ts_vstyled caption {
    color: #000;
    line-height: 30px;
    font-size: 18px;
    font-weight: 100;
    text-align: left;
    font-family: 微軟正黑體;
}
h3, .teacher_title1 {
    margin-bottom: 10px;
    line-height: 17px;
    clear: both;
}
h4 {
    font-size: 13px;
}
code, .code {
    font-size: 12px;
    display: block;
}
fieldset {
    padding: 10px;
    border: 1px solid #bcbcbc;
}
legend {
    color: black;
    font-size: 15px;
    font-family: 微軟正黑體;
}
form fieldset legend {
    margin: 0 15px;
    padding: 5px;
    font-size: 12px;
}
input {
    font-family: inherit;
    padding: 2px 5px;
}
textarea {
    font-family: inherit;
    clear: both;
    overflow: auto;
    padding: 5px 0 0 5px
}
label {
    cursor: pointer;
    background: none;
    padding: 5px;
    margin: 0;
}
acronym {
    cursor: help;
    border-bottom: 1px dotted #000;
}
dt {
    padding-left: 10px;
    line-height: 1.6;
    margin: 0 0 5px 0;
    /*background: url(cssimg/dt.png) left 8px no-repeat;*/
}
dd {
    color: #7f7f7f;
    line-height: 1.6;
}
/****** Layout ******/
 body {
    font-family: Arial, Sans-Serif;
    font-size: 80%;
    background: #dbeefd url(cssimg/body-bg-internal.jpg) left top repeat-x;
}
body > img {
    display: none;
}
#container {
    position: relative;
    margin: 10px auto 0 auto;
    background: #fff;
}
#container, #banner_bar {
    width: 940px;
}
#pageheader {
    height: 372px;
    background: url(cssimg/pageheader-bg.jpg) left bottom no-repeat;
}
#pageheader2 > a img {
    position: absolute;
    top: 162px;
    left: 0;
    display: none;
}
#pageheader h1 {
    position: absolute;
    top: 26px;
    left: 36px;
    z-index: 999;
}
#pageheader h1 span {
    background: url(cssimg/logo.png) left top no-repeat;
    width: 205px;
    height: 50px;
    text-indent: -9999px;
    display: block;
    cursor: pointer;
}
#ADB {
    position: absolute;
    left: 0;
    top: 162px;
    display: none;
}
#ADB .pager {
    position: absolute;
    right: 20px;
    bottom: 20px;
    z-index: 9527;
}
#ADB .pager a {
    background: #fff;
    width: 10px;
    height: 10px;
    display: inline-block;
    border-radius: 50%;
    text-indent: -9999px;
    margin-right: 5px;
    -webkit-box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, .6);
    box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, .6);
}
#ADB .pager .activeSlide {
    background: #214f86;
}
/* Corner navigation */
 #corner {
    position: absolute;
    top: 15px;
    right: 200px;
    text-align: right;
    color: #80766d;
    z-index: 5;
    font-size: 12px;
}
#corner a:link, #corner a:visited {
    font-size: 12px;
    color: #6a6a6a;
    margin-right: 10px;
}
#corner a:hover, #corner a:active {
    color: #338dc1;
}
.corner-home {
    padding-left: 20px;
    background: url(cssimg/corner-home.png) left 0 no-repeat;
}
/* Background repeat in this div */
 #main1 {
    position: relative;
}
/* Background top in this div */
 #main2 {
}
/* Background bottom in this div */
 #main {
    background: #fff;
    padding: 30px;
    min-height: 450px;
}
#content p {
    line-height: 1.7;
}
/* Main Menu */
 #linklist {
    position :absolute;
    top : 100px;
    left : 15px;
    width : 910px;
    z-index:9528;
    font-size: 12px;
}
#linklist h3 {
    display:none;
}
#ul_menu1_0 {
    display: table;
    width: 100%;
}
#menu1 li {
    display: table-cell;
}
#menu1 a {
    display: block;
    color: #fff;
    font-size: 16px;
    background: #214f86;
    font-family: 微軟正黑體;
    padding: 0 10px;
    margin-right: 1px;
    height: 55px;
    line-height: 55px;
    text-align: center;
    position: relative;
}
#menu1 a:hover, #menu1 .active {
    text-decoration: none;
    background: #b5d9f3;
    color: #000;
    font-weight: bold;
    text-decoration: underline;
}
#menu1 a:hover span, #menu1 .active span {
    position: relative;
    top: -2px;
}
#menu1 .mu6, #menu1 .mu7, #menu1 .mu8, #menu1 .mu9, #menu1 .mu10 {
    background: #8eb6e5;
    color: #000;
}


/* Dropdown level 2 */
 #ul_submenu1_0 {
    display: none;
}
#ul_menu1_0 > li > span {
    position: relative;
    display: block;
}
#ul_menu1_0 > li:hover #ul_submenu1_0 {
    display: block;
    position: absolute;
    top: 55px;
    left: 0;
    min-width: 150px;
    background: #8eb7e5;
    overflow: hidden;
    color: #000;
    z-index: 9527;
    border: 1px solid #fff;
}
#ul_menu1_0 #ul_submenu1_0 li {
    float: none;
    display: block;
    line-height: 2.5;
    padding: 5px 0;
    overflow: hidden;
    border-bottom: 1px solid #fff;
}
#ul_menu1_0 #ul_submenu1_0 li:hover {
    background: #b5d9f3;
}
#ul_menu1_0 #ul_submenu1_0 a {
    display: block;
    height: auto;
    font-size: 13px;
    line-height: 1.5;
    text-align: left;
    float: none;
    color: #000;
    padding: 0 20px;
    background: none;
    white-space: nowrap;
}
/* The same submenu BUT different ID T___T */
 #ul_submenu22_0 {
    display: none;
}
#ul_menu1_0 > li:hover #ul_submenu22_0 {
    display: block;
    position: absolute;
    top: 55px;
    left: 0;
    width: 150px;
    background: #8eb7e5;
    color: #000;
    z-index: 9527;
    border: 1px solid #fff;
}
#ul_menu1_0 #ul_submenu22_0 li {
    float: none;
    display: block;
    line-height: 2.5;
    padding: 5px 0;
    border-bottom: 1px solid #fff;
    position: relative;
}
#ul_menu1_0 #ul_submenu22_0 li:hover {
    background: #b5d9f3;
}
#ul_menu1_0 #ul_submenu22_0 li a {
    display: block;
    height: auto;
    font-size: 13px;
    line-height: 1.5;
    text-align: left;
    float: none;
    color: #000;
    padding: 0 20px;
    background: none;
    white-space: nowrap;
}
/* Level3... IT'S pretty hard.. */
 #ul_submenu22_1_0 {
    display: none;
}
#ul_submenu22_0 > li > span {
    position: relative;
}
#ul_submenu22_0 li:hover #ul_submenu22_1_0 {
    display: block;
    position: absolute;
    top: 0;
    left: 150px;
    display: block;
    position: absolute;
    background: #8eb7e5;
    color: #000;
    z-index: 9527;
    border: 1px solid #fff;
}
#ul_submenu22_0 #ul_submenu22_1_0 li {
    float: none;
    display: block;
    line-height: 2.5;
    padding: 5px 0;
    border-bottom: 1px solid #fff;
}
#ul_submenu22_0 #ul_submenu22_1_0 li:hover {
    background: #b5d9f3;
}
#ul_submenu22_0 #ul_submenu22_1_0 li a {
    display: block;
    height: auto;
    font-size: 13px;
    line-height: 1.5;
    text-align: left;
    float: none;
    color: #000;
    padding: 0 20px;
    background: none;
    white-space: nowrap;
}
/* Login */
 #login_id, #login_pw {
    width: 80px;
}
#menu_login {
    display: none;
}
/* User menu */
 #linklist #menu_service {
    right: 0;
    position: absolute;
    top: -35px;
}
#linklist #menu_service li {
    padding: 0 1px;
    float: left;
}
#linklist #menu_service a {
    color: #fff;
    padding: 8px 12px;
    background: #003467;
    font-size: 13px;
}
#linklist #menu_service a:hover {
    background: #214f86;
}
/* Sub Menu */
 #submenu {
    padding: 10px 25px;
    margin-bottom: 25px;
    background: #f6f6f6;
}
#submenu ul {
    margin: 0;
    overflow: hidden;
}
#submenu li {
    margin: 0 11px 0 0;
    float: left;
}
#submenu li a:link, #submenu li a:visited {
    line-height: 1.7;
    font-size: 15px;
    font-family: 微軟正黑體;
}
#submenu li a:hover, #submenu li a:active {
}
#submenu li span a {
    white-space: nowrap;
}
/* Sub Menu2 */
 #submenu2, #super_pages_list, #recruit_list {
    margin-bottom: 10px;
}
#submenu2 ul, #super_pages_list ul, #recruit_list ul {
    overflow: hidden;
    list-style: none;
}
#submenu2 li, #super_pages_list li, #recruit_list li {
    float: left;
    margin: 0 8px 10px 0;
}
#submenu2 li a:link, #submenu2 li a:visited, #super_pages_list li a:link, #super_pages_list li a:visited, #recruit_list li a:link, #recruit_list li a:visited {
    float: left;
    background: #f8931f;
    color: #fff;
    padding: 6px 8px;
    border-radius: 8px;
    font-size: 12px;
}
#submenu2 li a:hover, #submenu2 li a:active, #super_pages_list li a:hover, #super_pages_list li a:active, #recruit_list li a:hover, #recruit_list li a:active {
    background: #fcb026;
}
#submenu2 li span a, #super_pages_list li span a, #recruit_list li span a {
    white-space: nowrap;
}
/* Footer */
 #footer {
    clear: both;
    min-height: 105px;
    color: #5ea3cd;
    font-size: 12px;
    line-height: 1.7;
    background: #0d5786;
}
#footer2 {
    width: 940px;
    position: relative;
    margin: auto;
}
#footer a:link, #footer a:visited {
    color: #5ea3cd;
}
#footer a:hover, #footer a:active {
}
#footer_logo {
    display: none;
}
#footer p {
    margin: 0;
}
#footer_address {
    padding: 20px 0 20px 220px;
    width: 700px;
    float: left;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
#footer_ruling {
    display: none;
}
#counter {
    position: absolute;
    top: 20px;
    left: 20px;
    color: #f49800;
}
#counter em {
    color: #5ea3cd;
    font-style: normal;
}

#counter .login_link{
    display: inline-block;
    vertical-align: top;
}

.social-links{
    float: right;
    width: 230px;
    margin: 0;
    padding: 50px 0 0 0;
    list-style-type: none;
}
.social-links a{
    float: left;
    font-size: 0;
    margin-right: 8px;
    color: transparent !important;
}


/******  Module ******/

/* Google search  */
 #menu_search {
    position: absolute;
    top: -90px;
    right: 5px;
}
#menu_search #sitesearch, #menu_search #sitesearch1, #menu_search #sitesearch2, #menu_search label {
    display: none;
}
#menu_search #q {
    height: 22px;
    width: 142px;
    color: #828282;
    border: none;
    font-size: 12px;
    font-family: arial;
    background: #bdb8b8;
    float: left;
}
#menu_search #sa {
    cursor: pointer;
    float: left;
    width: 30px;
    height: 26px;
    margin-left: 2px;
    background: url(cssimg/sa.jpg) left top no-repeat;
    border: none;
    color: #fff;
}
/* Banner_bar */
 #banner_bar {
    margin: 0 auto;
    position: relative;
    z-index: 15;
}
#banner_bar_2 {
    width: 450px;
    position: absolute;
    left: 0;
    top: 15px;
}
#banner_bar a {
    font-size: 12px;
}
#banner_bar a:hover, #banner_bar a:active {
}
/* Table setting */
 .ts_styled, .ts_rowsonly {
    margin: 10px 0 5px 0;
    font-size: 1em;
    border-collapse: collapse;
    color: #333;
    background: white;
}
.ts_styled th, .ts_rowsonly th {
    padding: 12px;
    vertical-align: top;
    color: #fff;
    text-align: left;
    background: #004fa8;
    font-weight: 100;
    font-size: 13px;
    white-space: nowrap;
}
.ts_styled td, .ts_rowsonly td {
    border-bottom: 1px solid #ececec;
    padding: 10px;
    vertical-align: top;
    line-height: 1.7;
}
.ts_styled .even, .ts_rowsonly .even {
}
.ts_styled input, .ts_rowsonly input {
    border: 0 solid red;
    background: none;
}
/* ts_rowsonly 管理介面使用, 教師列表, 學術成果, 研討會等 */
 .ts_vstyled {
    margin: 10px 0 5px 0;
    font-size: 1em;
    border-collapse: collapse;
    color: #333;
}
.bio_pic {
    position: absolute;
    right: 30px;
    top: 45px;
}
.ts_vstyled th {
    padding: 6px 15px;
    vertical-align: top;
    border-bottom: 1px dashed #e4e4e4;
    font-weight: 100;
    width: 110px;
    text-align: right;
}
.ts_vstyled td {
    padding: 8px 15px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px dashed #e4e4e4;
    background: url(cssimg/th_bg.gif) top left no-repeat;
}
.ts_vstyled caption {
    border-bottom: 1px solid #ddd;
}
/* page navigation for tables */
 .PageDetails {
    padding-top: 3px;
    padding-bottom: 3px;
    font-size: 12px;
    text-align: right;
    color: #686868;
    margin-top: 10px;
}
.PageList {
    display: inline;
}
.PageList li {
    display: inline;
}
.PageList a, .PageList a:link, .PageList a:visited {
    color: #fff;
    margin: 0 1px;
    font-size: 11px;
    font-weight: 900;
    padding: 1px 2px 1px 4px;
    background: #2c2c2c;
    border-radius: 2px;
}
.PageList a:hover, .PageList a:active {
    background: #68b13c;
}
/* Accesskey */
 #accesskey_content, #container #accesskey_top, #accesskey_menu, #accesskey_login, #accesskey_submenu, #accesskey_extralist {
    display: none;
}
/* pic view page */
 #page_pic #pic_container {
    width: 997px;
    margin: auto;
}
#pic_container #footer {
    background: none;
}
#pic_container #footer2 {
    background: none;
}
/* Login page */
 #page_login #loginstyle {
    background: url(cssimg/login_form_bg.jpg) left top no-repeat;
    padding: 30px 60px 0 10px;
    width: 270px;
    margin-top: 70px;
    float: left;
}
#page_login #loginstyle label {
    cursor: pointer;
    margin-left: 20px;
    letter-spacing: 0;
    vertical-align: middle;
}
#page_login #loginstyle #login_id, #page_login #loginstyle #login_pw {
    font-size: 12px;
    color: #000;
    width: 130px;
    border: 1px solid #ccc;
    height: 20px;
    padding-top: 5px;
    margin-bottom: 5px;
}
#page_login #welcome_rss {
    float: left;
    margin-right: 20px;
}
/* Memberlist */
 #page_student_status_checkbox {
    padding: 30px;
    background: none;
}
#page_student_status_checkbox fieldset {
    margin-bottom: 20px;
    padding: 20px;
}
#page_student_status_checkbox input {
    background: none;
    border: none;
    margin: 0 4px;
}
#page_student_status_checkbox .checkbox {
    line-height: 2em;
}
#page_student_status_checkboxsubmit_form input {
    border: 1px solid #d0d0bf;
    padding: 2px;
}
#page_student_status_checkbox .col_select {
    float: left;
    width: 15%;
    margin-right: 10px;
    margin-top: 10px;
}
#page_student_status_checkbox .submit {
    margin-top: 25px;
}
#page_student_status_checkbox .col_r, #page_student_status_checkbox .col {
    float: left;
    clear: both;
}
#page_student_status_checkbox .submit input {
    border: 1px solid #d0d0bf
}
#page_student_status_checkbox .PageDetails {
    margin: 15px 0;
    border-bottom: 1px solid #eee;
}
/* Blog */
 #attrs_checkbox {
    padding: 30px;
    background: none;
}
#attrs_checkbox fieldset {
    margin-bottom: 20px;
    padding: 20px;
}
#attrs_checkbox input {
    margin: 0 4px;
}
#attrs_checkbox .checkbox {
    line-height: 2em;
}
#attrs_checkbox .col_select {
    float: left;
    width: 15%;
    margin-right: 10px;
    margin-top: 10px;
}
#attrs_checkbox .submit {
    margin-top: 25px;
    clear: both;
}
#attrs_checkbox .col_r {
    float: left;
    clear: both;
}
#attrs_checkbox .col_r input {
    background: none;
    border: none;
}
#attrs_checkbox .keysearch input {
    background: none;
    border: 1px solid #dadada;
    width: 200px;
}
#attrs_checkbox .col {
    float: left;
    clear: both;
}
#attrs_checkbox .submit input {
    border: 1px solid #d0d0bf;
}
#attrs_checkbox .PageDetails {
    margin: 15px 0;
    border-bottom: 1px solid #eee;
}
#attrs_radio {
    background: #fff;
}
#page_community .col_text li {
    float: left;
    display: inline;
}
.class_input input {
    background: none;
    border: none;
}
.search_name2 li {
    float: left;
    margin-right: 4px;
}
.search_name2 .col {
    padding-top: 5px;
}
/* General classes */
 .helpspan {
    cursor: pointer;
}
.helpdiv, #LSResult {
    margin: 20px 20px 5px 20px;
    padding: 12px 20px 5px 55px;
    background: url(../images/guide.gif) left top no-repeat;
}
.needbuy {
    background: url(../images/buy.gif) left top no-repeat;
}
#LSResult {
    font-size: 0.8em;
    padding-top: 2px;
    margin-bottom: 10px;
}
.jumpselect {
    clear: both;
    margin: 0 10px 0 10px;
    padding: 0;
}
tr .jumpselect {
    height: 10px;
}
.hide {
    display: none;
}
.required {
    font-weight: bold;
}
.checkbox {
    background: transparent;
    padding: 0;
    border: 0;
    margin: 0;
    margin-right: 6px;
}
.disabled {
    color: #444;
    background: transparent;
    padding: 0;
    border: 0;
    margin: 0;
    margin-right: 6px;
}
.login {
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    border-right: 1px solid #777766;
    border-bottom: 1px solid #777766;
    background: url(cssimg/login_button.jpg) left top repeat-x;
}
.onstate-AdminOptin {
    display: block;
    padding: 0;
}
.offstate-AdminOptin {
    display: none;
}
.onstate-AlumniOptin {
    display: block;
    padding: 0;
}
.offstate-AlumniOptin {
    display: none;
}
/* Others */
 #pages_area a:link {
    text-decoration: underline;
}
.combine_input > * {
    float: left;
    margin-right: 10px;
}


/* 防疫 */
.epidemicall{
    display:inline-block;
    background-color: #79bbea;
    padding:6px;
    margin: 0 6px;
    border-radius:3px;
    transition: all 0.2s;
    margin-bottom: 13px;
  }
  .epidemicall:hover{
    background-color: #003467;
  }
  .epidemiall{
    background-color: #003467;
  }
  .epidemic{
    color: white !important;
    padding:20px;
    font-size: 22px;
    text-decoration:none !important;
    font-family: 微軟正黑體;
  }

  .pic{
      display: none;
  }