.hamburger {
   display: none;
}

@media screen and (min-width: 1600px) {
   .tableOfContent {
      position: fixed;
      right: 10px;
      bottom: 10px;
      max-width: 260px;
      max-height: 85vh;
      overflow-y: auto;
   }
}

@media screen and (max-width: 760px) {
   body,
   div,
   form,
   article {
      box-sizing: border-box;
      font-size: 14px;
      background: none;
      overflow-x: hidden;
      xbackground-color: white;
   }

   h1 {
      font-size: 1.4em;
   }
   h2 {
      font-size: 20px;
   }

   h1,
   h2 {
      margin: 0px;
      padding: 10px 0;
      line-height: 120%;
   }

   p {
    margin: 6px 0;
   }

   #logo {
      background: #005c75;
   }

   .mega {
      font-size: 2.5em;
   }

   .mobilehidden {
      display: none !important;
   }

   .btn {
      font-size: 14px; line-height: 1.5em
   }

   #wrapper {
      width: auto;
      padding: 0;
      margin-top: -4px;
   }

   #toplinks {
      height: 0;
   }

   #menu {
      width: auto;
   }
   #menu ul {
      padding-left: 10px;
   }
   #menu li {
      padding: 0px 4px;
   }
   #menu a {
      letter-spacing: -1px;
      padding: 6px 0px;
   }

   a.mobileButton,
   #mainMenu a.mobileButton {
      margin: 5px auto;
      padding: 5px 15px;
      background: #eee;
      border: 1px solid silver;
   }

   #logo {
      text-align: center;
      margin-top: 0px;
      height: 80px;
      padding-left: 10px;
      zoom: 1;
   }

   #aevlogo {
      width: 85%;
   }

   #login {
      float: right;
      margin-right: 0px;
      padding: 5px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 2px;
   }

   #usermenu {
      margin-top: -10px;
      padding: 8px 0 0 3px;
   }

   #usermenu a {
      margin: 0px 3px 0px 0;
      font-size: 13px;
      padding: 4px 10px 6px 10px;
   }

   #contentwrapper {
      padding: 10px;
      width: auto;
   }

   #content {
      padding: 10px 0 0 0;
   }

   div.round,
   .round6 {
      border-radius: 0;
   }

   div.box {
      padding: 10px;
      border-bottom: 1px solid silver;
      margin-bottom: 10px;
      border-radius: 0;
   }
   .boxleft,
   .boxright {
      padding: 10px;
      display: block;
      float: none;
      clear: both;
      width: 100% !important;
      margin: 2px auto;
   }

   .boxleft {
      margin-top: -6px;
   }
   .boxright {
      margin-top: 20px;
   }

   .boxleft h2,
   .boxright h2 {
      margin: 0 -10px;
      font-size: 22px;
   }

   .mobPad {
      padding: 10px;
   }

   ul {
      padding-left: 16px;
   }

   .box ul {
      margin-left: 30px;
      padding: 0;
   }

   .latest {
      padding: 0;
   }
   .budget {
      color: #95cb0d;
      background: #e9f3cf;
      padding: 2px 8px;
      font-size: 80%;
      display: inline-block;
      border: 1px solid #95cb0d;
      border-top-right-radius: 2px;
   }

   div.logobox {
      box-sizing: border-box;
      width: 18%;
      margin: 1px;
   }

   div.pagination {
      display: none;
   }

   div.tagcontent {
      width: 95%;
      padding: 15px;
      margin: 0 auto;
   }
   .wrapperVcard {
      display: grid;
      grid-template-columns: 1fr 0fr;
   }

   .devCard {
      height: 180px;
      line-height: 1.1em;
   }

   .devCard h2 {
      padding-left: 0;
   }

   .devCard img {
      max-height: 100px;
      max-width: 25%;
      margin: 0 0 15px 15px;
   }

   .devCard.premium img {
      max-width: 30%;
      max-height: 140px;
   }

   .devCard .devD {
      max-height: 74px;
   }

   .mobile a.boxRef {
      box-sizing: border-box;
      float: left;
      width: 45%;
      height: 50px;
      line-height: 50px;
      font-size: 14px;
   }

   .aside {
      float: none;
      width: 95%;
      margin: 20px auto;
   }

   pre {
      overflow: hidden; /* temporary xxx solve this*/
   }

   #sitemap {
      height: auto;
   }
   #sitemap div.box {
      width: 100%;
      height: auto;
      box-sizing: border-box;
      margin: 6px auto;
      border: none;
      box-shadow: none;
      background: none;
      padding: 0;
   }
   #sitemap a {
      float: left;
      margin: 3px 8px;
      width: calc(50% - 15px);
      box-sizing: border-box;
   }

   #sitemap ul.menu {
      margin: 0;
   }
   #sitemap ul li {
      float: left;
      padding: 0;
      line-height: 1.2;
   }

   #sitemap h3 {
      box-shadow: none;
      text-shadow: none;
   }

   #sitemap a {
      display: inline-block;
      padding: 3px 6px;
      margin: 6px;
      background: white;
      border-radius: 3px;
   }

   div.floatingbox {
      width: 100%;
   }

   #footer {
      width: auto;
   }
   #code {
      display: none;
   }

   #content article,
   #content.category,
   #content.section,
   #main.section,
   .leftcol {
      width: 100%;
      float: none;
      background: white;
   }

   #content article {
      padding: 10px;
   }

   #content article h1 {
      padding: 0;
   }

   #content article h2,
   #content article h3 {
      line-height: 1.4em;
   }

   #content article p {
      text-align: justify;
   }

   #content article img {
      max-width: 100%;
   }

   .tableOfContent {
      display: none;
   }

   div.right {
      display: block;
      float: none;
      clear: both;
      width: 90%;
      margin: 0 auto;
   }

   table.anfragen td,
   table.anfragenstart td {
      font-size: 90%;
      line-height: 1.2em;
   }

   /* ANFRAGE FORM */
   #anfrageForm .leftcol {
      width: 100%;
   }
   #anfrage,
   #anfrage table {
      width: 100%;
   }
   #anfrage > table td {
      float: left;
   }
   #anfrage td.label {
      display: block;
      box-sizing: border-box;
      text-align: left;
      padding: 6px 0;
      margin: 12px 0 6px 0;
      clear: both;
      float: none;
   }

   #anfrage input,
   #anfrage textarea {
      padding: 6px;
      font-size: 120%;
   }

   #anfrage input[type="checkbox"] {
      scale: 1.5;
      float: left;
   }

   #anfrage input.full,
   #anfrage textarea.full {
      width: 270px;
      box-sizing: border-box;
   }
   .boxanfrage {
      box-sizing: border-box;
      width: 100%;
      padding: 10px;
   }
   .boxanfrage input,
   .boxanfrage textarea,
   .boxanfrage select {
      max-width: 90%;
   }
   .w90 {
      width: 90%;
   }
   .boxanfrage input.medium {
      max-width: 55%;
   }
   .short {
      width: 50px;
   }

   .osbox {
      width: 23%;
      font-size: 12px;
   }

   /* ANFRAGE DETAIL */
   .anfrageDetail {
      width: auto;
   }
   table.anfrageDetail td {
      float: left;
   }
   #right {
      display: none;
   }

   /* login */
   .login h1 {
      padding: 10px;
   }

   /* verzeichnis list */
   .box1 {
      padding: 0;
   }
   .box2 {
      padding: 10px;
      border-raduis: 0;
      margin: 0;
      box-sizing: border-box;
      overflow: hidden;
   }

   /* verzeichnis detail */
   .wrapperVcard h2.heading {
      padding: 2px 10px;
   }
   div.vcard {
      width: auto;
   }

   .vcard h1 {
      padding: 5px 0;
   }

   .developerRefs img {
      width: 100%;
      max-width: none;
      margin: 5px auto;
   }

   .tblRefs {
      width: 100%;
      float: none;
      word-wrap: break-word;
      display: block;
   }

   .tblRefs td {
   }
   .tblRefs td:nth-child(1) {
      display: block;
      text-align: left;
   }
   .tblRefs td:nth-child(2) {
      float: left;
      margin: 6px 0;
      background: none;
      border: none;
      text-align: justify;
   }

   input {
      max-width: 75%;
   }

   #logo {
      text-align: left;
   }

   h2#subtitle {
      margin-top: -30px;
      text-align: left;
   }

   .breadcrumbs a {
      font-size: 11px;
      padding-left: 10px;
   }

   button {
      font-size: 24px;
   }
   input[type="checkbox"] {
      /* Double-sized Checkboxes */
      -ms-transform: scale(1.4); /* IE */
      -moz-transform: scale(1.4); /* FF */
      -webkit-transform: scale(1.4); /* Safari and Chrome */
      -o-transform: scale(1.4); /* Opera */
      padding: 10px;
   }

   /* overwrites */

   .mobileonly {
      display: inline-block;
   }
   .twocol {
      width: 100%;
      float: none;
      clear: both;
   }
   .twoThird {
      display: block;
      width: 94%;
      margin: auto;
   }
   .buttonbox {
      box-sizing: border-box;
      width: 46%;
      margin: 2%;
      height: auto;
   }

   .devCard {
      box-sizing: border-box;
      background-color: #fff;
      float: left;
      margin: 4px 0 4px 0;
      height: 190px;
      overflow: hidden;
      width: 100%;
   }

   .devCard.premium {
      max-height: 360px;
   }
   .devCard.devD {
      max-height: auto;
   }

   .devCard.premium img {
      max-width: 30%;
      max-height: 140px;
   }

   .teaserAnfrageFixed {
      width: 96%;
      position: fixed;
      left: 2%;
      top: auto;
      bottom: 5px;
      background: #005c75;
      color: white;
      padding: 6px;
   }

   .moduleTeaserAnfrageStarten {
      height: 150px;
      margin: 20px 0;
   }

   .moduleTeaserAnfrageStarten p {
      font-size: 85%;
      margin: 12px 0;
      line-height: 1.2em;
   }

   .moduleTeaserAnfrageStarten img {
      height: 100px;
      margin: 0 20px 0 0;
      float: left;
   }

   .moduleTeaserAnfrageStarten .btn {
      font-size: 80%;
   }

   #apps .applist {
      overflow: hidden;
   }

   #appDetail table {
      width: 100%;
   }

   #appDetail td {
      float: left;
   }

   .flex,
   .flewRow {
      flex-wrap: wrap;
   }

   .flex2 {
      flex: 1 1 300px;
   }

   .desktopOnly {
      display: none !important;
   }

   .grid2 {
      display: grid;
      grid-template-columns: 1fr ;
      grid-gap: 20px;
      margin: 20px 0;
  }


   .grid3 {
      display: grid;
      grid-template-columns: 1fr 1fr;
   }

   .grid3 > :nth-child(3) {
      /* Hide the third column */
      display: none;
   }


   /* start page */
   .grid-content {
      grid-template-columns: 1fr; /* Single column layout */
      grid-template-rows: auto auto; /* Two rows */
  }

  .grid-content > :nth-child(2) { /* Target the second column */
      grid-row: 1; /* Place it on the first row */
  }

  .grid-content > :nth-child(1) { /* Target the first column */
      grid-row: 2; /* Place it on the second row */
  }



   /* finetuning */

   /* iphone 5 und kleiner*/
   @media (max-width: 321px) {
      #menu a {
         font-family: "Arial Narrow", Arial, sans-serif;
         font-size: 13px;
      }
   }
}
