/*.
        Autor:    OH
        Erstellt: 03.12.2009
        Geändert: KS, RS 08/2013
*/

#nav{
    width:100%;
    height: 40px;
    line-height: 40px;
    background-color:#ffffff;
    /*display:inline-block;*/
    vertical-align:top;
    text-align: center;	
    border-bottom: 4px solid #236eaf;
    padding-bottom: 5px;
    
}
#nav .Hauptnavigation{
    width: 80%;
    max-height: 40px;
    margin: 0 auto;


}

#nav .Hauptnavigation div{
    max-height: 40px;
    display:inline-block;
    vertical-align: middle;
    margin-right:3%;
    border-top: 4px solid #f8f8f8;
    
}
#nav .Hauptnavigation img{
    max-height: 30px;
    display:inline-block;
    vertical-align: middle;
    
    border-top: 4px solid #f8f8f8;
}
#nav .Hauptnavigation a{
    margin-right: 3%;
	text-transform:uppercase;
        
           
}
#nav .Hauptnavigation .navigations_punkt a{
    display: block;
}
#nav .Hauptnavigation .navigations_punkt.aktiv{
    border-top: 4px solid #fe7201;
} 
#nav .Hauptnavigation div:first-of-type{
    display: none;
}
#nav .Hauptnavigation div:hover{
    border-top: 4px solid rgba(254, 114, 1, 0.3);
}

#nav a{
    text-decoration: none;
    color: #236eaf;
    font-weight: bold;
    font-size: 1.2em;
}







.footer_nav {
    background-color: #769ABA;
    text-align: center;
    display: inline-block;
    width: 100%
}
.footer_nav .navigations_punkt{
    display: inline-block;  
    padding: 0 5px;
}
.footer_nav .navigations_punkt:first-of-type{
    border-right: 2px solid #ffffff;
}

.footer_nav a{
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
}
.footer_nav .Footer img{
    display: none;
}










/*----------------------------dotNav---------------------------------------------*/
.dotNav{
    position: fixed;
    right: 2%;
    vertical-align: middle;
    visibility: hidden;
}
.dotNav.hidden{
    display: none;
}
.nav_dot {
    text-align: center;
    width: 25px;
    
}
.dot{
    width: 5px;
    height: 5px;
    border-width: 1px;
    border-style: solid;
    border-radius: 2px;
    padding: 2.5px;
    margin: 5px 5px;
    display: inline-block;
    vertical-align: top;
    transition: width 0.5s,height 0.5s, margin 0.5s;
}
.nav_dot.aktiv .dot{
    background-color: #236eaf;
}

.nav_dot .dot.white_bubble{
    border-color: #ffffff;
}
.nav_dot .dot.blue_bubble{
    border-color: #236eaf;
}
.nav_dot .dot.blue_bubble{
    background-color:  #ffffff;
 
}
.nav_dot.aktiv .dot.blue_bubble{
    background-color:  #236eaf;
    
}
.nav_dot .dot.white_bubble{
       background-color:  #236eaf;
    
}
.nav_dot.aktiv .dot.white_bubble{
    background-color:  #ffffff;
    
}


.dotNav .nav_dot.aktiv .dot,
.dotNav .nav_dot:hover .dot{
    width: 10px;
    height: 10px;
    margin: 2.5px 2.5px;
    
}


/*----------------------------Leistungsnavigation----------------------------------*/
.Leistungen{
        width: 80%;
        margin: 0 auto;
}
.Leistungen .navigations_punkt{
    width: 30%;
	box-sizing:border-box;
    display: inline-block;
    margin-top: 50px;
    vertical-align: top;
	border:2px solid #236EAF;
	/*height:150px;*/
	border-radius:30px;
	margin-right:3%;
	/*padding-bottom:15px;*/
	overflow:hidden;
	transition:background-color 0.5s;
	background-color:#236EAF;
	

	
	
}

.Leistungen .navigations_punkt:last-of-type
{
	margin-right:0;
}

.Leistungen .navigations_punkt:hover{
  
	background-color: #ffffff;
}

.Leistungen .navigations_punkt:hover .leistung .name

{
  
	color:#000000;
}

.Leistungen .navigations_punkt:hover .leistung .besch
{
	    color: #8e9399;
}

.Leistungen .leistung a{
    text-decoration: none;
    box-sizing: border-box;
}
.leistung{
  
    margin: 0 auto;
    color: #8e9399; 

}

.leistung a .klein{
    display: none;
}

.leistung .name{
    padding: 15px 0;
    font-size: 1.3em;
    color:#ffffff;
    font-weight: bold;
	text-transform: uppercase;
	transition:color 0.5s;
       
}
.leistung .besch{
    line-height: 1.6em;
color:#ffffff;
 width: 80%;
 margin:0 auto;
	transition:color 0.5s;
        min-height: 70px;
        padding: 0 0 15px 0;
}

.pic{
    width: 280px;
    height: 280px;
    margin: 0 auto;
    border-radius: 50%;
    background-color: #236eaf;
    
}

.pic i{
    width: 17%;
    display: inline-block;
    color: #ffffff;
    vertical-align: middle;
    padding: 125px 0 0 0;    
}
.pic img{
    display: inline-block;
    color: #ffffff;
    vertical-align: middle;
    padding: 115px 0 0 0;    
}
.pic img{
    
}
.arrow_pic{
    color: #397db7 !important;
}
.first_pic{
   
}
.second_pic{
    
}
.third_pic{
    
}



/*-------------------PortfolioNavigation--------------------------------------*/

.portfolio_nav{
    margin: 30px auto;
	
}



.portfolio_nav .active{
    
}
.portfolio_nav a{
    text-decoration: none;
    color: #8e9399;
    background: #d6d6d6;
    padding: 5px 10px;
    margin: 0 5px 10px;
    text-transform: uppercase;
    transition:background-color 0.5s, color 0.5s;
	
    
    
}


.portfolio_nav .active{
    color: white;
    background-color: #363636;
    
}

.mobile_navigation {
    display: none;
}

@media screen and (max-width: 1280px) and (min-width: 720px){
    .pic{
        width: 200px;
        height: 200px;
    }
    .pic i{
        padding: 85px 0 0 0;    
    }
    .pic img{
     padding: 75px 0 0 0;    
    }
}


@media screen and (max-width: 1340px){
.leistung .name{
    font-size:1.1em;
       
}
.leistung .besch{
    font-size:1em;
}
}

@media screen and (max-width:1200px){
    #nav .Hauptnavigation{
        width: 100%;
    }
}
@media screen and (max-width: 1160px){
	.Leistungen{
		text-align:center;
		
	}
	.Leistungen .navigations_punkt{
		width:51%;
		margin-right: 0;
	}
	
	
}

@media screen and (max-width: 1080px){
    
    #nav .Hauptnavigation div{
     margin-right: 1%;   
    }
	
	.portfolio_nav a{
        width: 40%;
        margin: 10px 2.5%;
        display: inline-block; 
        padding: 10px 5px;
        

    }
    .portfolio_nav .portfolio_eintraege a{
        border: 0;
    }
    
}
@media screen and (max-width: 840px){
    
    .Leistungen .navigations_punkt{
        width: 100%;
        margin: 0;
		height:auto;
		margin-bottom:30px;
        padding: 10px 0;
        /*border-bottom: 1px solid #2d2d2d;*/
    }
/*    .Leistungen .navigations_punkt:last-of-type{
        border: none;
    }*/
    
    .leistung{
        width: 90%;
        background-color: #236eaf;
        border-radius: 10px;
        
    }
    .leistung a .round{
        display: none;
    }
    .leistung a .klein{
      
        width: 40%;
        margin: 0 auto;
    }
    .leistung .name{
        width: 100%;
        margin: 0 auto;
        /*font-size: 1.6em;*/
        font-weight: bold;
        color: #f8f8f8;
    }
    .leistung .besch{
        width: 100%;
        margin: 0 auto;
        padding-bottom: 20px;
        color: #f8f8f8;
    }
    
    
    
    
    
    .mobile_navigation{
        display: none;
        position: absolute;
        width: 100%;
        z-index: 24;
    } 
    #nav{
        text-align: center;
        padding: 0;
    }
    
    .mobile_navigation .Hauptnavigation{
        background-color: #ffffff;
        opacity: 1;
    }
    .mobNavLayer{
        color: #236eaf;
        opacity: 0.5;
        width: 100%;
        height: 1000px;
        
       
    }
    .mobile_navigation .Hauptnavigation a[title]{
    display: none;
    }
    .mobile_navigation a{
        text-decoration: none;
        display: block;
        font-size: large;
        font-weight: bold;
        color: #236EAF;
        padding: 10px 0 10px 15px;
		transition:color 0.5s;
    }
	
	 .mobile_navigation a:before{
      content: '» ';

    }
    
    .mobile_navigation .Hauptnavigation .navigations_punkt{
        border-top: 2px solid #236eaf;
        border-bottom: 2px solid #236eaf;
		transition: background-color 0.5s;
    }
	 .mobile_navigation .Hauptnavigation .navigations_punkt:hover a {
      
		color:#ffffff;
    }
    .mobile_navigation .Hauptnavigation .navigations_punkt:hover {
       background-color: #236EAF;
		
    }
    .mobile_navigation .Hauptnavigation .navigations_punkt.aktiv a{
        
        background-color: #236EAF;
		color:#ffffff;
     
    }    
      
    
    #nav .Hauptnavigation{
        width: 80%;
        padding-right: 10%;
        display: inline-block;
        max-height: 40px;   
    }
    #nav .Hauptnavigation{
        display: none;
    }
    #nav .Hauptnavigation div{
        height: 10px;
        width: 10px;
        display:inline-block;
        vertical-align: middle;
        margin-right: 5px;
        border: 1px solid #236eaf;
    }
    #nav .Hauptnavigation a{
        text-indent: -9999px;
    }
    #nav .Hauptnavigation div a text{
        display: none;
    }
    #nav .Hauptnavigation img{
        display: none;
    }
    #nav .Hauptnavigation div:first-of-type{
        display: inline-block;
    }
    #nav .Hauptnavigation .navigations_punkt.aktiv{
        background-color: #236eaf;
        border: 1px solid #236eaf;
    }  
    .dotNav{
        display: none;
    }
    
    
    
    
    #page.navigation_id15 #nav .Hauptnavigation .navigations_punkt,
    #page.navigation_id7 #nav .Hauptnavigation .navigations_punkt{
        display: none;
    }
    #page.navigation_id15 #nav .Hauptnavigation,
    #page.navigation_id7 #nav .Hauptnavigation{
        padding: 0;
    }
    #page.navigation_id15 #nav .Hauptnavigation a,
    #page.navigation_id7 #nav .Hauptnavigation a{
        margin: 0;
    }
    #page.navigation_id15 #nav .Hauptnavigation a img,
    #page.navigation_id7 #nav .Hauptnavigation a img{
        display: block;
        margin: 5px auto 0;
        
    }
}

@media screen and (max-width: 600px){
 .portfolio_nav a{
        width: 70%;
        margin: 10px auto;  
        /*background: 0;*/
    }
}
@media screen and (max-width: 480px){
    .leistung .name{
        font-size: 1em;
    }
    .leistung a .klein{
        width: 60%;
        padding: 0 0 10px 0;
    }
    .leistung .besch{
        display: none;
    }
    
    .portfolio_eintraege a{
        background: 0;
    }
    
    
    
   
    .Leistungen .navigations_punkt{
        width: 100%;
    }
    .pic{
        width: 200px;
        height: 200px;
    }
    .pic i{
        padding: 85px 0 0 0;    
    }
    .pic img{
     padding: 75px 0 0 0;    
    }
}