.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.videoList {
  list-style: none;
  margin: 0;
  padding: 0;
}

.videoList__item {
  margin: 2rem 0;
}

.videoList__video {
  margin-top: 1rem;
}

/* Tieisännöitsijöiden haku */
.tih .form {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: -.5em -1em;
}

.tih .field {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-end;
  padding: .5em 1em;
  width: 100%;
}

.tih .form input,
.tih .form select,
.tih .form button {
  margin: 0;
}

.tih.widget--sm .field--half {
  width: 50%;
}

.tih.widget--lg .field--half {
  width: 20%;
}

.detailList {
  display: table;
  max-width: 100%;
  margin: 2em 0;
}

.detailList:first-child {
  margin-top: 0;
}

.detailList:last-child {
  margin-bottom: 0;
}

.detailList__item {
  display: table-row;
}

.detailList__label,
.detailList__value {
  display: table-cell;
  padding: .2em 0;
  margin: 0;
}

.detailList__item:first-child .detailList__label,
.detailList__item:first-child .detailList__value {
  padding-top: 0;
}

.detailList__item:last-child .detailList__label,
.detailList__item:last-child .detailList__value {
  padding-bottom: 0;
}

.detailList__label {
  padding-right: 2em;
  font-family: "Montserrat", Helvetica, Roboto, Arial, sans-serif;
  color: #0066B2;
}

.commaList {
  list-style: none;
  margin: 0 !important;
  font-size: inherit !important;
}

.commaList__item {
  display: inline;
}

.commaList__item:not(:last-child):after {
  content: ', ';
}

.tih .summary {
  font-size: 1.2em;
  margin: 2em 0;
}

.card-container {
  list-style: none;
  margin: -1em !important;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.card {
  display: block;
  padding: 1em;
}

.tih.widget--lg .card {
  flex: 0 0 50%;
}

.tih.widget--xxl .card {
  flex: 0 0 33.333%;
}

.card__wrap {
  overflow: hidden;
  height: 100%;
  background: rgb(247, 249, 250);
  border: solid 1px rgb(230, 235, 238);
  border-radius: .5em;
}

.card__header {
  padding: 1rem 1.5rem;
  background: rgb(255, 255, 255);
  border-bottom: solid 1px rgb(230, 235, 238);
}

.card__content {
  padding: 1.5rem;
  font-size: .85em !important;
}

.card__title {
  font-size: 1.3em;
  margin: 0;
}

.card__summary {
  font-size: inherit;
}

.buttonList {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 1.5em -.5em;
}

.buttonList:first-child {
  margin-top: -.5em;
}

.buttonList:last-child {
  margin-bottom: -.5em;
}

.buttonList__item {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  margin: .5em;
  padding: .5em 1em;
  font-family: "Montserrat", Helvetica, Roboto, Arial, sans-serif;
  font-size: inherit;
  line-height: 1;
  color: #fff;
  background: #0066B2;
  border-radius: .3em;
}

.buttonList__item:hover,
.buttonList__item:focus {
  color: #fff;
  text-decoration: underline;
}

.buttonList__icon {
  display: block;
  height: 1em;
  width: auto;
  margin-right: 1em;
}

/* Navigation responsive changes */
.top-bar {
  display: flex;
  flex-direction: row;
}

.top-bar-title img {
  min-width: 128px;
}

.top-bar ul.menu.horizontal {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: flex-end;
}

@media only screen and (max-width: 1420px)  {
  .slider-tabs {
    transform: translateY(0);
  }

  .slideshow-container {
    transform: translateY(0);
  }
}

@media only screen and (max-width: 900px)  {
  .top-bar {
    flex-direction: column;
  }

  .top-bar ul.menu.horizontal {
    width: 100%;
    justify-content: center;
  }
}


@media only screen and (max-width: 640px)  {
  .top-bar ul.menu.horizontal {
    flex-direction: column;
  }
}

.contacts-image img.thumbnail {
  max-height: 320px;
}