body {
  margin: 0;
  padding: 0;
  font-family: "Raleway", sans-serif;
  font-size: 10px;
}

select,
option {
  -webkit-appearance: none; /* WebKit/Chromium */
  -moz-appearance: none; /* Gecko */
  appearance: none; /* future (or now) */
}

/* Internet Explorer 10–11 and Edge */
select::-ms-expand {
  display: none;
}

#left-panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 400px;
  z-index: 900;
  overflow: hidden;
}

#scrollbox-desktop {
  position: absolute;
  top: 56px;
  bottom: 75px;
  width: 100%;
  width: 100%;
  padding: 0px;
  overflow: scroll;
  background-color: #009fe3;
}

#big-map {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  left: 400px;
  z-index: 700 !important;
}

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

#header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  width: 100%;
  background-color: #0082d7;
  color: white;
  z-index: 1000;
}

#header-desktop {
  position: absolute;
  top: 0;
  height: 56px;
  width: 100%;
  background-color: #0082d7;
  color: white;
}

#vielmobil-logo {
  height: 32px;
  padding: 12px 0px 12px 20px;
}

#open-about-panel-btn {
  height: 24px;
  width: 24px;
  margin: 16px;
  float: right;
  background-image: url("images/burger-menu.svg");
  background-repeat: no-repeat;
  background-size: 24px 16px;
  background-position: center;
  background-color: rgba(0, 0, 0, 0);
  border: none;
}

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

#footer-desktop {
  position: absolute;
  bottom: 0;
  height: 75px;
  width: 100%;
  background-color: #0082d7;
  color: white;
}

#footer-links {
  width: 50%;
  float: left;
  padding: 16px 16px;
  box-sizing: border-box;
}

#footer-links a {
  display: block;
  height: 10px;
  color: white;
  font-size: 8pt;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  padding: 3px 0px;
}

#footer-media {
  width: 50%;
  float: left;
  padding: 16px;
  box-sizing: border-box;
}

#footer-social-media-box {
  margin-left: auto;
  margin-right: auto;
  height: 60px;
  display: flex;
  justify-content: space-around;
}

#footer-social-media-box div {
  background-repeat: no-repeat;
  background-size: 30px 30px;
  background-position: center;
  width: 40px;
  height: 40px;
}

/***********/
/* Buttons */
/***********/

#toggle-panel-btn {
  background-repeat: no-repeat;
  background-size: 48px 48px;
  background-position: center;
  background-color: rgba(0, 0, 0, 0);
  background-image: url("images/pfeil-auffi.svg");
  z-index: 1001 !important;
  position: absolute;
  top: 32px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  height: 48px;
  width: 48px;
  border-radius: 24px;
  border: none;
}

#next-step-btn {
  background-repeat: no-repeat;
  background-size: 48px 48px;
  background-position: center;
  background-color: rgba(0, 0, 0, 0);
  background-image: url("images/pfeil-owi.svg");
  z-index: 1000 !important;
  position: absolute;
  top: 224px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  height: 48px;
  width: 48px;
  border-radius: 24px;
  border: none;
}

/*****************/
/* Routing Panel */
/*****************/

#routing-panel {
  position: absolute;
  top: 56px;
  right: 0;
  left: 0;
  height: 150px;
  z-index: 900;
  background-color: #009fe3;
  padding: 26px 16px 16px 16px;
}

#routing-panel-desktop {
  width: 100%;
  background-color: #009fe3;
  padding: 8px 16px;
  box-sizing: border-box;
}

.addr-input-box {
  position: relative;
  left: 0;
  right: 0;
  height: 50px;
  padding: 0px;
}

#orig-input,
#dest-input {
  width: 100%;
  margin-top: 6px;
  margin-bottom: 10px;
  padding-bottom: 4px;
  background-color: rgba(0, 0, 0, 0);
  font-size: 12pt;
  font-family: "Raleway", sans-serif !important;
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  border-top: none;
  border-left: none;
  border-right: none;
  border-radius: 0;
  color: white;
  box-sizing: border-box;
}

::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.text-fade-out {
  width: 40px;
  height: 28px;
  position: absolute;
  right: 0px;
  top: 0px;
  background-image: linear-gradient(
    to right,
    rgba(0, 159, 227, 0),
    rgba(0, 159, 227, 1)
  );
  z-index: 1001 !important;
}

.ui-autocomplete {
  width: 90%;
  z-index: 910 !important;
}

.ui-autocomplete-mob {
  font-size: 12pt !important;
}

.ui-menu-item-wrapper {
  display: table-cell;
  padding: 4px !important;
}

.ui-menu-item {
  display: table;
  font-family: "Raleway", sans-serif !important;
}

.ui-state-active {
  width: 90%;
}

.addr-clear-btn {
  width: 20px;
  height: 30px;
  position: absolute;
  right: 0px;
  top: 0px;
  cursor: pointer;
  background-repeat: no-repeat;
  background-size: 12px 12px;
  background-position: center;
  background-color: rgba(0, 0, 0, 0);
  background-image: url("images/x.svg");
  z-index: 1001 !important;
}

#routing-time-box {
  display: flex;
  justify-content: space-between;
}

#routing-time-type {
  width: 31%;
  margin: 6px 0px 10px 0px;
  padding: 0px 0px 4px 0px;
  background-color: rgba(0, 0, 0, 0);
  font-size: 12pt;
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  border-top: none;
  border-left: none;
  border-right: none;
  border-radius: 0;
  color: white;
  box-sizing: border-box;
  text-align: left;
  text-align-last: left;
  font-family: "Raleway", sans-serif !important;
}

#routing-time-picker {
  width: 31%;
  margin: 6px 0px 10px 0px;
  padding: 0px 0px 5px 0px;
  background-color: rgba(0, 0, 0, 0);
  font-size: 12pt;
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  border-top: none;
  border-left: none;
  border-right: none;
  color: white;
  box-sizing: border-box;
  text-align: center;
  font-family: "Raleway", sans-serif !important;
}

#routing-date-picker {
  width: 31%;
  margin: 6px 0px 10px 0px;
  padding: 0px 0px 5px 0px;
  background-color: rgba(0, 0, 0, 0);
  font-size: 12pt;
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  border-top: none;
  border-left: none;
  border-right: none;
  color: white;
  box-sizing: border-box;
  text-align: center;
  font-family: "Raleway", sans-serif !important;
}

/******************/
/* Overview Panel */
/******************/

#overview-panel {
  position: absolute;
  top: 56px;
  right: 0;
  left: 0;
  height: 88px;
  z-index: 910;
  background-color: #009fe3;
  padding: 32px 16px 32px 16px;
}

#overview-panel-desktop {
  width: 100%;
  background-color: #009fe3;
  padding: 8px 16px;
  box-sizing: border-box;
  opacity: 0.5;
}

.panel-active {
  opacity: 1 !important;
}

.overview-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.ov-result {
  height: 40px;
  width: 32%;
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background-repeat: no-repeat;
  background-position: left;
  background-position-x: 8px;
  background-color: rgba(0, 0, 0, 0);
  background-size: 30px 30px;
  padding: 9px 5px 9px 30px;
  box-sizing: border-box;
  text-align: center;
  color: white;
  position: relative;
}

.ov-sit-indicator {
  position: absolute;
  background-color: #e20613;
  width: 12px;
  height: 12px;
  top: 0px;
  right: -4px;
  border: none;
  border-radius: 6px;
}

.ov-selectable {
  cursor: pointer;
}

.ov-selected {
  background-color: rgba(255, 255, 255, 1);
  color: #009fe3;
}

.ov-dur {
  font-size: 12pt;
}

#ov-bike {
  background-image: url("images/bike-white.svg");
}
#ov-bike.ov-selected {
  background-image: url("images/bike-blue.svg");
}
#ov-walk {
  background-image: url("images/walk-white.svg");
}
#ov-walk.ov-selected {
  background-image: url("images/walk-blue.svg");
}
#ov-pt {
  background-image: url("images/pt-white.svg");
}
#ov-pt.ov-selected {
  background-image: url("images/pt-blue.svg");
}
#ov-car {
  background-image: url("images/car-white.svg");
}
#ov-car.ov-selected {
  background-image: url("images/car-blue.svg");
}
#ov-br {
  background-image: url("images/br-white.svg");
}
#ov-br.ov-selected {
  background-image: url("images/br-blue.svg");
}
#ov-pr {
  background-image: url("images/pr-white.svg");
}
#ov-pr.ov-selected {
  background-image: url("images/pr-blue.svg");
}

.wave {
  padding-top: 5px;
}
.dot {
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.5);
  display: inline-block;
  border-radius: 50%;
  right: 0px;
  bottom: 0px;
  margin: 0px 1.5px;
  position: relative;
  animation: jump 1s infinite;
}
.dot-1 {
  -webkit-animation-delay: 100ms;
  animation-delay: 100ms;
}
.dot-2 {
  -webkit-animation-delay: 200ms;
  animation-delay: 200ms;
}
.dot-3 {
  -webkit-animation-delay: 300ms;
  animation-delay: 300ms;
}
@keyframes jump {
  0% {
    bottom: 0px;
  }
  20% {
    bottom: 5px;
  }
  40% {
    bottom: 0px;
  }
}

/********************/
/* Route List Panel */
/********************/

#route-list-panel {
  position: absolute;
  top: 56px;
  right: 0;
  left: 0;
  z-index: 910;
  background-color: #009fe3;
  padding: 32px 16px 6px 16px;
}

#route-list-panel-desktop {
  width: 100%;
  background-color: #009fe3;
  padding: 0px 16px;
  box-sizing: border-box;
}

.route-list-entry {
  height: 40px;
  padding: 12px 0px;
  background-repeat: no-repeat;
  background-position: left;
  background-size: 40px 40px;
  background-color: rgba(0, 0, 0, 0);
  color: white;
  font-size: 16px;
  position: relative;
}

.list-type-walk {
  background-image: url("images/walk-circle-white.svg");
}
.list-type-bike {
  background-image: url("images/bike-circle-white.svg");
}
.list-type-car {
  background-image: url("images/car-circle-white.svg");
}
.list-type-pr {
  background-image: url("images/pr-circle-white.svg");
}
.list-type-br {
  background-image: url("images/br-circle-white.svg");
}
.list-type-pt {
  background-image: url("images/pt-circle-white.svg");
}

.route-list-first-line {
  height: 20px;
  padding-left: 60px;
  font-weight: bold;
}

.route-list-second-line {
  height: 20px;
  padding-left: 60px;
}

.route-list-btn {
  height: 40px;
  width: 40px;
  float: right;
  position: absolute;
  top: 12px;
  right: 0px;
  border: 0px solid white;
  border-radius: 20px;
  background-color: white;
  background-image: url("images/pfeil-owi.svg");
  background-position: center;
  background-size: 48px 48px;
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  transform: rotate(-90deg);
  cursor: pointer;
}

.route-list-sit-indicator {
  position: absolute;
  background-color: #e20613;
  width: 12px;
  height: 12px;
  top: 28px;
  right: 0px;
  border: none;
  border-radius: 6px;
}

/***********************/
/* Route Details Panel */
/***********************/

#route-details-panel {
  position: absolute;
  top: 56px;
  right: 0;
  left: 0;
  z-index: 910;
  background-color: #009fe3;
  padding: 32px 16px 6px 16px;
}

.route-details-desktop {
  background-color: rgba(0, 130, 215, 0.5);
  padding: 0px 10px;
}

.route-details-leg {
  height: 54px;
  padding: 2px 0px;
  color: white;
  font-size: 16px;
  position: relative;
}

.route-details-leg-last {
  height: 24px;
  padding: 2px 0px;
  color: white;
  font-size: 16px;
  position: relative;
}

.leg-start-time {
  display: inline-block;
  width: 60px;
  height: 24px;
}

.route-details-desktop .leg-start-time {
  width: 50px;
}

.leg-end-time {
  display: inline-block;
  width: 60px;
  height: 20px;
}

.route-details-desktop .leg-end-time {
  width: 50px;
}

.leg-start-location {
  display: inline-block;
  height: 20px;
  overflow: hidden;
  position: absolute;
}

.leg-end-location {
  display: inline-block;
  height: 20px;
  overflow: hidden;
  position: absolute;
}

.leg-info {
  height: 30px;
  padding-left: 60px;
  background-repeat: no-repeat;
  background-position: left;
  background-color: rgba(0, 0, 0, 0);
  background-position-x: 2px;
  background-size: 30px 30px;
  opacity: 0.5;
  line-height: 30px;
  overflow: hidden;
}
.route-details-desktop .leg-info {
  padding-left: 50px;
}

.leg-type-walk {
  background-image: url("images/walk-white.svg");
}
.leg-type-bike {
  background-image: url("images/bike-white.svg");
}
.leg-type-car {
  background-image: url("images/car-white.svg");
}
.leg-type-pr {
  background-image: url("images/pr-white.svg");
}
.leg-type-br {
  background-image: url("images/br-white.svg");
}
.leg-type-pt {
  background-image: url("images/pt-white.svg");
}
.leg-type-bus {
  background-image: url("images/bus-white.svg");
}

.route-details-situation {
  min-height: 30px;
  padding: 2px 0px;
  color: white;
  font-size: 16px;
  position: relative;
}

.leg-sit-info {
  height: 30px;
  padding-left: 60px;
  background-repeat: no-repeat;
  background-position: left;
  background-color: rgba(0, 0, 0, 0);
  background-position-x: 2px;
  background-size: 30px 30px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 30px;
  overflow: hidden;
  cursor: pointer;
}

.leg-sit-detail {
  padding-left: 50px;
  color: rgba(255, 255, 255, 0.5);
}

.route-details-desktop .leg-sit-info {
  padding-left: 50px;
}

.leg-sit-type-umwelt {
  background-image: url("images/icon-umwelt.svg");
}
.leg-sit-type-event {
  background-image: url("images/icon-event.svg");
}

/***************/
/* About Panel */
/***************/

#about-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: #0082d7;
  color: white;
  z-index: 1002;
  text-align: center;
}

#about-panel-center-box {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

#about-vielmobil-logo {
  height: 32px;
  margin: 30px 0px 50px 0px;
}

#about-panel a {
  display: block;
  height: 40px;
  color: white;
  font-size: 16pt;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  padding: 10px 0px;
}

#close-about-panel-btn {
  height: 48px;
  width: 48px;
  display: block;
  background-repeat: no-repeat;
  background-size: 48px 48px;
  background-position: center;
  background-color: rgba(0, 0, 0, 0);
  background-image: url("images/pfeil-auffi.svg");
  border-radius: 24px;
  border: none;
  margin: 20px auto 30px auto;
}

#social-media-box {
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  height: 60px;
  display: flex;
  justify-content: space-around;
  padding: 0px 20px;
  min-width: 200px;
}

#social-media-box div {
  background-repeat: no-repeat;
  background-size: 40px 40px;
  background-position: center;
  width: 50px;
  height: 50px;
}

#mail {
  background-image: url("images/mail-icon.svg");
}
#facebook {
  background-image: url("images/facebook-icon.svg");
}
#twitter {
  background-image: url("images/twitter-icon.svg");
}

/**************/
/* Map Styles */
/**************/

#map {
  position: absolute;
  top: 56px;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
}

.orig-marker {
  background-image: url("images/marker-start-ok.svg");
  background-size: cover;
  width: 36px;
  height: 43px;
  cursor: pointer;
}

.dest-marker {
  background-image: url("images/marker-end-ok.svg");
  background-size: cover;
  width: 36px;
  height: 43px;
  cursor: pointer;
}

.br-transition-marker {
  background-image: url("images/br-transition.svg");
  background-size: cover;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.pr-transition-marker {
  background-image: url("images/pr-transition.svg");
  background-size: cover;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.vts-ctrl {
  width: 30px;
  height: 30px;
}

.vts-ctrl-icon {
  background-image: url("images/infotafel-grey.png") !important;
  background-size: 30px 30px !important;
}

.vts-active {
  background-image: url("images/infotafel-blue.png") !important;
  background-size: 30px 30px !important;
}

.alex-btn {
  float: right;
  margin: 20px 20px 0 0;
}

#disclaimer {
  position: absolute;
  top: 30px;
  left: 400px;
  margin-left: 50px;
  margin-right: 50px;
  padding: 10px;
  background-color: #0082d7;
  border-radius: 20px;
  font-size: 16px;
  z-index: 99999;
  box-sizing: border-box;
  text-align: center;
  color: white;
}

#disclaimer a {
  color: white;
}

#disclaimer > div {
  cursor: pointer;
}

#disclaimer-mobile {
  position: absolute;
  top: 300px;
  right: 20px;
  left: 20px;
  padding: 10px;
  background-color: #0082d7;
  border-radius: 20px;
  font-size: 14px;
  z-index: 99999;
  box-sizing: border-box;
  text-align: center;
  color: white;
}

#disclaimer-mobile a {
  color: white;
}

#disclaimermobile > div {
  float: right;
  width: 30px;
  cursor: pointer;
}
