/** Spenden Seite **/
#maincontent div#c149 {
  margin-bottom: 0;
  padding-bottom: 0;
}
#maincontent div#c157 {
  padding-top: 0;
}

/** förderlogos */
.page_30 #maincontent img {
  background: #fff;
  margin-bottom: 10px;
}

#maincontent div#c138 {
  margin-bottom: 20px;
  padding-bottom: 0;
  background: #ffffff;
}

#maincontent div#c154,
#maincontent div#c152 {
  padding-top: 0;
  background: #ffffff;
}

#maincontent div#c154 .ce-row > div:last-child {
  margin-top: 50px;
}
/** förderlogos Ende **/

.easycaptcha svg.icon-color {
  width: 50px;
  height: 50px;
}
div.easycaptcha .captcha-actions {
  margin-bottom: 5px;
}
div.easycaptcha .form-group {
    margin-bottom: 20px;
}


.text-right {
  text-align: right;
}


/** cookieconsent **/
div.cc-window.cc-floating {
  border: 1px solid #eee;
}

/** ke_search OBR 2020 **/

div.tx-kesearch-pi1 {
   padding:0 20px;
}

a.kesGreyButt, span.resetbutt a, span.submitbutt input, input.kesGreyButt, span.kesGreyButt {
    max-width: 160px!important;
}

.tx-kesearch-pi1 #kesearch_results .result-list-item .hit {
    color: #e1003a!important;
    font-weight: bold;
}

.page_32 div#content_rechts div#searchbox {
   display: none;
}

#kesearch_ordering li.sortlink {
  padding: 2px 5px 2px 5px;
}

.tx-kesearch-pi1 #kesearch_ordering li.sortlink span.down {
  border-color: #e1003a transparent;
  border-width: 8px 6px 0;
  margin-left: 5px;
}

.tx-kesearch-pi1 #kesearch_ordering li.sortlink span.up {
  border-color: #e1003a transparent;
  border-width: 0 6px 8px;
  margin-left: 5px;
}

#kesearch_ordering li.sortlink.down,
#kesearch_ordering li.sortlink.up {
  background: #dddddd;
}

.kesearch_searchbox {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
}

.kesearch_searchbox {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
}

.kesearch_searchbox > span > a,
.kesearch_searchbox > span > input {margin-bottom: 0 !important;}

input#ke_search_sword {
  position: relative;
  margin-right: 10px;
  line-height: 1.25 !important;
}

.kesearch_searchbox > div.kesearchbox {margin-top: 0!important}

.kesearch_btn {
  display: flex;
}

#form_kesearch_searchfield input#ke_search_searchfield_submit {
  margin-left: 5px;
}

div.kesearch_btn span.submitbutt input {
  border-radius: 0!important;
  -webkit-appearance: none;
}

input#ke_search_sword {
  width: 250px;
}
div.tx-kesearch-pi1 form {
  margin:0;  
}
#form_kesearch_pi1 input {
  line-height: 1.5;
}

div.tx-kesearch-pi1 #kesearch_results .teaser_icon img {
  border: 1px solid #eee;
  margin-right: 20px;
  max-width: 150px;
  height: auto;
}

.tx-kesearch-pi1 #kesearch_num_results {
  margin: 20px 0;
}

.tx-kesearch-pi1 #sortSpace {
  max-width: 660px;
  margin: 20px 0;
}
span.result-number {
  display: none;
}

div.tx-kesearch-pi1 #kesearch_ordering div.ordering {
    float: right;
    max-width: 600px;
}

div#kesearch_pagebrowser_top .pages_total, div#kesearch_pagebrowser_bottom .pages_total {
    padding: 8px 0;
    background: transparent;
    margin-bottom: 0;
}

/** keSearch Ende **/


/***fe manager*/
.femanager_new button,
.femanager_new h4 {
  display: none;  
}

.femanager_new fieldset {
  margin:0 20px;  
}

/*** formulare 2020 **/
form h2 {
 margin: 0 0 20px 0;  
}

form div.form-group {
  padding: 0 20px;
}

form#kontaktformular-128 div.row {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  margin-bottom: 20px;
  margin-top: 20px;
}

form#kontaktformular-128 div.row > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 49%;
}
form#kontaktformular-128 fieldset {
  border: none; 
  padding: 0;
  margin:0;
}

form#kontaktformular-128 input, 
form#kontaktformular-128 textarea {
 /* border: 1px solid #ccc;*/
  color: #333;
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 3px;
}
form#kontaktformular-128 textarea {
  min-height: 115px;
}

form#kontaktformular-128 div.input.checkbox,
form#kontaktformular-128 label {
   display: flex;
}
form#kontaktformular-128 label {
  padding-right: 5px;  
}

form#kontaktformular-128 div.actions {
  text-align: center;
  padding: 10px 0;
}

form#meldeformular-129 div.actions {
  text-align: center;
}
form button.btn {
  padding: 2px 20px;
  margin: 0  20px;
  width: 50%;
}

form#meldeformular-129 div.input {
  margin-bottom: 1rem;
}

form#meldeformular-129 div.input input,
form#meldeformular-129 div.input textarea {
  display: block;
 /* border: 1px solid #cccccc;*/
  color: #333333;
  width: 98%;
}

form#meldeformular-129 div.input textarea {
  height: 100px;  
}

/** formular Ende **/

.ce-bodytext ul li {
   padding-right: 20px;
}

.no-news-found p {
   hyphens: none;
}

h2.text-center,
p.text-center {
  text-align: center;
}

/** info zu Feindeslisten **/

div#rightcontent div#c112,
div#rightcontent div#c140 {
   border: 2px solid #b01110;
}
form.spende {
  padding-left: 20px;  
}
/* qr code */
div#c148 img {
  width: 120px;
  height: auto;
  padding-top: 20px;
}


/***DS erklärung **/
div#c104 h3,
div#c105 h3 {
  padding-left: 1em; 
}


/*** rss importer **/
div.tx-rssdisplay {
  margin: 20px;
  padding:10px 0 20px 0; 
  background-color: #fff;
}
div.tx-rssdisplay h2 {
  display: none;
}
div.tx-rssdisplay ul {
  padding: 0 20px;  
}
div.tx-rssdisplay ul li {
  list-style-type:none;
  border-bottom: 1px solid #ccc;
  margin-bottom: 20px;
  padding-bottom: 10px;
}
#maincontent div.tx-rssdisplay ul li p {
  padding-left:0;
  padding-right:0;  
}

div.tx-rssdisplay ul li span.tx-rssdisplay-item-title {
  font-size: 1rem;  
}

/**  **/

div#rightcontent #c98 h2 {
  padding-bottom: 15px; 
}

div#maincontent #c99 h1 {
  padding-bottom: 15px;
}

div#c98 div.tx-pits-rssnews  {
  padding: 5px 10px;
}

.rss_desc a {
  font-family: arial !important;
  color: #000000 !important;
  line-height: 1.4rem !important;
  font-size: 0.9rem !important;
}


.rss_date {
  color: #888888 !important;
  font-size: 0.8rem !important;
  font-style: normal !important;
  font-family: Arial,'sans serif'!important;
}

div#rightcontent div#c20 .teaser-text a.more {
  display: none;
}


div#maincontent div#c99 .rss_desc p {
  padding-left: 0;
  padding-right: 0;
  font-family: Arial,'sans serif';
}

/*** :: 2016 OBR :: ***/
.shariff {
  margin: 20px;
}

.shariff .orientation-horizontal li .share_count {
    display: none;
}


/*** Silbentrennung ***/

p {
   -moz-hyphens: auto;
   -o-hyphens: auto;
   -webkit-hyphens: auto;
   -ms-hyphens: auto;
   hyphens: auto;
   -webkit-hyphenate-limit-lines: 2;
   hyphenate-limit-lines: 2;
   -webkit-hyphenate-limit-chars: auto 3;
   hyphenate-limit-chars: auto 3;
}


/** img in newsliste rechts ***/
div#rightcontent .article .news-img-wrap {
  margin: 0px 10px 10px 0px;
}
div#rightcontent .article .news-img-wrap a  {
  margin: 10px 5px 10px 0;
}

/*** img single ansicht **/
div.news.news-single .article .news-img-wrap .outer a.lightbox {
  margin: 0 12px 5px 0
}

.news-img-caption {
  font-size: 0.9em; 
}


/*** flex newsslider ***/

.flex-caption {
    display: none;
}


#flexslider_65 {
    max-width:250px!important;
    height: 
}

.flexslider {
    background: #eee none repeat scroll 0 0;
    border: none;
    border-radius: 4px;
    margin: 0 auto;
    position: relative;
}
/*.flex-caption {
    background: rgba(0, 0, 0, 0.5) none repeat scroll 0 0;
    bottom: 0;
    left: 0;
    padding: 5px 10px;
    position: relative;
    right: 0;
    z-index: 1;
}
*/



/*** GLOSSAR ***/


p a.dpnglossary,
div.textItem p a.dpnglossary,
div.news-text-wrap p a.dpnglossary,
div.news-list-view a.dpnglossary {
  color:#000000;
  border-bottom: 1px dotted #000;
  padding:0;
}

p a.dpnglossary:focus,
p a.dpnglossary:hover,
p a.dpnglossary:active,
div.textItem p a.dpnglossary:focus,
div.textItem p a.dpnglossary:hover,
div.textItem p a.dpnglossary:active,
div.news-text-wrap p a.dpnglossary:focus,
div.news-text-wrap p a.dpnglossary:hover,
div.news-text-wrap p a.dpnglossary:active,
div.news-list-view a.dpnglossary:focus,
div.news-list-view a.dpnglossary:hover,
div.news-list-view a.dpnglossary:active {
  color: #b01110;
  text-decoration: none;
  border-bottom: 1px dotted #b01110;
}

.dpnglossary {
    background-image: none;
    letter-spacing: 0;
    outline: medium none;
    padding:0 0 1rem 0;
    text-decoration: none;
}
.dpnglossary.pagination {
  padding: 0 20px 40px 20px;
}

div.description div.text p {
  color: #000000;
  padding-left:0 !important;
}

div.dpnglossary.pagination ul li {
   display:inline;
  padding-right: 7px;
}

ul.news-tags li {
  display:inline;
  padding-right: 10px;
}

dl {
  padding: 0 20px;
}

dd {
  margin-left:0px;
}

.dpn_backbutton {
  padding-left: 20px;  
}


/*** Glossar Ende ***/



/***********************************************/
/*Onlineberatung*/

.page_24 .frame-type-felogin_login h2 {
  margin-bottom: 1.0rem;
}

.frame-type-felogin_login label {
    display: block;
}

#maincontent .tx-onlineberatung h1 {
  margin-bottom: 1.0rem;
}

.tx-onlineberatung form {
  padding: 0px 20px 0 20px;
}

.tx-onlineberatung form input,
.tx-onlineberatung form textarea {
  width: 100%;
}

.tx-onlineberatung form textarea {
  height: 200px;
}

table {
  width: 100%;
  padding: 0 20px 0 20px;
}

table th {
  text-align: left;
}

table.tx-onlineberatung-single {
  border-spacing: 0;
  width: 100%;
  padding: 0 20px 0 20px;
}

table.tx-onlineberatung-single td {
  padding: 3px;
}

.tx-onlineberatung table td.antwort {
  border-top: 2px solid #ffffff;
  padding-top: 10px;
}

/***********************************************/

* {
   box-sizing: border-box;
}

html {
  background: #fff url("../img/pat_gr.png") repeat scroll 0 0;
  height: 100%;
}

h1, h2 {
  font-size: 20px;
  margin-bottom: 1.2em;
}
h1, h2, h3, h4, h5 {
  color: #000066;
  font-family: Arial,Helvetica,sans-serif;
  font-weight: normal;
  margin: 0 0 0.25em;
}

.ce-bodytext h3 {
   padding-left: 20px;
}


/* main grid */
#background_outer {
 /*  padding: 15px;
 background: #ffccff;
  width: 100vw;
  height: 100vh;
  position: absolute;
  z-index: -1;
  position: fixed;*/
}

#anzeigebereich {
  width: 90vw;
  max-width: 1100px;
  margin: 20px auto;
  position: relative;
  background: #ffffff;
  box-shadow: 0 0 12px #333333;
  overflow: hidden;
}

#header_top {
  background: #ffffff;
  display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;      /* TWEENER - IE 10 */
  display: -webkit-flex;     /* NEW - Chrome */
  display: flex;
  justify-content: flex-end;
  padding: 10px;
}

#header {
  height: 170px;
  background-image: url("/fileadmin/templates/img/head_grafik_1280x170.jpg");
  position: relative;
  border-top: 5px solid #010066;
  border-bottom: 5px solid #010066;
}

#header_top div {
  margin-left: 10px;
}

#header_top fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

#inner_header {
  width: 82%;
  background: rgba(255,255,255,0.8);
  display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;      /* TWEENER - IE 10 */
  display: -webkit-flex;     /* NEW - Chrome */
  display: flex;
  -webkit-align-items: flex-end;
  -moz-align-items: flex-end;
  -ms-align-items: flex-end;
  align-items: flex-end;
  
  -webkit-justify-content: flex-end;
  justify-content: flex-end;
  
  position: absolute;
  right: 0px;
  bottom: 0px;
  padding: 10px;
}

#logo {
  overflow: hidden;
}

#logo img {
  width: 100%;
  height: auto;
}

#logoschrift {
  margin: 10px 10px 2px 20px;
  -webkit-flex-grow: 1;
  flex-grow: 1;
  height: 100%;
  width: 70%;
}

#logoschrift_oben {
  font-size: 1.8rem;
}

#logoschrift span {
  display: block;
  color: #010066;
}
span#logoschrift_unten {
  max-width:500px;
}

#mainnav {
  background: #eeeeee;
  box-shadow: 0 0 5px #333333;
}

#breadcrumb {
  padding: 20px;
  font-size: 0.9rem;
  color: #444;
}

div#breadcrumb a {  
  color: #444;
}

#mitte {
  display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;      /* TWEENER - IE 10 */
  display: -webkit-flex;     /* NEW - Chrome */
  display: flex;
  padding: 0px 20px 0px 20px;
  line-height: 1.4rem;
  font-size: 0.9rem;
}

#maincontent, 
.layout-1 #maincontent,
#rightcontent{
  min-width:290px!important;
}


#maincontent {
  background: #ffffff;
  width: 60%;
  margin-right: 2%;
  position: relative;
  flex-grow: 1;
}

#maincontent > div {
  background: #eeeeee;
  padding: 20px 0px 20px 0px;
  margin-bottom: 20px;
}

#maincontent h1,
#maincontent h2,
#maincontent p {
  padding-left: 20px;
  padding-right: 20px;
}

#maincontent p.csc-frame-frame1 {
  background: #ffffff;
  color: #000066;
  font-size: 20px;
  width: 90%;
}

.ce-textpic.ce-left figure.image {
  padding-left: 20px;
}
div.ce-media img {
 /* padding:20px 20px 5px 10px; */
}


div#maincontent div.ce-media a img {
  padding:20px 20px 5px 10px;
}


div#c53 div.ce-textpic.ce-left.ce-below div.ce-media a img {
   padding-left: 20px;
}


div#rightcontent .ce-media img {
   padding-left: 0px;
}

div#maincontent div.tx-felogin-pi1 form fieldset,
div#maincontent form#tx-srfeuserregister-pi1-fe_users_form fieldset,
div#rightcontent div.tx-felogin-pi1 form fieldset {
  background-color: #fff; 
  border:none;
  margin: 0 20px;
}


div#maincontent div.tx-felogin-pi1 {
   padding: 20px 0px 20px 0px;
}


.layout-1 #maincontent {
  width: 49%;
}

#rightcontent {
  width:  38%;
  padding: 0px;
}

#rightcontent h2 {
   padding-left: 20px;
}


.page_24 #rightcontent {
  display: none;
}

#rightcontent .ce-bodytext h1,
#rightcontent .ce-bodytext h2,
#rightcontent > div > h2,
#rightcontent .ce-bodytext p,
div#rightcontent div.frame-type-felogin_login p
{
  padding-left: 20px;
  padding-right: 20px;
}

#rightcontent .news-list-view {
 /* margin-left: 20px;
  margin-right: 20px;*/
  padding: 0px;
}

#rightcontent .news-list-view .article {
  background: #ffffff;
  margin-bottom: 10px;
  padding: 10px;
}

#rightcontent div.ce-textpic.ce-center.ce-above {
   background-color: #fff; 
   padding-top:10px;
}


#rightcontent .ce-column {
   margin-right: 20px;
}


.layout-1 #rightcontent {
  width: 49%;
}

.layout-1 #rightcontent .csc-default:first-child > div.csc-header {
  padding: 0;
}

.layout-1 #rightcontent div:first-child .csc-header h1 {
 /* border-left: 1.5rem solid #dcda09;
  border-bottom: 1px solid #dcda09;*/
  background-color:#dcda09;
  margin: 0px ;
  padding: 10px 15px 5px 25px;  
  font-size: 1.3rem;  
}

#rightcontent p {
  margin: 0px;
  padding-bottom: 0.5rem;
  padding-top: 0.5rem;
}

#rightcontent > div {
  padding: 20px 0px 20px 0px;
  margin-bottom: 20px;
  background: #eeeeee;
}

#footer {
  padding-top: 2%;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

div.footer p span.news-list-category a {
  color: #888;

}

#service {
  position: relative;
}

#logo_bmfi {
  background: #ffffff;
  font-size: 0.8rem;
}

#logo_bmfi span {
  display: block;
  padding-left: 8px;
  margin-top: 15px;
}

#copyright {
  bottom: 15px;
  left: 15px;
}



/***********************************************/
/* Kontaktformular */

#errorMessage {
  display: none;
  color: #b01110;
}

.Tx-Formhandler form {
  padding-top: 20px;
}

div.formtext {
  font-size: 0.70rem;
  text-align: center;
  color: #333333;
  margin: 0.5rem 0 0.5rem 0;
  line-height: 1.2rem;
}

div#content_elements > h2 {
  margin-bottom: 0px;
}

.Tx-Formhandler {
    padding-bottom: 2rem;
  padding-top: 1rem;
}

#formwrapper {
    align-items: stretch;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#formwrapper > div {
    -moz-box-direction: normal;
    -moz-box-orient: vertical;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 49%;
}

#formwrapper > div > div {
    margin-bottom: 0.2rem;
    padding: 0 5%;
}

#formwrapper label {
    display: block;
    line-height: 1.2rem;
  font-size: 0.9rem;
}

#formwrapper .formsubmit {
    width: 100%;
}

#formwrapper input, #formwrapper textarea {
    border: 1px solid #cccccc;
    color: #333333;
    display: block;
    margin: 0;
    padding: 0.5% 1.5%;
    width: 96%;
}

div.error input, 
div.error textarea,
input.error,
textarea.error {
    background-color: #ffecec;
}

small.error {
    display: block;
    line-height: 1rem;
}

#formwrapper textarea {
    height: 120px;
}

#formwrapper input.submit {
    background: #dddddd none repeat scroll 0 0;
    color: #000000;
    margin-top: 1rem;
    width: 99%;
}


.form2 {
  padding: 0 20px;
}

.form2 input,
.form2 textarea{
  display: block;
  border: 1px solid #cccccc;
  color: #333333;
  width: 98%;
}

.form2 textarea { 
  height: 100px;
}

.form2 > div {
  margin-bottom: 1rem;
}


.Tx-Formhandler div.submit {
  margin: auto;
  text-align: center;
}

.Tx-Formhandler div.submit input {
  background: #dddddd none repeat scroll 0 0;
  color: #000000;
  margin-top: 1rem;
  width: 50%;
  border: 1px solid #cccccc;
  padding: 2px;
  cursor: pointer;
}

.Tx-Formhandler div.privacy,
.Tx-Formhandler div.submit {
  margin-top: 2%;
  margin-bottom: 0.2rem;
  padding: 0 3.25%;
}

/***********************************************/
/* Navigationen */
#mainnav ul.sf-menu {
  list-style: none;
  display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;      /* TWEENER - IE 10 */
  display: -webkit-flex;     /* NEW - Chrome */
  display: flex;
  /*-webkit-justify-content: space-between; /* Safari 6.1+ */
  /*justify-content: space-between;*/
  align-items: stretch;
  padding: 0;
}

#mainnav ul.sf-menu li {
  flex-grow: 1;
  border-right: 2px solid #ffffff;
}

#mainnav ul.sf-menu li:last-child {
  border-right: 0px;
}

#mainnav a:focus {
  color: #B01110;
}

#mainnav a,
#mainnav span {
  display: block;
  /*padding: 10px 5px 10px 5px;*/
  text-decoration: none;
  color: #010066;
  font-size: 1.0rem;
}

#mainnav li.alevel {
  /*flex-grow: 1;*/
  text-align: center;
  display: block;
  padding: 10px 10px 10px 10px;
}

#mainnav li.alevel:last-child {
  margin-right: 0px;
}

#mainnav li.active,
#mainnav li:focus,
#mainnav li:hover,
#mainnav li:active { 
  background: #010066;
}

#mainnav li.active a,
#mainnav li:focus a,
#mainnav li:hover a,
#mainnav li:active a {
  color: #ffffff;
}


#service {
  position: relative;
  font-size: 0.9rem;
}

#footernav ul a,
#service ul a {
  color: #000000;
  text-decoration: none;
  display: block;
  padding: 0 0.5rem 0 0.5rem ;
}
div a.fa.fa-print.fa-2x {
  color: #666;
  text-decoration: none;
}

#service a:hover,
#service a:active,
#service a:focus {
  color: #B01110;
}

#footernav {
  display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;      /* TWEENER - IE 10 */
  display: -webkit-flex;     /* NEW - Chrome */
  display: flex;
  -webkit-box-pack: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  align-items: flex-end;
}

#footernav ul,
#service ul {
  list-style: none;
  display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;      /* TWEENER - IE 10 */
  display: -webkit-flex;     /* NEW - Chrome */
  display: flex;
  justify-content: flex-end;
  padding: 0;
  margin: 0;
}

#footernav ul:last-child {
  display: none;
}

#footernav ul li,
#service ul li {
  display: inline;
  margin-top: 4px;
  padding: 0px;
  border-right: 1px solid #000000;
}

#footernav ul li:last-child,
#service ul li:last-child {
  border-right: 0px;
}






/*** content start **/

/** text neben Karte **/ 

#c18 .ce-bodytext,
#c46 .ce-bodytext,
#c47 .ce-bodytext,
#c48 .ce-bodytext,
#c49 .ce-bodytext,
#c50 .ce-bodytext {
    min-width: 50%;
}


/*** Telefonnummer kein Umbruch auf Start- u. Sprachseiten  ***/
#c18 p.csc-frame-frame1,
#c46 p.csc-frame-frame1,
#c47 p.csc-frame-frame1,
#c48 p.csc-frame-frame1,
#c49 p.csc-frame-frame1,
#c50 p.csc-frame-frame1 {
    white-space: nowrap;
}



a, a:active  {
  color: #b01110;
  text-decoration: none;  
}

.align-center {
  text-align: center;
}

.align-right {
  text-align: right;
}

a:focus, a:hover {
  text-decoration: underline; 
}



div.tx-indexedsearch-searchbox {
  margin-top: 20px;
}

.tx-indexedsearch .tx-indexedsearch-searchbox INPUT.tx-indexedsearch-searchbox-sword {
  width: 200px;
}

#inputButton {
  height: 15px;
  width: auto;
  margin-left: 5px;
  }

 

/*** content ende**/


/***tx-news start **/


.news .article {
    background-color: #fff;
    margin: 20px;
    padding: 20px 0 0;
}

.news .article h3 {
    margin: 0 1.125em;
}

div.news-list-view div.teaser-text span h3 {

    padding-top: 1em;
}

div.backlink,
div.news-backlink-wrap,
div.facebook {
    padding: 0.5em 0 0 1.35em;
}

.facebook {
    margin-bottom: 1em;

}


.news .article .teaser-text {
    margin: 0 0 10px 20px;
}

/*div#c19 div.teaser-text a.more,
div#c30 div.teaser-text a.more{
    margin: 0 0 0 1.35em;
}
*/



.news .article .news-img-wrap {
    background: #fff none repeat scroll 0 0;
    float: left;
    margin: 0px 10px 10px 20px;
}

div#maincontent div.teaser-text p {
   padding-left: 0px!important;   
}


div#rightcontent .news .article .teaser-text {
    margin: 0 0 10px 0;
}

div#rightcontent .news .article h3,
div#rightcontent div.teaser-text a.more {
    margin: 0;
}

.news .footer {
  /*  border-top: 1px solid #eee;
    clear: both;
    color: #888;
    margin-top: 15px; */
    padding: 0px 0 0;
}

.news .footer p {
    line-height: 1.25em;
}


.news-related-wrap {
  display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;      /* TWEENER - IE 10 */
  display: -webkit-flex;     /* NEW - Chrome */
  display: flex;
  flex-wrap: wrap;
  margin-top: 0;
  width: 100%;
}


.news-related {
  border: 1px solid #eee;
  display: block;
  padding: 15px;
  min-width: 200px;
  width: 30%;
  flex-grow: 1;
}

.news-related-files ul li {
    margin-bottom: 1em;
    line-height: 1.25em;
}

.news-single .article .news-img-wrap {
    float: right;
    margin: 0 0 0 25px;
    width: 180px !important;
}


.news .article .news-img-wrap img {
    border: 1px solid #ddd;
    float: left;
    height: auto;
    max-height:200px; /** crop funktioniert nicht (s.ts) **/
   /* width: 150px;
    width: auto;*/
}


.news .article .news-img-wrap a {
    background: #fff none repeat scroll 0 0;
    border: none;
    display: block;
    float: left;
    padding: 4px 0;
    margin:15px 12px 10px 0;
}

#maincontent div.outer div.mediaelement.mediaelement-image a img {
    max-width:100%;    
    width:inherit;
}

/*div.outer div.mediaelement.mediaelement-image img,
div.outer div.mediaelement.mediaelement-image a img {
    max-width:250px!important;
}
*/

.news .page-navigation ul {
    float: right;
    padding-right: 1.25em;
}

.news .page-navigation ul li {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    display: block;
    float: left;
    padding: 0 2px;
}

ul.f3-widget-paginator li a {
    padding: 0 5px;
    border: 1px solid #ddd;
    color: #666;
}


.news .page-navigation ul li a:hover {
    background: rgba(51, 51, 51, 0.4) none repeat scroll 0 0;
    color: #fff!important;
    text-decoration: none;
}

/***tx-news ende **/



/**
 **** MOBILE MENU
 *
 * responsive elements adapted from
 * http://t3-developer.com tutorial
 * thanks to Klaus Heuer  
 **/        
        
/**** MOBILE ANPASSUNGEN ********/

#mobilMenu {
  height: 38px;
  background-color: #ffffff;
  overflow: hidden;
  outline: 0px !important;
}

#mobilMenu > a.showmobile:focus {
  outline: 0px !important;
}

#toggle {
  display: block;
  width: 28px;
  height: 30px;
  margin: 15px auto 10px;
}

#toggle span:after,
#toggle span:before {
  content: "";
  position: absolute;
  left: 0;
  top: -9px;
}
#toggle span:after{
  top: 9px;
}
#toggle span {
  position: relative;
  display: block;
}

#toggle span,
#toggle span:after,
#toggle span:before {
  width: 100%;
  height: 5px;
  background-color: #888;
  transition: all 0.3s;
  backface-visibility: hidden;
  border-radius: 2px;
}

/* on activation */
#toggle.on span {
  background-color: transparent;
}
#toggle.on span:before {
  transform: rotate(45deg) translate(5px, 5px);
}
#toggle.on span:after {
  transform: rotate(-45deg) translate(7px, -8px);
}
#toggle.on + #menu {
  opacity: 1;
  visibility: visible;
}

.mobil-menuLink, a.mobil-homeLink {
  padding: 0;
  display: block;
  font-size: 11px;
  color: #fff;
  text-decoration: none;
  line-height: 28px;
  text-transform: uppercase;
}

a.mobil-homeLink {
  float: left;
  margin: 3px 0 0 5vw;
}

.mobil-menuLink {
  float: right;
  margin: 3px 0 0 0;
  width: 72px;
}

#mobilMenuListe {
  background-color: #666;
  color: #dcda09;
}

#mobilMenuListe.none-desk ul {
  margin: 0px;
  padding: 0px;
  list-style: none;
}

#mobilMenuListe ul li {
  padding: 8px 10px;
  border-bottom: 1px solid #fff; 
  margin: 0px 5vw 0px 5vw;  
}

#mobilMenuListe ul li.mobile_sub1 {
  border-top: 1px solid #fff;
  border-bottom: 0px;
  margin: 0px 10px 0px 20px;
  padding: 8px 10px;
}

#mobilMenuListe ul li.mobile_sub1:first-child {
  margin-top: 10px;
}

#mobilMenuListe ul li a {
  color: #fff;
  text-decoration: none;
  display: block;
}

#mobilMenuListe ul li a:hover {
  border-bottom:none;
  color: #fff!important;
}

.hide-desktop {
  display: none ;
}
  
.metamenu-logos  {
  display: none;
}
  
body .hidden {
  display: none;
}


/*******************************/
/*******************************/
/*******************************/

/***********************************************/

body {
  padding: 0px;
  margin: 0px;
  font-family: Arial,'sans serif';
}

a img {
  border: 0px;
}


a:hover,
a:active,
a:focus {
  color: #b01110;
}



/************/
/**** media queries ********/
/************/

@media screen and (min-width: 801px) and (max-width: 980px) {
#mainnav a,
#mainnav span {
  font-size: 0.80rem;
}
} /* end @media */

/************************************************/

@media screen and (min-width: 641px) and (max-width: 800px) {

#anzeigebereich {
  width: 94vw;
}

#logoschrift span#logoschrift_oben {
  /*display: none;*/
}

#mainnav a,
#mainnav span {
  font-size: 0.80rem;
}

#footer {
  font-size: 0.7rem;
}

#mitte {
  /*
  flex-wrap: wrap;
  -webkit-box-direction: normal;
    -moz-box-direction: normal;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
  flex-direction: column;
  */
  display: block !important;
}

#maincontent {
  margin-right: 0px;
  width: 100%;
}

#rightcontent {
  margin-top: 15px;
  width: 100%;
}

#rightcontent > div {
  margin-bottom: 15px;
}


} /* end @media */
/************************************************/

@media screen and (min-width: 480px) and (max-width: 640px) {

#anzeigebereich {
  width: 96vw;
  max-width: 1100px;
  margin: auto;
}

#logoschrift span#logoschrift_oben {
  display: none;
}

#logoschrift span#logoschrift_unten {
  font-size: 0.7rem;
}

#mainnav {
  display: none;
}

#mitte {
  /*
  flex-wrap: wrap;
  -webkit-box-direction: normal;
    -moz-box-direction: normal;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
  flex-direction: column;
  */
  display: block !important;
}

#maincontent {
  margin-right: 0px;
  width: 100%;
}

#rightcontent {
  margin-top: 15px;
  width: 100%;
}

#rightcontent > div {
  margin-bottom: 15px;
}

#footer {
  flex-wrap: wrap;
  justify-content: flex-end;
}

#service {
  display: none;
}

.none-mobile {
  display: none;
}

.none-desk {
  display: block;
}

div.icons.none-desk {
  margin:0 0 30px 0;
}

div#footernav ul:first-of-type {
  display: none;
}

div#footernav ul:last-of-type {
  display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;      /* TWEENER - IE 10 */
  display: -webkit-flex;     /* NEW - Chrome */
  display: flex;
}

} /* end @media */ 
/************************************************/

@media screen and (min-width: 1px) and (max-width: 479px) {


.news .article .news-img-wrap,
.news .article .news-img-wrap a,
.news .article .news-img-wrap img {
  float: none!important;
}


#anzeigebereich {
  width: 100vw;
  max-width: 1100px;
  margin: auto;
  box-shadow: none;
}

#logoschrift span#logoschrift_oben {
  display: none;
}

#logoschrift span#logoschrift_unten {
  display: none;
}

#mainnav {
  display: none;
}

#mitte {
  /*
  flex-wrap: wrap;
  -webkit-box-direction: normal;
    -moz-box-direction: normal;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
  flex-direction: column;
  */
  display: block !important;
}

#maincontent {
  margin-right: 0px;
  width: 100%;
}

#rightcontent {
  margin-top: 15px;
  width: 100%;
}

#rightcontent > div {
  margin-bottom: 15px;
}

#footer {
  flex-wrap: wrap;
  justify-content: flex-end;
}

#service {
  display: none;
}

.none-mobile {
  display: none;
}

.none-desk {
  display: block;
}

div.icons.none-desk {
  margin:0 0 30px 0;
}

div#footernav ul:first-of-type {
  display: none;
}

div#footernav ul:last-of-type {
  display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;      /* TWEENER - IE 10 */
  display: -webkit-flex;     /* NEW - Chrome */
  display: flex;
}

div#footernav {
  flex-wrap: wrap;
}

} /* end @media */ 
