/*
 Theme Name:   Neve Child
 Description:  USK Customized Theme - Templates
 Author:       hello IT GbR
 Author URI:   http://hello-it.eu
 Template:     neve
 Version:      1.0
 Text Domain:  neve-child
*/

body.page-template-default, body.page-template-page, body.search {
    background-color: #f7fbfd !important;
    /* background-image: url("../images/bg_blau.svg"); */
    /* background-position: center top;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-attachment: scroll; */
}
body.home.page-template-default {
    /* background-size: 100% auto; */
}

body.user-single-page, body.post-type-archive-encyclopedia, body.tax-encyclopedia-category {
    background-color: #FFFDF3 !important;
    /* background-image: url("../images/bg_gelb.svg"); */
    /* background-position: center top;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-attachment: scroll; */
}

body.post-template-single, body.b2b-detail-page {
    background-color: #f7fbfd !important;
    /* background-image: url("../images/bg_blau.svg"); */
    /* background-position: center top;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-attachment: scroll; */
}

body.user-single-post, body.user-detail-page {
    background-color: #FFFDF3 !important;
    /* background-image: url("../images/bg_gelb.svg"); */
    /* background-position: center top;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-attachment: scroll; */
}

a:hover, a:focus {
    text-decoration: none;
}

button, input, textarea, select {
    outline: none;
}

.error404 #content {
    background-color: #FFFDF3;
    z-index: 0;
}

.error404.custom-background #content, .error404.custom-background footer {
    z-index: 0;
}

@media only screen and (max-width: 880px) {
  .error404 #content {
      margin-top: 115px;
  }
}

/* Post Template */
.container.single-post-container {
    margin-top: 80px;
}

.single-post-container .kk_titel {
    text-align: center;
    margin-bottom: 30px;
}

.single-post-container article, .user-detail-page .nv-single-page-wrap.col, .b2b-detail-page .nv-single-page-wrap.col {
    max-width: 100% !important;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0px 71px 0 rgba(0,0,0,0.10);
    margin-bottom: 60px;
    padding: 40px 100px !important;
    color: #595959;
}

.user-detail-page footer, .b2b-detail-page footer {
    margin-top: 40px;
}

.footer-content-wrap .textwidget .mail-link {
    font-family: roundedlight;
    font-size: 18px;
    line-height: 22px;
    color: #BAD1E0 !important;
}

.wp-block-image img {
    border-radius: 10px;
}

img.alignleft {
    float: left;
    margin: 4px 30px 16px 0px;
    border-radius: 5px;
}

img.alignright {
    float: right;
    margin: 4px 0 16px 30px;
    border-radius: 5px;
}

img.alignnone, img.aligncenter {
    border-radius: 5px;
}

img.aligncenter {
    display: block;
}

.post_date_line {
    font-family: roundedmedium;
    font-size: 18px;
    line-height: 22px;
    margin-bottom: 15px !important;
    margin-top: 0px !important;
}

.single-post-content {
    margin: 40px 0;
}

.single-post_further_posts .bkp_single_column {
    margin-right: 0;
}

.single-post_further_posts {
    width: 100%;
}

/* Featured Image */
.featured_img_container {
    margin: 30px 0;
}

.featured_img {
    width: 1440px;
    height: 560px;
    margin: 0 -11.5%;
    border-radius: 10px;
    box-shadow: 0 10px 15px 0 rgba(0,0,0,0.10);
    margin-bottom: -125px;
}

/* Rauten Image Portal / Übersicht */
.rauteimagecontainer {
    max-width: 600px;
    max-height: 600px;
    overflow: hidden;
    border-radius: 15px;
    transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    position: absolute;
    right: -70px;
    top: 75px;
    -webkit-box-shadow: 0px 0px 3px 3px rgba(0, 0, 0, .05);
    box-shadow: 0px 0px 3px 3px rgba(0, 0, 0, .05);
    z-index: -1;
    width: 100%;
    height: auto;
}

.rauteimage {
  transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  position: relative;
  top: 0%;
  left: -15%;
  max-width: 600px;
  padding: 63%;
  width: auto;
  height: auto;
}


  @-moz-document url-prefix() {
    .rauteimage {
      background-attachment: fixed !important;
    }
  }

#raute_color {
  width: 830px;
  height: 830px;
  overflow: hidden;
  position: fixed;
  right: -180px;
  top: -50px;
  z-index: -1;
}

#raute_big_color {
  width: 1950px;
  height: 1950px;
  overflow: hidden;
  position: fixed;
  left: -600px;
  top: -900px;
  z-index: -2;
}

.error404 #raute_big_color, .error404 #raute_color {
  z-index: 0;
}

.error404 #content .row {
  z-index: 1;
  position: relative;
}

.error404 .search-field.usk-search-field {
  padding-top: 30px;
}

.nv-page-title-wrap.nv-big-title, .nv-content-wrap.entry-content  > p:first-of-type {
  width: 70%;
}

.uebersicht .nv-page-title-wrap.nv-big-title, .uebersicht .nv-content-wrap.entry-content  > p:first-of-type {
  width: 60%;
}

.uebersicht .nv-content-wrap.entry-content .bkp_excerpt_text  > p:first-of-type {
    width: 100%;
}

.user-detail-page .nv-page-title-wrap.nv-big-title, .b2b-detail-page .nv-page-title-wrap.nv-big-title, .b2b-detail-page .nv-content-wrap.entry-content > p:first-of-type, .user-detail-page .nv-content-wrap.entry-content  > p:first-of-type {
    width: 100%;
}

.user-detail-page .entry-content h3, .user-detail-page .entry-content h4, .b2b-detail-page .entry-content h3, .b2b-detail-page .entry-content h4, .post-template-single .single-post-content h3, .post-template-single .single-post-content h4, .user-single-post .single-post-content h3, .user-single-post .single-post-content h4{
    margin-top: 40px;
}

.page-template-default .nv-page-title-wrap.nv-big-title {
    margin-top: 15px;
}

@media only screen and (max-width: 1500px) {
  .rauteimagecontainer {
      max-width: 400px;
      max-height: 400px;
      right: -40px;
      top: 70px;
  }

  .rauteimage {
    left: -13%;
    max-width: 400px;
    padding: 62%;
    width: auto;
    height: auto;
  }

  #raute_color {
    width: 400px;
    height: 800px;
    right: -60px;
    top: 35px;
  }
}


@media only screen and (max-width: 1200px) {
  .featured_img_container {
    margin: 0px;
  }

  .container.single-post-container {
    margin-top: 0px;
  }

  .featured_img {
      width: auto;
      margin: 0 -15px -125px;
      border-radius: 0px;
  }
}

@media only screen and (max-width: 920px) {
  .rauteimagecontainer, #raute_color {
    display: none;
  }

  .nv-page-title-wrap.nv-big-title, .nv-content-wrap.entry-content  > p:first-of-type {
    width: 100%;
  }

  .uebersicht .nv-page-title-wrap.nv-big-title, .uebersicht .nv-content-wrap.entry-content  > p:first-of-type {
    width: 100%;
  }

  img.alignleft, img.alignright, img.alignnone, img.aligncenter {
    width: 100%;
  }
}

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

  .single-post-container article, .user-detail-page .nv-single-page-wrap.col, .b2b-detail-page .nv-single-page-wrap.col {
    padding: 30px 20px !important;
    margin-top: -10px;
  }

  .nv-single-page-wrap .entry-content p, .single-post-content p {
    font-size: 16px !important;
    line-height: 26px !important;
  }

  .single-post_further_posts {
    margin: /*0 15px*/0;
  }

  .b2b-detail-page #content, .user-detail-page #content {
    margin-top: 80px;
  }


}

@media only screen and (max-width: 620px) {
  .featured_img {
    margin: 0 -15px;
    height: 210px;
  }
}

@media only screen and (max-width: 480px) {
  .b2b-detail-page .nv-navbar, .user-detail-page .nv-navbar {
    min-height: 80px;
  }
}
