/* ============================== */

/* ! Layout for desktop version   */

/* ============================== */

html {
  overflow-y: scroll;
}

body {
  font-size: 0.8em;
  line-height: 1.4em;
}

body,
p,
td,
ul,
li,
input,
textarea,
select {
  font-family: Arial, Verdana, sans-serif;
  color: #000000;
}

#more {
  color: #02a636;
}

#buttonAnpassung {
  background-color: #02a636;
  font-weight: bold;
  border-radius: 50%;
  width: 200px;
  height: 200px;
  position: absolute;
  top: 0;
  right: -65%;
  font-size: 20px;
  line-height: 24px;
  text-align: center;
}

#mobile-menu-button {
  color: #02a636;
  text-align: left;
  padding: 15px 0px;
  font-weight: bold;
  cursor: pointer;
}

#mobile-menu-button img {
  width: 20px;
  height: auto;
  vertical-align: top;
  padding-right: 10px;
  padding-top: 2px;
}

#buttonAnpassung p {
  color: white !important;
  padding: 60px 20px 10px 20px;
}

td {
  font-size: inherit;
  line-height: 1.4em;
  padding: 5px;
}

#canvas {
  margin-bottom: 40px !important;
}

#logo {
  overflow: hidden;
  margin: 0 0 20px 0;
  float: left;
}

#topbar {
  float: right;
  margin: 45px 0 0 0;
  color: #4d4d4f;
  font-size: 0.8em;
  line-height: 21px;
}

#topnav {
  float: right;
  clear: none;
  margin-top: 4px;
  padding-right: 3px;
}

#topnav a {
  padding: 0 10px 0 10px;
  text-transform: uppercase;
}

#topsearch {
  float: right;
  clear: none;
  padding: 0 0 0 25px;
}

#headerrow {
  padding: 0;
}

#header {
  height: 4px;
  overflow: hidden;
  margin: 0 0 20px 0;
  background-color: #00aeef;
}

#header img {
  height: 126px;
  width: 2439px;
  max-width: 2439px;
  display: none;
  float: right;
}

/*#content{ background:url(../images/bg_content.png) repeat-y 13.4502923976608% 0; }*/

#cont {
  min-height: 400px;
  /* IE9 SVG, needs conditional override of 'filter' to 'none' */
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9Ijc5JSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjkwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMCIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: -moz-linear-gradient(
    top,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 1) 79%,
    rgba(255, 255, 255, 0) 90%,
    rgba(255, 255, 255, 0) 100%
  );
  /* FF3.6+ */
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0%, rgba(255, 255, 255, 1)),
    color-stop(79%, rgba(255, 255, 255, 1)),
    color-stop(90%, rgba(255, 255, 255, 0)),
    color-stop(100%, rgba(255, 255, 255, 0))
  );
  /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(
    top,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 1) 79%,
    rgba(255, 255, 255, 0) 90%,
    rgba(255, 255, 255, 0) 100%
  );
  /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(
    top,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 1) 79%,
    rgba(255, 255, 255, 0) 90%,
    rgba(255, 255, 255, 0) 100%
  );
  /* Opera 11.10+ */
  background: -ms-linear-gradient(
    top,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 1) 79%,
    rgba(255, 255, 255, 0) 90%,
    rgba(255, 255, 255, 0) 100%
  );
  /* IE10+ */
  background: linear-gradient(
    top,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 1) 79%,
    rgba(255, 255, 255, 0) 90%,
    rgba(255, 255, 255, 0) 100%
  );
  /* W3C */
  filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff', GradientType=0);
  /* IE6-8 */
}

#article {
}

.cont-top {
  width: 98%;
  height: 1px;
  float: left;
  clear: both;
  border-top: 1px dotted #4d4d4f;
  margin: 0 1% 0 1%;
}

.article-header {
  width: 100%;
  float: left;
  clear: both;
  margin-top: 12px;
}

.article-wrapper {
  margin-left: 2%;
}

.article-wrapper-map-small {
  margin-left: 1%;
  padding: 0;
}

.article-content {
  width: 62.23%;
  margin-right: 35.77%;
  padding: 10px 0 10px 0;
  float: left;
}

.articleText {
  padding: 0 0 0 10px;
}

#article-picture {
  width: 16.25%;
  margin-right: 10.46%;
  float: left;
}

#article-footer {
  width: 100%;
  height: 0px;
  float: left;
}

#navigation {
}

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

#footer-container {
  height: 229px;
  background: url(../images/bg_bottom.jpg) no-repeat center bottom;
}

p {
  margin-bottom: 1.4em;
}

h1,
h2 {
  font-family: Arial, sans-serif;
  font-size: 1.4em;
  line-height: 25px;
  font-weight: bold;
  color: #00aeef;
  font-style: normal;
  margin: 0 0 15px 0;
}

h3 {
  font-size: 1.1em;
  font-weight: bold;
  line-height: 120%;
  color: #4d4d4f;
  margin: 0 0 1.4em 0;
  padding: 0;
}

.round-corner {
}

a,
a:link,
a:visited {
  color: #4d4d4f;
  text-decoration: none;
}

a:hover,
a:active {
  color: #02a636;
  text-decoration: none;
}

.blau {
  color: #4d4d4f;
}

.rot {
  color: #02a636;
}

.big {
  font-size: 13px;
}

#cont img.fleximg,
.csc-textpic-single-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

#cont ul {
  list-style-image: url(../images/arrow_rot.gif);
  margin: 0 0 0 17px;
}

#cont td ul {
  padding-top: 0;
}

#cont ul ul {
  padding-top: 0;
}

#cont li {
  padding: 2px 0 2px 0;
}

#cont .tipps-menu-label,
.tipps-menu,
.tipps-menu ul {
  float: left;
  padding-top: 0 !important;
}

#cont .tipps-menu ul li {
  list-style: none;
  float: left;
  clear: none;
  padding: 0;
}

#cont .tipps-menu ul li.tippmenuSelected a {
  color: #02a636;
}

hr {
  height: 1px;
  width: 100%;
  border: solid #efefef 0px;
  background-color: #efefef;
  display: block;
  clear: both;
}

#c146 table {
  margin-bottom: 20px;
  border-spacing: 0;
}

#c146 table td {
  padding: 0;
  padding-right: 20px;
  vertical-align: top;
}

/* HOME */

.article-full {
  width: 96%;
  margin-left: 1%;
  margin-right: 1%;
  float: left;
  min-height: 700px;
  /*background:url(../images/home_familie.jpg) no-repeat 54% bottom;*/
}

#home-cont {
  float: left;
  width: 70%;
}

#home-title {
  float: left;
  margin: 50px 0 30px 0;
}

#home-title img {
  width: 100%;
}

#home-text {
  width: 60%;
  font-size: 1.1em;
  clear: left;
}
#home-text a {
  color: red !important;
}

#home-text > div {
  position: relative;
}

#home-sidebar {
  float: right;
  width: 22%;
  margin-top: 20px;
  background: url(../images/white-semi-transp.png);
  padding: 10px;
  border: 1px dotted #4d4d4f;
  box-sizing: border-box;
}

#home-sidebar img.mapsmall {
  width: 100%;
}

#home-sidebar h3 {
  font-size: 1.4em;
  font-weight: normal;
  line-height: 120%;
  color: #4d4d4f;
  margin: 0 0 0 0;
  padding: 0;
}

/* NAVIGATION */

.nav {
  clear: both;
  text-align: left;
  padding: 0;
  margin: 0;
  width: 100%;
  float: left;
  margin-top: 30px;
  font-size: 0.8em;
  font-style: normal;
}

.nav a {
  color: #4d4d4f;
  font-style: normal;
  text-decoration: none;
}

.nav a:visited {
  color: #4d4d4f;
  font-style: normal;
  text-decoration: none;
}

.nav a:active {
  font-style: normal;
  text-decoration: none;
}

.nav ul {
  list-style: none;
  width: 100%;
  padding: 0;
  border-top: 1px solid #ffffff;
}

/* 1. Ebene */

.nav li {
  float: left;
  width: 100%;
  display: block;
  margin: 0;
  padding: 0;
  line-height: 120%;
  font-weight: normal;
  list-style-type: none;
  text-decoration: none;
  border-bottom: 1px solid #ffffff;
  font-size: 15px;
}

#navigation li:hover,
#navigation li.menuSelected {
}

#navigation li:hover a,
#navigation li.menuSelected a {
  font-weight: bold;
  color: #00aeef;
}

.nav li a {
  padding: 0 0 0 0;
  line-height: 23px;
  display: block;
  cursor: pointer;
}

/* 2. Ebene */

#navigation li.menuSub:hover,
#navigation li.menuSubSelected {
  background-color: #4d4d4f;
}

#navigation li.menuSub:hover a,
#navigation li.menuSubSelected a {
  color: #ffffff;
}

.nav li.menuSub a,
.nav li.menuSubSelected a {
  padding: 0 0 0 15%;
  line-height: 21px;
  display: block;
  cursor: pointer;
}

/* Nav Kopf */

.nav li.planHead {
  float: left;
  width: 100%;
  display: block;
  margin: 0;
  padding: 0;
  line-height: 120%;
  list-style-type: none;
  text-decoration: none;
  border-bottom: 1px solid #ffffff;
  -moz-border-radius-topright: 0;
  border-top-right-radius: 0;
  -moz-border-radius-bottomright: 10px;
  border-bottom-right-radius: 10px;
  background-color: #d5e2ec;
}

.nav li.planHead a {
  padding: 10px 0 0 10%;
  line-height: 21px;
  display: block;
  cursor: pointer;
}

/* Nav Abschluss */

.nav li.navAbschluss {
  font-family: Arial, Verdana, sans-serif !important;
  float: left;
  width: 100%;
  display: block;
  margin: 0;
  padding: 11px 0 0 0;
  line-height: 120%;
  list-style-type: none;
  text-decoration: none;
  border-bottom: none;
  -moz-border-radius-topright: 10px;
  border-top-right-radius: 10px;
  -moz-border-radius-bottomright: 0;
  border-bottom-right-radius: 0;
  background-color: #4d4d4f;
}

/* Haltestellen Verzeichnis */

#leftbox {
  float: left;
  clear: both;
  width: 100%;
  padding-top: 20px;
}

#infobox {
  width: 90%;
  height: 260px;
  overflow: auto;
  font-size: 0.9em;
  margin: 5% 0 4% 0;
  padding: 5% 5% 5% 5%;
  border: 1px dotted #4d4d4f;
}

.butInfobox {
  width: 100%;
  margin: 0 0 0 0;
  padding: 0 2% 0 0;
}

.butInfobox a {
  font-family: Arial, Verdana, sans-serif !important;
  font-size: 15px;
  font-weight: normal;
  line-height: 23px;
}

.butInfobox a:hover,
.butInfobox a:active {
  font-weight: bold;
  color: #4d4d4f;
}

/* MAP specific styles */

#map #canvas {
  overflow: hidden;
  border: none;
  min-width: 280px;
  height: 580px;
  min-height: 580px;
  background-color: #d0dce2;
  margin: 0 0 0 1%;
  width: 98%;
}

#map #canvas img {
  width: 2000px;
  max-width: 2000px;
  height: auto;
  top: -500px;
  left: -250px;
}

#map #canvas img:hover {
  cursor: move;
}

#map-toolbar {
  width: 99%;
  float: left;
  background-color: #4d4d4f;
  margin: 0 1% 0 0;
  color: #ffffff;
  padding: 5px 0 5px 0;
}

#map #map-toolbar {
  width: 98%;
  margin: 0 1% 0 1%;
}

#map-toolbar div {
  float: left;
  margin: 0 0 0 20px;
}

#map-toolbar div img {
  vertical-align: middle;
}

/* Mailformular */

#mailform label {
  width: 30%;
  float: left;
}

#mailform input,
#mailform textarea {
  width: 70%;
}

#mailform select {
  width: 20%;
}

#mailform input[type="submit"] {
  float: right;
  width: 20%;
  font-weight: bold;
  margin: 22px 0 0 0;
}

#mailform input {
  padding: 5px;
  border: #4d4d4f 1px solid;
  background-color: #e1e7ee;
  margin: 2px 0 0 0;
}

#mailform select {
  border: #4d4d4f 1px solid;
  background-color: #e1e7ee;
  height: 24px;
  margin: 2px 0 0 0;
}

#mailform textarea {
  padding: 5px;
  border: #4d4d4f 1px solid;
  background-color: #e1e7ee;
  margin: 2px 0 0 0;
}

/* Wemako Logo */

.created {
  position: relative;
  width: 100%;
  z-index: 1000;
}

.created img {
  width: 100% !important;
  height: auto;
  display: block;
}

#last-row {
  /*background:url(../images/wemako_01.png) bottom left no-repeat;*/
}

/* ============================= */

/* ! Layout for mobile version   */

/* ============================= */

/* iPad - Portrait */

@media handheld, only screen and (max-width: 799px) {
  .article-content {
    width: 79.43%;
    margin-right: 18.57%;
    padding: 20px 0 20px 0;
    float: left;
  }
  td {
    font-size: 0.7em;
  }
  #home-cont {
    width: 60%;
  }
  #home-text {
    width: 80%;
    margin-bottom: 280px;
  }
  #home-sidebar {
    width: 35%;
  }
}

@media handheld, only screen and (max-width: 774px) {
  body {
  }
  #content {
    background: none;
  }
  /*#header, .ninecol{
  padding-left: 0px;
  padding-right: 0px;
  }*/
  /* NAVIGATION */
  .nav {
    background: none;
  }
  li.navAbschluss {
    display: none;
    visibility: hidden;
  }
  .nav li {
    height: 24px;
    padding-top: 6px;
  }
  #cont {
    clear: both;
  }
  .round-corner {
    -moz-border-radius-topleft: 0;
    border-top-left-radius: 0;
  }
  .cont-top,
  #article-footer {
    width: 100%;
    height: 20px;
    float: left;
    margin: 0;
  }
  #map-toolbar,
  #map #map-toolbar {
    width: 100%;
    margin: 0;
  }
  .article-wrapper-map-small {
    margin-left: 0;
  }
  .article-content {
    width: 96%;
  }
  .form_right {
    float: left !important;
  }
  #map #canvas {
    clear: both;
    height: 480px;
    min-height: 480px;
    margin: 0;
    width: 100%;
  }
  #navigation {
    width: 100%;
  }
  #leftbox {
    padding-top: 10px;
  }
  #infobox {
    height: 100px;
    margin: 2%;
    padding: 1%;
    width: 94%;
  }
  #infobox a {
    float: left;
    clear: none;
    width: 33%;
  }
  #infobox br {
    display: none;
  }
  #infobox b {
    float: left;
    margin-right: 20px;
  }
}

#detail_set {
  width: 100%;
}

@media screen and (max-width: 930px) {
  #buttonAnpassung {
    display: none;
  }
}

@media screen and (max-width: 774px) {
  #navigation .nav {
    display: none;
    margin-top: 0;
  }
}

@media handheld, only screen and (max-width: 480px) {
  .table_wrapper {
    width: 100%;
    overflow-y: auto;
    _overflow: auto;
    margin: 0 0 1em;
  }
  body {
  }
  .nav {
    width: 100%;
  }
  .twocol {
    width: 100%;
  }
  .article-content {
    width: 95%;
    margin-right: 5%;
  }
  .article-full {
    background: none;
  }
  #home-cont {
    width: 95%;
  }
  #home-text {
    width: 90%;
    margin-bottom: 30px;
  }
  #home-sidebar {
    width: 95%;
  }
  #mailform label {
    width: 40%;
    float: left;
    font-size: 0.9em;
  }
  #mailform input,
  #mailform textarea {
    width: 60%;
  }
  #mailform textarea {
    width: 60%;
    font-size: 0.9em;
  }
  #mailform select,
  #mailform input[type="submit"] {
    width: 40%;
  }
}

@media handheld, only screen and (max-width: 320px) {
  body {
  }
  #topbar {
    margin-top: 25px;
  }
  .article-full {
    background: none;
  }
  #home-cont {
    width: 100%;
  }
  #home-text {
    width: 90%;
  }
  #home-sidebar {
    width: 100%;
  }
}

/* ========================================== */

/* ! Provide higher res assets for iPhone 4   */

/* ========================================== */

@media only screen and (-webkit-min-device-pixel-ratio: 2) {
  /*  .logo {
    background: url(logo2x.jpg) no-repeat;
    background-size: 212px 303px;
  }*/
}
