body {
	/* Farben fuer die Scrollbars anpassen         */
	/* Achtung: nur fuer Internet-Explorer wirksam */
    font-family:"Open Sans",Arial,sans-serif;
    /* Farben für EUCAD-Software: 222/239/255 (statt 12/72/131)*/
}
/* Testing DIV's */
/*
div {
    border: 1px solid rgb( 0, 0, 0);
}
*/
/* Überschriften */
h1 {
    font-size: 22px;
    padding-top: 10px;
}
h2 {
    font-size: 18px;
    padding-top: 8px;
}
h3 {
    font-size: 16px;
    padding-top: 8px;
}
h4 {
    font-size: 14px;
    padding-top: 8px;
}
h5 {
    font-size: 12px;
    padding-top: 8px;
}

/* Farbe der navbar anpassen */

nav.eucad-navbar {
color: black;
}

.eucad-navbar {
   background-color: rgb(222, 239, 255);
   color: black;
   }
   
.eucad-nav-link {
   /*background-color: rgb(222, 239, 255);*/
   color: black;
   }

/* Navigation im footer */
.footer-item {
    /*border: 1px solid rgb( 255, 255, 255);*/
    /*border-radius: 5px;*/
    background-color: rgb(222, 239, 255);
    color: black;
}

li.eucad-nav-item-kontakt {
    /*border: 1px solid rgb( 255, 255, 255);*/
    /*border-radius: 5px;*/
    background-color: rgb(222, 239, 255);
    color: black;
}

li.eucad-nav-item-telefon {
    /*border: 1px solid rgb( 255, 255, 255);*/
    /*border-radius: 5px;*/
    background-color: rgb(222, 239, 255);
    padding-left: 20px;
    background-image: url('images/telefon.gif');
    background-repeat: no-repeat;
    background-position: left center;
    color: black;
}

li.eucad-nav-item-email {
    /*border: 1px solid rgb( 255, 255, 255);*/
    /*border-radius: 5px;*/
    background-color: rgb(222, 239, 255);
    padding-left: 20px;
    background-image:url("images/email.gif");
    background-repeat: no-repeat;
    background-position: left center;
    color: black;
}

li.eucad-nav-item-kontakt:hover {
    background-color: rgb( 0, 131, 192);
    /*border: 1px solid rgb( 255, 255, 255);*/
    /*border-radius: 5px;*/
    /*padding: 5px;*/
    color: black;
}

href.eucad-nav-item-kontakt {
    border: 0px;
    /*border-radius: 5px;*/
    background-color: rgb(222, 239, 255);
    color: black;
}
href.eucad-nav-item-kontakt:hover {
    background-color: rgb( 0, 131, 192);
    /*border: 1px solid rgb( 255, 255, 255);*/
    /*border-radius: 5px;*/
    /*padding: 5px;*/
    color: black;
}

a.eucad-nav-link {
    color: black;
}

a.eucad-nav-link:visited {
    /* Achtung: visited ueberschreibt hover, deshalb muss es vor hover definiert sein */
    color: gray;
}

a.eucad-nav-link:hover {
    color: white;
}

a.eucad-nav-item-kontakt {
    color:black;
}

a.eucad-nav-item-kontakt:visited {
    color: grey;
}

.eucad-nav-item {
    border: 1px solid rgb( 0, 0, 0);
    border-radius: 5px;
    background-color: rgb(222, 239, 255);
    color: black;
    margin-right: 5px;
    min-width: 125px;
}

.eucad-nav-item:hover {
    background-color: rgb( 0, 107, 173);
    /*border: 1px solid rgb( 255, 255, 255);
    border-radius: 5px;
    padding: 5px;*/
    color: white;
}

/* navigation links */
div.navlinks {
    margin-left: 0px;
}
div.eucad-navbar2 {
    /*margin-left: 10px;*/
    max-width: 175px;
    /*height: 100vh;*/
    background-color: rgb(222, 239, 255);
    /*border: 1px solid rgb( 0, 0, 0);*/
}
div.left {
    margin-left: 15px;
    margin-bottom: 25px;
}
div.center {
    text-align:center;
}

div.centerimage {
    display: flex;
    text-align:center;
    justify-content: center;
    align-items: center;
}

div.centerfullimage {
    position: fixed;
    width: 100%;
    height: 100%;
    display: flex;
    text-align:center;
    justify-content: center;
    align-items: center;
    z-index: -1;
}

table.center {
        align:center;
        margin-left:auto;
        margin-right:auto;
}

table.footer {
     width: 90%;
     height: 30px;
     margin-left: auto;
     margin-right: auto;
     text-align: center;
     background-color: rgb(222, 239, 255);
     color: black;
    }

td.footer {
     /*height: 50px;*/
     margin-left: auto;
     margin-right: auto;
     text-align: center;
     background-color: rgb(222, 239, 255);
     color: black;
    }

.galerie {
     margin-left:5px;
     margin-right:5px;
     margin-bottom:10px;
     max-width: 400px;
     text-align: center;
     /*background-color: #EEEEEE;*/
    }

.galeriefullscreen {
     margin-left:5px;
     margin-right:5px;
     margin-bottom:10px;
     /*
     max-width: 100%;
     max-height: 100%;
     */
     max-width: 100%;
     height: auto;
     text-align: center;
     /*background-color: #EEEEEE;*/
    }

/* Bilder */
img.startseitel {
    max-width: 100%;
    width: 95%;
    align:right;
    }
img.startseiter {
    max-width: 100%;
    width: 95%;
    align:left;
    }

/* zoom (skalieren) beim überfahren mit der Maus
img.galerie {
    max-width: 150px;
    align:center;
    }
*/

@media only screen and (orientation: landscape) {
img.galerie:hover {
    border: 8px solid rgb(222, 239, 255);
    transform: scale(1.75,1.75);
    transition: 1s;
    }
}
/* Buttons */

.eucad-button2 {
    background-color: rgb(222, 239, 255);
    color: black;
    font-size: 12px;
    min-width: 125px;
    margin-bottom: 5px;
    }

.eucad-button2:hover {
    background-color: rgb( 0, 107, 173);
    color: white;
}

/* Slideshow */
.slides {
  display: none;
  width: 100%;
}

.animate-left {
  position: relative;
  animation: animateleft 3s;
  /*animation: slide 0.5s forwards;*/
  /*animation-delay: 4s;*/
}

.animate-zoom {
  position: relative;
  animation: animatezoom 5s
}

@keyframes animateleft { 
  from { left :-1500px; opacity:0 } to { left:0; opacity:1 }
}

@keyframes animatezoom { 
  from { opacity:0 } to { opacity:1 }
}

/* fadein and fadeout */
.animateFadeInAndOut {
    /*width:200px;
    height: 200px;
    background: red;*/
    -webkit-animation: fadeinout 7s linear forwards;
    animation: fadeinout 7s linear forwards;
    opacity: 0;
}

@-webkit-keyframes fadeinout {
  50% { opacity: 1; }
}

@keyframes fadeinout {
  50% { opacity: 1; }
}

/* Galerie anzeigen */
img#slideImg {
    max-width: 95%;
    height: auto;
}
div#imgContainer {
    /*position: relative;*/
    position: fixed;
    margin: 0 auto;
    top: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    /*verical-align: middle;*/
    display: none;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    z-index: 99;
    background: rgba(0,0,0,.8);
}
#nextBtn, #prevBtn, #closeBtn {
    position: absolute;
    cursor: pointer;
}
#nextBtn {
    right: 0px;
}
#prevBtn {
    left: 0px;
}
#closeBtn {
    right: 0px;
    top: 15px;
}
/*
	144vh errechnet man aus dem Seitenverhältnis der Bilder. 
	Die Bilder haben alle das gleiche Seitenverhältnis 940 x 600 Pixel oder 94/60 = 1,5666	
	Die Breite ist somit 1,5666 mal größer als die Höhe.
	Die maximale Höhe wurde auf 90vh gesetzt. 90% der Viewport Höhe
	Die Breite wird errechnet mit 90vh * 1,5666 = 141vh 
	*/
@media only screen and (orientation: landscape) {
img#slideImg {
    max-width: 141vh;
    max-height: 90vh;
}
