﻿@charset "utf-8";
@import url(http://fonts.googleapis.com/earlyaccess/notosanstc.css);
@import url(http://fonts.googleapis.com/earlyaccess/cwtexhei.css);
@import url("http://fonts.googleapis.com/css?family=Libre+Baskerville:400italic");
@import url("http://fonts.googleapis.com/css?family=Lato:400,700,400italic");

/*font-family: 'cwTeXHei','Noto Sans TC', sans-serif;*/


/*====================== main ====================*/

#main {
    background-color: #f4f4f4;
    width: 100%;
    height: auto;
    overflow: hidden;
    border-top: solid 5px #ffc956;
}

#list-area {
    width: 100%;
    min-height: 500px;
    overflow: hidden;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.08);
    padding: 50px 5%;
}

#Reminding-tool {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    overflow: hidden;
    padding: 60px 5%;
    background: #eff9ff;
    border: solid 1px #b2ddf4;
    color: #686868;
}

#Reminding-tool h1 {
    min-width: 160px;
    width: 20%;
    float: left;
    font-size: 32px;
    line-height: 36px;
    font-weight: normal;
    text-align: center;
    font-family: 'Noto Sans TC';
}

#Reminding-tool h1 span {
    font-size: 20px;
    display: block;
}

#Reminding-tool p {
    width: 75%;
    float: right;
    line-height: 36px;
    font-size: 16px;
    position: relative;
    padding: 0 40px;
}

#Reminding-tool p:before,
#Reminding-tool p:after {
    content: url(../images/Reminding-dots.png);
    width: 26px;
    height: 21px;
    display: block;
    color: #ffc956;
    font-family: 'sans-serif';
    position: absolute;
}

#Reminding-tool p:before {
    left: 0;
    top: 0
}

#Reminding-tool p:after {
    transform: rotate(-180deg);
    right: 0;
    top: 0;
}


/*====================== /main ====================*/


/*====================== searchBar ====================*/

.search-bar {
    width: 100%;
    overflow: hidden;
    padding: 40px 2%;
}

#search-tool {
    width: 75%;
    float: left;
}

#search-date {
    width: 35%;
    float: left;
}

.search-box {
    background-color: #ffffff;
    border: solid 1px #7b7b7b;
    width: 45%;
    float: left;
    margin-bottom: 10px;
    margin-right: 5%;
    position: relative;
    line-height: 18px;
    color: #777778;
    padding: 10px 20px;
}

.search-box:before,
.search-box:after {
    font-size: 1.2rem;
    color: #b9b9b9;
    position: absolute;
    transform: translateY(-50%);
}

.search-datepicker:after {
    content: '\f073';
    font-family: FontAwesome;
    right: 0;
    top: 50%;
    margin-right: 20px;
}

.search-datepicker .datepicker {
    background-color: transparent;
    border: none;
    width: 100%;
    outline: none;
    color: #777778;
    font-size: 1.067rem;
    line-height: 20px;
}

#search-area {
    width: 40%;
    float: left;
}

.search-region:before {
    content: '\f041';
    font-family: FontAwesome;
    left: 0;
    top: 50%;
    margin-left: 20px;
}

.search-region .selectmenu {
    background-color: transparent;
    border: none;
    width: 100%;
    font-size: 1.067rem;
    padding: 0 20px;
    outline: none;
    color: #777778;
}

.search-region .selectmenu option {
    color: #777778;
}

#search-keyword {
    width: 25%;
    float: left;
}

.search-box2 {
    background-color: #fff;
    border: solid 1px #7b7b7b;
    width: 65%;
    float: left;
    margin-bottom: 10px;
    margin-right: 5%;
    position: relative;
    line-height: 18px;
    font-size: 1.067rem;
    padding: 10px 20px;
}

.search-box2 .keyword {
    background-color: transparent;
    border: none;
    width: 100%;
    outline: none;
    color: #777;
    font-size: 1.067rem;
    line-height: 20px;
}

.search-box3 {
    background-color: rgba(235, 97, 0, 0.8);
    border-radius: 5px;
    width: 30%;
    float: left;
    position: relative;
    font-size: 1.067rem;
    -webkit-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    -moz-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    -o-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.search-box3 .button {
    background-color: transparent;
    color: #fff;
    width: 100%;
    border: none;
    display: block;
    outline: none;
    font-size: 1.067rem;
    line-height: 21px;
    cursor: pointer;
    padding: 10px 0;
}

.search-box3:hover {
    background-color: #eb6100;
}


/* 排列順序 */

#search-array {
    width: 23%;
    display: block;
    min-width: 260px;
    float: left;
    text-align: right;
    line-height: 36px;
    margin-left: 2%;
}

#search-array .sequence {
    padding: 0 5px;
}

[type="radio"]:checked,
[type="radio"]:not(:checked) {
    position: absolute;
    left: -9999px;
}

[type="radio"]:checked+label,
[type="radio"]:not(:checked)+label {
    position: relative;
    padding-left: 25px;
    margin-right: 8px;
    cursor: pointer;
    line-height: 18px;
    display: inline-block;
}

[type="radio"]:checked+label:before,
[type="radio"]:not(:checked)+label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 16px;
    height: 16px;
    border: 1px solid #727272;
    border-radius: 100%;
    background: #f7f7f7;
}

*:before,
*:after {
    -webkit-box-sizing: initial;
    -moz-box-sizing: initial;
    box-sizing: initial;
}

[type="radio"]:checked+label:after,
[type="radio"]:not(:checked)+label:after {
    content: '';
    width: 10px;
    height: 10px;
    background: #eb6100;
    position: absolute;
    top: 4px;
    left: 4px;
    border-radius: 100%;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

[type="radio"]:not(:checked)+label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
}

[type="radio"]:checked+label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

#search-array-m {
    display: none;
}


/*====================== /searchBar ====================*/


/*====================== searchTable ====================*/

.search-table {
    width: 100%;
    max-width: 1300px;
    display: table;
    margin: 0 auto;
    border-spacing: 0;
    border-collapse: collapse;
    line-height: 36px;
    letter-spacing: 0.05em;
    text-align: center;
    color: #5e5e5e;
}

.search-table tr:first-child {
    border-bottom: none;
}

.search-table tr {
    border-bottom: solid 1px #7b7b7b;
    transition: .5s;
}

.search-table tr:hover {
    background: #f4f4f4;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

.search-table th {
    background: #6dc5c0;
    color: #fff;
    border-bottom: none;
    font-size: 1.2rem;
    font-weight: normal;
    font-family: 'Noto Sans TC';
    padding: 5px;
    text-align: center;
}

.search-table td {
    padding: 30px 5px;
}

.search-table td:nth-child(2) {
    text-align: left;
    padding: 30px 10px;
    position: relative;
}

.search-table td:nth-child(5) {
    position: relative;
}

.search-table td:before {
    display: none;
}

.search-table td:nth-child(3):before {
    content: "區域：";
}

.search-table td:nth-child(4):before {
    content: "天數：";
}

.search-table td:nth-child(5):before {
    content: "班機：";
}

.search-table td:nth-child(6):before {
    content: "機位：";
}

.search-table td:nth-child(7):before {
    content: "簽證：";
}

.search-table td:nth-child(8):before {
    content: "稅金：";
}

.search-table td:nth-child(9) {
    color: #e9454d;
}

.search-table h2 {
    font-size: 1.2rem;
    line-height: 24px;
    font-weight: normal;
    font-family: 'Noto Sans TC';
}

.list-remark {
    color: #e9454d;
    line-height: 26px;
    margin-top: 20px;
}

.list-remark marquee {
    line-height: 20px;
    width: 100%;
}

.search-table h4 {
    width: 136px;
    background: #3fc3ff;
    color: #fff;
    font-family: 'Noto Sans TC';
    text-align: center;
    font-size: 1.1rem;
    margin: 5px 0;
    padding: 10px 0;
    font-weight: normal;
    text-shadow: 0px 0px 5px rgba(0, 87, 127, 0.3);
    cursor: help;
}

.search-table h4:before {
    content: '\f005';
    font-family: FontAwesome;
    margin-right: 5px;
    font-size: 1.2rem;
}


/* 行程亮點 */

.list-point {
    display: none;
    border: solid 1px #00baff;
    position: absolute;
    z-index: 99;
    width: 630px;
    height: auto;
    padding: 20px 5%;
    left: -5%;
    bottom: -150px;
    background-color: #fff;
}

.list-point:after,
.list-point:before {
    content: "";
    border: 10px solid;
    position: absolute;
    height: 0;
    width: 0;
    left: 110px;
    border-width: 15px 10px;
}

.list-point:before {
    border-color: transparent transparent #00baff;
    top: -30px;
}

.list-point:after {
    border-color: transparent transparent #fff;
    top: -28px;
}

.list-point li {
    border-bottom: dashed 1px #7b7b7b;
    font-size: 1rem;
    color: #0074e1;
    line-height: 21px;
    padding: 5px 0;
    margin-bottom: 10px;
    word-break: break-all;
}

.list-point li:last-child {
    border: none;
    margin: 0;
}

.list-point li:before {
    content: '\f005';
    font-family: FontAwesome;
    color: #ed8a19;
    margin-right: 5px;
    font-size: 1.2rem;
}


/* 行程班機 */

.search-table .flight {
    cursor: help;
}

table {
    border-collapse: initial;
    border-spacing: initial;
}

#list-flight-table {
    display: none;
    border: solid 1px #eb6100;
    position: absolute;
    z-index: 99;
    width: 680px;
    height: auto;
    color: #4b4b4b;
    line-height: 24px;
    padding: 10%;
    left: -315px;
    bottom: -265px;
    background-color: #fff;
}

#list-flight-table tr:hover {
    background: transparent;
}

#list-flight-table td:nth-child(2),
#list-flight-table td {
    padding: 20px 5px;
}

#list-flight-table span {
    display: block;
}

#list-flight-table:after,
#list-flight-table:before {
    content: "";
    border: 10px solid;
    position: absolute;
    height: 0;
    width: 0;
    left: 50%;
    border-width: 15px 10px;
}

#list-flight-table:before {
    border-color: transparent transparent #eb6100;
    top: -30px;
}

#list-flight-table:after {
    border-color: transparent transparent #fff;
    top: -28px;
}

.flight-title {
    color: #eb6100;
}

.flight-line {
    width: 100%;
    height: 1px;
    background: #eb6100;
}

.flight-title:before {
    content: url(../images/icon_flight.png);
    width: 30px;
    height: 20px;
    margin-right: 5px;
}

.flight-note {
    background: #dbdbdb;
    font-size: .9rem;
    padding: 0 5%;
}

.list-sign {
    background-color: rgba(235, 97, 0, 0.8);
    border-radius: 5px;
    width: 100%;
    max-width: 60px;
    margin: 0 auto;
    font-size: 1.067rem;
    -webkit-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    -moz-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    -o-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.list-sign .button {
    background-color: transparent;
    width: 100%;
    color: #fff;
    border: none;
    display: block;
    outline: none;
    font-size: 1.067rem;
    line-height: 40px;
    cursor: pointer;
}

.list-sign:hover {
    background-color: #eb6100;
}


/*====================== pagination ====================*/


/*
#list-page {
    width: 100%;
    text-align: center;
    margin: 150px auto 100px;
    overflow: hidden;
}

ul.list-page-tool {
    width: 750px;
    margin: 0 auto;
}

ul.list-page-tool li {
    display: inline-block;
}

ul.list-page-tool li a {
    width: auto;
    display: block;
    border: solid 1px #dbdbdb;
    padding: 5px 12px;
    margin: 0 2px;
    font-family: 'Noto Sans TC';
    -webkit-transition: .5s;
    -moz-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
}

ul.list-page-tool li a:hover,
ul.list-page-tool li a:hover {
    background: #e7e7e7;
}

ul.list-page-tool .page a:hover,
ul.list-page-tool .page a:active{
    background: #eb6100;
    color: #fff;
    border: solid 1px transparent;
}
*/


/* -------------------------------- 

Basic style

-------------------------------- */

.cd-pagination {
    width: 90%;
    max-width: 768px;
    margin: 2em auto 4em;
    text-align: center;
}

.cd-pagination li {
    /* hide numbers on small devices */
    display: none;
    margin: 0 .2em;
}

.cd-pagination li.button {
    /* make sure prev next buttons are visible */
    display: inline-block;
}

.cd-pagination a,
.cd-pagination span {
    display: inline-block;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* use padding and font-size to change buttons size */
    padding: .6em .8em;
    font-size: 1rem;
}

.cd-pagination a {
    border: 1px solid #e6e6e6;
    border-radius: 0.25em;
}

.cd-pagination a:hover {
    background-color: #f2f2f2;
}

.no-touch .cd-pagination a:hover {
    background-color: #f2f2f2;
}

.cd-pagination a:active {
    /* click effect */
    -webkit-transform: scale(0.9);
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    -o-transform: scale(0.9);
    transform: scale(0.9);
}

.cd-pagination a.disabled {
    /* button disabled */
    color: rgba(46, 64, 87, 0.4);
    pointer-events: none;
}

.cd-pagination a.disabled::before,
.cd-pagination a.disabled::after {
    opacity: .4;
}

.cd-pagination .button:first-of-type a::before {
    content: '\00ab  ';
}

.cd-pagination .button:last-of-type a::after {
    content: ' \00bb';
}

.cd-pagination .current {
    /* selected number */
    background-color: #ef8033;
    border-color: #ef8033;
    background-color: #6dc5c0;
    border-color: #6dc5c0;
    color: #ffffff;
    pointer-events: none;
}

@media only screen and (min-width: 768px) {
    .cd-pagination li {
        display: inline-block;
    }
}

@media only screen and (min-width: 1170px) {
    .cd-pagination {
        margin: 6em auto 4em;
    }
}


/*====================== /pagination ====================*/


/*====================== /searchTable ====================*/

@media (max-width: 1475px) {
    .search-bar {
        padding: 40px 2% 20px;
    }
    #search-tool,
    #search-array {
        width: 100%;
        float: none;
        overflow: hidden;
        margin-left: 0;
    }
}


/*

@media (max-width: 1024px) {
    .search-table th:nth-child(4),
    .search-table th:nth-child(7),
    .search-table td:nth-child(4),
    .search-table td:nth-child(7) {
        display: none;
    }
}
*/

@media (max-width: 768px) {
    #main {
        background: #fff;
        margin-top: 5px;
    }
    #list-area {
        box-shadow: none;
        padding: 30px 0;
    }
    #Reminding-tool {
        padding: 20px 5%;
    }
    #Reminding-tool h1 {
        width: 100%;
        float: none;
        padding: 20px 0;
        margin-bottom: 20px;
        border-bottom: solid 1px #0090db;
    }
    #Reminding-tool p {
        width: 100%;
        float: none;
        padding: 0 20px;
        margin-bottom: 20px;
    }
    #Reminding-tool p:before,
    #Reminding-tool p:after {
        content: "";
    }
    /* searchBar */
    .search-input {
        padding: 10px 5% 0;
        overflow: hidden;
    }
    #search-date {
        width: 25%;
        float: left;
        margin-right: 5%;
    }
    .search-box {
        width: 100%;
        float: none;
        margin-right: 0;
    }
    #search-area {
        width: 40%;
        float: left;
        margin-right: 5%;
    }
    #search-keyword {
        width: 25%;
        float: left;
    }
    .search-box2 {
        width: 100%;
        float: none;
        margin-right: 0;
    }
    .search-box3 {
        width: 100%;
        float: none;
    }
    /* 排列順序 */
    #search-array {
        display: none;
    }
    #search-array-m {
        display: block;
        text-align: center;
        font-size: 16px;
        color: #989898;
        margin: 20px 0 0;
    }
    #search-array-m span {
        font-family: 'Noto Sans TC';
    }
    #search-array-m .active {
        color: #454545;
    }
    /* searchTable */
    .search-table {
        line-height: 30px;
    }
    .search-table th {
        display: none;
    }
    .search-table td {
        display: block;
        text-align: left;
        padding: 0 10px;
    }
    .search-table td:before {
        display: inline-block;
    }
    .search-table td:first-child {
        background: #6dc5c0;
        color: #fff;
        padding: 5px 10px;
        font-size: 1.2rem;
        display: block;
        margin: 20px 0 5px
    }
    .list-remark {
        line-height: 24px;
    }
    .search-table h4 {
        display: none;
    }
    .search-table .flight {
        display: inline-block;
        cursor: inherit;
    }
    .search-table td:nth-child(2) {
        padding: 10px;
    }
    /*
    .search-table td:nth-child(5) {
        display: none;
    }
*/
    .search-table td:nth-child(6):before {
        content: "機位：";
        display: inline-block;
    }
    .search-table td:nth-child(8):before {
        content: "稅金：";
        display: inline-block;
    }
    .search-table td:nth-child(9):before {
        content: "團費：";
        display: inline-block;
        color: #5e5e5e;
    }
    .list-sign {
        max-width: 40%;
        margin: 10px auto 20px;
    }
}

@media (max-width: 500px) {
    /* searchBar */
    .search-bar {
        padding: 20px 0;
    }
    .search-input {
        padding: 10px 0 0;
    }
    #search-date,
    #search-area,
    #search-keyword {
        width: 100%;
        float: none;
        margin-right: 0;
        margin-bottom: 10px;
        overflow: hidden;
    }
    .search-datepicker {
        width: 49%;
        margin-right: 2%;
        float: left;
        margin-bottom: 0;
    }
    .search-datepicker:last-child,
    .search-region:last-child {
        margin-right: 0;
        margin-bottom: 0;
    }
}
