/******** Setup ********************************************************************************/
/***********************************************************************************************/

html {
  max-width: 1440px;
  margin: 0 auto;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #424242;
  font-size: 11px;
  line-height: 15px;
  background: #FFFFFF;
}


/******** Reset ********************************************************************************/

#vspage ul, #vspage li {
  list-style:none;
  padding: 0;
  margin: 0;
}
#vspage img, #vspage table {
  border:none;
}

/******** Hacks ********************************************************************************/

.clearfix:after {
  content:".";
  display:block;
  height:0;
  clear:both;
  visibility:hidden;
}
.clearfix {
  display:inline-block;
}
html[xmlns] .clearfix {
  display: block;
}
* html .clearfix {
  height: 1%;
}

/******** Link *********************************************************************************/

#vspage a {
  text-decoration: underline;
  color: #424242;
  outline: 0;
}
#vspage a.link {
  padding-left:7px;
  background: url(../img/portal/marker-right.gif) no-repeat left 4px;

}
#vspage a span {
  display: none;
}

#vspage a:hover, #vspage a:active, #vspage a:focus {
  outline: 0;
}

/******** Text *********************************************************************************/




/******** Header *******************************************************************************/
/***********************************************************************************************/


#vspage {
  width:100%;
  margin: 20px auto;
  padding: 0 20px;
  box-sizing:border-box;
  min-width: 300px;
}

@media screen and (max-width: 767px) {
  #vspage {
    padding: 0 10px;
    box-sizing:border-box;
  }
}

/* Überschreibt das Standard layout */
#vspage * {
  box-sizing: unset;
}

#vspage header {
  position:relative;
  width:100%;
  height:120px;
  z-index: 1;
}
#vspage header h1 {
  position:absolute;
  top: 5px;
  left: 0;

  height:50px;
  font-size: 20px;

  margin-top: 0;
}
#vspage header h2 {
  position:absolute;
  top: 25px;
  left: 0;
  width:100%;
  height:50px;
  line-height: 17px;
}

#vspage header span#update {
  position: absolute;
  top: 22px;
  right: 0;
  display: block;
  color: red;
  font-size: 11px;
  font-style: italic;
  text-align: right;
}

/******** Nav Top ******************************************************************************/

#vspage header nav#links {
  position: absolute;
  top: 65px;
  right: 0;
  width:100%;
}
#vspage header nav#links ul {
  float: right;
}
#vspage header nav#links li {
  float: left;
  padding: 0 0 0 15px;
}

/******** Filter ******************************************************************************/

#vspage header nav#filter {
  position: absolute;
  top: 90px;
  background: url(../img/portal/bg-checkin.gif) repeat-x;
  border: 1px solid #D5D5D5;
  width:100%;
  height: 28px;
  padding: 0 0 0 0;
  font-size: 11px;
}

@media screen and (max-width: 768px) {

  #vspage header nav#links {
    top: 75px;
  }

  #vspage header nav#filter {
    top: 120px;
  }

  #vspage #legende {
    padding-top: 50px;
  }
}

@media screen and (max-width: 390px) {

  #vspage header nav#links {
    top: 75px;
  }

  #vspage header nav#filter {
    top: 130px;
  }
  #vspage #legende {
    padding-top: 60px;
  }
}

#vspage #fulltext_search {
  float: right;
  width: 220px;
  background: url(../img/portal/bg-quicksearch.gif) no-repeat 10px 4px;
  height: 20px;
  border-left: 1px solid #D5D5D5;
  padding: 4px 10px 4px 10px;
}

#vspage header nav #fulltext_search input {
  background-color: transparent;
  border: medium none transparent;
  color: #666666;
  float: left;
  font-size: 11px;
  height: 17px;
  line-height: 12px;
  padding: 2px 0 2px 4px;
  width: 190px;
  float: left;
}

#vspage header nav #fulltext_search a {
  display: block;
  float: left;
  text-decoration: none;
  width: 18px;
  height: 18px;
  margin: 0 0 0 6px;
}

/******** Nav Main *****************************************************************************/
/***********************************************************************************************/

#filterdiv {
  width: 119px;
}


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


#filterdiv ul.level1 {
  left: 0;
  top: 28px;
  margin-left: -1px;
}

#filterdiv a {
  display:block;
  text-decoration:none;
}
#filterdiv ul li {
  float:left;
}
#filterdiv ul ul li:hover > a,
#filterdiv ul ul li.active > a {
  background:#424242;
}
#filterdiv li ul a:hover,
#filterdiv li ul a.active,
#filterdiv li ul a:hover,
#filterdiv ul li li:hover > a  {
  background:#424242;
  color:#FFE700;
}
#filterdiv li ul {
  display:none;
  position:absolute;
  width:100px;
}
#filterdiv li:hover > ul {
  display:block;
}
#filterdiv li.level0 {
  border-right: 1px solid #D5D5D5;
  background: #FFE700;
}
#filterdiv .level0 > a {
  padding: 0 25px 0 15px;
  color: #000000;
  height:28px;
  text-align:center;
  font-weight:normal;
  font-size:15px;
  line-height:28px;
  width: 80px;
  background: url(../img/portal/marker-down.gif) 100px center no-repeat;
}
#filterdiv li li {
  background:#424242;
  border: 1px solid #6A6A6A;
  border-top: 0;
}
#filterdiv .level1 a {
  width:100px;
  text-align:left;
  color:#FFFFFF;
  font-weight:normal;
  font-size:13px;
  padding:0 0 0 20px;
  line-height:35px;
  height:35px;
}

#filterdiv ul.level2 {
  position: absolute;
  margin-left: 120px;
  margin-top: -35px;
}
#filterdiv .level2 a {
  width:130px;
  text-align:left;

  font-weight:normal;
  font-size:13px;
  padding:0 0 0 20px;
  line-height:35px;
  height:35px;
}

#filterdiv ul.level3 {
  position: absolute;
  margin-left: 150px;
  margin-top: -35px;
}
#filterdiv .level3 a {
  width:180px;
  text-align:left;
  font-weight:normal;
  font-size:13px;
  padding:0 0 0 20px;
  line-height:35px;
  height:35px;
}

/******** Legende ***************************************************************************/

#legende {
  display: inline;
  padding: 20px 5px 10px 5px;
  float: left;
}

#legende li {
  font-weight: bold;
  padding: 5px 0;
}

#legende li span {
  font-weight: normal;
}
.legende div, #legende input {
  float: left;
  margin-right: 10px;
}
#legendeprediction li {
  line-height: 32px;
  margin-right: 10px;
  float: left;
}

#legendepublic li {
  float: left;
  width: 280px;
}

#legendepublic li label {
  line-height: 38px;;
}

#legendeprediction, #legendepublic {
  display: none;
}

/******** Mapheader ***************************************************************************/

#map {
  width:500px;
  overflow: hidden;
  margin: 20px auto 0 auto;
}

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


#mapbackground {
  position: relative;
  display: block;
  margin: 0 auto;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}

#map .icon {
  position: absolute;
}

#map .icon img {
  width: 16px;
}

/******** Tooltip ******************************************************************************/

/* qTip2 Plugin */
.qtip{
  position: absolute;
  left: -28000px;
  top: -28000px;
  display: none;

  max-width: 320px;
  min-width: 50px;

  font-size: 10.5px;
  line-height: 12px;

  direction: ltr;

  box-shadow: none;
  padding: 0;
}

.qtip-content{
  position: relative;
  padding: 5px 10px;
  overflow: hidden;

  text-align: left;
  word-wrap: break-word;
}

.qtip-titlebar{
  position: relative;
  padding: 5px 15px 5px 10px;
  overflow: hidden;

  border-width: 0 0 1px;
  font-weight: bold;
}

.qtip-titlebar + .qtip-content{ border-top-width: 0 !important; }

.qtip-titlebar .ui-icon,
.qtip-icon .ui-icon{
  display: block;
  text-indent: -1000em;
  direction: ltr;
}

/* Applied to 'focused' tooltips e.g. most recently displayed/interacted with */
.qtip-focus{}

/* Applied on hover of tooltips i.e. added/removed on mouseenter/mouseleave respectively */
.qtip-hover{}

/* Default tooltip style */
.qtip-default{
  border: 1px solid #bbb;
  border-color: #CCC;
  background-color: #f6f6f6;
  color: #1d1d1b;
}

.qtip-titlebar{
  background-color: #ffdc00;
}

/******** Content ******************************************************************************/
/***********************************************************************************************/

#progress {
  display: none;
}

.outofdate {
  display: none;
  width: 100%;
  background-color: lightcoral;
  padding: 5px;
  box-sizing: border-box;
}
.outofdate-traffic #trafficoutofdate {
  display: block;
}
.outofdate-prediction #predictionoutofdate {
  display: block;
}
.outofdate-public #publicoutofdate {
  display: block;
}

.outofdate-traffic #traffictbl tbody tr td,
.outofdate-prediction #predictiontbl tbody tr td,
.outofdate-public #publictbl tbody tr td {
  background-color: #fa8a8a;
}

.outofdate-traffic #traffictbl tbody tr:nth-of-type(2n) td,
.outofdate-prediction #predictiontbl tbody tr:nth-of-type(2n) td,
.outofdate-public #publictbl tbody tr:nth-of-type(2n) td {
  background-color: lightcoral;
}

#predictionselection {
  display: none;
  width: 100%;
  padding: 5px;
  box-sizing: border-box;
  font-weight: bold;
  font-size: 12px;
}

article table {
  width: 100%;
  border: 1px solid #D5D5D5;
  margin-bottom: 10px;
}

article table tfoot td {
  background: url(../img/portal/bg-checkin.gif) repeat;
  height: 14px;
}
article table th {
  background: url(../img/portal/bg-checkin.gif) repeat;
  height: 24px;
  border: 1px solid #D5D5D5;
  padding: 2px 3px 0 3px;
}

article table td {
  border: 1px solid #D5D5D5;
  padding: 4px 5px 4px 5px;
  vertical-align: top;
}

#traffictbl, #predictiontbl, #publictbl {

}

#traffictbl .col4 .street {
  display: none;
}

@media screen and (max-width: 767px) {
  #traffictbl .col2, #predictiontbl .col2 {
    display: none;
  }

  #traffictbl .col4 .street {
    display: inline;
  }

  #publictbl .col2 {
    display: none;
  }

  #traffictbl .col5 {
    display: none;
  }
}

#traffictbl .col1, #predictiontbl .col1, #publictbl .col1 {
  width: 32px;
  vertical-align: middle;
}

#traffictbl .col2, #predictiontbl .col2 {
  width: 10%;
  max-width: 100px;
}
#publictbl .col2 {
  width: 10%;
}


#traffictbl .col3, #predictiontbl .col3 {
  width: 20%;
}

#traffictbl .col4, #predictiontbl .col4, #publictbl .col4 {
  width: auto;
}

#traffictbl .col5 {
  width: 80px;
}

#traffictbl .col6, #predictiontbl .col6, #publictbl .col6 {
  width: 10%;
  max-width: 94px;
}

#vspage article table thead th.sortable {
  background-image: url(../img/sort-bg.gif?v=2);
  background-repeat: no-repeat;
  background-position: center right;
  cursor: pointer;
}

#vspage article table thead th.sortable span {
  display: none;
}

#vspage article table thead th.col1 {
  background-position: -360px center;
}
#vspage article table tbody tr:nth-of-type(2n) td {
  background-color:#F8F8F8;
}
#vspage article table thead tr .headerSortUp {
  background-image: url(../img/sort-asc.gif?v=2);
}
#vspage article table thead tr .headerSortDown {
  background-image: url(../img/sort-desc.gif?v=2);
}

#vspage .opticon {
  height: 24px;
  padding: 4px;
}

#vspage .trafficalerticon {
  cursor: pointer;
}

/******** Footer *******************************************************************************/
/***********************************************************************************************/


