.sitebox {
    background-color: #f2f2f2;
    padding: 10px 20px;
}

.sitebox p {
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
    color: #000;
    font-size: 135%;
}

.list-site>ul.nav>li>a {
    font-size: 135%;
    margin-bottom: 5px;
    padding: 0;
}

.list-site>ul.nav>li>a:before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    border: 1px solid #c59fda;
    border-radius: 50%;
    background-color: transparent;
    margin-right: 5px;
}

.site-title-page {
    border-radius: 10px;
    border: 3px solid #8445ad;
    padding: 10px;
    margin: 15px 0;
    position: relative;
}

.site-station-dropdown-button {
    border-radius: 10px;
    border: 3px solid #8445ad;
    padding: 10px;
    position: relative;
}

.site-page {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.site-page a {
    font-size: 140%;
    color: hsl(0, 0%, 46%);
}

.prev-site {
    left: 0;
}

.next-site {
    left: inherit;
    right: 0;
}

.prev-site>a>i,
.next-site>a>i {
    font-size: 250%;
    color: #c59fda;
    vertical-align: middle;
}

.prev-site>a>i {
    margin-left: 20px;
    margin-right: 10px;
}

.next-site>a>i {
    margin-right: 20px;
    margin-left: 10px;
}

.current-station {
    text-align: center;
    font-size: 250%;
}

.current-station span {
    border-radius: 50%;
    border: 3px solid #8445ad;
    background-color: #c59fda;
    font-style: normal;
    width: 60px;
    height: 60px;
    display: inline-block;
    vertical-align: middle;
    font-size: 80%;
    padding-top: 5px;
    margin-right: 10px;
    color: #3D3D3D;
}

.current-station span:first-child {
    letter-spacing: -1px;
}

.timetable {
    position: relative;
}

.timetable>p {
    text-align: left;
}

.timetable>.download_btn {
    position: absolute;
    right: 0;
    top: 0;
}

.btn-download {
    font-size: 120%;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #8445ad), to(#c59fda));
    background: linear-gradient(180deg, #8445ad 0, #c59fda 100%);
}

.btn-print {
    font-size: 120%;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #1b95d4), to(#2fceff));
    background: linear-gradient(180deg, #1b95d4 0, #2fceff 100%);
}

table.time-table {
    width: 100%;
}

tbody.up td {
    text-align: right;
    /*padding-right: 10px;*/
}

tbody.down td {
    text-align: left;
    /*padding-left: 10px;*/
}

.timetable_list {
    margin-top: 20px;
    border-top: 6px solid #c59fda;
    width: 100%;
    overflow: hidden;
}

.timetable_list>li {
    float: left;
    margin-left: -1px;

}

.timetable_list>li.right-table {
    width: calc(100% / 2 - 0px);
}

.timetable_list>li.middle-table {
    width: 4%;
}

.timetable_list>li:first-child {
    margin-left: 0;
    width: calc(100% / 2 + 0px);
}

.timetable_list>table>thead {
    text-align: center;
}

.time-table>thead>tr>th {
    background: #f9e3ff;
    border: 1px solid #ddd;
    font-size: 135%;
    font-weight: 400;
    text-align: center;
    padding: 5px 0;
    color: #000;
}

.timetable_list .left-table>table>thead>tr>th:first-child,
.timetable_list .left-table>table>tbody>tr>th:first-child {
    display: none;
}

/*.timetable_list .left-table > table > thead > tr > th:first-child,
.timetable_list .left-table > table > tbody > tr > th:first-child,
.timetable_list .right-table > table > thead > tr > th:first-child,
.timetable_list .right-table > table > tbody > tr > th:first-child{
    display: none;
}*/
.timetable_list>li:first-child>table>thead>tr>th {
    width: 100%;
}

.timetable_list table>tbody>tr>th {
    background-color: #f9e3ff;
    text-align: center;
    font-size: 120%;
    font-weight: 400;
    padding: 5px 0;
    color: #000;
}

.timetable_list>li>table>tbody>tr>td>span {
    font-size: 120%;
    padding: 0px 20px;
    font-weight: 400;
    color: #000;
    display: block;
}

.timetable_list tbody tr:nth-child(odd) td {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}

.timetable_list tbody tr:nth-child(even) td {
    background-color: hsl(0, 0%, 95%);
    border-bottom: 1px solid #ddd;
}

.timetable_list tbody tr:first-child td {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}

.timetable_list>li>table td {
    height: 40px;
}

.downspan.null {
    color: hsl(0, 0%, 70%);
    font-weight: normal;
}

/*radio checkbox*/
label span {
    vertical-align: middle;
    font-size: 120%;
    font-weight: 400;
}

.style--radioInput {
    background-color: #f2f2f2;
    border: 1px solid hsla(0, 0%, 50%, 1);
    border-radius: 5px;
    display: inline-block;
    height: 16px;
    margin-right: 10px;
    margin-top: -1px;
    vertical-align: middle;
    width: 16px;

}

.style--checkbox:checked+.style--radioInput:after {
    background-color: #f87171;
    border-radius: 5px;
    content: "\e813";
    display: inline-block;
    height: 16px;
    margin-top: -1px;
    width: 16px;
    color: #fff;
    font-family: "fontello";
    font-size: 100%;
    text-align: center;

}

.search-title {
    background-color: #1b95d4;
    display: block;
    width: 100%;
    padding: 10px;
    color: #fff;
    border-radius: 10px 10px 0 0;
    margin-bottom: 0;
    font-size: 150%;
    font-weight: 500;
}

fieldset.station-search {
    background-color: hsl(0, 0%, 95%);
    padding: 10px;
    border-radius: 0 0 10px 10px;
    position: relative;
}

fieldset.station-search .form-group label {
    height: 34px;
    padding: 6px 20px;
    font-size: 135%;
    font-weight: 400;
}

@media (max-width: 991px) {
    fieldset.station-search .form-group label {
        padding: 6px 0 6px 14px;
    }
}

@media (max-width: 768px) {
    fieldset.station-search .form-group label {
        width: 32%;
        float: left;
    }

    fieldset.station-search .form-group .col-sm-8 {
        width: 68%;
        float: left;
        padding-left: 0;
    }
}

@media (max-width: 369px) and (min-width: 321px) {
    fieldset.station-search .form-group label {
        padding-left: 0;
    }
}


fieldset.station-search .form-group .form-control {
    padding: 0px 12px;
}

fieldset.station-search .btnbox-search button {
    height: 50px;
    font-size: 200%;
    margin-top: 10px;
    margin-bottom: 20px;
    width: 200px;
    margin-left: auto;
    margin-right: auto;
}

.box-search {
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #eee;
    margin-top: 20px;
}

.box-search h3 {
    margin-top: 10px;
    color: #999;
}

.box-search h3>i {
    margin-right: 10px;
}

.search_result {
    border-top: 1px solid #999;
    border-bottom: 1px solid #999;
    margin: 20px 0;
}

nav.search_result>ul.nav {
    margin: 20px auto;
    text-align: center;
}

nav.search_result>ul.nav>li {
    display: inline-block;
    font-size: 135%;
    margin-right: 15px;
    font-weight: 500;
}

nav.search_result>ul.nav>li.type {
    color: #8445ad;
}

nav.search_result>ul.nav>li.end>i {
    margin-right: 10px;
    color: hsl(0, 0%, 50%);
}

.tablebox .table-bordered>tbody>tr>th {
    font-size: 135%;
    font-weight: 400;
    text-align: center;
    background-color: hsl(0, 0%, 95%);
    color: hsl(0, 0%, 20%);
}


.tablebox .table-bordered>tbody>tr:first-child>th {
    background-color: hsl(178, 73%, 86%);
}

/* .tablebox .table-bordered > tbody > tr:first-child > th:first-child{
    
} */
.tablebox .table-bordered>tbody>tr>td {
    text-align: center;
    font-size: 135%;
}

.tablebox .table-bordered>tbody>tr>th.bg-purple {
    background-color: hsl(0, 0%, 95%);
    color: #8445ad;
}

.tablebox .table-bordered>tbody>tr>th.bg-blue {
    background-color: hsl(0, 0%, 95%);
    color: #1b95d4;
}

.tableGroup-Th {
    background-color: hsl(178, 73%, 86%);
    font-size: 135%;
    font-weight: 400;
    text-align: center;
    color: hsl(0, 0%, 20%);
    padding: 8px;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}



.tableGroup-Td {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: space-evenly;
    -ms-flex-pack: space-evenly;
    justify-content: space-evenly;
    font-size: 135%;
    font-weight: 400;
    text-align: center;
}

.mobile-tablebox {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.tableGroup {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.colGroup {
    width: 100%;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}


.colTitle {
    border-top: 1px solid #ddd;
    padding: 8px 1px;
    background-color: hsl(0, 0%, 95%);
    color: hsl(0, 0%, 20%);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    min-height: 4.1em;
}

.colText {
    padding: 8px 1px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-top: 1px solid #ddd;
}

.tablebox-title {

    background-color: hsla(0, 0%, 95%, 0.66);
    color: #8445ad;
    font-size: 135%;
    font-weight: 400;
    padding: 8px;
    text-align: center;
    border: 1px solid #ddd;
}

.box-search h4 {
    font-weight: 400;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    color: #894cb1;
    margin-bottom: 20px;
}

.remark {
    margin-top: 20px;
}

.remark a {
    color: #8445ad;
    margin-left: 10px;
}

.time-page {
    text-align: center;
}

.time-page a {
    background-color: #a46cc3;
    padding: 5px 10px;
    font-size: 135%;
    color: #fff;
    position: relative;
    margin: 0 5px;
}

.time-page a:before {
    position: absolute;
    content: "";
}

.time-page a.prev-page:before {
    top: 0;
    right: 100%;
    border: 17px solid rgba(0, 0, 0, 0);
    border-right: 18px solid #a46cc3;
    border-left: 0 solid;
}

.time-page a.next-page:before {
    top: 0;
    left: 100%;
    border: 17px solid rgba(0, 0, 0, 0);
    border-left: 18px solid #a46cc3;
    border-right: 0 solid;
}

/*.time-page a:hover {
    background-color: #a46cc3;
}
.time-page a.prev-page:hover:before{
    border-right: 18px solid #a46cc3;
}
.time-page a.next-page:hover:before{
    border-left: 18px solid #a46cc3;
}*/
.btn-attr-pic {
    background-color: #981b7f;
    color: #fff;
    font-weight: normal;
    font-size: 125%;
    letter-spacing: 1px;
    border: 0;
    border-radius: 0 0 5px 5px;
    padding: 8px;
    width: 300px;
    position: absolute;
    top: 63px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

figure.attr-pic--check {
    margin-top: 0px;
}

body.travel-guide form.station-form {
    padding: 30px 20px;
    border-top: 1px dashed #981b7f;
    border-bottom: 1px dashed #981b7f;
    margin-bottom: 20px;
    margin-top: 50px;
}




.time-description {
    font-size: 116.7%;
}

.time-description ul li,
.time-description ul {
    list-style-type: decimal;
}


.time-description {
    margin-top: 25px;

    display: -webkit-box;

    display: -ms-flexbox;

    display: flex;
}

.time-description ul {
    padding-left: 20px;
    margin-bottom: 5px;
}

.time-description .des01 i,
.downspan.des01 i {
    color: #784698;
    font-weight: bold;
    font-style: normal;
    text-decoration: underline;

}





.time-description .des02,
.downspan.des02 {
    position: relative;
}


.time-description .des02 i,
.downspan.des02 i {
    font-style: normal;
    color: #784698;
    font-weight: bold;
    text-decoration: underline;

}

.time-description .des02:after,
.downspan.des02:after {
    content: "\f005";
    font: normal normal normal 14px/1 FontAwesome;
    transform: scale(.65) translateX(-2px);
    position: absolute;
    color: #784698;


}

.time-description .des03 i,
.downspan.des03 i {
    font-weight: bold;
    color: #666;
    font-style: normal;
}


.time-description .des04,
.downspan.des04 {
    position: relative;
    padding: 0 15px;
}

.time-description .des04 i,
.downspan.des04 i {
    font-style: normal;
    font-weight: bold;
    color: #666;
}

.time-description .des04:after,
.downspan.des04:after {
    content: "\f0d7";
    font: normal normal normal 14px/1 FontAwesome;
    transform: scale(0.8, 1.2) translateX(2px);
    position: absolute;
    color: #666;
}

.time-description .des05,
.downspan.des05 {
    position: relative;
}


.time-description .des05 i,
.downspan.des05 i {
    font-weight: bold;
    color: #666;
    font-style: normal;

}

.time-description .des05:after {
    content: ''; /* content 留空，用背景來畫形狀 */
    display: inline-block; /* 讓 transform 生效 */
    width: 6px;
    height: 6px;
    background-color: #666;
    transform: rotate(45deg); /* 將正方形旋轉 45 度就變成了菱形 */
    position: absolute;
    left: 18px;
}

.downspan.des05:after {
    content: ''; /* content 留空，用背景來畫形狀 */
    display: inline-block; /* 讓 transform 生效 */
    width: 6px;
    height: 6px;
    background-color: #666;
    transform: rotate(45deg); /* 將正方形旋轉 45 度就變成了菱形 */
    position: absolute;
}


.time-description .des01,
.time-description .des02,
.time-description .des03,
.time-description .des04,
.time-description .des05 {
    margin-right: 5px;
}




.downspan.des01,
.downspan.des02,
.downspan.des03,
.downspan.des05 {
    padding: 0 15px;
}

.one-line {
    white-space: nowrap;
}

.station-group {
    margin: 20px 0;
    position: relative;
}

.station-group:after {
    content: "";
    position: absolute;
    left: 25px;
    right: 25px;
    bottom: 0px;
    height: 1px;
    border-bottom: 1px solid #d8d8d8;
}

.station-group:before {
    content: "";
    position: absolute;
    left: 25px;
    right: 25px;
    bottom: -1px;
    height: 1px;
    border-bottom: 1px solid #fff;
}

@media (max-width: 369px) {

    .station-group:before,
    .station-group:after {
        left: 15px;
        right: 15px;
    }
}


.btnbox-search {
    text-align: center;
}

@media(max-width:1199px) {
    .timetable_list>li {
        width: 100% !important;
		overflow: auto;
    }

    .tableGroup-Th {
        white-space: nowrap;
    }

    .colTitle {
        min-height: 7.1em;
    }

    .colText {
        min-height: 4.4em;
    }

    .downspan.des01,
    .downspan.des02,
    .downspan.des03,
    .downspan.des05 {
        padding: 0 15px;
    }


}


@media(max-width:991px) {

    .downspan.des01,
    .downspan.des02,
    .downspan.des03,
    .downspan.des05 {
        padding: 0 9px;
    }

    .time-table>thead>tr>th {
        white-space: nowrap;
    }

}

@media(max-width:767px) {
    .box-search h3 {
        margin: 0px;
    }

    .box-search {
        padding: 0;
        border-radius: 0;
        border: 0;
        margin-top: 0;
    }

    .search_result {
        border: 0;
        margin: 10px 0;
        background-color: #eee;
        padding-left: 5px;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    nav.search_result>ul.nav {
        text-align: left;
        margin: 0;
    }

    nav.search_result>ul.nav>li.type {
        display: block;
    }

    nav.search_result>ul.nav>li.type:before {
        content: "所選車種：";
        color: #666;
    }

    nav.search_result>ul.nav>li.time:before {
        content: "查詢時段：";
    }

    nav.search_result>ul.nav>li.date:before {
        content: "查詢日期：";
    }

    .mobile-tablebox {
        display: block;
    }

    .colText {
        min-height: 3.3em;
    }

    .colTitle {
        min-height: 3.8em;
        padding: 4px 1px;
    }

    .tableGroup {
        margin: 10px 0;
    }

    .site-title-page {
        margin-top: 60px;
        margin-bottom: 20px;
    }
	
	.site-station-dropdown-button {
        margin-bottom: 16px; 
    }

    .site-page {
        top: -30px;
    }

    .current-station {
        font-size: 235%;
    }

    .timetable_list {
        border-top: 0;
    }

    .timetable_list .left-table>table>thead>tr>th:first-child,
    .timetable_list>li:first-child>table>tbody>tr>th:first-child {
        display: table-cell;
        width: auto;
    }

    .timetable_list>li:first-child {
        margin-left: 0;
        width: 100%;
        border-top: 6px solid #c59fda;
    }

    .timetable_list>li {
        width: 100%;
        float: left;
        margin-top: 20px;
        border-top: 6px solid #c59fda;
    }

    tbody.up>tr>td {
        text-align: left;
    }

    .timetable_list tbody tr:nth-child(odd) td,
    .timetable_list tbody tr:nth-child(even) td {
        padding-left: 0;
    }

    .station-form.time-station-form label {
        display: block;
        margin-left: 0;
    }

    .station-form.time-station-form input,
    .station-form.time-station-form select {
        width: 100% !important;
    }

    .station-form.time-station-form select {
        margin-bottom: 15px;
    }

    body.travel-guide form.station-form {
        padding: 30px 0px;
    }


    fieldset.station-search .btnbox-search button {
        width: 100%;
    }

    .station-group:after {
        bottom: -7px;
    }

    .station-group:before {
        bottom: -8px;
    }


}

@media(max-width:540px) {
    .site-page a {
        font-size: 120%;
    }

    .site-title-page {
        margin-bottom: 60px;
    }

    .site-page.next-site {
        top: inherit;
        bottom: -70px;
    }

}

@media(max-width:480px) {
    .timetable>.download_btn {
        position: relative;
    }

    .station-group {
        width: 100%;
    }

    fieldset.station-search .btnbox-search button {
        height: auto;
        font-size: 135%;
        margin-top: 15px;
    }

    .station-form.time-station-form input {
        margin-top: 0;
        padding: 3px;
    }
    .downspan{
        padding: 0 5px !important;
    }
}

@media(max-width:320px) {
    .next-site>a>i {
        margin-right: 0;
    }

    .prev-site>a>i {
        margin-left: 0;
    }

    .downspan{
        padding: 0 2px !important;
    }

}
