@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

::placeholder {
  color: inherit;
  opacity: .5;
}

a { color: inherit; }

a,
p a,
dd a { 
  color: #1d3fbb;
}

textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px #ddd solid;
  padding: .375rem .75rem;
  border-radius: .5rem;
}

input:focus {
  outline: 0;
}

.leaflet-tile-pane {
  filter: grayscale(100%);
}

.overlay {
  position: relative;
  z-index: 5;
}

.overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,.5);
  z-index: -1;
}

.radio-star {
  cursor: pointer;
}

.radio-star input {
  position: absolute;
  width: 0;
  opacity: 0;
}

.rating .radio-star {
  position: absolute;
  left: 0;
}

.rating label span {
  color: transparent;
}

.rating label:last-child {
  position: static;
}

.rating label:last-child span {
  color: #ddd;
}

.rating:not(:hover) label input:checked ~ span,
.rating:hover label:hover input ~ span {
  color: #fa0;
}

#photom.open {
  opacity: 1;
  z-index: 9999;
}

#photom {
  opacity: 0;
  transition: 330ms;
  z-index: -1;
}

.checkbox-tag input {
  position: absolute;
  width: 0;
  opacity: 0;
}

.checkbox-tag input:checked ~ span {
  background: black;
  color: white;
}

/**
 * Two lines truncate
 */

.txt-truncate-line {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 48px;
}

/**
 * Fix select behavior
 */

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  text-indent: -1px;
}

.select {
  position: relative;
  display: inline-block;
}

.select select {
  padding-right: 10px;
}

.select:after {
  content: '';
  position: absolute;
  border-width: 5px 4px 0 4px;
  border-color: black transparent transparent;
  border-style: solid;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  margin-top: 1px;
  z-index: -1;
}
