﻿html
	{
	height: 100%;
	width: 100%;
	}

body
	{
	height: 100%;
	font-family: Verdana,Tahoma,Arial,Helvetica,sans-serif;
	color: #464648;
	font-size: 11pt;
	margin: 0;
	padding: 0;
	background-image: url(../images/bgCTL.jpg);
	background-repeat: repeat-x;
	background-attachment: fixed;
    overflow-y: scroll;
	}

.fullsite
	{
	margin: 0 auto;
	min-height: 100%;
	max-width: 1124px;
    background-attachment: fixed;
	background-image: url(../images/haus.png);
	background-repeat: no-repeat;    
    background-position: calc(50% + 300px) bottom;
	background-size: 50% contain;
	background-color: white;
	border-left: 5px solid #7D7E81;
    border-right: 5px solid #7D7E81;
	}


#logo 
	{
	width: 100%;
	}

#logoText 
        {
        display: none;
        }

.linkohne 
    {
    text-decoration: none;
    }

/*MENU*/
nav
	{
	border-bottom: 1px solid #717275;
    border-top: 1px solid #717275;
    height: 26px;
    padding-top: 7px;
    position: relative;
	font-style: italic;
	font-weight: bold;	
	overflow: hidden;
	transition: width 0.5s;
	background-color: white;
	}

nav ul
	{
	position: relative;
	margin: 0px;
	padding: 0px;
	float: right;
	}

nav li
	{
	position: relative;
	float: left;
	list-style: none;
	margin-right: 20px;
	}

nav a
	{
    color: #464648;
	text-decoration: none;
	padding: 0 8px;
	display: block;
	}

.hamburgerMenuLeiste, .hamburgerMenu
	{
	display: none;
	}


/*SUBMENU*/
nav ul li ul 
	{
	position: fixed;
	margin-top: 2em;
	left: calc(50% - 556px);
	}

nav > ul > li > ul 
	{
    display: none;
	}

nav > ul > li > a.active + ul
	{
    display: block;
	}

nav ul li ul li 
	{
	float: none;
	border-bottom: 1px solid #717275;
	list-style: none outside none;
    margin: 0;
    padding: 3px 0 2px;
    position: relative;
    text-align: left;
	left: -6px;
	}

nav ul li ul li  a
	{	
	color: #464648;
	left: 10px;
	position: relative;
	text-decoration: none;
	font-weight: normal;
	font-style: normal;
	}

/*INHALT*/
.content
	{
	height: 100%;
	margin-left: 15em;
	margin-right: 3em;
	padding-bottom: 5em;
    margin-top: 1.6em;
	}

p
	{
	line-height: 1.4em;	
	margin: 0;
	padding: 0;
	}

h1
	{
	font-size: 1.4em;
	}

h2, h3, h4, h5, h6
	{
	font-size: 1.1em;
	}

.fett
	{
	font-weight: bold;
	}

.center
	{
	display: block;
    margin: 0 auto;
	}

.content ul
	{
    line-height: 1.4em;
	}

a
	{
	color: #464648;
	text-decoration: underline;
	}

td 
    {
    vertical-align: top;
    }

table table 
{
    padding: 0;
    margin: 0;
} 

/*NWabersich 05.01.2015 Partner*/
.partnerbox 
    {
	position: relative;
    width: 250px;
	max-width: 100%;
	height: 170px;
	max-height: 100%;
	display: inline-block;
	vertical-align: top;
    background-color: lightgray;
	margin: 1em; 
	/*border-radius: 50%;*/
	overflow: hidden;
    }

.partnerbox img 
    {
    max-width: calc(100% - 2em) !important;
	max-height: calc(100% - 2em);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    }

.partnerbox div
	{
	margin: 3em;
	}

/*Footer*/
footer
	{
	position: fixed ;
	background-color: #CDCCCC;
	border-top: 1px solid #717275;
    bottom: 0;
    height: 30px;
	max-width: 1124px;
	width: calc(100% - 10px);
	}

footer ul
	{
	margin: 0;
	float: right;
    padding-top: 5px;
    position: relative;
	}

footer li
	{
	position: relative;
	float: left;
	list-style: none;
	text-align: left;
	margin-right: 20px;
	}

footer a
	{
    color: #464648;
	font-style: italic;
	text-decoration: none;
	padding: 5px 8px;
	}

footer a:hover
	{
	color: #464648;
	font-style: italic;
	text-decoration: underline;
	padding: 5px 8px;
	}

footer .active
	{
	color: #464648;
	font-style: italic;
	text-decoration: underline;
	padding: 5px 8px;
	}

.pfeil 
    {
    display: none;
    cursor: pointer;
    }


/*** Klassen f�r RowControls ***/
.floatingelement li
	{
	list-style-position: inside;
	display: inline-block;
	}

.image_left, .image_right
	{
	width: 50%;
	}

.image_left
	{
	text-align: center;
	float: left;
	padding-right: 5px;
	padding-left: 0;
	padding-bottom: 5px;
	padding-top: 0;
	}

.image_right
	{
	text-align: center;
	float: right;
	padding-right: 0;
	padding-left: 5px;
	padding-bottom: 5px;
	padding-top: 0;
	}	

.image_left
	{
	float: left;
	padding-right: 15px;
	padding-left: 0;
	padding-bottom: 5px;
	padding-top: 0;
	}


/***STRUCTURE ELEMENT FLEXIBLE IMAGE***/
.flexible_image_outer
	{
	border: 1px solid #e2e2e2; 
	padding: 5px;
	font-size: 1px; 
	}


.flexible_image
	{
	width: 100%; 
	font-size: 1px; 
	background-image: url(../images/flex_image_bg.jpg);
	background-repeat: repeat-x;
	background-position: top;
	}

/***SITEMAP***/
.sitemaplevel0, .sitemaplevel1
	{
	display: block;
	}

.sitemaplevel0
	{
	margin-top: 1em;
	}

.sitemaplevel1 
	{
	margin-left: 2em;
	}

/***SEARCH***/
.search_filter_table input
	{
	margin-left: 1em;
	}

.search_result_table li
	{
	margin-bottom: 1em;
	list-style: decimal;
	}

.search_result_table a
	{
	display: block;
	}

.searchinput, .searchbutton
	{
	float: left;
	margin: 0.45em;
	}

/***ZweiSpalten Mitarbeiter***/
.zweispalten
	{
	float: left; 
	width: 50%;
	}

ul.mitarbeiter
	{
	display: inline-block;
	width: 160px;
    padding: 0 25px;
	list-style: none;
    vertical-align: top;
	}

/***Partner***/
.PartnerBild 
{
	margin-left: 2em;
	margin-right: 2em;
	max-width: 40%;
}

 
.TwoInRow 
    {
    -webkit-column-count: 2;
    display: normal;
    margin-left: auto;
    margin-right: auto;
    -moz-column-count: 2;
    -ms-column-count: 2;
    -o-column-count: 2;
    column-count: 2;
    -webkit-column-gap: 0;
    -moz-column-gap: 0;
    -ms-column-gap: 0;
    -o-column-gap: 0;
    column-gap: 0;
    columns: 2;
    }

.TwoInRow 
{
    text-align:center;  
}

.TwoInRow ul 
    {
    list-style: none;   
    list-style-image:none;
    }


@media(max-width: 1142px) 
	{
    .TwoInRow 
    {
    -webkit-column-count: 1;
    display: block;
    -moz-column-count: 1;
    -ms-column-count: 1;
    -o-column-count: 1;
    column-count: 1;
    -webkit-column-gap: 0;
    -moz-column-gap: 0;
    -ms-column-gap: 0;
    -o-column-gap: 0;
    column-gap: 0;
    columns: 1;
    }

	body
		{
		color: #464648;
		background-image: none;
		}

    .fullsite
		{
		background-position: bottom right;		 
		}

	nav
		{
		border-bottom: none;
		border-top: none;
		height: auto;
		font-style: normal;
		font-weight: normal;
		width: 14em;
		float:left;
		margin-top: -0.6em;	
		}

	nav ul
		{
		float: none;
		}

	nav li
		{
		float: none;
		border-bottom: 1px solid #717275;
		padding: 0;
		}

	nav a
		{
		padding: 3px 0 2px 1em;
		}

	/*SUBMENU*/

	nav ul li ul 
		{
		position: relative;
		margin-top: 0;
		left: 0;
		}

	nav ul li ul li 
		{
		border-top: 1px solid #717275;
		border-bottom: none;
		left: auto;
		padding: 0; 
		}

	nav ul li ul li  a
		{	
		color: #464648;
		left: 10px;
		position: relative;
		text-decoration: none;
		font-weight: normal;
		font-style: normal;
		}

	.content
		{
		margin-top: 2em;
		}


    .pfeil 
        {
        display: block;
        float: right;
        margin-top: .1em;
        margin-right: .5em;
		max-width: 1.7em;
    	max-height: 1.7em;
        }

	}

@media(max-width: 590px)
	{
    header 
        {        
		height: 120px;
        background-image: url(../images/Banner_mitLogoHandy.png);
        background-size: auto 120px;	
        }

    #logo
        {
		visibility: hidden;
        height: 100%;
        width: 145px;
        display: inline-block;
        margin: 0;
        vertical-align: middle;
        }

    #logoText 
        {
        display: inline-block;
        font-size: 1.1em;
        text-align: center;
        vertical-align: middle;
        margin-left: 0;
        font-style: italic;
        width: calc(100% - 153px);
        }
        
	body 
		{
		font-size: 1em;
		}

	nav 
		{
		position: fixed;
		float: left;
		margin-top: 0;
		margin-left: 0;
		width: 0;
		height: 100%;
        padding-top: 0;
        top: 0;
        left : 0;
		}

	nav.open
		{
		width: 14em;
        overflow-y: scroll;
        z-index: 3;
		}

    .hamburgerMenuLeiste 
        {
        display: block;
        background-color: #CDCCCC;
        border-top: solid 1px black;
        border-bottom: solid 1px black;
        }

    .hamburgerMenu 
		{
        display: inline-block;
        vertical-align: middle;
        max-width: 1.7em;
        max-height: 1.7em;
        margin-top: .2em;
        margin-left: .5em;
        margin-bottom: .2em;
        margin-right: 1em;
	    cursor: pointer;
    	}

    .hamburgerMenuLeiste ul 
        {
        position: absolute;
        display: inline-block;
        margin: 0;
        margin-top: .4em;
        margin-right: .3em;
        list-style: none;
        padding: 0;
        right: 0;
        }

    .hamburgerMenuLeiste li 
        {
        display: inline-block;
        }

    .hamburgerMenuLeiste a 
        {
        text-decoration: none;
        margin-right: .5em;
        font-weight: bold;
        }

	.fullsite
		{
		background-image: none;
		border-left: none;
	    border-right: none;
		}

    nav a
		{
		line-height: 1.7em;
		}

	.content
		{
		height: 100%;
		margin-left: 1em;
		margin-right: 1em;
        margin-top: 0;
		}
	
    h1
        {
        font-size: 1.2em;
        }

	footer
		{
		width: 100%;
		}		

    footer ul
        {
        display: none;
        }

	}
        
