body{display:inline-block;font-family: "Arial Black", sans-serif; }

.headerblock{min-height:180px;width:100%;padding-top:70px}

.headerlogo{float:left;margin-left:25px;padding-bottom:10px;padding-right:10px}

.bannerblock{width:100%}

.headernav{}

.bodyblock{width:100%;text-align:center;vertical-align:middle;min-height: calc(100vh - 280px); /*min-height: calc(100vh - 280px); */  } /*obsolet */

.globaltext{width:96%;text-align:left;margin-left:2%;margin-right:2%}
.globalbilder{
display:flex; 
justify-content:center; 
margin-top: 20px;
margin-bottom: 20px;
}

table{
border-collapse: collapse;
border-spacing: 0;
width: 100%;
border: 1px solid #ddd;
}

th, td {
text-align: left;
padding: 8px;
}

.homepagebody{width:100%;text-align:center;vertical-align:middle;min-height: calc(100vh - 280px); /*min-height: calc(100vh - 280px); */ }

.footerblock{
width:100%;
min-height:150px;
background-position: -4% 50%;
background-size: auto 420px;
background-image:url("https://faktor4.eu/sites/faktor4.nsf/footerpic.png");
background-color:#000;
overflow:hidden;
background-repeat:no-repeat;
margin-top:20px;
bottom: 0px;
}

/*Style Footer CookieBanner*/
      #footer-cookie {
      display: none;
      position: fixed;
      bottom: 0px;
      left: 0px;
      width: 100%;
      height: 60px;
      padding-left: 30px;
      padding-right: 30px;
      line-height: 60px;
      background: #303030;
      color: #fff;
    }
    
    #footer-cookie a {
      color: #fff;
    }

    #footer-cookie #description {
      float: left;
    }

    #footer-cookie #accept {
      float: left;
      
    }

    #footer-cookie #accept a {
      padding: 5px 10px;
      text-decoration: none;
    }



.menulink{display:inline-flex;
float:right;
text-align:right;
vertical-align: top;
font-weight:bold;
font-size:20px;
margin-right:20px;
margin-top:10px;
cursor:pointer;
}




/* Style the navigation menu */
@media (min-width: 0px) and (max-width: 480px ) {

.headerblock{min-height:80px;width:100%;margin-top:35px}
.homepagebody{width:100%;text-align:center;vertical-align:middle;min-height: calc(100vh - 280px); /*min-height: calc(100vh - 280px); */ }
.homepagebody font{
font-size:20px;
display:block;
} 

.topnav{
position:fixed;
top:0;
z-index:999;
margin-bottom:10px;
overflow:hidden;
background-color:white;
width:100%;
}
.topnav span{
color:#000000;
padding:14px 16px;
text-decoration:none;
font-size:17px;
display:block;
}


/*SlideShow*/
.mySlides {display:none;
margin-top:20px;
width:100%;
height:300px;
text-align: center;
vertical-align: middle;
overflow:hidden;
object-fit: cover;
}


.globaltext{width:90%;text-align:left;margin-left:5%;margin-right:5%}
.globalbilder{
display:flex; 
justify-content:center; 
margin-top: 20px;
margin-bottom: 20px;
}

/*Style Footer CookieBanner*/
      #footer-cookie {
        padding-top: 30px;
        padding-bottom: 30px;
        line-height: inherit;
        height: auto;
      }

      #footer-cookie #description {
        width: 100%;
      }

      #footer-cookie #accept {
        width: 100%;
        margin-top: 15px;
      }

      #footer-cookie #accept a {
        width: 100%;
        display: block;
        text-align: center;
      }



/* Hide the links inside the navigation menu (except for logo/home) */
.topnav .myLinks{
display:none;
cursor:pointer;
}

.active{
background-color:white;
border-style:solid; 
border-color:#333;
height:30px;
color:#333;
}

#acceptclick{
justify-content:center;
text-align:center;
vertical-align:middle;
}


/*Homepage Text Mobil*/
.bodytext1{display:inline-block;
width:95%;
vertical-align: top;
margin-top:50px;
margin-bottom:50px}

/*Homepage Bilder Mobil*/
.homepagebodybilder{
margin-top: 20px;
display:inline-block;
font-size: 30px;
}

.homepagebodybilder2{
margin-top: 20px;
display:inline-block;
font-size: 30px;
}

}
/*END media mobile*/

@media (min-width:  480px) and (max-width: 3840px) {
.topnav{
position:fixed;
top:0;
z-index:999;
overflow:hidden;
background-color:#333;
width:100%;
border-radius:5px;
margin-bottom:30px;
text-align:right;
}
.topnav span{
color:white;
padding:14px 16px;
text-decoration:none;
font-size:17px;
display:block;
} 

/*Style Footer CookieBanner*/
      #footer-cookie {
        padding-top: 30px;
        padding-bottom: 30px;
        line-height: inherit;
        height: 5px;
      }

      #footer-cookie #description {
        width: 80%;
      }

/* links inside the navigation menu (except for logo/home) */
.topnav .myLinks{
display:inline-block;
cursor:pointer;
text-align:right;
}
.active{
background-color:#333;
border-style:solid; 
border-color:#333;
color:white;
display:none;
}

.mySlides {display:none;
margin-top: 20px;
width: 90%;
height:600px;
max-width:853px;
margin-left:5%;
margin-right:5%; 
overflow:hidden;
object-fit: cover;
}

/*Homepage Text Desktop*/
.bodytext1{display:inline-block;
width:50%;
vertical-align: top;
margin-top:50px;
margin-bottom:50px}


/*Homepage Bilder Desktop*/
.homepagebodybilder{
margin-top: 20px;
display:inline-block;
font-size: 30px;
width: 600px;
float:break;
}

.homepagebodybilder2{
margin-top: 20px;
display:inline-block;
font-size: 30px;
width: 600px;
}
 
}/*END media*/




/* Style navigation menu links */
.topnav span.icon{
background:black;
display:block;
position:absolute;
right:0;
top:0;
}
.topnav span:hover{
background-color: #ddd;
color:black;
}




.faktortext{display:block;
margin-left:25px;
margin-bottom:10px;
font-weight:bold;
cursor:pointer
}

.telbutton{text-align:center;
display:inline-block;
vertical-align: top;
border:solid 1px black;
margin-left:20px;
margin-top:30px;
width:120px;
}

.homebanner{width:100%;
margin-top:20px;
background-image:linear-gradient(
          rgba(0, 0, 0, 0.4), 
          rgba(0, 0, 0, 0.4)
        ) , url("https://faktor4.eu/sites/faktor4.nsf/f4entry.jpg");
background-position:center;
background-repeat: no-repeat;
background-size:cover; 
text-align:center;
height:600px;
overflow:hidden;
color:white;}

.bodypicture1{display:inline-block;
margin-top:20px;
width:400px;height:400px;
background-image:url("https://faktor4.eu/sites/faktor4.nsf/home3.jpg");
background-position:center;
background-repeat:no-repeat;
background-size:cover;  
}


/*slideshow-container*/
.slideshow-container {
width: 100%;
text-align: center;
vertical-align: middle;
}

/*global img tag*/
.img{
width:100%;
height:auto; 
}

.footerlink{display:inline-block;
float:right;
color:white;
font-size:14px;
margin-right:20px;
margin-top:20px;
cursor:pointer
}


