/*************************************************************************
HTML ELEMENTE
**************************************************************************/
@font-face {
  font-family: "museo_slab_500";
  src: url("../fonts/Museo_Slab_500_2-webfont.eot");
  src: url("../fonts/Museo_Slab_500_2-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("../fonts/Museo_Slab_500_2-webfont.woff") format("woff"),
    url("../fonts/Museo_Slab_500_2-webfont.ttf") format("truetype"),
    url("../fonts/Museo_Slab_500_2-webfont.svg#museo_slab500") format("svg");

  font-weight: normal;
  font-style: normal;
}

html {
  height: 100%;
}
body {
  font-family: "museo_slab_500", sans-serif;
  /* font-size: 14px;*/
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
/*select {
    font-family: 'museo_slab_500';
    border: none;
    outline: none;
    border-bottom: 1px solid #FFD044;
    background: rgba(255, 255, 255, 0)
}*/
select#produktSelect {
  max-width: 208px;
}

h4.layerInfo {
  margin-bottom: 0.7em;
  border-bottom: 1px dotted #3c3c3c;
}
table {
  border-collapse: collapse;
}
table.measuring {
  margin-top: 15px;
}

::-webkit-input-placeholder {
  /* WebKit browsers */
  color: #3c3c3c;
}
:-moz-placeholder {
  /* Mozilla Firefox 4 to 18 */
  color: #3c3c3c;
  opacity: 1;
}
::-moz-placeholder {
  /* Mozilla Firefox 19+ */
  color: #3c3c3c;
  opacity: 1;
}
:-ms-input-placeholder {
  /* Internet Explorer 10+ */
  color: #3c3c3c;
}
input {
  font-family: "museo_slab_500", sans-serif;
}
input[type="email"] {
  width: 199px;
  padding-left: 5px;
  padding-right: 5px;
  font-size: 11px;
}

input[type="email"]:valid {
  border: none;
  border-bottom: 1px solid #228b22;
}
input[type="email"]:focus {
  outline: none;
}
input[type="email"]:invalid {
  border: none;
  border-bottom: 1px solid #ffd044;
}

p.grey {
  background: #c3c3c3;
}
ul.tocList li {
  padding-top: 20px;
}
span,
.small,
.medium {
  cursor: pointer;
}

a:link,
a:visited,
a:hover,
a:active,
a:focus {
  color: #337ab7;
}
li a:link {
  text-decoration: none;
  color: #ccc;
}
li a:visited {
  text-decoration: none;
  color: #ccc;
}
li a:hover {
  text-decoration: none;
  color: #ffd044;
}
a.drawerLink:hover {
  color: #ffd044 !important;
  text-decoration: none;
}
a.drawerLink:visited,
a.drawerLink:active,
a.drawerLink:link {
  text-decoration: none;
}

div .flex input[type="range"] {
  float: right;
}
/*IE Spezialbehandlung damit der transparez slider mittig ausgerichtet wird*/
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  div .flex input[type="range"] {
    padding-bottom: 15px;
  }
}

/*************************************************************************
Transparancy slider
**************************************************************************/
input[type="range"] {
  /*removes default webkit styles*/
  -webkit-appearance: none;

  /*fix for FF unable to apply focus style bug */
  border: 1px solid white;

  /*required for proper track sizing in FF*/
  width: 120px;
  display: inline;
}
input[type="range"]::-webkit-slider-runnable-track {
  /*width: 120px;*/
  height: 5px;
  background: #ddd;
  border: none;
  border-radius: 3px;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  border: none;
  height: 13px;
  width: 13px;
  border-radius: 50%;
  background: goldenrod;
  margin-top: -4px;
}
input[type="range"]:focus {
  outline: none;
}
input[type="range"]:focus::-webkit-slider-runnable-track {
  background: #ccc;
}

input[type="range"]::-moz-range-track {
  width: 120px;
  height: 5px;
  background: #ddd;
  border: none;
  border-radius: 3px;
}
input[type="range"]::-moz-range-thumb {
  border: none;
  height: 13px;
  width: 13px;
  border-radius: 50%;
  background: goldenrod;
}

/*hide the outline behind the border*/
input[type="range"]:-moz-focusring {
  outline: 1px solid white;
  outline-offset: -1px;
}

input[type="range"]::-ms-track {
  width: 120px;
  height: 5px;

  /*remove bg colour from the track, we'll use ms-fill-lower and ms-fill-upper instead */
  background: transparent;

  /*leave room for the larger thumb to overflow with a transparent border */
  border-color: transparent;
  border-width: 6px 0;

  /*remove default tick marks*/
  color: transparent;
}
input[type="range"]::-ms-fill-lower {
  background: #777;
  border-radius: 10px;
}
input[type="range"]::-ms-fill-upper {
  background: #ddd;
  border-radius: 10px;
}
input[type="range"]::-ms-thumb {
  border: none;
  height: 13px;
  width: 13px;
  border-radius: 50%;
  background: goldenrod;
}
input[type="range"]:focus::-ms-fill-lower {
  background: #888;
}
input[type="range"]:focus::-ms-fill-upper {
  background: #ccc;
}
input[type="range"]::-ms-tooltip {
  display: none;
}
/*************************************************************************
Polymer Styles
**************************************************************************/

core-toolbar {
  background-color: #ffd044;
}
paper-slider::shadow #sliderKnobInner {
  background-color: #03a9f4;
}
paper-slider::shadow #sliderBar::shadow #activeProgress {
  background-color: #03a9f4;
}

/*************************************************************************
ID'S
**************************************************************************/

#logoContainer {
  margin: 0;
  border-bottom: 1px solid #7c7c7c;
}
#left_drawer {
  width: 269px;
  max-width: 269px;
  z-index: 10;
  position: absolute;
  top: 0;
  left: 0;
  background: #3c3c3c;
  /*overflow-y: auto;*/
}
#mainContainer {
  background: #c3c3c3;
}
#map_canvas {
  height: 100%;
}
#drawerToggler {
  position: absolute;
  background: #ffd044;
  border: 1px solid black;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  top: 0;
  left: 269px;
  z-index: 10;
}

#geodatenkatalog {
  display: none;
  position: absolute;
  width: 580px;
  overflow-y: hidden;
  right: 10px;
  top: 95px;
}

#wmskatalog {
  width: 680px;
  /*height: 580px;*/
  right: 10px;
  top: 95px;
}

#ktlogFilter {
  display: inline;
  width: 40%;
  margin-right: 20px;
}

#profileGraph {
  padding-left: 15px;
  background: white;
  color: #2196f3;
  position: absolute;
  right: 0;
  bottom: 0;
  display: none;
  opacity: 0.9;
}

#height_download_button,
#profile_download_label,
#height_download {
  display: none;
}
#benutzergruppe {
  max-width: 208px;
}

#Format,
#Massstab {
  width: 100px;
}

#Benutzergruppe,
#Bestellformular {
  width: 95%;
}

#mainContentHeader {
  width: 100%;
}

#tocLayername {
  width: 145px;
  max-width: 145px;
  word-break: break-all;
  word-wrap: break-word;
}

#tocUpDown,
#tocInfo {
  width: 20px;
}
#tocToggle {
  width: 30px;
}
#printComment {
  width: 100%;
  height: 50px;
  max-height: 80px;
}
#goBack {
  color: #fff;
  padding-left: 15px;
  padding-bottom: 15px;
}

#goBack a:link {
  text-decoration: none;
  color: white;
}
#goBack a:visited {
  text-decoration: none;
  color: white;
}
#goBack a:hover {
  text-decoration: none;
  color: #ffd044;
}

#geoshop_collapse {
  background-color: white;
  padding: 15px;
  max-height: 400px;
  overflow-y: auto;
  display: none;
}

#layerContainer {
  width: 237px;
  max-width: 237px;
  border-bottom: 1px solid grey;
  /*border-radius: 5px;*/
  margin-bottom: 3px;
  padding-bottom: 3px;
}

#ajax-loader {
  padding-right: 30px;
  display: none;
}

#layerSelect {
  margin: 0;
}

#layername {
  display: block; /* noetig damit ellipsis in tabellen funktioniert */
  width: 150px;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#tocUpDown {
  font-size: 11px;
}
#removeLayer {
  font-size: 14px;
  margin-top: 3px;
}

#geoshopDownload {
  font-size: 11px;
  margin-left: 4px;
}
#activeLayers {
  padding: 10px;
}

#wmsAddressInput {
  background-color: white;
}

#wmskatalog .tt-menu {
  position: absolute !important;
  top: 40px !important;
}

#measure_collapse {
  background-color: white;
}

/*************************************************************************
KLASSEN
**************************************************************************/
.drawerLinks {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 12px;
}

.drawerLink {
  color: #ccc !important;
}

.toc {
  margin: 15px 0 5px 0;
  display: block;
  border-bottom: 1px dotted #3c3c3c;
  font-size: 15px;
}

.noDownload {
  display: inline-block;
  width: 77px;
}
.tocFont {
  font-size: 12px;
}
.measuring {
  color: black;
  font-size: 12px;
}

.layerinfoText {
  position: absolute;
  left: 18em;
}

.bold {
  font-weight: bold;
}
.bottomBordered {
  border-bottom: 1px solid grey;
  padding-bottom: 3px;
}
.topBordered {
  padding-top: 3px;
}

.iw {
  /*width: 200px;*/
  overflow: hidden;
}
.logo {
  padding: 30px 20px 10px 20px;
}
/* white background and box outline  for Info Window*/

.gm-style
  > div:first-child
  > div
  + div
  > div:last-child
  > div
  > div:first-child
  > div {
  opacity: 0.9 !important;
}
/* TYPEAHEAD STYLES */

.search {
  width: 396px;
  position: absolute;
  top: 50px;
  right: 10px !important;
  height: 33px !important; /*sonst kann man darunter nicht mit der Karte interagieren */
}

input.form-control.typeahead::-webkit-input-placeholder {
  color: #333;
}
input.form-control.typeahead:-moz-placeholder {
  color: #333;
}
input.form-control.typeahead::-moz-placeholder {
  color: #333;
}
input.form-control.typeahead:-ms-input-placeholder {
  color: #333;
}

input.form-control.typeahead {
  border: 1px solid #555;
  border-top-left-radius: 4px !important;
  border-bottom-left-radius: 4px !important;
}

.tt-menu,
.gist {
  text-align: left;
}
.twitter-typeahead {
  position: static !important;
  display: inline !important;
}
.typeahead,
.tt-query,
.tt-hint {
  width: 358px !important;
}

.typeahead {
  /*background-color: #fff;*/
  background: #ffd044
    url(../img/glyphicons/png/glyphicons-208-remove-2_small.png) no-repeat right -10px
    center;
}

.tt-query {
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.tt-hint {
  color: #999;
}
.tt-input {
  color: black;
}

.tt-menu {
  width: 398px;
  margin: 12px 0;
  padding: 8px 0;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.tt-suggestion {
  padding: 3px 20px;
  font-size: 12px;
  line-height: 24px;
}

.tt-suggestion:hover {
  cursor: pointer;
  background-color: #ffd044;
}

.tt-suggestion.tt-cursor {
  background-color: #ffd044;
}

.tt-suggestion p {
  margin: 0;
}

.gist {
  font-size: 14px;
}
/*Custom */
.tt-menu {
  max-height: 500px;
  overflow-y: auto;
}

.typeahead.x {
  background-position: right 5px center;
}

.typeahead.onX {
  cursor: pointer;
}

.empty-message {
  padding: 3px 20px;
}

.kategorie {
  margin: 0 20px 5px 20px;
  padding: 10px 0;
  border-bottom: 1px solid #ccc;
}

.suggestionImage {
  max-width: 15px;
  max-height: 15px;
}

.small {
  height: 20px;
  width: 20px;
}
.right {
  float: right;
}

.yellow {
  color: #ffd044;
}

/* CSS fuer Collapse Menu */

.collapseMenu,
.katalog {
  background: #3c3c3c;
  list-style: none;
  margin: 0;
  border-bottom: 1px solid #7c7c7c;
  color: #fff;
  display: block;
  padding: 8px 12px;
  cursor: pointer;
}

.collapseMenu:hover,
.katalog:hover {
  background: #ffd044 url("../img/hover_y.gif") left center no-repeat !important;
  color: #000 !important;
  padding-bottom: 8px !important;
}
.collapseMenu:hover span,
.katalog:hover span {
  color: #000 !important;
}
.collapse-content {
  padding: 15px;
  border: 1px solid #dedede;
  border-top: none;
  background: white;
  display: none;
  max-height: 455px;
  overflow-y: auto;
}
.orderMessage {
  display: none;
  color: green;
  font-size: 12px;
  margin-top: 10px;
}
.upDownPadding {
  padding-right: 7px;
}

.noPadding {
  padding: 0;
}

.tocCell {
  width: 22px !important;
}
.opacitySlider {
  padding-top: 2px !important;
  padding-bottom: 2px !important;
}
.closeButton {
  margin-top: 15px;
}
.input-group-addon {
  background-color: #333;
  border: none;
  cursor: pointer;
}

.nav-tabs {
  padding-bottom: 25px;
}

.dtnsatzButton {
  display: inline-block;
  float: left;
  margin-top: 10px;
  width: 250px;
  overflow: hidden;
  text-align: left;
  height: 2em;
}

#geodatenkatalog .dtnsatzButton,
.layerGroup > .collapse {
  margin-left: 10px;
}
.btn-group > .dtnsatzButton {
  width: 228px;
}
.dtnsatzButton.groupbutton {
  width: 22px;
  height: 2em;
}

.dtnsatzButton.groupbutton:before {
  content: "\2212";
  font-family: "Glyphicons Halflings";
  display: inline-block;
}

.dtnsatzButton.groupbutton.collapsed:before {
  content: "\2b";
  font-family: "Glyphicons Halflings";
  display: inline-block;
}

.wms-loader {
  display: none;
  float: right;
  margin: 0 20px;
}

.ktlogLayerName {
  max-width: 198px !important;
  text-align: initial;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.layerButtons {
  max-height: 250px;
  overflow-y: auto !important;
  overflow-x: hidden;
}

.lockImage,
.categoryImage {
  margin-top: 2px;
  width: 15px;
  height: 15px;
}

.lockImage {
  margin-right: 10px;
  z-index: 10;
}

.label {
  color: #000;
  font-weight: normal;
  padding-bottom: 0.2em;
}

.lockImage {
  height: 15px;
}

.panel-default > .panel-heading {
  background-color: #ffd044;
}

.modal-content > .modal-header {
  padding: 10px 15px;
  background-color: #ffd044;
}

.modal-body {
  margin: 10px;
}

.collapse-menu-button:hover,
.collapse-menu-button:focus {
  color: #ffd044;
}

.collapse-menu-button {
  background-color: #3c3c3c;
  color: #fff;
}

.layer-info-title {
  border-bottom: 1px solid #ccc;
}

hr.wms-owner-separator {
  margin: 10px 0 0 0;
}

/*************************************************************************
 Switch for legend Print and print progress Element
*************************************************************************/
.onoffswitch {
  position: relative;
  width: 60px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
.onoffswitch-checkbox {
  display: none;
}
.onoffswitch-label {
  display: block;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid #999999;
  border-radius: 20px;
}
.onoffswitch-inner {
  display: block;
  width: 200%;
  margin-left: -100%;
  transition: margin 0.3s ease-in 0s;
}
.onoffswitch-inner:before,
.onoffswitch-inner:after {
  display: block;
  float: left;
  width: 50%;
  height: 20px;
  padding: 0;
  line-height: 20px;
  font-size: 11px;
  color: white;
  font-family: Trebuchet, Arial, sans-serif;
  font-weight: bold;
  box-sizing: border-box;
}
.onoffswitch-inner:before {
  content: "JA";
  padding-left: 10px;
  background-color: #ffd044;
  color: #ffffff;
}
.onoffswitch-inner:after {
  content: "NEIN";
  padding-right: 10px;
  background-color: #eeeeee;
  color: #999999;
  text-align: right;
}
.onoffswitch-switch {
  display: block;
  width: 10px;
  margin: 6px;
  background: #ffffff;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 37px;
  border: 2px solid #999999;
  border-radius: 10px;
  transition: all 0.3s ease-in 0s;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
  margin-left: 0;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
  right: 0;
}

.print-progress {
  display: none;
  width: 70%;
}

.print-percent {
  display: none;
  font-size: 12px;
  margin: 0 0 0 10px;
  width: 30%;
}

.print-hint {
  display: none;
}

/*************************************************************************
 WMS Katalog Layers box
**************************************************************************/
#wmskatalog .typeahead {
  width: 100% !important; /*md-9*/
  background: none !important; /* removes x */
}

#wmskatalog .layer-search-buttons .glyphicon {
  top: 0;
}

#wmskatalog input.form-control.typeahead {
  border: 1px solid #ccc; /* analog form-control*/
}

#wmskatalog #wmsInfo {
  padding-top: 10px;
  text-wrap: avoid;
}

#wmskatalog #layerPanel {
  margin-top: 20px;
  height: calc(100% - 205px);
  height: -moz-calc(100% - 205px);
  height: -webkit-calc(100% - 205px);
}

#wmskatalog .modal-body {
  overflow: hidden;
}
#wmskatalog .wms-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#wmskatalog .wms-panel-row {
  flex-grow: 1;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

#wmskatalog .wms-panel-row.row1 {
  height: 42px;
  overflow: hidden;
}

#wmsAddressInput::-webkit-input-placeholder {
  /* WebKit browsers */
  color: #ccc;
}
#wmsAddressInput:-moz-placeholder {
  /* Mozilla Firefox 4 to 18 */
  color: #ccc;
  opacity: 1;
}
#wmsAddressInput::-moz-placeholder {
  /* Mozilla Firefox 19+ */
  color: #ccc;
  opacity: 1;
}
#wmsAddressInput:-ms-input-placeholder {
  /* Internet Explorer 10+ */
  color: #ccc;
}

/*************************************************************************
POPUP BOX
**************************************************************************/

.popup-box > div,
.popup-box > div > div {
  height: 100%;
  width: 100%;
}

.popup-box {
  display: none;
  position: fixed;
}

.popup-box .popup-head {
  background-color: lightcoral;
}

.popup-box .modal-dialog {
  margin: 0;
  width: 100%;
}

.popup-box .modal-body {
  height: calc(100% - 125px);
  height: -moz-calc(100% - 125px);
  height: -webkit-calc(100% - 125px);
  overflow: auto;
}

/*************************************************************************
RESPONSIVE
**************************************************************************

drawer is always visible on a wide screen
so menu button isn't required */

core-drawer-panel:not([narrow]) #drawerToggler {
  display: none;
}

@media screen and (max-width: 680px) {
  .search {
    width: 288px;
  }
  .typeahead {
    width: 250px !important; /*Breite des Suchfensters */
  }
  .tt-menu {
    max-height: 300px;
    width: 288px;
    overflow-y: auto;
  }
}
@media screen and (max-width: 570px) {
  #left_drawer {
    display: none;
  }

  #drawerToggler {
    left: 0;
  }

  .layerinfoText {
    position: initial;
    margin-left: 10px;
  }
}
@media screen and (max-width: 860px) {
  #geodatenkatalog {
    display: none;
  }
  #geodatenkatalog {
    visibility: hidden;
  }
  .popup-box {
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 10000;
  }
}
@media screen and (max-height: 760px) {
  .collapse-content,
  #geoshop_collapse {
    max-height: 240px;
  }
}
