/* latin-ext */
@font-face {
  font-family: 'text';
  font-style: normal;
  font-weight: 300;
  src: url(latin.woff2) format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'text';
  font-style: normal;
  font-weight: 300;
  src: url(latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* chinese */
@font-face {
  font-family: 'text';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(chinese.woff2);
  unicode-range: U+3000-30FF, U+FF00-FFEF, U+4E00-9FAF;
}

body, .ui-widget {
  font-family: text; !important;
}

h1 {
  font-size: 2.1em;
  text-align: center;
}

p {
  font-size: 1.6em;
}

div.menu {
  text-align: right;
}

div.menu a {
  font-size: 2em;
  text-decoration: none;
  color: black;
}

.swal2-html-container a {
  text-decoration: none;
  color: gray;
}

.swal2-html-container a:hover {
  text-decoration: underline;
  color: black;
}

.swal2-html-container ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  font-size: 1.6em;
}

#accordion {
  margin-top: 10px;
}

#accordion h3 {
  font-weight: bold;
  background: #3298dc;
  color: white;
  font-size: 1.25em;
}

#accordion p {
  font-size: 1.25em;
}

.ui-state-active {
  border: 1px solid #c5c5c5;
}

.actionset {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 50px;
  gap: 10px;
  padding-bottom: 10px;
}

.actionset a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.actionset select {
  width: 100%;
  color: #454545;
  font-size: 1em;
  padding: 2px;
  font-family: text;
}

.ui-helper-clearfix::before, .ui-helper-clearfix::after {
  display:none !important;
}

.leaflet-container h2 {
  font-size: 1.2em;
}

.leaflet-container a.ui-button {
  color: #454545;
  font-size: 1em;
  padding: 2px;
}

.container {
  display: flex;
  padding: 20px
}

#table-container {
  padding: 20px
}

.btn-box {
  text-align: center;
  margin-top: 20px;
}

#map {
  height: 75vh;
  width: 100%;
  border-radius: 20px;
  margin: auto;
}

.container {
  resize: vertical;
}

div#tabs {
  border-radius: 20px;
  padding: 0;
}

a {
  cursor: pointer;
}

a#baiyue-btn {
  background: #0066a2;
  color: white;
  font-size: 1.25em;
}

a#xiaobaiyue-btn {
  background: #728224;
  color: white;
  font-size: 1.25em;
}

.swal2-html-container h1 {
  margin-top: 2em;
}

.swal2-html-container p {
  text-align: left;
}

#tab-xiaobaiyue, #tab-baiyue {
  padding: 15px 0;
}

th {
  text-align: left;
}

td {
  font-size: 1.2em;
}

tr.highlight, tr.highlight > td {
  background: lightyellow !important;
}

.header {
  font-size: 1.75em;
  font-weight: bold;
}

p.center, td.center, th.center {
  text-align: center;
}

td.location,
p.small {
  font-size: 1.25em;
}

table.dataTable td.link {
  cursor: pointer;
}

table.dataTable.no-footer {
  border: none;
}

input[type='checkbox'] {
  width: 1.5em;
  height: 1.5em;
}

.leaflet-container a.leaflet-popup-close-button {
  font-size: 1.75em;
  margin: 5px;
}

.leaflet-container a.marker {
  font-size: 1.1rem;
}

.leaflet-popup-content ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.leaflet-popup-content ul li{
  margin: 10px;
}

.leaflet-popup-content {
  text-align: center;
}

.leaflet-right.leaflet-top {
  height: 36px;
  background-color: #3298dc;
}

.leaflet-left.leaflet-bottom {
  background-color: #3298dc;
  color: white;
  font-size: 1.5em;
  padding: 0 10px;
}

.leaflet-bottom {
  pointer-events: all;
  display: flex;
}

#dropdown-menu {
  border: 0;
  background-color: #3298dc;
  color: #fff;
  font-size: 1.5em;
  cursor: pointer;
  pointer-events: auto;
  border: 1px black;
  height: 32px;
  width: 40px;
  text-align: center;
}

select > option.hidden {
    display: none;
}

.ui-dialog {
  z-index: 9999;
}

.btn {
  font-size: 1rem;
  border-radius: 5px;
}

.btn-disabled {
  color: grey !important;
  cursor: default;
}

.leaflet-control-resizer-corner-s {
  z-index: 999; /* 1000 would break the checkbox selector div in the lower left corner */
}

img.swal2-image {
  margin: 0
}

@media only screen and (max-width: 1024px) {
  .container {
    display: block;
    padding: 5px
  }
  
  #table-container {
    padding: 5px
  }

  #description {
    height: auto;
    width: 100%;
    border-radius: 10px;
    padding: 20px;
    margin: auto
  }

  #map {
    width: 100%;
    border-radius: 10px;
    margin: auto;
    margin-top: 20px
  }
    
  div#tabs {
    border-radius: 10px;
  }
  
  .leaflet-bottom {
    display: unset;
  }
  
  div.menu ul {
    top: -3px;
    left: 90px;
    border-radius: 5px;
  }
}
