body {
    background-color: #f5f5f5;
}

.pagination li a {
    padding: 0 15px;
    line-height: 35px;
    font-size: 22px;
}

.pagination>.active>a,
.pagination>.active>a:focus,
.pagination>.active>a:hover,
.pagination>.active>span,
.pagination>.active>span:focus,
.pagination>.active>span:hover {
    background-color: #e80707;
    border-color: #e80707;
    z-index: 0;
}

.pagination>li>a:focus,
.pagination>li>a:hover,
.pagination>li>span:focus,
.pagination>li>span:hover {
    color: #e80707;
}

.linetub-detail {
    position: relative;
    font-size: 20px;
    font-weight: 500;
    color: #666 !important;
}

.linetub-detail:before {
    position: absolute;
    content: "";
    left: 0;
    top: 50%;
    right: 0;
    border: 1px solid #e90505;
    -webkit-transform: rotate(-10deg);
    -moz-transform: rotate(-10deg);
    -ms-transform: rotate(-10deg);
    -o-transform: rotate(-10deg);
    transform: rotate(-10deg);
}

.label-detail {
    font-size: 15px;
    line-height: 22px;
    background-color: red;
    color: white;
    padding: 0px 8px;
    padding-right: 5px;
}

.datepicker table tr td,
.datepicker table tr th {
    padding: 0px !important;
}

.price-category {
    color: #ed1c24;
    font-weight: 900;
    font-size: 28px;
    line-height: 45px;
    font-family: roboto, Tahoma, Geneva, sans-serif !important;
    margin-top: -10px;
}

.irs-from,
.irs-to,
.irs-single {
    font-size: 16px !important;
}

.route_way {
    padding: 3px 10px;
    margin-bottom: 0 !important;
    line-height: 22px;
    border-bottom: 1px solid #eaeaea;
    font-family: roboto, kanit, Tahoma, Geneva, sans-serif !important;
    font-size: 16px;
    font-weight: 400;
    color: #666;
}

.route_way:last-child {
    border-bottom: none;
}

.route_way>span:hover {
    color: #ed145b !important;
}

.add-visa {
    font-size: 12px;
    line-height: 40px;
    font-weight: 300;
    margin-top: -10px;
}

.price-start {
    line-height: 20px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 300;
    font-family: roboto, Tahoma, Geneva, sans-serif !important;
}

.topic-detail {
    line-height: 12px;
    font-size: 14px;
    font-weight: 400;
    color: #269300;
    height: 115px;
    overflow: hidden;
    padding-right: 0;
}

.price-category-dis {
    color: #ed1c24;
    font-weight: 650;
    font-size: 34px;
    line-height: 18px;
    font-family: roboto, Tahoma, Geneva, sans-serif !important;
    margin-top: 0px;
    border: 2px solid #ed1c24;
    border-radius: 5px;
    margin-bottom: 5px;
}

.detail-dis {
    position: relative;
    font-weight: 300;
    color: #888888 !important;
    padding: 0px 5px;
}

.linetub-detail-dis {
    position: relative;
    font-size: 24px;
    font-weight: 450;
    color: #888888 !important;
    padding: 0px 5px;
    /*line-height: 30px;*/
}

.linetub-detail-dis:before {
    position: absolute;
    content: "";
    /*left: 0;*/
    top: 80%;
    right: 45px;
    padding: 0px 30px;
    border: 0.3px solid #666666c4;
    -webkit-transform: rotate(-10deg);
    -moz-transform: rotate(-10deg);
    -ms-transform: rotate(-10deg);
    -o-transform: rotate(-10deg);
    transform: rotate(-10deg);
}

.search_program {
    margin-bottom: 20px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    padding: 10px 10px;
    background: #fff;
}

.click_line {
    margin-top: 10px;
    margin-bottom: 20px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    padding: 5px 10px;
    background: #fff;
}

.title-category {
    padding: 10px;
    font-size: 18px;
    font-weight: 500;
    /* height: 63px; */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: auto !important;
    min-height: auto;
    max-height: 65px;
}

.show_count_program {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 10px;
    margin-top: 10px;
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    .topic-detail {
        padding-left: 10px !important;
        padding-right: 10px !important;
        height: 40px !important;
    }

    .td_space1 {
        width: 21% !important;
    }

    h5 {
        font-size: 28px !important;
    }

    .price-category {
        font-size: 16px !important;
        line-height: 26px;
    }

    .topic-detail p {
        font-size: 11px;
    }

    .title-category {
        font-size: 18px !important;
        padding: 10px !important;
        font-weight: 500;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        line-height: 130%;
        font-family: 'Kanit', Roboto, sans-serif;
        margin-bottom: 5px;
        font-size: 15px;
        height: 55px !important;
    }

    .price-start {
        line-height: 22px;
        margin-bottom: 0;
        font-size: 14px;
        font-weight: 300;
    }

    .pagination li a {
        padding: 0 10px !important;
        line-height: 30px !important;
        font-size: 20px !important;
    }

    .mb_no_padding {
        padding: 0;
    }

    .route_way {
        font-size: 14px;
    }

    .pg18_mb {
        display: none;
    }

    .search_emp_box {
        font-size: 15px !important;
        width: 60% !important;
    }

    .popular_item {
        height: 260px !important;
    }

    label {
        font-size: 12px;
    }

    .mb_margin_top>p {
        font-size: 15px;
    }

    .p_price_per {
        font-size: 10px;
        line-height: 20px;
    }

    /*  .air_logo_mb>img{
            margin-left: -15px;
        }*/
    .air_logo_display {
        padding: 0 !important;
    }

    .price-start {
        font-size: 13px !important;
    }

    .label-detail {
        font-size: 10px !important;
        padding: 3px 2px 4px 4px;
        font-weight: 500;
    }

    .price-category-dis {
        font-size: 23px !important;
    }

    .linetub-detail-dis {
        font-size: 16px !important;
    }

    .st-code {
        font-size: 11px !important;
    }

    .pop_en {
        display: none;
    }

    .popular_head {
        margin: 0px;
        font-size: 20px;
        font-weight: 500 !important;
        padding-left: 10px;
    }

    .pop_head {
        color: red !important;
        font-size: 35px !important;
        font-weight: 600;
        margin-right: 5px;
    }

    .mb_search_program {
        margin-top: -45px;
    }

    .irs-from,
    .irs-to,
    .irs-single {
        font-size: 11px !important;
    }

    .pop-p {
        padding-right: 10px;
        padding-left: 10px;
    }

    .popular_p {
        font-size: 14px !important;
    }

    .label-11,
    .label-11-1 {
        font-size: 13px !important;
        /* top: 110px!important; */
    }

    .label-11-1 {
        /* top: 175px!important; */
        font-size: 15px !important;
    }

    .promo_pig_list {
        display: none;
        margin-left: 175px !important;
        margin-top: 15px !important;
        width: 30% !important;
    }

    .search_program>p {
        font-size: 16px !important;
    }

    .fa-quote-left,
    .fa-quote-right {
        font-size: 12px !important;
    }

    .promo_pig {
        display: none;
        margin-left: -55px !important;
        margin-top: 55px !important;
        width: 25% !important;
    }

    .desc_new {
        /* margin-top: -20px!important; */
        font-size: 12px !important;
        line-height: 16px !important;
    }

    .price-start {
        font-size: 11px !important;
    }

    /* .airline_list {
        margin-top: 410px !important;
    } */

    h5 {
        font-size: 16px !important;
    }

    .popular_item .popular_title {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    .mbpd5 {
        padding-left: 5px;
        padding-right: 5px;
    }

    .title-category {
        height: 48px !important;
        font-size: 14px !important;
    }

    .air_img img {
        height: 28px !important;
    }

    .month_per {
        margin-left: 5px !important;
        font-size: 12px !important;
    }

    .box-gray-transparent {
        bottom: 0px !important;
        height: 25px !important;
        right: 0px !important;
        width: 66% !important;
    }

    .box-gray-transparent:before {
        border-bottom: 26px solid #777777 !important;
        left: -10px !important;
        top: -1px !important;
    }

    .tour_schedule {
        padding: 5px 4px !important;
        font-size: 11px !important;
        width: 34% !important;
    }

    .tour_sch {
        font-size: 11px !important;
        /* margin-top: 2px!important;
        margin-left: 5px!important; */
    }

    .ipd_no_padding {
        padding: 0 !important;
    }

    .img_pf {
        height: 194px !important;
    }

    .tour-box-main {
        margin-right: 10px !important;
        width: 266px !important;
    }

    p.getpoint {
        margin-left: 0 !important;
    }

    .price-category-dis div {
        margin-top: 5px !important;
        margin-bottom: 5px !important;
    }

    .price-category-dis {
        font-size: 18px !important;
    }

    .package-card__price-unit {
        font-size: 14px !important;
    }

    .linetub-detail-dis2 {
        position: relative;
        font-size: 18px !important;
        font-weight: 500;
        color: #888888 !important;
        padding: 0px 5px;
        line-height: 30px;
        margin-left: 0px !important;
        /* margin-top: 10px; */
    }

    .ipd_pdr0 {
        padding-right: 0;
    }

    .td_space1 {
        width: 21% !important;
        font-size: 14px !important;
    }

    .td_space5,
    .td_space2 {
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .popular_item {
        height: 250px!important;
        min-height: 140px;
    }
    .mg-t-2 {
        margin-top: 2px !important;
    }

    .price-start {
        margin-bottom: 5px;
    }

    #tagShow {
        margin-bottom: 15px;
        margin-top: 15px;
    }

    .tour-box-main {
        width: 100% !important;
        margin-top: 15px;
    }

    .td_space1 {
        width: 22% !important;
    }

    .price-category-dis {
        font-size: 30px !important;
    }

    .title-category {
        height: auto !important;
        min-height: auto;
        max-height: 65px;
    }

    .pagination {
        margin-bottom: 20px !important;
    }

    .pagination li a {
        padding: 0px 7px;
        line-height: 30px;
        font-size: 20px;
    }

    .mb_no_padding {
        padding: 0 !important;
    }

    .panel-body {
        padding: 0 !important;
    }

    h5 {
        font-size: 25px !important;
    }

    .price-category {
        color: #ed1c24;
        font-weight: 900;
        font-size: 32px;
        line-height: 40px;
    }

    .air_logo_mb {
        margin-top: 20px;
    }

    .air_logo_display {
        display: inline-block;
        text-align: left;
        padding-left: 0;
    }

    .mb_margin_top {
        margin-top: 10px;
    }

    .table-travel td {
        font-size: 13px!important;
    }

    .table-travel th {
        font-size: 11px;
    }

    .package-card__price-unit {
        font-size: 16px !important;
        font-weight: 200;
        letter-spacing: 0.8px;
        color: #e80707 !important;
    }

    .pop_head {
        color: red !important;
        font-size: 28px !important;
        font-weight: 600;
        margin-right: 5px;
    }

    .pagination {
        float: right;
        margin-bottom: 5px !important;
    }

    .mb_search_program {
        margin-top: -30px;
    }

    .label-detail {
        font-size: 14px;
        line-height: 20px;
        background-color: red;
        color: white;
        padding: 0px 5px;
        padding-right: 5px;
    }

    .pop-p {
        padding-right: 5px;
        padding-left: 5px;
    }

    .air_img img {
        /* max-height: 35px!important; */
        padding-top: 5px !important;
        /* padding-bottom: 5px!important; */
    }

    /* .bus_list {
        margin-top: 415px !important;
    } */

    .promo_pig {
        display: none;
        margin-left: -95px !important;
        margin-top: 10px !important;
    }

    .promo_pig_list {
        display: none;
        margin-left: 255px !important;
    }

    .popular_item .popular_title {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    .mbpd5 {
        padding-left: 5px;
        padding-right: 5px;
    }

    .tour-box-main {
        width: 100% !important;
        height: auto !important;
    }

    .topic-detail {
        height: auto !important;
        margin-bottom: 5px;
    }

    .td_space {
        margin-bottom: 35px !important;
    }

    .tour_schedule {
        width: 100% !important;
    }

    .box-gray-transparent {
        width: 100% !important;
        bottom: -35px !important;
        height: 35px !important;
        position: initial !important;
    }

    .box-gray-transparent:before {
        display: none !important;
    }

    .month_per {
        margin-left: 5px !important;
        margin-top: 0px !important;
        padding-top: 7px;
    }

    .box-gray-transparent,
    .tour_schedule {
        text-align: center !important;
        border-radius: 20px !important;
    }

    .table_top30 {
        margin-top: 30px !important;
    }

    .air_logo_display {
        display: inline-block;
        text-align: right;
        margin-top: 0px;
    }

    p.getpoint.mbgetp {
        margin-top: -300px !important;
        margin-left: 0 !important;
    }

    p.getpoint.mbgetp2 {
        margin-top: 15px !important;
        margin-left: 0 !important;
    }

    .linetub-detail-dis2 {
        float: left;
        /*margin-left: 120px!important;*/
        margin-top: 13px !important;
        margin-right: 10px !important;
        line-height: 22px !important;
    }

    .search_program {
        padding: 10px 15px !important;
    }

    .pdr0 {
        padding-right: 0 !important;
    }

    .td_space1 {
        width: 26% !important;
    }
}


/* กำหนดการเดินทาง */
td {
    padding: 0 !important;
}

table {
    font-size: 16px;
}

tr:nth-child(odd) {
    background-color: #f5f8fb;
}

.td_space1 {
    color: #0d5590;
    font-weight: 500;
    width: 13%;
    padding: 3px 3px !important;
}

.td_space5 {
    padding: 3px 3px !important;
    color: #666666;
}

.td_space6 {
    padding: 3px 3px !important;
}

.td_space2 {
    text-align: right;
    width: 15%;
    padding: 3px 3px !important;
}

.td_space_dis {
    font-size: 16px;
    text-align: right;
    color: #e00000;
    font-weight: 600;
}

.td_space .row {
    margin-left: 0rem;
    margin-right: 0rem;
}

.topicday {
    font-size: 15px;
    font-weight: 500;
}

.popular_title {
    height: 45px;
    padding: 5px 0px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.popular_p {
    line-height: 20px;
    font-weight: 450;
    font-size: 16px;
}

/*  */

span.holiday_show {
    display: -webkit-inline-box;
    background: #FFF;
    color: #5DADE2;
    border: 1px solid #5DADE2;
    border-radius: 5px;
    padding: 0px 3px;
    margin: 1px;
    font-size: 15px;
}

#wowslider-container1 .ws-title {
    bottom: -10px !important;
    left: 0px !important;
    font: inherit !important;
    font-size: 18px !important;
    text-shadow: none !important;
}

#wowslider-container1 .ws-title div,
#wowslider-container1 .ws-title span {
    max-height: 50px;
    overflow: hidden;
    opacity: .8 !important;
    background: crimson !important;
}

#wowslider-container1 .ws_bullets {
    bottom: 65px !important;
    left: 50% !important;
    width: 100% !important;
    /*right: 0px !important;*/
    opacity: 0.8;
    padding: 0px !important;
}

#wowslider-container1 .ws_controls {
    width: 100% !important;
}

#wowslider-container1 {
    z-index: 1;
}

#wowslider-container1 .ws_playpause {
    display: none;
}


.mb_search_program {
    margin-top: 45px;
}

.pop_en {
    font-weight: 300;
    font-size: 18px;
}

.popular_head {
    margin: 0px;
    font-size: 18px;
    font-weight: 500;
    font-family: roboto, kanit, Tahoma, Geneva, sans-serif !important;
}

.pop_head {
    color: red !important;
    font-size: 28px !important;
    font-weight: 500;
    margin-right: 5px;
    font-family: roboto, kanit, Tahoma, Geneva, sans-serif !important;
}

.topic-detail p {
    line-height: 18px;
    margin-bottom: 3px;
}

.package-card__price-unit {
    font-size: 18px !important;
    font-weight: 300;
    letter-spacing: 0.8px;
    color: #e80707 !important;
}

.popfont {
    margin-top: 6px;
    padding: 0px;
    font-family: kanit, Tahoma, Geneva, sans-serif !important;
}

.pricepop {
    font-size: 14px !important;
    font-weight: 300 !important;
}

.st-time {
    font-family: roboto, Tahoma, Geneva, sans-serif !important;
}

.st-code {
    font-size: 12px;
    color: #808080;
    font-weight: 300;
    font-family: roboto, Tahoma, Geneva, sans-serif;
}

.route_way {
    font-size: 16px;
    line-height: 22px !important;
}

/* .air_logo_display {
    margin-top: 15px;
}*/
.linetub-detail-dis2 {
    position: relative;
    font-size: 22px;
    font-weight: 500;
    color: #888888 !important;
    padding: 0px 5px;
    line-height: 25px;
    margin-left: 40px;
    margin-top: 10px;
}

.linetub-detail-dis2:before {
    position: absolute;
    content: "";
    left: 0;
    top: 50%;
    right: 0;
    padding: 0px 5px;
    border: 1px solid #6666668a;
    -webkit-transform: rotate(-10deg);
    -moz-transform: rotate(-10deg);
    -ms-transform: rotate(-10deg);
    -o-transform: rotate(-10deg);
    transform: rotate(-10deg);
}

.popular_item {
    height: 300px;
    min-height: 140px;
}

p.getpoint {
    font-size: 13px !important;
    margin-top: 120px;
    color: #333;
    margin-left: 70px;
    position: absolute;
}

.bn_ctm {
    font-size: 16px;
    background-image: url(/img/pointic.png);
    padding: 2px 5px 5px 1px;
    text-align: center;
    width: 135px;
    background-repeat: no-repeat;
    color: #fff;
    font-weight: 400;
    /* margin-left: 10px; */
    background: linear-gradient(500deg, #ffb000, #ff8122);
    border-radius: 3px;
    /* padding: 5px; */
    /* background-image: linear-gradient(-180deg,#FFC107,#FF9800)!important; */
    text-shadow: 1px 1px 2px #212121c9;
    font-family: roboto, kanit, Tahoma, Geneva, sans-serif !important;
}

.airline_list {
    height: 45px;
    padding-top: 15px;
    /* background-color: white;
    position: absolute;
    margin-top: 390px;
    left: 15px; */
}

.bus_list {
    height: 45px;
    padding-top: 15px;
}

.panel-body {
    padding: 15px 0;
}

.popular_p {
    font-family: Kanit !important;
}

.stsearch {
    font-family: roboto, Tahoma, Arial, Geneva, sans-serif !important;
}

.form-group {
    margin-bottom: 10px;
}

.tour-box-main {
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 8px;
    width: 300px;
    margin-right: 10px;
}

.form-control {
    padding: 4px 12px;
}

.sttopic {
    font-size: 15px !important;
    font-weight: 600 !important;
}

.sttopicen {
    font-weight: 400;
    color: #666666;
    font-size: 15px;
}

.tour_sch {
    /* margin-top: 3px; */
    text-align: left;
}

.topic-detail {
    color: #555;
    height: auto;
}

.td_space1 {
    min-width: 70px;
}

.td_space2 {
    min-width: 110px;
    font-weight: 550;
}

.td_space_dis {
    width: 110px;
}

.td_space5 {
    width: 100%;
}

.td_list1 {
    min-width: 70px;
    font-weight: 550;
    color: #0d5590;
    width: auto;
    padding: 3px 3px !important;
}

.td_list2 {
    min-width: 70px;
    width: auto;
}

.td_list4 {
    min-width: 40px;
    width: auto;
}

.td_list5 {
    font-weight: 550;
    text-align: right;
    min-width: 40px;
    width: auto;
    padding: 3px 3px !important;
}

/* .img_pf{
height: 240px;
} */
.box-gray-transparent {
    background-color: #777777 !important;
    text-align: left;
    position: absolute;
    bottom: 0;
    right: 0;
    /* z-index: 9; */
    width: 65%;
    height: 31px;
    color: white;
    border-radius: 0 20px 20px 0;
}

.box-gray-transparent:before {
    border-bottom: 32px solid #777777;
    content: "";
    width: 1px;
    height: 0;
    border-left: 10px solid transparent;
    position: absolute;
    left: -10px;
    top: -1px;
}

.title-category {
    color: #333;
    margin-bottom: 5px;
}

.tour_schedule {
    background-color: #e80707;
    color: white;
    padding: 5px 15px;
    width: 35%;
    border-radius: 20px 0 0 20px;
    margin-bottom: 0;
}

.month_per {
    margin-top: 5px;
    margin-left: 25px;
}

.air_img img {
    width: 100%;
    height: 100%;
}

.popular_item .popular_title {
    padding-left: 0px;
    padding-right: 0px;
}

.desc_new {
    font-size: 13px;
    line-height: 18px;
    color: #555;
    font-family: roboto, Tahoma, Geneva, sans-serif !important;
}

.promo_pig {
    display: none;
    position: absolute;
    margin-left: -80px;
    margin-top: 5px;
    width: 25%;
}

.promo_pig_list {
    display: none;
    position: absolute;
    margin-left: 215px;
    margin-top: 5px;
    width: 25%;
}

.promo_pig-pop {
    display: none;
    position: absolute;
    margin-left: -60px;
    margin-top: 5px;
    width: 25%;
}

.label-11,
.label-11-1 {
    position: absolute;
    font-size: 16px;
    line-height: 14px;
    color: #fff;
    text-align: center;
    bottom: 0;
    background: linear-gradient(90deg, rgb(255, 112, 10) 0%, rgba(255, 0, 19, 0.7) 100%);
    width: 100%;
    padding: 6px 10px;
}

/* Customize the label (the checkCSS) */
/* Hide the browser's default checkbox */
.checkCSS input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.day01 {
    font-size: 16px;
}

/* .label-11-1{
top: 175px;
} */
.search-text {
    padding: 10px;
    font-size: 17px;
    float: left;
    width: 85%;
    border-radius: 5px 0 0 5px;
}

.bt-search {
    width: 15%;
    padding: 4px 10px;
    background: #ff001a;
    color: white;
    font-size: 17px;
    border: 1px solid #ff001a;
    border-radius: 0 5px 5px 0;
}

.bt-search:hover,
.bt-search:active {
    background: #e80707;
    border: 1px solid #e80707;
}

.label-quota {
    font-size: 10px !important;
    margin-top: 15px;
    margin-left: -5px;
    position: absolute;
    background: #fff2f2;
    padding: 0px 4px;
    border-radius: 10px;
}

.table-travel th {
    background: #f0f4f8;
    color: #333;
    font-size: 12px;
    font-weight: 700;
    border-radius: 0;
    border: 1px solid #f0f4f8;
}

.tour-box-main a:hover {
    color: #333;
}

.title-category:hover {
    color: #dc312f;
}

.table-travel td {
    padding: 5px !important;
    border: 1px solid #f0f4f8;
    font-size: 14px;
    border-right: 1px solid #f0f4f8;
}

.span-border {
    border-left: 3px solid #e80707;
    padding-right: 5px;
}

.table-travel tbody {
    display: table;
    width: 100%;
}