@font-face {
    font-family: 'LaneAr';
    src: url('./inc/fonts/lanenar-webfont.woff2') format('woff2'),
         url('./inc/fonts/lanenar-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Allura';
    src: url('./inc/fonts/allura-regular-webfont.woff2') format('woff2'),
         url('./inc/fonts/allura-regular-webfont.woff') format('woff'),
         url('./inc/fonts/allura-regular-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Metropolis';
    src: url('./inc/fonts/metropolis-regular-webfont.woff2') format('woff2'),
         url('./inc/fonts/metropolis-regular-webfont.woff') format('woff'),
         url('./inc/fonts/metropolis-regular-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
  position: relative;
  padding: 0;
  margin: 0;
  font-family: "Metropolis";
  overflow: hidden;
}

html, body, #map {
  height: 100vh;
  width: 100vw;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

div#notification {
  position: absolute;
  top: -100px;
  left: calc(50% - 200px);
  width: 400px;
  height: 40px;
  border-radius: 0 0 3px 3px;
  background-color: rgba(255,255,255,0.8);
  z-index: 400;
  transition: all 0.6s ease-in-out;
  box-shadow: 0 3px 14px rgba(0,0,0,0.3);
  text-align: center;
  font-weight: bold;
}

div#notification p {
  margin: 10px;
}

div#notification.show {
  top: 0;
}

div#notification.error {
  background-color: rgba(168, 0, 0, 0.8);
  color: #FFF;
}

div#notification.success {
  background-color: rgba(6, 108, 2, 0.8);
  color: #FFF;
}

section.pane {
  position: absolute;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 1000;
  transition: all 0.6s ease-in-out;
  color: #444;
  box-shadow: 0 3px 14px rgba(0,0,0,0.3);
}

section.pane.open {
  right: 0;
}

section.pane nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

section.pane nav ul li {
  padding: 10px 8px;
  margin: 0 10px 0px 10px;
  width: 280px;
  border-radius: 3px;
  background-color: rgba(255,255,255,0.6);
  box-shadow: 0 3px 14px rgba(0,0,0,0.3);
  color: #444;
  transition: all 0.2s ease-in-out;
}

section.pane nav ul li:HOVER {
  background-color: rgba(0,0,0,0.8);
  box-shadow: 0 3px 14px rgba(0,0,0,0.6);
  color: #ccc;
  cursor: pointer;
}

section.pane nav.main {
  position: absolute;
  top: 18px;
}

section.pane nav.main section.login,
section.pane nav.main section.register {
  overflow: hidden;
  height: 0;
  padding-top: 10px;
  transition: height 0.2s ease-in-out;
}

section.pane nav.main section.login.open {
  height: 170px;
}

section.pane nav.main section.register.open {
  height: 210px;
}

section.pane nav.main input,
section.pane nav.main button {
  width: 280px;
  padding: 10px 8px;
  margin: 0 10px;
  background-color: rgba(255, 255, 255, 0.3);
  border: 0;
  box-shadow: 0 3px 14px rgba(0,0,0,0.3);
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-family: "Metropolis";
  font-size: 16px;
  color: #444;
  margin-bottom: 10px;
}

section.pane nav.main input:HOVER,
section.pane nav.main input:FOCUS {
  background-color: rgba(255, 255, 255, 0.3);
  outline: none;
  box-shadow: 0 3px 14px rgba(0,0,0,0.6);
}

section.pane nav.main button:HOVER,
section.pane nav.main button:FOCUS {
  background-color: rgba(0, 0, 0, 0.7);
  color: #FFF;
  cursor: pointer;
}

section.pane nav.legal {
  position: absolute;
  bottom: 35px;
}

section.pane nav.legal ul li {
  margin-bottom: 10px;
}

div.copy {
  position: absolute;
  bottom: 10px;
  margin: 0 10px;
}

.hamburger {
  position: relative;
  top: 10px;
  right: 57px;
  background-color: rgba(255,255,255,0.96);
  box-shadow: -3px 3px 14px rgba(0,0,0,0.3);
  border-radius: 3px 0 0 3px;
  outline: none;
  padding: 15px 15px;
  display: inline-block;
  cursor: pointer;
  transition-property: opacity, filter;
  transition-duration: 0.15s;
  transition-timing-function: linear;
  font: inherit;
  color: inherit;
  text-transform: none;
  border: 0;
  margin: 0;
  opacity: 0.8;
  overflow: visible; }
  .hamburger:hover {
    opacity: 1; }
  .hamburger.is-active:hover {
    opacity: 1; }
  .hamburger.is-active .hamburger-inner,
  .hamburger.is-active .hamburger-inner::before,
  .hamburger.is-active .hamburger-inner::after {
    background-color: #000; }

.hamburger-box {
  width: 27px;
  height: 20px;
  display: inline-block;
  position: relative; }

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -1px; }
  .hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 30px;
    height: 3px;
    background-color: #000;
    border-radius: 3px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease; }
  .hamburger-inner::before, .hamburger-inner::after {
    content: "";
    display: block; }
  .hamburger-inner::before {
    top: -10px; }
  .hamburger-inner::after {
    bottom: -10px; }


.hamburger--spring .hamburger-inner {
  top: 2px;
  transition: background-color 0s 0.13s linear; }
  .hamburger--spring .hamburger-inner::before {
    top: 10px;
    transition: top 0.1s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19); }
  .hamburger--spring .hamburger-inner::after {
    top: 20px;
    transition: top 0.2s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19); }

.hamburger--spring.is-active .hamburger-inner {
  transition-delay: 0.22s;
  background-color: transparent !important; }
  .hamburger--spring.is-active .hamburger-inner::before {
    top: 0;
    transition: top 0.1s 0.15s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.13s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1);
    transform: translate3d(0, 10px, 0) rotate(45deg); }
  .hamburger--spring.is-active .hamburger-inner::after {
    top: 0;
    transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.13s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1);
transform: translate3d(0, 10px, 0) rotate(-45deg); }

div.right {
  float: right;
  padding: 10px;
}

#placeTitle,
#placeDescription,
#submitPlace {
  width: 260px;
  background-color: rgba(255, 255, 255, 0.3);
  border: 0;
  box-shadow: 0 3px 14px rgba(0,0,0,0.3);
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-family: "Metropolis";
  font-size: 16px;
}

div.placeForm {
  width: 260px;
}

h1,
h2,
h3,
h4 {
  font-family: "Allura";
  font-weight: normal;
}

h2 {
  font-size: 28px;
  margin: 10px 0;
}

.leaflet-popup-content p {
  font-family: "Metropolis";
  margin-top: 10px;
}

input#placeTitle {
  padding: 5px;
  margin-bottom: 10px;
}

textarea#placeDescription {
  height: 100px;
  padding: 5px;
  margin-bottom: 10px;
  resize: none;
  overflow: auto;
}

#submitPlace {
  height: 40px;
  margin-top: 10px;
  margin-bottom: 5px;
}

#submitPlace:HOVER,
#submitPlace:FOCUS {
  background-color: rgba(0, 0, 0, 0.7);
  color: #FFF;
  cursor: pointer;
}

.leaflet-popup-content-wrapper {
  /*background-image: url("./inc/place3.png");*/
  /*background-color: transparent;*/
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 3px 14px rgba(0,0,0,0.4);
  border-radius: 3px;
}

.leaflet-popup-tip {
  background-color: rgba(255, 255, 255, 0.8);
  /*background-image: url("./inc/place3.png");*/
}