/*
Theme Name: 54traveler
Theme URI: http://www.54traveler.com
Description: 这是稻草人主页主题
Version: 1.0
Author: 沈嘉怡
Author URI: JiaYi Shen
Tags: 54traveler, travel, trip
*/

/* --------------------- 
** ------- common -------- 
*/
body {
  font: 14px/1.8 "hiragino sans gb", "Microsoft YaHei", \9ED1\4F53, \5b8b\4f53, sans-serif; 
}
.container{
    max-width: 1000px;
}
a:hover {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}
.margin-bottom {
    margin-bottom: 30px; 
}
.brand-red {
    color: #ad0711; 
}
.background-red {
    background-color: #ad0711; 
}

.brand-red-x {
    color: #E60012;
}
.background-red-x {
    background-color: #E60012;
}

/* ----------------------- 
** ------ carousel -------- 
*/
.index-slide p{ margin: 0; }
.index-slide .carousel-control{
    bottom: 66px;
}
@media (max-width: 769px){
    .index-slide h4{
        height: 36px;
        line-height: 1.2;
    }   
}
.carousel img {
    width: 100%; 
    height: 100%;
}
.carousel .carousel-control.left, .carousel .carousel-control.right {
    background: none; 
}
.carousel .carousel-caption {
    right: 0;
    bottom: 0;
    left: 0;
    padding: 10px 20px;
    text-align: left;
    background-color: rgba(0, 0, 0, 0.4); 
}
.carousel-fade .carousel-inner .item{
    transition-property: opacity;
}
.carousel-fade .carousel-inner .item,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
    opacity: 0;
}
.carousel-fade .carousel-inner .active,
.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
    opacity: 1;
}
.carousel-fade .carousel-inner .next,
.carousel-fade .carousel-inner .prev,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
    left: 0;
    transform: translate3d(0, 0, 0);
}

/* ----------------------- 
** ------ trip -------- 
*/
.trip-description {
    border: 1px solid #ddd;
    border-top: 0;
    overflow: hidden;
    padding-right:5px;
}
.trip-description a{ color: #000; }
.trip-description .redbar{
    display: inline-block;
    width: 12px;
    background: #ad0711;
    float: left;
    height: 43px;
    margin:10px;
}
.redbar-x{
    display: inline-block;
    width: 12px;
    background: #E60012;
    float: left;
    height: 43px;
    margin:10px;
}
.trip-description small{
    display: block;
    text-align: right;
    font-size: 13px;
    color: #31708f;
}
.trip-tab{
    position: absolute;
    top: 10px;
    left: 0px;
    background-color: rgba(0,0,0,.3);
    color: #fff;
    padding: 2px 11px;
    font-size: 13px;
}
.shouxuan-tab{
    position: absolute;
    top: 15px;
    left: 15px;
    background-image: url(images/sprites.png);
    background-position: -49px -288px;
    width: 38px;
    height: 39px;
    color: #fff;
    padding: 5px 0;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
}
.shouxuan-tab-x {
    position: absolute;
    top: 15px;
    left: 15px;
    background-image: url(images/sprites-x.png);
    background-position: -49px -288px;
    width: 38px;
    height: 39px;
    color: #fff;
    padding: 5px 0;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
}
@media (min-width: 768px){
    .trip-description small{
        padding-top: 7px;
        float: right;
        display: inline;
    }
    .shouxuan-tab{
        font-size: 14px;
        background-position: -43px -280px;
        width: 50px;
        height: 47px;
        padding: 7px 0;
    }
    .shouxuan-tab-x{
        font-size: 14px;
        background-position: -43px -280px;
        width: 50px;
        height: 47px;
        padding: 7px 0;
    }
}
/* ----------------------- 
** ------ whyUs -------- 
*/
#whyUsContent {
    position: relative;
    margin-top: 10px;
    /*display: none; */
}
#whyUsContent .left-arrow, #whyUsContent .right-arrow {
    background-image: url(images/sprites.png);
    background-position: -43px 0;
    width: 35px;
    height: 70px;
    display: block;
    top: 50%;
    position: absolute;
}
#whyUsContent .right-arrow {
    background-position: -43px -80px;
}
#whyUsContent .carousel-indicators li {
    border-color: #E60012;
}
#whyUsContent .carousel-indicators .active {
    background-color: #E60012;
}
#whyUsContent .carousel-control {
    width: 5%; 
}
.icon-open {
    background-image: url(images/sprites.png);
    background-position: 0 -287px;
    width: 27px;
    height: 21px;
    display: inline-block;
}
.icon-open-x {
    background-image: url(images/sprites-x.png);
    background-position: 0 -287px;
    width: 27px;
    height: 21px;
    display: inline-block;
}
#whyUsClose{
    position: absolute;
    right: 10px;
    display: block;
    background-image: url(images/sprites.png);
    background-position: -43px -160px;
    height: 20px;
    width: 20px;
    z-index: 2;
}
@media (max-width: 767px) {
    #whyUsContent .carousel-indicators{
        bottom: -10px;
    }
    #whyUsContent{
        padding-top: 20px;
    }
}

/* --------------------- 
** ------ menubar -------- 
*/
#menubar .menulist{
    font: bold 16px 微软雅黑, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin-bottom: 0;
}
#menubar .menulist a{
    color: #666;
    width: 100%;
}
#menubar .menulist > li{
    margin-top: 10px;
    position: relative; 
    float:left;
}
#menubar .menulist > li.logo{
    width: 260px;
}
#menubar .menulist > li.logo img{
    margin-top: -53px;
    width: 185px;
}
#menubar .menulist > li:hover{
    cursor: pointer;
}
#menubar .menulist > li:hover > a{
    color: #ad0711;
}

#menubar .menulist li.menuitem{
    width: 120px;
    text-align: center;
    border-right: 2px solid #bbb;
}
#menubar .menulist .dropdown-content {
    position: absolute;
    display: none;
    top: 100%;
    left: 0;
    padding-top: 10px;
    z-index: 1000;
    float: left;
    width: 100%;
    font-size: 15px;
    text-align: center;
    list-style: none;
    background-color: #fff;
    line-height: 2.8; 
}
#menubar .menulist .dropdown-content li:hover {
    background-color: #ad0711;
    cursor: pointer; 
}
#menubar .menulist .dropdown-content a:hover li {
    color: #fff; 
}
#menubar .menulist > li:hover .dropdown-content{
    display: block; 
}
#menubar .glyphicon {
    padding-top: 5px; 
    color: #fff;
}
/* ---------------------
** ------ menubar-x --------
*/
#menubar-x .menulist{
    font: bold 16px 微软雅黑, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin-bottom: 0;
}
#menubar-x .menulist a{
    color: #666;
    width: 100%;
}
#menubar-x .menulist > li{
    margin-top: 10px;
    position: relative;
    float:left;
}
#menubar-x .menulist > li.logo{
    width: 260px;
}
#menubar-x .menulist > li.logo img{
    margin-top: -53px;
    width: 90%;
}
#menubar-x .menulist > li:hover{
    cursor: pointer;
}
#menubar-x .menulist > li:hover > a{
    color: #E60012;
}

#menubar-x .menulist li.menuitem{
    width: 120px;
    text-align: center;
}
#menubar-x .menulist .dropdown-content {
    position: absolute;
    display: none;
    top: 100%;
    left: 0;
    padding-top: 10px;
    z-index: 1000;
    float: left;
    width: 100%;
    font-size: 15px;
    text-align: center;
    list-style: none;
    background-color: #fff;
    line-height: 2.8;
}
#menubar-x .menulist .dropdown-content li:hover {
    color: #E60012;
    cursor: pointer;
}
#menubar-x .menulist .dropdown-content a:hover li {
    color: #E60012;
}
#menubar-x .menulist > li:hover .dropdown-content{
    display: block;
}
#menubar-x .glyphicon {
    padding-top: 5px;
    color: #fff;
}


/* ---------------------
   ** ------ fixed --------
   */
#fixed-container-new {
    position: fixed;
    right: 20px;
    bottom: 200px;
    z-index: 1000;
    color: #fff;
    background-color: #EEE;
    border-radius: 25px;
    width: 50px;
}

#fixed-container-new .fiexed-header {
    height: 20px;
    border-radius: 25px 25px 0 0;
}
#fixed-container-new .fiexed-footer {
    height: 1px;
    border-radius: 0 0 25px 25px;
}
#fixed-container-new .fixed-item-a {
    width: 33px;
    height: 33px;
    margin: 0em auto 1em;
    cursor: pointer;
}
#fixed-container-new .fixed-item-a img{
    width: 26px;
    height: 26px;
}

#fixed-container-new #fix-telephone, #fixed-container-new #backToTop a, #fixed-container-new #fix-code , #fixed-container-new #fix-code-wx {
    /*background-image: url("https://dao-library.54traveler.com/tour/sprites.png");*/
    /*width: 33px;*/
    /*height: 33px;*/
    /*display: inline-block;*/
    /*background-position: 0 -135px;*/
}
#fixed-container-new #backToTop a {
    background-position: 0 -178px;
}
#fixed-container-new #fix-code {
    background-position: 0 0;
}
#fixed-container-new #fix-code-wx {
    background-position: 0 -213px;
}

.tag {
    width:200px;
    height:100px;
    border:1px solid rgba(190, 190, 190, .7);
    position:absolute;
    border-radius: 10px;
    color: #000000;
    line-height: 24px;
    margin: -35px 0px 0px -222px;
    background-color: #FFFFFF;
}
.tag-code {
    width: 200px;
    height: 248px;
    border: 1px solid rgba(190, 190, 190, .7);
    position: absolute;
    border-radius: 10px;
    color: #000000;
    line-height: 24px;
    margin: -187px 0px 0px -222px;
    background-color: #FFFFFF;
}

.tag-wxcode {
    width: 400px;
    height: 500px;
    border: 1px solid rgba(190, 190, 190, .7);
    position: absolute;
    border-radius: 10px;
    color: #000000;
    line-height: 24px;
    background-color: #FFFFFF;
    left: -30em;
    bottom: -11em;
}

.arrow{ position:absolute; width:40px; height:40px; bottom:28px; left:198px;transform: rotate(272deg); }
.arrow *{ display:block; border-width:20px; position:absolute; border-style:solid dashed dashed dashed; font-size:0; line-height:0; }
.arrow em{border-color:lightgrey transparent transparent;}
.arrow span{border-color:#FFF transparent transparent; top:-1px;}
.arrow-wxcode{
    position: absolute;
    width: 40px;
    height: 40px;
    top: 283px;
    right: -40px;
    -webkit-transform: rotate(272deg);
    transform: rotate(272deg); }
.arrow-wxcode *{ display:block; border-width:20px; position:absolute; border-style:solid dashed dashed dashed; font-size:0; line-height:0; }
.arrow-wxcode em{border-color:lightgrey transparent transparent;}
.arrow-wxcode span{border-color:#FFF transparent transparent; top:-1px;}

/* --------------------- 
** ------ video -------- 
*/
.video-box video{
    width: 100%;
    background-color: #000;
}
.video-box{
    display: none;
}
.playBtn{
    background-image:url(images/sprites.png);
    background-position: -43px -190px;
    width: 80px;
    height: 80px;
    margin: auto;
    position: absolute;
    left: 0;
    top: 0;
    bottom:0;
    right: 0;
    margin: auto;
    display: block;
    cursor: pointer;
}
.playBtn-x{
    background-image:url(images/sprites-x.png);
    background-position: -43px -190px;
    width: 80px;
    height: 80px;
    margin: auto;
    position: absolute;
    left: 0;
    top: 0;
    bottom:0;
    right: 0;
    margin: auto;
    display: block;
    cursor: pointer;
}
@media (min-width: 768px){
    .playPause{
        position: absolute;
        bottom: 50px;
        top: 0;
        left: 0;
        right: 0;
        cursor: pointer;
        display: none;
    }
}
/* --------------------- 
** ------ fixed -------- 
*/
#fixed-container {
    position: fixed;
    right: 20px;
    bottom: 40px;
    z-index: 1000;
    color: #fff; 
}
#fixed-container .fixed-item {
    background-color: rgba(190, 190, 190, 0.7);
    padding: 10px 10px 5px 10px;
    overflow: hidden;
    margin-bottom: 3px; 
}
#fixed-container #fix-telephone, #fixed-container #backToTop a, #fixed-container #fix-code , #fixed-container #fix-code-wx {
    background-image: url(images/sprites.png);
    width: 33px;
    height: 33px;
    display: inline-block;
    background-position: 0 -135px; 
}
#fixed-container #backToTop a {
    background-position: 0 -178px; 
}
#fixed-container #fix-code {
    background-position: 0 0; 
}
#fixed-container #fix-code-wx {
    background-position: 0 -213px;
}

/* --------------------- 
** ------ bottom -------- 
*/
.bottom-container {
    margin-bottom: 50px;
}
.bottom-container a{ color: #000; }
.bottom-container .bottom-item {
    position: relative;
    border-right: 2px dotted #ccc; 
    padding-bottom: 10px;
}
.bottom-container .bottom-item img {
    width: 100%; 
    margin-bottom: 2.4em;
}
.bottom-item h2{ font-size: 20px; }

@media (min-width: 768px){
    .bottom-container {
        margin: 20px 0 70px 0;
    }
    .bottom-container .bottom-item {
        background-image: url(images/bline.png);
        background-repeat: no-repeat;
        background-position: bottom;
        background-size: 94% 40%;
    }
    .bottom-container .text-center{ text-align: right; }
    .bottom-container .bottom-item p {
        margin-bottom: 0;
        position: absolute;
        bottom: 0;
        right: 20px;
    }
}
@media (min-width: 992px) {
    .bottom-container .bottom-item {
        background-size: 88% 40%;
        padding: 10px;
    }
    .bottom-item h2{ font-size: 22px; }
}
@media (min-width: 1200px) {
    .bottom-container .bottom-item {
        background-size: 82% 40%;
        padding: 10px 20px;
    }
    .bottom-container .bottom-item p {
        right: 40px;
    }
}

/* --------------------- 
** ------ footer-------- 
*/
footer {
  background-color: #9b0000;
  color: #fff;
  padding: 15px 0 35px 0;
}
footer ul li {
    border-right: 1px solid #ddd;
    line-height: 28px; 
    margin-top: 10px;
}
footer ul li:last-child {
    border-right: 0; 
}
footer ul li:first-child a {
    margin-left: 0; 
}
footer ul li a {
    color: #fff;
    margin: 0 15px; 
}
footer ul li a:hover{
    text-decoration: underline;
}
footer ul li:last-child a:hover{
    text-decoration: none;
}
footer #footer-wechat, footer #footer-sina, footer #footer-douban, footer #footer-ximalaya {
    background-image: url(images/sprites.png);
    width: 27px;
    height: 25px;
    vertical-align: bottom;
    display: inline-block;
    background-position: 0 -221px; 
}
footer #footer-sina {
    background-position: 0 -102px; 
}
footer #footer-douban {
    background-position: 0 -43px; 
}
footer #footer-ximalaya {
    background-position: 0 -254px; 
}
@media (min-width: 992px){
    footer{
        padding: 60px 0 70px 0; 
    }
}

/* --------------------- 
** ----- sidebar ------- 
*/
.sb-slidebar {
    background-color: #ad0711;
    border-left:1px solid #fff;
}
.sb-slidebar-x {
    background-color: #E60012;
    border-left:1px solid #fff;
}
.sidemenu li {
    line-height: 3.2;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-weight: bold;
    font-size: 15px; 
}
.sidemenu li a {
    color: #fff; 
}
.sidemenu .fa-lg {
    width: 35%;
    padding-left: 15%; 
}
.sidemenu .sidemenu-in {
    background-color: rgba(0, 0, 0, 0.15); 
}
.sidemenu .sidemenu-in li {
    line-height: 2.6;
    border: none; 
}
.sidemenu-in-x {
    background-color: rgba(0, 0, 0, 0);
}
.sidemenu-in-x li {
    line-height: 2.6;
    border: none;
}
.sidemenu .fa-chevron-down {
    margin-left: 35%; 
}
.menugo {
    width: 36px;
    height: 36px;
    display: inline-block;
    vertical-align: top;
    color: #FFFFFF;
    text-align: center;
    position: absolute;
}
.wmenu {
    width: 96px;
    text-align: center;
}
.fenmian {
    cursor: pointer;
}