#map {
  padding: 0;
}

.ldmap_scale {
  font-size: 14px;
  z-index: 9999;
  text-shadow: 0.05em 0.05em 0.05em #fff;
}

#location-desc {
  font-size: 14px;
  text-align: right;
  z-index: 9999;
  text-shadow: 0.05em 0.05em 0.05em #fff;
}

#newPoint {
  cursor: pointer;
  position: relative;
  bottom: 30px;
  background-color: white;
  color: #4777B5;
  border-radius: 5px;
  display: none;
  text-align: left;
  z-index: 12;
  font-family: "thaisans_neue";
  font-size: 18px !important;
  width: max-content;
  height: max-content;
  margin-bottom: 10px;
  padding: 5px;
  min-width: 130px;
}

@media screen and (max-width: 490px) {
  #newPoint {
    bottom: 60px;
    position: relative;
  }

  #newWildfirePoint {
    bottom: 60px;
    position: relative;
  }

  .ldmap_scale {
    bottom: 50px;
  }
}

/* search panel */
#txt-keyword {
  /*font-family: "thaisans_neue";
  font-size: 18px;*/
}

.embedded-to-textbox {
  background-color: transparent;
  color: #CCC;
  padding: 0;
  position: absolute;
  top: 0;
  z-index: 10;
}

#search-example-remove-button {
  background-color: transparent;
  color: #CCC;
  padding: 0;
  z-index: 10;
}

/*#search-remove-button {
  right: 80px;
}*/

#filter-button {
  /*right: 30px;*/
  padding: 6px 6px;
}

#filter-button .icon {
  background: url(../images/icon_filter@2x.png) no-repeat;
  background-size: 100%;
  width: 20px;
  height: 20px;
  margin: 0 auto;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 20px;
}

/* Hide default HTML checkbox */
.switch input {display:none;}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 12px;
  width: 12px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #4777B5;
}

input:focus + .slider {
  box-shadow: 0 0 1px #4777B5;
}

input:checked + .slider:before {
  -webkit-transform: translateX(30px);
  -ms-transform: translateX(30);
  transform: translateX(30px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 20px;
}

.slider.round:before {
  border-radius: 50%;
}

#search-remove-button {
  right: 50px;
}

#search-remove-button .icon {
  background: url(../images/icon_close2@2x.png) no-repeat;
  background-size: 100%;
  width: 20px;
  height: 20px;
  margin: 0 auto;
}


.search-button {
  padding: 6px 8px !important;
}

.search-button .icon {
  background: url(../images/Shape@2x.png) no-repeat;
  background-size: 100%;
  width: 15px;
  height: 17px;
  margin: 2px auto 0 auto;
}

#advance-search-holder, #layer {
  overflow-y: auto;
}

.icon-suspect {
  /*background-image: url(../images/icon_pin2@2x.png);*/
  background-image: url(../images/icon_pin2_gray@2x.png);
}

/*.active .icon-suspect {
  background-image: url(../images/icon_pin2_gray@2x.png);
}*/

.icon-layer {
  background-image: url(../images/icon_layer@2x.png);
}

a > .icon {
  position: absolute;
  top: 5px;
  left: 5px;
  background-size: 100%;
  width: 23px;
  height: 23px;
}

#search-panel .nav-tabs {
  border-bottom: 0 none;
}
#search-panel .nav-tabs > li> a {
  border-bottom-color: transparent;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  box-shadow: none;
  font-size: 20px;
  border: 1px solid #DDD !important;
  border-bottom-color: transparent !important;
  cursor: pointer;
}

#search-panel .nav-tabs > li> a:hover {
  background-color: #F9F9F9 !important;
}

#search-panel .nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
  color: #2C3E50 !important;
  cursor: default;
  background-color: #F2F2F2 !important;
}

#advance-search-holder .filter-row {
  margin-top: 10px;
  padding: 0;
}

#search-helper {
  position: absolute;
  width: 100%;
  top: 34px;
  left: 0;
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgb(204, 204, 204);
  padding: 5px;
  z-index: 3;
  border-top-width: 0;
  border-radius: 0 0 4px 4px;
  font-size: 12px;
  display: none;
}

.title-search-example {
  font-weight: bold;
  padding-right: 5px;
  text-align: right;
}

#search-helper td {
  padding-top: 5px;
}

.keyword-sample {
  cursor: pointer;
}

ul.typeahead {
  font-size:12px;
  max-height: 200px;
  overflow-y: auto;
  width:100%;
}

.layer-category {
  background-color: #4777B5;
  text-align: center;
  margin-top:5px;
  color: #FFF;
  font-family: "thaisans_neue";
  font-size: 17px;
  border-radius: 20px;
}

#search_suggest_div {
  z-index:3;
  background-color:#FFF;
}

#search-type {
  font-family: "thaisans_neue";
  width: 100% !important;
  margin: 5px 0px 5px 0px !important;
  font-size: 18px;
}

.place-list {
  overflow-y: auto;
}

.place-item {
  font-size: 12px;
  background-color: #fff;
  margin-bottom: 5px;
  /*border-radius: 3px;*/
  cursor: pointer;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 5px;
}

.place-item:hover, .place-item.active {
  background-color: #FFFDE2;
}

img.placeicon {
  width: 20px;
  height: 20px;
  margin-top: 12px;
}

.place-name {
  /*font-family: "thaisans_neue";*/
  font-size: 14px;
  margin-top: 5px;
  font-weight: 500;
  /*color: #4777B5;*/
}

.place-address{
  color: #9B9B9B;
  line-height: 20px;
  font-size: 13px;
}

.search-result-footer{
  color: #C54719;
  /*text-decoration: underline;*/
  /*display: inline-block;*/
  /*cursor: pointer;*/
  /*font-family: "thaisans_neue";*/
  font-size: 14px;
  margin-top: 5px;
  text-align: center;
  position: relative;
}

.ldmap_placeholder .ldmap_menubar .ldmap_group {
    padding: 0px 6px !important;
    background: none !important;
}

.ldmap_group > hr {
  margin: 5px 0;
  background-color: #AFAFAF;
}

.search-result-footer.more{
  text-decoration: underline;
  /*display: inline-block;*/
  cursor: pointer;
}

.legend-toggle {
  color: #CCC;
  visibility: hidden;
}

.legend-toggle:hover {
  text-decoration: none;
}

.has-legend, .metadata-toggle {
  color: #4777B5;
  cursor: pointer;
  visibility: visible;
}

#refresh-data-panel {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #fffdaa;
  border: 1px solid #3a3a3a;
  padding: 3px;
  width: 100%;
  z-index: 2;
  display: none;
}

.newpointDetail > .divNewPointHeader {
  padding: 0px 0px 0px 15px;
}

#create-area-map {
  height: 350px;
  margin-bottom: 10px;
}

.create-area-field {
  margin: 5px 0px;
}

.create-area-field > .name {
  padding: 0px 0px 0px 15px;
}

.create-area-field > .value {
}

.create-area-field > .value.area-size {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.create-area-field > .value.area-size > .unit {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-right: 10px;
  box-sizing: border-box;
}

#area-rai {
  width: 75px;
  margin-right: 5px;
  text-align: right;
}

#area-ngan {
  width: 75px;
  margin-right: 5px;
  text-align: right;
}

#area-wa {
  width: 75px;
  margin-right: 5px;
  text-align: right;
}

#area-meter {
  width: 287px;
  margin-right: 5px;
  text-align: right;
}

@media screen and (max-width: 490px) {
  .create-area-field > .value.area-size {
    display: flex;
    flex-direction: column;
  }

  .create-area-field > .value.area-size > .unit {
    width: 100%;
    padding: 0px 0px 5px 5px;
  }

  #area-rai {
    width: 125px;
    margin-right: 5px;
  }
  
  #area-ngan {
    width: 125px;
    margin-right: 5px;
  }
  
  #area-wa {
    width: 125px;
    margin-right: 5px;
  }

  #area-meter {
    width: 125px;
    margin-right: 5px;
  }
}

/*
  Sharingbutton
  https://sharingbuttons.io/
*/

.resp-sharing-button__link,
.resp-sharing-button__icon {
  display: inline-block
}

.resp-sharing-button__link {
  text-decoration: none;
  color: #fff;
  margin: 0.5em
}

.resp-sharing-button {
  border-radius: 5px;
  transition: 25ms ease-out;
  padding: 0.5em 0.75em;
  font-family: Helvetica Neue,Helvetica,Arial,sans-serif
}

.resp-sharing-button__icon svg {
  width: 1em;
  height: 1em;
  margin-right: 0.4em;
  vertical-align: top
}

.resp-sharing-button--small svg {
  margin: 0;
  vertical-align: middle
}

/* Non solid icons get a stroke */
.resp-sharing-button__icon {
  stroke: #fff;
  fill: none
}

/* Solid icons get a fill */
.resp-sharing-button__icon--solid,
.resp-sharing-button__icon--solidcircle {
  fill: #fff;
  stroke: none
}

.resp-sharing-button--twitter {
  background-color: #55acee
}

.resp-sharing-button--twitter:hover {
  background-color: #2795e9
}

.resp-sharing-button--pinterest {
  background-color: #bd081c
}

.resp-sharing-button--pinterest:hover {
  background-color: #8c0615
}

.resp-sharing-button--facebook {
  background-color: #3b5998
}

.resp-sharing-button--facebook:hover {
  background-color: #2d4373
}

.resp-sharing-button--tumblr {
  background-color: #35465C
}

.resp-sharing-button--tumblr:hover {
  background-color: #222d3c
}

.resp-sharing-button--reddit {
  background-color: #5f99cf
}

.resp-sharing-button--reddit:hover {
  background-color: #3a80c1
}

.resp-sharing-button--google {
  background-color: #dd4b39
}

.resp-sharing-button--google:hover {
  background-color: #c23321
}

.resp-sharing-button--linkedin {
  background-color: #0077b5
}

.resp-sharing-button--linkedin:hover {
  background-color: #046293
}

.resp-sharing-button--email {
  background-color: #777
}

.resp-sharing-button--email:hover {
  background-color: #5e5e5e
}

.resp-sharing-button--xing {
  background-color: #1a7576
}

.resp-sharing-button--xing:hover {
  background-color: #114c4c
}

.resp-sharing-button--whatsapp {
  background-color: #25D366
}

.resp-sharing-button--whatsapp:hover {
  background-color: #1da851
}

.resp-sharing-button--hackernews {
background-color: #FF6600
}
.resp-sharing-button--hackernews:hover, .resp-sharing-button--hackernews:focus {   background-color: #FB6200 }

.resp-sharing-button--vk {
  background-color: #507299
}

.resp-sharing-button--vk:hover {
  background-color: #43648c
}

.resp-sharing-button--facebook {
  background-color: #3b5998;
  border-color: #3b5998;
}

.resp-sharing-button--facebook:hover,
.resp-sharing-button--facebook:active {
  background-color: #2d4373;
  border-color: #2d4373;
}

.resp-sharing-button--twitter {
  background-color: #55acee;
  border-color: #55acee;
}

.resp-sharing-button--twitter:hover,
.resp-sharing-button--twitter:active {
  background-color: #2795e9;
  border-color: #2795e9;
}

.resp-sharing-button--email {
  background-color: #777777;
  border-color: #777777;
}

.resp-sharing-button--email:hover,
.resp-sharing-button--email:active {
  background-color: #5e5e5e;
  border-color: #5e5e5e;
}

/*
  Sharingbutton
  https://sharingbuttons.io/
*/

input.copy-sharing {
  width: calc(100% - 60px);
  border: 1px solid #ccc;
  height: 28px;
  padding: 0px 8px;
  box-sizing: border-box;
  margin: 0px;
  border-radius: 4px 0px 0px 4px;
  color: #4a4a4a;
}

button.copy-sharing {
  width: 60px;
  border: none;
  box-sizing: border-box;
  background-color: #4777B5;
  color: #FFF;
  border-radius: 0px 4px 4px 0px;
  height: 28px;
  padding: 0px;
  margin: 0px;
}

#get-feature-info-modal .selected-point {
  padding-bottom: 32px;
}

#get-feature-info-modal .latlon {
  text-align: center;
  font-size: 16px;
  font-weight: bold;
}

#get-feature-info-modal .address {
  text-align: center;
  font-size: 16px;
  font-weight: bold;
}

#get-feature-info-modal .empty {
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  color: #9B9B9B;
  padding-bottom: 32px;
}

#get-feature-info-modal .layer {
  padding-bottom: 32px;
}

#get-feature-info-modal .layer > .layer-name {
  font-size: 16px;
  font-weight: bold;
  padding-bottom: 4px;
}

#get-feature-info-modal .layer > .layer-info {
  padding-left: 16px;
  overflow: hidden;
  overflow-x: auto;
}

#get-feature-info-modal .layer > .layer-info.loading {
  overflow-y: hidden;
}

#get-feature-info-modal .layer > .layer-info.empty {
  color: #9B9B9B;
}

#get-feature-info-modal .layer > .layer-info.error {
  color: #C54719;
}

#get-feature-info-modal table th {
  border: 1px solid #4777B5;
  padding: 4px 16px;
  text-align: center;
  color: #4777B5;
  background-color: #DBE1EF;
}

#get-feature-info-modal table td {
  border: 1px solid #4777B5;
  padding: 4px 16px;
  text-align: center;
}

#get-status-area-modal .selected-point {
  padding-bottom: 16px;
}

#get-status-area-modal .latlon {
  text-align: center;
  font-size: 16px;
  font-weight: bold;
}

#get-status-area-modal .address {
  text-align: center;
  font-size: 16px;
  font-weight: bold;
}

#get-status-area-modal .layer {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 8px 0px;
  border-bottom: 1px solid #eaeaea;
  font-size: 14px;
}

#get-status-area-modal .status {
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 8px;
}

#get-status-area-modal .status > img {
  width: 24px;
  height: 24px;
}