/* TUNNEY Logistik – IONOS MyWebsite Basic, Layout-Grunddesign */
/* Verwendet das bereits im IONOS-Editor hochgeladene tunney-logo.jpg */

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  background: #f4f7f8;
}

body {
  margin: 0;
  padding: 0;
  background: #f4f7f8;
  color: #14212a;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.altcolor {
  background-color: transparent !important;
}

a {
  color: #0d405f;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #399c25;
}

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

/* Seitenrahmen */
div#container {
  width: 100%;
  max-width: 1180px;
  margin: 28px auto;
  padding: 0;
  overflow: hidden;
  background: #ffffff !important;
  border: 1px solid #dfe7eb;
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(7, 45, 68, 0.12);
}

div#wrapper {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  background: #ffffff;
}

/* Kopfbereich mit Firmenlogo */
div#header {
  position: relative;
  order: 1;
  width: 100%;
  margin: 0;
  padding: 18px 32px;
  background: #ffffff !important;
  border-bottom: 1px solid #dfe7eb;
}

div#header_wrapper {
  min-height: 96px;
  margin: 0;
  padding: 0;
  background: transparent !important;
}

div#emotionheader,
div#emotion-header {
  position: relative;
  width: 100%;
  min-height: 96px;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  background-image: url(https://www.tunney-logistik.de/s/img/tunney-logo.jpg);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: auto 88px;
}

div#emotionheader img,
div#emotion-header img {
  display: none !important;
}

div#emotionheader strong#emotion-header-title,
div#emotion-header strong#emotion-header-title {
  display: none !important;
}

/* Navigation aus der alten Seitenleiste als obere Menüleiste */
div#sidebar {
  display: contents;
  float: none;
  margin: 0;
  padding: 0;
}

div#navigation {
  order: 2;
  width: 100%;
  margin: 0;
  padding: 0 24px;
  background: #0d405f;
}

div#navigation ul {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

div#navigation li {
  position: relative;
  float: none;
  margin: 0;
  padding: 0;
  list-style: none;
  background: transparent !important;
  border: 0 !important;
}

div#navigation li a,
div#navigation li strong,
div#navigation li span {
  display: block;
  margin: 0;
  padding: 17px 15px;
  color: #ffffff;
  background: transparent !important;
  border: 0 !important;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.25;
  text-decoration: none;
}

div#navigation li a:hover,
div#navigation li a:focus,
div#navigation li.current a,
div#navigation li.active a,
div#navigation li.current_page_item a,
div#navigation li strong {
  color: #ffffff;
  background: #399c25 !important;
}

/* Untermenüs bleiben sichtbar und übersichtlich */
div#navigation ul ul {
  display: block;
  min-width: 210px;
  background: #082e46;
}

div#navigation ul ul a,
div#navigation ul ul strong,
div#navigation ul ul span {
  padding: 12px 16px;
  font-size: 14px;
}

/* Vorhandene Seitenleisten-Elemente unterhalb der Navigation */
div#sidebar_content {
  order: 4;
  width: 100%;
  margin: 0;
  padding: 30px 44px 42px;
  color: #14212a;
  background: #f4f7f8;
  border-top: 1px solid #dfe7eb;
}

div#sidebar_content:empty {
  display: none;
}

/* Inhaltsbereich */
div#content {
  order: 3;
  float: none;
  width: 100%;
  min-height: 420px;
  margin: 0;
  padding: 0;
  background: #ffffff;
}

div#content div.gutter {
  width: 100%;
  margin: 0;
  padding: 52px 44px 64px;
}

div#content h1,
div#content h2,
div#content h3,
div#content h4 {
  margin-top: 0;
  color: #082e46;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  line-height: 1.18;
}

div#content h1 {
  margin-bottom: 24px;
  font-size: 38px;
}

div#content h2 {
  margin-top: 36px;
  margin-bottom: 16px;
  font-size: 29px;
}

div#content h3 {
  margin-top: 28px;
  margin-bottom: 12px;
  font-size: 22px;
}

div#content p,
div#content ul,
div#content ol {
  margin-top: 0;
  margin-bottom: 18px;
}

div#content ul,
div#content ol {
  padding-left: 24px;
}

div#content hr {
  height: 1px;
  margin: 32px 0;
  border: 0;
  background: #dfe7eb;
}

div#content table {
  width: 100%;
  border-collapse: collapse;
}

div#content th,
div#content td {
  padding: 12px 14px;
  border: 1px solid #dfe7eb;
  text-align: left;
  vertical-align: top;
}

div#content th {
  color: #0d405f;
  background: #f4f7f8;
}

/* Formulare und Schaltflächen */
div#content input,
div#content textarea,
div#content select {
  max-width: 100%;
  padding: 11px 12px;
  color: #14212a;
  background: #fbfcfd;
  border: 1px solid #d8e2e7;
  border-radius: 9px;
  font: inherit;
}

div#content input:focus,
div#content textarea:focus,
div#content select:focus {
  outline: 3px solid rgba(57, 156, 37, 0.18);
  border-color: #399c25;
}

div#content input[type="submit"],
div#content input[type="button"],
div#content button {
  display: inline-block;
  padding: 12px 20px;
  color: #ffffff;
  background: #399c25;
  border: 0;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
}

div#content input[type="submit"]:hover,
div#content input[type="button"]:hover,
div#content button:hover {
  background: #2d831d;
}

/* Fußzeile */
div#footer {
  width: 100%;
  margin: 0;
  padding: 0;
  color: #d8e4e9;
  background: #082e46;
  border-top: 4px solid #399c25;
}

div#footer div.gutter {
  margin: 0;
  padding: 30px 34px;
}

div#footer a {
  color: #ffffff;
}

div#footer a:hover,
div#footer a:focus {
  color: #8fd382;
}

/* Alte Hilfselemente */
div.c,
.c {
  clear: both;
}

div#wrapper > div.c {
  display: none;
}

/* Tablet */
@media screen and (max-width: 900px) {
  div#container {
    width: calc(100% - 24px);
    margin: 12px auto;
    border-radius: 16px;
  }

  div#header {
    padding: 14px 24px;
  }

  div#header_wrapper,
  div#emotionheader,
  div#emotion-header {
    min-height: 82px;
  }

  div#emotionheader,
  div#emotion-header {
    background-size: auto 76px;
  }

  div#content div.gutter {
    padding: 42px 30px 52px;
  }
}

/* Smartphone */
@media screen and (max-width: 640px) {
  body {
    font-size: 15px;
  }

  div#container {
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  div#header {
    padding: 12px 16px;
  }

  div#header_wrapper,
  div#emotion-header {
    min-height: 72px;
  }

  div#emotion-header {
    background-position: center center;
    background-size: contain;
  }

  div#navigation {
    padding: 0;
  }

  div#navigation ul {
    display: block;
  }

  div#navigation li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  }

  div#navigation li:last-child {
    border-bottom: 0 !important;
  }

  div#navigation li a,
  div#navigation li strong,
  div#navigation li span {
    padding: 14px 18px;
  }

  div#navigation ul ul {
    min-width: 0;
  }

  div#content div.gutter {
    padding: 34px 20px 44px;
  }

  div#sidebar_content {
    padding: 26px 20px 34px;
  }

  div#content h1 {
    font-size: 30px;
  }

  div#content h2 {
    font-size: 25px;
  }

  div#footer div.gutter {
    padding: 26px 20px;
  }
}                            
/* Korrektur des IONOS-Kopfbereichs */
div#header_wrapper > img {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

div#header_wrapper {
  min-height: 100px !important;
  background: #ffffff url(https://www.tunney-logistik.de/s/img/tunney-logo.jpg) no-repeat left center !important;
  background-size: auto 88px !important;
}

@media screen and (max-width: 640px) {
  div#header_wrapper {
    min-height: 72px !important;
    background-position: center !important;
    background-size: contain !important;
  }
}