:root {
  --main-background-color: #f4f4f4;
  --main-text-color: #333435;
  --main-text-color-disabled: #636465;
  --navigation-bar-background-color: #000;
  --navigation-bar-text-color: #fff;
  --primary-color: #419488;
  --dark-background-color: #2d2d2d;
  --muted-background-color: #daefef;
  --breadcrumb-background-color: #b9dfda;
  --link-color: #b4080d;
  --navbar-height: 64px;
}

* {
  box-sizing: border-box;
}

label {
  font-weight: 600;
  cursor: pointer;
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
}

@media only screen and (min-width: 600px) {
  label {
    font-size: 18px;
  }
}

label.required::after {
  content: "*";
  color: var(--link-color);
}

input[type='text'],
input[type='search'],
input[type='email'],
input[type='number'],
select {
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  border: 1px solid #c6c6c6;
  background: #fcfcfc;
  border-radius: 8px;
  outline: 0 !important;
  padding: 8px;
  font-size: 1.2rem;
  margin-bottom: 18px;
}

@media only screen and (min-width: 600px) {
  input[type='text'],
  input[type='search'],
  input[type='email'],
  input[type='number'],
  select {
    padding: 16px;
    font-size: 1.5rem;
  }
}

input[type='checkbox'] {
  display: none;
}

input[type='checkbox'] + label {
  display: flex;
  align-items: center;
}

input[type='checkbox'] + label:before{
  font-family: "Font Awesome 5 Free";
  font-weight: 400;
  font-size: 1.2em;
  margin-right: 12px;
  color: var(--main-text-color);
  content: "\f0c8";
}

@media only screen and (min-width: 600px) {
  input[type='checkbox'] + label:before{
    font-size: 1.5em;
  }
}

input[type='checkbox']:checked + label:before{
  content: "\f14a";
}

.buttonRow {
  margin-top: 24px;
}

body {
  margin: 0;
  font-family: "Source Sans Pro", sans-serif;
  background-color: var(--main-background-color);
  color: var(--main-text-color);
}

a {
  color: var(--link-background-color);
}

.navigationBar {
  box-shadow: 0 2px 4px -1px rgba(0, 0, 0, .2), 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12);
  background-color: var(--navigation-bar-background-color);
  color: var(--navigation-bar-text-color);
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--navbar-height);
}

.navigationBar .menuButton {
  line-height: 64px;
  width: 64px;
  text-align: center;
}

.navigationBar .menuButton .menuIcon {
  border-radius: 50%;
  transition: background-color .25s cubic-bezier(.4, 0, .2, 1) 0ms;
  cursor: pointer;
  vertical-align: middle;
  fill: #fff;
  width: 42px;
  height: 42px;
  padding: 8px;
  display: inline-block;
}

.appContainer {
  position: absolute;
  /*height: calc(100% - var(--navbar-height));*/
  overflow-y: scroll;
  width: 100%;
}

button,
.button {
  -webkit-appearance: none;
  -moz-appearance: none;
  border: none;
  cursor: pointer;
  appearance: none;
  border-radius: 0;
  font-size: .81rem;
  line-height: 1.5;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0;
  margin-top: 3px;
  background: none;
  background-color: #fff;
  color: var(--link-color);
  border: solid thin black;
  display: inline-block;
  text-decoration: none;
  font-family: "Source Sans Pro", sans-serif;
  vertical-align: bottom;
}

button:focus,
.button:focus {
  outline: none;
}

button:disabled,
button.disabled,
.button:disabled,
.button.disabled {
  background-color: #eee;
  color: var(--main-text-color-disabled);
  cursor: not-allowed;
  border-color: #777;
}

button:disabled:hover span,
button.disabled:hover span,
.button:disabled:hover span,
.button.disabled:hover span,
button:disabled:active span,
button.disabled:active span,
.button:disabled:active span,
.button.disabled:active span {
  background: none;
}

button span,
.button span {
  transition: background-color .25s cubic-bezier(.4, 0, .2, 1) 0ms;
  padding: 1rem 1.5rem;
  font-size: 16px;
  min-width: 64px;
  display: block;
  position: relative;
}

button:hover span,
.button:hover span {
  background-color: rgba(0, 0, 0, .2);
}

button:active span,
.button:active span {
  background-color: rgba(0, 0, 0, .1);
}

button span i,
.button span i {
  margin-right: 6px;
}

header {
  position: relative;
  overflow: hidden;
}

header picture img {
  position: absolute;
}

header picture img {
  height: 100%;
}

@media only screen and (min-width: 700px) {
  header picture img {
    width: 100%;
    height: auto;
  }
}

@media only screen and (min-width: 924px) {
  header picture img {
    width: 100%;
    height: auto;
  }
}

header .overlay {
  background-color: rgba(25, 25, 25, .8);
  position: relative;
  height: auto;
  color: #fff;
}

@media only screen and (min-width: 924px) {
  header .overlay {
    height: 420px;
  }
}

header .overlay h1 {
  font-size: 48px;
}

@media only screen and (min-width: 924px) {
  header .overlay h1 {
    font-size: 60px;
  }
}

header .overlay h1 small {
  font-size: 20px;
  display: block;
}

@media only screen and (min-width: 924px) {
  header .overlay h1 small {
    font-size: 25px;
  }
}

header .overlay button,
header .overlay .button {
  width: 100%;
  text-align: center;
  margin: 2px 0;
}

header .overlay button span,
header .overlay .button span{
  padding: 1rem .5rem;
  font-size: 14px;
}

@media only screen and (min-width: 400px) {
  header .overlay button span,
  header .overlay .button span{
    padding: 1rem 1rem;
  }
}

@media only screen and (min-width: 845px) {
  header .overlay button,
  header .overlay .button {
    width: auto;
  }
  header .overlay button span,
  header .overlay .button span{
    padding: 1rem 2rem;
  }
}

@media only screen and (min-width: 924px) {
  header .overlay button span,
  header .overlay .button span{
    font-size: 16px;
  }
}

.contentContainer {
  padding: 32px 24px;
  max-width: 1100px;
  margin: auto;
}

@media only screen and (min-width: 600px) {
  .contentContainer {
    padding: 32px 48px;
  }
}

.contentContainer ul {
  padding-left: 18px;
}

.contentContainer ul li {
  line-height: 1.5em;
}

.contentContainer ul li p {
  margin: 0;
}

.contentContainer .contentImage {
  width: 100%;
}

.expandToggle {
  cursor: pointer;
}

.expandToggle::before {
  content: "\f054";
  display: inline-block;
  font-family: "Font Awesome 5 Free";
  margin-right: 8px;
}

.expandToggle.active::before {
  transform: rotate(90deg);
}

.accordionList {}

.accordionList .accordionElement {
  border-bottom: 1px solid #e9e9e9;
}

.accordionList.collapsed .accordionElement {
  height: 0;
  overflow: hidden;
  border: none;
}

.accordionList .accordionElement {
  height: auto;
  /*height: 42.72px;
  transition: height 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;*/
}

.searchResultsDropdown {
  position: absolute;
  background: #fff;
  width: 508px;
  font-size: 15px;
  margin-top: -25px;
  max-width: calc(100% - 64px);
}

.searchResultsDropdown.hasContent {
  z-index: 1;
  box-shadow: 0 6px 12px 0 rgba(0, 0, 0, .175);
  border: 2px solid #eee;
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
  max-height: 200px;
  overflow: scroll;
}

@media only screen and (min-width: 600px) {
  .searchResultsDropdown.hasContent {
    max-height: 400px;
  }
}

.searchResultsDropdown .result {
  padding: .5rem;
  cursor: pointer;
}

@media only screen and (min-width: 600px) {
  .searchResultsDropdown .result {
    padding: 1rem;
  }
}

.searchResultsDropdown .result:hover {
  background-color: #eee;
}

.searchResultsDropdown .result:not(:first-child) {
  /*  border-bottom: 1px solid #e9e9e9;*/
  border-top: 1px solid #d3d3d3;
}

.searchResultsDropdown .result .resultName {
  display: block;
}

.searchResultsDropdown .result .resultOrganizationNumber {
  font-size: 14px;
}

/* Modal */
.modalOverlay {
  display: flex;
  flex-wrap: wrap;
  position: fixed;
  width: 100%;
  background: rgba(0, 0, 0, .75);
  height: 100%;
  top: 0;
  left: 0;
  align-content: center;
  padding: 16px;
  z-index: 2;
  visibility: hidden;
}

.modalOverlay.active {
  visibility: visible;
}

.modalOverlay .modalContent {
  max-width: 540px;
  width: 100%;
  max-height: 100%;
  overflow: auto;
  margin: auto;
  background-color: #fff;
  box-shadow: 0 11px 15px -7px rgba(0, 0, 0, .2), 0 24px 38px 3px rgba(0, 0, 0, .14), 0 9px 46px 8px rgba(0, 0, 0, .12);
  border-radius: 4px;
  padding: 16px;
}

/* Helpers */
.hidden {
  display: none;
}

.alignLeft {
  text-align: left;
}

.alignRight {
  text-align: right;
}

.alignCenter {
  text-align: center;
}

.background-1 {}

.muted-background {
  background-color: var(--muted-background-color);
}

.dark-background {
  background-color: var(--dark-background-color);
  color: #fff;
}

.primary-background {
  background-color: var(--primary-color);
  color: #fff;
}

.flexContainer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modalContent.mapModal {
  max-width: 80%;
}

.modalContent.mapModal .modalHeading {
  margin: 10px;
  font-weight: bold;
  display: flex;
}

.modalHeading > span {
  flex: 1;
}

.modalHeading button {
  width: 30px;
  height: 30px;
  color: black;
  font-size: 20px;
}

#organization-map {
  width: 100%;
  height: 800px;
}

.organization-info figure {
  margin: 0;
}

.organization-info img {
  width: 100px;
  height: 100px;
}

#download-info {
  color: orangered;
  padding: 5px;
  font-size: .9em;
}