/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

/* Fangstanalyse values */
body * {
  /*font-family: 'Roboto Condensed', sans-serif;*/
  font-family: Calibri,Arial, sans-serif;
}

.container-fluid {
  padding-left: 0;
  padding-right: 0;
}

#wrapper {
  width: calc(100vw - 17px);
  height: 100vh;
  display: flex;
}

#map {
  width: 100%;
  background: white;
}

#search-widget {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}
.search-selects-container {
  display: flex;
  flex: 1;
  flex-direction: row;
  height: calc(100% - 40px);
  min-height: 0;
}
.search-widget-item {
  display: flex;
  flex: 1;
  margin: 5px;
  padding: 5px;
  border: 1px lightgray solid;
}
.search-button-container {
  display: flex;
  height: 50px;
  justify-content: flex-end;
  align-items: center;
  padding-right: 5px;
}
.search-button {
  border: none !important;
  outline: none !important;
}

.info i {
  margin: 10px;
}

.search-button-container.loading span {
  display: inline-block !important;
  margin-right: 5px;
}
.search-button-container span {
  display: none;
}
.search-button-container button {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
}

/* hack */
.search-selects-container tr td:nth-child(3) {
  display: none;
}

.widget-drawer-open {
  width: 55% !important;
}

@media screen and (max-width: 1000px) {
  .widget-drawer-open {
    width: calc(100% - 55px) !important;
  }
}

.fa-data-selector {
  display: flex;
  width: 100%;
  flex-direction: column;
  background: #E1E1D9;
  padding: 10px;
  border-bottom: 1px solid lightgray;
}

.fa-data-selector .fa-data-selector-row {
  display: flex;
  flex: 1;
  flex-direction: row;
}

.fa-data-selector .fa-data-selector-row .column-text {
  display: flex;
  align-items: flex-start;
  min-width: 45px;
  font-size: 13px;
  padding-top: 8px;
}

.fa-data-selector .fa-data-selector-row .column-colon {
  display: flex;
  align-items: flex-start;
  font-size: 13px;
  padding: 8px 5px;
}

.fa-data-selector .fa-data-selector-row .column-values {
  display: flex;
  flex-wrap: wrap;
}

.fa-data-selector .fa-data-selector-row .column-values .item {
  display: flex;
  align-items: center;
  background: #007bff;
  border: 2px solid #007bff;
  color: white;
  padding: 0 6px;
  text-align: center;
  text-decoration: none;
  font-size: 12px;
  margin: 4px 2px;
  cursor: pointer;
  height: 24px;
}

.fa-data-selector:not(.max-reached) .fa-data-selector-row .column-values .item:not(.selected) {
  background-color: transparent;
  color: black;
  border: 2px solid #007bff;
}

.fa-data-selector .fa-data-selector-row .column-values.disabled .item:not(.selected) {
  background-color: #D3D3D3;
  border: 2px solid #D3D3D3;
  color: white;
}

.fa-data-selector .fa-data-selector-row.buttons {
  display: flex;
  justify-content: flex-end;
}

.fa-data-selector .fa-data-selector-row.buttons .btn {
  padding: 4px 8px;
  font-size: 14px;
  margin-left: 5px;
  cursor: pointer;
}

.fa-data-selector.minimized .fa-data-selector-row:not(.buttons) {
  display: none;
}

.fa-data-selector.minimized .fa-data-selector-row.buttons .update {
  display: none;
}

.fa-data-selector.minimized .fa-data-selector-row.buttons i.up {
  display: none;
}
.fa-data-selector:not(.minimized) .fa-data-selector-row.buttons i.down {
  display: none;
}

.fa-data-selector .fa-data-selector-row.buttons .update {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.fa-data-selector:not(.downloading) .fa-data-selector-row.buttons .update .status {
  display: none;
}

.fa-data-selector .fa-data-selector-row.buttons .update .status {
  margin-right: 5px;
}

.fa-data-selector .fa-data-selector-row.buttons .status-small {
  display: none;
  flex-direction: row;
  align-items: center;
}

.fa-data-selector:not(.minimized) .fa-data-selector-row.buttons .summation-string-container {
  display: none;
}

.fa-data-selector .fa-data-selector-row.buttons .summation-string-container {
  display: flex;
  flex-direction: column;
  flex: 1;
  font-size: 12px;
  height: 36px;
}

.fa-data-selector.downloading.minimized .fa-data-selector-row.buttons .status-small {
  display: flex;
}

.fa-top-element {
  display: flex;
  margin-top: 10px;
  background: rgba(0, 0, 0, 0.2) !important;
  position: relative;
  width: 240px;
  height: 30px;
  border-radius: 2px;
  justify-content: center;
  align-items: center;
}

.about-section-header {
  color: #4472c4;
}
.about-section-sub-header {
  color: black;
  padding-left: 25px;
}

.info-img {
  width: 50%;
  height: auto;
  padding: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.municipality-armorial-img {
  width: 100px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;

  font-size: 12px;
  padding: 25px 12px;
  position: absolute;
  right: 50px;
  top: 0;

}

.container-body {
  padding-top: 25px;
}

/* ****************
  Slideshow styling
*/
.image-gallery {
  padding-top: 25px;
}

* {
  box-sizing: border-box;
}

/* Position the image container (needed to position the left and right arrows) */
.container {
  position: relative;
}

/* Hide the images by default */
.mySlides {
  display: none;
  /*max-height: 500px;*/
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
  background-color: rgba(255, 255, 255, 0.75);
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 33px 12px;
  position: absolute;
  top: 0;
}

/* Container for image text */
.caption-container {
  text-align: center;
  background-color: #222;
  padding: 2px 16px;
  color: white;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Six columns side by side */
.column {
  float: left;
  width: 16.66%;
}

/* Add a transparency effect for thumnbail images */
.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

.demo-cursor {
  width:auto;
  height: 140px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
/* ****************
  End of slideshow styling
*/