img.img_md {
    display: block;
}

img.img_xs {
    display: none;
}

.img_md_style {
    width: 645px;
    height: 200px;
}

@media(min-width: 992px) {
    .right.right-xs {
        display: none;
    }
}

@media(max-width: 992px) {
    #header-photo,
    #header-photo #slide,
    #header-photo #slide #meteor-slideshow,
    #header-photo #slide #meteor-slideshow > div,
    #header-photo #slide #meteor-slideshow > div > a,
    .right.right-xs,
    div#content-wrap,
    div#content-wrap #main,
    div#content-wrap #main .right_all,
    div#content-wrap #main .right_all div.desc_cat,
    .sidebar,
    .sidebar > div,
    .left_all,
    .sidebar b b div,
    .sidebar b b div iframe,
    .left_all,
    .left_all ul,
    .left_all ul li,
    div#footer-wrap,
    div#footer-bottom,
    div#footer-bottom div,
    .search-post form span,
    div#wraper,
    div#wraper_full,
    #header-photo #slide div {
        width: 100%;
        overflow: hidden;
    }

    .mslide.mslide-1,
    div#meteor-slideshow,
    #main h1,
    #attractions .loop_att,
    .page_navi,
    #detail_page,
    #header {
        width: 100% !important;
        height: auto !important;
    }

    div#content-wrap,
    .sidebar,
    div#wraper,
    div#header,
    .videosapa,
    div#featured_destinations,
    .thuvien_img,
    div#footer-wrap,
    .desc_cat,
    #header-photo #slide #meteor-slideshow > div > a > img {
        margin: 0 !important;
        padding: 0 !important;

    }
    .left_all,div#lydo{
        padding: 0 10px;
    }
    div#header {
        display: inline-block;
    }

    div#header-photo {
        display: none;
    }
    div#header-info {
        display: none;
    }
    div#header-guaranteed {
        display: none;
    }
    div#viewmore {
        display: none;
    }
    div#meteor-slideshow > .mslide.mslide-1 {
        /*position: relative !important;*/
    }

    body,
    div#wraper,
    .left_all,
    div#footer-wrap,
    div#content-wrap,
    .right.right-xs {
        background-color: #FFF;
    }

    #header-photo #slide #meteor-slideshow > div > a > img {
        border: 0;
    }

    .right.right-xs a {
        color: #333;
        font-size: 11px;
        font-weight: bold;
    }

    h2#logo-text {
        position: relative;
        margin: 0 auto;
    }
    #header .left {
        width: 100%;
        float: left;
        text-align: center;
    }

    #header .right {
        float: none;
      
        margin-right: 0;
    }

    #header-photo #slide #meteor-slideshow > div > a > img,
    div#detailtourall .desc_cat center img,
    div#detailtourall .desc_cat center table,
    .sidebar b b div img,
    div#footer-bottom img {
        width: 100%;
        display: block;
        margin: 0 auto;
    }

    div#nav {
        display: none;
    }

    .sidebar > div {
        text-align: center;
        margin: 10px 0;
    }

    .sidebar > div:nth-child(2) > div {
        margin: 0 auto !important;
    }

    div#footer-bottom {
        display: inline-block;
    }

    div#footer-bottom div {
        width: 100% !important;
        height: auto;
        margin-top: 0 !important;
        text-align: center !important;
    }

    #submit-search {
        float: left;
    }

    .left_all ul.sidemenu li {
        width: 90%;
    }

    div#footer-bottom div {
        margin: 0 !important;
    }

   /* div#main,
    .sidebar,
    div#footer-wrap {
        padding: 0px 10px !important;
    }*/

    .wp-pagenavi {
        text-align: center;
    }

    /*.sidebar > b > b div img {
        *//*width: 80%;
        display: block;
        margin: 0 auto;*//*
    }*/

    #d1322 > div {
        width: auto;
    }

    div#d1322 > a:nth-child(1) {
        display: inline-block;
        width: 100%;
    }

    .thuvien_img > div {
        width: 33.3% !important;
        text-align: center !important;
        margin: 0 auto !important;
    }

    .div_bottom img,
    .div_img > img {
        float: left;
    }

    .b_bottom {
        display: inline-block;
        width: 100%;
    }
}

@media(max-width: 768px) {
    #topAttractions .cityTourSlide {
        padding: 0 10px;
        width: 100%;
    }
    #topAttractions .desc-tour{
        clear: both;text-align: center;
    }
    
    #topAttractions .cityTourSlide .image {
        width:100%;
        height:230px;
        margin-top:10px;
        display: block;
      overflow: hidden;
     }
    #topAttractions .cityTourSlide .image img {
        width:100%;
        height:240px;
        margin-top:-10px;
        display: block;
    }
 
    img.img_md {
        display: none;
    }

    img.img_xs {
        display: block;
    }
}

* {
    /*background-color: red;*/
}
@media (min-width: 320px) and (max-width: 768px){

    #main{
        padding: 0 10px;
        float: none;
        display: block;
    }
    .img_list_tour img {
        height: 50%;
        width: 100%;
    }
    .tour_pagedattour {
        width: 60%;
    }
    .details_tour{ 
        position: relative;
    }
    .details_tour #pc{

        display: none;
    }
    .details_tour #mobile{
        display: block;
        width: 100%;
        }
    .details_tour .dats_tour {
        width: 40%;
    }
    .all_diadanh li {
        width: 50%;
    }
    .all_diadanh li a{
        display: block;
    }
    .hoteldeal {
        padding: 0;
    }
    #main h2 a {
        text-decoration: none;
        padding: 0 10px;
    }
    .right_page{
        width: 100%;
    }
    .right_page>div{
        width: 100% !important;
    }
    .single_ts{
        width: 100%;

    }
    .single_ts .tour_imgs {
   	margin: 5px auto;
        display: block;
        float: none;
        width:393px;
        height:262px;
    }
    .single_ts img{
        float: none;
      
    }
    .single_ts .right_tour{
        clear: both;
        text-align: center;
    }
    .detailtour_in_top{
        width: 100%;
    }
    .singletab {
 	width: 100%;
    }
    .singlebox.singletab #tabs > ul > li {
         padding-right: 0; 
      }
    .singlebox.singletab #tabs > ul > li:last-child{
        margin: 0;
    }
    #tabs-1{
        width: 100%;
    }
 
    .singlebox.singletab #tabs > div[id^="tabs-"] table{
        width: 100%!important;
      }
    #otherhotelpost,.otherhotel{
        width: 100%;
    }
    .line textarea{
        width: 100%;
    }
    .tag_hotel1{
        width: 100%;
    }
    .tag_hotel1 ul li {
        border-left: none;
        padding: 5px;
    }
    .imagepost_full{
        width: 100%;
    }
    .imagepost_full img{
        width: 100%;
        min-height: auto;
    }
    .lst_cathome {
        width: 100%;
    }
    .lst_cathome li {
        margin: 5px 2% 5px 0;
        width: 48%;
    }
   .singlebox.singletab #tabs-1 img{
        width:393px;
        height:262px;
    }

    #topAttractions .cityTourSlide .image {
        width:100%;
        height:230px;
        margin-top:10px;
        display: block;
      overflow: hidden;
     }
    #topAttractions .cityTourSlide .image img {
        width:100%;
        height:240px;
        margin-top:-10px;
        display: block;
    }
#topAttractions .cityTourSlide {
    height: 390px;
  }
  
}