/******************************************************************
    Smartbanner
******************************************************************/
body.swal2-iosfix {
  top: 0;
  bottom: 0;
}

.smartbanner {
  top: 45px !important;
  z-index: 500 !important;
}

.smartbanner__exit {
  top: 30px !important;
  left: 20px !important;
  padding: 3px !important;
  width: 26px !important;
  height: 26px !important;
}

.smartbanner__exit::before,
.smartbanner__exit::after {
  font-family: "AzoSansRegular", "Roboto", Helvetica, sans-serif;
  width: 2px !important;
  height: 25px !important;
  background: #f4313f !important;
}

.smartbanner__icon {
  left: 60px !important;
}

.smartbanner__info {
  width: 55% !important;
  left: 140px !important;
}

/******************************************************************
    Responsive CSS  slider
******************************************************************/
.topView_container .slider {
  width: 100%;
  margin-left: 0px;
  position: relative;
  cursor: default;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: transparent;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.topView_container .slick-slide {
  margin: 0px;
}

.topView_container .slick-slide img {
  width: 100%;
}

.topView_container .slick-prev:before,
.topView_container .slick-next:before {
  color: black;
}

.cbp-spmenu {
  position: fixed;
}

.search-bar .item-input .glass {
  background-image: url("https://web-static.onemap.sg/images/main/misc/magnify.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 30px 30px;
  height: 30px;
  width: 30px;
  margin: 6px 0px 0px 18px;
  display: block;
  background-color: #fff;
  position: relative;
  z-index: 9;
}

.search-bar .item-input .glass.hidden {
  display: none !important;
}

.display_routeMe {
  display: none;
  background: url("https://web-static.onemap.sg/images/main/misc/OM2_route-01.png")
    no-repeat center center;
  -ms-transform: rotate(-45deg); /* IE 9 */
  -webkit-transform: rotate(-45deg); /* Chrome, Safari, Opera */
  transform: rotate(-45deg);
  background-color: #fff;
  position: absolute;
  z-index: 700;
  bottom: 210px;
  right: 10px;
  background-size: 25px 25px;
  width: 35px;
  height: 35px;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.2);
}

.display_routeMe_onTop {
  background: url("https://web-static.onemap.sg/images/main/misc/OM2_route-01.png")
    no-repeat center center;
  -ms-transform: rotate(-45deg); /* IE 9 */
  -webkit-transform: rotate(-45deg); /* Chrome, Safari, Opera */
  transform: rotate(-45deg);
  background-color: #fff;
  position: absolute;
  z-index: 700;
  top: 5px;
  background-size: 20px 20px;
  width: 30px;
  height: 30px;
  border-radius: 30px;
  cursor: pointer;
  display: none;
  /* box-shadow: 0px 0px 8px rgba(0,0,0,0.2);
     -webkit-box-shadow: 0px 0px 8px rgba(0,0,0,0.2);
     -moz-box-shadow: 0px 0px 8px rgba(0,0,0,0.2);*/
}

.routeMe {
  background: url("https://web-static.onemap.sg/images/main/misc/OM2_route-01.png")
    no-repeat center center;
  -ms-transform: rotate(-45deg); /* IE 9 */
  -webkit-transform: rotate(-45deg); /* Chrome, Safari, Opera */
  transform: rotate(-45deg);
  background-color: #fff;
  -webkit-box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.4);
  box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.4);
}

.control-group.error .control-labels,
.control-group.error .help-block,
.control-group.error .help-inline {
  color: #b94a48;
  font-size: 13px;
}
.control-group.error .control-input {
  border-bottom: 1px solid #b94a48 !important;
}
.control-group.error .control-textarea {
  border: 1px solid #b94a48 !important;
}
.control-group.error .input-prepend .add-on,
.control-group.error .input-append .add-on {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #b94a48;
}

.custom-display input[type="text"],
.custom-display input[type="email"],
.custom-display input[type="number"] {
  color: #58585b;
}

[required]::-webkit-input-placeholder {
  color: #58585b;
}
[required]::-moz-placeholder {
  color: #58585b;
}
[required]::-ms-input-placeholder {
  color: #58585b;
}

/******** For the mobile tap *********/
.addCbp-btn {
  top: 230px !important;
}
.showInfo {
  background: url("https://web-static.onemap.sg/images/main/menu/OM2_info.png")
    no-repeat top center;
  background-size: 40px 40px;
  z-index: 401;
  width: 70px;
  height: 55px;
  cursor: pointer;
  display: inline-block;
  vertical-align: top; /* Adjust if multi-line text */
  text-align: center;
  text-decoration: none;
  position: absolute;
}

.showInfo span,
.showMap span {
  text-align: center;
  font-size: 11px;
  line-height: 85px;
  color: #fff;
}

.JPshowMap span {
  text-align: center;
  font-size: 9px;
  line-height: 60px;
  color: #fff;
}

.showMap {
  background: url("https://web-static.onemap.sg/images/main/menu/OM2_mapview2.png")
    no-repeat top center;
  background-size: 35px 35px;
  z-index: 401;
  width: 70px;
  height: 55px;
  cursor: pointer;
  display: inline-block;
  vertical-align: top; /* Adjust if multi-line text */
  text-align: center;
  text-decoration: none;
  position: absolute;
  top: calc(50px + 28px);
  right: 0;
}

.JPshowMap {
  background: url("https://web-static.onemap.sg/images/main/menu/OM2_mapview2.png")
    no-repeat top center;
  background-size: 25px 25px;
  z-index: 401;
  width: 60px;
  height: 55px;
  cursor: pointer;
  display: inline-block;
  vertical-align: top;
  text-align: center;
  text-decoration: none;
  position: absolute;
  top: 5px;
  right: 0;
}

/*.showPanel_text {
        color: #fff;
        line-height: 80px;
        text-align: center;
        font-size: 10px;
    }*/

.custom-display .display-header .item .showInfo,
.custom-display .display-header .item .showPanel_text {
  display: none;
}

.custom-display .display-header .item .showInfo.showInfo_display {
  display: block;
}

/******************************************************************
    Responsive CSS
******************************************************************/
.top_container {
  float: left;
}

.x-btn-widgetbar {
  display: block;
}

.topView_btn_mobile .topView_text,
.topView_btn .topView_text {
  font-size: 14px;
  line-height: 16px;
}

/*@media only screen and (max-width: 2500px) { 

    .x-btn-widgetbar {
        display:block;
    }
    
}*/

/* @media only screen and (max-width: 1830px) { 

    .x-btn-widgetbar {
        display:block;
    }
    
}   


@media only screen and (max-width: 1725px) { 

    .x-btn-widgetbar {
        display:block;
    }
    
}

@media only screen and (max-width: 1600px) {

    .x-btn-widgetbar {
        display:block;
    }

}

@media only screen and (max-width: 1475px) {
     
    .x-btn-widgetbar {
        display:block;
    }
    
}

@media only screen and (max-width: 1330px) {
    
    .x-btn-widgetbar {
        display:block;
    }
    
}

@media only screen and (max-width: 1235px) {
     
    .x-btn-widgetbar {
        display:block;
    }
    
}

@media only screen and (max-width: 1090px) {

    .x-btn-widgetbar {
        display:block;
    }
    
}*/

/* Large Devices, Wide Screens */
@media only screen and (min-width: 1366px) {
  .map-view-open {
    width: calc(100vw - 450px);
    height: 100%;
    padding: 0%;
    margin: 0%;
    float: right;
  }

  /**** Top Bar ****/
  .top_container {
    width: 450px;
  }

  .topView_container {
    width: calc(100vw - 450px);
  }

  .topMap_container {
    width: 100%;
  }

  .x-widgetbar-inner {
    height: initial;
  }

  .x-widgetbar {
    width: 300px;
    left: inherit;
    right: 0px;
  }

  #sideView_canvas {
    display: none;
  }

  #sideView_settings {
    display: none;
  }

  /* .mobile_view_display {
        display: none;
    } */

  /**** Side Bar ****/

  .journey-planner .display-transit .transit-space-back {
    padding: 0px;
    float: left;
  }

  .ThemeInfoShape {
    margin: -14px 20px 0px 0px;
  }

  .ThemeDownloadKML {
    margin: -14px 20px 0px 0px;
  }

  .map_background {
    width: calc(100% - 450px);
    float: right;
  }

  .sidebar_overlay_container {
    width: 450px;
    margin-left: 450px;
  }

  #info_container .icon_container-col {
    height: 43px;
  }

  /* Button to hide/show info - orange button */
  .container {
    width: 760px;
    margin-left: -760px;
  }

  /* #pollSlider-button {
        left:0px;
    }

    #pollSlider-button.cbp-spmenu-open  , #nearby.cbp-spmenu-open {
        left:450px;
    } */

  .schoolBtn_text {
    margin-top: -140px;
  }

  .jp_btn {
    top: 27px;
  }

  .routeMe {
    background-size: 22px 22px;
    width: 55px;
    height: 55px;
    border-radius: 40px;
  }

  .jp_btn a {
    font-size: 12px;
    line-height: 130px;
  }

  /**** Other setting ****/
  #displayTop_side {
    left: 450px;
    right: 0px;
    top: 45px;
  }

  #displayTop_other {
    top: 45px;
    left: 450px;
    right: 0;
  }

  .contents_map {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    display: block !important;
    margin-top: 0px;
  }
}

@media only screen and (max-width: 1366px) {
  .map-view-open {
    width: calc(100vw - 450px);
    height: 100%;
    padding: 0%;
    margin: 0%;
    float: right;
  }
  /**** Top Bar ****/
  .top_container {
    width: 450px;
  }

  .topView_container {
    width: calc(100vw - 450px);
  }

  /* .topView_container .slider {
    width: 800px;
    }*/

  #displayTop_side {
    left: 450px;
    right: 0px;
    top: 45px;
  }

  #displayTop_other {
    top: 45px;
    /*left:450px;*/
    right: 0;
  }

  .topMap_container {
    width: 100%;
  }

  .x-widgetbar-inner {
    height: initial;
  }

  .x-widgetbar {
    width: 300px;
    left: inherit;
    right: 0px;
  }

  /**** Side Bar ****/

  .journey-planner .display-transit .transit-space-back {
    padding: 0px;
    float: left;
  }

  .ThemeInfoShape {
    margin: -14px 20px 0px 0px;
  }

  .ThemeDownloadKML {
    margin: -14px 20px 0px 0px;
  }

  .map_background {
    width: calc(100% - 450px);
    float: right;
  }

  .sidebar_overlay_container {
    width: 450px;
    margin-left: 450px;
  }

  #info_container .icon_container-col {
    height: 43px;
  }

  /* Button to hide/show info - orange button */
  .container {
    width: 760px;
    margin-left: -760px;
  }

  /* #pollSlider-button {
        left:0px;
    }

    #pollSlider-button.cbp-spmenu-open , #nearby.cbp-spmenu-open {
        left:450px;
    } */

  .schoolBtn_text {
    margin-top: -140px;
  }

  .jp_btn {
    top: 27px;
  }

  .routeMe {
    background-size: 22px 22px;
    width: 55px;
    height: 55px;
    border-radius: 40px;
  }

  .jp_btn a {
    font-size: 12px;
    line-height: 130px;
  }

  .contents_map {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    display: block !important;
    margin-top: 0px;
  }

  .contents label {
    font-size: 12px;
    line-height: 20px;
    width: 100%;
  }

  /**** Other setting ****/
}

/*ENABLE THIS FOR BV BIZQ PQ*/
/*@media only screen and (max-width: 1361px) {
    #BRDisplay {
        display:none;
    }
    #BRDisplay_M {
        display:block;
    }

}*/

@media only screen and (max-width: 1280px) {
  .map-view-open {
    width: calc(100vw - 420px);
    height: 100%;
    padding: 0%;
    margin: 0%;
    float: right;
  }
  /**** Top Bar ****/
  .top_container {
    width: 420px;
  }

  .topView_container {
    width: calc(100vw - 420px);
  }

  /* .topView_container .slider {
    width: 735px;
    } */

  #displayTop_side {
    left: 420px;
    right: 0px;
    top: 45px;
  }

  #displayTop_other {
    top: 45px;
    left: 420px;
    right: 0;
  }

  .topMap_container {
    width: 100%;
  }

  .x-widgetbar-inner {
    height: initial;
  }

  .x-widgetbar {
    width: 300px;
    left: inherit;
    right: 0px;
  }

  /**** Side Bar ****/

  .journey-planner .display-transit .transit-space-back {
    padding: 0px;
    float: left;
  }

  .ThemeInfoShape {
    margin: -14px 15px 0px 0px;
  }

  .ThemeDownloadKML {
    margin: -14px 15px 0px 0px;
  }

  .map_background {
    width: calc(100% - 420px);
    float: right;
  }

  .sidebar_overlay_container {
    width: 420px;
    margin-left: 420px;
  }

  #info_container .icon_container-col {
    height: 43px;
  }

  /* Button to hide/show info - orange button */
  .container {
    width: 760px;
    margin-left: -760px;
  }

  /* #pollSlider-button {
        left:0px;
    }

    #pollSlider-button.cbp-spmenu-open , #nearby.cbp-spmenu-open {
        left:420px;
    } */

  .schoolBtn_text {
    margin-top: -140px;
  }

  .jp_btn {
    top: 27px;
  }

  .routeMe {
    background-size: 22px 22px;
    width: 55px;
    height: 55px;
    border-radius: 40px;
  }

  .jp_btn a {
    font-size: 12px;
    line-height: 130px;
  }

  .contents_map {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    display: block !important;
    margin-top: 0px;
    font-size: 12px;
  }

  .contents label {
    font-size: 10px;
    line-height: 20px;
    width: 100%;
  }

  /**** Other setting ****/
}

@media only screen and (max-width: 1170px) {
  .map-view-open {
    width: calc(100vw - 400px);
    height: 100%;
    padding: 0%;
    margin: 0%;
    float: right;
  }
  /**** Top Bar ****/
  .top_container {
    width: 400px;
  }

  .topView_container {
    width: calc(100vw - 400px);
  }

  /* .topView_container .slider {
        width: 720px;
    } z*/

  .topView_btn .PHPCIcon,
  .topView_btn .landQueryIcon,
  .topView_btn .schoolQueryIcon,
  .topView_btn .trafficIcon,
  .topView_btn .bizQueryIcon,
  .topView_btn .themesIcon,
  .topView_btn .boardViewIcon,
  .topView_btn .propertyQueryIcon,
  .topView_btn .popQueryIcon,
  .topView_btn .busRouteIcon,
  .topView_btn .canvasIcon,
  .topView_btn .settingIcon,
  .topView_btn .weblinkIcon,
  .topView_btn_mobile .PHPCIcon,
  .topView_btn_mobile .canvasIcon,
  .topView_btn_mobile .mapDiaryIcon,
  .topView_btn_mobile .scdfIcon,
  .topView_btn_mobile .loginIcon,
  .topView_btn_mobile .settingIcon,
  .topView_btn_mobile .weblinkIcon,
  .topView_btn_mobile .landQueryIcon,
  .topView_btn_mobile .schoolQueryIcon,
  .topView_btn_mobile .trafficIcon,
  .topView_btn_mobile .bizQueryIcon,
  .topView_btn_mobile .themesIcon,
  .topView_btn_mobile .boardViewIcon,
  .topView_btn_mobile .propertyQueryIcon,
  .topView_btn_mobile .popQueryIcon,
  .topView_btn_mobile .busRouteIcon,
  .topView_btn .feedbackIcon,
  .topView_btn .helpIcon,
  .topView_btn .aboutIcon,
  .topView_btn_mobile .feedbackIcon,
  .topView_btn_mobile .helpIcon,
  .topView_btn_mobile .aboutIcon {
    background-size: 34px 34px;
    width: 34px;
    height: 34px;
  }

  #BVDisplay {
    display: none;
  }
  /*
    #BQDisplay_M {
        display:none;
    }*/

  /*ENABLE THIS FOR BV BIZQ PQ*/
  /*    #BVDisplay_M {
        display:block;
    }
*/

  #displayTop_side {
    left: 400px;
    right: 0px;
    top: 45px;
  }

  #displayTop_other {
    top: 45px;
    left: 400px;
    right: 0;
  }

  .topMap_container {
    width: 100%;
  }

  .x-widgetbar-inner {
    height: initial;
  }

  .x-widgetbar {
    width: 300px;
    left: inherit;
    right: 0px;
  }

  /**** Side bar ****/

  .journey-planner .display-transit .transit-space-back {
    padding: 0px;
    float: left;
  }

  .ThemeInfoShape {
    margin: -14px 10px 0px 0px;
  }

  .ThemeDownloadKML {
    margin: -14px 10px 0px 0px;
  }

  .map_background {
    width: calc(100% - 340px);
    float: right;
  }

  .sidebar_overlay_container {
    width: 400px;
    margin-left: 400px;
  }

  #info_container .icon_container-col {
    height: 43px;
  }

  /* Button to hide/show info - orange button */
  .container {
    width: 760px;
    margin-left: -760px;
  }

  /* #pollSlider-button {
        left:0px;
    }

    #pollSlider-button.cbp-spmenu-open{
        left:400px;
    } */

  .schoolBtn_text {
    margin-top: -140px;
  }

  .jp_btn {
    top: 27px;
  }

  .routeMe {
    background-size: 22px 22px;
    width: 55px;
    height: 55px;
    border-radius: 40px;
  }

  .jp_btn a {
    font-size: 12px;
    line-height: 130px;
  }
  .contents_map {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    display: block !important;
    margin-top: 0px;
    font-size: 10px;
  }
  .icon_contain {
    font-size: 10px !important;
    width: 100%;
  }

  /**** Other setting ****/
}

@media only screen and (max-width: 768px) {
  .cbp-spmenu,
  #pollSlider-button,
  #pollSliderDown-button,
  #topView,
  #topView_container,
  .sidebar_overlay_container,
  #widgetbar {
    -webkit-transition: none;
    -moz-transition: none;
    transition: none;
  }

  /*.viewTop {
    top: 50px !important;
    position: relative !important;
}*/
}

/* iPads (landscape) ----------- Medium Devices, Desktops */
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  .map-view-open {
    width: calc(100vw - 400px);
    height: 100%;
    padding: 0%;
    margin: 0%;
    float: right;
  }
  /**** Top Bar ****/
  .top_container {
    width: 400px;
  }

  .topView_container {
    width: calc(100vw - 400px);
    display: none;
  }

  #displayTop_side {
    left: 400px;
    right: 0px;
    top: 0px;
  }

  #displayTop_other {
    top: 0px;
    left: 400px;
    right: 0;
  }

  .topMap_container {
    width: 400px;
  }

  .x-widgetbar-inner {
    height: 100vh;
  }

  .x-widgetbar {
    width: 400px;
    left: 0px;
    right: inherit;
  }

  #SQDisplay_MCS {
    background-image: none;
    background-color: #999;
    cursor: default;
  }

  .x-btn-widgetbar {
    display: block;
  }

  .topView_btn .PHPCIcon,
  .topView_btn .landQueryIcon,
  .topView_btn .schoolQueryIcon,
  .topView_btn .trafficIcon,
  .topView_btn .bizQueryIcon,
  .topView_btn .themesIcon,
  .topView_btn .boardViewIcon,
  .topView_btn .propertyQueryIcon,
  .topView_btn .popQueryIcon,
  .topView_btn .busRouteIcon,
  .topView_btn .canvasIcon,
  .topView_btn .settingIcon,
  .topView_btn .weblinkIcon,
  .topView_btn_mobile .PHPCIcon,
  .topView_btn_mobile .canvasIcon,
  .topView_btn_mobile .mapDiaryIcon,
  .topView_btn_mobile .scdfIcon,
  .topView_btn_mobile .loginIcon,
  .topView_btn_mobile .settingIcon,
  .topView_btn_mobile .weblinkIcon,
  .topView_btn_mobile .landQueryIcon,
  .topView_btn_mobile .schoolQueryIcon,
  .topView_btn_mobile .trafficIcon,
  .topView_btn_mobile .bizQueryIcon,
  .topView_btn_mobile .themesIcon,
  .topView_btn_mobile .boardViewIcon,
  .topView_btn_mobile .propertyQueryIcon,
  .topView_btn_mobile .popQueryIcon,
  .topView_btn_mobile .busRouteIcon,
  .topView_btn .feedbackIcon,
  .topView_btn .helpIcon,
  .topView_btn .aboutIcon,
  .topView_btn_mobile .feedbackIcon,
  .topView_btn_mobile .helpIcon,
  .topView_btn_mobile .aboutIcon {
    background-size: 30px 30px;
    width: 30px;
    height: 30px;
    float: left;
  }

  .topView_btn_mobile .topView_text {
    font-size: 14px;
    line-height: 16px;
  }

  /**** Side Bar ****/

  .journey-planner .display-transit .transit-space-back {
    padding: 0px;
    float: left;
  }

  .ThemeInfoShape {
    margin: -14px 3px 0px 0px;
  }

  .ThemeDownloadKML {
    margin: -14px 3px 0px 0px;
  }

  .sidebar_overlay_container {
    width: 400px;
    margin-left: 400px;
  }

  #info_container .icon_container-col {
    height: 43px;
  }

  /* Button to hide/show info - orange button */
  .container {
    width: 760px;
    margin-left: -760px;
  }

  /* #pollSlider-button {
        left:0px;
    }

    #pollSlider-button.cbp-spmenu-open {
        left:400px;
    } */

  .schoolBtn_text {
    margin-top: -140px;
  }

  .jp_btn {
    top: 27px;
  }

  .routeMe {
    background-size: 22px 22px;
    width: 55px;
    height: 55px;
    border-radius: 40px;
  }

  .jp_btn a {
    font-size: 12px;
    line-height: 130px;
  }

  /**** Other setting ****/
}

/* iPads (portrait) ----------- Medium Devices, Desktops */
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .map-view-open {
    width: 100%;
    height: 100%;
    padding: 0%;
    margin: 0%;
  }
  /**** Top Bar ****/
  .top_container {
    width: 100%;
  }

  .topView_container {
    width: 100%;
    display: none;
  }

  #displayTop_side {
    left: 450px;
    right: 0px;
    top: 0px;
  }

  #displayTop_other {
    top: 45px;
    left: 0;
    right: 0;
  }

  .topMap_container {
    width: 100%;
  }

  .x-widgetbar-inner {
    height: 100vh;
  }

  .x-widgetbar {
    width: 100%;
    left: inherit;
    right: 0px;
  }

  #SQDisplay_MCS {
    background-image: none;
    background-color: #999;
    cursor: default;
  }

  .x-btn-widgetbar {
    display: block;
  }

  .topView_btn .PHPCIcon,
  .topView_btn .landQueryIcon,
  .topView_btn .schoolQueryIcon,
  .topView_btn .trafficIcon,
  .topView_btn .bizQueryIcon,
  .topView_btn .themesIcon,
  .topView_btn .boardViewIcon,
  .topView_btn .propertyQueryIcon,
  .topView_btn .popQueryIcon,
  .topView_btn .busRouteIcon,
  .topView_btn .canvasIcon,
  .topView_btn .settingIcon,
  .topView_btn .weblinkIcon,
  .topView_btn_mobile .PHPCIcon,
  .topView_btn_mobile .canvasIcon,
  .topView_btn_mobile .mapDiaryIcon,
  .topView_btn_mobile .scdfIcon,
  .topView_btn_mobile .loginIcon,
  .topView_btn_mobile .settingIcon,
  .topView_btn_mobile .weblinkIcon,
  .topView_btn_mobile .landQueryIcon,
  .topView_btn_mobile .schoolQueryIcon,
  .topView_btn_mobile .trafficIcon,
  .topView_btn_mobile .bizQueryIcon,
  .topView_btn_mobile .themesIcon,
  .topView_btn_mobile .boardViewIcon,
  .topView_btn_mobile .propertyQueryIcon,
  .topView_btn_mobile .popQueryIcon,
  .topView_btn_mobile .busRouteIcon,
  .topView_btn .feedbackIcon,
  .topView_btn .helpIcon,
  .topView_btn .aboutIcon,
  .topView_btn_mobile .feedbackIcon,
  .topView_btn_mobile .helpIcon,
  .topView_btn_mobile .aboutIcon {
    background-size: 30px 30px;
    width: 30px;
    height: 30px;
    float: left;
  }

  .topView_btn_mobile .topView_text {
    font-size: 14px;
    line-height: 16px;
  }

  /**** Side Bar ****/

  .journey-planner .display-transit .transit-space-back {
    padding: 0px;
    float: left;
  }

  .ThemeInfoShape {
    margin: -14px 20px 0px 0px;
  }

  .ThemeDownloadKML {
    margin: -14px 20px 0px 0px;
  }

  .map_background {
    width: calc(100%);
    float: right;
  }

  .sidebar_overlay_container {
    width: 400px;
    margin-left: 400px;
  }

  /*.viewTop {
        bottom: 450px;
        top: 250px;
    }*/

  #info_container .icon_container-col {
    height: 43px;
  }

  /* Button to hide/show info - orange button */
  .container {
    width: 450px;
    margin-left: -450px;
  }
  .cbp-spmenu-bottom {
    bottom: -100px;
  }

  .cbp-spmenu-bottom.cbp-spmenu-open {
    bottom: 0px;
  }

  /*  #pollSlider-button {
        display: none;
    }

    #pollSliderDown-button {
        bottom:0px;
    }

    #pollSliderDown-button.cbp-spmenu-open {
        bottom:450px;
    } */

  .schoolBtn_text {
    margin-top: -140px;
  }

  .sideMenu_container .img {
    display: none;
  }

  .jp_btn {
    top: 27px;
  }

  .routeMe {
    background-size: 22px 22px;
    width: 55px;
    height: 55px;
    border-radius: 40px;
  }

  .jp_btn a {
    font-size: 11px;
    line-height: 90px;
  }

  /**** Other setting ****/

  #BVDisplay {
    display: none;
  }
}

/* Small Devices, Tablets */
@media only screen and (max-width: 768px) {
  .map-view-open {
    width: 100%;
    height: 100%;
    padding: 0%;
    margin: 0%;
  }
  .top_container {
    width: 100%;
  }

  .topView_container {
    width: 100%;
  }

  .topView_container .slider {
    /* width: 100%; */
    display: none;
  }

  .topMap_container {
    width: 100%;
  }

  .x-widgetbar-inner {
    height: 100vh;
  }

  .x-widgetbar {
    width: 100%;
    left: inherit;
    right: 0px;
  }

  #BVDisplay {
    display: none;
  }

  .mobile_view_display {
    display: block;
  }

  #SQDisplay_MCS {
    background-image: none;
    background-color: #999;
    cursor: default;
  }

  .x-btn-widgetbar {
    display: block;
  }

  .topView_btn .PHPCIcon,
  .topView_btn .landQueryIcon,
  .topView_btn .schoolQueryIcon,
  .topView_btn .trafficIcon,
  .topView_btn .bizQueryIcon,
  .topView_btn .themesIcon,
  .topView_btn .boardViewIcon,
  .topView_btn .propertyQueryIcon,
  .topView_btn .popQueryIcon,
  .topView_btn .busRouteIcon,
  .topView_btn .canvasIcon,
  .topView_btn .settingIcon,
  .topView_btn .weblinkIcon,
  .topView_btn_mobile .PHPCIcon,
  .topView_btn_mobile .canvasIcon,
  .topView_btn_mobile .mapDiaryIcon,
  .topView_btn_mobile .scdfIcon,
  .topView_btn_mobile .loginIcon,
  .topView_btn_mobile .settingIcon,
  .topView_btn_mobile .weblinkIcon,
  .topView_btn_mobile .landQueryIcon,
  .topView_btn_mobile .schoolQueryIcon,
  .topView_btn_mobile .trafficIcon,
  .topView_btn_mobile .bizQueryIcon,
  .topView_btn_mobile .themesIcon,
  .topView_btn_mobile .boardViewIcon,
  .topView_btn_mobile .propertyQueryIcon,
  .topView_btn_mobile .popQueryIcon,
  .topView_btn_mobile .busRouteIcon,
  .topView_btn .feedbackIcon,
  .topView_btn .helpIcon,
  .topView_btn .aboutIcon,
  .topView_btn_mobile .feedbackIcon,
  .topView_btn_mobile .helpIcon,
  .topView_btn_mobile .aboutIcon {
    background-size: 30px 30px;
    width: 30px;
    height: 30px;
    float: left;
  }

  .topView_btn_mobile .topView_text,
  .sideView_btn .topView_text {
    font-size: 14px;
    line-height: 16px;
  }

  #displayTop_side {
    left: 0px;
    right: 0px;
    top: 45px;
  }

  /*  #pollSlider-button {
        left:0px;
    }

    #pollSlider-button.cbp-spmenu-open {
        left: -50px;
    } */

  .map_background {
    width: calc(100%);
    float: right;
  }

  .journey-planner .display-transit .transit-space-back {
    padding: 0px;
    float: left;
  }

  .ThemeInfoShape {
    margin: -14px 20px 0px 0px;
  }

  .ThemeDownloadKML {
    margin: -14px 20px 0px 0px;
  }
}
/* set for all the size with width more then 768px */
/* @media only screen and (min-width: 768px) {


} */

/* Extra Small Devices, Phones */
@media only screen and (max-width: 767px) {
  .leaflet-bottom.leaflet-left {
    display: none;
  }

  .sideMenu_container {
    top: 0px;
  }

  .x-widgetbar {
    width: 100%;
    left: inherit;
    right: 0px;
  }

  #BVDisplay {
    display: none;
  }

  .mobile_view_display {
    display: block;
  }

  #SQDisplay_MCS {
    background-image: none;
    background-color: #999;
    cursor: default;
  }

  .x-btn-widgetbar {
    display: block;
  }

  .tapup {
    width: 40px;
    height: 40px;
    position: relative;
    /*background-color: #ccc;*/
    z-index: 999;
    margin: -20px auto -20px auto;
    display: block;
    text-align: center;
    cursor: pointer;
    background-image: url("https://web-static.onemap.sg/images/main/misc/OM2_W_up_512-01.png");
    background-repeat: no-repeat;
    background-position: top 15px left 2px;
    background-size: 30px 30px;
  }

  .tapdown {
    background-image: url("https://web-static.onemap.sg/images/main/misc/OM2_W_down_512-01.png");
  }

  .sideMenu_none {
    top: 50px !important;
  }

  .map-view-open {
    width: 100%;
    height: 100%;
    padding: 0%;
    margin: 0%;
  }
  /**** Top Bar ****/
  .top_container {
    width: 100%;
  }
  /* .icon-info-collapsed
        {
            height: 500px;
        } */
  .info_container-collapsed {
    height: 45px;
  }

  #info_container .icon_container-col {
    height: 45px;
  }

  #info_container img,
  #info_container .noborder {
    height: 0px;
  }

  .sidebar_overlay_container2,
  .sidebar_overlay_container3 {
    width: 100%;
    height: 0;
  }

  .sidebar_overlay_container2 {
    position: fixed;
    bottom: 0px;
    z-index: 9999;
  }

  .small-menu-open_1 {
    bottom: 45px;
  }

  .small-menu-open_2 {
    bottom: 0px;
    height: 245px;
  }

  #info_container .icon_container-col {
    padding: 12px 10px;
  }

  /* .hide {
                display: block !important;
                font-size: 21px;
                text-align: right;
        } */

  .icon-container-collapsed {
    height: 80px;
  }

  .icon_arrow_up {
    top: 55px;
  }

  .icon_arrow_up.menu-open {
    top: 175px;
  }

  .icon-container-collapsed.menu-open {
    height: 200px;
  }

  .sidebar_overlay_container {
    width: 100vw;
    margin-left: 400px;
  }
  /* .sidebar_overlay_container2 {margin-left: 0px;}
        .sidebar_overlay_container3 {margin-left: 0px;} */

  #displayTop_other {
    top: 45px;
    left: 0px;
    right: 0px;
  }

  .container {
    width: 100%;
    margin-left: 0;
  }

  .nearbyLocation {
    display: none;
  }

  #topView {
    display: block;
  }

  .topMap_container {
    width: 100%;
  }

  /**** Side Bar ****/
  .jp_btn {
    top: 5px !important;
    right: 60px !important;
  }

  .routeMe {
    background-size: 22px 22px;
    width: 55px;
    height: 55px;
    border-radius: 40px;
  }

  .jp_btn a {
    font-size: 11px;
    line-height: 90px;
    width: 40px;
    height: 40px;
  }

  .jp_btn .directions {
    font-size: 14px;
    line-height: 70px;
  }

  .sideMenu_container .img {
    display: none;
  }

  .ThemeInfoShape {
    margin: -14px 20px 0px 0px;
  }

  .ThemeDownloadKML {
    margin: -14px 20px 0px 0px;
  }

  /* #pollSlider-button {
        left:0px;
    }

    #pollSlider-button.cbp-spmenu-open {
        left: -50px;
    } */
}

@media only screen and (max-width: 480px) {
  .ThemeInfoShape {
    margin: -14px 3px 0px 0px;
  }

  .ThemeDownloadKML {
    margin: -14px 3px 0px 0px;
  }
}

/* Custom, iPhone Retina */
@media only screen and (max-width: 320px) {
  .map-view-open {
    width: 100%;
    height: 100%;
    padding: 0%;
    margin: 0%;
  }
  /**** Top Bar ****/
  .top_container {
    width: 100%;
  }
  /* .icon-info-collapsed
        {
            height: 0px;
        }*/
  #info_container .icon_container-col {
    height: 45px;
  }
  .sidebar_overlay_container3 {
    width: 100%;
    height: 0;
  }

  .sidebar_overlay_container2 {
    position: fixed;
    bottom: 0px;
    z-index: 9999;
  }

  .small-menu-open_1 {
    bottom: 45px;
  }

  .small-menu-open_2 {
    bottom: 345px;
  }

  .icon-container-collapsed {
    height: 80px;
  }

  .icon_arrow_up {
    top: 55px;
  }

  .icon_arrow_up.menu-open {
    top: 175px;
  }

  .icon-container-collapsed.menu-open {
    height: 200px;
  }

  .overlay-content {
    margin: 30px 0px;
    width: 90%;
  }

  .sidebar_overlay_container {
    width: 100vw;
    margin-left: 400px;
  }
  /* .sidebar_overlay_container2 {margin-left: 0px;}
        .sidebar_overlay_container3 {margin-left: 0px;}*/

  .container {
    width: 100%;
    margin-left: 0;
  }

  .nearbyLocation {
    display: none;
  }

  .viewTop {
    top: 250px;
  }

  .themeNames {
    padding-left: 20px;
    padding-top: 10px;
  }

  .ThemeInfoShape {
    margin: -14px 0px 0px 0px;
  }

  .ThemeDownloadKML {
    margin: -14px 0px 0px 0px;
  }
}

@media screen and (max-height: 669px) {
  /*  #displayTop
    {
        bottom: 0px;
    } */

  .display-top-createamap,
  .display-top-createmymap {
    height: auto;
  }
}

/*  @media screen and (min-width: 100px) and (max-width: 419px) {
    .search-bar,
    #displayTop,
    #displayBottom
    {
        left: 20px;
        right: 20px;
    }
}

@media (max-width: 669px) {
    .platform-ios #top-menu .item.om-menutitle
    {
        margin-top: 20px;
    }

    .platform-ios #top-menu .top-menu-middle
    {
        top: 100px;
    }
}  */

@media (min-width: 670px) {
  /* .search-bar,
    #top-menu,
    #displayTop,
    #displayBottom
    {
        left: 15px;
        right: 15px;
    } */

  #top-menu {
    width: 360px;
    min-width: 360px;
    max-width: 360px;

    top: 10px;
    left: 10px;
  }
}

/******* Max width 460, display none ******/

@media screen and (max-width: 767px) {
  .nearbyLocation,
  .create-display {
    display: none;
  }
}

@media only screen and (min-width: 769px) and (min-height: 100px) {
  .mobile_show,
  .mobile_hidden {
    display: none !important;
  }

  /* .icon-info-collapsed {
        height: 100vh;
    } */

  /* .sidebar_overlay_container.withDest .map-scrollbars {
        height: calc(100vh - 280px);
        padding: 0px;
    } */

  /* .sidebar_overlay_container.withDest .themes_bg {
        bottom: 170px;
    } */
}

@media only screen and (max-width: 768px) and (min-height: 100px) {
  .sideMenu_container {
    top: 0px;
  }

  .mobile_show,
  .mobile_hidden {
    display: block !important;
  }
  /* .icon-info-collapsed {
        height: 100vh;
    } */

  /*  .viewTop { bottom:250px; } */
}

/* Smartphone (portrait) ----------- Small Devices */
@media only screen and (min-width: 320px) and (max-width: 766px) and (orientation: landscape) {
  .sideMenu_container {
    top: 0px;
  }

  .viewTop.withDest {
    top: 50px !important;
    z-index: 850;
  }

  .viewTop.withDest .map-scrollbars {
    height: calc(100% - 130px);
    padding: 0px;
  }

  /* .viewTop.withDest .themes_bg {
        top: calc(100vh - 135px);
        width: 100%;
        bottom: inherit;
    } */

  .viewTop {
    /* top: 50px !important; */
    position: relative !important;
  }

  .mobile_show,
  .mobile_hidden {
    display: block !important;
  }
  /* .icon-info-collapsed {
        height: 100vh;
    } */
}

/*** The Menu Bar ***/
@media only screen and (max-width: 768px) and (min-height: 100px) {
  .mainmenu-scrollbars {
    height: calc(100vh - 80px);
    padding: 0px;
  }

  #rightClickMenu {
    display: none !important;
  }
}

@media only screen and (min-width: 769px) and (max-width: 1024px) and (min-height: 100px) {
  .mainmenu-scrollbars {
    height: calc(100vh - 80px);
    padding: 0px;
  }
}

@media only screen and (min-width: 1025px) and (min-height: 100px) {
  .mainmenu-scrollbars {
    padding: 0px;
  }

  #rightClickMenu {
    display: none;
    position: fixed;
    border: 1px solid gray;
    background: white;
    z-index: 999;
  }

  #rightClickMenu #optionMenu {
    list-style: none;
  }

  #rightClickMenu #optionMenu li {
    font-size: 15px;
    cursor: pointer;
    padding: 10px 25px;
    text-align: center;
  }
}

/*@media screen and (device-aspect-ratio: 40/71) {
  .journey-form, .journey-list
  {
    top: 0px;
  }
}*/

/*
    iphone5
*/
@media only screen and (min-device-width: 320px) and (max-device-width: 400px) {
  .journey-form {
    top: 0px !important;
  }

  .leaflet-touch .leaflet-bar {
    top: -2px !important;
  }

  .icon-DatePanel,
  .icon-SettingPanel {
    top: 0px !important;
  }
  /* STYLES GO HERE */
}

/* For laptop */
@media screen and (min-width: 768px) {
  .showInfo_display {
    display: none;
  }

  .sideMenu_container {
    top: calc(45px + 28px);
  }

  #icon_info {
    background-color: #fff;
    margin-bottom: 135px;
  }

  .themes_bg {
    bottom: calc(45px + 28px);
  }

  .sideMenu_container.withDest {
    top: calc(88px + 28px);
  }
  /* height: calc(100vh - 88px); height: -webkit-calc(100% - 88px); */

  .sideMenu_container.withDest .themes_bg {
    bottom: calc(90px + 28px);
  }
  /* .sideMenu_container.withDest .map-scrollbars,*/

  .notification-scrollbars {
    height: 280px;
    padding: 15px 0px;
  }

  .map-scrollbars {
    height: calc(100vh - 235px - 28px);
    padding: 0px;
  }

  .map-scrollbars.Dest {
    height: calc(100vh - 280px - 28px);
    padding: 0px;
  }

  #results .results-scrollbars {
    height: calc(100vh - 220px - 28px);
    padding: 0px;
  }

  #results.non_pt_type .results-scrollbars {
    height: calc(100vh - 260px - 28px);
    padding: 0px;
  }

  #results.non_pt_type.three .results-scrollbars {
    height: calc(100vh - 305px - 28px);
  }

  #results.non_pt_type.four .results-scrollbars {
    height: calc(100vh - 350px - 28px);
  }

  #results.non_pt_type.five .results-scrollbars {
    height: calc(100vh - 355px - 28px);
  }

  .setting-lgd-scrollbars {
    height: calc(100vh - 150px - 28px);
  }

  .lq-scrollbars {
    height: calc(100vh - 150px - 28px);
    padding: 0px;
  }

  .form-scrollbars {
    height: calc(100vh - 110px - 28px);
    font-size: 14px;
    line-height: 18px;
    margin: 56px 0px 0px 0px;
  }

  .address-overview-scrollbars {
    height: calc(100vh - 330px - 28px);
  }

  .stratalot-overview-scrollbars {
    height: calc(100vh - 275px - 28px);
  }

  .setting-scrollbars,
  .setting-about-scrollbars,
  .setting-feedback-scrollbars {
    height: calc(100vh - 105px - 28px);
  }

  .legend-scrollbars {
    height: calc(100vh - 105px - 28px);
  }

  .sq-scrollbars {
    height: calc(100vh - 160px - 28px);
  }

  .sq-sec-scrollbars,
  .sq-postsec-scrollbars {
    height: calc(100vh - 100px - 28px);
  }

  .schoollist-scrollbars {
    height: calc(100vh - 350px - 28px);
  }

  .traffic-service-scrollbars,
  .traffic-legends-scrollbars {
    height: calc(100vh - 155px - 28px);
    padding: 0px;
  }

  .propertyquery-sale-scrollbars {
    height: calc(100vh - 340px - 28px);
  }

  .propertyquery-rental-scrollbars {
    height: calc(100vh - 340px - 28px);
  }

  .propertyquery-saleResult-scrollbars {
    height: calc(100vh - 225px - 28px);
  }

  .propertyquery-rentalResult-scrollbars {
    height: calc(100vh - 225px - 28px);
  }

  .propertyquery-district-scrollbars {
    height: calc(100vh - 160px - 28px);
    overflow: auto;
  }

  .propertyquery-about-scrollbars {
    height: calc(100vh - 105px - 28px);
  }

  .records_scrollbars {
    height: 280px;
    overflow: auto;
  }

  /* .property-sale-scrollbars, .property-rent-scrollbars { height: calc(100vh - 460px); } */

  .themes-scrollbars {
    height: calc(100vh - 200px - 28px);
    padding: 0px;
  }
  .themes2-scrollbars {
    height: calc(100vh - 100px - 28px);
    padding: 0px;
  }

  .essential-scrollbars {
    height: calc(100vh - 100px - 28px);
    padding: 0px;
  }

  .biz-scrollbars {
    height: calc(100vh - 290px - 28px);
  }

  .bizCompany-scrollbars {
    height: calc(100vh - 375px - 28px);
  }

  .basemap-scrollbars {
    height: calc(100vh - 120px - 28px);
  }

  .basemap-dropdown-scrollbars {
    height: calc(448px - 188px - 28px);
  }

  .wl-scrollbars {
    height: calc(100vh - 135px - 28px);
  }

  .busroute-nearby-scrollbars {
    height: calc(100vh - 170px - 28px);
    padding: 0px;
  }

  .busroute-route-scrollbars {
    height: calc(100vh - 235px - 28px);
    padding: 0px;
  }

  .busroute-single-scrollbars {
    height: calc(100vh - 220px - 28px);
    padding: 0px;
  }

  .busroute-all-scrollbars,
  .busroute-fav-scrollbars {
    height: calc(100vh - 220px - 28px);
    padding: 0px;
  }

  /* 
    .boardview-scrollbars { height: calc(70% - 100px); padding: 0px; }
    .tq-scrollbars { height: calc(100vh - 105px); padding: 0px; }

    .landDetail-scrollbars {
        height: calc(100vh - 105px);
        font-size: 14px;
        line-height: 18px;
        margin: 56px 0px 0px 0px;
    }
    .cmm-scrollbars { height: calc(100vh - 115px); }

    .cmm-editor-scrollbars { height: calc(100vh - 115px); }

    .pys-scrollbars { height: calc(100vh - 375px); }

    
    */

  .showMap_text {
    display: none;
  }
}

@media only screen and (max-width: 1024px) and (min-width: 768px) and (orientation: landscape) {
  .propertyquery-district-scrollbars {
    height: calc(100vh - 115px);
    overflow: auto;
  }
}

/* For different phone */
@media screen and (max-width: 767px) {
  #ShowAllBtns,
  #ShowOtherMarkers {
    display: none;
  }

  .showInfo_display {
    display: block;
  }

  .custom-display .display-header .item .showInfo,
  .custom-display .display-header .item .showPanel_text {
    display: block;
  }

  .land-query .display-header .hybridIcon,
  .settings .display-maps .hybridIcon {
    margin-right: 30px !important;
  }

  /*.pdfIcon {
        margin-right: 60px !important;
    }*/

  .disclaimerIcon {
    margin-right: 75px !important;
  }

  .clear_aboutPanel {
    margin-right: 40px;
  }

  .sideMenu_container {
    top: calc(45px + 28px);
  }

  .sideMenu_container.withDest {
    top: calc(88px + 28px);
  }

  .withDest .showMap {
    top: 88px;
    display: none;
  }

  .sideMenu_container.withDest .themes_bg {
    bottom: calc(90px + 28px);
  }

  #icon_info {
    background-color: #fff;
    margin-bottom: 90px;
  }

  .themes_bg {
    bottom: calc(45px + 28px);
  }

  .notification-scrollbars {
    height: 280px;
    padding: 15px 0px;
  }

  .map-scrollbars {
    height: calc(100vh - 235px - 28px);
    padding: 0px;
  }

  .map-scrollbars.Dest {
    height: calc(100vh - 280px - 28px);
    padding: 0px;
  }

  #results .results-scrollbars {
    height: calc(100vh - 220px - 28px);
    padding: 0px;
  }

  #results.non_pt_type .results-scrollbars {
    height: calc(100vh - 260px - 28px);
    padding: 0px;
  }

  #results.three .results-scrollbars {
    height: calc(100vh - 300px - 28px);
  }

  #results.four .results-scrollbars {
    height: calc(100vh - 350px - 28px);
  }

  #results.five .results-scrollbars {
    height: calc(100vh - 355px - 28px);
  }

  #results.mobile .results-scrollbars {
    height: calc(100vh - 260px - 28px);
    padding: 0px;
  }

  #results.non_pt_type.mobile .results-scrollbars {
    height: calc(100vh - 320px - 28px);
    padding: 0px;
  }

  #results.non_pt_type.three.mobile .results-scrollbars {
    height: calc(100vh - 355px - 28px);
  }

  #results.non_pt_type.four.mobile .results-scrollbars {
    height: calc(100vh - 405px - 28px);
  }

  #results.non_pt_type.five.mobile .results-scrollbars {
    height: calc(100vh - 410px - 28px);
  }

  .setting-lgd-scrollbars {
    height: calc(100vh - 150px - 28px);
  }

  .lq-scrollbars {
    height: calc(100vh - 150px - 28px);
    padding: 0px;
  }

  .form-scrollbars {
    height: calc(100vh - 110px - 28px);
    font-size: 14px;
    line-height: 18px;
    margin: 56px 0px 0px 0px;
  }

  .address-overview-scrollbars {
    height: calc(100vh - 330px - 28px);
  }

  .stratalot-overview-scrollbars {
    height: calc(100vh - 275px - 28px);
  }

  .setting-scrollbars,
  .setting-about-scrollbars,
  .setting-feedback-scrollbars {
    height: calc(100vh - 105px - 28px);
  }

  .legend-scrollbars {
    height: calc(100vh - 105px - 28px);
  }

  .sq-scrollbars {
    height: calc(100vh - 160px - 28px);
  }

  .sq-sec-scrollbars,
  .sq-postsec-scrollbars {
    height: calc(100vh - 180px - 28px);
  }

  .schoollist-scrollbars {
    height: calc(100vh - 350px - 28px);
  }

  .traffic-service-scrollbars,
  .traffic-legends-scrollbars {
    height: calc(100vh - 155px - 28px);
    padding: 0px;
  }

  .propertyquery-sale-scrollbars {
    height: calc(100vh - 340px - 28px);
  }

  .propertyquery-rental-scrollbars {
    height: calc(100vh - 340px - 28px);
  }

  .propertyquery-saleResult-scrollbars {
    height: calc(100vh - 255px - 28px);
  }

  .propertyquery-rentalResult-scrollbars {
    height: calc(100vh - 255px - 28px);
  }

  .propertyquery-district-scrollbars {
    height: calc(100vh - 215px - 28px);
    overflow: auto;
  }

  .propertyquery-about-scrollbars {
    height: calc(100vh - 105px - 28px);
  }

  .records_scrollbars {
    height: 280px;
    overflow: auto;
  }

  /* .property-sale-scrollbars, .property-rent-scrollbars { height: calc(100vh - 460px); } */

  .themes-scrollbars {
    height: calc(100vh - 200px - 28px);
    padding: 0px;
  }

  .themes2-scrollbars {
    height: calc(100vh - 100px - 28px);
    padding: 0px;
  }

  .essential-scrollbars {
    height: calc(100vh - 100px - 28px);
    padding: 0px;
  }

  .biz-scrollbars {
    height: calc(100vh - 290px - 28px);
  }

  .bizCompany-scrollbars {
    height: calc(100vh - 375px - 28px);
  }

  .basemap-scrollbars {
    height: calc(100vh - 120px - 28px);
  }

  .basemap-dropdown-scrollbars {
    height: calc(448px - 310px - 28px);
  }

  .wl-scrollbars {
    height: calc(100vh - 135px - 28px);
  }

  .busroute-nearby-scrollbars {
    height: calc(100vh - 170px - 28px);
    padding: 0px;
  }

  .busroute-route-scrollbars {
    height: calc(100vh - 235px - 28px);
    padding: 0px;
  }

  .busroute-single-scrollbars {
    height: calc(100vh - 220px - 28px);
    padding: 0px;
  }

  .busroute-all-scrollbars,
  .busroute-fav-scrollbars {
    height: calc(100vh - 220px - 28px);
    padding: 0px;
  }

  /* .tq-scrollbars { height: calc(100vh - 60px); padding: 0px; }

    .landDetail-scrollbars {
        height: calc(100vh - 60px);
        font-size: 14px;
        line-height: 18px;
        margin: 56px 0px 0px 0px;
    }

    .cmm-scrollbars { height: calc(100vh - 290px); }

    .cmm-editor-scrollbars { height: calc(100vh - 290px); }
    */
}

@media only screen and (min-width: 1366px) {
  .cbp-spmenu-vertical {
    height: 100%;
    top: 0;
    z-index: 750;
  }

  .cbp-spmenu-left {
    left: -1080px;
  }

  .cbp-spmenu-left.cbp-spmenu-open {
    left: -450px;
  }
}

@media only screen and (max-width: 1366px) {
  .cbp-spmenu-left {
    left: -1080px;
  }

  .cbp-spmenu-left.cbp-spmenu-open {
    left: -450px;
  }
}

@media only screen and (max-width: 1280px) {
  .cbp-spmenu-left {
    left: -1080px;
  }

  .cbp-spmenu-left.cbp-spmenu-open {
    left: -420px;
  }
}

@media only screen and (max-width: 1170px) {
  .cbp-spmenu-left {
    left: -800px;
  }

  .cbp-spmenu-left.cbp-spmenu-open {
    left: -400px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  .cbp-spmenu-left {
    left: -800px;
  }

  .cbp-spmenu-left.cbp-spmenu-open {
    left: -400px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .cbp-spmenu-left {
    left: -800px;
  }

  .cbp-spmenu-left.cbp-spmenu-open {
    left: -400px;
  }
}

@media only screen and (min-width: 769px) {
  .showMap {
    display: none !important;
  }

  .showMap_none {
    display: none;
  }
}

@media only screen and (max-width: 768px) {
  .cbp-btn {
    border: none;
    background: #0d47a1;
    color: #fff;
    display: block;
    width: 70px;
    height: 55px;
    cursor: pointer;
    top: 130px;
    right: 0px;
    position: absolute;
    z-index: 700;
  }

  .cbp-btn.display_none,
  .showMap.display_none {
    display: none;
  }

  .showMap_none {
    display: block;
  }

  .cbp-spmenu-vertical {
    height: 100%;
    top: 0;
    z-index: 750;
  }

  .cbp-spmenu-left.cbp-spmenu-open {
    left: -400px;
  }

  .cbp-spmenu-left {
    left: -1080px;
  }

  .cbp-spmenu-left.cbp-spmenu-open.viewTop {
    left: -1080px;
  }
}

.AgreeBox input[type="checkbox"] + label,
.TQAgreeBox input[type="checkbox"] + label,
.AgreeBoxSQ input[type="checkbox"] + label {
  font-size: 16px;
}

.portrait_none {
  display: none;
}
.landscape_none {
  display: none;
}

/* Non-Retina Screens -- Retina Screen */
@media screen and (min-device-width: 1200px) and (max-device-width: 1600px) and (-webkit-min-device-pixel-ratio: 1) {
  .portrait_none {
    display: none;
  }
  .landscape_none {
    display: none;
  }
}
@media screen and (min-device-width: 1200px) and (max-device-width: 1600px) and (-webkit-min-device-pixel-ratio: 2) and (min-resolution: 192dpi) {
  .portrait_none {
    display: none;
  }
  .landscape_none {
    display: none;
  }
}

/* ----------- iPad 1, 2, 3, 4, Pro 9.7, Mini and Air  iPad Pro 10.5" 12.9" Galaxy Tab 2, 5, Nexus 7, 9 ----------- */

/* Portrait and Landscape */
/*@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 1), 
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 2), 
@media only screen and (min-device-width: 834px) and (max-device-width: 1112px) and (-webkit-min-device-pixel-ratio: 2), 
@media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (-webkit-min-device-pixel-ratio: 2), 
@media (min-device-width: 800px) and (max-device-width: 1280px), 
@media (min-device-width: 800px) and (max-device-width: 1280px) and (-webkit-min-device-pixel-ratio: 2), 
@media screen and (device-width: 601px) and (device-height: 906px) and (-webkit-min-device-pixel-ratio: 1.331) and (-webkit-max-device-pixel-ratio: 1.332), 
@media screen and (device-width: 1536px) and (device-height: 2048px) and (-webkit-min-device-pixel-ratio: 1.331) and (-webkit-max-device-pixel-ratio: 1.332)  {

}*/

/* Portrait */
/* Declare the same value for min- and max-width to avoid colliding with desktops */
/* Source: https://medium.com/connect-the-dots/css-media-queries-for-ipad-pro-8cad10e17106*/
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 1) {
  .portrait_none {
    display: none;
  }
  .landscape_none {
    display: block;
  }
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {
  .portrait_none {
    display: none;
  }
  .landscape_none {
    display: block;
  }
}
@media only screen and (min-device-width: 834px) and (max-device-width: 834px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {
  .portrait_none {
    display: none;
  }
  .landscape_none {
    display: block;
  }
}
@media only screen and (min-device-width: 1024px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {
  .portrait_none {
    display: none;
  }
  .landscape_none {
    display: block;
  }
}
@media (max-device-width: 800px) and (orientation: portrait) {
  .portrait_none {
    display: none;
  }
  .landscape_none {
    display: block;
  }
}
@media (max-device-width: 800px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {
  .portrait_none {
    display: none;
  }
  .landscape_none {
    display: block;
  }
}
@media screen and (device-width: 601px) and (device-height: 906px) and (-webkit-min-device-pixel-ratio: 1.331) and (-webkit-max-device-pixel-ratio: 1.332) and (orientation: portrait) {
  .portrait_none {
    display: none;
  }
  .landscape_none {
    display: block;
  }
}
@media screen and (device-width: 1536px) and (device-height: 2048px) and (-webkit-min-device-pixel-ratio: 1.331) and (-webkit-max-device-pixel-ratio: 1.332) and (orientation: portrait) {
  .portrait_none {
    display: none;
  }
  .landscape_none {
    display: block;
  }
}

/* Landscape */
/* Declare the same value for min- and max-width to avoid colliding with desktops */
/* Source: https://medium.com/connect-the-dots/css-media-queries-for-ipad-pro-8cad10e17106*/
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1) {
  .portrait_none {
    display: none;
  }
  .landscape_none {
    display: none;
  }
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {
  .portrait_none {
    display: none;
  }
  .landscape_none {
    display: none;
  }
}
@media only screen and (min-device-width: 1112px) and (max-device-width: 1112px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {
  .portrait_none {
    display: none;
  }
  .landscape_none {
    display: none;
  }
}
@media only screen and (min-device-width: 1366px) and (max-device-width: 1366px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {
  .portrait_none {
    display: none;
  }
  .landscape_none {
    display: none;
  }
}
@media (max-device-width: 1280px) and (orientation: landscape) {
  .portrait_none {
    display: none;
  }
  .landscape_none {
    display: none;
  }
}
@media (max-device-width: 1280px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {
  .portrait_none {
    display: none;
  }
  .landscape_none {
    display: none;
  }
}
@media screen and (device-width: 601px) and (device-height: 906px) and (-webkit-min-device-pixel-ratio: 1.331) and (-webkit-max-device-pixel-ratio: 1.332) and (orientation: landscape) {
  .portrait_none {
    display: none;
  }
  .landscape_none {
    display: none;
  }
}
@media screen and (device-width: 1536px) and (device-height: 2048px) and (-webkit-min-device-pixel-ratio: 1.331) and (-webkit-max-device-pixel-ratio: 1.332) and (orientation: landscape) {
  .portrait_none {
    display: none;
  }
  .landscape_none {
    display: none;
  }
}

/* ----------- iPhone 4, 4S, 5, 5S, 5C and 5SE, 6, 6S, 7, 8, 6+, 7+, 8+, x----------- */

/* Portrait and Landscape */
/*@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2), 
@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (-webkit-min-device-pixel-ratio: 2), 
@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2),
@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (-webkit-min-device-pixel-ratio: 3),
@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 3) {

}*/

/* Portrait */
@media only screen and (min-device-width: 320px) and (max-aspect-ratio: 14/9) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {
  .portrait_none {
    display: none;
  }
  .landscape_none {
    display: none;
  }
}
@media only screen and (min-device-width: 320px) and (max-aspect-ratio: 14/9) and (max-device-width: 568px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {
  .portrait_none {
    display: none;
  }
  .landscape_none {
    display: none;
  }
}
@media only screen and (min-device-width: 375px) and (max-aspect-ratio: 14/9) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {
  .portrait_none {
    display: none;
  }
  .landscape_none {
    display: none;
  }
}
@media only screen and (min-device-width: 414px) and (max-aspect-ratio: 14/9) and (max-device-width: 736px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: portrait) {
  .portrait_none {
    display: none;
  }
  .landscape_none {
    display: none;
  }
}
@media only screen and (min-device-width: 375px) and (max-aspect-ratio: 14/9) and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: portrait) {
  .portrait_none {
    display: none;
  }
  .landscape_none {
    display: none;
  }
}

/* Landscape */
@media only screen and (min-device-width: 320px) and (min-aspect-ratio: 14/9) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) {
  .portrait_none {
    display: block;
  }
  .landscape_none {
    display: none;
  }
}
@media only screen and (min-device-width: 320px) and (min-aspect-ratio: 14/9) and (max-device-width: 568px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) {
  .portrait_none {
    display: block;
  }
  .landscape_none {
    display: none;
  }
}
@media only screen and (min-device-width: 375px) and (min-aspect-ratio: 14/9) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) {
  .portrait_none {
    display: block;
  }
  .landscape_none {
    display: none;
  }
}
@media only screen and (min-device-width: 414px) and (min-aspect-ratio: 14/9) and (max-device-width: 736px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: landscape) {
  .portrait_none {
    display: block;
  }
  .landscape_none {
    display: none;
  }
}
@media only screen and (min-device-width: 375px) and (min-aspect-ratio: 14/9) and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: landscape) {
  .portrait_none {
    display: block;
  }
  .landscape_none {
    display: none;
  }
}

/* ----------- Galaxy S3, S4, S5, S6 , Note 3, Google Pixel, XL, HTC one, Window Phone ----------- */

/* Portrait and Landscape */
/*@media screen and (device-width: 320px) and (device-height: 640px) and (-webkit-device-pixel-ratio: 2), 
@media screen and (device-width: 320px) and (device-height: 640px) and (-webkit-device-pixel-ratio: 3), 
@media screen and (device-width: 320px) and (device-height: 640px) and (-webkit-device-pixel-ratio: 4),
@media screen and (device-width: 360px) and (device-height: 640px) and (-webkit-device-pixel-ratio: 3), 
@media screen and (device-width: 360px) and (device-height: 640px) and (-webkit-device-pixel-ratio: 4),
@media screen and (device-width: 480px) and (device-height: 800px)  {

}*/

/* Portrait */
@media screen and (device-width: 320px) and (max-aspect-ratio: 14/9) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait) {
  .portrait_none {
    display: none;
  }
  .landscape_none {
    display: none;
  }
}
@media screen and (device-width: 320px) and (max-aspect-ratio: 14/9) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait) {
  .portrait_none {
    display: none;
  }
  .landscape_none {
    display: none;
  }
}
@media screen and (device-width: 360px) and (max-aspect-ratio: 14/9) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait) {
  .portrait_none {
    display: none;
  }
  .landscape_none {
    display: none;
  }
}
@media screen and (device-width: 320px) and (max-aspect-ratio: 14/9) and (-webkit-device-pixel-ratio: 4) and (orientation: portrait) {
  .portrait_none {
    display: none;
  }
  .landscape_none {
    display: none;
  }
}
@media screen and (device-width: 360px) and (max-aspect-ratio: 14/9) and (-webkit-device-pixel-ratio: 4) and (orientation: portrait) {
  .portrait_none {
    display: none;
  }
  .landscape_none {
    display: none;
  }
}
@media screen and (device-width: 480px) and (max-aspect-ratio: 14/9) and (orientation: portrait) {
  .portrait_none {
    display: none;
  }
  .landscape_none {
    display: none;
  }
}

/* Landscape */
@media screen and (device-width: 320px) and (min-aspect-ratio: 14/9) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape) {
  .portrait_none {
    display: block;
  }
  .landscape_none {
    display: none;
  }
}
@media screen and (device-width: 320px) and (min-aspect-ratio: 14/9) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape) {
  .portrait_none {
    display: block;
  }
  .landscape_none {
    display: none;
  }
}
@media screen and (device-width: 360px) and (min-aspect-ratio: 14/9) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape) {
  .portrait_none {
    display: block;
  }
  .landscape_none {
    display: none;
  }
}
@media screen and (device-width: 320px) and (min-aspect-ratio: 14/9) and (-webkit-device-pixel-ratio: 4) and (orientation: landscape) {
  .portrait_none {
    display: block;
  }
  .landscape_none {
    display: none;
  }
}
@media screen and (device-width: 360px) and (min-aspect-ratio: 14/9) and (-webkit-device-pixel-ratio: 4) and (orientation: landscape) {
  .portrait_none {
    display: block;
  }
  .landscape_none {
    display: none;
  }
}
@media screen and (device-width: 480px) and (min-aspect-ratio: 14/9) and (orientation: landscape) {
  .portrait_none {
    display: block;
  }
  .landscape_none {
    display: none;
  }
}

.orientation {
  position: fixed;
  z-index: 999;
  margin: 0;
  padding: 0;
  background-color: rgba(255, 255, 255, 0.7);
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.centered {
  /* Absolute centering: */
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  /* It needs a height and a width: */
  height: 40%;
  width: 45%;
  border: 1px solid #333;
  text-align: center;
}

.portrait_imgs {
  background: url("../fonts/Portrait.png") no-repeat center center;
  background-size: 250px 250px;
  width: 250px;
  height: 250px;
  display: block;
  margin: 10px auto;
}

.landscape_imgs {
  background: url("../fonts/Landscape.png") no-repeat center center;
  background-size: 250px 250px;
  width: 250px;
  height: 250px;
  margin: 10px auto;
}

.orientation_text {
  font-size: 15px;
  line-height: 40px;
  text-align: center;
}

/*code edited by YNW*/
#DQDisplay {
  display: none !important;
}

#DQDisplay_M {
  display: block !important;
}

#StatelandDisplay_M {
  display: none;
}

@media only screen and (max-width: 767px) {
  #StatelandDisplay_M {
    display: block !important;
  }
}
