/*
Theme Name: Dörte Nohrden
Theme URI:
Author: FARN digital brand design
Author URI: https://farn.design/
Version: 1.0
*/
@font-face {
    font-family: 'gandhi_sansregular';
    src: url('fonts/GandhiSans-Regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'gandhi_sansitalic';
    src: url('fonts/GandhiSans-Italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: 'gandhi_sansbold';
    src: url('fonts/GandhiSans-Bold-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'gandhi_sansbold_italic';
    src: url('fonts/GandhiSans-BoldItalic-webfont.woff') format('woff');
    font-weight: bold;
    font-style: italic;
}


@font-face {
    font-family: 'gandhi_serifregular';
    src: url('fonts/GandhiSerif-Regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'gandhi_serifitalic';
    src: url('fonts/GandhiSerif-Italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: 'gandhi_serifbold';
    src: url('fonts/GandhiSerif-Bold-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'gandhi_serifbold_italic';
    src: url('fonts/GandhiSerif-BoldItalic-webfont.woff') format('woff');
    font-weight: bold;
    font-style: italic;
}


html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-wrap: normal;
  word-break: break-word;
  font-variant-ligatures: common-ligatures;
  -webkit-font-feature-settings: "liga", "clig";
  -moz-font-feature-settings: "liga", "clig";
  font-feature-settings: "liga", "clig";
  -webkit-font-feature-settings: "liga", "lnum";
  -moz-font-feature-settings: "liga", "lnum";
  font-feature-settings: "liga", "lnum";
  position: relative;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  height: 100%;
  margin-top: 0 !important;
}
html #wpadminbar {
    display: none!important;
}
body {
  margin: 0;
  padding: 60px 0 0 0;
  font-family: gandhi_sansregular, Arial, Helvetica, sans-serif;
  font-weight: normal;
  font-size: 16px;
  line-height: 1.4em;
  transition: 0.4s;
}

figure {
    margin: 0;
}
img{
  width: 100%;
  height: auto;
  display: block;
}
a:hover img {
    opacity: 0.8;
}

h1,h2,h3,h4{
  font-family: gandhi_serifbold, 'Times New Roman', Times, serif;
  line-height: 1.1em;
  letter-spacing: -0.02em;
  margin: 0 0 0.3em;
}
h1 {
  font-size: 2em;
  text-align: center;
}
p {
  margin: 0 0 0.6em;
}
p + p {
    margin: 0;
}
p:first-child {
    margin: 0;
}
p a {
  color: #000;
  text-decoration: none;
  border-bottom: 2px solid #ffd3d3;
  font-family: gandhi_sansbold, Arial, Helvetica, sans-serif;
  margin-bottom: 5px;
  box-shadow: 0 -2px inset #ffd3d3;
}
p a:hover {
  background-color: #ffd3d3;
}
p strong{
  font-family: gandhi_sansbold, Arial, Helvetica, sans-serif;
}
small {
    font-size: 0.9em;
    display: inline-block;
    line-height: 1.5em;
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  min-height: 60px;
  z-index: 100;
  background-color: #fff;
  width: 100%;
  box-shadow: 0 0 19px -10px rgba(0,0,0,0.5);
  transition: 0.4s;
  overflow: scroll;
  max-height: 100%;
}
#logo {
  padding: 11px 0 11px 5%;
  display: inline-block;
  transition: 0.4s;
}
#logo:hover {
    opacity: 0.6;
}
#logo img {
  width: 160px;
  display: inline-block;
  transition: 0.4s;
}
.burgerbutton {
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 0;
  padding: 22px 5% 15px;
  z-index: 101;
  transition: 0.4s;
}
.burgerbutton-linie {
  background: #000;
  height: 1.5px;
  margin-bottom: 6px;
  transition: 0.4s;
  width: 30px;
}
.burgerbutton.active .burgerbutton-linie:nth-child(1) {
  -webkit-transform: translateY(7.5px) rotate(45deg);
  -ms-transform: translateY(7.5px) rotate(45deg);
  transform: translateY(7.5px) rotate(45deg);
}
.burgerbutton.active .burgerbutton-linie:nth-child(2) {
  width: 0;
  margin-left: 50%;
}
.burgerbutton.active .burgerbutton-linie:nth-child(3) {
  -webkit-transform: translateY(-7.5px) rotate(-45deg);
  -ms-transform: translateY(-7.5px) rotate(-45deg);
  transform: translateY(-7.5px) rotate(-45deg);
}
header nav {
    display: none;
    position: relative;
    z-index: 100;
    background-color: #fff;
    width: 100%;
    padding: 10px 0 40px;
}
header li {
    list-style: none;
}
.menu {
    margin: 0;
    padding: 0;
}
header a {
    color: #000;
    text-decoration: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 1.1em;
    padding: 20px 5%;
    display: block;
    text-align: center;
    font-family: gandhi_sansbold, Arial, Helvetica, sans-serif;
    font-weight: bold;
}
header a:hover span {
    border-bottom: 4px solid #ffd3d3;
}
.sub-menu {
  padding: 0 0 10px;
}

.sub-menu > li > a {
  padding: 10px 20px 10px 20px;
  text-transform: inherit;
  letter-spacing: 0.02em;
}

/* ARTICLE */
.bild-responsive-desktop {
  display: none;
}
.article-head {
    max-width: 90%;
    position: relative;
    background-color: #fff;
    padding: 1.5em 1em 0;
    margin: 0 auto;
}
.bild-responsive + .article-head {
    margin: -1.5em auto 0;
}
.vorspanntext {
  text-align: center;
  font-style: italic;
  font-size: 1.1em;
  font-family: gandhi_sansitalic, Arial, Helvetica, sans-serif;
  line-height: 1.3em;
}
.author {
  text-align: center;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.85em;
  letter-spacing: 0.04em;
  margin-bottom: 2em;
  font-family: gandhi_sansbold, Arial, Helvetica, sans-serif;
}

.is-style-editorial p:first-child::first-letter {
    font-size: 5em;
    float: left;
    margin: 7px 5px 0 -3px;
}
.smallurl {
    display: inline-block;
    color: #000;
    font-size: 0.9em;
    display: inline-block;
    line-height: 1.5em;
    font-family: gandhi_sansregular, Arial, Helvetica, sans-serif;
    font-weight: normal;
    box-shadow: none;
    border-bottom: 0;
}



/* Listenansicht */

/* latest posts */
.wp-block-latest-posts > div > div{
  margin-bottom:40px !important;
}
.wp-block-latest-posts > div > div > h3 > a{
  color: #000;
  text-decoration: none;
}
.wp-block-latest-posts > div > div > h3 > a:hover{
  border-bottom: 4px solid #ffd3d3;
}
.wp-block-latest-posts > div > div h3{
  font-size: 28px;
  margin-bottom:5px;
}
.more-link {
}
.wp-block-latest-posts__featured-image {
  overflow:hidden;
  line-height: 0;
  margin-bottom:10px !important;
  height:0;
  padding-bottom: 56.25%;
}
.wp-block-latest-posts__featured-image img{
  width: 100% !important;
}
.wp-block-latest-posts__post-author, .wp-block-latest-posts__post-date {
  display: inline-block !important;
  font-size: 16px !important;
  color:#0B3D56 !important;
}
.wp-block-latest-posts li .smallcats{
  margin-bottom: 5px;
  display:flex;
  flex-wrap: wrap;
}
.wp-block-latest-posts li .smallcat{
  display: inline-block;
  margin-right:10px;
  margin-bottom:5px;
  font-weight: bold;
  font-size: 13px;
  text-transform: uppercase;
}
.wp-block-latest-posts__post-excerpt {
  margin-bottom: 10px !important;
}
.wp-block-latest-posts__post-excerpt p {
  margin-top:10px;
  text-align: left;
}
/* Filter */
ul.tag-filter {
  margin:0 0 30px;
  padding:0;
  list-style-type: none;
  display: flex;
  flex-wrap: wrap
}
ul.tag-filter li {
  display: flex;
  border-radius: 25px;
  padding:8px 15px;
  background-color: #f4f6f9;
  color:#000;
  letter-spacing: 0.03em;
  font-size: 16px;
  line-height: 1;
  margin:0 9px 10px 0;
  cursor:pointer;
  align-items:center;
  white-space: nowrap;
}
ul.tag-filter li:first-child {
  margin-left:0px;
}
ul.tag-filter li:hover {
  background-color:#ffd3d3;
}
ul.tag-filter li.tagactive {
  background-color: #ffd3d3;
}
ul.tag-filter li.tagactive::after {
  background-image: url('images/icons_cross_dark.svg');
  background-repeat: no-repeat;
  content:'';
  height:13px;
  width:13px;
  display:inline-block;
  margin-left: 10px;
}
ul.tag-filter #tag-id-0.tagactive::after {
  display: none;
}

.cat-filter-wrapper {
  position: relative;
  height:46px;
  margin-bottom: 40px;
}
.cat-filter {
 border:2px solid #0B3D56;
 border-radius: 5px;
 list-style-type: none;
 margin:0;
 padding:0;
 display:inline-block;
 position: absolute;
 background-color:white;
 padding:10px 15px;
 font-size: 18px;
 font-family: 'Asap', sans-serif;
}
.cat-filter option {
  padding:14px 40px 14px 20px;
  cursor:pointer;
  line-height: 18px;
}
.cat-filter option.catactive {
  font-weight: bold;
}
.cat-filter option:first-child {
  display: block;
}
.countposts {
  display: block;
}


/* SINGLE */
.metadaten {
    padding-top: 15px;
    position: relative;
    margin-top: 2.5em;
}
.metadaten::before {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background-color: #000;
    top: 0;
    position: absolute;
}
.metadaten p {
    text-align: left;
    font-size: 0.9em;
}



/* breiten */
.inner-content {
}
.inner-content div, .inner-content figure {
    margin-bottom: 2em;
}
.inner-content .row > div {
    margin-bottom: 0.8em;
}
.alignfull {
     margin-right: auto;
     margin-left: auto;
     max-width: 100vw;
     position: relative;
     width: 100%;
 }
.alignwide {
     width:90%;
     margin-left:auto;
     margin-right:auto;
     max-width: 1100px;
 }
.inner-content > :not(.alignwide):not(.alignfull), .wp-block-group.alignfull.has-background > .wp-block-group__inner-container > :not(.alignwide):not(.alignfull) {
   width:90%;
   margin-left:auto;
   margin-right:auto;
   max-width: 850px;
}
/* has-background paddings & margins */
.wp-block-group.alignfull.has-background{
  padding:60px 0;
  margin: 60px auto;
}
.wp-block-image.alignfull{
  margin: 60px auto;
}
.inner-content > .wp-block-group.alignfull.has-background + .wp-block-group.alignfull.has-background,
.inner-content > .wp-block-image.alignfull + .wp-block-group.alignfull.has-background,
.inner-content > .wp-block-group.alignfull.has-background + .wp-block-image.alignfull{
  margin-top:-60px;
}
.wp-block-group.has-background:first-child,
.wp-block-image.alignfull:first-child {
    margin-top: -60px!important;
}
.wp-block-group.alignfull.has-background:last-child,
.wp-block-image.alignfull:last-child {
    margin-bottom: -60px!important;
}
.is-style-cutted-down + .wp-block-group.alignfull.has-background {
    padding-top: 80px;
}


#overlay {
    background-color: rgba(0,0,0,0.15);
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: none;
}

.menu-footer-menue-container {
    text-align: center;
    padding: 50px 20px;
}
#menu-footer-menue {
    display: inline-block;
}
footer li {
    float: left;
    list-style: none;
}
footer a {
    color: #000;
    text-decoration: none;
    padding: 14px;
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: gandhi_sansbold, Arial, Helvetica, sans-serif;
}
footer a:hover span {
    border-bottom: 4px solid #ffd3d3;
}




/* MEDIA QUERIES */


@media only screen and (min-width: 400px) {
  .article-head {
      padding: 2em 2.5em 0;
  }
  .bild-responsive + .article-head {
      margin: -3em auto 0;
  }
  p {
    text-align: justify;
  }
}

@media only screen and (min-width: 600px) {
  body {
    font-size: 18px;
    padding: 80px 0 0 0;
  }
  header {
    min-height: 80px;
  }
  #logo {
    padding: 17px 0 16px 5%;
  }
  #logo img {
    width: 180px;
  }
  .burgerbutton {
    padding: 31px 5% 25px;
  }
  h1 {
    font-size: 2.5em;
  }
  .bild-responsive-mobil {
    display: none;
  }
  .bild-responsive-desktop {
    display: block;
  }
  .author {
    margin-bottom: 3em;
  }
  .is-style-editorial > div {
      column-count: 2;
  }
  .is-style-editorial p:first-child::first-letter {
    font-size: 5.15em;
    margin: 7px 7px 0 -3px;
  }

}
@media only screen and (min-width: 1050px) {
  html{
    margin-top: 32px!important;
  }
  html #wpadminbar {
      display: inherit!important;
  }
  body {
    padding: 0;
  }
  header {
    position: relative;
    box-shadow: none;
    height: 100px;
    overflow: inherit;
    max-height: inherit;
  }
  #logo {
    padding: 21px 0 19px 5%;
    float: left;
  }
  #logo img {
    width: 240px;
  }
  .burgerbutton {
    display: none;
  }
  header nav {
    display: block!important;
    width: auto;
    padding: 0;
  }
  #menu-hauptmenue {
    margin: 0;
    padding: 0;
    display: inline-block;
    position: absolute;
    right: 5%;
    top: 0;
  }
  header li {
    display: inline-block;
    float: left;
  }
  header a {
    padding: 37px 20px;
    font-size: 0.95em;
  }
  header li:last-child a {
    padding-right: 0;
  }
  .sub-menu {
    display: none;
    position: absolute;
    background-color: #fff;
    top: 80px;
    left: 0;
    box-shadow: 0 2px 19px -10px rgba(0,0,0,0.5);
  }
  .menu-item-has-children:hover > .sub-menu {
    display: block;
  }
  .sub-menu > li {
    display: block;
    float: none;
  }
  .sub-menu > li > a {
    padding: 10px 30px 10px 20px;
    display: block;
    text-align: left;
  }
  .sub-menu > li:first-child > a {
    padding-top: 20px;
  }
  .sub-menu > li:last-child > a {
    padding-bottom: 25px;
  }
  h1 {
    font-size: 3em;
  }
  .article-head {
    padding: 2.5em 3.5em 0;
  }
  .vorspanntext {
    font-size: 1.2em;
    line-height: 1.4em;
  }
  .author {
    margin-bottom: 4em;
  }
  #overlay {
    display: none !important;
  }
}


@media only screen and (min-width: 1100px) {
  .article-head {
      max-width: 1080px;
      padding: 2.5em 6.5em 0;
  }
  .bild-responsive + .article-head {
      margin: -5em auto 0;
  }
}
