h2 {
    font-size: 2.6em;
    color: black;
}

.custom-header {
    height:45px !important;
}

.navigation-top {
    z-index: 999;
    top: 45px;
    background: rgba(255,255,255,0.7);
}

.site-navigation-fixed.navigation-top {
    z-index: 999;
}

.text-bottom {
    align-self: flex-end;
}

.text-mid {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding-top: 14%;
}

.text-top {
    align-self: flex-start;
}

.first-red::first-letter {
    color: #ff0000;
}

.text-red {
    color: #ff0000;
}

/* slider */

ul.slidesjs-pagination {
    margin-left: 20px;
    list-style: none;
    margin-top: -28vh;
    z-index: 12;
    position: relative;
    margin-bottom:20px;
    width: 8%;
}

ul.slidesjs-pagination li a {
    color: white;
    font-size:3.5vh;
    font-weight: 600;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color .3s;
}

ul.slidesjs-pagination li {
}

.slidesjs-container {
    width: 100% !important;
    z-index: 11;
    height:100vh;
}

.slidesjs-control {
    width: 100%;
}

.slidesjs-control img{
    width:100%;
}

#slides {
    width: 100%;

}

.main-carousel:after {
  content: 'flickity';
  display: none; /* hide :after */
}

@media screen and (max-width: 1024px) {
	.main-carousel:after {
	  content: '';
	}
}

/* home page */

.home-section {
    padding-top: 60px;
    padding-bottom: 60px;
    min-height: 50vh;
    position: relative;
}

.home-services {
    padding-top: 12vh;
    padding-bottom:12vh;

    text-align: center;
}

.home-services a {
    margin:auto;
    float:left;
    width:32%;
    position: relative;

    padding-top: 12vh;
    padding-bottom: 12vh;

    min-width: 32%;
}

.home-services img {
    padding-left:1.5vw;
    padding-right:1.5vw;
    margin-bottom:2vh;
    max-width: 160px;
    width: 75%;
}

.home-services p {
    margin:0;
    position: absolute;
    left:50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);

    font-size: 1.6vw;
}

.home-services-details {
    width:100%;
    background-color: #f9f9f9;
    padding-left: 3vw;
    padding-right:3vw;

    margin-left:auto;
    margin-right:auto;

    min-height: 600px;
    position: relative;
    display: flex;
}

.home-services-details .one-third-column {
    width:25%;
    float:left;
    margin-left:4%;
    margin-right:4%;
	padding-bottom: 3%;
    height:100%;
    display: inline-block;
}

.title-bottom {
    position:absolute;
    bottom:0;
    padding: 30px;
}

.home-inspirations {
    display: flex;
    height: 100vh;
    position: relative;
    background: white;
    overflow: hidden;
}

.home-inspirations:before {
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height:100%;
    z-index: 1;
    opacity: 0.8;
    background-repeat: no-repeat;
    background-position: 50% 0;
    -ms-background-size: cover;
    -o-background-size: cover;
    -moz-background-size: cover;
    -webkit-background-size: cover;
    background-size: cover;
}

.home-inspirations .title-left{
    margin-left:15vh;
    font-weight: 500;
    color:#505050;
    z-index: 2;
}

.home-inspirations .title-mid{
    font-weight: 700;
    font-size: 3em;
    bottom: -24%;
    color:black;
    z-index: 2;
}

.home-inspirations .inspirations-link {
    float:right;
    position:absolute;
    right:10vh;
    z-index: 2;
}

.home-inspirations .inspirations-link {
    float:right;
    position:absolute;
    right:10vh;
}

.home-inspirations .inspirations-link a{
    color: black;
    font-size: 1.8em;
    margin-left:15px;
    font-weight: 500;
}

.home-introductiona-area {
    display: flex;
    background-color: #f9f9f9;
    height:600px;
    padding-bottom: 30px;
}

.home-introductiona-area h2{
    margin-left:5vh;
}

.home-introductiona-area p{
    font-size:35px;
    margin-bottom: 1vw;
}

.home-ethnic {
    padding:0;
    display: inline-block;
    height: 100%;
    min-height:300;
}

.home-ethnic .ethnic a{
    float:left;
    width:25%;
    overflow:hidden;
    height: 25vw;
}

.home-ethnic .ethnic img{
    width:100%;
    height: 25vw;
}

.ethnic-mid-title {
    height: 100%;
}

.home-ethnic .ethnic-title {
    margin:auto;
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
    font-weight: 500;
}

.home-history {
    width: 100%;
}

.home-history .Timeline {
    width: 70%;
    float:left;
}

.home-history h2 {
    width: 25%;
    float:right;
}

.home-asia {
    background-color: #f9f9f9;
    min-height: 330px;
}

.home-asia p {
    color:grey;
    font-size:2rem;
    float:left;
    margin-right:10px;
}

.home-asia .text-big {
    color: black;
    font-size:2.5rem;
    font-weight: 600;
}

.home-asia .wrap {
    max-width: 650px;
    padding-top: 70px;
}

.home-asia  img {
    width: 5rem;
    margin-top: 0.5rem;
    float:left;
    margin-right: -15px;
}

.home-asia .img2 {
    opacity:0.75;
}

.home-asia .img3 {
    opacity:0.5;
}

.home-aboutus {
    padding-top: 15vh;
    padding-bottom: 15vh;
    background-color: white;
    min-height: 400px;

    margin-left:12vw;
    margin-right:12vw;
    font-size: 1.5em
}

.home-aboutus  strong{
    font-size:1.5em;
    font-weight:700;
}

.home-contact {
    background-color: #f9f9f9;
    text-align: center;
    min-height: 0px;
    padding-top: 100px;
}

.home-contact h2 {
    font-weight: 700;
}

.home-contact p {
    font-size:1.5rem;
    font-weight: 500;
    margin:0;
}

.home-contact .content img {
    height:4vh;
    margin-top:4.5vh;
    margin-left:1.2%;
    margin-right:1.2%;
}










/* time line */

.home-history .Timeline {
    display: flex;
    align-items: center;
    height: 500px;
}

.home-history .dynasty {
    position: relative;
}

.dynastyBubble {
    position: absolute;
    background-color: rgba(158, 158, 158, 0.1);
    width: 100px;
    height: 100px;
    top: -190px;
    box-shadow: inset 0 0 5px rgba(158, 158, 158, 0.64)
}

.dynastyBubble:after,
.dynastyBubble:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-color: transparent;
    border-bottom: 0;
}




/*

    Tour page

 */
.carousel-cell {
    width: 95%; /* full width */
    height: auto;
    margin-right: 10px;
    padding-right:25px;
    padding-left:25px;
}

.tandc {
  min-width:0 !important;
  width: 30px !important;
  margin-left:40px;
}

/* position dots in carousel */
.flickity-page-dots {
    bottom: 0px;
}

/* fill-in selected dot
.flickity-page-dots .dot.is-selected {
    background: white;
}*/

/* position dots up a bit */
.flickity-page-dots {
    bottom: 7vh !important;
}
/* dots are lines */
.flickity-page-dots .dot {
    height: 4px !important;
    width: 2vw !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

.flickity-prev-next-button {
    background: hsla(0,0%,100%,0.2) !important;
}

.flickity-prev-next-button:disabled {
    opacity: 0 !important;
}

.grouptour {
    height: 78vh;
    margin-left: 5px;
    margin-right:5px;
    margin-top: -2.5em;
}

.grouptour .entry-header {
    padding-top:0 !important;
    padding-bottom:0 !important;
    padding-left:25px !important;
    font-weight: 600;
}

.grouptour .entry-header h1 {
    font-weight: 600;
}

.carousel-cell .wp-post-image {
    width: 100%;
    margin-top:2px;
}

.grouptour.site-footer {
    border:none;
    padding-bottom: 0em;
    padding-top: 0em;
    margin-right:40px;
    height:5vh;
    margin-bottom:0;
    bottom: 0%;
    right: 1%;
    position: fixed;
}

.grouptour .site-info {
  width:100%;
  padding:0;
}

/* travel design and customizd travel page */

.post_on_page {
    float: left; margin-bottom:15px;
}
.post_on_page_image{
    float:left;
}
.post_on_page_text_right {
    float: right; margin-right:10px;width: 65%;
}
.post_on_page_text_right a{
    font-weight: 500;
}
.after_example {
    padding-top:50px !important;
    margin-top:20px;
}


/* payment form */
.book-tour {
    width:80%;
}

.book-tour p{
    padding: 0;
    margin-bottom:2vh;
}

.book-tour input{
    width:50%;
    min-width: 330px;
    margin-right: 20px;
}

.book-tour .wpcf7-submit {
    width: AUTO;
}


@media only screen and (max-width: 600px) {
	.home-services {
		padding-top: 1vh;
		padding-bottom:1vh;
		
		text-align: center;
	}
	
	.home-section {
		min-height: 5vh;
	}
	
	.home-section.home-services p{
		font-size: 0.7em;
	}
	
}

@media only screen and (max-width: 1024px) {
	.home-services-details {
		display:table;
	}
	
	.home-services-details .one-third-column {
		width: 100%;
		margin-bottom: 2%;
		margin-top: 2%;
		padding-right: 8%;
	}
	
	.home-services-details .one-third-column .title-bottom {
		top:0;
	}
	
	.home-inspirations .title-left {
		display:none;
	}
	
	.home-section p{
		font-size: 0.9em;
	}

	.home-section.home-aboutus strong{
		font-size:1em;
		font-weight:600;
	}
	
	.home-section.home-aboutus p{
		font-size:0.7em;
	}
	
}