﻿@media only screen and (min-width: 768px){.m-column-list{-webkit-column-count: 3;column-count: 3;}}@media only screen and (max-width: 767px){.m-column-list{-webkit-column-count: 1;column-count: 1;}}@media screen and (max-device-width: 767px){.m-column-list{-webkit-column-count: 1;column-count: 1;}}.link-height{line-height:2.0;}
.org_rate {
  position: relative;
  font-size:small;  
  color:gray;
}
.org_rate:before {
  position: absolute;
  content: "";
  left: 0;
  top: 50%;
  right: 0;
  border-top: 1px solid;
  border-color: inherit;

  -webkit-transform:rotate(-5deg);
  -moz-transform:rotate(-5deg);
  -ms-transform:rotate(-5deg);
  -o-transform:rotate(-5deg);
  transform:rotate(-5deg);
}
    .navbar-toggle { margin-left:5px !important; }
    .busguide { clear: both; }
    .booking-summary {
        margin-left: -15px;
        margin-right: -15px;
    }   

    .booking-summary .text-blue {
        color: #362e77;
    }   

    .booking-summary .text-bold {
        font-weight: 600;
    }

    .booking-summary .text-small {
        font-size: 14px;
    }

    .booking-summary .text-left {
        text-align: left !important;
    }

    .booking-summary .text-large {
        font-size: 18px;
    }

    .booking-summary .title-group .title {
        text-align: center;
    }

    .booking-summary .spacer {
        margin: 20px auto 35px;
    }

    .booking-summary .title {
        font-weight: bold;
        font-size: 18px;
        color: #000;
    }

    .title-spacer {
        margin: 10px 0 20px;
    }

    .table-style-1 {
        width: 100%;
        border: 1px solid #c1cbe4;
    }

    .table-style-1 thead {
        background-color: #eef0f4;
        color: #362e77;
        font-weight: bold;
        border-bottom: 3px solid #d5dbe8;
    }

    .table-style-1 thead th,
    .table-style-1 tbody td {
        text-align: center;
        padding: 9px 20px;
    }

    .table-style-1 tbody tr:not(:last-child) {
        border-bottom: 1px solid #c1cbe4;
    }

    .table-style-1 tbody > tr > td:first-child {
        color: #157ac4;
    }

    .content-style-1 .cards {
        border: 1px solid #c1cbe4;
        background-color: #eef0f4;
    }

    .content-style-1 .card {
        width: 25%;
        float: left;
        padding: 20px;
        text-align: center;
    }            

    .content-style-1 .card:not(:last-child) {
        border-right: 1px solid #c1cbe4;
    }

    .clearfix::after {
        content: "";
        clear: both;
        display: table;
    }

    .booking-summary .list-group ul {
        padding-left: 0;
        margin-left: 0;
    }

    .booking-summary .list-group ul li {
        display: inline-block;
        position: relative;
        padding-left: 10px;
        margin-right: 30px;
    }

    .booking-summary .list-group ul li:before {
        content: " ";
        position: absolute;
        width: 5px;
        height: 5px;
        background-color: #3e7aad;
        left: 0;
        top: 9px;
        border-radius: 50px;
    }

    @media all and (min-width: 768px) {
        .content-style-1 .card p {
            text-align: center !important;
        }

        .booking-summary .list-group ul {
            -moz-column-count: 4;
            -moz-column-gap: 20px;
            -webkit-column-count: 4;
            -webkit-column-gap: 20px;
            column-count: 4;
            column-gap: 10px;
        }

        .booking-summary .list-group ul li {
            display: block;
        }
    }

    @media all and (max-width: 767px) {
        .booking-summary .title-group {
            padding: 0 15px;
            margin-left: -15px;
            margin-right:-15px;
        }

        .booking-summary .title-group .title {
            text-align: left;
        }

        .booking-summary .title {
            font-size: 16px;
            line-height: 1.5;
        }
        
        .table-style-1 thead th:first-child,
        .table-style-1 tbody td:first-child {
            text-align: left;
        }

        .table-style-1 thead th:nth-child(3),
        .table-style-1 thead th:nth-child(4),
        .table-style-1 thead th:nth-child(5),
        .table-style-1 tbody td:nth-child(3),
        .table-style-1 tbody td:nth-child(4),
        .table-style-1 tbody td:nth-child(5) {
            display: none;
        }

        .content-style-1 .cards {
            padding: 10px 
        }

        .content-style-1 .card {
            width: 100%;
            float: none;
            padding: 5px 10px;
            margin-bottom: 5px;
            text-align: center;
            border-right: none !important;
        }

        .content-style-1 .card  p{
            margin-bottom: 0;
            font-size: 14px;
            vertical-align: middle;
        }

        .content-style-1 .card .text-small,
        .content-style-1 .card .text-large {
            display: inline-block;
            width: 50%;
            float: left;
            text-align: left;                    
        }

        .content-style-1 .card .text-large {
            text-align: right;
        }

        .booking-summary .spacer {
            margin: 20px auto;
        }

        .title-spacer {
            margin: 0;
        }
        
        .booking-summary .list-group ul li {
            display: block;
            line-height: 2;
        }
    }


.col-md-12.mobile {
    display: block;
}
.operatorlist { padding-left: 5px; padding-right: 25px; }
#responsive p {
    text-align: center !important;
}
#table1 td:nth-child(1), #table1 tr:nth-child(1) {
    width: 40%;
}
  .glyphicon{
  color:gray !important;
  }
.panel {
    overflow: hidden;
}
#table1 th{
text-align:center;
}
#t1 th{
padding:2%;
}
.panel-heading span
{
    margin-top: -35px;
    font-size: 15px;
}
.table-bottom{
    border-bottom:1px solid #d7dded;
}
.dayavailable{
    color: blue;
}
.daynotavailable{
    color: darkgrey;
}
.showpanel {
    display: block;
    visibility:visible;
}
.hidepanel {
    display: none;
    visibility:hidden;
}
@media only screen and (max-width: 767px){
#responsive{
 display: -webkit-inline-box;
}
}
@media only screen and (min-width: 435px){
.desktop{
display:inline;
}
.mobile{
display:none !important;
}
}
@media only screen and (max-width: 435px){
.desktop{
display:none;
}
#title{
visibility:hidden;
    margin-top: -39px;
}
 #table1 td:nth-child(3),#table1 td:nth-child(4),#table1 td:nth-child(5) {
    display:none;
  }
     #table1 th:nth-child(3),#table1 th:nth-child(4),#table1 th:nth-child(5) {
    display:none;
  }
  div#float b {
    float: right;
}
  #float{
	text-align:left;
  }
 #distance p{
  display:inline;
  }
  .panel-heading {
  padding-left:0px;
  }
  .panel {
    margin-bottom: 0px;
	 box-shadow:none;
}
}

table.vertical-seats-bus td {display:table-cell;}
span.stars, span.stars span {
    display: inline-flex;
    background: url('https://resource.busonlineticket.co.th/image/stars.png') 0 -16px repeat-x;
    width: 80px;
    height: 16px;
}

span.stars span {
    background-position: 0 0;
}

.popover.top>.arrow {
    
    border-top:none;
	
    left: 40%;

}
.divKTMLabels, .divKTMLabelsM {
    margin-top: 4px;
}
.divKTMLabels ul li, .divKTMLabelsM ul li{
    width:16%;
}
.divKTMLabelsM span, .divKTMLabelsM li a {
    text-align: left !important;
    padding: 6px 0 0px 5px !important;
}
#spnCoachLabel {
    width: 100%;
    float: left;
    font-size: 14px;
    font-weight: bold;
}

.divKTMLabels span, .divKTMLabelsM span {
    width: 100%;
    font-size: 9pt;
    text-align: center;
    cursor: pointer;
    float: left;
    font-weight: bold;
    -webkit-transition: background-color .17s linear;
}

#divRefineSearch {
    border: 1px solid rgb(204, 204, 204);
    border-radius: 4px;
    padding: 10px;
    width: 100%;
    float: left;
    display: none;
}

.refine-div {
    background: #00589f;
    padding: 0px 0 16px 0px;
    float: left;
    width: 100%;
}

.select-bus-header {
    color: #01589b;
    font-size: 20pt;
}

.tab-content {
    padding: 0 !important;
}

.rad label {
    color: #fff !important;
    font-weight: normal !important;
    padding: 3px 8px !important;
    background: #f70e14 !important;
    margin-left: 5px !important;
    border-radius: 4px !important;
    width: 80px !important;
    text-align: center !important;
}

.form-inline label {
    font-size: 14px !important;
    font-weight: normal !important;
    font-family: Tahoma !important;
    color: #fff !important;
}

.form-inline .form-control {
    border-radius: 0 !important;
}

.form-inline input[type='text'] {
    width: 200px !important;
}

.btn-red {
    background: #f40d15 !important;
    color: #fff !important;
    font-weight: bold !important;
    border-radius: 0 !important;
    margin-top: 23px !important;
}

.nav-pills > li {
    border-right: 1px solid #fff !important;
}

    .nav-pills > li > a {
        background: #007ad8 !important;
        color: #00589c !important;
    }
    
    @media all and (min-width: 768.1px) {
        .nav-pills > li.active > a, .nav-pills > li.active > a:focus, .nav-pills > li.active > a:hover {
            background: #007ad8 !important;
            color: #fff !important;
        }
    }

    .nav-pills > li > a {
        border-radius: 0 !important;
    }

        .nav-pills > li > a:hover {
           /* background: #f40d15 !important;
            color: #fff !important; */
            background: #007ad8!important;
            color: #fff !important;
            border-radius: 5px!important;
        }



ul.nav-tabs.nav-justified > li {
    border-right: 1px solid #fff !important;
    padding: 5px 5px 0px 5px !important;
}

    ul.nav-tabs.nav-justified > li:last-child {
        border-right: 0 !important;
    }

    ul.nav-tabs.nav-justified > li > a {
        color: #000 !important;
        background: none;
        border-radius: 4px 4px 0 0;
    }

    ul.nav-tabs.nav-justified > li.active > a, ul.nav-tabs.nav-justified > li.active > a:hover {
        color: #0059a2 !important;
        background: #fff !important;
    }

    .ul.nav-tabs.nav-justified > li > a:focus, ul.nav-tabs.nav-justified > li > a:hover {
        text-decoration: none !important;
        background-color: #eee !important;
    }

.arrow {
    padding: 14px 10px !important;
}

table.table > thead > tr > th > a {
    color: #000 !important;
    font-size: 14px !important;
}

table.table > tbody > tr > td {
    font-size: 13px !important;
}

.buscompanyname {
    font-size: 12px !important;
}

.busprice {
    font-size: 16px !important;
}

.btn-orange {
    background: #fb6330 !important;
    color: #fff !important;
}

.busguide h2 {
    color: #00599d !important;
}

.busguide h3 {
    color: #333 !important;
}

.busguide p {
    text-align: justify !important;
}

.busguide .bushd {
    border-bottom: 3px solid #ddd !important;
}

.btn-filter {
    border: 2px solid #ddd !important;
    padding: 5px 8px !important;
    cursor: pointer;
}

.navTopSelect > li {
    min-width: 8% !important;
    text-align: center !important;
}

.nav-pills.navTopSelect > li.active > a, .nav-pills.navTopSelect > li.active > a:hover {
    background: #00589f !important;
    color: #fff !important;
}

.nav-pills.navTopSelect > li > a:hover {
    background: #f40d15 !important;
    color: #fff !important;
}

.nav-pills.navTopSelect > li > a {
    background: #ddd !important;
    color: #000 !important;
}

.filtersDepart, .filtersReturn {
    max-height: 160px;
    overflow: auto;
}

#divdepart .tab-content .tab-pane table thead tr th, #divreturn .tab-content .tab-pane table thead tr th {
    padding-bottom: 0 !important;
    vertical-align: bottom !important;
}

.bg-grey {
    background: #d5d4d4 !important;
}

@media (max-width:767px) {
    .filtersDepart, .filtersReturn {
        /*border: 1px solid #ccceee; */
        padding: 1% !important;
    }

    

    .select-bus-header {
        color: #01589b;
        font-size: 15pt !important;
    }

    #divRefineSearch .rad {
        float: left !important;
        margin-right: 17px !important;
        margin-left: 17px !important;
    }

    #divRefineSearch .form-group:first-child {
        width: 100%;
        float: left;
    }

    #divRefineSearch .form-group:not(:first-child) {
        float: left !important;
        width: 96% !important;
        margin-left: 3%;
    }


    #divRefineSearch .form-inline input[type='text'], #divRefineSearch select {
        width: 96% !important;
    }

    #divRefineSearch .form-control-feedback {
        margin-right: 4% !important;
    }
}

.filtersDepart span, .filtersReturn span {
    cursor: pointer;
}


::-webkit-scrollbar {
    -webkit-appearance: none;
}

    ::-webkit-scrollbar:vertical {
        width: 12px;
    }

    ::-webkit-scrollbar:horizontal {
        height: 12px;
    }

::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, .5);
    border-radius: 10px;
    border: 2px solid #ffffff;
}

::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: #ffffff;
}

#imgBus .modal-dialog {
    width: 300px !important;
}
#BusSilder img {
    margin-top: 5px !important;
}

/* Jaja (modified) */
.mbusDetails {
    text-decoration: none;
    color: blue;
}
.pickupdropoff {
    cursor:pointer;
    color: #0033cc !important;
}


/* Jaja */
    .allow-change,
    .allow-refund {
        margin-top: 10px!important;
    }
   .allow-refund > a,
  .allow-change > a {
      
      background: #f0f0f0!important;
      width: 99px;
      margin-left: 5px!important;
      display: block;
      color: dimgray;
      padding: 5px!important;
      font-size: 11px;
      margin-bottom: 5px;
      text-align: center;
  }
  .allow-refund i,
  .allow-change i {
      font-family: 'Font Awesome 6 Pro';
      font-weight: 700;
      font-size: 12px;
      color: dimgray;
  }


    .pull-left-lg {
        float: left!important;
    }


.d-flex {
    display: flex;
}

.allow-refund-tag {
    cursor: pointer;
}

.allow-refund-tag:hover {
    background: #3333330f;
    border-radius: 6px;
}

.allow-refund-tag .icon-wrap {
    background: #007ad8;
    padding: 5px 13px;
    color: white;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
    padding-top: 6%;
}

.allow-refund-tag .text-small {
    font-size: 12px;
    color: #007ad8;
}

.allow-refund-tag .text-medium {
    color: #01589b;
    font-weight: 600;
}

.allow-refund-tag .desc {
    border: thin solid #007ad8;
    padding: 2px 20px 2px 10px;
    line-height: normal;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    position: relative;
}

.allow-refund-tag .arrow-icon {
    position: absolute;
    top: 25%;
    padding-right: 5px;
    color: #fb6330;
    font-weight: bolder;
    font-size: large;
    right: 0;
}

.user-rate {
    width: max-content;
}

.rating-count {
    margin-left: 10px;
    padding: 1px;
    background: #f0f0f0;
}
.pr-0-xs { padding-right: 0; }

.pl-0-xs { padding-left: 0; }
/* end Jaja */
.adultPrice,.childPrice {
    text-align: center;
}

/* Notify Me */
#divNotifyMe .input-group-addon {
    padding: 4px 8px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    color: #555;
    background-color: transparent !important;
    border: none !important;
    position: absolute;
    z-index: 1;
    top: 25%;
    left: 4px;
}

#divNotifyMe .input-group .form-control {
    box-shadow: none !important;
    outline: none !important;
    transition: none !important;
    background: #fff !important;
    border-radius: .25rem;
    position: relative;
    padding-left: 35px;
    z-index: auto;
}

#divNotifyMe input[type="password"] {
    padding-right: 5em;
}

.brad-l-0 {
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
}

.brad-r-0 {
    border-top-right-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}

@media all and (min-width: 767px) {
    #divNotifyMe {
        width: 400px;
    }

    .text-lg-left {
        text-align: left !important;
    }
    /* .txt-highlight-notify {
        font-size: 30px!important;
    }
    .txt-sub-notify {
        font-size: 20px!important;
    } */
    .br-lg-3 {
        border-right: 3px solid #ccc !important;
    }
}

@media all and (max-width: 767px) {
    .center-xs-block {
        display: block;
        margin-right: auto;
        margin-left: auto;
    }

    .bb-xs-1 {
        border-bottom: 1px solid #ccc !important;
    }
}

#divSuggestionRoute ul {
    list-style: none;
}

    #divSuggestionRoute ul li {
        line-height: 2;
    }

        #divSuggestionRoute ul li:before {
            content: "\27A4";
            color: #337ab7;
            padding-right: 5px;
        }

.txt-dark-blue {
    color: #3E3970 !important;
}

.txt-light-blue {
    color: #48A0D8 !important;
}

.text-semi-bold {
    font-weight: bold !important;
}

.txt-highlight-notify {
    font-size: 1.17em;
}

.txt-sub-notify {
    font-size: 14px;
}

.bb-1 {
    border-bottom: 1px solid #ccc !important;
}

.bb-3 {
    border-bottom: 3px solid #ccc !important;
}

#divSuggestionRoute .title {
    /* font-size: 1.17em; */
    font-size: 14px;
    text-transform: unset !important;
    color: #000;
    font-weight: normal;
}

.routeFrom > ul > li{
    list-style-type: none;
}

.checkedDone{
    -webkit-appearance: none;
    background: url(https://resource.busonlineticket.com/image/icon/green-tick.png);
    background-size: contain;
    background-repeat: no-repeat;
    padding: 9px;
    margin-top: 0px;
    vertical-align: middle;
    display: inline-block;
}

.booking_promo img {
	max-height: 25px;
}

.promo-scroll {margin-top: 20px;display:flex;overflow-x: scroll;}
    .promo-scroll div {
        display: inline-block;
        /* overflow-x: scroll; */
    }
	@media only screen and (max-width: 600px) {
		.promo-mscroll .promohead img {
			width: 45vw;
			height: auto;
			object-fit: cover;
		}
	}
.promo-mscroll {
	display:flex;
	overflow-x: scroll;
}
.promo-scroll div img,
.promo-mscroll .promohead img {
	padding: 0.25rem!important;
}

.promo-mscroll .promohead {
	width: 50%;
}
.promohead {
    position: relative;
    max-width: fit-content;
}
.promohead span {
    display: none;
    position:absolute;
    top:5px;
    right:0;
	font-size: 20px;
}
    .promohead.selected {
        opacity: 1 !important;
    }
    .promohead.selected span{
        display:block;
    }
    .promohead.unselect {
        opacity: 0.5 !important;
    }
	
.promo-mscroll::-webkit-scrollbar-thumb,
.promo-scroll::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, .5);
    border-radius: 10px;
    border: 5px solid #ffffff;
}

.booking-summary .content-group ul {
    padding-left: 15px;
}