html {
  position: relative;
  min-height: 100%;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'Roboto Condensed', sans-serif;
  background: #F2F2F2;
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
}

small {
  font-weight: 400;
}

.navbar-nav {
  font-weight: 600;
}

.badge {
  font-weight: 600;
}

button:focus, input:focus, textarea:focus, .form-control:focus {
  box-shadow: none !important;
  outline: none !important;
  border-color: inherit !important;
}

.btn {
  font-weight: 600;
}

.bg-grey {
  background: #D7D7DC;
}

.text-main {
  color: #007bff;
}

.btn-main {
  color: #FFF;
  background-color: #007bff;
  border-color: #007bff;
}

.btn-main:hover {
  color: #FFF;
  background-color: #0076f5;
  border-color: #0076f5;
}

.btn-main.disabled, .btn-main:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-outline-main {
  color: #007bff;
  background-color: #FFF;
  border-color: #007bff;
}

.btn-outline-main:hover {
  color: #FFF;
  background-color: #007bff;
}

.box-default {
  border-radius: 0.25rem;
  border: 1px solid rgba(0, 0, 0, 0.125);
  background: #FFF;
}

.box-plain {
  border-radius: 0.25rem;
  border: 1px solid rgba(0, 0, 0, 0.125);
}

.box-main {
  border-radius: 0.25rem;
  border: 1px solid #007bff;
}

.mb-40 {
  margin-bottom: 40px;
}

.mt-40 {
  margin-top: 40px;
}

.mb-60 {
  margin-bottom: 60px;
}

.mt-60 {
  margin-top: 60px;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 60px;
  line-height: 60px;
}

.wrapper {
  position: relative;
}

@media only screen and (max-width: 768px) {
  .wrapper .sidebar {
    position: absolute;
    top: 0;
    left: 0;
    display: none;
  }
  .wrapper .sidebar.show {
    display: block;
    z-index: 2000;
  }
}

.sidebar-sticky {
  position: sticky;
  top: 56px;
  height: calc(100vh - 56px);
  overflow-x: hidden;
  overflow-y: auto;
}

.main {
  position: relative;
}

.main .infobox {
  position: absolute;
  bottom: 0;
  left: 0;
  display: none;
  font-family: 'Roboto Condensed', 'Pridi';
}

.main .infobox h4 {
  font-weight: 300;
  text-transform: capitalize;
}

.main .infobox .note {
  text-transform: none;
}

.main .infobox .note p {
  margin-bottom: 0;
  margin-top: 10px;
  border-top: 1px solid #CCC;
  padding-top: 5px;
  font-size: 0.9em;
  white-space: pre-wrap;
}

.main .infobox.show {
  display: block;
}

.main .infobox .btn-close {
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 0;
  background: #E5E5E5;
  color: #999;
}

.main .infobox .btn-close:hover {
  color: #999;
}

.mapbox {
  position: relative;
  height: calc(100vh - 56px);
}

.mapbox .map-button {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 800;
}

.mapbox #the-map-g {
  width: 505px;
  height: 375px;
  position: relative;
}

.mapbox #the-map-g #map-marker {
  position: absolute;
  display: none;
}

.mapbox #the-map-g svg text {
  font-family: 'Roboto Condensed' !important;
}

.mapbox #the-map-g svg path {
  cursor: pointer;
}

.navbar .btn {
  height: 56px;
  border: none;
  border-radius: 0;
}

.actionbar #btn-only-fav {
  background: none;
  color: #999;
}

.actionbar #btn-only-fav .btn-inactive {
  display: inline-block;
}

.actionbar #btn-only-fav .btn-active {
  display: none;
}

.actionbar #btn-only-fav.active .btn-inactive {
  display: none;
}

.actionbar #btn-only-fav.active .btn-active {
  display: inline-block;
}

.actionbar .searchbox {
  position: relative;
}

.actionbar .searchbox a {
  color: #CCC;
  font-size: 12px;
  cursor: pointer;
  position: absolute;
  right: 10px;
  top: 10px;
}

.actionbar .searchbox a:hover {
  color: #CCC;
}

#booth-list ul {
  margin: 0;
  padding: 0;
}

#booth-list ul li {
  cursor: pointer;
  list-style: none;
  font-family: 'Roboto Condensed', 'Pridi';
  font-weight: 300;
  text-transform: capitalize;
}

#booth-list ul li .fav .fas {
  color: #007bff;
}

#booth-list ul li .detail {
  display: none;
}

#booth-list ul li .note {
  text-transform: none;
}

#booth-list ul li .note p {
  margin-bottom: 0;
  margin-top: 10px;
  border-top: 1px solid #CCC;
  padding-top: 5px;
  font-size: 0.9em;
  white-space: pre-wrap;
}

#booth-list ul li:hover {
  background: rgba(0, 0, 0, 0.05);
}

#booth-list ul li.active {
  background: rgba(0, 0, 0, 0.1);
  border-left: 4px solid #007bff;
}

#booth-list ul li.active .detail {
  display: block;
}

#modal-add-note .modal-title {
  font-family: 'Roboto Condensed', 'Pridi';
  font-weight: 300;
}
