@media screen and (max-width: @max-mobile-with) {

  body {
    margin: 5px 10px;
    background: url('../img/background_mobile.png') no-repeat top center;
    background-attachment: fixed;
    font: 12pt "Philosopher", Georgia, serif;
  }


  #display .grid_10 {
    margin: 0;
    position: relative;
    z-index: 1
  }

  #display .next, #display .previous {
    display: block;
    position: absolute;
    top: 0px;
    width: 45px;
    height: 100%;
    margin: 0px;
    padding: 0;
    text-indent: 9999px;
    overflow: hidden;
    opacity: .5;
  }

  #display .next:hover, #display .previous:hover {
    opacity: .9;
    transition: all 0.2s ease-out;
  }

  #display .next {
    background: transparent url(../img/right-arrow.png) no-repeat center center;
    right: 0px;
    z-index: 3;
  }

  #display .previous {
    background: transparent url(../img/left-arrow.png) no-repeat center center;
    left: 0px;
    z-index: 2
  }

  #footer {
    border-top: 1px solid black;
    text-align: center;
  }

  img.posting_image, img.partner {
    float: left;
    width: 99px;
    height: 59px;
    padding: 2px;
    margin: 1em 0.5em 0 0;
    border: 1px solid #babdb6;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  #topnav a {
    display: inline-block;
    color: #000;
    font: 400 small-caps 24pt 'Amerika Sans', sans-serif;
    min-width: 80px;
    text-align: center;
    text-decoration: none;
    text-shadow: 2px 2px 2px #2e3436;
    padding: 5px;
  }

  #topnav a.active {
    color: #bc0a19;
  }

  #topnav a:hover {
    color: #FFF;
  }

  #sitelogo {
    background: url('../img/logo_mobile.png') no-repeat;
    width: 114px;
    height: 54px;
    left: 5px;
    margin: 0;
    padding: 0;
    text-indent: -9999px;
    top: 5px;
    z-index: 20;
    float: left;
  }

  #teaser {
    background: none;
    margin-bottom: 1em;
  }

  #teaser_text {
    background: rgba(255, 255, 255, 0.5);
  }

  #navigation {
    margin: 10px 0;
    padding: 0;
    background: #45484d url("../img/navigation-mobile.png") top left repeat-x;
    background-size: contain;
  }

  #navigation li {
    display: inline-block;
    padding: 0.5em 0.3em 0.5em 0.5em;
    text-align: center;
    border-left: 1px solid #ffffff;
    margin: 0;
  }

  #navigation li:first-of-type {
    border: none;
  }

  #navigation a {
    font: bold 12px Arial;
    color: #FFF;
    text-decoration: none;
  }

  #sitelogo a {
    display: block;
    width: 114px;
    height: 54px;
  }

  #siteheader:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0px;
  }

  #maincontent {
    width: 100%;
  }

  /* Dynamische Menü */
  #mainnav {
    display: block;
    float: right
  }

  #toggle, .toggle {
    display: none;
  }

  #toggle:checked ~ .main_menu {
    display: block;
    opacity: 1;
  }

  #toggle:checked ~ .toggle, .toggle:hover {
    background: #45ABD6;
  }

  .comment_picture {
    display: table-cell;
    padding: 0px 10px;
    width: 60px;
    vertical-align: top;
  }

  .comment_header {
    display: table-cell;
    padding: 0px 10px;
    width: 140px;
    vertical-align: top;
  }

  .comment_header h3 {
    margin: 0
  }

  .toggle {
    z-index: 2;
    display: block;
    position: relative;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
  }

.main_menu {
    position: absolute;
    display: none;
    right: 0;
    min-width: 50%;
    z-index: 999;
    background: #eeeeec;

    margin: 0;
    padding: 0;
    border-top: 1px solid #a40000;
    border-bottom: 3px solid #a40000;

    li {
        display: block;
        list-style: none;
        margin: 0;
    }

    li a {
        display: block;
        width: 100%;
        text-decoration: none;
        font: 400 small-caps 18px 'Amerika Sans', sans-serif;
        color: black;
        box-sizing: border-box;
        border-left: 0px solid #eeeeec;
        padding: 0.5em 1em;
        line-height: 1;
        transition: all 0.25s linear;
      }

    li a:hover, li a:focus {
        color: #a40000;
        border-left: 3px solid #a40000;
    }
}
ul.main_dropdown {
    list-type: none;
    margin: 0;
    padding: 0;

    li {padding: 0;}

    a {padding-left: 2em; font-size: 12pt;}

}


  #jumbotron {
    background: none !important;
  }

  #redbox {
    margin-top: 1em;
    display: block;
  }


  .grid_6, .grid_7, .grid_8, .grid_9, .grid_10, .grid_11, .grid_12 {
    width: 100%;
    clear: both;
  }

  .player {
    display: inline;
    float: left;
    margin-left: 10px;
    margin-right: 10px;
    position: relative;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    min-width: 60px;
  }

  .toggle {
    display: block;
    width: 150px;
    margin: 8px 0;
    padding: 10px;
    background: #a40000;
    text-align: center;
    color: #FFFFFF;
    content: 'Main Menu';
    border-radius: 2px;
    box-sizing: border-box;
    transition: all 0.5s linear;
  }

  .thumbnail {
    display: block;
    position: relative;
    float: left;
    height: 70px;
    padding: 0;
    width: 70px;
    margin: 5px;
    box-shadow: 2px 2px 5px #888;
  }

  .thumbnail img {
    height: 70px;
    width: 70px;
  }

  .thumbnail a.delete_image {
    display: none
  }

  img.thumbnail {
    display: block;
    float: left;
    height: 70px;
    width: 70px;
    margin: 5px;
    box-shadow: 2px 2px 5px #888;
  }

  fieldset {
    border: none;
    color: #2e3436;
    border-radius: 10px;
    margin: 10px 0 0 0;
    padding: 0 10px 0 160px;
    background: #f2f5f6; /* Old browsers */
    background: linear-gradient(135deg, #f2f5f6 0%, #e3eaed 37%, #c8d7dc 100%);
    background: -moz-linear-gradient(-45deg, #f2f5f6 0%, #e3eaed 37%, #c8d7dc 100%);
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%, #f2f5f6),
    color-stop(37%, #e3eaed), color-stop(100%, #c8d7dc));
    background: -webkit-linear-gradient(-45deg, #f2f5f6 0%, #e3eaed 37%, #c8d7dc 100%);
    background: -o-linear-gradient(-45deg, #f2f5f6 0%, #e3eaed 37%, #c8d7dc 100%);
    background: -ms-linear-gradient(-45deg, #f2f5f6 0%, #e3eaed 37%, #c8d7dc 100%);

  }

  fieldset legend {
    margin-top: -.1em;
    margin-left: -150px;
    color: #a40000;
    font-family: 'Amerika Sans', sans-serif;
    font-variant: small-caps;
    font-weight: 400;
    font-size: 16pt;
    text-shadow: 2px 2px 2px #888;
  }

  fieldset .required {
    font-weight: bold;
  }

  fieldset .error {
    color: #a40000
  }

  fieldset .buttonbar {
    border-radius: 0px 0px 10px 10px;
    margin: 0 -10px 0 -160px;
  }

  fieldset .help_text {
    font-size: small;
  }

  fieldset .field_name {
    text-align: right;
    width: 140px;
    margin: 0 20px 0 -160px;
    padding-top: 3px;
    display: inline-block;
    clear: left;
  }

  fieldset input, fieldset textarea {
    border: 1px solid #999999;
    border-radius: 5px;
    padding: 2px;
    margin: 0;
    font-size: 12pt;
  }

  fieldset input[maxlength="255"], fieldset textarea {
    width: 99%;
    box-sizing: border-box;
  }

  fieldset ul {
    display: inline-block;
    padding: 0;
  }

  fieldset ul li {
    list-style: none;
    display: inline;
  }

  .pagination {
    clear: both;
  }

  .pagination a, .pagination .current, .pagination .next, .pagination .previous {
    display: inline-block;
    text-decoration: none;
    padding: 0 0.5em 0 0.5em;
  }

  .gallery {
    float: left;
    width: 150px;
    height: 150px;
    margin: 10px;
  }

  .gallery h3 {
    font-size: 12pt;
  }

  .comment {
    display: block
  }

  .comment_picture {
    display: block;
    float: left;
    vertical-align: top;
    width: 60px;
  }

  .comment_header {
    display: block;
    float: left;
    padding: 0px 10px;
    vertical-align: top;
    width: 140px;
  }

  .comment_header h3 {
    margin: 0
  }

  .comment_text {
    border-top: 1px solid #45484d;
    display: block;
    margin-left: 0px 10px;
    padding-top: 0.5em;
    clear: both;
  }
}