@media only screen and (min-width: 480px) {

    .wrapper {
        max-width: 30em;
    }

    /* Grid
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
    .grid_4 .grid_1 {
        float: left;
        margin-left: 0.5%;
        margin-right: 0.5%;
        width: 99%;
    }

    .grid_4 .grid_2 {
        float: left;
        margin-left: 0.5%;
        margin-right: 0.5%;
        width: 99%;
    }

    .grid_4 .grid_3 {
        float: left;
        margin-left: 0.5%;
        margin-right: 0.5%;
        width: 99%;
    }

    .grid_3 .grid_1 {
        float: none;
        margin-left: 0.5%;
        margin-right: 0.5%;
        width: 99%;
    }

    .grid_3 ul.veranstaltungskalender li article .grid_1 {
        float: left;
        margin-right: 0.6625%;
        width: 32.45%;
    }

    .grid_3 .grid_2 {
        float: left;
        margin-left: 0.6625%;
        margin-right: 0.6625%;
        width: 66.2125%;
    }

    .video-wrapper.grid_2 {
        float: left;
        margin-left: 0;
        margin-right: 0;
        width:  100%;
    }

    .grid_3 .slot_m .grid_2 {
        float: none;
        margin-left: 0;
        margin-right: 0;
        width: auto;
    }

    .grid_3.veranstaltung .grid_2 {
        float: none;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    .grid_3 .grid_3 {
        float: left;
        margin-left: 0.25%;
        margin-right: 0.25%;
        width: 99.5%;
    }

    .grid_3 .grid_3 .grid_3 {
        float: none;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    .grid_2 .grid_1 {
        float: left;
        margin-left: 0.5%;
        margin-right: 0.5%;
        width: 49%;
    }

    .grid_1.firstchild,
    .grid_2.firstchild,
    .grid_3.firstchild {
        margin-left: 0;
    }

    .grid_1.lastchild,
    .grid_2.lastchild,
    .grid_3.lastchild {
        margin-right: 0;
    }

    .grid_4 .grid_1.firstchild {
        margin-left: 0;
    }

    .grid_4 .grid_1.lastchild {
        margin-right: 0;
    }

    .grid_4 .grid_2.firstchild {
        margin-left: 0.5%;
    }

    .grid_4 .grid_2.lastchild {
        margin-right: 0.5%;
    }

    .grid_4 .grid_3.firstchild {
        margin-left: 0.5%;
    }

    .grid_4 .grid_3.lastchild {
        margin-right: 0.5%;
    }

    .kopfbereich article.teaser.nurtext,
    .kopfbereich article.teaser.textbildoben,
    .kopfbereich article.teaser.linkliste {
        min-height: 156px;
    }

    article.teaser.textbildoben figure {
        float: left;
        width: 49%;
    }

    article.teaser.textbildoben .inhalt {
        float: left;
        width: 49%;
    }

    .grid_2 article.teaser.textbildoben.grid_1 figure {
        float: none;
        width: auto;
    }

    .grid_2 article.teaser.textbildoben.grid_1 .inhalt {
        float: none;
        width: auto;
    }

    .grid_3 .grid_1.bildlinks.firstchild {
        margin-right: 1%;
    }

    .grid_3 .grid_1.bildrechts.lastchild {
        margin-left: 1%;
    }

    /* Slots
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
    .slot_m article.teaser.textbildoben {
        min-height: 150px;
    }

    .slot_m article.teaser.textbildlinks.grid_2,
    .slot_m article.teaser.nurtext.grid_2,
    .slot_m article.teaser.linkbox.grid_2 {
        clear: both;
        float: none;
        width: 99%;
    }

    .slot_m article.teaser.textbildlinks.grid_2.firstchild,
    .slot_m article.teaser.textbildlinks.grid_2.lastchild,
    .slot_m article.teaser.nurtext.grid_2.firstchild,
    .slot_m article.teaser.nurtext.grid_2.lastchild {
        margin-left: 0.5%;
        margin-right: 0.5%;
    }

    .slot_m .multithemen article.teaser.textbildoben.lastchild {
        margin-bottom: 0;
    }

    .slot_xl article.teaser.textbildoben {
        min-height: 150px;
    }

    .slot_xl article.teaser.nurtext.grid_2 {
        clear: both;
        float: none;
        width: 99%;
    }

    .slot_xl article.teaser.nurtext.grid_2.firstchild,
    .slot_xl article.teaser.nurtext.grid_2.lastchild {
        margin-left: 0.5%;
        margin-right: 0.5%;
    }

    header #headeroben h1 a {
        margin-top: 4px;
        min-height: 48px;
        width: 292px;
    }

    header #headeroben h1 a img {
        height: 48px;
        width: 292px;
    }

    footer {
        padding-top: 45px;
    }

    footer .grid_2 {
        clear: both;
        display: block;
        float: none;
        margin: 0 0.5% 20px 0.5%;
        width: 99%;
    }

    .grid_2 .grid_1.firstchild {
        margin-right: 1%;
    }

    .grid_2 .grid_1.lastchild {
        margin-left: 1%;
    }

    #mainList > li {
        font-size: 90%
    }

    .kopfbereich > .grid_3 {
        float: none;
        margin-left: 0.5%;
        margin-right: 0.5%;
        width: 99%;
    }

    .kopfbereich > .grid_1 {
        float: none;
        margin-left: 0.5%;
        margin-right: 0.5%;
        width: 99%;
    }

    .teaser {
        margin-bottom: 12px;
    }

    .teaser.textbildliste figure {
        float: left;
        margin: 0 1% 24px 0;
        width: 64%;
    }

    .teaser.textbildliste .inhalt .inhalt {
        float: left;
        margin: 0 0 0 1%;
        padding: 0;
        width: 34%;
    }

    .topteaser .grid_2 {
        margin: 0;
        width: 100%;
    }

    .topteaser .grid_1 {
        margin: 0;
        width: 100%;
    }

    .teaser.grid_2 .grid_1 {
        width: 49%;
    }

    .teaser.grid_2 figure.grid_1 {
        width: 49%;
    }

    .teaser.grid_2 figure {
        width: 49%;
    }

    .teaser.grid_1 figure {
        width: 49%;
    }

    .topteaser.rahmen .inhalt {
        clear: both;
        padding: 10px;
    }

    .teaser.listbox.grid_4 ul,
    .grid_4 .teaser.listbox ul {
        column-count: 2;
        -moz-column-count: 2;
        -webkit-column-count: 2;
        width: 104.5%;
    }

    .teaser.listbox.grid_3 ul,
    .grid_3 .teaser.listbox ul {
        column-count: 2;
        -moz-column-count: 2;
        -webkit-column-count: 2;
        width: 104.5%;
    }

    .teaser.listbox.grid_2 ul,
    .grid_2 .teaser.listbox ul {
        column-count: 2;
        -moz-column-count: 2;
        -webkit-column-count: 2;
        width: 104.5%;
    }

    .teaser.listbox.grid_1 ul,
    .grid_1 .teaser.listbox ul {
        column-count: 2;
        -moz-column-count: 2;
        -webkit-column-count: 2;
        width: 104.5%;
    }

    /* Tabbox
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
    .tabbox .tabpanel .dottedlinklist {
        column-count: 2;
        -moz-column-count: 2;
        -webkit-column-count: 2;
    }

    .tabbox .tabboxcontrols {
        border-bottom: none;
    }

    .tabbox .tabboxcontrols li {
        float: left;
        /*  margin: 0 0 0 4px; */
        margin: 0 4px 0 0;
        padding: 0;
    }

    .tabbox .tabboxcontrols li:first-child {
        /* margin: 0; */
    }

    .tabbox .tabboxcontrols li a {
        font-size: 0.75em;
    }

    .tabbox .tabboxcontrols li a:hover,
    .tabbox .tabboxcontrols li a:focus,
    .tabbox .tabboxcontrols li a:active,
    .tabbox .tabboxcontrols li.ui-state-active a {
        background-color: #ffffff;
        background-image: none;
        color: #000000;
        margin-bottom: 0px;
        padding-bottom: 9px;
    }

    .greywrap .tabbox .tabboxcontrols li a:hover,
    .greywrap .tabbox .tabboxcontrols li a:focus,
    .greywrap .tabbox .tabboxcontrols li a:active,
    .greywrap .tabbox .tabboxcontrols li.ui-state-active a {
        background-color: #ffffff;
        background-image: none;
        border-bottom: 1px solid #ffffff;
        border-left: 1px solid #ffffff;
        border-right: 1px solid #ffffff;
        border-top: 1px solid #ffffff;
    }

    .tabbox.grid_4 .tabpanel ul {
        column-count: 2;
        -moz-column-count: 2;
        -webkit-column-count: 2;
    }

    .linkprint {
        display: block;
    }

    /*  Multicontent
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
    .multicontent figure.grid_1.firstchild {
        margin: 0 2% 1% 0;
    }

    /*  Service Block
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
    .service-abisz ul.abiszlist li {
        min-width: 14.5%;
    }

    .service-abisz ul.abiszlist li:first-child {
        width: 28.8%;
    }

    /*  Veranstaltungskalender
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
    form.veranstaltungskalender .formgrid_1 {
        float: left;
    }

    form.veranstaltungskalender .formgrid_1.firstchild {
        width: 28%;
    }

    form.veranstaltungskalender .formgrid_1.middlechild {
        width: 25%;
    }

    form.veranstaltungskalender .formgrid_1.lastchild {
        width: 38%;
    }

    form.veranstaltungskalender .formgrid_1.marginright {
        margin-right: 1%;
    }

    /*  Pagination
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
    .pagination .innerer_block1 {
        display: table-cell;
        float: left;
        font-size: 0.8em;
        margin: 0;
        padding: 34px 0 10px 0;
        width: 32%;
    }

    .pagination .innerer_block2 {
        display: table-cell;
        float: left;
        padding: 23px 0 10px 0;
        width: 66%;
    }

    .pagination .innerer_block2 ol {
        float: right;
        margin: 0;
        padding: 0;
    }

    /* Adressen
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
    .adressen.grid_3 .grid_1 {
        width: 99%;
    }

    .adressen.grid_3 .grid_2 {
        width: 99%;
    }

    /*  Volltextsuche Detail
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
    #volltextsuche_detail .form50 {
        float: left;
        margin: 0;
        width: 50%;
    }

    /* Bildergalerie */
    .bildergalerie .flex-direction-nav {
        bottom: 60%;
    }

    .bildergalerie figure {
        /*min-height: 357px;*/
    }

    .bildergalerie figure figcaption {
        font-size: 0.75em;
        padding: 6px;
    }

    /*Kondolenzbuch*/
    .filterbox input.breiter {
        margin: 0 0 0 0;
        padding: 7px 0 7px 4px;
        width: 98.4%;
    }
   .dezernate figcaption br {
    display:none;
   }
   .dezernate figcaption p {
    margin 0 0 16px 0;
   } 

   

}

/* breakpoint 480px */

/** STEFAN **/

@media only screen and (min-width: 480px) and (max-width: 767px) {
	article.teaser.textbildlinks figure.grid_1.firstchild, article.teaser.textbildlinks div.inhalt.grid_1.lastchild { width: 100%;}
    #kulturorte .selectbox,
    #kulturorte .suchfeld {
        vertical-align: bottom;
    }

    .verkehrskalender_form ul li {
        display: block;
        margin-bottom: 10px;
    }
    .video-container iframe,
   .video-container object,
   .video-container embed {
        width: 480px;
        height: 270px;
       position: relative;
      
   }
}
