#tx_ks_psychiatrie {
   margin-bottom: 40px;
}

#psychiatrie .map_warning {
   position: absolute;
   right: 3%;
   top: 5%;
   width: 43%;
   padding: 10px;
   background: white;
   min-width: 265px;
}

#psychiatrie .map {
  position: relative;
  max-width: 100% !important;
  margin-bottom: 0px !important;
}

#psychiatrie .map img {
   border: 1px solid #444;
   width: 100%;
}

#psychiatrie .legend {
   border-width: 1px 1px 0 1px;
   border-style: solid;
   border-color: #444;
   padding: 0px;
   background-image: linear-gradient(0deg, #ddd 0%,#bbb 50%, #ddd 100%);
   position: relative;
   width: 265px;
   font-size: 1em;
   line-height: 1.5;
}

#psychiatrie_mobile .legend {
   padding: 0px;
   background-image: linear-gradient(0deg, #ddd 0%,#bbb 50%, #ddd 100%);
   position: relative;
   width: 100%;
   font-weight: bold;
   margin: 2em auto;
   line-height: 1.5;
}

#psychiatrie_mobile .legend table,
#psychiatrie .legend table {
   margin: 0;
   padding: 0;
   border: none;
   border-collapse: collapse;
}

#psychiatrie_mobile .legend table td,
#psychiatrie .legend table td {
   padding: 5px;
   font-weight: bold;
   border-right: 0px;
   border-bottom: 1px solid #fff;
}

#psychiatrie_mobile .legend table tr:nth-child(2n+1),
#psychiatrie .legend table tr:nth-child(2n+1) {
   background: none;
}

#psychiatrie_mobile .legend .red,
#psychiatrie .legend .red {
   color: red;
}

#psychiatrie_mobile .legend .yellow,
#psychiatrie .legend .yellow {
   color: yellow;
}

#psychiatrie_mobile .legend .blue,
#psychiatrie .legend .blue {
   color: blue;
}

#psychiatrie #selectBox {
   width: 100%;
}

#psychiatrie_mobile .pin,
#psychiatrie .pin {
   position: absolute;
   width: 16px;
   height: 16px;
   border: 1px solid #000;
   border-radius: 50%;
   text-decoration: none !important;
   transition: 800ms;
}

#psychiatrie .pin.primary_location {
   width: 20px;
   height: 20px;
   border: 2px solid #000;
}

#psychiatrie_mobile .pin {
   position: relative;
}

#psychiatrie .pin:hover {
   z-index: 10;
   transform: scale(1.5);
}

#psychiatrie_mobile .pin.blue,
#psychiatrie .map .blue {
   background-color: blue;
}

#psychiatrie_mobile .pin.yellow,
#psychiatrie .map .yellow {
   background-color: yellow;
}

#psychiatrie_mobile .pin.red,
#psychiatrie .map .red {
   background-color: red;
}

#psychiatrie_mobile .pin.blue.yellow,
#psychiatrie .map .blue.yellow {
   background-image: linear-gradient(90deg,  blue 0%,  blue 50%, yellow  50%, yellow  100%);
}

#psychiatrie_mobile .pin.blue.red,
#psychiatrie .map .blue.red {
   background-image: linear-gradient(90deg,  blue 0%,  blue 50%, red  50%, red  100%);
}

#psychiatrie_mobile .pin.red.yellow,
#psychiatrie .map .red.yellow {
   background-image: linear-gradient(90deg,  red 0%,  red 50%, yellow  50%, yellow  100%);
}

#psychiatrie_mobile .pin.blue.red.yellow,
#psychiatrie .map .blue.red.yellow {
   background-image: linear-gradient(90deg,  blue 0%,  blue 33%, red  33%, red  66%, yellow 66%, yellow 100%);
}


#psychiatrie_mobile .pin.white,
#psychiatrie .map .white {
   background-color: #fff;;
}


#tx_ks_psychiatrie .panel-title > a.red {
   color: red !important;
}

#tx_ks_psychiatrie h1 {
   font-weight: bold;
}

#tx_ks_psychiatrie .further_location {
   margin-bottom: 2em;
}

#selectBoxMobile {
   padding: 1em;
   width: 100%;
}

#tx_ks_psychiatrie #legend_infotext_wrapper {
   padding: 0;
}

#tx_ks_psychiatrie #legend_infotext_wrapper p.subline {
   margin: 0;
}

#tx_ks_psychiatrie #legend_infotext_wrapper > div.row {
   display: flex;
   align-items: center;
   padding: 0 15px;
}

#tx_ks_psychiatrie #legend_infotext_wrapper .text_subline {
   padding: 0 15px;
}

#psychiatrie .content {
   border-width: 0 1px 1px 1px;
   border-style: solid;
   border-color: #444;
   background-color: #E5E5EF;
   padding: 1em;
}

#psychiatrie .content.alternative {
   font-size: 0.8em;
   background-color: #444;
   color: #fff;;
}

#psychiatrie_mobile .content {
   border: none;
   background-color: #E5E5EF;
   padding: 1em;
}

table.beds_treatments tfoot {
   font-size: 0.8em;
}

table.beds_treatments tfoot p:last-of-type {
   margin-bottom: 0;
}

#tx_ks_psychiatrie .carrier_black {
   color: #000;
   font-weight: bold;
}


.beds_treatments td:nth-child(2) {
   width: 100px;
}


#p625 .infobox,
#p626 .infobox,
#p627 .infobox,
#p628 .infobox,
#p629 .infobox,
#p630 .infobox {
   border: 2px solid red;
   width: calc(100% - 110px);
   padding: 1em;

}

#p625 .infobox p,
#p626 .infobox p,
#p627 .infobox p,
#p628 .infobox p,
#p629 .infobox p,
#p630 .infobox p {
   margin: 0;
}


@media only screen and (min-width:992px) {
   #p625 .infobox,
   #p626 .infobox,
   #p627 .infobox,
   #p628 .infobox,
   #p629 .infobox,
   #p630 .infobox {
      width: calc(100% - 160px);
   }
}

@media only screen and (min-width:1200px) {
   #p625 .infobox,
   #p626 .infobox,
   #p627 .infobox,
   #p628 .infobox,
   #p629 .infobox,
   #p630 .infobox {
      width: calc(100% - 200px);
   }
}
