/******************************************************************
Biz Query
******************************************************************/
#displayBtn {
  display: none;
}

#displayBtnName {
  display: none;
}

.display-color-biz {
  background-color: #0d47a1;
}

.disclaimer_btn {
    margin: 0 auto;
    width: 96%;
    position: relative;
    bottom: -10px;
}

.indication_btn {
    margin: 0 auto;
    width: 100%;
    position: relative;
    bottom: 0px;
}

.biz-query .create-form, 
.biz-query .display-bizlist
{
  background: none;
  display: block;
  vertical-align: middle;
  text-align: left;
  margin:10px 10px 18px 15px;
  padding: 0;
    font-size: 14px;
    line-height: 18px;
    background-color: #fff;
}

.biz-query .create-form .biz-header {
    font-size: 14px;
    line-height: 20px;
}

/* .uni-bound { } */

.biz-query{
  /* background-color:white;
  height : inherit; */
}

.sqresize
{
  height:360px;
  padding-bottom: 70px;

}

.bizBtn {
    width: 100%;
    text-align: left;
    border: 0;
    color: #fff;
    margin: 0;
    padding: 0;
}

.bizBtn .text {
  background-color: #fff;
    padding: 15px 0px 15px 40px;
    color: #051e3c;
    font-size: 16px;
    line-height: 18px;
}

.bizBtn_text {
  font-size: 13px;
    line-height: 16px;
    padding: 0px 15px;
}

.bizBtn_text a {
  text-decoration: underline;
    color: #616262;
    font-size: 13px;
    line-height: 16px;
    display: -webkit-inline-box;
}

.bizBtnHori {
    width: 100%;
    text-align: center;
    border: 0;
    color: #051e3c;
    margin: 0;
    /*padding: 0;*/
    padding: 10px 14px;
    background-color: #fff;
}

.bizBtnHori .text {
    background-color: #fff;
    color: #051e3c;
    font-size: 16px;
}

.biz-query .display-content,
.biz-query .display-option,
.biz-query .display-list
{
  width: 100%;
  position: absolute;
  left: 0px;
  right: 0px;
  top:56px;
}

.biz-query .create-form .labels {
    font-weight: bold;
    font-size: 16px;
    line-height: 18px;
    padding: 10px 20px 10px 45px;
    background-color: #e7edf6;  
}

.biz-query .create-form .onekmIcon {
  background-image: url("https://web-static.onemap.sg/images/main/schoolIcon/icons_512_schWit1km.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 35px 35px;
    width: 35px;
    height: 35px;
    float: left;
    margin-right: 10px;
}

.biz-query .create-form .twokmIcon {
  background-image: url("https://web-static.onemap.sg/images/main/schoolIcon/icons_512_schWit1-2km.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 35px 35px;
    width: 35px;
    height: 35px;
    float: left;
    margin-right: 10px;
}

.biz-query .create-form button, 
.biz-query .display-bizlist button
{
    width: 100%;
    padding: 5px 25px;
    text-align: left;
    background-color: #fff;
    border: 0;
    font-size: 12px;
    line-height: 16px;
    color: #333;
    margin: 5px 0px;
    /* webkit-box-shadow: 0px 0px 8px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 0px 8px rgba(0,0,0,0.2);
    box-shadow: 0px 0px 8px rgba(0,0,0,0.2); */
}

.biz-query .display-bizlist button 
{
  background-image: url("arrow-96-64.png");
    background-repeat: no-repeat;
    background-position: left 10px center;
    background-size: 20px 20px;
    padding-left: 45px;
    webkit-box-shadow: 0px 0px 8px rgba(117,191,32,0.8);
    -moz-box-shadow: 0px 0px 8px rgba(117,191,32,0.8);
    box-shadow: 0px 0px 8px rgba(117,191,32,0.8);
}

.biz-query .BizAbout {
  display: none;
  color: #333 !important;
  margin: 76px 50px;
}

.biz-query .BizAbout, 
.biz-query .display-option
{
    height: 100%;
    padding: 0;
    padding-bottom: 70px;
    /* background-color: #fff; */
    color: #fff;
    z-index: 12;
}

.biz-query .display-option {
  background: rgba(255,255,255,1);
  /* background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(225,228,232,1) 60%, rgba(226,229,233,1) 100%);
  background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,255,255,1)), color-stop(60%, rgba(225,228,232,1)), color-stop(100%, rgba(226,229,233,1)));
  background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(225,228,232,1) 60%, rgba(226,229,233,1) 100%);
  background: -o-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(225,228,232,1) 60%, rgba(226,229,233,1) 100%);
  background: -ms-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(225,228,232,1) 60%, rgba(226,229,233,1) 100%);
  background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(225,228,232,1) 60%, rgba(226,229,233,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e2e5e9', GradientType=0 );*/
}

.biz-query .display-list
{
    top: 56px;
    /* padding: 15px; */
    padding-bottom: 0px;
    z-index: 12;
    background-color: #fff;
}

.biz-query .display-option .setting-about-header {
  background-color: #e7e9ef;
  color: #0f245a;
    margin: 16px 16px 0px 16px;
    padding: 1em;
    font-size: 18px;
    line-height: 18px;
}

.biz-query .display-option .setting-about 
{
  margin: 0px 16px 16px 16px;
  padding: 1em;
  /* background-color: white; */
  font-size: 20px;
  line-height: 40px;
  /*padding: 10px 15px;*/
  color: #333;
  /*padding-left: 2em;*/
  text-decoration: none;
  font-weight: bold;
}

.biz-query .display-option button.back {
    width: 40px;
    height: 40px;
    padding: 0px;
    background-image: url("OM2_WebIcons_hide.png");
    background-repeat: no-repeat;
    background-position: center left;
    background-size: 40px 40px;
    top: -12px;
    left: -10px;
    position: relative;
}

.biz-query .display-option .setting-about p
{
  font-size: 14px;
    line-height: 20px;
    padding: 0px 0px 20px 0px;
}

.biz-query .display-content
{
  top:197px;
  bottom: 0px;
  padding: 0px;
}

.biz-query .display-header .item
{
  background-color: transparent;
}

.biz-query .display-header .BizCatRadioList
{
  line-height: 200%;
  height: 100%;
  max-height: 400px;
  margin-top: 10px;
  margin-left: 10px;
  overflow-y:auto;
}

/* .display-option .BizCatRadioList
{
  clear: both;
  line-height: 200%;
  height: 100%;
  max-height: 250px;
  margin-top: 10px;
  margin-left: 10px;
  padding-top: 10px;
  overflow-y:auto;
} */

.checkbox_setting {
  margin:0px;
}

.checkbox_setting .search-bar {
  margin:15px 25px; 
}

.BizCatRadioList {
    width: 100%;
    padding: 5px 0px 5px 25px;
    font-size: 14px;
    line-height: 18px;
}

.BizCatRadioList .checkbox_title {
    font-size: 16px;
    line-height: 30px;
    font-weight: bold;
    color: #ff0000;
}

.BizCatRadioList .checkbox_text {
  line-height: 30px;
}

.checkbox_setting .BizCatBtn,
.BizCatRadioList .BizCatBtn {
  margin:10px 25px;
}

.BizCatRadioList input[type=checkbox] {
    display:none;
}

.BizCatRadioList input[type=checkbox] + label {
  color: #58585b;
  padding: 5px 15px;
  font-size:14px;
  line-height: 16px;
  opacity: 1;
  border: none;
  width: 100%;
}

.BizCatRadioList input[type=checkbox] + label span {
  display:inline-block;
  width:19px;
  height:19px;
  margin: 5px 8px 0 0;
  vertical-align:middle;
  cursor:pointer;
  -moz-border-radius:  50%;
  border-radius:  50%;
  float: right;
}

.BizCatRadioList input[type=checkbox] + label span {
  background-color:#fff;
  border: 1px solid #0d47a1;
}

.BizCatRadioList input[type=checkbox]:checked + label span {
  background-color:#ee524f;
  border: 1px solid #ee524f;
}

/*.BizCatRadioList input[type=checkbox] + label
{
  background-image: url("https://web-static.onemap.sg/images/main/themes/icon_theme_circle_uncheck.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 20px 20px;
  height: 30px;
  width: 100%;
  display:inline-block;
  padding: 0 0 0 0px;
  cursor: pointer;
}



.BizCatRadioList input[type=checkbox]:checked + label
{
  background-image: url("https://web-static.onemap.sg/images/main/themes/icon_theme_circle_check.png");
}*/


/* .display-option .BizAbout
{
  display: none;
  clear: both;
  line-height: 200%;
  height: 100%;
  max-height: 350px;
  margin-top: 10px;
  margin-left: 10px;
  margin-right: 10px;
  padding-top: 10px;
  padding-left: 10px;
  padding-right: 10px;
} */

.setting-about .BizTerm, 
.BizAbout .BizTerm {
  margin:10px;
  font-size: 15px;
  line-height: 30px;
}

.BizCatBtn .button,
.setting-about .button
{
  background-color: #fff;
  color: #051e3c;
}

.BizCatBtn .button:hover,
.setting-about .button:hover {
  background-color: #ff1744;
  color: #fff;
}

.BizCatBtn button,
.setting-about button
{
  width: 99%;
  text-align: center;
  background-color: #fff;
  border: 0;
  font-size: 13px;
  line-height: 15px;
  color: #051e3c;
  padding: 15px 10px;
  margin: 0px 3px 15px 3px;
  border-radius: 8px;
  border: 1px solid rgba(22,54,118,0.2);
  -webkit-box-shadow: 0px 2px 9px 2px rgba(13,71,161,0.3);
  -moz-box-shadow: 0px 2px 9px 2px rgba(13,71,161,0.3);
  box-shadow: 0px 2px 9px 2px rgba(13,71,161,0.3);
}

/* #Confirm {
    background-color: white;
    color: #0F245A;
    border-radius: 8px;
    margin: 15px 10px;
    width: 99%;
    margin: 0px 3px 15px 3px;
    border-radius: 8px;
    border: 1px solid rgba(22,54,118,0.2);
    -webkit-box-shadow: 0px 2px 9px 2px rgba(13,71,161,0.3);
    -moz-box-shadow: 0px 2px 9px 2px rgba(13,71,161,0.3);
    box-shadow: 0px 2px 9px 2px rgba(13,71,161,0.3);
}

#Confirm:active {
    background-color: #0F245A;
    color: white;
} */

#ShowBizListMain {
    background-color: white;
    color: #0F245A;
    border-radius: 8px;
    margin: 15px 20px 15px 10px;
    width: calc(100% - 25px - 25px);
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.1), 0 6px 20px 0 rgba(0,0,0,0.1);
}

#ShowBizListMain:active {
    background-color: #0F245A;
    color: white;
}

.clusterTable {
  line-height: 200%;
  height: 100%;
  max-height: 200px;
  width: 100%;
  /*position:fixed;
  top:110px;
  bottom:10px;
  left: 20px;
  width:100%;
  overflow-y:auto;*/
  /*margin: 10px 10px 10px 10px;*/
  /*margin-bottom: 10px;*/
  overflow-y:auto;
  overflow-x:auto;
}

table.table-cluster {
    width: 100%;
}

.table-cluster th {
    background-color: #0d47a1;
    color: white;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
}

.table-cluster td {
    font-size: 11px;
}

.table-cluster th, .table-cluster td {
    padding: 5px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.table-cluster tr:nth-child(even) {background-color: #f2f2f2}

table.table-radius {
    width: 100%;
}

.table-radius th {
    background-color: #0d47a1;
    color: white;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
}

#orangeheader {
    background-color: #FF5629;
    color: white;
    font-size: 13.5px;
    font-weight: bold;
    white-space: nowrap;
}

#yellowheader {
    background-color: #FFCA28;
    color: white;
    font-size: 13.5px;
    font-weight: bold;
    white-space: nowrap;
}

.table-radius th, .table-radius td {
    padding: 5px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.biz-query .search-form-control
{
  border-radius: 0px;
  border: 1px solid #c9cacb;
  font-size: 14px;
    padding: 10px 15px;
  text-align: left;
  margin: 10px 0px;
}

.sq-scrollbars .row
{
   padding:0px 18px 3px;
}

.biz-query .biz-form-control
{
  height: 300px;
  border-radius: 0px;
  border: 1px solid #c9cacb;
  border-top: none;
  font-size: 14px;
  margin: 0px;
  padding:10px 0px 10px 10px;
  max-height: 460px;
  webkit-box-shadow: inset 0px 0px 8px rgba(0,0,0,0.2);
    -moz-box-shadow: inset 0px 0px 8px rgba(0,0,0,0.2);
    box-shadow: inset 0px 0px 8px rgba(0,0,0,0.2);
    overflow-y: scroll; 
}

.biz-query .form-control
{
  height: 300px;
  border-radius: 0px;
  border: 1px solid #c9cacb;
  font-size: 16px;
  margin: 15px 0px;
}

.biz-query .display-bizlist .biz-list-title
{
  font-size: 16px;
  line-height: 18px;
  margin-bottom: 10px;
}


.biz-query .biz-pre-scrollable
{
  max-height: 600px;
  overflow-y:scroll;

}

.land-query .scrollable::-webkit-scrollbar
{
  width:5px;

}

.land-query .scrollable::-webkit-scrollbar-thumb
{
background-color:#FE9A2E;
height: 90px;

}

.biz-query .control-label
{
  font-size: 20px;
    width: 100%;
    text-align: left;
    margin-left: 12px;
}

.biz-query .label-header
{
    background-color: #e7edf6;
    font-size: 14px;
    line-height: 16px;
    width: 100%;
    border: 1px solid #e7edf6;
    padding: 5px 0px 5px 40px;
    margin: 10px 0px;
    text-align: left;
}

.biz-query .label-header .label-content-header {
      color: #041d3b;
      font-weight: bold;
}

.biz-query .label-content
{
  margin: 5px 15px 5px 40px;
  display: inline-flex;
  /* font-size: 20px; */
}

.biz-query .label-content .text
{
    display: flex;
    align-items: center;
    padding-right: 10px;
    font-size: 14px;
    line-height: 30px;
    width: 80%;
    float: left;
}

.biz-query .label-content .text_2
{
  width: 150px;
}

.biz-query .label-content .oneKm
{
  width: 30px;
  height: 30px;
  border-radius: 50px;
  background-color: #c6e414;
  margin: 0px;
}

.biz-query .label-content .twoKm
{
  width: 30px;
  height: 30px;
  border-radius: 50px;
  background-color: #068338;
  margin: 0px;
}

.biz-query .label-content .biz_icon
{
  background-image: url("https://web-static.onemap.sg/images/main/schoolIcon/school_icon.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 30px 30px;
}



.biz-query .label-content img{
  margin-left: 5px;
  margin-top: 2px;
}

.biz-query .create-button
{
  background: none;
  display: block;
  vertical-align: middle;
  text-align: center;
  margin:10px 25px 18px 25px;
}

.biz-query .create-button button
{
  width:100%;
  text-align:center;
  background-color: #25c5d9;
  border: 0;
  font-size: 20px;
    color: #fff;
    margin-top: 120px;
    margin-bottom: 20px;
}


.biz-query .create-button button:hover
{
  background-color: #ee524f;
  color: #fff;
}

.biz-query .display-bizlist .biz-list-repeat
{
    font-size: 12px;
    padding: 5px 25px;
    height: 30px;
    display: table;
}

.biz-query .display-bizlist input[type=radio]
{
  display: none;
}

.biz-query .display-bizlist input[type=radio] + label
{
    width: 100%;
    height:20px;
    color: #58585b;
    background-image: url("https://web-static.onemap.sg/images/main/schoolIcon/school_default.png");
    background-repeat: no-repeat;
    background-position: 0px center;
    background-size: 20px 20px;
    cursor: pointer;

    /* -webkit-box-shadow: 0px 0px 8px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 0px 8px rgba(0,0,0,0.2);
    box-shadow: 0px 0px 8px rgba(0,0,0,0.2);*/

}


.biz-query .display-bizlist input[type=radio]:checked + label
{
  background-image: url("https://web-static.onemap.sg/images/main/schoolIcon/school_select.png");
}

.biz-query #results.display-content,
.biz-query #routeList.display-content
{
  width: 100%;
  padding: 0px;
}

.biz-query .display-content
{
  padding: 0px;
    background-color: #fff;
}

.biz-query #map-results-message
{
  width: 100%;
  height: 100%;
  padding: 15px;
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  display: none;
}

.biz-query #map-results-message .message-container
{
  width: inherit;
  height: inherit;
  display: table;
  text-align: center;
}

.biz-query #map-results-message .message-container .message
{
  font-size: 20px;
  display: table-cell;
  vertical-align: middle;
}

.biz-query .display-content .display-content-list
{
  width: 100%;
  height: 100%;
  padding: 15px 20px;
}

.biz-query .display-content .item
{
  height: 80px;
  padding: 0px;
  margin: 0px;
  border: none;
  border-bottom: 1px solid #ddd;
}

.biz-query .display-content .item:last-child
{
  border: none;
}

.biz-query .display-content .item button
{
  width: 100%;
  height: 100%;
  display: inline-block;
  margin: 0;

  padding: 0px;
  padding-left: 70px;

  font-size: 20px;
  line-height: 20px;
  text-align: left;

  background-image: url("https://web-static.onemap.sg/images/main/createMyMap/basemap-active_64.png");
  background-repeat: no-repeat;
  background-position: 15px center;
  background-size: 40px 40px;
}

.biz-query .display-content .item button:hover
{
  color: #fff;
  background-color: #ee524f;
  background-image: url("https://web-static.onemap.sg/images/main/createMyMap/basemap-selected_64.png");
  background-repeat: no-repeat;
  background-position: 15px center;
  background-size: 40px 40px;
}

.biz-query .display-header .hybridIcon {
    position: relative;
    z-index: 400;
    background-image: url(https://web-static.onemap.sg/images/main/menu/icon_otherSetting.png);
    background-repeat: no-repeat;
    background-position: top right;
    background-size: 40px 40px;
    height: 40px;
    width: 40px;
    float: right;
    margin: 8px;
    /* background-color:#fff;*/
}

/* lists */
ul.input-list {
  list-style: none;
  margin: 0 -10px;
  padding: 0;
}
ul.input-list li {
  display: block;
  padding: 0 10px;
  width: 50%;
  float: left;
}

/* ============================================================
  STYLE 1
============================================================ */
.style-1 input[type="text"] {
  padding: 10px;
  border: solid 1px gainsboro;
  -webkit-transition: box-shadow 0.3s, border 0.3s;
  -moz-transition: box-shadow 0.3s, border 0.3s;
  -o-transition: box-shadow 0.3s, border 0.3s;
  transition: box-shadow 0.3s, border 0.3s;
}
.style-1 input[type="text"]:focus, .style-1 input[type="text"].focus {
  border: solid 1px #707070;
  -webkit-box-shadow: 0 0 5px 1px #969696;
  -moz-box-shadow: 0 0 5px 1px #969696;
  box-shadow: 0 0 5px 1px #969696;
}

.sq-popup {
  left : 50px !important;
  bottom: 10px !important;
}
.sq-popup .leaflet-popup-tip-container{
  width: 340px;
  left: -40px;
}
.sq-popup .leaflet-popup-tip{
  width: 100%;
  transform:rotate(0deg);
  height: 2px;
  margin-top: 0px;
  background-color:orange;
  
}


/* ============================================================
  tabs 
============================================================ */

#bizTab div {
  /* overflow: auto!important; */
}

#bizTab .nav-tabs-container {
  position: fixed;
    margin: 152px 0px 0px 0px;
    padding: 0px 15px;
    width: 360px;
}

#bizTab .nav {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
    margin-top: 0px;
}
#bizTab .nav > li {
  position: relative;
  display: block;
  /* margin-top: 60px;*/
}
#bizTab .nav > li > a {
  position: relative;
  display: block;
  height: 45px;
  padding: 0px;
}
#bizTab .nav > li > a:hover,
#bizTab .nav > li > a:focus {
  text-decoration: none;
  background-color: #fff;
}

#bizTab .nav-tabs {
  border-bottom: none;
  margin: 0px 25px;
}
#bizTab .nav-tabs > li {
    float: left;
    /* margin-bottom: -1px; */
    width: 50%;
    height: 45px;
    text-align: center;
    font-size: 14px;
}
#bizTab .nav-tabs > li > a {
  margin-right: 0px;
  line-height: 45px;
  border: none;
  border-radius: 0;
}
#bizTab .nav-tabs > li > a:hover {
  border-color: #eee #eee #ddd;
}
#bizTab .nav-tabs > li.active > a,
#bizTab .nav-tabs > li.active > a:hover,
#bizTab .nav-tabs > li.active > a:focus {
  color: #555;
  cursor: default;
  background-color: transparent;
  border: none;
  border-bottom: 3px solid #e93a00;
  /*border-bottom-color: transparent;*/
}
#bizTab .nav-tabs > li > a .position.disabled{
  opacity: 0.4;
}
#bizTab .nav-tabs > li > a .position
{
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 35px 35px;
    width: 35px;
    height: 35px;
}

.tab-content > .tab-pane {
    display: none;
}

.tab-content > .active {
    display: block;
}

/* for switching between category and about START */

#bizTab .navHori {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
    margin-top: 0px;
}
#bizTab .navHori > li {
  position: relative;
  display: block;
}
#bizTab .navHori > li > a {
  position: relative;
  display: block;
  /*padding: 10px 14px;*/
  background-color: #fff
}
#bizTab .navHori > li > a:hover,
#bizTab .navHori > li > a:focus {
  text-decoration: none;
}

/* for switching between category and about END */

.tab-content > .tab-pane {
    display: none;
}

.tab-content > .active {
    display: block;
}

@media only screen
and (min-device-width : 320px)
and (max-device-width : 320px)
{
   #schoolTab .nav-tabs > li > a
   {
    font-size: 13px;
   }

   .biz-query .create-form .biz-header
   {
      font-size:11px;
      line-height: 16px;
   }

   .biz-query .create-form button, .biz-query .display-bizlist button
   {
      margin: 0px 0px;
   }
}

#bizSearchMapBtn {
    background-image: url("https://web-static.onemap.sg/images/main/bizQuery/OM2_BizQLoc-01.png");
    background-repeat: no-repeat;
    background-position: 10%;
    background-size: 35px 35px;
    background-color: white;
    border: none;
    color: #0F245A;
    text-align: center;
    text-decoration: none;
    display: block;
    font-size: 16px;
    cursor: pointer;
    border-radius: 8px;
    margin: 15px 25px 15px 25px;
    width: calc(100% - 25px - 25px);
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.1), 0 6px 20px 0 rgba(0,0,0,0.1);
}

#bizSearchMapBtn:active {
  background-color: #FF1744;
  color: white;
  background-image: url("https://web-static.onemap.sg/images/main/bizQuery/OM2_BizQLocInv-01.png");
}

.radiusPopup {
  width: 100px;
  font-size: 16px;
}

.leaflet-popup-content {
  width: auto !important;
}

.leaflet-popup-content-wrapper {
  width: auto !important;
}