#map {
  height: 100vh;
  width: 100%;
}
body {
  touch-action: manipulation;
  margin: 0;
  height: 100%;
  overflow: hidden;
  font-family: 'Montserrat';
}

html {
  margin: 0;
  height: 100%;
  overflow: hidden;
}

.box {
  display: none;
  position: absolute;
  flex-direction: column;
  justify-items: center;
  align-self: center;
  z-index: 100;
  width: 100%;
}

.search {
  display: flex;
  margin: 10px 100px;
  border-radius: 10px;
  height: 35px;
}

#fly {
  display: flex;
  position: absolute;
  flex-direction: column;
  justify-items: center;
  align-self: center;
  z-index: 100;
  background: none;
  border: none;
  padding: 10px;
  margin: 10px;
  border: 3px solid black;
  border-radius: 25px;
  background-color: white;
}

#fly i {
  font-size: 20px;
}

#filter {
  display: flex;
  position: absolute;
  bottom: 0px;
  left: 0;
  z-index: 100;
  background: none;
  border: none;
  padding: 10px;
  margin: 10px;
  cursor: pointer;
  border: 3px solid black;
  border-radius: 25px;
  background-color: white;
}

#filter i {
  font-size: 20px;
}

#contact {
  display: flex;
  position: absolute;
  bottom: 0px;
  right: 0;
  z-index: 100;
  background: none;
  border: none;
  padding: 10px;
  margin: 10px;
  cursor: pointer;
  border: 3px solid black;
  border-radius: 25px;
  background-color: white;
}

#contact i {
  font-size: 20px;
}

#tip {
  display: flex;
  position: absolute;
  bottom: 0px;
  right: 70px;
  z-index: 100;
  background: none;
  border: none;
  padding: 10px;
  margin: 10px;
  cursor: pointer;
  border: 3px solid black;
  border-radius: 25px;
  background-color: white;
}

#tip i {
  font-size: 20px;
}
#contact a {
  width: 20px;
  z-index: 101;
}

.bad-marker {
  background-image: url('images/bad-marker.png');
  background-size: cover;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
}

#share-row {
  position: absolute;
  display: none;
  z-index: 102;
  background: none;
  position: fixed;
  /* center the element */
  right: 0;
  left: 8px;
  top: 30%;
  margin-right: auto;
  margin-left: auto;
  /* give it dimensions */
  min-height: 10em;
  width: 270px;
  border-radius: 32px;
  padding: 20px;
  background-color: white;
  text-align: center;

  border-radius: 20px 20px 20px 20px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  opacity: 1;
  animation: fadein 0.5s;
}

.fa {
  padding: 10px;
  font-size: 30px;
  width: 50px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
  border-radius: 10%;
}

.fa:hover {
  opacity: 0.7;
}

.far:hover {
  opacity: 0.7;
}

.fa-facebook {
  background: #3b5998;
  color: white;
}

.fa-copy {
  font-size: 40px;
  border-style: none;
  cursor: pointer;
}

.fa-envelope {
  background: gray;
  color: white;
  padding: 10px;
  font-size: 30px;

  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
  border-radius: 10%;
}

.bad-marker:hover {
  transition: 1s ease-in-out;
  transform-origin: left top;
  background: #75cff0;
}

.special-marker {
  background-image: url('images/special-marker.png');
  background-size: cover;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
}

.special-marker:hover {
  transition: 1s ease-in-out;
  transform-origin: left top;
  background: orange;
}

.fri-marker {
  background-image: url('images/fri-marker.png');
  background-size: cover;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
}

.fri-marker:hover {
  transition: 1s ease-in-out;
  transform-origin: left top;
  background: #3cd843;
}

.kultur-marker {
  background-image: url('images/kultur-marker.png');
  background-size: cover;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
}

.kultur-marker:hover {
  transition: 1s ease-in-out;
  transform-origin: left top;
  background: #af9bff;
}
.spontan-marker {
  background-image: url('images/spontan-marker.png');
  background-size: cover;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
}

.spontan-marker:hover {
  transition: 1s ease-in-out;
  transform-origin: left top;
  background: #ff4c4c;
}
.sport-marker {
  background-image: url('images/sport-marker.png');
  background-size: cover;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
}

.sport-marker:hover {
  transition: 1s ease-in-out;
  transform-origin: left top;
  background: #f3cf13;
}

#filtering {
  display: none;
  position: absolute;
  flex-direction: column;
  justify-items: center;
  align-self: center;
  z-index: 100;
  bottom: 10%;
  background: none;
  border: none;
  margin: 15px;
  margin-left: 50px;
  padding: 15px;
  background-color: white;
  padding-right: 45px;
  padding-bottom: 0;
  border-radius: 20px 20px 20px 0px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  opacity: 1;
  animation: fadein 0.5s;
}

#contact-row {
  position: absolute;
  z-index: 100;
  background: none;
  position: fixed;
  /* center the element */
  right: 0;
  left: 0;
  top: 30%;
  margin-right: auto;
  margin-left: auto;
  /* give it dimensions */
  min-height: 10em;
  width: 220px;
  border-radius: 32px;
  padding: 20px;
  background-color: white;
  text-align: center;

  border-radius: 20px 20px 20px 20px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  opacity: 1;
  animation: fadein 0.5s;
}

#contactpage {
  width: 80px;
  height: 30px;
  background: #ffffff;
  position: relative;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Montserrat';
  border: 2px solid black;
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

#contact-row h2 {
  font-style: italic;
}

#contact-row p {
  padding-bottom: 20px;
}

#filtering h4 {
  position: relative;
  bottom: 25px;
  left: 30px;
  color: black;
  font-weight: 400;
  padding: 0;
  margin: 5px;
}

.mapboxgl-ctrl-top-right {
  z-index: 101;
}

main {
  width: 50%;
  margin: 50px auto;
  text-align: center;
}

table {
  margin: 50px auto;
}

table,
th,
td {
  border-collapse: collapse;
  border: 1px solid black;
}

th,
td {
  padding: 5px;
}

.bad {
  background-color: blue;
}

.mapboxgl-popup-content {
  margin: 0;
  padding: 0;
}

h3,
p {
  padding: 0;
  margin: 0;
}

.title-box {
  width: 50%;
  background-color: white;
  margin: auto;
  padding: 10px 10px 10px 10px;
  border-radius: 32px;
  bottom: 20px;
  position: relative;
  z-index: 100;
}
.title {
  text-align: center;
  padding: 0;
  margin: 0;
  resize: none;
  width: 100px;
  border: none;
  background-color: white;
  font-family: 'Montserrat';
}

.image {
  margin-left: 12px;
  width: 225px;
  height: 150px;
  position: relative;
  bottom: 30px;
  border-radius: 25px 25px 0px 0px;
}

.date-box {
  background-color: white;
  width: 100px;
  height: 54px;
  border-radius: 8px;
  position: relative;
  bottom: 80px;
  left: 145px;
}
.date {
  font-size: 13px;
  padding-left: 13px;
  padding-top: 7px;
}
.dateend {
  font-size: 13px;
  padding-left: 13px;
  padding-top: 3px;
}

.time,
.adress {
  color: white;
  font-size: 11px;
  padding: 0;
  margin: 0;
}

.time-box {
  position: relative;
  left: 50px;
  bottom: 85px;
}

.beskrivning-box {
  background-color: white;
  width: 225px;
  height: 130px;
  border-radius: 16px;
  position: relative;
  left: 13px;
  bottom: 80px;
  margin: 0;
  padding: 0;
}
.content {
  position: relative;
  padding: 0px 10px 0px 10px;
  margin: 0;
  margin-left: 2px;
  bottom: 30px;
  resize: none;
  font-family: 'Montserrat';
  height: 110px;
  width: 221px;
  border: none;
  background: white;
}

.send {
  background-color: white;
  width: 100px;
  height: 42px;
  position: relative;
  left: 20px;
  bottom: 70px;
  border-radius: 8px;
  border-style: none;
  cursor: pointer;
}

.send i {
  font-size: 20px;
}

.site {
  background-color: white;
  width: 100px;
  height: 42px;
  position: relative;
  left: 30px;
  bottom: 70px;
  border-radius: 8px;
  border-style: none;
  cursor: pointer;
}

.site i {
  font-size: 20px;
}

.like {
  background-color: white;
  width: 110px;
  height: 52px;
  position: relative;
  left: 120px;
  bottom: 102px;
  border-radius: 8px;
}
.mapboxgl-popup-content {
  background: none;
}

.kultur-box {

  background-color: #af9bff;
  border-radius: 32px;
  position: relative;

  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px,
    rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px,
    rgba(0, 0, 0, 0.09) 0px -3px 5px;
  transform: scale(1);
  animation: pulse 1s;
}

.kultur-age-text {
  position: relative;
  padding: 0;
  margin: 0;
  font-size: 16px;
  text-align: center;
  top: 11px;
  color: #af9bff;
}
.kultur-age {
  background-color: #e8e2fe;
  position: relative;
  padding: 0;
  margin: 0;
  right: 10px;
  width: 42px;
  height: 42px;
  border-radius: 25px;
  bottom: 70px;
}

.bad-box {

  background-color: #75cff0;
  border-radius: 32px;
  position: relative;

  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px,
    rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px,
    rgba(0, 0, 0, 0.09) 0px -3px 5px;
  transform: scale(1);
  animation: pulse 1s;
}

.bad-age-text {
  color: #75cff0;
  position: relative;
  padding: 0;
  margin: 0;
  font-size: 16px;
  text-align: center;
  top: 11px;
}
.bad-age {
  background-color: #d7f4ff;
  position: relative;
  padding: 0;
  margin: 0;
  right: 10px;
  width: 42px;
  height: 42px;
  border-radius: 25px;
  bottom: 70px;
}

.special-box {

  background: orange;
  border-radius: 32px;
  position: relative;

  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px,
    rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px,
    rgba(0, 0, 0, 0.09) 0px -3px 5px;
  transform: scale(1);
  animation: pulse 1s;
}

.special-age-text {
  color: rgb(255, 251, 0);
  position: relative;
  padding: 0;
  margin: 0;
  font-size: 16px;
  text-align: center;
  top: 11px;
}

::placeholder {
  font-style: italic;
}

.special-age {
  background-color: darkorange;
  position: relative;
  padding: 0;
  margin: 0;
  right: 10px;
  width: 42px;
  height: 42px;
  border-radius: 25px;
  bottom: 70px;
}

.spontan-age-text {
  color: #ff4c4c;
  position: relative;
  padding: 0;
  margin: 0;
  font-size: 16px;
  text-align: center;
  top: 11px;
}
.spontan-age {
  background-color: #ffd0d0;
  position: relative;
  padding: 0;
  margin: 0;
  right: 10px;
  width: 42px;
  height: 42px;
  border-radius: 25px;
  bottom: 70px;
}

.spontan-box {
  background-color: #ff4c4c;
  border-radius: 32px;
  position: relative;

  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px,
    rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px,
    rgba(0, 0, 0, 0.09) 0px -3px 5px;
  transform: scale(1);
  animation: pulse 1s;
}

.fri-box {
  background-color: #3cd843;

  border-radius: 32px;
  position: relative;

  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px,
    rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px,
    rgba(0, 0, 0, 0.09) 0px -3px 5px;
  transform: scale(1);
  animation: pulse 1s;
}

.fri-age-text {
  position: relative;
  padding: 0;
  margin: 0;
  font-size: 16px;
  text-align: center;
  top: 11px;

  color: #3cd843;
}

.fri-age {
  background-color: #ccffce;
  position: relative;
  padding: 0;
  margin: 0;
  right: 10px;
  width: 42px;
  height: 42px;
  border-radius: 25px;
  bottom: 70px;
}

.sport-box {
  background-color: #f3cf13;

  border-radius: 32px;
  position: relative;

  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px,
    rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px,
    rgba(0, 0, 0, 0.09) 0px -3px 5px;
  transform: scale(1);
  animation: pulse 1s;
}
.sport-age-text {
  position: relative;
  padding: 0;
  margin: 0;
  font-size: 16px;
  text-align: center;
  top: 11px;

  color: #f3cf13;
}
.sport-age {
  background-color: #fdf5cf;
  position: relative;
  padding: 0;
  margin: 0;
  right: 10px;
  width: 42px;
  height: 42px;
  border-radius: 25px;
  bottom: 70px;
}

#kort {
  position: absolute;
  z-index: 100;
  background: none;
  margin: 0;
  top: 25%;
  left: 45vw;
  margin-left: -120px;
  border-radius: 32px;
}

.sport-box, .fri-box, .spontan-box, .kultur-box, .special-box, .bad-box {
  padding: 10px;
  width: 280px;
  height: 430px;
}

#kort label#popup-coords { display: inline-block; width: 70px; float: left; margin-top: 4px;}
#kort span#popup-coords-content { display: inline-block; width: 70px; float: left; margin-top: 4px; }
#kort .beskrivning-box { clear: both; }

@keyframes pulse {
  0% {
    transform: scale(0.1);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes fadein {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
