/* ============================================================
   Lippek Werbeagentur – Hauptstylesheet
   ============================================================ */

/* WEBFONT */
@font-face {
  font-family: "Helvetica LT W04 Light1489428";
  src: url('/assets/fonts/1489428/6cd1b54e-b8f5-4cf8-8e42-7934e3ec560e.eot?#iefix');
  src: url('/assets/fonts/1489428/6cd1b54e-b8f5-4cf8-8e42-7934e3ec560e.eot?#iefix') format('eot'),
       url('/assets/fonts/1489428/5e04826f-5440-42ee-82bb-b212cb16bccc.woff2') format('woff2'),
       url('/assets/fonts/1489428/e0eda329-a6eb-46ac-8f15-e1c54de80856.woff') format('woff'),
       url('/assets/fonts/1489428/fc0ced28-1aa0-49b9-aab1-ad5038d646b9.ttf') format('truetype');
}

/* STANDARDS */
img {
  border-style: none;
}
* {
  margin: 0;
  padding: 0;
}
a:link,
a:active,
a:visited {
  color: #434343;
  text-decoration: none;
  margin: 2% 0;
  display: block;
}
a:hover {
  text-decoration: underline;
}
img {
  display: inherit;
  width: 100%;
  height: auto;
}
body {
  background-color: #fff;
  color: #434343;
  font-family: "Helvetica LT W04 Light1489428", Helvetica, Arial, sans-serif;
  font-size: 1em;
}

/* ROOT CONTAINER */
.root {
  width: 100%;
  max-width: 1440px;
  margin: 10vh auto 0 auto;
  background-color: #eff0f0;
  display: table;
}

/* RESETS für TYPO3-artige Klassen */
div.csc-textpic .csc-textpic-imagewrap .csc-textpic-image {
  margin-bottom: 0;
}

/* LEFTCUBE – Bild-/Inhaltsbereich */
.leftcube {
  display: table-cell;
  width: 50%;
  max-width: 660px;
  max-height: 660px;
  padding: 30px;
  background-color: #eff0f0;
  overflow: hidden !important;
}
.leftcube .inner {
  width: 100%;
  position: relative;
}

/* RIGHTCUBE – Navigationsbereich */
.rightcube {
  display: table-cell;
  width: calc(50% - 40px);
  max-width: 660px;
  padding: 8px 30px;
  background: url('/assets/images/Logo_Agentur.png') no-repeat scroll 51% 96% / 82% auto;
  background-color: #e0e0df;
  vertical-align: top;
  height: 100%;
}
.rightcube .inner {
  width: 88%;
  padding: 2% 6% 2% 0%;
  margin: 0 0 0 6%;
}

/* FOOTER – Impressum-Zeile */
.imp {
  clear: both;
  float: none;
  width: 99%;
  max-width: 1440px;
  margin: 0 auto;
  margin-top: 1%;
  padding-right: 1%;
  font-size: 1em;
  text-align: right;
}
.imp a:link,
.imp a:active,
.imp a:visited {
  display: inline;
  text-decoration: none;
  padding: 2% 0 0 0;
}
.imp a:hover {
  color: #000;
}

/* SLIDER WRAPPER */
.bx-wrapper {
  margin: 0 !important;
}
.bx-wrapper .bx-viewport {
  -moz-box-shadow: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  border: none !important;
  left: 0 !important;
}
.bx-controls {
  opacity: 0.5;
  position: relative;
}

/* CONTENT SLIDES */
.csc-default {
  position: relative;
}
.csc-default h1 {
  position: absolute;
  top: 0;
}
.csc-default h2 {
  position: absolute;
  bottom: 0;
}
.csc-default h1,
.csc-default h2 {
  font-size: 1.5em;
  text-align: center;
  color: #b3b3b3;
  margin-top: 37px;
  margin-bottom: 42px;
  width: 80%;
  margin-left: 10%;
  font-weight: normal;
}
.csc-default h3 {
  padding: 0 10%;
  font-size: 1.3em;
  color: rgb(0, 94, 171);
}
.csc-default p {
  padding: 0 10%;
  font-size: 1.1em;
  color: rgb(0, 94, 171);
  margin-top: 15px;
}

/* Scrollbare Text-Container (Datenschutz, Impressum, etc.) */
#c2,
#c48,
#c64 {
  overflow-y: auto;
}
#c48,
#c64 {
  font-size: 0.9em;
}
#c2 .csc-textpic-text,
#c48 .csc-textpic-text,
#c64 .csc-textpic-text {
  position: absolute;
  top: 40px;
}
#c48 .csc-textpic-text {
  overflow: auto;
  bottom: 0;
  left: 0;
  right: 0;
}
.csc-textpic-text a:link,
.csc-textpic-text a:active,
.csc-textpic-text a:visited {
  padding: 0;
  margin: 0;
}

/* ============================================================
   Navigation
   ============================================================ */
.topnav {
  font-size: 2.5em;
  float: left;
  padding-top: 5px;
}
.topnav * {
  margin: 0 !important;
  padding: 0;
}
.topnav ul {
  list-style-type: none;
}
.topnav ul li {
  padding: 7px 0;
}
.topnav .wrap {
  color: #434343;
  cursor: pointer;
  display: block;
}
.topnav .wrap:hover {
  color: #000;
}
.topnav .active .level2 {
  display: block;
}
.level2 .active a:link,
.level2 .active a:active,
.level2 .active a:visited {
  color: #000 !important;
}
.level01 li a,
.level01 li,
.level2 li a {
  text-decoration: none;
  cursor: pointer;
  padding: 0;
  color: #434343 !important;
}
.level01 a:hover,
.level2 a:hover {
  color: #000 !important;
  text-decoration: none;
}
.level2 {
  display: none;
  padding-top: 3%;
}
.level2 li {
  font-size: 0.5em;
  padding: 1% 0 !important;
}

/* ============================================================
   Responsive Breakpoints
   ============================================================ */
@media (max-width: 1350px) {
  .topnav {
    font-size: 2em;
  }
  .level2 {
    padding-top: 2px;
  }
}

@media (max-width: 1150px) {
  .csc-default h1,
  .csc-default h2 {
    font-size: 1em;
  }
  .root {
    margin: 0 !important;
  }
  .topnav {
    font-size: 1.3em;
  }
  .topnav ul li {
    padding: 4px 0;
  }
  .level2 li {
    padding: 1px 0 !important;
  }
  .leftcube,
  .rightcube {
    max-width: 50%;
    width: calc(50% - 30px);
    float: left;
    padding: 15px;
  }
  .bx-wrapper .bx-pager,
  .bx-wrapper .bx-controls-auto {
    bottom: -21px !important;
    position: absolute;
    width: 100%;
  }
  .bx-wrapper .bx-pager.bx-default-pager a {
    border-radius: 5px;
    display: block;
    width: 6px !important;
    height: 6px !important;
    margin: 0 5px;
    outline: 0 none;
    text-indent: -9999px;
  }
}

@media (max-width: 530px) {
  #c2 .csc-textpic-text,
  #c48 .csc-textpic-text,
  #c64 .csc-textpic-text {
    top: 20px;
  }
  .root {
    margin: 0 !important;
  }
  .leftcube,
  .rightcube {
    max-width: 100%;
    width: calc(100% - 40px);
    float: left;
    padding: 20px;
  }
  .leftcube {
    padding: 20px;
  }
  .rightcube {
    display: block;
  }
  .csc-default h1,
  .csc-default h2 {
    font-size: 1em;
    margin-top: 15px;
    margin-bottom: 12px;
    width: 90%;
    margin-left: 5%;
  }
  .bx-wrapper .bx-pager.bx-default-pager a {
    border-radius: 5px;
    display: block;
    width: 5px !important;
    height: 5px !important;
    margin: 10px 5px 0;
    outline: 0 none;
    text-indent: -9999px;
  }
  .topnav {
    font-size: 2em;
  }
  .topnav li {
    padding: 11px 0 !important;
  }
  .level2 li {
    padding: 4px 0 !important;
  }
  .csc-default h3 {
    font-size: 0.9em;
  }
  .csc-default p {
    font-size: 0.7em;
  }
}
