@font-face {
    font-family: 'DIN Bold';
    src: url('./font/DINPro-Bold.woff');
}

@font-face {
    font-family: 'Din Medium';
    src: url('./font/DINPro-Medium.woff');
}

@font-face {
  font-family: 'Refrigerator Deluxe Heavy';
  src: url('./font/refrigerator_deluxe_heavy-webfont.woff');
}

@font-face {
  font-family: refrigerator_deluxeheavy;
  src: url('./font/refrigerator_deluxe_heavy-webfont.woff');
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Din Medium', sans-serif;
  font-size: 14px;
  line-height: 18px;
  /*letter-spacing: 0.6px;*/

  /* Disable click hightlight color - apprent on Android devices
     - http://stackoverflow.com/questions/5210481/disable-orange-outline-highlight-on-focus
  */
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  -webkit-tap-highlight-color: transparent;

  -moz-osx-font-smoothing: antialiased;
  -webkit-font-smoothing: antialiased;
}

h1 {
  font-size: 20px;
}

textarea,
input.text,
input[type="text"],
input[type="search"],
input[type="button"],
input[type="submit"],
.input-checkbox {
  -webkit-appearance: none;
  -webkit-border-radius: 0;
     -moz-border-radius: 0;
          border-radius: 0;
}

.TopBar {
  font-weight: bold;
  background-color: rgba(0,0,0,0.65) !important
}
.TopBar-InterestMenu {
  display: inline-block;
  font-weight: normal;
  padding: 0 10px;
}
.TopBar-InterestMenu a {
  display: inline-block;
  height: 40px;
  /*background-color: red;*/
  margin: 0 6px;
  float: left;
  line-height: 42px;
  color: #fff;
  font-size: 16px;
  text-decoration: none;
}
.TopBar-InterestMenu a.active {
  border-bottom: 2px solid #FA7B00;
}

.SearchBar {
  background-color: #000;
}


.ol-overlaycontainer-stopevent {
  position: absolute;
  top: 42px;
}


.Popup {
  /*
    Generic
   */
  width: 300px;
  position: absolute;
  height: -webkit-calc(100% - 42px);
  height: -moz-calc(100% - 42px);
  height: calc(100% - 42px);
  right: 0;
  top: 42px;
  display: none;

  /*
    Cleveland Specific
   */

  background-color: #15343D;
  color: #fff;
  -webkit-box-shadow: -3px 0px 0px rgba(41, 45, 51, 0.3);
     -moz-box-shadow: -3px 0px 0px rgba(41, 45, 51, 0.3);
          box-shadow: -3px 0px 0px rgba(41, 45, 51, 0.3);
  overflow-y: auto;
}

.Popup-content {
  height: 100%;
}

.Popup-image {
  height: 225px; // 4:3
}

.Popup h1 {
  padding: 12px 12px 6px 12px;
  margin : 0;
  line-height: 1.2em;
}

.Popup-subname {
  color: #7f8185;
  margin: 0;
  padding: 0 12px 12px 12px;
}

.Popup-description {
  padding: 0 12px 24px 12px;
  margin: 0;
}

.Popup-details {
  z-index: 5;
  background-color: #2D4951;
  padding: 2px 0 2px 0;
}

.Popup-details a {
  color: #EB6506;
  text-decoration: none;
  overflow-wrap: break-word;
}

.Popup-details div {
  vertical-align: middle;
  padding: 0 0 0 0;
  min-height: 42px;
}

.Popup-mobile-image {
  display: none;
}

@media only screen and (max-width: 800px) {
  .Popup {
    height: 65px;
    width: 100%;
    top: auto;
    bottom: 0;
    overflow-y: hidden;

    -webkit-box-shadow: 0px -3px 0px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px -3px 0px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px -3px 0px 0px rgba(0, 0, 0, 0.2);
  }

  .Popup:not(.Popup-expanded) #popup_name {
    white-space: nowrap;
    overflow: hidden;
    -o-text-overflow: ellipsis;
       text-overflow: ellipsis;
  }

  .Popup .Popup-header {
    flex-basis: 70px;
    height: 70px;
  }

  .Popup.Popup-expanded {
    height: -webkit-calc(66% - 42px);
    height: -moz-calc(66% - 42px);
    height: calc(66% - 42px);
    overflow-y: scroll;
  }
  #popup_name {
    padding-top: 8px;
  }
  .Popup-header {
    background-color: #15343D;
    width: 100%;
    cursor: pointer;
    z-index: 10;

    -webkit-box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.2);
  }
  .Popup-subname {
    min-height: 18px;
  }
  .Popup-image {
    display: none;
  }
  .Popup-mobile-image {
    display: block;
  }
  .Popup-details {
    position: relative;
  }
  .Popup-description {
    padding: 12px 12px 12px 12px;
  }
}



.Popup-details img {
  height: 42px;
  width: 42px;
  vertical-align: middle;
  float: left;
}

.Popup-details span {
  margin-left: 42px;
  padding: 12px 10px 12px 0;
  display: block;
}

.Popup-close {
  width: 18px;
  height: 18px;
  padding: 12px;
  opacity: 0.8;
}

.Popup-close:hover {
  opacity: 1;
}


#root {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 19;
  pointer-events: none;
}
#root * {
  pointer-events: all;
}
#map {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: -webkit-calc(100%);
  height: -moz-calc(100%);
  height: calc(100%);
}

.Menu img {
  padding: 10px;
}
.Menu-message h3 {
  font-family: 'Refrigerator Deluxe Heavy';
  font-size: 20px;
  line-height: 25px;
}
.Menu-message a {
  color: #fff;
}
.Menu-message {
  padding: 0 16px 16px 16px;
  color: #fff;
  border-bottom: solid 1px rgba(0, 0, 0, 0.1);
}


.level-selector {
  top: 80px;
}
.level-selector button, .level-selector button:hover {
  width: 42px;
  height: 42px;
  margin: 0;
  background-color: rgba(0, 0, 0, 0.55);
  -webkit-border-radius: 0;
     -moz-border-radius: 0;
          border-radius: 0;
  outline: 0;
}
.level-selector-active {
  background-color: rgba(0, 0, 0, 0.7) !important;
}


.Menu-nav-item {
  color: #fff;
  text-decoration: none;
  display: block;
  padding: 10px 15px 15px 15px;
  border-bottom: solid 1px rgba(0, 0, 0, 0.1);
}
.Menu-nav-item.active, .Menu-nav-item:hover {
  background-color: rgba(0, 0, 0, 0.07);
}
