html {
  overflow: auto;
  
  height: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100%;
  overflow: auto;
  
  padding: 0px 0px 85px 0px;
  
  background: #89bce4;
  background: -moz-linear-gradient(left,  rgba(32,57,140,0.35) 0%, rgba(32,57,140,0) 15%, rgba(32,57,140,0) 85%, rgba(32,57,140,0.35) 100%), url("/static/webapp/images/bg_glow.png") 50% 0% no-repeat, -moz-linear-gradient(top, rgba(161,218,248,1) 0%, rgba(137,188,228,1) 100%);
  background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(32,57,140,0.35)), color-stop(15%,rgba(32,57,140,0)), color-stop(85%,rgba(32,57,140,0)), color-stop(100%,rgba(32,57,140,0.35))), url("/static/webapp/images/bg_glow.png") 50% 0% no-repeat, -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(161,218,248,1)), color-stop(100%,rgba(137,188,228,1)));
  background: -webkit-linear-gradient(left,  rgba(32,57,140,0.35) 0%,rgba(32,57,140,0) 15%,rgba(32,57,140,0) 85%,rgba(32,57,140,0.35) 100%), url("/static/webapp/images/bg_glow.png") 50% 0% no-repeat, -webkit-linear-gradient(top, rgba(161,218,248,1) 0%,rgba(137,188,228,1) 100%);
  background: -o-linear-gradient(left,  rgba(32,57,140,0.35) 0%,rgba(32,57,140,0) 15%,rgba(32,57,140,0) 85%,rgba(32,57,140,0.35) 100%), url("/static/webapp/images/bg_glow.png") 50% 0% no-repeat, -o-linear-gradient(top, rgba(161,218,248,1) 0%,rgba(137,188,228,1) 100%);
  background: -ms-linear-gradient(left,  rgba(32,57,140,0.35) 0%,rgba(32,57,140,0) 15%,rgba(32,57,140,0) 85%,rgba(32,57,140,0.35) 100%), url("/static/webapp/images/bg_glow.png") 50% 0% no-repeat, -ms-linear-gradient(top, rgba(161,218,248,1) 0%,rgba(137,188,228,1) 100%);
  background: linear-gradient(to right,  rgba(32,57,140,0.35) 0%,rgba(32,57,140,0) 15%,rgba(32,57,140,0) 85%,rgba(32,57,140,0.35) 100%), url("/static/webapp/images/bg_glow.png") 50% 0% no-repeat, linear-gradient(to bottom, rgba(161,218,248,1) 0%,rgba(137,188,228,1) 100%);
  
  background-repeat: no-repeat;
  background-attachment: fixed;
  
  -webkit-overflow-scrolling: touch;
}

body.modal-open {
    overflow: hidden;
    height: 100%;
}

input[type="date"], input[type="time"] {
  -webkit-appearance: none;
  -moz-appearance: none;
}

div#navigation {
  
}

div#navigation.hidden {
  display: none;
}

div#navigation .navbar-nav {
  margin: 0;
}

div#navigation .navbar-nav > li > a {
  font-size: 10px;
  
  margin-bottom: 0;
}

div#navigation .nav-justified > li {  
  float: none;
  
  width: 33%;
  
  padding-left: 0px;
  padding-right: 0px;
}

div#content {
  
}

div#content div#search {
  padding-top: 15px;
 /* padding-bottom: 15px; */
}

.modal.fade {
    -webkit-transition: none;
    -moz-transition: none;
    -ms-transition: none;
    -o-transition: none;
    transition: none;
}

.list-group {
  padding-left: 0;
  margin-bottom: 0;
}

.modal-footer {
  padding: 19px 20px 20px;
  margin-top: 0px;
  text-align: right;
  border-top: 1px solid #E5E5E5;
}

.resultbox {
  padding-top: 15px;
  padding-bottom: 15px;
  margin-top: 10px;
  border-bottom: 1px solid #9B9B9B;
  border-right: 1px solid #9B9B9B;
  border-radius: 5px;
  background: #F5F8FA;
  box-shadow: inset 0px -1px 1px #D9D9D9, 1px 1px 2px rgba(0, 0, 0, 0.15), 0px 0px 2px rgba(0, 0, 0, 0.15), 0px 0px 10px rgba(0, 0, 0, 0.15);
}

.changes { 
  font-size: 0.8em;
  padding-left: 10px;
}

.routenumber {
  display: inline-block;
  border-radius: 50%;
  background-color: #444;
  color: #FFF;
  width: 21px;
  height: 21px;
  text-align: center;
  padding: 1px;
}

.table-design {
  border: 1px solid #DDD;
  background: #FFF;
  border-radius: 5px;
  border-collapse: initial;
  margin-bottom: 0;
  box-shadow: inset 0px 0px 10px #EEE;
}

.table-design thead tr th { text-shadow: 1px 1px 2px #000; background: #646464; background: -moz-linear-gradient(top,  #646464 0%, #323232 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#646464), color-stop(100%,#323232)); background: -webkit-linear-gradient(top,  #646464 0%,#323232 100%); background: -o-linear-gradient(top,  #646464 0%,#323232 100%); background: -ms-linear-gradient(top,  #646464 0%,#323232 100%); background: linear-gradient(to bottom,  #646464 0%,#323232 100%); color: #fff; }
.table-design th { border-bottom-width: 1px!important; }
.table-design td { word-break: break-word; }
.table-design .no-break td { word-break: normal; }
.table-design tr td { border-top: none!important; }
.table-design thead tr th:first-child { border-radius: 5px 0 0 0; }
.table-design thead tr th:last-child { border-radius: 0 5px 0 0; }
.table-design td.content { padding: 1px 0px 1px 8px; } 

.table-design.rowed { background: #FFF; }
.table-design.rowed tr td { border-bottom: 1px solid #DDD; }
.table-design.rowed tr:last-Child td { border-bottom: none; }
.table-design.rowed.hover tr:hover { background:#F5F5F5!important; }

.table-design-none {
  border: none;
  background: transparent;
  border-radius: 0;
  border-collapse: initial;
  margin-bottom: 0;
}

.table-design-none td { border-top: none!important; font-weight: 600; }

.table-design.odd > tbody > tr:nth-child(even) { background: #f6f6f6!important; }
.table-design.odd:hover { cursor: pointer; background: #FFF; }

.content.content_lines { font-size: 1.2em; padding: 2px 0px 0px 8px!important; }
.content.content_start { font-size: 0.9em; }
.content.content_end { font-size: 1.2em; word-break: break-word; }
.content.content_price { font-size: 1.2em; text-align: right; padding: 0!important; word-wrap: break-word; word-break: normal; font-weight: 600; }
.content.content_price span { margin-right: 8px; }

table.table-repeat { margin-bottom: 10px; }
table.table-repeat:last-Child { margin-bottom: 0; g}

.format-no-break { word-break: normal!important; vertical-align: top; }
.format-break { word-break: break-word!important; vertical-align: top; }
.format-pdr { padding-right: 10px; }

.table-allcenter { vertical-align: middle!important; text-align: center; }
.table-vcenter { vertical-align: middle!important; }
.table-hcenter { text-align: center; }
.table-hleft { text-align: left; }
.table-hright { text-align: right; }
/*
div[class*="dateChange"]:not(nth-of-type(1)) {  display: none;  }
.travels span:nth-of-type(1) { color: red; }*/

.alert-no-margin { margin-bottom: 0; }
.alert-10-margin { margin-bottom: 10px; }

.margin-top { margin-top: 10px; }
.margin-bottom { margin-bottom: 10px!important; }

.table-responsive { border: none; }

#impressumpanel, #infopanel { background: url("/static/webapp/images/bg_noisepattern.png") repeat, #F5F8FA; }

.body-repeat {
  border-top: 1px solid #000;
}

.route_show { display: inline; }

.route-pt { 
	background: #EEE;
	border-radius: 10px 5px 5px 10px;
	padding: 2px 2px 1px 2px;
	box-shadow: 1px 1px 1px #AAA;
	font-size: 15px;
    display: inline-block;
	margin: 0px 0 3px 0px;
}

.route-pt-work { 
	background: #F0CA00;
    color: #000;
	border-radius: 10px 5px 5px 10px;
	padding: 2px 2px 1px 2px;
	box-shadow: 1px 1px 1px #AAA;
	font-size: 15px;
    display: inline-block;
	margin: 0px 0 3px 0px;
}

.route-pt > div, .route-pt-work > div {
	margin-right: 3px;
    position: relative;
	top: 2px;
	left: 1px;
}

.btn-rounded { border-radius: 5px!important; }

.mark-current { font-weight: 500; color: red; }


/*  */

div.stylingbox.gray {
  border-bottom: 1px solid #9B9B9B;
  border-right: 1px solid #9B9B9B;
  border-radius: 0 0 5px 5px;
  
  background: #F5F8FA;
  background: url("/static/webapp/images/bg_noisepattern.png") repeat, #F5F8FA;
  box-shadow: inset 0px -1px 1px #D9D9D9, 1px 1px 2px rgba(0, 0, 0, 0.15), 0px 0px 2px rgba(0, 0, 0, 0.15), 0px 0px 10px rgba(0, 0, 0, 0.15);
}

div.stylingbox.green {
  color: #FFF;
  text-shadow: -1px -1px 0px rgba(0, 0, 0, 0.15);
  
  border-bottom: 1px solid #9B9B9B;
  border-right: 1px solid #9B9B9B;
  border-radius: 3px;
  box-shadow: inset 0px -1px 1px #D9D9D9, 1px 1px 2px rgba(0, 0, 0, 0.15), 0px 0px 2px rgba(0, 0, 0, 0.15), 0px 0px 10px rgba(0, 0, 0, 0.15);
  
  background: #AFCA0B;
  background: url("/static/webapp/images/bg_noisepattern.png") repeat, #AFCA0B;
}

div.vdvicon {
  overflow: hidden;
  
  width: 64px;
  height: 64px;
  
  
  display: inline-block;
  /*vertical-align: top;*/
  
  background-repeat: no-repeat;
  background-size: 64px 128px;
  background-position: 0px -64px;
}

div.vdvicon.w64 {
  width: 64px;
  height: 64px;
  
  background-size: 64px 128px;
  background-position: 0px -64px;  
}

div.vdvicon.w32 {
  width: 32px;
  height: 32px;
  
  background-size: 32px 64px;
  background-position: 0px -32px;  
}

div.vdvicon.w16 {
  width: 16px;
  height: 16px;
  
  background-size: 16px 32px;
  background-position: 0px -16px;  
}

div.vdvicon.black {
  background-position: 0px 0px;
}

div.vdvicon.fuss {
  background-image: url( "/static/webapp/images/fuss.png" );
}

div.vdvicon.bus {
  background-image: url( "/static/webapp/images/bus.png" );
}

div.vdvicon.train {
  background-image: url( "/static/webapp/images/zug.png" );
}

div.vdvicon.sev {
  background-image: url( "/static/webapp/images/sev.png" );
}

div.vdvicon.tram {
  background-image: url( "/static/webapp/images/tram.png" );
}

div.input-group {
  margin-bottom: 1px;
}

div#from input {
  margin-bottom: 0px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

div#from div.input-group-addon {
  margin-bottom: 0px;
  border-bottom-left-radius: 0;
}

div#to input {
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}

div#to div.input-group-addon {  
  border-top-left-radius: 0;
}

div#date input {
  margin-bottom: 0px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

div#date div.input-group-addon {
  margin-bottom: 0px;
  border-bottom-left-radius: 0;
}

div#time input {
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}

div#time div.input-group-addon {  
  border-top-left-radius: 0;
}

div.dropdown-menu {
  max-height: 135px;
  overflow: scroll!important;
  overflow-y: scroll!important;
  z-index: 1000;
  -webkit-overflow-scrolling: touch;
  overflow-scrolling: touch;
}

div.dropdown-menu ul {
 list-style-type: none;
 padding: 0;
}

div.dropdown-menu ul li {
  padding: 5px;
}

div.dropdown-menu ul li a {
 text-decoration: none;
 color: #000;
 padding: 5px;
}



.modal-backdrop.in {
  opacity: 0.75;
  filter: alpha(opacity=75);
}

.nav, .pagination, .carousel, .panel-title a { cursor: pointer; }

@media (max-width: 767px) {
  div#content div#search > form > div.form-group {
    margin-left: 0px;
  }
  
  div#navigation .nav-justified {
    display: table;
  }
  
  div#navigation .nav-justified > li {
    display: table-cell;
  }
}

@media (min-width: 768px) {
  
}

@media (min-width: 992px) {
  
}

@media (min-width: 1200px) {
  
}

@media ( max-height: 300px ) {
  #navigation {
    /*display: none;*/
  }
}


.navbar-inverse .navbar-nav>li>a:hover, .navbar-inverse .navbar-nav>li>a:focus {
color: #999;
background-color: rgba(0, 0, 0, 0);
}

input[type=date] {
  line-height: normal;
}

.modal-backdrop {
 background-color: transparent;
}

input.typeahead{
  z-index: 50!important;
}

.departures-detail-table tr.current {
  background-color: rgba(192, 227, 255, 0.84);
}

/*
input[type="search"] {
  -webkit-appearance: searchfield !important;
}

input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: searchfield-cancel-button !important;
}
*/

.delay-early {
  color: #66d268;
  white-space: nowrap;
}

.delay-late {
  color: #f77b7b;
  white-space: nowrap;
}

.outdated-time {
  text-decoration: line-through;
}
