/*
Theme Name: China ticket online
Theme URI: 
Author: Brice ZHOU
Author URI: https://ucoding.cn
Description: For China ticket online
Version: 1.4.15
License: GNU GENERAL PUBLIC LICENSE, Version 3
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: ucoding
Tags: china ticket online
*/
@font-face {
  font-family: 'Asap';
  src: url('fonts/Asap-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Asap';
  src: url('fonts/Asap-Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}
@font-face {
  font-family: 'Asap';
  src: url('fonts/Asap-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: 'Asap';
  src: url('fonts/Asap-BoldItalic.ttf') format('truetype');
  font-weight: bold;
  font-style: italic;
}
@font-face {
  font-family: 'Bree Serif';
  src: url('fonts/BreeSerif-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Bree Serif', sans-serif;
}
.comment-content h1 {
    font-size: 28px;
    font-size: 1.75rem;
    line-height: 1.25;
    margin-top: 2em;
    margin-bottom: 1em;
}

.comment-content h2 {
    font-size: 23px;
    font-size: 1.4375rem;
    line-height: 1.2173913043;
    margin-top: 2.4347826087em;
    margin-bottom: 1.2173913043em;
}

.comment-content h3 {
    font-size: 19px;
    font-size: 1.1875rem;
    line-height: 1.1052631579;
    margin-top: 2.9473684211em;
    margin-bottom: 1.4736842105em;
}
.comment-content h4,
.comment-content h5,
.comment-content h6 {
    font-size: 16px;
    font-size: 1rem;
    line-height: 1.3125;
    margin-top: 3.5em;
    margin-bottom: 1.75em;
}

.comment-content h4 {
    letter-spacing: 0.140625em;
    text-transform: uppercase;
}
.comment-content h6 {
    font-style: italic;
}
.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 98.5%;
    /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}
.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}
.wp-caption p.wp-caption-text {
    font-size: 12px;
    line-height: 17px;
    margin: 0;
    text-align: center;
    padding: 10px 4px 0px;
}
.wp-caption a {
    color: #545454;
}
.wp-caption,
.gallery {
    margin-bottom: 1.6842em;
}
.wp-caption-text {}
iframe,
embed {
    max-width: 100%;
}
.sticky {}
.sticky, .tag-sticky-2 {
    border: 1px solid #f52d70;
    padding: 10px;
}
.tag-markup-2 ul {}
.sticky .entry-date {
    display: none;
}
.gallery-caption {
    background-color: rgba(0, 0, 0, 0.7);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    color: #fff;
    font-size: 12px;
    line-height: 1.5;
    max-height: 50%;
    padding: 6px 8px;
    bottom: 0;
    left: 0;
    text-align: left;
    width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
dl.gallery-item{
    display: inline-block;
    margin: 10px;
    float: left;
}
.gallery-caption:before {
    content: "";
    height: 100%;
    min-height: 49px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}
.gallery-item:hover .gallery-caption {
    opacity: 1;
}
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
    display: none;
}
.bypostauthor {}
.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}
.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.alignright {
    display: inline;
    float: right;
}
pre{
    white-space: pre-wrap;
    word-break: break-word;
}
.depth-2{padding-left: 30px;}
.depth-3{padding-left: 60px;}
.depth-4{padding-left: 90px;}
.depth-5{padding-left: 120px;}
.depth-6{padding-left: 150px;}
.depth-7{padding-left: 180px;}
/* footer start */
#footer-payments {
    text-align: center;
}
#footer-payments span {
    width: 50px;
    height: 50px;
    display: inline-block;
    margin: 5px;
    -webkit-transition: opacity .65s ease;
    -o-transition: opacity .65s ease;
    transition: opacity .65s ease;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
#footer-payments span.paypal {
    background-image: url(images/paypal.png);
}
#footer-payments span.visa {
    background-image: url(images/visacard.png);
}
#footer-payments span.mastercard {
    background-image: url(images/mastercard.png);
}
#footer-payments span.jcb {
    background-image: url(images/jcb.png);
}
ul.footer,
.footer ul {
	margin: 10px;
	padding: 0px;
	float: none;
	text-align: center;
}
ul.footer > li,
.footer ul > li {
	display: inline-block;
	margin-left: 0px!important;
}
ul.footer > li,
.footer > ul > li, 
ul.footer > li > a,
.footer > ul > li > a {
	color: #fff;
}
ul.footer > li:first-child:before,
.footer > ul > li:first-child:before {
	content: "";
}
ul.footer > li:before,
.footer > ul > li:before {
	content: "|";
	font-family: FontAwesome;
	margin-right: 5px;
}
ul.footer > li:hover,
.footer > ul > li:hover {
	opacity: 0.7;
}

.copyright {
	text-align: center;
    color: #e6e6e6;
}
/* footer end */
select::-ms-expand {
    display: none;
}
.input-group-addon select#contacttitle, select.form-control {
    background-image: url(images/ic_unfold_more.png);
    background-position: 98% center;
    background-repeat: no-repeat;
}
.input-group-addon select#contacttitle{
    background-size: auto 100%;
}

#cart-btn{
    position: fixed;
    right: 50px;
    bottom: 50px;
    z-index: 999;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}
#cart-btn span{
    background-image: url(images/ic_shopping_cart.png);
    width: 50px;
    height: 50px;
    background-size: 40%;
    background-repeat: no-repeat;
    background-position: center 70%;
    position: absolute;
    top: 0;
    left: 0;
    color: #F52D70;
    font-size: 1em;
    font-weight: 900;
    padding-top: 4px;
}
#loading-hint {
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,.7);
    display: none;
    z-index: 9999;
}
#wait-hint {
    color: white;
    margin-top: 12px;
}
.spinner {
    margin: 0 auto;
    width: auto;
    height: 60px;
    text-align: center;
    font-size: 14px;
    top: calc(50% - 30px);
    position: relative;
    color: #000020
}
 
.spinner > div {
  background-color: #F52D70;
  height: 100%;
  width: 6px;
  display: inline-block;
   
  -webkit-animation: stretchdelay 1.2s infinite ease-in-out;
  animation: stretchdelay 1.2s infinite ease-in-out;
}
 
.spinner .rect2 {
  -webkit-animation-delay: -1.1s;
  animation-delay: -1.1s;
}
 
.spinner .rect3 {
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}
 
.spinner .rect4 {
  -webkit-animation-delay: -0.9s;
  animation-delay: -0.9s;
}
 
.spinner .rect5 {
  -webkit-animation-delay: -0.8s;
  animation-delay: -0.8s;
}

@-webkit-keyframes stretchdelay {
  0%, 40%, 100% { -webkit-transform: scaleY(0.4) } 
  20% { -webkit-transform: scaleY(1.0) }
}
 
@keyframes stretchdelay {
  0%, 40%, 100% {
    transform: scaleY(0.4);
    -webkit-transform: scaleY(0.4);
  }  20% {
    transform: scaleY(1.0);
    -webkit-transform: scaleY(1.0);
  }
}
.paypal-btn, .creditcard-btn{
    width: 123px;
    height: 50px;
    background-image: url(images/paypal-btn.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
}
.creditcard-btn{
    width: 150px;
    background-image: url(images/creditcard-btn.png);
}

.add-btn span{
    background-image: url(images/ic_add.png);
    background-repeat: no-repeat;
    background-position: 12px center;
    background-size: auto 90%;
    padding-left: 36px;
    padding-right: 16px;
}

.add-person-btn span{
    background-image: url(images/ic_person_add.png);
    background-repeat: no-repeat;
    background-position: 12px center;
    background-size: auto 80%;
    padding-left: 42px;
    padding-right: 16px;
}

select::-ms-expand {
    display: none;
}
.input-group-addon select#contacttitle, select.form-control {
    background-image: url(images/ic_unfold_more.png);
    background-position: 98% center;
    background-repeat: no-repeat;
}
.input-group-addon select#contacttitle{
    background-size: auto 100%;
}
/* home page start */
#banner-container{
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 120px 0 240px 0;
    min-height: 750px;
}

.tab-content{
    background: #fff;
    padding: 24px 0;
    min-height: 413px;
}

#banner-container .tab-pane{
    padding: 0 24px;
}

.nav-tabs > li {
    width: 50%;
}

.nav > li > a > img {
    height: 20px;
    margin-right: 6px;
    vertical-align: middle;
}

#hongkongtrains-date-con, #internationaltrains-date-con, #train-date-con{
    position: relative;
}
#train-tab1, #train-tab2, #train-tab3{
    display: none;
}
#train-tab1.active, #train-tab2.active, #train-tab3.active{
    display: block;
}

.tab-item span {
    background-position: left center;
    background-repeat: no-repeat;
    background-size: auto 80%;
    padding-left: 24px;
    line-height: 25px;
    display: inline-block;
}
.tab-item.train span{
    background-image: url(images/ic_railway.png);
}
.tab-item.flight span{
    background-image: url(images/ic_flight.png);
}
/* home page end */

/* start trains css */
.no-result .input-group{
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
    background-color: white;
    overflow: hidden;
}
#searh-form {
    padding-top: 24px;
    width: 100%;
    z-index: 99;
}
.no-result#searh-form{
    min-height: 660px;
    padding-top: 160px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.result-header{
    border-bottom: 3px solid #4A4A4A;
}
.form-group{
    margin-bottom: 15px !important;
}
.form-inline .input-group{
    width: 100%;
}
#train-date-con{
    position: relative;
}
.train-way-row {
    margin: 6px 0px;
    display: inline-block;
    vertical-align: top;
}

.info-span {
    font-size: 16px;
    color: #000000;
    display: inline-block;
    vertical-align: middle; 
    float: none;
}
.train-code{
    color: #000070;
    font-size: 16px;
}
.secondary-info{
    color: #7E7E7E;
    font-size: 12px;
}
label{
    color: #222222;
}
.show-seats {
    font-size: 13px;
    padding: 4px 8px;
    text-decoration: none !important;
}
.show-seats:after {
    content: "";
    background-image: url(images/arrow.png);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    right: 15px;
    width: 4px;
    height: 8px;
    display: block;
    vertical-align: baseline;
    -webkit-transition: transform 0.25s ease;
    -moz-transition: transform 0.25s ease;
    -ms-transition: transform 0.25s ease;
    -o-transition: transform 0.25s ease;
    transition: transform 0.25s ease;
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
}
#result-container-outer{
    min-height: 660px;
}
.active-row .show-seats:after {
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
}
.book-seats {
    font-size: 13px;
    padding: 4px 0px;
    width: 100%;
    max-width: 120px;
}
.result-row.active-row{
    background-color: rgba(0,0,112,0.1);
}
.result-row {
    border: none;
    border-bottom: 1px #9B9B9B solid;
    border-radius: 0 !important;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.result-row:last-child {
    border-bottom: none;
}
.train-info{
    padding: 12px 0;  
    cursor: pointer;
}
.seat-row{
    padding: 12px 0;
    border-top: 1px solid #F6F6F6;
}
.seat-images {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: cover;
    background-position: center center;
    cursor: pointer;
    vertical-align: baseline;
    margin-left: 6px;
    background-repeat: no-repeat;
}
.seat-row .info-span{
    font-size: 14px;
}
.train-notavailable {
    padding: 15px 15px 30px;
    font-size: 16px;
    color: #F52D70;
    font-weight: 300;
}

.page-content{
    overflow-x: hidden;
}

.train-page-content .container{
    padding-top: 48px;
    padding-bottom: 48px;
}

.no-padding {
    padding: 0 !important;
}

.right-xsleft{
    text-align: right;
}
.left-xsright{
    text-align: left;
}

@media (max-width: 767px) {
    body{
        font-size: 14px;
    }
    .info-span, .train-code{
        font-size: 12px;
    }
    .secondary-info{
        font-size: 10px;
    }
    .seat-row .info-span{
        font-size: 11px;
    }
    #result-container-outer{
        min-height: 420px;
        padding: 0;
    }
    .no-result#searh-form{
        padding-top: 120px;
    }
    .right-xsleft{
        text-align: left;
    }
    .left-xsright{
        text-align: right;
    }
}
/* end trains css */

/* Add Passenger Begin */
.grey-con{
    background-color: #e6e6e6;
}

.passenger-train-info {
    z-index: 99;
    display: table;
    padding-top: 36px;
    padding-bottom: 24px;
    padding-left: 15px;
    padding-right: 15px;
}

.train-info-table{
    width: 100%;
    display: table-row;
}

.date{
    display: table-cell;
    vertical-align: top;
    float: none;
    font-size: 24px;
    color: #4A4A4A;
    width: 22%;
}

.departure, .train-though, .arrival{
    display: table-cell;
    vertical-align: middle;
    width: 29%;
}
.train-though{
    width: 20%;
}
.station{
    background: #000025;
    border-radius: 50px;
    color: white;
    padding: 4px 12px;
    text-align: center;
}

.time{
    color: #4A4A4A;
    margin-top: 6px;
    text-align: center;
}

.train-though{
    text-align: center;
}

.seat-type{
    border-bottom: 3px solid #000025;
    margin-top: -26px;
}

.passenger-train-code {
    position: absolute;
    top: 0px;
    left: -4px;
    color: #000020;
    background-color: #FFB519;
    padding: 6px 15px;
}

.duration {
    position: relative;
    color: #7E7E7E;
}

#new-passenger{
    background-color: rgba(0,0,0,0.7);
}

.modal-body{
    padding: 15px 24px;
}

label{
    color: #515964;
}

.hint{
    color: #9B9B9B;
    font-size: 13px;
}

.last-container{
    padding-bottom: 24px;
}

.passenger-type{
    width: 100px;
    position: relative;
}

.passenger-type:after{
    content: "×";
    position: absolute;
    right: 0;
}

.amount-table{
    padding-top: 12px;
    padding-bottom: 48px;
}

.add-btn-con{
    padding-top: 24px;
    padding-bottom: 12px;
}
.is-adult{
    vertical-align: middle !important;
}

.passenger-panel label, #passenger-panel label{
    color: #9B9B9B;
    font-size: 12px;
}
.edit-cell {
    vertical-align: bottom !important;
    border-top: none !important;
}
.edit-cell .btn{
    padding: 0 6px; !important;
    background: none;
}
.text-danger {
    color: #a94442 !important;
}
.padding-row{
    padding-top: 12px;
    padding-bottom: 12px;
}
.padding-cell{
    padding-top: 6px;
    padding-bottom: 6px;
}
.passenger-title{
    border-bottom: 2px solid #dcdcdc;
}
.passenger.row{
    border-bottom: 1px solid #dcdcdc;
}

.input-group-addon select{
    border: none;
    background: none;
    outline: none !important;
}

.train-info-outer{
    margin-bottom: 24px;
    position: relative;
}

.total-price{
    font-size: 18px;
}

.exist-passenger-label{
    border-bottom: 1px solid #dcdcdc;
    margin-bottom: 12px;
}
.delete-price{
    text-decoration: line-through;
}

@media(max-width: 767px){
    .train-info {
        display: block;
    }
    .passenger.row{
        padding-top: 8px;
        padding-bottom: 8px;
    }
    .train-info-table{
        display: block;
    }

    .date{
        display: block;
        text-align: left;
        margin-bottom: 12px;
        width: 100%;
    }
    .departure, .arrival{
        display: inline-block;
        line-height: initial;
        width: 100%;
        text-align: left;
    }
    .train-though{
        display: block;
        width: 100%;
    }

    .station{
        display: inline-block;
        margin-top: 0;
        max-width: calc(100% - 48px);
    }

    .time{
        margin-top: 6px;
        margin-right: 12px;
        display: inline-block;
        float: left;
    }
    .train-though{
        text-align: left;
        border-left: 3px solid #000025;
        margin-left: 12px;
        padding-left: 36px;
        padding-top: 12px;
        padding-bottom: 12px;
    }
    .seat-type{
        border-bottom: none;
        margin-top: 0px;
    }
    .duration {
        top: 0;
        position: relative;
        color: #7E7E7E;
    }
}

/* Add Passenger End */

.flight-image{
    width: 24px;
    margin-right: 6px;
    vertical-align: top;
}
@media(max-width: 767px){
    .flight-image{
        width: 24px;
        display: block;
        margin: 0 auto;
    }
    .passenger-train-code{
        left: 0;
    }
}