/* CSS Document */
/*
Theme Name: OSF
Theme URI:
Author: cas
Description: Open Science
Version: 1.0
*/
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

b, strong {
    font-weight: bold;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}


@font-face {
    font-family: 'zbw_binaryregular';
    src: url('./font/zbw_binary-webfont.eot');
    src: url('./font/zbw_binary-webfont.eot?#iefix') format('embedded-opentype'),
         url('./font/zbw_binary-webfont.woff') format('woff'),
         url('./font/zbw_binary-webfont.ttf') format('truetype'),
         url('./font/zbw_binary-webfont.svg#zbw_binary') format('svg');
    font-weight: normal;
    font-style: normal;
}

html {
    /*background-color: #005d95; /*  #005d95  */
    /* background: radial-gradient(circle at 100%, rgba(0, 123, 180, 0.4), rgba(0, 123, 180, 1) 80%); */
}

.wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.wp-block-embed__wrapper {
    position: relative;
    padding-bottom: 56.25%; /* Default for 1600x900 videos 16:9 ratio*/
    padding-top: 0px;
    height: 0;
    overflow: hidden;
}

.wp-block-embed {
    margin-left: 0;
    margin-top: 9px;
    margin-right: 1%;
}

.circle {
    position: absolute;
    filter: blur(0px);
    z-index: -999999;
}

.fontzbw {
    font-family: "zbw_binaryregular";
}

body {
    font-family: Arial, Helvetica, sans-serif;
    /* background-color: #005d95; */
    background-color: #fff;
    background-image: none;
    background-position: center 60%;
    /* background-position:  40% -500px; */
    background-size: cover; 
    background-repeat: no-repeat;
    background-attachment: fixed;
}

#container {
    width: 100%;
    margin: auto;
    padding-top: 94px;
    padding-bottom: 50px;
}

.site-header {
    position: fixed;
    width: 100%;
    background-color: #fff;
    height: 112px;
}

#Logos {
    width:100%;
    padding-left: 4rem;
    height: 45px;
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #fff;
    margin-bottom: 10px;
    margin-top: 10px;
}

.custom-logo {
    width: 286px;
    height: 49px;
}

#nav-toggle {
    position: fixed;
    right: 6%;
    top:12px;
    background: none;
    width: 50px;
    height: 30px;
    line-height: 50px;
    text-align: center;
    color: #000000;
    cursor: pointer;
    padding-top: 28px; /*18px*/

}

.js #menu-hauptnavigation {

}


.js #menu-hauptnavigationen {

}

@media (min-width: 981px) {

    #container {
        padding-top: 150px;
    }

    .site-header {
        height: 155px;
    }
    .navcontainer {
        display: flex;
        align-items: center;
        justify-content: center;
        border-bottom: 1px solid #ccc;
        border-top: 1px solid #ccc;
        padding-bottom: 5px;
    }

}



#nav {
    text-align: right;
    height: 70px;
    font-size: 14px;
    padding-right: 10px;
}

nav ul, #nav ul {
    margin: 0;
    padding: 7px 0px 0px 0px; 
	list-style-type: none;
    list-style-image: none;
}

footer #nav ul {
    padding: 21px 0px 0px 0px; 
}

nav li, #nav li {
    display: inline;
}

hr {
    color: #fff;
}

a {
    
}

a:hover {
    
}

b {
    font-weight: bold;
}

li {
    line-height: 2em;
}

.bigbullet {
    font-size: 1.2em;
    line-height: 1.2em;
}

nav ul li a, #nav ul li a {
    text-decoration: none;
	padding: 7px 10px 6px 10px;
    color: #000;
}

#nav ul li a {
	padding: 9px 10px 8px 10px;
    color: #000;
}

nav ul li a:hover, #nav ul li a:hover {
    color: #007bb4;
}



h1 {
    font-family: "Times New Roman", Times, serif;
    color: #000;
    font-size: 3.3em;
    line-height: 1em;
    font-weight: normal;
}

.fp_box01 h1 {
    color: #000;
}

#Headline {
    font-family: "zbw_binaryregular";
    font-size: 72px;
    font-style: normal;
    font-weight: normal;
    color: #ffffff;
    padding-bottom: 120px;
}

.col {
    float: left;
    width: 32%;
    padding-right: 1.5%;
}

.col:nth-of-type(2) {
    width: 32%;
    padding-right: 1.5%;
}

.col:nth-of-type(3) {
    width: 33%;
    padding-right: 0%;
}

#the_image {
    padding-top: 20px;
}

#the_image figure img {
    width: 100%;

}

#the_image figure  {
    width: 100%;
    display: block;
}

.box,
.bluebox {
    border: 0px solid rgba(0, 123, 180, 0.96);
    background-color: rgba(0, 123, 180, 0.96);
    color: #000;
    border-radius: 8px;
    margin-bottom: 10px;
    padding-top: 20px;
    padding-left: 4rem;
    padding-right: 4rem;
    padding-bottom: 25px;
    box-shadow: 4px 4px 7px 0px rgba(0,0,0,0.25);
}

.box {
    border: 0px solid rgba(255, 255, 255, 0.96);
    background-color: rgba(255, 255, 255, 0.96);
    color: #333333;
}






.box:after, .bluebox:after {
  content: "";
  display: table;
  clear: both;
}

.box p,
.bluebox p {
    font-size: 1.1em;
    line-height: 1.6em;
    font-weight: 200;
}

.box p {
    color: #333333;
}

.col .box,
.col .bluebox {
    padding-left: 6%;
}


.is-style-wide {
    height: 5px;
}

//*****************************Frontpage CSS *************************************//

.fp_box_left {
    float: left;
    width: 44%;
    padding: 3%
}
.fp_box_right {
    float: left;
    width: 44%;
    padding: 3%
}

.fp_box01_left {
    float: left;
    width: 70%;
    padding-left: 0%;
    margin-top: 33px;
}

.headline-left {
    float: left;
}

.headline-right {
    float: left;
}

.fp_box01_right {
    float: left;
    width: 30%;
    padding-right: 0%
}

.fp_mag_left,
.fp_box03_left,
.fp_box05_left,
.fp_box07_left,

.fp_box02_right,
.fp_box04_right,
.fp_box06_right,
.fp_box08_right {
    float: left;
    width: 58%;
    padding: 3%
}


.fp_mag_right,
.fp_box03_right,
.fp_box05_right,
.fp_box07_right,

.fp_box02_left,
.fp_box04_left,
.fp_box06_left,
.fp_box08_left {
    float: left;
    width: 30%;
    padding: 3%
}


.fp_box01_right {
    color: #000;
}

.fp_mag {
    background-color: #fff;
    color: #000;
}

.fp_box02 {
    background-color: #218cbe;
    background-color: #ff8800;
    background-color: #fff;
    color: #000;
}

.fp_box03 {
    background-color: #429dc7;
    background-color: #007bb4;
    background-color: #fff;
    color: #000;
}

.fp_box04 {
    background-color: #63aed1;
    background-color: #218cbe;
    background-color: #fff;
    color: #000;

}

.fp_box05 {
    background-color: #429dc7;
    background-color: #429dc7;
    background-color: #fff;
    color: #000;

}

.fp_box06 {
    background-color: #218cbe;
    background-color: #fff;
    color: #000;
}

.fp_box07 {
    background-color: #007bb4;
    background-color: #fff;
    color: #000;
}




//*****************************Frontpage CSS END *************************************//




section {
    clear: left;
}

article h2, 
section h2,
.econbiz,
.econstor {
    font-family: "zbw_binaryregular";
    font-size: 2.6em;
    font-style: normal;
    font-weight: 200;
}

.econbiz, .econstor {
    
}

.econbiz2 {
    color: #eb6b05;
}

.econstor2 {
    color: #1aab03;
}


.selectorbox .wp-block-column {
    border: 0px solid rgba(0, 123, 180, 0.96);
    background-color: rgba(0, 123, 180, 0.96);
    border: 0px solid #fff;
    background-color: #fff;
    color: #000;
    border-radius: 8px;
    margin-bottom: 10px;
    padding-top: 20px;
    padding-left: 4%;
    padding-right: 4%;
    padding-bottom: 25px;
    box-shadow: 4px 4px 7px 0px rgba(0,0,0,0.25);
}


.serif_hl, article h2, 
section h2 {
    font-family: "Times New Roman", Times, serif;
    font-size: 1.7em;
    line-height: 1.3em;
    font-style: normal;
    font-weight: 200;
}

.fp_hl h1 {
    margin-top: -20px;
} 

.fp_box01 .serif_hl_blk {
    font-family: "Times New Roman", Times, serif;
    font-size: 1.5em;
    font-style: italic;
    background-color: #000;
    color: #fff;
    padding: 8px;
}


.box h2 a {
    color: #007bb4;
}

.bluebox h2 a {
    color: #000;
}

article h2 a, 
section h2 a {
    text-decoration: none;
}

.galleryh2, .nonlinkh2 {
    color: #007bb4;
}

section header h3 {
    color: #007bb4;
}



.bluebox a {
   /* color: #d8e9fa;  */
     color: #ff8800;
}

.bluebox a:hover {
    color: #666;
}

.btn_box {
    bottom: 2%;
}


.more a, .back a, .btn_box a {
    text-decoration: none;
    font-size: 19px;
    color: #007bb4;
    border-radius: 8px;
    background-image:linear-gradient(0deg, #e3e8ea 50%, #ffffff 50%);
    height: 20px;
    padding: 8px 12px 8px 15px;
}

.more a, .back a, .btn_box a {
    text-decoration: none;
    font-size: 17px;
    color: #fff;
    border-radius: 0;
    background-color: #000;
    height: 20px;
    padding: 8px 12px 8px 15px;
    background-image: none;
}

.more a:hover {
    color: #000;
    background-color: #000;
}
 
  
}

.parent_box_r, .parent_box_l, .parent_box_1, .parent_box_2, .parent_box_3 {
    position: relative;
}

.box_in_box {
    padding-bottom: 25px;
}


.btn_box a {

    background-image:linear-gradient(0deg, #007bb4 50%, #007bb4 50%);
    color: #fff;
}


.more a:hover, .back a:hover {
    color: #000;
    background-image:linear-gradient(0deg, #e3e8ea 50%, #e3e8ea 50%);
}

.back_ {
    height: 30px;
}

img {
    max-width: 96%;
    height: auto;
}

.fp_box01 img {
    max-width: 100%;
}

.wp-post-image {
    width: 100%;
}

.col .box .size-medium {
    width: 97%;
    max-width: 97%;
    float: none;
    margin: 0;
}


footer {
    float: left;
    width: 100%;
    height: 85px;
}

#footer_left {
    float: left;
    width: 18%;
    padding-left: 4%;
    text-align: left;
}

#footer_right {
    float: right;
    width: 76%;
    padding-right: 2%;
}

footer .box {
    padding: 0;
}

#footer_llogo, #footer_llogo_en {
    background-image:url(img/leibniz_de.jpg);
    background-size: 90px 69px;
    background-repeat: no-repeat;
    height: 69px;
    margin-top: 1px;
    margin-bottom: 1px;
}

#footer_llogo_en {
    background-image:url(img/leibniz_en.jpg);
}


/* Download Button */

.wp-block-file {
    padding-top: 20px;
}

.wp-block-file .wp-block-file__button {
    background: #007bb4;
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    padding: .5em 1em;
}


/* Blockquote */
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400italic);
blockquote{
    font-size: 1.2em;
    font-family:Open Sans;
    font-style:italic;
    color: #555555;
    padding:1.2em 30px 1.2em 50px;
    line-height:1.6;
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    margin: 0;
}

blockquote::before{
    font-family:Arial;
    content: "\201C";
    color:#119fd4;
    font-size:4em;
    position: absolute;
    left: 10px;
    top:-10px;
}

blockquote::after{
      content: '';
}

blockquote span{
    display:block;
    color:#333333;
    font-style: normal;
    font-weight: bold;
    margin-top:1em;
}

.conclusion {
    font-size: 1.4em;
}


/* Kommentare */

.comment-form input[type=text],
.comment-form input[type=email],
.comment-form input[type=url],
.comment-form textarea {
    padding:.5em;
    color: white;
    background-color: rgba(0, 123, 180, 0.6);
    border: none;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
    margin: .2em 0 1em 0;
    width:50%;
    height: 15px;
}

.comment-form textarea {
    height: 30px;
    width: 99%;
}

.comment-form input[type=submit] {
    background-color: rgb(255, 255, 255);
    padding: .75em 1.2em;
    border: none;
    border-radius: 8px;
    color: rgb(0, 123, 180);
    font-weight: bold;
}

.comment-list ul {
    padding:0;
    margin:0;
    list-style: none;
}

.single-comment .avatar {
    margin-top: 10px;
    float:right;
    object-fit: cover;
}

.single-comment .box p:first-of-type {
    font-size: 15px;
    font-weight: bold;
     
}





/* *************************** Testimonials   *************************

.wp-block-column:not(:last-child)
{
    margin-right: 5px;
    margin-bottom: 2px;
}

.wp-block-column:not(:first-child) {
    margin-left: 5px;
    margin-bottom: 2px;
}






/* *************************** Testimonials   *************************/



/*
.commentbox {
    float: left;
    width: 28.33333333%;
    height: 200px;
    margin-right: 1%;
    clear: none;
}

.single-comment:nth-of-type(3n) .commentbox {
    width: 29.33333333%;
    margin-right: 0%;
}
*/



/***********************/

.stadt {
    background-color: rgba(255, 255, 255, 0.3);
    height: 32px;
    font-size: 16px;
    height: 30px;
    font-size: 12px;
    margin-bottom: 10px;
}

.box li {
    margin-bottom: 0.6em;
    color: #444;
}

/*
.stadt ul,
.box ul {
    margin: 0;
    padding: 7px 0px 0px 0px; 
	list-style-type: none;
    list-style-image: none;
}

.box ul {
    padding: 0px; 
}

.stadt li {
    display: inline;
}

.stadt ul li a,
.box ul li a {
    text-decoration: none;
	padding: 7px 10px 6px 10px;
    color: #007bb4;
}

.stadt ul li a:active,
.stadt ul li a:active {
    color: #007bb4;
    background-color: rgba(255, 255, 255, 0.9)
} */


/* CSS Reiter */

.default-tab {display:block}

#reitercontainer:target {
    position: relative;
    float:left;
    width:100%;
}

#reitercontainer:not(:target) {
    position: absolute;
    width:72%;
}

 #reitercontainer:not(:target) .reiter:not(:target) {
    display: none;
    position: absolute;
}

#reitercontainer:not(:target) .reiter:target {
    display: block;
    position: absolute;
}

#reitercontainer:target .reiter:target {
    display: block;
    position: relative;
}


/* Bilder neben Text Gutenberg NEU */


.wp-block-media-text .wp-block-media-text__content {
    padding: 0 5% 0 5%;
}



/* Bilder neben Text Gutenberg */

.wp-block-image + p:first-of-type {
    margin-bottom: 0.5em;
}

.wp-block-image + p {
    margin-top: 1em;
}

.wp-block-image .alignleft {
    margin-top: 1.2em;
}

.wp-block-image:first-of-type .alignleft {
    margin-top: 0.2em;
}

.wp-block-image {
    clear: left;
    /* Bild volle Breite */
    margin-left: 0px !important;
    margin-right: 0px !important;
}

.box_image {
    /* margin-bottom: 0.7em; */
}

/* Bilder neben Text Gutenberg END*/

.podbox {
    float: left;
    display: block;
    width: 25%;
}


.teaser_event_dates {
    color: #007bb4;
    font-size: 18px;
    font-family: sans-serif;
}

.events_h2 {
    color: #007bb4;
    font-size: 18px;
    font-family: sans-serif;
}

.teaser_event_stadt {
    color: #555;
    font-size: 15px;
}

.date_left {
    float: left;
    width: 22%;
    padding-top: 21px;
}

.event_content_right {
    float: left;
    width: 78%;
    color: #333;
}


/***************** Quote ohne Rand **********************/

.fullbox {
    margin-left: -4rem !important;
    margin-right: -4rem !important;
    padding-left: 4rem !important;
    padding-right: 4rem !important;
}



/************Podcast  **********/


.episode_text {
    width: 70%;
    max-width: 768px;
    padding-top: 20px;
    float: left;
    color: #333;
}

.episode_image {
    width: 14%;
    float: left;
    padding-right: 1%;
}

.episode_title, .episode_summary, .episode_subtitle, .episode_file {
    float: left;
    width: 85%;
    color: #fff;
    font-size: 13px;
    padding-bottom: 10px;
}

.episode_title {
    font-weight: bold;
}

.episode_file a{
    color: #fff;
    font-weight: bold;
}



/******************* IE Hack ***********/

.episode_image, .episode_text {
    display: none;
}



@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    
    .episode_image, .episode_text {
        display: block;
        }
}


/************Shownotes****************/

.podcastbox {
    /* background-color: #2b8ac6; */ 
    background-color: #007bb4 !important;
    padding-top: 20px;
}

.pwp4-wrapper {
    float: left;
    width: 70%;
    margin-right: 2%

}

.zbw_shownotes {
    float: left;
    width: 28%;
}

.zbw_shownotes p {
    color: #eee;
}

.zbw_shownotes p a {
    color: #eee;
}


/********************* Social Share Buttons *************************/
.shariff .info a:last-of-type {
    border: none !important;
}




/********** Containerbeite *******/
@media (max-width: 1400px) { /* kleiner als, dann */

    #container {
        width: 100%;
    }
    

    
    #nav-toggle {
        right: 2%;
    }

    #Logos {
        left: 4rem;
    
    }

    .box,
    .bluebox {
        padding-left: 4rem;
        padding-right: 4rem;
    }

    .fullbox {
        margin-left: -4rem !important;
        margin-right: -4rem !important;
        padding-left: 4rem !important;
        padding-right: 4rem !important;
    }
    
}



@media (max-width: 1200px) { /* kleiner als, dann */


    .box,
    .bluebox {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
}






@media (max-width: 980px) { /* kleiner als, dann */
    
    /*
    .commentbox,
    .single-comment:nth-of-type(3n) .commentbox{
        float: none;
        width: 96%;
        margin-right: 0;
    }
    */

 
    .navcontainer2 {
        display: block;

    }

    #menu-hauptnavigation {

        position:absolute;
        left:99999px;
        width: 100%;
        margin: auto;
        /* padding-left:5%; */
    }


    #menu-hauptnavigationen {
        position:absolute;
        left:99999px;
        width: 100%;
        margin: auto;
        padding-left:5%;
    }

    nav {
        /*
        position: fixed;
        margin: 0 auto;
        top: 100px;
        width: 90%;
        font-size: 16px;
        */
    }

    .box,
    .bluebox {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    #menu-hauptnavigation {
    }
    
    nav {
        background: none;
    }


    #menu-hauptnavigation li,
    #menu-hauptnavigationen li  {
        display: block;
        border: 0px solid rgba(255, 255, 255, 1);
        background-color: rgba(255, 255, 255, 1);
        color: #fff;
        border-radius: 8px;
        margin-bottom: 1px;
        padding-top: 10px;
        padding-left: 2%;
        padding-right: 2%;
        padding-bottom: 10px;
        box-shadow: 4px 4px 7px 0px rgba(0,0,0,0.25);
        
    }
    
    #menu-hauptnavigation .current_page_item,
    #menu-hauptnavigationen .current_page_item  {
        background-color: #ffffff;
    }

    
    #menu-hauptnavigation .current_page_item a,
    #menu-hauptnavigationen .current_page_item a{
        color: #007bb4;
    }
    
    #menu-hauptnavigation li:hover,
    #menu-hauptnavigationen li:hover {
         background-color: #ffffff;
    }
    
    #menu-hauptnavigation ul li a:hover,
    #menu-hauptnavigationen ul li a:hover{
        color: #007bb4;
    }
    
    #nav-toggle .bar {
        display: block;
        width: 25px;
        height: 4px;
        background-color: #333333;
        margin-bottom: 4px;
    }
    

    
    
    
}





@media (max-width: 640px) { /* kleiner als, dann */

    #container {
        width: 100%;
    }
    
    nav {
        width: 100%;
    }
    
    #nav-toggle {
        right: 2%;
    }

    .box,
    .bluebox {
        padding-left: 0.3rem;
        padding-right: 0.3rem;
    }
    
        
    .fp_box01_left {
 
        width: 100%;
        padding: 0;
    }
    
    .fp_box01_right {

        width: 100%;
        padding: 0;
    }
    
     .fp_box03_right, .fp_box05_right, .fp_box07_right, .fp_box02_left, .fp_box04_left, .fp_box06_left, .fp_box08_left {
        width: 20%;
        padding: 0;
        margin-top: 32px;
    }
    
    .fp_box03_left, .fp_box05_left, .fp_box07_left, .fp_box02_right, .fp_box04_right, .fp_box06_right, .fp_box08_right {
        width: 80%;
        padding: 0;
    }
    
    .fp_box01 .serif_hl_blk {
        line-height: 1.7em;
    }
    
    .bluebox h2 a {
        font-size: 0.6em;
    }
    
    article h2 {
        font-size: 1.1em;
        font-weight: bold;
    }
    
    h1 {
    font-size: 2em;
    line-height: 1.2em;
    }
    
    .btn_box a {
        font-size: 15px;
    }
    .wp-block-image {

    width: 100%;
    margin: 0;
    }
    
    #footer_left {
        float: none;
        width: 100%;
        padding-left: 4%;
    }
    
    #nav {
        height: 130px;
        font-size: 12px;
        padding-right: 10px;
    }
    
    #footer_right {
        float: none;
        width: 100%;
        padding-right: 2%;
    }
    
    #Logos {
        left: 3%;
        padding-left: 1rem;

    }
    
    #nav-toggle {
        right: 0%;
    }
    
    
}

@media (min-width:600px) and (max-width:781px) {
    .wp-block-column:not(:only-child) {
    flex-basis: 100% !important;
    flex-grow:0
    }
}
    
/****************** Testiomonials ******************/  

@media (max-width: 782px) {
    
    .wp-block-column {
        flex-basis: 100% !important;
        flex-grow: 0;
    }
}


.teaserbox {
    padding-left: 2.5rem !important;
    padding-right: 2.5rem !important;
}





