body {
    margin: 200px 0 0 0;
    padding: 0; 
    font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;
    color: #333333;
}

html {
    background: #CCCCCC url('../images/backgrounds/background_metal.jpg') repeat;
    height: 100%;
}

p,h1,h2,h3,span,div,em {margin: 0; padding: 0;}
p {margin-bottom: 15px;}
img {border:none;}



/********************/
/* default classes */
.midcen {
    width: 980px;
    margin: 0 auto;
}


/* wrappers */
#headerwrapper {
    position: fixed;
    top: 0px;
    left: 0px;
    height: 200px;
    background: white; 
    width: 100%;
    z-index: 100;
}

#headstripewrapper {
    background: #FF0000 url('../images/backgrounds/head_stripe.gif') repeat;
    height: 46px;
    bottom: 0;
    position: absolute; 
    width: 100%;
}

#footerwrapper{
    font-size: 0.8em;
    margin-top: 10px;
    clear: both;
}

/******************/
/* content boxes */

#head {
    padding: 5px; 
    height: 155px;
}

#logo {
    margin: 15px 0 10px 10px;
    float: left;
}

#language {
    margin: 25px 20px 10px 10px;
    float: right; 
}

#searchbox {
    position: relative;
    float: right;
    right: -100px;
    top: 80px;
}

#footer {
    height: 30px;
    background: #FF0000;
    color: white;
    margin: 0 0 10px 0; 
    padding: 0 0 0 5px;
}


#navigationmain {
    margin-left: 5px;
    margin-top: 115px;
    clear:both;
    position: relative;
    z-index: 50;
    width: 960px;
}
#navigationmain ul {
    padding: 0px;
    margin: 0px;
}

#navigationmain ul:after {
    clear: both;
    content: " ";
    display: block;
    font-size: 0;
    height: 0;
    visibility: hidden;
}

#navigationmain ul li{
    background-color: #FF0000;
}

#navigationmain ul li.topmenu{
    background-color: transparent;
}

#navigationmain ul li {
    list-style: none;
    float:left;
    border-right: 1px solid #CCCCCC;
    padding-left: 20px;
}

#navigationmain ul li ul li:not(:first-child),
#navigationmain ul li:first-child {
    padding-left: 0px;
}

#navigationmain ul li ul li {
    padding-left: 20px;
    padding-right: 20px;
}

#navigationmain ul li:last-child,
#navigationmain ul li ul li{
    border-right: none;
}

#navigationmain ul li a {
    text-decoration: none;
    display: block;
    color: #333;
    padding: 5px 20px 5px 5px;

    transition: background 0.3s ease-out; /* explorer 10 */
    -webkit-transition: background 0.3s ease-out; /* chrome & safari */
    -moz-transition: background 0.3 ease-out; /* firefox */
    -o-transition: background 0.3 ease-out; /* opera */
}

#navigationmain ul li:hover > a {
    color: #FAFAFA;
    background-color: #FF0000;
}
#navigationmain ul li:hover > ul {
    visibility: visible;
}

#navigationmain ul li ul{
    display: inline;
    visibility: hidden;
    position: absolute;
    padding:0px;
}
#navigationmain ul li ul li{
    float: none;
}
#navigationmain ul li ul li a {
    color: #FAFAFA;
    font-size: 0.9em;
}
#navigationmain ul li ul li a:hover{
    color: #333;
    background-color: #FAFAFA !important;
}


.col {
    float: left;
    width: 300px;
    height: 200px; 
/*    padding-left: 10px;*/
    margin-right: 15px;
    background-size: 300px Auto;
}

.column_start_cat {
    float: left;
    width: 300px;
    margin: 20px 15px 20px 0;
}

.column_start_cat h1,
.column_start_cat a{
    color: #333333;
    text-decoration: none;
}

.column_start_cat a:hover {
    color: #FF0000;
}

.teaser_more a{
    background-color: white;
    float: right;
    margin-top: 150px;
    padding: 0 10px;
    font-size: 0.8em;
}

div.col h3 {
    background-color: #FFFFFF;
    display: inline;
    border-top: 10px; 
    padding: 2px 15px 2px 10px;
    margin-top: 10px;
}

div.col a h3 {
    color: #333333;
    text-decoration: none;
}
div.col a {
    text-decoration: none;
}

.ansprechpartnerwrap {
    width: 300px; 
    float: right;
    padding: 0 10px 10px 10px;
/*    border: 1px solid #333333;*/
}

.ansprechpartner p{
    font-size: 0.8em;
}


#breadcrumb {
    height: 40px;
    padding: 0 0 0 5px;;
}
#breadcrumb ul {
    display: inline;
}
#breadcrumb ul li {
    font-size: 0.8em;
    list-style: none;
    float: left;
    padding: 10px 0;
}
#breadcrumb ul li+li {
    margin-left: 5px;
}
#breadcrumb ul li a,
#breadcrumb ul li a:visited,
#breadcrumb ul li a:active {
    text-decoration: none;
    font-weight: normal;
    color: #333333;
}
#breadcrumb ul li a:hover {
    color: #FF0000;
    text-decoration: underline;
}

#content {
    padding: 5px;
    line-height: 1.6em;
}

#bottomnav ul {
    height: 25px;
    width: 500px;
    margin: 0;
    padding: 5px 0 0 5px;
}
#bottomnav ul, #bottomnav ul li {
    list-style:none;
}

#bottomnav ul li {
    display: inline;
    margin: 0;
}

#bottomnav a:hover {
    border-bottom: white;
}

#bottomnav a {
    color: #FFFFFF;
    text-decoration: none;
    padding: 0 10px 0 0;
    margin-right: 10px;
    border-right: 1px solid white;
}


/* ----- SEARCH RESULT ----- */

#searchbox #search_term {
    outline: none;
    background: none;
    border: none;
    width: 130px;
    cursor: pointer;
    padding-left: 2px;
}

#searchbox form {
    margin-top: 3px;
    background: url('../images/misc/sprite.png') no-repeat -252px -293px;
    width: 24px;
    height: 23px;
    overflow: hidden;
}

#searchbox form.active {
    background: url('../images/misc/sprite.png') no-repeat -252px -335px;
}


#search_term.full {
    width: 316px;
    height: 24px;
    padding: 0 5px;
    border: 1px solid #FF0000;
    margin-bottom: 30px;
    outline: none;
}
#navigation_searchform_top + h3 {
    white-space: pre-line;
    word-break: break-all;
}

.submit.search {
    vertical-align: top;
    background: #FF0000;
    border: 1px solid #FF0000;
    border-radius: 12px;
    height: 28px;
    color: #fff;
    padding: 0 15px;
    cursor: pointer;
}

.pagination {
    padding: 10px 0;
    font-size: 0.9em;
}

.pagination ul {
    display: inline;
    list-style: none;
    margin: 0;
    float: right;
}

.pagination ul li {
    list-style: none;
    float: left;
    margin-left: 5px;
}

.pagination ul li a {
    color: #000;
}

.pagination ul li a.active,
.pagination ul li a:hover {
}

#content ul#search_result {
    display: inline;
}

#search_result li {
    list-style: none !important;
    padding: 0 20px 0 0px !important;
}

#search_result li>span {
    margin-right: 10px;
    text-align: right;
    font-weight: bold;
}

#search_result li a {
    color: #red;
}

#search_result li a:hover,
#search_result li:hover a {
    color: #000000;
}

#search_result li p {
    margin: 5px 0 20px 0;
}


/* labels for contenttypes in backend edit mode */
.content_type_label {
    clear: both;
    color: #0060B1;
    background-color: #BFCF00;
    display: block;
    margin: 5px 0 2px 0;
    border-top: 2px solid #0060B1;
    border-right: 2px solid #0060B1;
    padding: 2px;
    font-weight: bold;
}
.content_type_label_secondary {
    clear: both;
    color: #0060B1;
    background-color: #BFCF00;
    display: block;
    margin: 5px 0 2px 0;
    padding: 2px;
    font-weight: normal;
}

#tpl_visedit {
    height: 100%;
    padding: 0;
    margin: 0;
}

#tpl_visedit .visedit_item {
    position: relative;
    height: 26px;
    white-space: nowrap;
    font-size: 12px;
}


/********************/
/* content classes */

h1 {margin: 0px 0 15px; padding:0; font-size: 1.2em; color: #FF0000; }
h2 {margin: 0px 0 5px; padding:0; font-size: 1.0em;}
h3 {margin: 0px 0 5px; padding:0; font-size: 0.9em;}
.constripe h1 {font-size: 1.2em; margin: 10px 5px; padding: 0;}
a {text-decoration: underline; color: #FF0000;} 
a:hover {color: #333333;} 

#content li {list-style-type: square;}
hr {
    border: none; border-top: 1px solid #FF0000; color: #999999; background-color: #999999; height: 1px;
}


.left  { float:left; }
.right { float:right; }
.tleft  { text-align:left; }
.tright { text-align:right; }

.linkMore { float: right; }
p.artText { margin: 0px; }

.constripe, .constripe h1{
    color: white; 
}

/* ----- PIFAFORM ----- */
.pifa-form {
    margin-top: 30px;
    position: relative;
    line-height: 1em;
}

.pifa-form label {
    display: block;
    width: 160px;
    float: left;
}

.pifa-form div.checkbox-wrapper label {
    width: 438px;
}

.pifa-form div.privacy {
    margin-bottom: 15px;
}

.pifa-form div {
    margin-bottom: 3px;
}

.pifa-form select {
    width: 456px;
}

.pifa-form input[type="text"],
textarea {
    width: 450px;
}

.pifa-form .pifa-error select,
.pifa-form .pifa-error input,
.pifa-form .pifa-error textarea {
    border: 1px solid #C31250;
}

.pifa-form .pifa-error input[type="text"],
.pifa-form .pifa-error textarea {
    width: 454px;
}

.pifa-form .pifa-error label {
    color: #C31250;
}

.pifa-form p {
    display: none;
}

.pifa-form .pifa-error .pifa-error-message {
    display: block;
}

.pifa-form .pifa-error:hover p {
    display: block;

}

.pifa-form 

.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
 
.clearfix {
    display: inline-block;
}
 
html[xmlns] .clearfix {
    display: block;
}
 
* html .clearfix {
    height: 1%;
}

 
.newsArticle h2 p {
    margin: 5px 0 0 0;
}

.newsArticle ul {
    overflow:auto;
    zoom:1;
    padding-left:25px
}

.slicknav_menu {
    display: none;
}
@media (max-width: 980px) {
    body {
        margin: auto;
    }
    .slicknav_menu {
        position: fixed;
        width: 100%;
        display: block;
        background-color: red;
    }  
    #contentwrapper {clear: both;}
    .midcen {
        width: auto;
    }
    #menu {
        display: none;
    }
    #headerwrapper {
        height: auto;
    }
    #head {
        height: 100%;
    }
    #head #logo img {
        width: 100%;
    }
    #head #logo {
        margin: 3% 2% 2%;
        width: 60%;
    }
    #head #language {
        margin: 2%;
        width: 15%;
    }
    #head #language img {
        width: 100%;
    }
    #navigationmain {
        clear: both;
        margin-left: 0px;
        margin-top: 0px;
        position: auto;
        z-index: auto;
        width: auto;
    }
    #headstripewrapper {
        margin: 10px 0px 0px;
        display: none;
    }
    .column_quarter {
        text-align: center;
    }
    .col {
        display: inline-block;
        margin-bottom: 10px;
        text-align: left;
        float: none;
    }
    .column_start_cat {
        display: none;
    }
    
    #footerwrapper .left {
        padding-left: 10px;
    }
    
    #footerwrapper .right {
        display: none;
    }
    
    #bottomnav ul {
        width: auto;
    }
    
    .ansprechpartnerwrap {
        float: none;
        width: auto;
        margin-bottom: 15px;
        padding: 0;
    }
    
   .ansprechpartnerwrap p, .ansprechpartnerwrap img {
           display: none;
   }
                                   
    .ansprechpartnerwrap a {
        color: #333;
        font-size: 1.1em;
    }
    .ansprechpartnerwrap a::after{
	content: " \21D2";
    }
    
    #googleMap{
        width: 100%;
    }
    
    table.content {
        width: auto !important;
    }

    
    .pifa-form input[type="text"], textarea {
        width: 90%;
    }
    
    .pifa-form select {
        width: 92%;
    }
    
    #breadcrumb {
        width: 80%;
        padding-bottom: 10px;
        padding-top: 10px;
    }
    
    #breadcrumb ul li {
        padding: 5px 0px 0px 0px;
    }

    .newsArticle ul {
	overflow:none;
	clear:both;
    }
    
    .artImage{
	clear: both;
	float: none;
	width: 100%;
	margin: 0 auto;
	text-align: center;
    }
    
    #articleList .artImage{
	border: none;
    }
    
    #articleList .artImage img{
	display: inline;
	text-align: center;
    }
    
}
