/*
*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
*  Copyright © 2020 OHO Design 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 *******************************************************************************/

.main_img-wrap {
  width: 100%;
  height: 70vh;
  min-height: 700px;
  max-height: 800px;
  margin-top: -100px;
  position: absolute;
}

.main_img-wrap::after {
  content: '';
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+68&0+0,1+100 */ /* FF3.6-15 */ /* Chrome10-25,Safari5.1-6 */
  background: -o-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.68) 68%,rgba(0,0,0,1) 100%);
  background: -webkit-gradient(linear,  left top, left bottom,  from(rgba(0,0,0,0)),color-stop(68%, rgba(0,0,0,0.68)),to(rgba(0,0,0,1)));
  background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.68) 68%,rgba(0,0,0,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 ); /* IE6-9 */
}

/**/

.verse-wrap .gallery-slider {
  height: auto;
  background: unset !important;
  opacity: 0;
  -webkit-animation: verseFadein 2s ease-out 0.4s 1 forwards;
  animation: verseFadein 2s ease-out 0.4s 1 forwards;
}
@-webkit-keyframes verseFadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes verseFadein {
  from { opacity: 0; }
  to { opacity: 1; }
}

.verse-wrap .gallery-slider__images .item .img-fill {
  height: auto;
  text-align: left;
}
.verse-wrap .gallery-slider .img-fill {
  width: 100%;
  max-width: 700px;
}

.verse-wrap p.h3 {
  margin: 0;
  font-size: 50px;
  line-height: 1.18em;
}

.verse-wrap p.h3 span {
  display: inline-block;
}

/**/

.sec-wrap.verse {
  z-index: 2;
  margin-bottom: 160px;
}

.verse-wrap {
  display: table;
  position: relative;
  height: 50vh;
  min-height: 500px;
  max-height: 600px;
}

.verse-wrap__inner {
  display: table-cell;
  vertical-align: bottom;
}


/* POSTS *******************************************************************************/

/***** Post grid */

.post-grid .centered-image-wrap {
  height: 250px;
}

/* SINGLE POST *******************************************************************************/

/***** Layout */

.layout-wrap [class*="block--"] {
  margin: 50px 0;
}

/* GENERAL FORM STYLES *******************************************************************************/

.form-wrap .grid-wrap .box {
  padding: 10px;
}

/***** Labels */

.form-wrap span.label {
  margin-bottom: 0.5em;
  display: inline-block;
  font-size: 0.75em;
}

/***** Input fields  */

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 #141414;
  padding: 10px 10px 10px 10px;
  border-radius: 0;
  margin-bottom: 0;
  background: #f4f4f4;
  color: #141414;
}

.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: #141414 !important;
  width: 100%;
}

textarea {
  background: #f4f4f4;
  padding: 10px;
  line-height: 25px;
  max-height: 320px;
  border: 1px solid black;
  border-radius: 0;
  margin: 0px;
}

textarea:focus, input:focus,
textarea:active, input:active {
  color: #fff;
  border: 1px solid #5268c2;
}

::-webkit-input-placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #141414;
  opacity: 1; /* Firefox */
}

::-moz-placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #141414;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #141414;
  opacity: 1; /* Firefox */
}

::-ms-input-placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #141414;
  opacity: 1; /* Firefox */
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #141414;
  opacity: 1; /* Firefox */
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #141414;
}
::-ms-input-placeholder { /* Microsoft Edge */
  color: #141414;
}

/***** Submit button */

input[type="submit"] {
  float: right;
  background: #141414;
  color: #fff !important;
  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: #5268c2;
  font-size: 0.75em;
}

.form-wrap input.has-error {
  border-color: #5268c2;
}

/***** success handling */

form.submitted {
  display: none !important;
}

/* 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: #5268c2;
}

.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 *******************************************************************************/

.laws .box:nth-child(odd) {
  padding-right: 25px;
}

.laws .box:nth-child(even) {
  padding-left: 25px;
}

.laws a:hover,
.laws a.active-link,
.laws a {
  color: #5268c2;
  word-break: break-all;
}

.laws #oho-table p {
  margin: 0;
}

.laws #impressum-oho-logo {
  width: 24px;
  margin-right: 20px;
  margin-top: 5px;
}

/* 404 *******************************************************************************/

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

.error404 h1 {
  margin: 0px 0 30px 0;
}

.error-404 p a:hover {
  cursor: pointer;
  border-bottom: 1px solid #5268c2;
  color: #5268c2;
}


/* TABLET //////////////////////////////////////////////////////////////// */
/*
01. Inner Content
*/

@media only screen and (max-width: 880px) {

  /*
  -----------------------------------------------------------------------------

  01. Inner Content

  -----------------------------------------------------------------------------
  */

  /* HOME *******************************************************************************/

  .main_img-wrap {
    height: 60vh;
    max-height: 700px;
    min-height: 600px;
    overflow: hidden;
  }

  /**/

  .sec-wrap.verse {
    margin-bottom: -80px;
  }

  .verse-wrap {
    height: 50vh;
    min-height: 500px;
    max-height: 600px;
  }

  .verse-wrap p.h3 {
    font-size: 5vw;
  }
  .verse-wrap p.h3 span {
    margin-top: 10px;
  }

  .verse-wrap__inner {
    vertical-align: middle;
  }

  .verse-wrap .gallery-slider {
    width: 80vw;
    overflow: hidden;
  }

  .verse-wrap .gallery-slider .img-fill {
    max-width: 80vw;
  }


  /**/

  .box.order-2 {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
  }

  .box img {
    margin-top: 30px;
  }

  /**/



}


/* MOBILE //////////////////////////////////////////////////////////////// */
/*
01. Inner Content
*/

@media only screen and (max-width: 580px) {


  /*
  -----------------------------------------------------------------------------

  04. Inner Content

  -----------------------------------------------------------------------------
  */

  /* HOME *******************************************************************************/

  .verse-wrap p.h3,
  .verse-wrap p.h3 span {
    font-size: 6vw;
    line-height: 1.35em;
  }

  /*  IMPRINT + DATA PRIVACY *******************************************************************************/

  .laws .box:nth-child(odd),
  .laws .box:nth-child(even) {
    padding: 0;
  }

}

/* MINI-MOBILE //////////////////////////////////////////////////////////////// */
/*
01. Inner Content
*/

@media only screen and (max-width: 430px) {

  /*
  -----------------------------------------------------------------------------

  04. Inner Content

  -----------------------------------------------------------------------------
  */

}


/* SPECIAL BREAKPOINTS //////////////////////////////////////////////////////// */
