.hideType{
  display: none;
}

.editContainer, .actionForm{
  padding: 2rem;
}

.select-type {
  height:22px;
  line-height:22px;
  vertical-align:middle;
  position:relative;
  background:white;
  border:1px solid #ccc;
  overflow:hidden;
}

.showSelect::after {
  content:"";
}

.showSelect {
  overflow:visible;
}

.showSelect .options .option label {
  display:inline-block;
}

.showSelect .options {
  background:white;
  border:1px solid #39f;
  position:absolute;
  top:-1px;
  left:-1px;
  width:100%;
  height:auto;
  overflow-y:hidden;
}

.select-type .options .option {
  overflow:hidden;
}

.showSelect .options .option {
  /*height:80px;*/
  overflow:hidden;
}

.select-type .options .option img {
  vertical-align:middle;
}

.select-type .options .option label {
  display:none;
}

.select-type .options .option input {
  width:0;
  height:0;
  overflow:hidden;
  margin:0;
  padding:0;
  float:left;
  display:inline-block;
  /* fix specific for Firefox */
  position: absolute;
  left: -10000px;
}

.select-type .options .option input:checked + label {
  display:block;
  width:100%;
}

.showSelect .options .option input + label {
  display:block;
}

.showSelect .options .option input:hover +label {
  background:#39f;
  color: white;
}






.picto .tooltip {visibility: hidden}
.picto:hover .tooltip {
    visibility: visible;
}
.tooltip text {
    fill: black;
    font-size: 12px;
    font-family: sans-serif;
}
.tooltip rect {
    fill: yellow;
    stroke: blue;
}

#dreieck_bg{
  fill: rgb(88,93,110);
}

.css-grid {
  padding-top: 20px;
  display: grid;
  grid-template-columns: repeat(12,1fr);
  grid-template-rows: auto;
}
textarea{
  min-width: 100% !important;
  max-height: 500px;
}
.cardlink:hover {
  text-decoration: none;
}
.editbutton {
  background-color: #00ffff;
  color: #000;
}
.editbutton:hover {
  background-color: #00ccff;
}
.moredetails {
  width: 100%;
  margin-bottom: 1em !important;
  padding-bottom: 1.5em;
  display: none;
}
.moredetails * {
  margin: 0 !important;
}
.moredetails h2, .moredetails h4{
  margin: 0 0 8px 0  !important;
}
.moredetails .replacementbus {
  font-style: italic;
  color: #fff !important;
}
.grid {
  grid-column: 2/12;
  position: relative;
}

.Baustelle {
  width: 40px;
  height: 40px;
  margin-top: 30%;
  margin-left: 30%;
}

#zoom {
  overflow: none;
}
#boxSVG{
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
#frame {
  margin-bottom: 16px;
  overflow: hidden;
  flex-shrink: 1;
  width: 100%;
  margin: 0;
}
#tracksSVG {
  width: 100%;
  height: auto;
}
#controls{
  position: absolute;
  /*display: flex;
  flex-direction: column;
  align-items: center;*/
  bottom: 0;
  right: 0;
  height: 100px;
  width: 40px;
  box-sizing: border-box;
  text-align: center;
  margin: 0rem 0.5rem 2rem 0rem;
  background-image: url(../img/zoomBg.png);
  background-size: cover;
  /*display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;*/
}
#controls div{
  display: inline-block;
  height: 25px;
  width: 25px;
  border: none;
  cursor: pointer;
  /*background-size: cover;*/
  z-index: 1;
  margin: 0.35rem 0rem 0.05rem 0.05rem;
}
#controls div img{
  height: 25px;
  width: 25px;
}
#incidentTable, .moredetails{
  margin-top: 1rem;
}
form.webform-submission-form .form-item.form-type-textfield textarea {
  min-width: 100%
}

form.webform-submission-form .form-item.form-type-textfield label {
  display: inline;
}

.pika-label:after {
    content:" \25be" !important;
}
/*.pictogram {
  left: 0;
  top: 0;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 2.5em;
  height: 1.6em;
  position: absolute;
  image-rendering: optimizeQuality;          Firefox 
  image-rendering: crisp-edges;
  -ms-interpolation-mode: nearest-neighbor;   IE (non-standard property) 
}*/
.activeRoute {
  z-index: +1;
  pointer-events: none;
}

.form-item > select[value=]{
  opacity: .5 !important;
}
/* #zoom{
  cursor: zoom-in;
} */
.uk-align-right {
  margin-bottom: 0px;
}
.moreinfo {
  /* transition: visibility 0s, opacity .3s cubic-bezier(1.000, 0, 1.000, -1);
  opacity: 0;
  visibility: hidden;
  position: absolute !important; */
  display: none;
  word-wrap: break-word;
}
td {
  user-select: none;
}
.webform-submission-form {
    padding-top: 1em;
}
.expanded td .moreinfo{
  /* visibility: visible; */
  display: inline;
  opacity: 1;
  position: relative !important;
}
.t-title {
  font-weight: 600;
  margin-bottom: 0;
}
#rType {
  width: 25% !important;
}
#rPath {
  width: 50% !important;
}
#rDate {
  width: 25% !important;
}
#switchContainer {
  display: flex;
}
.switchHidden {
  color: white;
  display: none;
}
.topright {
  right: 0 !important;
}
.topright * {
  padding: 0;
  width: 5em;
}
.front {
  z-index: 1000;
}
.button-zb {
  background-color: #dd291a;
  color: white;
}
.selected {
  background-color: #dd291a;
  color: white;
  font-weight: bold;
}
#backgroundMap, #foregroundMap{
  visibility: visible;
  opacity: 1;
}

@media (max-width: 600px) {
  /*.pictogram {
    left: 0;
    top: 0;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 1.75em;
    height: 1.6em;
    position: absolute;
    image-rendering: optimizeQuality;         
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;  
  }*/
  .activeRoute {
    z-index: +1;
    pointer-events: none;
  }
  h2 {
    font-size: 1.4rem;
  }
  h4 {
    font-size: 1.1rem;
  }
  h5 {
    font-size: 1rem;
  }
  html{
    font-size: 1rem;
  }
  #controls{
    margin:0rem 0.2rem 1.2rem 0rem;
  }
}

/*
 * Map
 */

/*
Rules after here can be removed in the final version


*/