body {
    color: #333;
    letter-spacing: 0.05em;
    font-size: 1em;
    font-family: "Microsoft JhengHei";
}

img {
    vertical-align: middle;
}

a {
    color: #006DB7;
    text-decoration: none;
    word-wrap: break-word;
    word-break: break-all;
}

sub {
    color: #CC0000;
    font-size: 0.8em;
}

.l {
    text-align: left!important;
}

.c {
    text-align: center!important;
}

.r {
    text-align: right!important;
}

.m {
    vertical-align: middle!important;
}

#top {
    padding: 0.3em;
    background: rgb(85, 85, 85);
    /* Old browsers */
    background: -moz-linear-gradient(top, rgba(85, 85, 85, 1) 0%, rgba(51, 51, 51, 1) 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(85, 85, 85, 1) 0%, rgba(51, 51, 51, 1) 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(85, 85, 85, 1) 0%, rgba(51, 51, 51, 1) 100%);
    color: #CCC;
    vertical-align: middle;
    font-size: 0.9em;
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#555555', endColorstr='#333333', GradientType=0);
    /* IE6-9 */
}

#top img {
    margin-top: -0.2em;
    margin-right: 0.2em;
    width: 1.2em;
    height: 1.2em;
    vertical-align: middle;
}

#top a {
    color: #CCC;
    text-decoration: none;
}

#wrap {
    position: relative;
    margin: 0 auto;
    min-width: 320px;
    max-width: 1170px;
    background-color: #F5F5F5;
    font-size: 1.1em;
}

header img {
    width: 100%;
    height: auto;
}

nav {
    overflow: auto;
    width: 100%;
    background-color: rgb(85, 85, 85);
    -webkit-transform: translateZ(0);
}

nav ul {
    display: block;
    float: right;
    margin: 0;
    padding: 0;
    text-align: right;
}

nav ul li {
    display: inline-block;
    border-left: 1px solid #999;
    border-left: 1px solid rgba(120, 120, 120, 0.85);
}

nav ul li a {
    display: inline-block;
    padding: 0 0.47em;
    color: #FFF;
    font-size: 1.1em;
    line-height: 35px;
}

nav ul li a:hover {
    background-color: #777;
    color: #000;
    text-decoration: none;
}

nav ul li a:active {
    color: #000;
    text-decoration: none;
}

@media (min-width: 768px) {
    nav {
        position: absolute;
        margin-top: -35px;
    }
}

@media (max-width: 370px) {
    nav {
        font-size: 0.86em;
    }
}

article {
    padding: 0 1em;
    padding-top: 1.5em;
}

article section {
    margin-bottom: 1.5em;
    padding: 1em;
    padding-top: 1.3em;
    background-color: #FFF;
}

article > section > header {
    padding: 1.2em 0;
}

h3 {
    font-weight: normal;
    font-size: 1.5em;
}

article > section > blockquote {
    margin: 0 2em;
    line-height: 1.4em;
}

article > section > blockquote > blockquote {
    margin: 1em 0 1em 1em;
}

article > section > blockquote p {
    margin-bottom: 1em;
}

@media (min-width: 1170px) {
    article section {
        margin-right: 2.5em;
        margin-left: 2.5em;
    }
}

@media (max-width: 500px) {
    article {
        font-size: 0.85em;
    }
    article > section {
        padding-top: 0.8em;
    }
    article > section > blockquote {
        margin: 0;
    }
}

footer {
    padding: 0.5em 0.2em;
    background-color: #555;
    color: #FFF;
    color: #CCC;
    text-align: center;
    font-size: 0.8em;
}

@media (max-width: 370px) {
    footer {
        font-size: 0.65em;
    }
}

.rwd-table,
.rwd-table tr,
.rwd-table td,
.rwd-table th {
    border-spacing: 0px;
    border-collapse: collapse;
    background: #fff;
}

.rwd-table {
    min-width: 100%;
    border: 1px solid #E5E5E5;
}

.rwd-table tr:nth-of-type(2n),
.rwd-table tr:nth-of-type(2n) td {
    background: #F2F2F2;
}

.rwd-table td:before {
    display: none;
}

.rwd-table th,
.rwd-table td {
    padding: 0.25em 0.5em;
    padding: 1em;
    text-align: left;
}

.rwd-table th,
.rwd-table td:before {
    color: #000;
    font-weight: bold;
}

@media (max-width: 1000px) {
    .rwd-table,
    .rwd-table tbody,
    .rwd-table tr,
    .rwd-table td {
        display: block;
    }
    .rwd-table tr:first-child th {
        display: none;
    }
    .rwd-table tr {
        padding: 0.7em 0;
    }
    .rwd-table th,
    .rwd-table td {
        padding: 0.1em 0.5em;
    }
    .rwd-table td:before {
        display: inline-block;
        margin-right: 0.5em;
        content: attr(data-th);
    }
	
    .rwd-table .l,
    .rwd-table .c,
    .rwd-table .r {
        text-align: left!important;
    }
}

.speakerblock {
    display: table-row;
    clear: both;
    overflow: auto;
    margin: 0;
}

.speakerblock sub {
    color: #8c6d3a;
}

.speakerblock div {
    display: block;
    display: table-cell;
    padding-bottom: 1em;
    vertical-align: top;
}

.speakerblock .speakerphoto {
    padding-right: 0.7em;
}

.speakerblock h4 {
    margin-top: 0.7em;
}

@media (max-width: 800px) {
    .speakerblock {
        display: block;
    }
    .speakerblock div {
        display: block;
    }
    .speakerblock .speakerphoto {
        padding: 0em;
    }
}

#gotop {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: none;
    padding: 8px 10px;
    border-radius: 5px;
    background: #777;
    background: rgba(85, 85, 85, 0.85);
    color: white;
    font-size: 20px;
    cursor: pointer;
}

#gotop span {
    margin: 0;
}

#top-bar {
    position: fixed;
    top: -200px;
    margin-top: 0;
    width: 100%;
    /* CSS3 陰影*/
    -webkit-box-shadow: 0px 3px 8px #333;
    -moz-box-shadow: 0px 3px 8px #333;
    box-shadow: 0px 3px 8px #333;
}

#top-bar .pull-left {
    float: left;
    padding: 0.2em 0.3em;
}

#top-bar .pull-left img {
    width: 1.6em;
    height: auto;
}

#top-bar nav ul li a {
    padding: 0.5em 0.9em;
}

.glyphicon {
    margin-right: 0.2em;
    font-size: 0.9em;
}