@media screen and (max-width: 768px) {

.mobileonly {
    display: block;
}

.nomobile {
    display: none;
}

table.haupt {
    width: 100%;
    border: 0;
    margin: 0;
}

#haupt_banner { height: auto !important; /* position: fixed; */}
#haupt_banner td { height: auto !important; }

#titel_b {
    display: none;
}

#titel_c {
    width: 100%;
    background-size: contain;
}

#titel_c_img {
    width: calc(100% - 40px);
    max-width: 500px;
    margin-left: 40px;
}

#titel_d {
    display: none;
}

#haupt_links {
    
    position: fixed;
    background: red !important;
    top: 0px;
    z-index: 99;
    height: 100%;
    padding-top: 40px;
    padding-bottom: 100px;
    overflow: scroll;
    margin-bottom: 100px;

    width: 205px;
    left: -205px;
    transition: 0.2s ease-out allow-discrete;
    transition-property: left;
} 

#haupt_links.menu_open {
    left: 0px;
    transition: 0.2s ease-out allow-discrete;
    transition-property: left;
}

.menu_edit {
    font-size: 1.3em;
}

ul#mainmenu li {
    font-size: 13pt;
}

ul#mainmenu ul li {
    font-size: 12pt;
}

ul#mainmenu ul ul li {
    font-size: 11pt;
}


.menue_breite {
    background-color: red;
    width: 200px !important;
    margin-bottom: 300px !important;
    opacity: 0.94;
    z-index: 1000;
}

.menulink {
    display: inline-block;
    width: 100%;
}

#haupt_logo {
    display: none;
    background: transparent !important;
}

#burger {
    display: block !important;
    position: fixed;
    top: 3px;
    left: 2px;
    border: 1px solid rgb(194, 46, 46);
    width: 27px;
    height: 27px;
    background-color: #222;
    opacity: 0.8;
    z-index: 100;
    cursor: pointer;
}

#burger div {
    left: 4px;
}
#burger div, #burger div::before, #burger div::after {
    top: 4px;
    position: absolute;
    width: 19px;
    height: 3px;
    background-color: red;
    content: "";
    transition: all 0.3s ease-out allow-discrete;
}

#burger div::before {
    top: 8px;
}

#burger div::after {
    top: 16px;
}

#burger.menu_open div {
    transform: rotate(225deg);
    top:12px;
    transition: all 0.3s ease-out allow-discrete;
}

#burger.menu_open div::before {
    transform: rotate(90deg);
    left: 0px;
    top: 0px;
}

#burger.menu_open div::after {
    transform: rotate(90deg);
    left: 0px;
    top: 0px;
}

#navi_top {
    background: #ddd !important;
    display: block;
    border-bottom: 1px solid red;
}

#navi_top_links {
    width: auto;
}

#navi_top_tree {
    overflow: scroll;
    position: absolute;
    height: 16px;
    max-width: 290px;
    margin-left: -4px;
}


#fuss {
    width: 100%;
}

.fusszeile {
    text-align: right;
    float: none;
}

#hauptteil_text {
    padding: 3px 2px;
    word-break: break-word;
    overflow: scroll; /* scrolling bei überbreite nur im inhaltsfenster - geht nur bei iphone */
}

#hauptteil_text h4 {
    margin-left: -2px;
    margin-right: -2px;
}

#hauptteil_text h5 {
    margin-left: -2px;
    margin-right: 5px;
}

#hauptteil_text img {
    max-width: 100%;
}

#hauptteil_text { word-break: break-word; }
#hauptteil_text th, .terminliste td, .einsatzdatenbank, .awtab, .vertical { word-break: normal; }



.einsatz_navi {
width: 100%;
}
.einsatz_navi ul {
float: right;
width: 100%;
}

table.einsatz tr.etab_tr {
    vertical-align: top;
}

table.einsatz td.etab_text {
position: relative; 
}
table.einsatz td.etab_text .etab_text_titel { 
    display:inline-block; width: unset; 
}
table.einsatz td.etab_text .etab_text_wo { 
    display: none; 
}
table.einsatz td.etab_text .etab_text_ort { 
  display: block;
  left: 1px;
  top: 1.5em;
  font-size: 0.85em;
}

table.einsatz td, table.einsatz th {
white-space:normal;
}
table.einsatz td.etab_wo {
  display: none;
}

table.einsatz td.etab_tit {
  width: unset;
}

table.einsatz td.etab_zeit {
  width: unset;
}

#einsatzbericht .ebr_name, #einsatzbericht .ebr_daten {
    width: auto;
}

#einsatzbericht .ebr_name {
    white-space: nowrap;
}

.einsatzdetails {
position: relative;
}
.einsatzdetails .thumb {
margin-top: 20px;
}
.einsatzdetails .zeit {
position: absolute;
right: 0px;
right: -5px;
top: 4px;
font-size: 9pt;
color: #777;
}

.bericht .text {
    padding: 0 2px 4px;
}
.bericht .galerie {
    margin: 2px;
}
.bildrahmen {
    width:100%;
}

.bildrahmen img.bild {
    width: 100%;
}

.thumb {
    width: 112px !important;
    aspect-ratio: initial;
}


h4 {
    background: red;
    border: 0;
    box-shadow: none;
    color: #fff;
    padding: 4px 6px;
}


h5 {
    background: red;
    border: 0;
    box-shadow: none;
    color: #fff;
    padding: 1px 6px;
}

h4 a, h5 a {
    color: #fff;
    text-decoration: underline;
}

table.kalender a.geburtstag {
    display: inline;
}

@keyframes banner {
  0%    { background-position-x: calc(0px   + 600px); }
  100%  { background-position-x: calc(964px + 600px); }
}

#banner {
    border-top: 3px solid red;;
    border-bottom: 3px solid red;
    margin: 20px -2px 15px -2px;
    animation: banner 120s infinite linear;
}

#news .news_element .news_ueberschrift {
    float: none;
}
#kurznachrichten {
    font-size: 1.3em;
    margin: -30px 0 0 0;
}
#kurznachrichten .news_element {
    margin: 8px 3px;
}

#kurznachrichten .news_element .news_ueberschrift {
    width: 310px;
    font-size: 1.3em;
    padding-bottom: 9px;
    line-height: 1.3em;
}

#kurznachrichten .news_element .news_ueberschrift a {
    
}

#kurznachrichten .news_element .news_text {
    margin: 0 0 5px 0;
}

#kurznachrichten .news_element .news_bild {
    height: 70px;
}

#startseite #updates {
    display: block;
    position: relative;
    top: -160px;
}

#startseite h4 {
    font-size: 14pt;
    background: red !important;
}

#startseite h4, #startseite h4 a {
    color: #fff;
}

#startseite .rechts, #startseite .links {
    width: 100% !important;
    padding: 0 !important;
    border: 0 !important;
}
#startseite #einsaetze div {
    z-index: 10;
    position: relative;
}
#startseite #einsaetze, #startseite #einsaetze .text, #startseite #einsaetze #eff {
    width: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    margin-top: 20px;
}

#eff>div {
    margin-left: 3px;
}

#startseite #einsaetze #eff img.efzg {
    max-width: 150px;
    height: auto;
}

#startseite #termine .termin_listenelement {
    font-size: 1.1em;
    line-height: 1.3em;
}

#rosstalaktuell div {
    font-size: 1.4em;
    line-height: 1.3em;
}
.flashvideo, .flashvideo video {
    
}

iframe.youtube {
    width: 340px;
    height: 220px;
}

.profil_page {
    width: 95%;
}
.profil img.foto {
float: none;
}

.videoliste li .videoliste_titel {
width: 200px;
}
.videoliste li .videoliste_views {
width: 4em;
}
.videoliste li .videoliste_dauer {
width: 3.5em;
}
.videoliste li .videoliste_uploaded {
width: 5em;
}

.webcam_box {
  /* width: 95% !important;
  height: 280px !important;
  min-width: 200px !important; */
}

table.form.responsive {
    margin: 0;
}

table.form.responsive th {
    width: auto !important;
    display:block;
    margin: 0;
}

table.form.responsive td {
    width: auto !important;
    display:block;
}

table.form.responsive td select {
    max-width: 90%;
}

table.kalender table.termin {
  width: auto;
}

}