html{
 font-size: 16px
}

h1 { font-size: 2!important; line-height: 1.1; padding-bottom: 2rem;}
h2 {font-size: 1.875rem; line-height: 1.3; padding-bottom: 2rem;}
h3 {font-weight:500;  font-size: 1.5rem; line-height: 1.1; padding-bottom: 1rem; font-weight: 500; }
h4 {font-weight:500;  font-size: 1.15rem; line-height: 1.45; color: #1A4E47; margin-bottom: 10px;}
p{ font-size: 1rem; padding-bottom: 1rem;}
p.small{ font-size: 0.83rem; line-height: 1.45;padding-bottom: 1.75rem;}

.background .text h1 .smaller{
    font-size: 1.5rem!important;
}
.background .text h1 .bigger{
       font-size: 2.25rem!important;
}
.background .text h1 {
    font-size: 1.75rem!important;
}
.flipDown{
    top: 48px;
    width: 100%;
    left: 0!important;
    right: 0!important;
}


.boxbodycontent h3{
    padding-bottom: 8px;
}

#logo{
    height: auto;
    top: 24px;
    transition: var(--transition);
}
.scrolled #logo{
    top: 12px;
}
.infoheader{
    /* height: 48px;
    height: 96px;
    background-color: var(--dark); */
}
.icon{
    height: 48px!important;
}
header{
        height: 140px;
    background-color: var(--dark);
}
header.scrolled{
    margin: 0!important;
    height: 128px;
}
#navtrigger{
    position: absolute;
    right: 32px;
    top: 32px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    z-index: 9999;
    transition: var(--transition);
}
.scrolled #navtrigger{
    top: 64px;
}
#navtrigger div{
    position: absolute;
    width: 36px;
    height: 3px;
    z-index: 9999;
    transition: 0.4s;
    background-color: var(--main);
    transition: var(--transition);
}
#navtrigger div:nth-child(1){
    top: 0;
    transition: all .2s;
     left: 6px;
    width: 24px;
}
#navtrigger div:nth-child(2), 
#navtrigger div:nth-child(3){
    top: 12px;
    transition: all .15s;
}
#navtrigger div:nth-child(4){
    top: 24px;
    left: 6px;
    transition: all .2s;
    width: 24px;
}
#navtrigger.close div:nth-child(2){
    -webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
transition: all .25s;  
}
#navtrigger.close div:nth-child(3){
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
transition: all .25s;
}
#navtrigger.close div:nth-child(4),
#navtrigger.close div:nth-child(1){
    width: 0;
    opacity: 0;
    right: 50%;
    top: 8px;
 }
#navtrigger.close div{
    background-color: #fff;
}

nav{
    position: fixed;
    top: 0;
    padding: 80px 0 0!important;
    left: -100%;
    z-index: 9998;
    right: 0;
    bottom: 0;
    background-color: var(--main);
    height: 100% !important;
    width: 100% !important;
    float: none;
    box-sizing: border-box;
    transition: all .4s
}
nav.visible{
    left: 0
}
/* nav */

nav ul li{
    width: 100%;
    margin: 0!important;
}

nav ul li.menu-item-has-children > a{
    padding-right: 0;
}
nav ul li.menu-item-has-children > a:after{ 
    position: absolute;
    right: unset;
    left: 24px;
    content: ' ';
    top: 50%;
    margin-top: -8px;
    border: solid #fff;
    border-width: 0 1px 1px 0;
    display: inline-block;
    padding: 5px;
    transition: var(--transition);
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -webkit-transform: rotate(315deg);
}


nav{
    position: fixed;
    top: 0;
    padding: 64px 2% 2%!important;
    left: -100%;
    z-index: 9998;
    right: 0;
    bottom: 0;
    background-color: var(--main);
    height: 100% !important;
    width: 100% !important;
    float: none;
    box-sizing: border-box;
    transition: all .4s
}
nav.visible{
    left: 0
}

nav ul{
    display: block;
    height: auto;
    margin-top: 40px;
}
nav ul li {
    display: block;
    padding: 0;
    float: none;
    min-height: 50px;
    margin: 16px 0!important;
    padding: 0 24px!important;
    
}
ul#menu-top-menu > li
{
    border-bottom: 1px solid #fff;
}
ul#menu-top-menu > li > a
{
    border: none;
}
nav ul li a{
    height: 50px;
    line-height: 50px;
    padding: 0;
    border: none;
}

nav ul li.login{
    text-align: center;
    border: none;
    padding: 20px 0 0;
}

li.menu-item-has-children.active > a:after,
li.menu-item-has-children.active:hover > a:after{
    -webkit-transform:rotate(225deg);
    -webkit-transform:rotate(45deg);
    transform:rotate(225deg);
    transform:rotate(45deg);
}

nav ul li:hover > .dropdown{
   display: none;
}

nav ul.sub-menuu{
    margin: 0 0 24px 0;
    border-bottom: 1px solid #fff;
}

nav ul li:hover > .sub-menu{
   display: none;
}
nav ul li .sub-menu li {
border-bottom: 1px solid #EDEFED;
display: block;
height: auto;
float: none;
width: 100%;
min-height: 30px;
box-sizing: border-box;
}
nav ul li .sub-menu li a {
    height: 40px;
    line-height: 40px;
     font-weight: 500;
    width: auto;
}


nav ul li a.home {
    width: auto;
    background: transparent;
}


nav ul li .megamenu,
nav ul li .megamenu.container,
nav ul li .megamenu.singlecol{
    max-height: 0;
    display: block!important;
    position: relative;
    padding: 0;
    max-width: 100%;
    width: 100%;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    margin: 0!important;
    border-radius: 8px;
}
.menu-item-has-children.active > .megamenu{
    max-height: 800px;
}
nav ul li .megamenu::after{
    display: none;
}
nav ul li .megamenu-inner{
    padding:0 0 8px 0;
    box-shadow: none;
    background-color: transparent;

}
.megamenu li{
    padding: 0;
    border-top: 1px solid #fff;
}
.megamenu li:first-child{
    border: none
}
.megamenu li a{
    color: #fff;
}
/* nav Ende */
.decentbackground {
    height: auto;
}
footer h4{
    margin-top: 32px;
}
.background.asWindow{
height: auto;
background-size: auto 100%;
}
.background.asWindow .text{
position: relative;
text-align: center;
}
.postHeader{
    max-width: 100%
}



  @media all and (max-width: 700px) {
    
    footer .icon{
        height: 48px;
        padding-left: 48px;
        background-size: 40px auto;
    }
    header .icon{
width: 48px;
height: 48px;
display: inline-block;
text-indent: -9999px;
background-size: 40px auto;
    }
    
    #logo{
        left: 0;
    }
    .background .text .mainimage{
        width: 320px;
        height: 320px;
        padding: 80px;
        background-size: 320px auto;
    }
    .social{
        margin: auto;
    }

  }