html,
body {
    height: 100%;
    background-color: #4a1924;
    box-sizing: border-box;
    font-family: "Microsoft JhengHei";
    font-size: 1em;
}

sup {
    vertical-align: super;
}

/*靠右固定*/
.right_fx {
    position: fixed;
    top: 0;
    right: 0;
}

/*垂直、水平置中*/
.set {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

/*垂直置中*/
.setV {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
}

/*水平置中*/
.setC {
    position: absolute;
    right: 0;
    left: 0;
    margin: auto;
}

#gotop {
    display: none;
    position: fixed;
    right: 10px;
    bottom: 20px;
    padding: 5px 15px;
    font-size: 20px;
    background-image: url(../image/gotop.png);
    cursor: pointer;
    background-repeat: no-repeat;
    width: 100px;
    height: 100px;
    z-index: 100000;
    background-size: 80%;

}

.clear:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.listStyle {
    list-style-type: none;
    padding: 0.5em;
}

.c {
    text-align: center;
}

a.scrolldown {
    position: absolute;
    bottom: 2%;
    color: #fff;
    left: 50%;
    left: calc(50% - 30px);
    padding-top: 2.3em;
    font-size: 1.3em;
}

a.scrolldown:before {
    content: "\e259";
    font-family: 'Glyphicons Halflings';
    position: absolute;
    top: 0;
    text-align: center;
    width: 100%;
    font-size: 1.5em;

}

.mark.yellow {
    color: #ffe200;
}

.mark.blue {
    color: #000aff;
}

.importantItem {
    color: #ffe200;
    text-shadow: 0 0 1em #ffe200;
}

.pdfLink > a {
    margin: auto 0.5em;
    padding: 0.5em;
    background-color: #ca4a4c;
    color: #fff;
    border-radius: 10px;
    padding-left: 45px;
    padding-bottom: 0.7em;
    position: relative;
    line-height: 3em;
}

.pdfLink > a > img {
    position: absolute;
    top: -5px;
    left: 0;
}

/*
figure:first-child {
    margin: 0px !important;
    position: absolute;
    right: 5% !important;
    width: 6px !important;
    height: 100px;
    background-color: #330f19;
}
*/

h2 {
    background-image: url(../image/bg02.png);
    background-color: #330f19;
    height: 200px;
    text-align: center;
    line-height: 200px;
    color: #fff;
    font-size: 2em;
}

h2 span {
    font-size: 0.6em;
    display: block;
    margin-top: -160px;
}

h3 {
    font-size: 1.5em;
    position: relative;
    text-align: center;
    padding: 0.5em;
    color: #fff;
}

h3:after {
    content: '';
    width: 50px;
    height: 2px;
    background-color: #fff;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;

}

h3 > span {
    font-size: 0.8em;
    display: block;
}

.h4 {
    font-size: 1.1em;
    position: relative;
    margin: 0.5em 0;
    padding-left: 25px;
}

.h4:before {
    content: '';
    height: 15px;
    width: 15px;
    background-color: #4a1924;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

.h4:after {
    content: '';
    height: 1px;
    width: calc(100% - 150px);
    background-color: #4a1924;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

img {
    max-width: 100%;
}

#default {
    background-image: url(../image/bg01.png);
    background-position: center;
    height: 100%;
    background-repeat: repeat-x;
}

header,
#content {
    box-sizing: border-box;
}

header {
    width: 300px;
    height: 100%;
    position: fixed;
    transition: all .5s ease;
}

header.sNav {
    width: 200px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.6);
}

header.sNav > nav > ul {
    padding: 1em;
}

header.sNav > nav > ul > li:hover:before {
    border-color: transparent transparent #4a1924 transparent;
}

header.sNav > nav > ul > li > a {
    color: #4a1924;
    font-weight: bolder;
}

header.sNav > nav > ul > li > a: {
    color: #4a1924;
    font-weight: bolder;
}

header.sNav .st3 {
    fill: #4A1924;
}

header.sNav > nav > ul > li > a.importantItem {
    color: #ffe200;
    text-shadow: 0 0 1em #ffe200;
}

header > a {
    display: block;
    padding: 3em 1em;
    padding-bottom: 0;
}

header > a > #logoC {
    width: 100%;
}

/*nav*/
header > nav {
    margin: 1em auto;
    position: relative;
    height: calc(100vh - 78px - 71px);
}

header > nav > ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: calc(100vh - 40%);
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column wrap;
    flex-flow: column wrap;
    -webkit-box-pack: space-evenly;
    -ms-flex-pack: space-evenly;
    justify-content: space-evenly;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    padding: 1em 2.5em;
    width: 100%;
    box-sizing: border-box;
}

header > nav > ul > li {
    line-height: 1.5em;
    list-style-type: none;
    color: #fff;
    position: relative;
    transition: .5s all ease;
    padding-left: 1.5em;
}

header > nav > ul > li:hover:before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 10px 10px;
    border-color: transparent transparent #fff transparent;
    position: absolute;
    left: 0%;
    top: 0;
    bottom: 0;
    margin: auto;
}

header > nav > ul > li > a {
    color: #fff;
    display: block;
}

.st3 {
    fill: #fff;
}

#content {
    width: calc(100% - 300px);
    height: 100%;
    position: absolute;
    right: 0;
    transition: all .5s ease;
}

#content.sContent {
    width: calc(100% - 200px);
}

.container {
    padding: 1em;
    max-width: 1300px;
    margin: 0 auto;
}

/*首頁*/
main .c_head {
    height: 100vh;
    position: relative;
}

main .c_head:after {
    content: '';
    width: 17%;
    height: 100%;
    background-color: #ffc2c2;
    background-image: linear-gradient(to top, #d09495, #d5afad, #ffeadb, #d5afad, #d09495);
    position: absolute;
    right: 0;
    top: 0;
    z-index: 0;
}

main .c_head > .container {
    height: 100%;
    box-sizing: border-box;
}

main .c_head > .right_fx {
    width: 20%;
    z-index: 1;
    transition: all .3s ease;
}

main .c_head > .right_fx.sImg {
    width: 0;
}

main .c_head > .container > img {
    max-width: calc(100% - 25%);
}

/*
main #c_head > .right_fx:hover {
    width: 300px;
    z-index: 1;
    transition: all .5s ease;
}
*/
main .c_content {
    height: 100vh;
    position: relative;
}

main .c_content:before {
    content: '';
    background-color: #330f19;
    background-image: url(../image/bg02.png);
    background-repeat: repeat-x;
    height: 25%;
    width: 100%;
    display: block;
}

main .c_content #Award9 {
    height: 65%;
    z-index: 3;
    left: 5%;
    width: 40%;
}

main .c_content #Award9:after {
    content: '';
    background-image: url(../image/logo2.svg);
    background-repeat: no-repeat;
    height: 100%;
    width: 35%;
    position: absolute;
    top: 0;
    right: -10%;
}

main .c_content #Award9 > img {
    max-height: 100%;
    position: relative;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
}

main .c_content > .container > div:last-of-type {
    width: 48%;
    margin-left: 40%;
    height: 55%;
    background-color: #5b2a39cf;
    padding: 6em 4em;
    box-sizing: border-box;
    border-radius: 20px;
    z-index: 2;
    right: 5%;
}

main .c_content > .container > div:last-of-type:after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 95%;
    height: 95%;
    border: 2px solid #d09495;
    border-radius: 20px;
}

main .c_content > .container > div:last-of-type > div {
    overflow: auto;
    height: 80%;
    padding-right: 2%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 80%;
    margin: auto;
    z-index: 1000;
}

main .c_content > .container > div:last-of-type > div > h4 {
    text-align: center;
    font-size: 1.6em;
    color: #ffbc3e;
}

main .c_content > .container > div:last-of-type > div > span {
    display: block;
    text-align: center;
    color: #ffbc3e;
}

main .c_content > .container > div:last-of-type > div:after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 20px 20px 0 20px;
    border-color: #330f19 transparent transparent transparent;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    bottom: 10%;
    display: none;
}

main .c_content > .container > div:last-of-type p {
    display: block;
    width: 100%;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.8);
    margin: 1em auto;
}

main .c_content > .container > div:last-of-type p > a {
    color: #facf41;
}

/*關於菁業獎*/

#purpose {
    background-image: url(../image/bg03.png);
    background-position: 100% 45%;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 1em;
    position: relative;
}

#purpose > .container > div {
    display: table;
    width: 100%;
}

#purpose > .container img {
    display: table-cell;
}

#purpose > .container p {
    display: table-cell;
    text-align: center;
    width: calc(100% - 16%);
    color: #fff;
    font-size: 1.3em;
    vertical-align: middle;
    line-height: 1.5em;
}

#TFAinfo {
    margin: 2em auto;
    color: #fff;
}

#TFAinfo:before,
#TFAinfo:after {
    content: '';
    background-image: url(../image/bg04.png);
    background-repeat: repeat-x;
    width: 100%;
    height: 50px;
    display: block;
    opacity: 0.2;
}

#TFAinfo ul > li {
    list-style-type: none;
    overflow: auto;
    margin: 1em auto;
}

#TFAinfo ul > li > div:first-of-type {
    display: inline-block;
    width: 170px;
    padding: 0.3em 0.7em;
    background-color: #7a3f4c;
    border-radius: 50px;
    margin-right: 1em;
    vertical-align: top;
    text-align: center;
}

#TFAinfo ul > li > div:last-of-type {
    display: inline-block;
}

#TFAinfo ul > li > div > span {
    font-size: 0.9em;
}

#award {
    position: relative;
    padding: 1em 0;
}

#award > .container {
    text-align: center;
    position: relative;
    z-index: 1;
}

#award:before {
    content: '';
    background-color: #330f19;
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

#award:after {
    content: '';
    background-color: #fff;
    background-image: url(../image/bg05.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 70%;
    opacity: 0.5;
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
}

#award > .container > p {
    position: absolute;
    color: #fff;
    text-align: left;
    color: #fff;
    font-size: 1.1em;
    line-height: 2;
}

#award > .container > p > span {
    display: block;
}

#award > .container > img {
    margin-top: 1em;
}


/*其他頁面*/
.block {
    color: #330f19;
}

.block > .container:after {
    content: '';
    background-image: url(../image/bg04.png);
    background-repeat: repeat-x;
    width: 100%;
    height: 50px;
    display: block;
    opacity: 0.2;
}

.block > .container > div {
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    padding: 1.5em 1em;
    margin: 1.5em auto;
}

#SelectList > li {
    text-indent: -3.8em;
    margin-left: 3.8em;
}

#SelectList > li > ol {
    margin: 0.5em auto;
    margin-left: 4em;
    padding: 0;
}

#SelectList > li > ol > li {
    text-indent: 0em;
    margin-left: -2.5em;
}

#ReviewList > li {
    text-indent: -2.5em;
    margin-left: 3em;
}

#ReviewList > li > ol {
    margin: 0.5em auto;
    margin-left: 4em;
    padding: 0;
}

#ReviewList > li > ol > li {
    text-indent: 0em;
    margin-left: -2.5em;
}

#ReviewList > li > p {
    text-indent: 0em;
}

/*重要時程表*/
.table {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    margin: auto;
    margin-bottom: 1em;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 1em;
}

.table > tbody > tr:nth-child(odd) {
    background-color: rgba(74, 25, 36, 0.1);
}

#Winners .table > tbody > tr:nth-child(odd) {
    background-color: transparent;
}

#Winners .table > tbody > tr.color {
    background-color: rgba(74, 25, 36, 0.1);
}

.table > tbody > tr > th {
    background-color: rgb(166, 142, 148);
    font-weight: bolder;
    color: #fff;
}

.table > tbody > tr > th,
.table > tbody > tr > td {
    padding: 0.7em 1em;
    border: 1px solid #a68e94;
}

#timeList {
    width: 80%;
}

.awardTable > tbody > tr > td:first-of-type,
.awardTable > tbody > tr > td:nth-of-type(3),
.awardTable_15 > tbody > tr > td:nth-of-type(2) {
    text-align: center;
}

/*QA*/
#QA > li {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 0.7em;
    margin: 1em;
    border-radius: 10px;
}

#QA > li > h4 {
    margin-right: 3em;
    position: relative;
    cursor: pointer;
    font-weight: bolder;
    font-size: 1.1em;
    text-indent: -2em;
    margin-left: 2em;
}

#QA > li > h4:after {
    content: "\002b";
    text-indent: 0;
    display: inline-block;
    color: #4a1924;
    position: absolute;
    top: 0;
    bottom: 0;
    right: -3em;
    margin: auto;
    padding: 0.3em 1em;
    transition: .3s all;
    transform: rotate(0deg);
    line-height: 18px;
    font-size: 1em;
    font-family: 'Glyphicons Halflings';
    z-index: auto;
    -webkit-font-smoothing: antialiased;
}

#QA > li > h4.close:after {
    content: "\2212";
    -webkit-transform: rotate(180deg);
}

#QA > li > p {
    padding-left: 35px;
    margin: 0.5em auto;
}

/*footer*/
footer {
    background-image: linear-gradient(to bottom, #4a1924, #330f19);
}

#footer {
    -webkit-column-count: 4;
    column-count: 4;
    margin: 0;
    padding: 1em;
    font-size: 0.9em;
}

#footer > li {
    -webkit-column-break-inside: avoid;
    break-inside: avoid;
    padding: 0.5em 2em;
    list-style-type: none;
    color: #fff;
}

#footer > li > h4 {
    font-size: 1.2em;
    color: #fcab37;
}

#footer > li > ul {
    margin: 1em auto;
    padding: 0;
}

#footer > li > ul > li {
    list-style-type: none;
    line-height: 1.7em;

}
