/**
*

* to change width of images for slides, adapt
* #floatviewport, .floatee 
*
**/

::selection {
		color: #FFF;
		background: #3B4859;
	}
  
  
	::-moz-selection {
		color: #FFF;
		background: #3B4859;
	}


body, input, textarea { font-family: "Lato", "Trebuchet MS", Helvetica, sans-serif;  font-size: 105%; color:#404157;}
table {	table-layout:fixed; border-color: #777; width: 99%;}


input[type="text"], input[type="email"], input[type="tel"], textarea, select {
    border: 1px solid #9CBDCF;
    -moz-border-radius: 4px;
         border-radius: 4px;
    background: #FFFFFF;
    background:              -webkit-gradient(linear, left top, left bottom, color-stop(0,#EFF2F6), color-stop(0.4,#FFFFFF)); 
    background-image: -webkit-linear-gradient(#EFF2F6 0%, #FFFFFF 40%);
    background-image:    -moz-linear-gradient(#EFF2F6 0%, #FFFFFF 40%);
    background-image:      -o-linear-gradient(#EFF2F6 0%, #FFFFFF 40%);
    background-image:         linear-gradient(#EFF2F6 0%, #FFFFFF 40%);
    color: #262626;
    font-size: 1.0em;
    margin-left: 0;
    margin-bottom: 5px;
    outline: none;
    padding: 6px;
}

input[type="text"], input[type="email"], input[type="tel"] {
    line-height: 20px;
    height: 20px;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, textarea:focus {
    -moz-box-shadow: 0 0 4px rgba(95, 169, 212, 0.8);
         box-shadow: 0 0 4px rgba(95, 169, 212, 0.8);
    background: #FFFFFF;
    background-image: none;
    border-color: #5FA9D4;
    color: #262626;
    font-style: normal;
}


h1,h2, h3 { font-family: 'pt_sans_narrowbold', sans-serif; font-weight: normal; }
/*
strong, b { font-family: 'pt_sansbold', sans-serif; font-weight: normal; }
em { font-family: 'pt_sansitalic', sans-serif; font-style: normal; }
*/
h1,h2 { margin: 6px 0px 10px 0px; }
h3 { margin: 3px 0px 5px 0px; }
p { margin: 2px 0px; }



hr {
    border: 0;
    height: 1px;
    background: #333;
    background-image: -webkit-linear-gradient(left, #ccc, #333, #ccc); 
    background-image:    -moz-linear-gradient(left, #ccc, #333, #ccc); 
    background-image:     -ms-linear-gradient(left, #ccc, #333, #ccc); 
    background-image:      -o-linear-gradient(left, #ccc, #333, #ccc); 
}

a {
	color: #000;
  text-shadow: 1px 1px 0 #DDD;
}

a:hover {
	color: #222;
  text-shadow: 1px 1px 0 #BBB;
}


/*******************/
/* globales Layout */
/*******************/
  body {
    margin:0; padding:0; 
		overflow-y:scroll;
  }
  
	
  
  /** OBERES MENÜ **/
	#fixedtop {
		position: fixed;
		z-index: 3;
		top: 0px;
		left: 0px;
		width: 100%;
		background: #F2F2F2;
    box-shadow: 0 -1px 10px rgba(0, 0, 0, .5);
		padding-bottom: 25px;
		height: 32px;
		
	}
	
  #titlestrip {
    position: relative; 
    margin-bottom: 0px;
		z-index: 21;
		
		/* topmenu
    background: #F2F2F2; 
    height: 80px; 
    box-shadow: 0 -1px 10px rgba(0, 0, 0, .5);
		*/
	}
	
	
	#titlestrip, #fixedtop {
		-webkit-user-select: none; /* Chrome/Safari */        
		-moz-user-select: none; /* Firefox */
		-ms-user-select: none; /* IE10+ */
		-o-user-select: none;
		user-select: none;
  }  
  
  .logodiv {
		display: inline-block;
		margin-left: 30px;
		margin-bottom: 10px;
		border-radius: 0px 0px 10px 10px; 
		box-shadow: 0px 0px 15px rgba(0,0,0,0.5); 
		background: #FFF url(/img/logo.png) no-repeat;
		background-position: 50% 50%; 
		background-size: contain;  
		/*
		width: 200px;
		height: 240px;
		*/
  }
	
	.logodiv.logotop {
		width: 145px;
		height: 185px;
		margin-left: 67px;
	}
	

	.logodiv.smartphone {
		background-color: #E9E9E9; 
		padding: 6px 8px 4px 8px;
	}
	

  
  /** SMARTMENU **/
	#smenu input {
    display: none; 
  }
  
  #smenu label { 
    position: absolute;
    z-index: 10;
    top: 0px;
    right: 0px;
    width: 90px;
    height: 43px;
    overflow: hidden;
    padding: 2.5% 3.5% 2.5% 3.5%;  
    text-align: right;

    -webkit-animation-timing-function: ease-in-out
    animation-timing-function: ease-in-out
    
    -webkit-animation: shrink 0.6s 1;
    animation: shrink 0.6s 1;
  }
  
  
  #menuon .iconlinks {
    float: left; margin-top: 7px; margin-left: 60px;
  }
  #menuon .iconlinks a {
    display: inline-block;
    width: 35px;
    height: 38px;
  }
  #menuon .iconlinks a:first-child { margin-bottom: 0px; margin-right: 10px;}
  
  
	
	
  
  #stopmenu {
    float: none; 
    margin-top: 20px; 
    margin-left: 30px; 
    margin-right: 0px;
  }
  
  #menuon .nav {
    list-style-type: none;
    height: 100%;
    overflow: hidden;
  }


  #menuon .nav li a:first-child {
    border-top: 1px solid #FFF;
  }
  
  #menuon .nav li a {
    float: none;
    display: block;
    padding: 7px 3px 16px 3px;
    height: 32px; 
    margin: 0px;
    
    border-bottom: 1px solid #FFF;
    font-size: 2.2em;
    letter-spacing: 2px;
  }
	


  #menuon .nav li a:hover, .nav li a.active {
    border-bottom: 1px solid #FFF;
  }

  
  
  #menuon .iconlinks, #stopmenu { display: none; }
  #menuon i { }
	
	.navicon-button-label {
		display: inline-block; 
		vertical-align: middle;
		font-size: 2.2em; 
		margin-right: 20px; 
		font-weight: bold;
		user-select: none;
    cursor: pointer;
	}
  
  .navicon-button {
    display: inline-block;
    position: relative;
    padding: 1.2rem 1.0rem;
    transition: 0.25s;
    cursor: pointer;
    user-select: none;
    opacity: .8;
    cursor: pointer;
  }
  .navicon-button .navicon:before, .navicon-button .navicon:after {
    transition: 0.25s;
  }
  .navicon-button:hover {
    transition: 0.5s;
    opacity: 1;
  }
  .navicon-button:hover .navicon:before, .navicon-button:hover .navicon:after {
    transition: 0.25s;
  }
  .navicon-button:hover .navicon:before {
    top: .825rem;
  }
  .navicon-button:hover .navicon:after {
    top: -.825rem;
  }



  .navicon {
    position: relative;
    width: 2.6em;
    height: 0.3rem;
    background: #404157;
    transition: 0.5s;
    border-radius: 2.5rem;
  }
  .navicon:before, .navicon:after {
    display: block;
    content: "";
    height: .3125rem;
    width: 2.5rem;
    background: #404157;
    position: absolute;
    z-index: -1;
    transition: 0.5s 0.25s;
    border-radius: 1rem;
  }
  .navicon:before {
    top: .69rem;
  }
  .navicon:after {
    top: -.69rem;
  }


  
  
  
  
  #smenu input:checked + label { 
    display: block;
    background: rgba(0,0,0, 0.8); 
		color: #F2F2F2;

    height: 430px;
    width: 100%;

    animation: expand 0.6s 1;
    -webkit-animation: expand 0.6s 1;
		
		overflow: auto;
  }
  #smenu input:checked + label #menuon .iconlinks, #smenu input:checked + label #stopmenu { 
    display: block;
  }

	
  /* × and + */
  #smenu input:checked + label  .navicon {
    background: transparent;
  }
  #smenu input:checked + label  .navicon:before {
    transform: rotate(-45deg);
  }
  #smenu input:checked + label .navicon:after {
    transform: rotate(45deg);
  }
  
  #smenu input:checked + label  .navicon:before,
  #smenu input:checked + label  .navicon:after {
    top: 0 !important;
		background: #FFF;
    transition: 0.5s;
  }

	
  
     
  @keyframes expand2 {
    0%   { 
      max-height: 20px; 
    }
    100% { 
			max-height: 1100px;
		}
  }
	
	
	@keyframes expand {
    0%   { 
      height: 43px;   
      width: 80px;   
      background: transparent;
    }
    50% { 
      height: 43px;
      width: 100%;   
      background: rgba(0,0,0, 0.8); 
    }
    100% { 
      height: 400px;   
      width: 100%;   
      background: rgba(0,0,0, 0.8); 
    }
  }
  @keyframes shrink {
    0%   { 
      height: 400px;   
      width: 100%;   
      background: rgba(0,0,0, 0.8); 
    }
    50% {
      height: 43px;   
      width: 100%;   
      background: rgba(0,0,0, 0.8); 
    }
    100% { 
      height: 43px;   
      width: 80px;   
      background: transparent;
    }
  }
  
 @-webkit-keyframes expand {
    0%   { 
      height: 43px;   
      width: 80px;   
      background: transparent;
    }
    50% { 
      height: 43px;
      width: 100%;   
      background: rgba(0,0,0, 0.8); 
    }
    100% { 
      height: 400px;   
      width: 100%;   
      background: rgba(0,0,0, 0.8); 
    }
  }
  @-webkit-keyframes shrink {
    0%   { 
      height: 400px;   
      width: 100%;   
      background: rgba(0,0,0, 0.8); 
    }
    50% {
      height: 43px;   
      width: 100%;   
      background: rgba(0,0,0, 0.8); 
    }
    100% { 
      height: 43px;   
      width: 43px;   
      background: transparent;
    }
  }
  /** SMARTMENU - END **/

  



	

	
  .contentblock {
		position: relative;
    width: 90%;
    margin: 0px auto;
    padding: 0.5%;
    overflow: hidden;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.8); 
    box-shadow: 0px 0px 15px rgba(0,0,0,0.5); 
    height: 50%;
    overflow: auto;
		margin-bottom: 70px;
  }
	
	.page {
		display: flex;
		justify-content: space-evenly;
	}
	
	#main, #left, #right {
		display: inline-block;
		vertical-align: top;
	}
	#main {
		flex-basis: 70%;
		flex-grow: 7;
		margin: 0px 15px;
		min-height: 500px;
		overflow: hidden;
	}
	
	#left, #right {
		flex-basis: 15%;
		flex-grow: 1.5;
		padding: 5px 8px;
		border: 1px solid #999;
		overflow: hidden;
		background: #F2F2F9;
		max-height: 20px;
	}
	
	#left{
		border-width: 0px 1px 0px 0px;
		border-radius: 7px 0px 0px 7px;
		animation: expand2 1s ease-in-out 1s;
		animation-fill-mode: forwards;
	}
	#right {
		border-width: 0px 0px 0px 1px;
		border-radius: 0px 7px 7px 0px;
		animation: expand2 1s ease-in-out 1.5s;
		animation-fill-mode: forwards;
	}
	
	
	#main img.mainimg, .mceContentBody img.mainimg, 
	#main img.leftbound, .mceContentBody img.leftbound,
	#main img.rightbound, .mceContentBody img.rightbound {
		width: 35%;
		margin: 4px 6px;
	}
	#main td img.mainimg, .mceContentBody td img.mainimg {
		width: 100%;
	}
	
	#main .flexcontainer div  img {
		margin-bottom: 10px;
	}
	
	#main img.leftbound, .mceContentBody img.leftbound {
		margin-left: 0px;
		float: left;
	}
	#main img.rightbound, .mceContentBody img.rightbound {
		margin-left: 0px;
		float: right;
	}
	
	
	
	#left img, #right img {
		width: 90%;
		padding: 4px;
		border: 1px solid #999;
		border-radius: 3px;
		margin-bottom: 15px;
	}
	
	
	#left .section a {
		display: block;
		position: relative;
		text-decoration: none;
		padding: 2px 0px 6px 11px;
		border-bottom: 1px dashed #CCC;
		margin: 4px 0px;
		color: #404157;
		font-size: 80%;
		text-shadow: 0px 0px 1px rgba(120,120,120, 0.6);
	}
	
	#left .section a::before {
		content: '\a0\a0\a0';
		position: absolute;
		left: -2px;
		top: 0px;
	}
	
	#left .section a:hover::before {
		content: '\bb\a0';
		position: absolute;
		left: -2px;
		top: 0px;
	}
		
		
	#left .section a.active::before  {
		content: '\bb\a0';
		position: absolute;
		left: -2px;
		top: 0px;
	}
	
	#left .section a:hover, #left .section a.active  {
		text-shadow: 0px 0px 1px rgba(60,60,60, 0.6);
	}
	
	
	#left .section a.bottom  {
		border-bottom: none;
	}
	
	#left .section .section  {
		margin-left: 15px;
	}
	
	#left .section .section a {
		margin: 2px 0px;
		font-size: 70%;
	}
	
	#breadcrumb {
		font-size: 80%;
		margin: 3px 0px 10px;
    overflow: hidden;
	}
	
	
  
  #footer {
		position: fixed;
		bottom: 0px;
    background: #111;
    color: #FFF;
    text-align: center;
    padding: 7px 0px 5px 0px;
		width: 100%;
		box-shadow: 0px 0px 15px rgba(0,0,0,0.7); 
  }
  
  #fcontent{
    width: 90%;
    margin: 0px auto;
    font-size: 65%;
  }
  
  #fcontent a {
    display: inline-block;
    color: #FFF;
    text-shadow: 1px 1px 0 #333;
  }

  #fcontent a:hover {
    color: #CCC;
    text-shadow: 1px 1px 0 #555;
  }
  
  
  #up {
    bottom: 10px;
    font-size: 30px;
    position: fixed;
    right: 50%;
  }
  #up a {
    text-decoration: none;
    color: #777;
    text-shadow: 1px 1px 0 #DDD;
  }

  
  #rightcontent { width: 305px; }

#rightcontenttop, #fbbox { padding: 5px 8px; }
#rightcontenttop { 
  margin-top: 40px;
	margin-bottom: 15px;
	border: 1px solid #999;
	overflow: hidden;
	font-size: 13px;
}

#fbbox { 
	height: 240px; 
	font-size: 14px;
	background: #DDD;
	color: #295a9a;
}

/**************************/
/* globales Layout - ENDE */
/**************************/






/** NAVIGATION TOP MENU **/
#topmenu, #topmenutop {
  display: inline-block; 
	vertical-align: top;
  margin-top: 15px; 
  margin-left: 20px;
}
#topmenutop {
	margin-top: 0px;
}

ul.nav, ul.nav li {margin:0;padding:0}

.nav {
	list-style-type: none;
	height: 70px;
	overflow: hidden;
}

.nav li {
	display: inline-block;
}

#stopmenu .nav li {
	display: block;
}


.nav li a {
	float: left;
	position: relative; 
	display: block;
	padding: 14px 3px 16px 3px;
  margin: 0px;
	
	height: 17px; 
	font-size: 1.4em;
  letter-spacing: 2px;
	margin-right: 15px;
	
	color: #404157;
  text-shadow: 1px 1px 0 #DDD;
	
	
	/*text-transform: uppercase;*/
	font-family: 'pt_sans_narrowbold', sans-serif; font-weight: normal; 
  
  text-align: center;
	text-decoration: none;
}


.nav li a:hover, .nav li a.active {
	/*+++
	color: #D2D2D2;
  text-shadow: 0px 0px 25px rgba(255,255,255,.6);
	+++*/
	color: #606177;
  border-bottom: none;
  text-shadow: 0px 0px 25px rgba(0,0,0,.3);
}
.nav li a.active {
	/*+++
	color: #DDD;
	+++*/
	color: #333;
}

.nav li a:before, .nav li a.active:before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 50%;
    right: 50%;
    bottom: -1px;
    background: #A2091A;
    height: 3px;
    -webkit-transition-property: left, right;
    transition-property: left, right;
    -webkit-transition-duration: .3s;
    transition-duration: .3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}

.nav li a:hover:before, .nav li a.active:before { left:0; right:0; }




   .nav .hassub > a:after {
      font-family: FontAwesome;
      content: "\f0dd";
      padding-left: 0px;
      font-size: 14px;
      /*vertical-align: middle;*/
    }
    
        .nav .hassub ul {
					padding: 0px;
				}
				
        #topmenutop .nav .hassub ul {
						display: none;
						position: absolute;
						top: 74%;

            box-shadow: 0 3px 5px 0 gray;
						
            border: 1px solid #777;
            border-width: 0px 1px 1px 1px;
						border-radius: 0px 0px 5px 5px;
						
            background-color: #F2F2F2;
						z-index: 13;
            white-space: nowrap;
        }

        #topmenutop .nav .hassub:hover > ul {
					display: block;
				}
				
        #topmenutop .nav .hassub ul li {
					display: block;
          border-top: 1px solid #CCC;
          width: 100%;
				}
				
        #topmenutop .nav .hassub ul a{
          display: block;
					float: none;
					margin: 0px;
					text-align: left;
					
          padding: 10px;

          min-width: 170px;
          max-width: 190px;

          font-size: 14px; 
					letter-spacing: 0px;
				}
				
        #menuon .nav .hassub ul a {
					padding: 3px 3px 15px 3px;
					height: 20px;
					font-size: 1.5em;
				}
         
        #topmenutop .nav .hassub ul a:hover {
            background-color: #DCD5CF;
        }
        
        /** subsubmenus **/
				/*
        .nav .hassub ul .ulsubsub {
          border-width: 1px;
          display: none;
          position: absolute;
          top: -1px;
          left: -139px;
        }
        .nav .hassub ul .ulsubsub a{
          font-size: 13px;
        }
        */
        


/** NAVIGATION TOP MENU - ENDE **/





/** ICON-LINKS **/
.iconlinks {
	display: inline-block; 
	float: right;
	vertical-align: top;
  margin-top: 27px; 
	margin-right: 40px;
}
.iconlinks a {
  display: block;
  width: 40px;
  height: 40px;
  background-repeat: no-repeat;
}
.iconlinks a:first-child {
  margin-bottom: 20px;
}

.linkedinlink             { background-image: url('/img/icon_linkedin.png');} 
.linkedinlink:hover { background-image: url('/img/icon_linkedin_hov.png');} 




#mainimg {
	position: relative; 
	height: 300px;
	width: 100%; 
	overflow: hidden; 
	margin-bottom: 20px; 
	background-position: 50% 50%; 
  background-size: cover;  
	background-repeat: no-repeat;
	text-align: center; 
}




/* einzelne Seiten */

.flexcontainer {
	display: flex;
	justify-content: space-evenly;
	
}
.flexcontainer div {
	padding: 8px 10px;
	margin: 0px 5px 20px 5px;
	border: 1px solid #C0C0C0;
	font-size: 75%;
	flex-basis: 20%;
}



#home p { margin-bottom: 15px; }
#home p.quote { text-align: center;  color: #000; text-shadow: 1px 1px 0 #DDD; margin-bottom: 0px;}
#home .quoteauthor { text-align: center;  font-size: 10px; margin-bottom: 40px;}


#productscontainer {
	position: relative;
	text-align: center;
}

#products {
	display: inline-block;
	margin: 0 auto;
}

.productblock {
	box-sizing: border-box;
	display: inline-block;
	box-shadow: 0 0 5px rgba(0, 0, 0, .5);
	width: 30%;
	margin-right: 3.5%;
	margin-bottom: 4%;
	vertical-align: top;
	border-radius: 4px;
}

.productblock:nth-child(3n) { margin-right: 0px; }

.producttitle { margin: 0; padding: 8px 0px; background: #EEE;}

.productdesc { padding: 4px 12px 24px 12px; height: 160px; display: table-cell; vertical-align: middle; }

.productdesccont { text-align: justify; }



			/** NEWS **/
      .newsentry {
				margin-bottom: 15px;
				font-size: 85%;
				border-radius: 7px;
				background-color: #F2F2F9;
				
				border: solid 5px transparent;
				border-radius: 7px;
				border-image: linear-gradient(to bottom, rgba(0,0,70, 0.2) 0%, rgba(0,0,0,0) 90%); 
				border-image-slice: 1;
				/*
				*/
			}
			
			
			
			.newsfold {
				text-align: left;
				padding: 10px 12px;
				border: none;
				border-radius: 7px;
				
			}
			
			.newsimg, .newstitle {
				display: inline-block;
				vertical-align: top;
			}
			
			.newsimg {
				width: 20%;
				margin-right: 10px;
			}
			
			.newstitle {
				width: 76%;
			}
			.newstitle h2 {
				margin-top: 0px;
				margin-bottom: 2px;
			}
			
			.permalink:hover {
				text-decoration: none;
				
			}
			
			.foldcontent {
				display: none;
			}
			
			.small {
				font-size: 10px;
			}
			
			
			
			
			
			.newscontent {
				padding: 0 18px;
				overflow: hidden;
				transition: max-height 0.4s ease-out;
			}
			
			.newstext {
				padding: 15px 0px;
				text-align: justify;
			}
			
			.newsaddimg {
				float: right;
				width: 45%;
				margin-left: 3%;
			}
			
			.newsimg img {
				width: 100%;
			}
			.newsaddimg img {
				width: 100%;
				border-radius: 7px;
			}



