body{
    padding-top:0;
    font-size:1.17em;
}
h2 {
    font-size: 1.5em;
}
h3 {
    font-size: 1.25em;
}

.ui-tabs .ui-tabs-nav li.ui-tabs-active {
color: #fff !important;
}
.ui-tabs .ui-tabs-nav li.ui-tabs-active a {
color: #fff !important;
}
#pageTitle{
    position: relative;
    /* background-color:#633333; */
    background: linear-gradient(145deg, #633333 80%, #fff 80%);
    padding:1em;
    color:#fff;
    font-size:1.5em;
    border-top:1px solid #fff;
    height:80px;
}
#pageTitle h2{
    color:#fff;
}

#main .inner{
    padding-top:50px;
}
#header2 {
    /* background-color: #633333; */
    background-image:url(../../images/twBanner.png);
    box-shadow: 0 0 0.125em 0 rgba(0, 0, 0, 0.35);
    font-family: "Raleway", Helvetica, sans-serif;
    font-weight: 500;
    /* height: 3.5em; */
    height:200px;
    left: 0;
    line-height: 3.5em;
    position: fixed;
    text-transform: uppercase;
    top: 0;
    width: 100%;
    z-index: 10000;
}

#logo2{    
    line-height: inherit;
    font-family: 'Noto Serif TC', sans-serif;
    font-size:4em; 
    font-weight:bold;
    color:#fff;
    width:500px;
    display:inline-block;
    height:200px;
    background-color: #633333;
}

#logo2 a{  

    position:absolute;
    top: 50%;
    transform: translate(0, -50%);
    color:#fff;
}
#header2 h1 {
    height: inherit;
    left: 1.5em;
    line-height: inherit;
    margin: 0;
    padding-bottom: 0;
    position: relative;
    font-family: 'Noto Serif TC', sans-serif;
    font-size:4em; 
    font-weight:bold;
    color:#fff;
    width:500px;
}

#header2 h1:after {
    display: none;
}

#header2 h1 a {
    color: inherit;
    position:absolute;
    top: 50%;
    transform: translate(0, -50%);
}

#header2 h1 a span {
    font-weight: 500;
}

#header2 nav {
    height: inherit;
    line-height: inherit;
    position: absolute;
    /*right: 1.5em;*/
    left:500px;
    top: 0;
}

#header2 nav > ul {
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: #633333;
}

#header2 nav > ul > li {
    display: inline-block;
    /* margin-left: 2em; */
    padding: 0;
    background-color: #fff;
    /*width: 4vw;
    padding:0.5vw;*/
    width:70px;
    padding:8.5px;
    padding-top:10%;
    vertical-align: middle;
    text-align:center;
    height: 200px;
    font-family: 'Noto Serif TC', sans-serif;
    font-size:1.4em; 

}

#header2 nav > ul > li > ul {
    display: none;
}

#header2 nav > ul > li a {
    -webkit-writing-mode: vertical-lr;
    writing-mode: vertical-lr;
    text-decoration: none;
    border-bottom: 0;
    color: #760D0D;
    font-weight:bold;
}

#header2 nav > ul > li a:before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    text-transform: none !important;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

#header2 nav > ul > li a:before {
    margin-right: 0.75em;
}

#header2 nav > ul > li:first-child {
    margin-left: 0;
}

#header2 .navPanelToggle {
    text-decoration: none;
    border: 0;
    height: 4em;
    position: absolute;
    right: 0;
    top: 0;
    width: 5em;
    display: none;
}

#header2 .navPanelToggle:before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    text-transform: none !important;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

#header2 .navPanelToggle:before {
    content: '\f0c9';
    width: 3em;
    height: 3em;
    display: block;
    line-height: inherit;
    position: absolute;
    right: 0;
    top: 0;
    text-align: center;
}

#header2 + #banner {
    margin-top: -3.5em;
}

#header2.reveal {
    -moz-animation: reveal-header 0.5s ease;
    -webkit-animation: reveal-header 0.5s ease;
    -ms-animation: reveal-header 0.5s ease;
    animation: reveal-header 0.5s ease;
}

#header2.alt {
    background-color: #444;
    color: #fff;
    -moz-animation: none;
    -webkit-animation: none;
    -ms-animation: none;
    animation: none;
    background-color: transparent;
    box-shadow: none;
    overflow: hidden;
    position: absolute;
    top: 1.5em;
}

#header2.alt input[type="submit"],
#header2.alt input[type="reset"],
#header2.alt input[type="button"],
#header2.alt button,
#header2.alt .button {
    background-color: transparent;
    color: #fff !important;
    box-shadow: inset 0 0 0 1px #fff;
}

#header2.alt input[type="submit"]:hover,
#header2.alt input[type="reset"]:hover,
#header2.alt input[type="button"]:hover,
#header2.alt button:hover,
#header2.alt .button:hover {
    background-color: rgba(255, 255, 255, 0.075);
}

#header2.alt input[type="submit"]:active,
#header2.alt input[type="reset"]:active,
#header2.alt input[type="button"]:active,
#header2.alt button:active,
#header2.alt .button:active {
    background-color: rgba(255, 255, 255, 0.2);
}

#header2.alt input[type="submit"].primary,
#header2.alt input[type="reset"].primary,
#header2.alt input[type="button"].primary,
#header2.alt button.primary,
#header2.alt .button.primary {
    box-shadow: none;
    background-color: #fff;
    color: #444 !important;
}

#header2.alt input, #header2.alt select, #header2.alt textarea {
    color: #fff;
}

#header2.alt a {
    color: #fff;
}

#header2.alt strong, #header2.alt b {
    color: #fff;
}

#header2.alt h1, #header2.alt h2, #header2.alt h3, #header2.alt h4, #header2.alt h5, #header2.alt h6 {
    color: #fff;
}

#header2.alt blockquote {
    border-left-color: rgba(255, 255, 255, 0.25);
}

#header2.alt code {
    background: rgba(255, 255, 255, 0.075);
    border-color: rgba(255, 255, 255, 0.25);
}

#header2.alt hr {
    border-bottom-color: rgba(255, 255, 255, 0.25);
}

#header2.alt h1 {
    left: 2.5em;
}

#header2.alt nav {
    right: 2.5em;
}
#header{
    display:none;
}

#main {
    padding: 205px 0 4em 0;
}
#footer2 {
    /* padding: 4em 0 2em 0 ; */
    padding: 2em 0 0 0 ;
    border-top: solid 1px #e6e6e6;
    position: relative;
}

#footer2 > .inner {
    margin: 0 auto;
    max-width: 90em;
    position: relative;
    width: 90%;
    padding-bottom:4em;
}

#footer2 .copyright {
    color: #bbb;
    font-size: 0.9em;
}
#footer2 p {
    color: #fff;
    font-size: 0.9em;
    margin-bottom:0.5em;
}


#footer2 .menu {
    color: #bbb;
    font-size: 0.9em;
    position: absolute;
    right: 0;
    top: 0;
}

#footer2 .menu a {
    color: inherit;
}

@media screen and (max-width: 1280px) {

    #footer2 {
        padding: 3em 0 1em 0 ;
        text-align: center;
    }

    #footer2 .copyright {
        margin: 0 0 1em 0;
    }

    #footer2 .menu {
        position: relative;
    }

}

@media screen and (max-width: 1280px) {

    #header2.alt {
        top: 0.75em;
    }

    #header2.alt h1 {
        left: 1.5em;
    }

    #header2.alt nav {
        right: 1.5em;
    }

}

/*
@media screen and (max-width: 980px) {

    #header2.alt {
        top: 0;
    }
    #header2 nav {
        display: none;
    }

    #header2 .navPanelToggle {
        display: block;
    }

}
    */

@media screen and (max-width: 980px) {

    #header2 {
        height: 3em;
        line-height: 3em;
    }

    #header2 h1 {
        left: 1em !important;
    }

    #header2 h1 a {
        font-size: 0.9em;
    }
    #header2{
        display:none;
    }
    #header{
        display:block;
    }
    #main {
        padding-top:2.5em;
    }
    .row {
        margin-left: 0;
    }
    #pageTitle {
        margin-top:28px;   
    }
    .inner>h2{
        line-height: 1.5em;
    }
}



@media screen and (max-width: 480px) {

    #footer2 .menu li a span {
        display: none;
    }

}