/*
*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
*  Copyright © 2022 casanaut GmbH
*  Do not use this software or replicate without permission of the owner.
*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
*/

/* Inner Styles */

/* ///////////////////// */

/* -------------- */
/* SETUP */
/* DESKTOP */
/* TABLET */
/* MOBILE */
/* MINI-MOBILE */
/* SPECIAL BREAKPOINTS */
/* -------------- */

/* DESKTOP //////////////////////////////////////////////////////////////// */
/*
01. Inner Content
*/

/*
-----------------------------------------------------------------------------

01. Inner Content

-----------------------------------------------------------------------------
*/

/* LANG TOGGLE *******************************************************************************/

#lang-toggler .lang-toggler__menu {
  position: absolute;
  display: flex;
  flex-direction: column;
}

#lang-toggler .lang-toggler__menu.hidden {
  display: none;
}

/* HOME *******************************************************************************/

.home article {
  margin-top: 0 !important;
}

/* STANDORT *******************************************************************************/

/***** pin styles */
.layout-wrap .map-wrap .svg-wrap.custom-pin-icon {
  position: relative;
  width: 1.5rem;
  /* match viewBox aspect ratio */
  height: calc((1.5rem / 2) * 3);
  overflow: visible;
}

.layout-wrap .map-wrap .svg-wrap.custom-pin-icon.is-main {
  width: 2rem;
  height: calc((2rem / 2) * 3);
}


.layout-wrap .map-wrap .svg-wrap.custom-pin-icon svg {
  position: absolute;
  width: auto;
  transform: scale(0.95);
  transform-origin: bottom center;
  overflow: visible;
  filter: drop-shadow(1px -1px 1px rgba(0, 0, 0, 0.25));
}

/***** flag styles */
.layout-wrap .map-wrap .gm-style-iw {
  position: absolute !important;
  -webkit-box-sizing: border-box !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  top: 0 !important;
  left: 0 !important;
  -webkit-transform: translate(-50%, -100%) !important;
  -ms-transform: translate(-50%, -100%) !important;
  transform: translate(-50%, -100%) !important;
  background-color: #20201f !important;
  border-radius: 0 !important;
  border: 0 !important;
  padding: 0 !important;
  -webkit-box-shadow: 0 2px 7px 1px rgba(0, 0, 0, 0.3) !important;
  box-shadow: 0 2px 7px 1px rgba(0, 0, 0, 0.3) !important;
  color: #fff !important;
}

/***** hide close btn */
.layout-wrap .map-wrap .gm-ui-hover-effect {
  display: none !important;
}

/***** flag inside */
.layout-wrap .map-wrap .gm-style-iw-chr {
  display: none;
}

.layout-wrap .map-wrap .gm-style-iw-d {
  scrollbar-width: none;
  padding: 6px 8px !important;
  font-size: 15px !important;
}

.layout-wrap .map-wrap .gm-style-iw-d::-webkit-scrollbar {
  display: none;
}


/***** flag arrow */
.layout-wrap .map-wrap .gm-style .gm-style-iw-tc::after {
  background: #20201f !important;
}

/***** zoom panels */
.layout-wrap .map-wrap .gmnoprint button.gm-control-active {
  border: 1px solid var(--colorAccent) !important;
  background: #fff !important;
  -webkit-transform: translateY(1px) !important;
  -ms-transform: translateY(1px) !important;
  transform: translateY(1px) !important;
}

.layout-wrap .map-wrap .gmnoprint button.gm-control-active:first-of-type {
  margin-top: 2px !important;
}

.layout-wrap .map-wrap .gmnoprint button.gm-control-active:last-of-type {
  margin-top: -2px !important;
}

.layout-wrap .map-wrap .gmnoprint button.gm-control-active img {
  height: 12px !important;
  width: 12px !important;
}

/***** google disclaimers */
.layout-wrap .map-wrap .gmnoprint span,
.gmnoprint a,
.gm-style-cc a {
  opacity: 0.3 !important;
}

/* POSTS *******************************************************************************/

/***** Post grid */

.post-grid .centered-image-wrap {
  height: 250px;
}

/* SINGLE POST / PAGE *******************************************************************************/

/***** Main-Image */

header.empty {
  margin-top: -50px;
  min-height: 2rem;
}

.main-image--full__wrap {
  margin-top: -180px;
  height: 50vw;
  min-height: 500px;
  max-height: 700px;
  overflow: hidden;
}

.main-image--full__wrap img {
  width: 100%;
}

/* GENERAL FORM STYLES *******************************************************************************/

.form-wrap .grid-wrap .box {
  padding: 1rem;
}

/***** Labels */

.form-wrap span.label {
  margin-bottom: 0.5em;
  display: inline-block;
  font-size: 0.75em;
  color: var(--colorBase);
}

/***** Input fields  */

.field-wrap {
  margin-bottom: 20px;
}

.field-wrap.zip {
  display: inline-block;
  width: 25%;
}

.field-wrap.city {
  display: inline-block;
  width: 73%;
  float: right;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"] {
  border: 1px solid var(--colorBase);
  padding: 10px 10px 10px 10px;
  border-radius: 0;
  margin-bottom: 0;
  background: #f4f4f4;
  color: var(--colorBase);
}

.search-form input[type="search"] {
  -moz-appearance: none;
  /* older firefox */
  -webkit-appearance: none;
  /* safari, chrome, edge and ie mobile */
  appearance: none;
  /* rest */
  border-radius: 3px;
  margin-bottom: 0;
  background: #f4f4f4;
}

input,
select,
textarea {
  color: var(--colorBase);
  width: 100%;
  -moz-appearance: none;
  /* older firefox */
  -webkit-appearance: none;
  /* safari, chrome, edge and ie mobile */
  appearance: none;
  /* rest */
  border-radius: 0px;
  -webkit-box-shadow: none;
  box-shadow: none;
}

select {
  max-width: 140px;
  display: block;
}

textarea {
  background: #f4f4f4;
  padding: 10px;
  line-height: 25px;
  max-height: 320px;
  border: 1px solid var(--colorBase);
  border-radius: 0;
  margin: 0px;
  resize: none;
}

textarea:focus,
input:focus,
textarea:active,
input:active {
  color: var(--colorBase);
  border: 1px solid #878787;
}

::-webkit-input-placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: var(--colorBase);
  opacity: 1;
  /* Firefox */
}

::-moz-placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: var(--colorBase);
  opacity: 1;
  /* Firefox */
}

:-ms-input-placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: var(--colorBase);
  opacity: 1;
  /* Firefox */
}

::-ms-input-placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: var(--colorBase);
  opacity: 1;
  /* Firefox */
}

::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: var(--colorBase);
  opacity: 1;
  /* Firefox */
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: var(--colorBase);
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: var(--colorBase);
}

/***** Submit button */

input[type="submit"] {
  float: right;
  background: var(--colorBase);
  color: var(--colorAccent);
  border-radius: 200px;
  padding: 0.3em 1em 0.45em;
  border: unset;
  margin-top: 0px;
  display: inline-block;
  cursor: pointer;
  width: auto;
}

/***** error handling */

.form-wrap .error-msg {
  color: #f00;
  font-size: 0.75em;
}

.form-wrap input.has-error {
  border-color: #585758;
}

/***** success handling */

form.submitted {
  display: none;
}

/* PASSWORD FORM STYLES *******************************************************************************/

.post-password-form p:nth-of-type(1) {
  display: none;
}

span.custom-password-message {
  display: block;
  margin: auto;
  max-width: 160px;
  padding: 2px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.17);
  color: #585758;
}

.post-password-form label {
  font-size: 0px;
}

.post-password-form label input {
  font-size: 30px;
  padding: 4px 15px;
  text-align: center;
}

.post-password-required input[type="submit"] {
  position: relative;
  float: unset;
  margin: 25px auto;
  display: block;
}

/* IMPRINT + DATA PRIVACY *******************************************************************************/

.reference-wrap h1,
.reference-wrap h2,
.reference-wrap h3,
.reference-wrap h4,
.reference-wrap h5,
.reference-wrap h6 {
  font-size: 22px;
  line-height: 1.38em;
  letter-spacing: 0.03em;
}

/* 404 *******************************************************************************/

.error-404 {
  text-align: center;
}

.error-404 h1,
.error-404 p {
  margin: auto;
  max-width: 800px;
}

.error404 .error h1 {
  font-size: 100px;
}

.error-404 p a:hover {
  cursor: pointer;
  border-bottom: 1px solid #585758;
  color: #585758;
}

/* TABLET //////////////////////////////////////////////////////////////// */
/*
01. Inner Content
*/

@media only screen and (max-width: 880px) {
  /*
  -----------------------------------------------------------------------------

  01. Inner Content

  -----------------------------------------------------------------------------
  */

  /* SINGLE POST / PAGE *******************************************************************************/
  .azalea .main-image--full__wrap {
    margin-top: 0;
  }
}

/* MOBILE //////////////////////////////////////////////////////////////// */
/*
01. Inner Content
*/

@media only screen and (max-width: 580px) {
  /*
  -----------------------------------------------------------------------------

  04. Inner Content

  -----------------------------------------------------------------------------
  */

  /* HOME *******************************************************************************/

  /* SINGLE POST / PAGE *******************************************************************************/

  /*  IMPRINT + DATA PRIVACY *******************************************************************************/
}

/* MINI-MOBILE //////////////////////////////////////////////////////////////// */
/*
01. Inner Content
*/

@media only screen and (max-width: 430px) {
  /*
  -----------------------------------------------------------------------------

  04. Inner Content

  -----------------------------------------------------------------------------
  */

  /* SINGLE POST / PAGE *******************************************************************************/
}

/* SPECIAL BREAKPOINTS //////////////////////////////////////////////////////// */