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

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

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

.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: 14px;
    line-height: 21px;
    background-color: #1566BF;
    color: white;
    padding: 0px 8px;
    padding-right: 5px;
    /* width: 131px; */
    margin-top: 11px;
}

.select_filter_list {
    font-size: 16px;
    color: #555;
    font-weight: 500;
}

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

.price-category {
    color: #ec1d24;
    font-weight: 700;
    font-size: 40px;
    line-height: 40px;
}

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

.route_way {
    padding: 5px 10px;
    margin-bottom: 0 !important;
    line-height: 25px;
    border-bottom: 1px solid #eaeaea;
    font-size: 16px;
}

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

.route_way>a:hover {
    color: #1566bf;
    font-weight: 500;
}

.title-category {
    font-weight: 600;
}

.search_program {
    background-color: white;
    margin-bottom: 2px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    padding: 5px 10px;
}


.title-category:hover {
    color: #1566BF;
}

.p_price_per {
    font-size: 13px;
}

.click_line {
    background-color: white;
}

.price-category-dis {
    color: #1566BF;
    font-weight: 650;
    font-size: 34px;
    line-height: 27px;
    font-family: 'Kanit', Roboto, sans-serif;
    margin-top: 0px;
    border: 2px solid #1566BF;
    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: 20px;
    font-weight: 300;
    color: #888888 !important;
    padding: 0px 5px;
}

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

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

table {
    font-size: 16px;
}

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

.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;
}

.promo_pig {
    display: none;
    position: absolute;
    margin-left: 0px;
    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;
    top: 169px;
    background: linear-gradient(90deg, rgb(255, 112, 10) 0%, rgba(255, 0, 19, 0.7) 100%);
    width: 100%;
    padding: 6px 10px;
}

.label-11-1 {
    top: 168px;
}

/*  */
.tag-code {
    font-size: 14px;
    color: #89949b;
    font-weight: 500;
    /* text-align: center; */
    padding-left: 15px;
}

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

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

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

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

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

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

.tour_schedule {
    background-color: #cbe1e9;
    color: #333333;
    padding: 5px 15px;
    width: 35%;
    border-radius: 20px 0 0 20px;
}

.box-gray-transparent {
    background-color: #1566bf !important;
    text-align: left;
    position: absolute;
    bottom: 10px;
    right: 0px;
    z-index: 9;
    width: 65%;
    height: 32px;
    color: white;
    border-radius: 0 20px 20px 0;
}

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

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

.month_per span {
    font-weight:300;
    font-size:13px;
}

.description-program {
    line-height: 14px;
    margin-bottom: 0;
    margin-top: 10px;
}

.img-program {
    height: 100%;
    overflow: hidden;
    margin-bottom: 10px;
    border-radius: 10px 0 10px 0;
}

.img-program-d {
    width: 100%;
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    .description-program {
        font-size: 12px;
    }
    .td_space1 {
        width: 21% !important;
    }

    .panel-body {
        padding: 0;
    }

    .pg18_mb {
        display: none;
    }

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

    .panel-body {
        padding: 0;
    }

    label {
        font-size: 12px;
    }

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

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

    .air_logo_mb>img {
        margin-left: -15px;
    }

    .air_logo_display {
        padding: 0 !important;
    }

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

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

    .route_way {
        font-size: 16px;
    }

    .pg18_mb {
        display: none;
    }

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

    .title-category {
        font-size: 15px;
        height: 62px !important;
        overflow: hidden !important;
    }

    label {
        font-size: 12px;
    }

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

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

    .air_logo_display {
        padding: 0 !important;
    }

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

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

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

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

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

    .label-11,
    .label-11-1 {
        font-size: 13px !important;
        top: 87px !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;
    }
    .tag-code {
        font-size: 11px;
        font-weight: 400;
    }
    .tour_schedule {
        font-size: 11px;
    }
    .month_per {
        margin-top: 5px;
        margin-left: 10px;
        font-size: 11px;
    }
    .box-gray-transparent {
        height: 26px;
    }
    .box-gray-transparent:before {
        border-bottom: 27px solid #1566bf;
    }
    .month_per span {
        font-weight:300;
        font-size:11px;
    }
    .img-program {
        height: 100% !important;
    }
}

@media (max-width: 480px) {
    .linetub-detail-dis {
        font-size: 26px !important;
    }

    .pagination li a {
        padding: 0 6px !important;
    }

    .td_space1 {
        width: 22% !important;
    }

    .mb_search_program {
        margin-top: 0 !important;
    }

    .title-category {
        height: 55px;
        font-size: 16px;
    }

    .mb_no_padding,
    .panel-body {
        padding: 0;
    }

    h5 {
        font-size: 18px;
    }

    .price-category {
        color: #1566BF;
        font-weight: 700;
        font-size: 40px;
        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: 15px;
    }

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

    .label-11 {
        top: 228px !important;
    }

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

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

    .tag-code {
        font-size: 14px;
        color: #89949b;
        font-weight: 500;
        padding-left: 15px
    }

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

    .tour_schedule {
        width: 100% !important;
        margin: 0;
        border-radius: 20px;
    }

    .box-gray-transparent {
        width: 100% !important;
        bottom: -35px !important;
        height: 35px !important;
        border-radius: 20px;
        position: inherit;
    }

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

    .box-gray-transparent:before {
        display: none;
    }
    .img-program {
        height: auto !important;
        overflow: hidden;
        margin-bottom: 10px;
        border-radius: 10px 10px 0 0 !important;
    }
}