﻿html {
    background-color: #444;
    margin: 0;
    padding: 0;
    font-size:64%;
    line-height:200%;
}

body {
    background-color: #fff;
    color: #333;
    font-family: Arial,'Times New Roman', "Segoe UI", Verdana, Helvetica, 'Microsoft JhengHei', Sans-Serif;
    margin: 0 auto;
    padding: 0;
}


a {
    color: #333;
    outline: none;
    padding-left: 0.3rem;
    padding-right: 0.3rem;
    text-decoration: none;
}

    a:hover {
        cursor:pointer;
        color: #999;
    }

    img{
        max-width:100%;
        height:auto;
    }

header, footer, hgroup,
nav, section {
    display: block;
}

.clear-fix:after {
    content: ".";
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;
}

h1, h2, h3,
h4, h5, h6 {
    color: #000;
    margin-bottom: 0;
    padding-bottom: 0;
}
h1 {
    font-size: 2em;
}
h2 {
    font-size: 1.75em;
}
h3 {
    font-size: 1.2em;
}
h4 {
    font-size: 1.1em;
}
h5, h6 {
    font-size: 1em;
}
    h5 a:link, h5 a:visited, h5 a:active {
        padding: 0;
        text-decoration: none;
    }


/* main layout
----------------------------------------------------------*/
#body {
    /*background-color: #ffffff;*/
    clear: both;
    padding: 3rem 1.5rem 2rem 1.5rem;
    /*max-width: 1024px;*/
}

.header-top{
    padding-top:0.5rem;
}

.header-top, .header-nav, .header-carousel {
    /*background: #fff;*/
    /*padding-top: 1rem;*/
    /*max-width: 1024px;*/
}

footer {
    clear: both;
    padding: 1rem;
    color: #fff;
    text-align: center;
    background-color: #666;
    font-size: 1rem;
    height: auto;
    /*max-width: 1024px;*/
}

#Logo {
    width: auto;
    max-height: 90px;
}


/* site title
----------------------------------------------------------*/
#site-title {
    display: block;
    margin: 0;
    overflow: hidden;
}

    #site-title span {
        float: left;
        color: #125dad;
        font-family: 'Microsoft JhengHei';
        font-size: 4rem;
        font-weight: 800;
        line-height: 60px;
    }

    #site-title a, #site-title a:hover, #site-title a:active {
        background: none;
        color: #125dad;
        outline: none;
        text-decoration: none;
    }

        #site-title a img {
            float: left;
        }


/* login
----------------------------------------------------------*/
#login {
    display: block;
    font-size: 1.2rem;
    margin: 0 0 10px;
    text-align: right;
    float:right;
}

    #login a, #login span {
        margin-left: 1.1rem;
        margin-right: 0.2rem;
        padding: 0.3rem;
        text-decoration: none;
    }

        #login a.username {
            background: none;
            margin-left: 0;
            text-decoration: underline;
        }

    #login ul {
        margin: 0;
 }

    #login li {
        display: inline;
        list-style: none;
    }



/*Nav MainMenu
----------------------------------------------------------*/
.mainmenu {
    background: #fff;
    border: none;
}

.mainmenuitem ul li a {
    font-size: 1.6rem;
    font-weight: 700;
    color: #333;
}

/*次選單的字型設定*/
.mainmenu .navbar-nav .open .dropdown-menu > li > a{
    font-size:1.5rem;
    font-weight: 500;
}

/*滑鼠移動至主/副選單時的背景色*/
.mainmenu .navbar-nav > li > a:hover,
.mainmenu .navbar-nav .open .dropdown-menu > li > a:hover
{
    background: #a6dbed;
}




/*header中的banner
--------------------------------------------------------- */
#body section, .header-banner, .header-marquee {
    margin: -15px 0;
}

    .carousel-caption{
        left:15%;
        right:15%;
        margin-bottom:20px;
    }
    .carousel-inner .item a{
        padding:0;
    }



/* page elements
----------------------------------------------------------*/
/* featured */
.page-title{
    font-size:3rem;
    font-weight:800;
    padding-left:20px;
}


.content-text {
    overflow-wrap:break-word;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
    text-indent:0;
    padding:0.2rem 1.5rem;
    line-height:160%;
}

.td-text {
    overflow-wrap: break-word;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
    padding: 0.5rem 0.2rem;
    line-height: 120%;
}

.list-text {
    overflow-wrap:break-word;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
    padding:1rem 0;
    line-height:120%;
}

.block-title {
    font-size: 2.3rem;
    color: #c06903;
    font-weight: 800;
    padding-left:20px;
}

.tab-name, .tab-name-right, .tab-name-left {
    font-weight: 800;
    font-size:1.6rem;
    white-space:nowrap;
    margin:1em 0;
}
.tab-enname, .tab-enname-right, .tab-enname-left {
    font-size:1.6rem;
    white-space:nowrap;
    margin:1em 0;
}

.tab-name, .tab-enname {
    text-align: center;
}

.tab-name-right, .tab-enname-right {
    text-align:right;
    padding-right: 1rem;
}

.tab-name-left, .tab-enname-left {
    text-align: left;
    padding-left: 1rem;
}







/* page titles 
----------------------------------------------------------*/
hgroup.title {
    margin-bottom: 10px;
}

    hgroup.title h1, hgroup.title h2 {
        display: inline;
    }

    hgroup.title h2 {
        font-weight: normal;
        margin-left: 3px;
    }



/* content
----------------------------------------------------------*/

.label {
    font-weight: 700;
}



/* login page 
----------------------------------------------------------*/
#loginForm {
    border-right: solid 2px #c8c8c8;
    float: left;
    width: 55%;
}

    #loginForm .validation-error {
        display: block;
        margin-left: 15px;
    }

#socialLoginForm {
    margin-left: 40px;
    float: left;
    width: 40%;
}

    #socialLoginForm h2 {
        margin-bottom: 5px;
    }

fieldset.open-auth-providers {
    margin-top: 15px;
}

    fieldset.open-auth-providers button {
        margin-bottom: 12px;
    }



/* info and errors 
----------------------------------------------------------*/
.message-info {
    border: 1px solid;
    clear: both;
    padding: 10px 20px;
}

.message-error {
    clear: both;
    color: #e80c4d;
    font-size: 1.3rem;
    font-weight: bold;
    margin: 20px 0 10px 0;
}

.message-success {
    color: #7ac0da;
    font-size: 1.3rem;
    font-weight: bold;
    margin: 20px 0 10px 0;
}

/* styles for validation helpers 
----------------------------------------------------------*/
.field-validation-error {
    color: #e80c4d;
    font-weight: bold;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #e80c4d;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #e80c4d;
    font-weight: bold;
    font-size: 1.4rem;
}

.validation-summary-valid {
    display: none;
}

/* tables
----------------------------------------------------------*/
table {
    border-collapse: collapse;
    margin-top: 1rem;
}

th {
	font-size: 1.6rem;
    text-align: center;
}

th a {
    display: block;
    position: relative;
}

    th a:link, th a:visited, th a:active, th a:hover {
        color: #333;
        font-weight: 600;
        text-decoration: none;
    }

    th a:hover {
        color: #000;
    }

tr.pager td {
    padding: 0 0.3rem 0 0;
}


/*Footer*/







@media (min-width: 1200px) {
}

@media (min-width: 992px) {
}

@media (min-width: 768px) {
}

@media (max-width: 767px) {
}
