/*
Theme Name: flow
Author: Anid Camdzic
Version: 1.0
*/

/* rubik-300 - latin */
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: local(""), url("fonts/google/rubik-v23-latin-300.woff2") format("woff2"),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
      url("fonts/google/rubik-v23-latin-300.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* rubik-regular - latin */
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local(""),
    url("fonts/google/rubik-v23-latin-regular.woff2") format("woff2"),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
      url("fonts/google/rubik-v23-latin-regular.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* rubik-500 - latin */
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local(""), url("fonts/google/rubik-v23-latin-500.woff2") format("woff2"),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
      url("fonts/google/rubik-v23-latin-500.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* rubik-700 - latin */
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local(""), url("fonts/google/rubik-v23-latin-700.woff2") format("woff2"),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
      url("fonts/google/rubik-v23-latin-700.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

:root {
  --header-color: #ffffff;
  --header-text-color: black;

  --body-color: #ffffff;
  --text-color: black;

  --theme-color: blue;
  --theme-color-light: lightblue;

  --box-bg-color: #cff0f8;

  --footer-bg-color: #575756;
  --footer-text-color: #ffffff;

  --hover-color: var(--theme-color-light);
  --swiper-navigation-size: 3em;
  --swiper-theme-color: white;

  --is-iso-level-spacing: -200px;
  --is-iso-level-active-count: 1;
  --is-iso-flat-active-filter-color: var(--theme-color);

  --offer-bg-color: var(--box-bg-color);
  --offer-iso-bg-color: var(--box-bg-color);
  --offer-text-color: var(--text-color);
  --offer-text-color-th: var(--text-color);
  --offer-active-color: var(--theme-color);
}

body {
  color: var(--text-color);
  background-color: var(--body-color);
  font-family: "Rubik", sans-serif;

  font-weight: 300;
  margin: 0;
}

/*
body.toggled
{
	overflow: hidden;
}

*/

body.toggled header {
  overflow: auto;
  max-height: 100vh;
}

a {
  color: inherit;
  text-decoration: underline;
}

strong {
  font-weight: bold;
}

.scroll-animated {
  transform: translateY(5vh);
  opacity: 0;
}

.scroll-visible {
  transition: transform 0.6s cubic-bezier(0.3, 0.1, 0.3, 1),
    opacity 0.9s ease-out;
  transform: none;
  opacity: 1;
}

header {
  top: 0;
  position: sticky;
  z-index: 100;
  background-color: var(--header-color);
  color: var(--header-text-color);
}

header .wrapper,
footer > .wrapper {
  margin: auto;
  max-width: 80em;
  padding: 1em 2em;
}

header .wrapper {
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
  align-items: center;
}

td.vermietet{
	color: #A11A17 !important;
}


header .items {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo img {
  display: block;
  object-fit: contain;
  object-position: right center;
  height: 6em;
  width: 18em;
  transition: all 0.25s;
}

header nav,
footer nav {
  display: flex;
  gap: 1.5em;
}

header nav {
  font-weight: 400;
  font-size: 0.9em;
  text-transform: uppercase;
  background-color: var(--header-color);
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding-left: 0;
}

header nav a {
  text-decoration: none;
  line-height: 1.3em;
  position: relative;
}

header nav a:before {
  content: "";
  bottom: -3px;
  height: 1px;
  display: block;
  left: 0;
  position: absolute;
  background-color: var(--header-text-color);
  width: 0;
  transition: all 0.7s cubic-bezier(0.65, 0, 0.49, 0.9);
}

header nav a:hover:before,
header nav a.active:before {
  width: 100%;
}

header .headerbutton {
  display: block;
  width: 110px;
  position: absolute;
  left: -170px;
  top: 2.2em;
  z-index: 2;
  transition: all 0.25s;
}

header .headerbutton:hover {
  transform: scale(1.1);
}

header .headerbutton img {
  width: 100%;
}

header .nav-toggle {
  display: none;
  font-size: 2em;
  width: 1.5em;
  height: 1.5em;
  align-items: center;
  justify-content: center;
  min-width: 0;
  border: 0px;
  border: 1px solid var(--burger-color);
  color: var(--burger-color);
  background: none;
  cursor: pointer;
}

header .nav-toggle::after {
  content: "\f0c9";
}

.toggled header .nav-toggle::after {
  content: "\f00d";
}

.property_reference {
  display: none;
}

.offer > .wrapper {
  max-width: 80em;
  margin: auto;
}

.group > .wrapper > :first-child,
.group > .wrapper > .title:first-child > .wrapper > h1,
.group > .wrapper > .subtitle:first-child > .wrapper > h2 {
  margin-top: 0;
}

.group > .wrapper > :last-child,
.group > .wrapper > .title:last-child > .wrapper > h1,
.group > .wrapper > .subtitle:last-child > .wrapper > h2 {
  margin-bottom: 0;
}

.group .element {
  margin: 1em 0;
}

/* elements */

.box {
  background-color: var(--box-bg-color);
  padding: 4em 2em;
}

.title {
  color: var(--theme-color);
}

.offerpopup .title {
  color: var(--text-color);
}

.title h1 {
  font-size: 3.75em;
  font-weight: 500;
  text-align: center;
}

.subtitle {
  color: var(--theme-color);
}

.subtitle h2 {
  font-size: 2em;
  font-weight: 300;
  text-align: center;
  margin: 1.5em 0 1em 0;
}

.text2col .wrapper {
  column-count: 2;
  column-gap: 2em;
}

.text .wrapper {
  max-width: 56em;
  margin: auto;
}

.typo {
  color: var(--text-color);
  line-height: 1.3em;
}

.images .wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.images a,
.images img {
  display: block;
  width: 100%;
}

.images .legend {
  display: none;
}

.slideshow.element {
  margin-top: -1px;
}

/*Fix Grid fr unit*/
.slideshow .swiper:not(.multi) .swiper-slide {
  width: 100% !important;
}

.slideshow .swiper-slide > img {
  display: block;
  width: 100%;
}

.slideshow .swiper-slide > .legend {
  display: none;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  color: white;
  text-align: center;
  z-index: 1;
  pointer-events: none;
  text-shadow: 0px 0px 15px #333;
  padding: 2em;
}

.slideshow .overlay {
  position: absolute;
  top: -1px;
  left: 0;
  bottom: -1px;
  right: 0;
  z-index: 1;
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
}

.slideshow .multi .legend,
.slideshow .multi .swiper-button-next,
.slideshow .multi .swiper-button-prev {
  display: none;
}

.gallery .wrapper {
  max-width: 80em;
  margin: auto;
}

.gallery .items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1em;
}

.gallery .items a {
  display: block;
  padding-top: 65%;
  background-size: 100%;
  background-position: bottom center;
}

.gallery .items a.scroll-animated {
  opacity: 0;
  transform: translateY(5vh);
}

.gallery .items a.scroll-visible {
  transition: transform 0.6s cubic-bezier(0.3, 0.1, 0.3, 1),
    opacity 0.75s cubic-bezier(0.3, 0.1, 0.3, 1), background-size 0.75s ease-in;
  transform: none;
  opacity: 1;
}

.gallery .items a:hover {
  background-size: 105%;
}

.gallery .legend {
  display: none;
}

.gallery.vtours a {
  display: block;
  position: relative;
}

.gallery.vtours a .overlay {
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  padding: 2em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.gallery.vtours a .overlay .icon {
  font-size: 8em;
}

.gallery.vtours a .overlay .iconsmall {
  font-size: 3em;
  padding: 0.5em;
}

.links .items {
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
  justify-content: center;
}

.links .items .link {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.links .items .link i {
  font-size: 4em;
  padding: 0.5em;
}

.links .items .link img {
  display: block;
  width: 12em;
  margin: 1em auto 1em auto;
  box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.48);
}

.distances .wrapper {
  max-width: 56em;
  margin: auto;
}

.distances table {
  width: 100%;

  border-spacing: 3px;
}

.distances table thead td {
  font-size: 1.5em;
  color: var(--theme-color);
  background: none;
}

.distances table thead td:nth-child(2) {
  width: 80%;
}

.distances table td,
.distances table th {
  padding: 0.5em;
  text-align: center;
  background: var(--theme-color-light);
  min-width: 2em;
}

.distances table th {
  text-align: left;

  font-weight: normal;
}

.distances table td {
  white-space: nowrap;
}

.distances table td.icon {
  font-size: 1.5em;
  color: var(--theme-color);
}

.distances .dist::before {
  font: var(--fa-font-solid);
  content: "\f4d7";
}

.distances .walk::before {
  font: var(--fa-font-solid);
  content: "\f554";
}

.distances .bike::before {
  font: var(--fa-font-solid);
  content: "\f206";
}

.distances .car::before {
  font: var(--fa-font-solid);
  content: "\f1b9";
}

.distances .public::before {
  font: var(--fa-font-solid);
  content: "\f207";
}

.offer {
  background: var(--box-bg-color);
  color: var(--offer-text-color);
}

.offer.hasIso > .wrapper {
  max-width: 100%;
}

.offer.hasIso .items .item:first-child {
background: var(--header-color);
  padding: 4em 1em 4em 1em !important;
	margin: auto;
  max-width: 80em;
}

.offer .items .item {
  padding: 2em;
  background: var(--offer-bg-color);
}

.offer .typo {
  color: var(--offer-text-color);
}

.offer h2 {
  font-size: 2em;
  font-weight: 300;
  text-align: left;
}

.offer .houses table,
.facts table {
  width: 100%;
  border-collapse: collapse;
}

.offer .items{
	background: var(--header-color);
}

.offer .filters .filter:first-child{
	max-width: 135px;
}

.offer .filters .filter:nth-child(2){
	max-width: 185px;
}
.offer .filters .filter:nth-child(3){
	max-width: 270px;
}

.offer .houses table tr[data-fancybox]:hover {
  cursor: pointer;
}

.offer .houses table tbody tr,
.facts tbody tr {
  border-bottom: 1px solid var(--offer-text-color);
}

.offer .houses table th {
  color: var(--offer-text-color-th);
  font-weight: 300;
  padding: 0 0.5em 0.75em 0.5em;
}

.offer .houses table td,
.offer .houses table th,
.facts td {
  padding: 0.5em;
}

.offer .houses table tr[data-fancybox]:hover,
.offer .houses table tr[data-reference].active {
  background: var(--offer-active-color);
}

.offer
  .houses
  table
  tr[data-availability_status="free"]
  .availability_status::before {
  font: var(--fa-font-light);
  font-size: 0.75em;
  content: "\f324";
}

.offer
  .houses
  table
  tr[data-availability_status="free"]
  .availability_status
  span {
  display: none;
}

.offer
  .houses
  table
  tr[data-availability_status="reserved"]
  .availability_status {
  color: #e4a370;
}

.offer .houses table tr[data-availability_status="rented"] .availability_status,
.offer .houses table tr[data-availability_status="sold"] .availability_status {
  color: #a11a17;
}

.offer.hasIso .iso,
.offer.hasIso .iso [data-iso] {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}

.offer.hasIso .iso > img {
  width: 100%;
}

.offer [data-iso] .is-iso-level {
  transition: all 0.6s ease;
}

.offer [data-iso] .is-iso-level.is-iso-open {
  transform: translateY(
    calc(var(--is-iso-level-spacing) * var(--is-iso-level-active-count))
  );
}

.offer .offerMobile span {
  white-space: nowrap;
}

.offer .filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
}

.offer .filters .filter[data-filter-type="slider"] {
  flex: 1 0 auto;
  min-width: 8em;
}

.offer
  .filters
  .filter[data-filter-type="slider"][data-filter-field="rentalprice_incl"],
.offer
  .filters
  .filter[data-filter-type="slider"][data-filter-field="sellingprice"],
.offer
  .filters
  .filter[data-filter-type="slider"][data-filter-field="rentalpriceexcl_m2y"] {
  flex: 2 0 auto;
}

.offer .filters .checkbox {
  display: block;
  margin: 2px 0;
  appearance: none;
}

.offer .filters input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  background-color: #fff;
  outline-color: #fff;
  cursor: pointer;
}

.offer .filters input[type="checkbox"]:checked {
  appearance: none;
  background-color: #7b362e;
  border: 1px solid #7b362e;
  background-image: url("images/checkmark.svg");
}

.offer .filter label.checkbox {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 6px;
}

.slider-input {
  padding: 0 8px;
  margin: 8px 0;
  height: 10px;
}

.slider-value {
  font-size: smaller;
}

.slider-value span {
  white-space: nowrap;
}

.slider-input,
.slider-input .noUi-handle {
  box-shadow: none;
}

/* Hide markers on slider handles */
.noUi-handle::before,
.noUi-handle::after {
  display: none;
}

.noUi-connect {
  background: var(--offer-active-color);
}

.noUi-horizontal .noUi-handle {
  height: 18px;
  width: 18px;
  top: -5px;
  right: -9px; /* half the width */
  border-radius: 9px;
}

.offer .filters .checkbox {
  white-space: nowrap;
}

.offer .filtered {
  display: none;
}

.plan img {
  display: block;
  width: 100%;
  box-shadow: 0 0 2px 1px #ddd;
}

input,
select {
  margin: 0;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
button,
select {
  box-sizing: border-box;
  font: inherit;
  color: #3c3c3b;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--theme-color);
  padding: 0.5em 0.5em 0.25em 0.5em;
  border-radius: 0;
  background: #ffffff;
}

textarea {
  height: 10em;
}

button,
.button,
.contact .button {
  background: var(--theme-color-light);
  border: 1px solid var(--theme-color);
  border-radius: 5px;
  color: var(--theme-color);
  padding: 0.75em 1em;
  white-space: nowrap;
  display: inline-block;
  font-weight: normal;
  font-size: 0.9em;
  min-width: 16em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

button.carousel__button.is-close {
  min-width: 0;
}

.button:hover,
button:hover,
.contact .button:hover {
  color: var(--theme-color-light);
  background: var(--theme-color);
  border: 1px solid var(--theme-color);
}

.contact .button {
  text-transform: uppercase;
}

.contact .button::after {
  font: var(--fa-font-regular);
  content: "\f1d8";
  margin-left: 0.35em;
}

.button.primary,
button.primary {
  font-weight: bold;
}

.button.secondary,
button.secondary {
  font-weight: normal;
  background: none;
}

.contact > .wrapper {
  max-width: 80em;
  margin: 0 auto 2em auto;
}

.wpcf7-list-item.first {
  margin: 0;
}

.contact .form-group {
  margin-bottom: 1.5em;
}

.contact .form-label {
  display: block;
}

.contact .form-warning {
  color: red;
  margin-bottom: 0.5em;
  margin-top: 0.25em;
  display: block;
  width: 100%;
}

.contact .form-invalid {
  border-color: red;
}

.contact .selectables {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1em;
}

.contact .selectables > label {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.contact input[name="Email_Address"] {
  display: none;
}

.contact .items {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4em;
  margin: 0;
}

.contact .info {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.contact .info > div.person,
.contact .info > div.company {
  background: var(--theme-color-light);
  padding: 2em;
}

.contact .info a {
  text-decoration: none;
}

.contact .person img,
.contact .company img {
  width: 200px;
  margin-bottom: 1em;
}

.contact .person .name {
  font-weight: 500;
  margin-bottom: 0.5em;
}

.contact .company .city {
  margin-bottom: 1em;
}

.contact .subtitle h2 {
  text-align: left;
  margin-top: 0;
}

.googlemap .responsive {
  position: relative;
  padding: 0;
  height: 70vh;
  overflow: hidden;
}

.responsive {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 0px;
  height: 0;
  overflow: hidden;
}

.responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video video {
  display: block;
  width: 100%;
}

.consent-cover {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.consent-cover .consent-message {
  text-align: center;
  color: #ffffff;
}

.consent-cover-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
  padding: 2em;
}

.consent-dialog {
  position: sticky;
  bottom: 0;
  background: #000000;
  color: #ffffff;
  z-index: 1;
  box-shadow: 3px 3px 10px 0px rgb(50 50 50);
}

.consent-dialog .wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  margin: auto;
  max-width: 80em;
  padding: 1em 2em;
}

.consent-dialog .links .items {
  justify-content: flex-start;
}

.toggle-button {
  font-size: 1.4em;
  position: relative;
  width: 2em;
  height: 1em;
  background: gray;
  box-sizing: border-box;
  border-radius: 0.5em;
  transition: background 0.5s;
  cursor: pointer;
}

.toggle-button::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: calc(1em - 4px);
  height: calc(1em - 4px);
  margin: 2px;
  background: white;
  border-radius: 0.4em;
}

.toggle-button.active {
  background: green;
}

.toggle-button.active::after {
  right: 0;
  left: auto;
}

a[consent-settings],
a[consent2-settings] {
  cursor: pointer;
}

.consent-settings.fancybox__content {
  background: #ceb198;
  color: #ffffff;

  --text-color: #ffffff;
  --theme-color: #ffffff;
}

.consent-settings .tab {
  border-top: 1px solid black;
}

.consent-settings .consent-preferences {
  border-bottom: 1px solid #ffffff;
}

.consent-settings .tab .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5em;
}

.consent-links {
  gap: 0.5em;
  display: inline-flex;
  text-decoration: underline;
  flex-wrap: wrap;
}

.consent-settings .tab [data-toggle] {
  cursor: pointer;
}

.consent-settings .tab [data-toggle] h2 {
  display: flex;
  gap: 0.5em;
  align-items: center;
}

.consent-settings .tab [data-toggle] h2:before {
  display: block;
  font: var(--fa-font-regular);
  content: "\f054";
}

.consent-settings .tab [data-toggle].active h2:before {
  content: "\f078";
}

.consent-settings .tab .body {
  padding-bottom: 1em;
}

.consent-settings .tab .body {
  padding-bottom: 1em;
}

.consent-dialog button.primary,
.consent-settings button.primary,
.consent-cover button.primary {
  background: #ffffff;
  color: #000000;
}

.consent-dialog button.secondary,
.consent-settings button.secondary,
.consent-cover button.secondary {
  background: #000000;
  border-color: #ffffff;
  color: #ffffff;
}

.tab .body.toggled {
  display: block;
}

.hidden {
  display: none;
}

/* */

footer {
  color: var(--footer-text-color);
  background: var(--footer-bg-color);
}

footer .contact-wrapper {
  position: relative;
  background-color: #a37c5d;
  overflow: hidden;
}

footer .contact-content {
  padding: 100px 0;
  max-width: 37rem;
  margin: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  position: relative;
}

footer .contact-wrapper .background-image {
  position: absolute;
  opacity: 0.25;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

footer .contact-content .image-wrapper {
  width: 30px;
  margin: auto;
}

footer .contact-content .image-wrapper img {
  width: 100%;
}

.um-form {
  padding: 0 1.5rem;
}
.um-form input[type="text"] {
  padding: 1.6rem 1.5rem !important;
  height: auto !important;
  margin-bottom: 2rem;
  font-size: 16px !important;
  line-height: 28px;
  outline-color: #a37c5d;
  border: none;
}

.um-field-type_terms_conditions {
  flex-wrap: wrap-reverse;
}

.um-field-area {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.3rem;
}

.um-field-area,
.um-field-checkbox-option {
  color: white !important;
}

.um .um-field-checkbox.active:not(.um-field-radio-state-disabled) i {
  color: white;
}
footer .contact-content .title {
  color: #ffffff;
  font-size: 42px;
  font-weight: 700;
  margin: 1.5rem 0;
}

footer .contact-content p {
  color: #ffffff;
  font-size: 16px;
  line-height: 18px;
  font-weight: 400;
  margin: 0;
  margin-bottom: 2rem;
}

footer .contact-content .btn {
  width: fit-content;
  margin: auto;
  border-radius: 0;
  font-size: 16px;
  padding: 1rem;
  background-color: #a37c5d;
}

footer .contact-content .um-center .um-button {
  background-color: #a37c5d;
  padding: 1rem;
  font-size: 16px;
  border-radius: 0 !important;
  border: 1px solid white !important;
}

footer .contact-content .um-center .um-button:hover {
  background-color: #a37c5d;
  border: 1px solid #a37c5d !important;
  color: var();
}

footer > .wrapper {
  padding: 2em;
}

footer .group > .wrapper {
  padding: 0em;
}

footer a {
  text-decoration: none;
}

footer .subtitle,
footer .typo {
  color: var(--footer-text-color);
}

footer .text {
  text-align: center;
}

footer nav {
  justify-content: center;
  margin: 2em auto;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.fancybox__container button {
  min-width: auto !important;
}

.fancybox__content {
  padding: 0;
  width: 50em;
  max-width: 100%;
  background-color: var(--box-bg-color);
}

.fancybox__slide.has-image .fancybox__content {
  width: 100%;
}

.fancybox__content .group {
  padding: 2em;
}

.fancybox__content .title h1 {
  text-align: left;
}

.icon::after,
.icon::before {
  text-align: center;
  font: var(--fa-font-regular);
}

@media (max-width: 1500px) {
  .slideshow .multi .swiper-slide {
    width: 33.33% !important;
  }

  .title h1 {
    font-size: 3em;
  }

  .gallery.vtours a .overlay .icon {
    font-size: 4em;
  }

  .gallery.vtours a .overlay .iconsmall {
    font-size: 1em;
    padding: 0.5em;
  }

  .button,
  .contact .button {
    min-width: 10em;
  }

  .links .items .link i {
    font-size: 2em;
  }

  .links .items .link img {
    width: 8em;
  }
}

@media (min-width: 1000px) {
  body:not(.scrolled) header .headerbutton {
    width: 150px;
    left: -200px;
  }

  body:not(.scrolled) header .logo img {
    height: 8em;
    width: auto;
  }
}

@media (max-width: 1000px) {
  header nav,
  .offer .optional {
    display: none;
  }

  .toggled header nav,
  .offer.hasIso .items,
  .contact .items,
  .offer .offerMobile {
    display: block;
  }

  header .nav-toggle {
    display: flex;
  }

  .toggled header nav {
    display: flex;
    padding: 2em 1em 2em 1em;
    width: 100%;
  }

  .toggled header nav ul {
    flex-direction: column;
  }

  header .wrapper {
    flex-direction: column;
  }

  header .items {
    width: 100%;
  }

  header .logo img {
    object-position: left center;
  }

  header .headerbutton {
    top: 0;
    width: 6em;
    left: auto;
    right: 100px;
  }

  footer .contact-content {
    padding: 50px 0;
  }

  footer .contact-content .um-register {
    margin-bottom: 0 !important;
  }
}

@media (max-width: 800px) {
  header .wrapper,
  footer > .wrapper {
    padding: 1em 1em;
  }

  header .logo img {
    height: 4em;
    width: 12em;
  }

  header .headerbutton {
    left: auto;
    right: 80px;
    width: 4em;
    top: 0em;
  }

  .box {
    padding: 2em 1em;
  }

  .title h1 {
    font-size: 2.2em;
  }

  .subtitle h2,
  .offer h2 {
    font-size: 1.5em;
  }

  .text2col .wrapper {
    column-count: 1;
  }

  .slideshow .multi .swiper-slide {
    width: 50% !important;
  }

  .gallery.vtours a .overlay {
    font-size: 0.8em;
  }

  .gallery.vtours a .overlay .icon {
    font-size: 2em;
  }

  .gallery.vtours a .overlay .iconsmall {
    display: none;
  }

  .offer .items .item {
    padding: 2em 1em;
  }

  .offer.hasIso .items .item:first-child {
    padding: 0 1em 0 1em;
  }

  .distances table td,
  .distances table th {
    min-width: 1em;
  }

  .distances table thead td:first-child,
  .distances table td.icon {
    display: none;
  }

  .contact .info > div.person,
  .contact .info > div.company {
    padding: 1em;
  }

  .fancybox__content .group {
    padding: 1em;
  }

  footer > .wrapper {
    padding: 2em 1em;
  }
}

@media (max-width: 600px) {
  .images .wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 400px) {
  header .headerbutton {
    display: none;
  }

  .title h1 {
    font-size: 2em;
  }

  .subtitle h2 {
    font-size: 1.3em;
  }

  .gallery.vtours .items {
    grid-template-columns: 1fr;
  }

  .distances {
    font-size: 0.8em;
  }
}
