/* Basic */
html {
  font-size: 62.5%;
  line-height: 1.4;
}

body {
  font-size: 1.9rem;
  font-family: Roboto, sans-serif;
}

fieldset {
  border: none;
  margin: 1em 0 0.3em 0;
}

legend {
  margin-bottom: 1em;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
}

/* OL3 */

#map {
  width: 100vw;
  height: 100vh;
}

.ol-control button {
}

/* Map popup */

.ol-popup {
  position: absolute;
  background-color: white;
  -webkit-filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #cccccc;
  bottom: 12px;
  left: -50px;
  min-width: 250px;
}
.ol-popup:after, .ol-popup:before {
  top: 100%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}
.ol-popup:after {
  border-top-color: white;
  border-width: 10px;
  left: 48px;
  margin-left: -10px;
}
.ol-popup:before {
  border-top-color: #cccccc;
  border-width: 11px;
  left: 48px;
  margin-left: -11px;
}
.ol-popup-closer {
  text-decoration: none;
  position: absolute;
  top: 2px;
  right: 8px;
}
.ol-popup-closer:after {
  content: "✖";
}

/* Layer switcher */

.layer-switcher {
  top: 0.5em;
  right: 0.5em;
}

.layer-switcher button {
  background-color: rgba(0, 60, 136, 0.5);
}

/* Material design tweaks */

.md-chips {
  font-size: 100%;
}

ul.defects-suggestions li{
  font-size: 100%;
}

.md-chips .md-chip-input-container md-autocomplete input {
    width: 400px;
}

button.remove {
  margin: 0;
}

div[layout=row] button.md-button {
  min-width: 44px;
}

div[layout=row] button:first-of-type {
  margin-left: 0px;
}

div[layout=row] button:last-of-type {
  margin-right: 0px;
}

.lf-ng-md-file-input-button {
  border-radius: 0 2px 2px 0;
}

.lf-ng-md-file-input .lf-ng-md-file-input-container .lf-ng-md-file-input-caption .lf-ng-md-file-input-caption-text, 
.lf-ng-md-file-input .lf-ng-md-file-input-container .lf-ng-md-file-input-caption .lf-ng-md-file-input-caption-text-default  {
  font-weight: 300;
}

.lf-ng-md-file-input .lf-ng-md-file-input-container .md-raised.lf-ng-md-file-input-button.lf-ng-md-file-input-button-brower {
  border-radius: 0 2px 2px 0;
}

.lf-ng-md-file-input .lf-ng-md-file-input-container {

  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
}

.lf-icon {
  display: none;
}

small.verysmall {
  font-size: 14px;
}
