body {
  height: 100vh;
}
#service-area .table-control-map .select-destination span {
  display: block;
  font-size: 12px;
  text-align: center;
  margin-top: 3px;
}
#th-site #service-area .table-control-map .select-destination span {
  font-size: 16px;
}
#th-site #service-area .table-control-map{
  font-size: 20px;
}
#th-site #service-area .location-checker .service-area-optional{
  font-size: 18px;
}
#th-site #service-area .location-checker .search-box .notification-enter-address{
  font-family: 'DB Adman X';
    font-size: 17px;
    top: 15px;
}
#service-area {
  position: relative;
  height: 100%;
  font-family: 'Roboto-Medium', sans-serif;
  font-size: 15.5px;
}
#service-area .cities .city {
  vertical-align: top;
  max-width: 19%;
  display: inline-block;
  padding: 10px;
  border-right: #ececec 1px solid;
}
#service-area .cities .city .nav-item .nav-link {
  padding: 5px 5px;
  border-radius: 3px;
}
#service-area .gmap{
  height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  /* zoom: 109%; */
}
.area-name {
  font-size: 14px;
}

#service-area .location-checker {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
  width: 275px;
  padding: 0;
  background-color: #E4E5E6
}
#service-area .location-checker .search {
  height: 100%;
  /* zoom: 109%; */
}

#service-area .location-checker .search h6 {
  text-align: center;
}
#service-area .location-checker .search .search-box {
    overflow: hidden;
    background-color: transparent;
    padding: 20px 15px;
    height: calc( 100% - 120px );
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}
#service-area .location-checker .search .search-box .search-group{
  background-color: #FFFFFF;
  color:  var(--main-text-color);
  padding: 0px 12px 10px 10px;
  flex: 1;
  margin-bottom: 10px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  position: relative;
}
#service-area .search-group .cancel-x{
  width: 13px;
}
#service-area .location-checker .search-group>div{
  display: flex;
  padding: 10px 10px 10px 5px;
  position: relative;
}
#service-area .location-checker .search-group>div >div{
  flex: 1
}
#service-area .search-box .notification-enter-address{
  flex: unset;
  position: absolute;
  bottom: 0px;
  background: red;
  top: 11px;
  left: 0px;
  color: white;
  font-size: 14px;
  padding: 5px 10px;
  font-family: "Roboto-Regular";
  font-style: italic;
  display: none;
}
#service-area .search-box.error .notification-enter-address{
  display: block
}
#service-area .location-checker .search .search-box .search-title{
  background-color: var(--main-color);
  margin-bottom: 12px;
  font-size: 20px;
  font-family: 'Roboto-Regular';
  height: 51px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  color: var(--color-yellow);
  padding-left: 20px;
}
.rescale-web #service-area .location-checker .search .search-box .search-title {
  zoom: 92%;
}
#service-area .location-checker button {
  border: 1px solid #CFD1D2;
  height: 42px;
  border-radius: 5px;
  background-color: var(--color-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--main-text-color);
}
#service-area .location-checker button:hover{
  background: var(--main-color);
  color: #fff;
}
#service-area .location-checker button >img{
  margin-right: 10px;
}
#service-area .location-checker .search .search-box button#reset {
  background: #cecece;
}
#service-area .location-checker  textarea {
  padding: 4px 18px 4px 8px;
  flex: 1;
  border-radius: 4px;
  border: 1px solid #CFD1D2;
  text-overflow: ellipsis;
  resize: none;
  font-family: 'Roboto-Light';
  color: var(--main-text-color);
  background: #fff;
}
/* Red ouline when all address is blank */
#service-area .location-checker .search-group.error textarea{
  border-color: red;
  outline: red;
}

#service-area textarea::-webkit-input-placeholder {
  font-style: italic;
}

#service-area textarea::-moz-placeholder { /* Firefox 18- */
  font-style: italic;
}

#service-area textarea::-moz-placeholder {  /* Firefox 19+ */
  font-style: italic;
}

#service-area textarea::-ms-input-placeholder {
  font-style: italic;
}

#service-area textarea::placeholder {
  font-style: italic;
}

#service-area .result {
  width: 500px;
  background: var(--main-color);
  color: white;
  padding: 20px;
  border-radius: 5px;
  display: none;
  position: absolute;
  z-index: 20;
  top: 0;
  margin: auto;
  right: 0;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
}
#service-area .result .title-noti {
  font-size: 24px; 
  /* color: #397411; */
}
#service-area .result p {
  /* color: #6d6d6d; */
  font: inherit;
  margin: 12px 0px 16px 0px;
}
#service-area .result .download-app {
  width: 56px;
  height: 56px;
  /*border: #397411 1px solid;*/
  /*border-radius: 8px;*/
  margin-right: 10px; 
}
#service-area .result a:hover {
  text-decoration: none; 
}
#service-area .result.success h6 {
  /* color: #397411;  */
}
#service-area .result .cancel-button {
  position: absolute;
  right: 7px;
  top: 7px;
  cursor: pointer; 
  width: 23px;
}
#service-area .result .cancel-button:hover{
  filter: invert(20%) sepia(77%) saturate(5835%) hue-rotate(101deg) brightness(94%) contrast(103%);
}
.pac-container {
  z-index: 111112 !important;
  left: unset !important;
  right: 27px !important;
  width: 400px !important;
}

/* @media (max-width: 769px){
  #service-area .cities .city {
    max-width: auto;
  }

  #service-area .location-checker .search .search-box {
    flex-direction: column;
  }
  #service-area .location-checker .search .search-box > div, #service-area .location-checker .search .search-box > button {
    width: 100%;
  }
  .search-group-button {
    display: flex;
    margin-bottom: 0 !important;
  }
  .search-group-button button {
    margin-top: 0 !important;
    flex: 1;
  }
  #reset {
    margin-left: 2% !important;
  }
  #service-area  .result {
    max-width: 100%;
    left: 10px;
    width: auto !important;
    top: 70px;
  }
  } */
#service-area .table-control-map{
  position: absolute;
  z-index: 1;
  bottom: 105px;
  /* background: #a6cbe3; */
  background-color: #fff;
  margin-left: 75px;
  font-size: 16.5px;
  padding: 3px 10px 5px 10px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color:  var(--main-text-color);
  opacity: 0.73;
  border: 2px solid #a9a9a9;
}
.push #service-area .table-control-map{
  margin-left: 51px ;
}
#service-area .table-control-map img{
  margin-right: 12px;
  cursor: pointer;
}
#service-area .table-control-map >div{
  display: flex;
  margin: 5px 0px;
  align-items: center;
}
#service-area .table-control-map .line{
  height: 2px;
  background-color: var(--main-text-color);

}
#service-area .table-control-map .select-pickup, #service-area .table-control-map .select-destination{
  cursor: pointer;
}
#service-area .table-control-map .select-pickup:hover img, #service-area .table-control-map .select-destination:hover img{
  transform: scale(1.125)
}
#service-area .table-control-map .select-destination {
  margin-top: 10px;
}
#service-area .gmap h3{
  color: unset
}

/* css for zoom control*/
#service-area .zoom-control{
  position: absolute;
  margin-left: 70px;
  top: 72px;
  padding: 1px;
  z-index: 1;
  color: var(--main-text-color);
  background-color: #FFFFFF;
  border-radius: 2px;
  font-size: 20px;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
}
.push #service-area .zoom-control{
  margin-left: 48px;
}
#service-area .zoom-control img{
  width: 19px;
}

#service-area .zoom-control .zoom-in img:hover,
#service-area .zoom-control .zoom-out img:hover{
  filter: invert(0%) sepia(7%) saturate(7473%) hue-rotate(39deg) brightness(6%) contrast(106%);
}
#service-area .zoom-control .zoom-in, #service-area .zoom-control .zoom-out{
  height: 30px;
  width: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
#service-area .zoom-control .zoom-in{
  border-bottom: 1px solid #E6E6E6;
  padding-bottom: 3px;
}
#service-area .zoom-control .zoom-out{
  padding-top: 3px;
}

/* css for map type control*/
#service-area .map-type-control{
  position: absolute;
  margin-left: 68px;
  z-index: 5;
  top: 20px;
  color: #565656;
  background-color: #FFFFFF;
  font-size: 14px;
  border-radius: 2px;
  display: flex;
  height: 33px;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
}
.push #service-area .map-type-control{
  margin-left: 45px;
}
#service-area .map-type-control .type-roadmap:hover, #service-area .map-type-control .type-satellite:hover{
  color: black;
  background-color:  #ebebeb;
}
#service-area .map-type-control .type-roadmap.active, #service-area .map-type-control .type-satellite.active,
#service-area .map-type-control .type-terrain.active, #service-area .map-type-control .type-hybrid.active
{
  color: black;
  font-weight: 600;
}
#service-area .map-type-control .type-roadmap, #service-area .map-type-control .type-satellite{
  display: flex;
  justify-content: center;
  align-content: center;
  line-height: 29px;
  padding: 2px 16px;
  cursor: pointer;
}
#service-area .map-type-control .group-type-roadmap{
  position: relative;
}
#service-area .map-type-control .group-type-satellite{
  position: relative;
}
#service-area .map-type-control .type-roadmap{
  border-right: 1px solid #E6E6E6;
}

/*type-terrain*/
#service-area .map-type-control .type-terrain{
  position: absolute;
  top: 33px;
  height: 33px;
  left: 0;
  background-color: #FFFFFF;
  z-index: 111111;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
  line-height: 33px;
  display: none;
}

/* Customize the label (the container) */
#service-area .type-checkbox {
  display: block;
  position: relative;
  padding: 0px 5px 0px 35px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
#service-area .type-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
#service-area .type-checkbox .checkmark {
  position: absolute;
  top: 9px;
  left: 8px;
  height: 13px;
  width: 13px;
  border: 1px solid black;
  border-radius: 2px;
}

/* On mouse-over, add a grey background color */
#service-area .type-checkbox:hover input ~ .checkmark {
  background-color: #ccc;
}

/* Create the checkmark/indicator (hidden when not checked) */
#service-area .type-checkbox .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
#service-area .type-checkbox input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
#service-area .type-checkbox .checkmark:after {
  left: 4px;
  top: 0px;
  width: 3px;
  height: 7px;
  border: solid black;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/*type-hybrid*/
#service-area .map-type-control .type-hybrid{
  position: absolute;
  top: 33px;
  height: 33px;
  left: 0;
  background-color: #FFFFFF;
  z-index: 111111;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
  line-height: 33px;
  display: none;
}
.menu-type-outside .cell-inside-2:after {
  content: "";
  border-bottom: 30px solid #00751a;
}
#service-area .container-main{
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  z-index: 2;
  /* position: relative; */
}
#service-area .container-main .table-map-control{
  flex: 1;
  position: relative;
}
#service-area .container-main .show-result-center{
  position: absolute;
  top: 0;
  right: 275px;
  left: 30px;
  bottom: 120px;
}
#service-area .pickup-current-location, #service-area .destination-current-location{
  cursor: pointer;
}
#service-area .pickup-current-location:hover, #service-area .destination-current-location:hover{
  filter: invert(20%) sepia(75%) saturate(3147%) hue-rotate(97deg) brightness(96%) contrast(101%);
}
#service-area .location-checker .service-area-optional{
 font-size: 13.5px;
}
#service-area .search-reset-field{
  position: absolute;
  top: 42px;
  right: 15px;
  width: 17px;
  height: 16px;
  text-align: center;
  cursor: pointer;
  display: none;
}

@media (max-width: 1600px) {
  .rescale-web .l-container {
    /* zoom: 92%; */
    /* margin-left: 109px!important; */
  }
  .rescale-web .l-container.push {
    margin-left: 240px!important;
  }
  .rescale-web .l-container,
  .rescale-web .l-container.push,
  .rescale-web .main-page {
      height: 100%!important;
  }
  .rescale-web .top-main-header-wrapper,
  .rescale-web #service-area .table-control-map,
  .rescale-web #service-area .location-checker button,
  .rescale-web .bottom-menu {
    zoom: 92%;
  }
}

@media (max-width: 1536px) {
  .rescale-web .l-container.push {
    /* margin-left: 267px!important; */
  }
}

@media (max-width: 1440px) {
  .rescale-web .l-container.push {
    /* margin-left: 268px!important; */
  }
}
@media (max-width: 1380px) {
  .rescale-web .l-container.push {
    margin-left: 228px!important;
  }
}

@media (max-width: 1367px) {
  @-moz-document url-prefix() {
      html body {
          transform: unset;
          transform-origin: unset;
          width: unset;
          height: unset !important;
      }
      #page{
          transform: scale(var(--scale-standard));
          transform-origin: 0 0;
          width: calc(100% / var(--scale-standard));
          height: calc(100% / var(--scale-standard)) !important;
      }
      .pac-container{
        margin-top: -13px;
        transform: scale(var(--scale-standard));
        transform-origin: right 0;
        right: calc(27px * 0.9) !important;
      }
  }
}


.btn-booknow{ padding: 10px 30px; background: #fff; color: #00ad0f; margin-right: 20px; border: none; cursor: pointer; width: 145px; flex:1; border-radius: 5px; text-align: center;}
.btn-booknow:hover{background: #ffdb00; color: #58595b;}
.cls-btn-get-price{padding: 10px 30px; background: #027400; color: #fff; border: none; cursor: pointer; width: 145px; flex: 1; text-align: center; border-radius: 5px; position: relative;}
.cls-btn-get-price.active{ box-shadow: 0 0 0 2px #ffdb00;}
.btn-booknow.active{ box-shadow: 0 0 0 2px #ffdb00;}
.cls-btn-get-price:hover{background: #ffdb00; color: #58595b;}
.success-destination .cls-btn,.success-pickup .cls-btn, .success-all .cls-btn{text-align: right; display: flex; float: right;}
/* .success-destination .cls-btn-get-price:hover,
.success-pickup .cls-btn-get-price:hover, */
.fail-next-process .cls-btn-get-price:hover {
  border-radius: 5px;
}
/* .cls-btn-get-price:hover {
  border-radius: 5px 5px 0 0;
} */
/* .cls-btn-get-price:hover .subitem-booknow{
  display: block;
} */
.cls-btn-get-price a {
  display: block;
}
.cls-btn-get-price .subitem-booknow{
  position: absolute;
  display: none;
  box-shadow: 0 0 0 2px #ffdb00;
  border-radius: 0 0 5px 5px;
  top: 38px;
  background: #fff;
  width: 100%;
  left: 0;
}
.cls-btn-get-price .subitem-booknow li{
  padding: 8px 0;
}
.cls-btn-get-price .subitem-booknow li:first-child{
  border-bottom: 1px solid #ffdb00;
}
.cls-btn-get-price .subitem-booknow li a{
  color: #00ad0f;
  display: block;
}
.cls-btn-get-price .subitem-booknow li:hover a{
  color: #fff;
}
.cls-btn-get-price .subitem-booknow li:hover {
  background: #00ad0f;
  color: #fff;
}

@media (max-width: 1536px) {
#service-area .search-reset-field{right: 19px;}
}
@media (max-width: 1366px) {
#service-area .search-reset-field{right: 15px;}
.rescale-web .l-container.push {
    /* margin-left: 240px!important; */
  }
}
#service-area .location-checker{display: none;}
#service-area .location-checker.showarea{display: block;}

.place-options {
  background-color: #fefefe;
  width: 200px; 
}
.place-options .top {
  padding: 10px 12px;
  color: #9baaae;
}
.place-options a {
  padding: 5px 12px;
  display: block;
  color: #282828;
  font-family: "Roboto-Medium", sans-serif;
}
.place-options a:hover {
  background-color: #e7f1e7;
}
.place-options-close {
  color: #aaa;
  float: right;
  font-size: 32px;
  font-weight: 400;
  margin-top: -10px;
  font-family: 'Roboto-Regular';
  clear: both;
}
.place-options-close:hover,
.place-options-close:focus {
  color: #282828;
  text-decoration: none;
  cursor: pointer;
}
.place-options a > span {
  display: inline-block;
  margin-right: 12px;
  width: 35px;
  height: 35px;
  line-height: 35px;
  border-radius: 50%;
  text-align: center;
}
.place-options a.pickup-option > span {
  background-color: #00b9e6;
  color: #fff;
}
.place-options a.destination-option > span {
  background-color: #fd0;
  color: #282828;
}
.place-options .close-button {
  font-size: 25px;
  float: right;
  cursor: pointer;
  margin-top: -12px;
  margin-right: -5px;
}

.gm-style .gm-style-iw-c {
  padding: 0!important;
}
.gm-style .gm-style-iw-d {
  padding: 0!important;
  overflow: hidden!important;
}
.gm-ui-hover-effect {
  top: 0!important;
  right: 0!important;
  display: none!important;
}
.popup-pin-message {
  padding: 7px 10px;
  font-family: "Roboto-Medium", sans-serif;
}

.bottom-menu.menu-right-bottom{right: 310px!important;}
#service-area .table-control-map{
  position: relative!important; 
  margin: 0 15px!important;
  bottom: 10px;
  background-color: #fff;
  border: none;
  opacity: 1;
}
#service-area .table-control-map >div{font-size: 13px;}
#service-area .location-checker .search .search-box{height: calc(100% - 128px)!important;}
#service-area .table-control-map .select-pickup img, #service-area .table-control-map .select-destination img {
  width: 65px;
}
.icon-i-popup-2{
  bottom: 10px!important;
  height: 10px!important;
}
#service-area .table-control-map .select-pickup:hover,
#service-area .table-control-map .select-pickup.active,
#service-area .table-control-map .select-destination:hover,
#service-area .table-control-map .select-destination.active{
 color: #00ad0f;
}

#page .bottom-menu.menu-right-bottom .bottom-menu-content .bottom-menu-left{
  border-radius: 9px 9px 0 0!important;
}

@media (max-width: 1540px) {
  #service-area .location-checker .search .search-box{
    height: calc(100% - 116px)!important;
  }
}

@media (max-width: 1370px) {
  #service-area .location-checker .search .search-box{
    height: calc(100% - 114px)!important;
  }
}

@media (max-width: 1280px) {
  #service-area .location-checker .search .search-box{
    height: calc(100% - 110px)!important;
  }
}

#th-site #service-area .table-control-map >div {
  font-size: 20px;
  font-weight: 400;
  font-family: 'DB Adman X';
}
#th-site #service-area .location-checker .search .search-box {
    height: calc(100% - 125px)!important;
}
.fail-next-process .cls-btn{text-align: right; display: flex; float: right;}
.fail-next-process .cls-btn-get-price:hover {
  border-radius: 5px;
}
.fail-next-process .cls-btn-get-price {
  padding: 10px 0px;
}
.fail-next-process .cls-btn-get-price a {
  display: block;
  width: 145px;
}
.btn-nextprocess {
  padding: 10px 30px;
  background: #fff;
  color: #00ad0f;
  margin-right: 20px;
  border: none;
  cursor: pointer;
  width: 160px;
  flex: 1;
  border-radius: 5px;
  text-align: center;
}
.btn-nextprocess:hover {
  background: #ffdb00;
  color: #58595b;
}

.gm-style-iw-ch {
  padding-top: 0!important;
}