/*
*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
*  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

-----------------------------------------------------------------------------
*/

/* HOME *******************************************************************************/

.home article {
  margin-top: 0 !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;
}

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: 1035px) {

  /*
  -----------------------------------------------------------------------------

  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 //////////////////////////////////////////////////////// */