* {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
html, body {
	-ms-touch-action: auto;
	touch-action: auto;
}
/* General styles */
body {
    font-family: "Microsoft JhengHei", "SF Pro TC", "SF Pro Text", "PingFang TC", Arial, sans-serif;
    font-display: auto;
    font-weight: 400;
    font-size: 100%;
    line-height: 1.8;
    position: relative;
    text-rendering: optimizeLegibility;
    background-color: #faf6ed;
}

header {
    width: 100%;
    height: 200px;
    border-top: 10px solid #c18a26;
    /*background-color: #c18a26;*/
}

footer {
    width: 100%;
    /*background-color: #c18a26;*/
    border-bottom: 10px solid #c18a26;
}

footer p {
    text-align: center;
    padding: 1.25rem 0;
    margin: 0;
}

h1 {
    margin: 0 auto; 
    text-align: center;
    font-size: 2.25rem;
    color: #c18a26;
    top: 10px;
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
}

.wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.seal {
    margin: 0 auto;
    text-align: center;
    top: -10px;
    position: relative;
}

.maincolor {
    color: #C18A26;
}

.mainbg {
    background-color: #C18A26;
}

.politic {
    color: #8E354A;
}

.pbg {
    background-color: #8E354A;
}

.economy {
    color: #EB7A4A;
}

.ebg {
    background-color: #EB7A4A;
}

.enter {
    color: #006284;
}

.enbg {
    background-color: #006284;
}

.society {
    color: #372E97;
}

.sobg {
    background-color: #372E97;
}

.sports {
    color: #2A7AD8;
}

.spbg {
    background-color: #2A7AD8;
}

.fliterbox {
    width: 100%;
    padding-top: 30px;
    text-align: center;
    position: relative;
    margin: 0 auto;
}

.fliterbox ul {
    display: inline;
    margin: 40px auto 0 auto;
    padding: 0;
    border-spacing: 15px 0;
}

.fliterbox ul li {
    display: inline-block;
    width: 3rem;
    height: 3rem;
    color: #fff;
    font-size: 1.125rem;
    line-height: 3rem;
    border-radius: 100%;
    list-style: none;
    text-align: center;
    font-weight: bold;
    margin: 0 0.3rem 0 0;
}

.fliterbox ul li.selected {
    background-color: rgba(0,0,0,.5);
}

.timeline {
    list-style: none;
    padding: 0 1.2rem;
    width: 100%;
}

.infotitle_s {
    text-align: left;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 1.875rem 0
}

.infocaption {
    font-size: 1rem;
    margin: 0.5rem 0
}

.accordion p.infocaption {
    margin: 0.5rem auto
}

.timeline-item {
    padding-left: 40px;
    position: relative;
    text-align: left
}

.timeline-item:last-child {
    padding-bottom: 0
}

.timeline-info {
    font-size: 1.125rem;
    /*font-weight: bold;
    letter-spacing: 1px;*/
    text-transform: uppercase;
}

.timeline-info span {
    margin-right: 16px;
    font-weight: bold;
}

.timeline-marker {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 15px
}

.timeline-marker:before {
    background: #8E354A;
    border: 2px solid transparent;
    border-radius: 100%;
    content: "";
    display: block;
    height: 15px;
    position: absolute;
    top: 6px;
    left: 0;
    width: 15px;
    transition: background 0.3s ease-in-out, border 0.3s ease-in-out;
    z-index: 1
}

.timeline-marker:after {
    content: "";
    width: 2px;
    background: #8E354A;
    display: block;
    position: absolute;
    top: 24px;
    bottom: 0;
    left: 9px
}

.timeline-marker2:before {
    background: #EB7A4A;
    border: 2px solid transparent;
    border-radius: 100%;
    content: "";
    display: block;
    height: 15px;
    position: absolute;
    top: 6px;
    left: 0;
    width: 15px;
    transition: background 0.3s ease-in-out, border 0.3s ease-in-out;
    z-index: 1
}

.timeline-marker2:after {
    content: "";
    width: 2px;
    background: #EB7A4A;
    display: block;
    position: absolute;
    top: 24px;
    bottom: 0;
    left: 9px
}

.timeline-marker3:before {
    background: #006284;
    border: 2px solid transparent;
    border-radius: 100%;
    content: "";
    display: block;
    height: 15px;
    position: absolute;
    top: 6px;
    left: 0;
    width: 15px;
    transition: background 0.3s ease-in-out, border 0.3s ease-in-out;
    z-index: 1
}

.timeline-marker3:after {
    content: "";
    width: 2px;
    background: #006284;
    display: block;
    position: absolute;
    top: 24px;
    bottom: 0;
    left: 9px
}

.timeline-marker4:before {
    background: #372E97;
    border: 2px solid transparent;
    border-radius: 100%;
    content: "";
    display: block;
    height: 15px;
    position: absolute;
    top: 6px;
    left: 0;
    width: 15px;
    transition: background 0.3s ease-in-out, border 0.3s ease-in-out;
    z-index: 1
}

.timeline-marker4:after {
    content: "";
    width: 2px;
    background: #372E97;
    display: block;
    position: absolute;
    top: 24px;
    bottom: 0;
    left: 9px
}

.timeline-marker5:before {
    background: #2A7AD8;
    border: 2px solid transparent;
    border-radius: 100%;
    content: "";
    display: block;
    height: 15px;
    position: absolute;
    top: 6px;
    left: 0;
    width: 15px;
    transition: background 0.3s ease-in-out, border 0.3s ease-in-out;
    z-index: 1
}

.timeline-marker5:after {
    content: "";
    width: 2px;
    background: #2A7AD8;
    display: block;
    position: absolute;
    top: 24px;
    bottom: 0;
    left: 9px
}

.timeline-item:not(.period):hover .timeline-marker:before,.timeline-item:not(.period):active .timeline-marker:before {
    background: transparent;
    border: 2px solid #8E354A
}

.timeline-item:not(.period):hover .timeline-marker2:before,.timeline-item:not(.period):active .timeline-marker2:before {
    background: transparent;
    border: 2px solid #EB7A4A
}

.timeline-item:not(.period):hover .timeline-marker3:before,.timeline-item:not(.period):active .timeline-marker3:before {
    background: transparent;
    border: 2px solid #006284
}

.timeline-item:not(.period):hover .timeline-marker4:before,.timeline-item:not(.period):active .timeline-marker4:before {
    background: transparent;
    border: 2px solid #372E97
}

.timeline-item:not(.period):hover .timeline-marker5:before,.timeline-item:not(.period):active .timeline-marker5:before {
    background: transparent;
    border: 2px solid #2A7AD8
}

.timeline-content {
    padding-bottom: 20px
}

.timeline-content figure {
    margin: 20px auto 0 auto;
    padding: 0;
    max-width: 400px;
}

.timeline-content figcaption {
    font-size: 0.85rem;
}

.timeline-content p {
    margin: 0.5rem 0 1.25rem 0;
    font-size: 1rem
}

.timeline-content p:last-child {
    margin-bottom: 0
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 400px; 
    height: 100%;
}


@media screen and (max-width: 414px) {
    header {
        height: 148px;
    }

    h1 {
        font-size: 1.875rem;
    }

    .seal {
        width: 40%;
    }

    .fliterbox {
        padding-top: 20px;
    }

    .fliterbox ul li {
        margin: 5px 2px;
    }
    .infotitle_s {
        margin: 1.25rem 0 1rem 0;
    }
    .timeline-info span {
        margin-right: 10px;
    }
}

@media screen and (max-width: 320px) {
    header {
        height: 135px;
    }
    .fliterbox {
        width: 80%;
    }
}