* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.hidden {
  display: none;
}

#umfrage-embed {
	font-family: 'Lato', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
	position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1200;
}

#umfrage-embed .tint-view {
	position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  top: 0;
  left: 0;
}

#umfrage-embed button {
  background-color: transparent;
  border: none;
}

#umfrage-form {
  display: flex;
  color: white;
  height: 600px;
  max-height: 100%;
  width: 400px;
  background: #2d5166;
  border-radius: 7px;
  overflow: hidden;
  z-index: 1;
  align-self: center;
}

#umfrage-embed .content {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 15px;
  width: 100%;
}

#umfrage-embed .page-title {
  font-size: 17px;
  font-weight: bold;
  margin-bottom: 10px;
  padding: 0px 40px;
  text-align: center;
  min-height: 30px;
}

#umfrage-embed .page-title.dialog-title {
  flex: 1;
  align-content: center;
  text-align: center;
  padding: 50px;
  height: 90%;
}

#umfrage-embed .page-explanation {
  margin-bottom: 10px;
  padding: 0px 10px;
}

#umfrage-embed .option-container {
  flex: 1;
}

#umfrage-embed .page-option {
  cursor: pointer;
  background-color: #5d7a8e;
  border-radius: 7px;
  text-align: left;
  width: 100%;
  height: 50px;
  padding: 0px 10px 0px 50px;
  margin-bottom: 10px;
  border: none;
  color: white;
  font-size: 15px;  
  background-position: left;
  background-repeat: no-repeat;
  background-size: 50px 50px;
  align-content: center;
}

#umfrage-embed .page-option.checkbox {
  background-image: url(img/checkbox-off.png);
}

#umfrage-embed .page-option.checkbox.active {
  background-image: url(img/checkbox-on.png);
}

#umfrage-embed .page-option.radio {
  background-image: url(img/radio-off.png);
}

#umfrage-embed .page-option.radio.active {
  background-image: url(img/radio-on.png);
}

#umfrage-embed .dropdown-container.sublevel .page-option.checkbox {
  background-image: url(img/checkbox-off-pos.png);
}

#umfrage-embed .dropdown-container.sublevel .page-option.checkbox.active {
  background-image: url(img/checkbox-on-pos.png);
}

#umfrage-embed .dropdown-container.sublevel .page-option.radio {
  background-image: url(img/radio-off-pos.png);
}

#umfrage-embed .dropdown-container.sublevel .page-option.radio.active {
  background-image: url(img/radio-on-pos.png);
}

#umfrage-embed .page-option.active {
  background-color: #b33021;
}

#umfrage-embed .page-option.dropdown {
  position: relative;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
}

#umfrage-embed .page-option.dropdown.open {
  margin-bottom: 0px;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
}

#umfrage-embed .page-option.dropdown::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  background-image: url(img/unten.png);
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease-in-out;
}

#umfrage-embed .page-option.dropdown.open::before {
  transform: rotate(180deg);
}

#umfrage-embed .dropdown-container {
  overflow: hidden;
}

#umfrage-embed .dropdown-container.collapsed {
  display: none;
  height: 0px;
}

#umfrage-embed .dropdown-container.sublevel.active {
  background-color: #cbd6e0;
  margin-bottom: 10px;
  border-bottom-right-radius: 7px;
  border-bottom-left-radius: 7px;
}

#umfrage-embed .dropdown-container.sublevel .page-option {
  background-color: transparent;
  color: #2d5166;
}

#umfrage-embed .dropdown-container.sublevel:last-child {
  margin-bottom: 0px;
}

#umfrage-embed .close-dialog, #umfrage-embed .close-alert {
  cursor: pointer;
  width: 50px;
  height: 50px;
  background-size: 50px;
  background-image: url(img/abbrechen.png);
  position: absolute;
  right: 3px;
  top: 3px;
}

#umfrage-embed .help {
  cursor: pointer;
  width: 50px;
  height: 50px;
  background-size: 50px;
  background-image: url(img/info.png);
  position: absolute;
  left: 3px;
  top: 3px;
}

#umfrage-embed .navi-next, #umfrage-embed .navi-back, #umfrage-embed .button {
  cursor: pointer;
  background-color: #00963e;
  height: 50px;
  width: 50px;
  border-radius: 7px;
  background-size: 50px;
}

#umfrage-embed .navi-back.invisible {
  opacity: 0;
}

#umfrage-embed .navi-next.disabled {
  opacity: 0.5;
  cursor:not-allowed;
}

#umfrage-embed .button {
  width: auto;
  color: white;
  padding: 10px;
}

#umfrage-embed button.page-option input {
  display: inline-block;
  margin: 5px;
  padding: 5px;
  border: none;
  border-radius: 8px;
}

#umfrage-embed .bottom-navi {
  display: flex;
}

#umfrage-embed .navi-page-indicator {
  display: flex;
  flex: 1;
  justify-content: center;
  padding: 0px 20px;
}

#umfrage-embed .navi-page-indicator .dot {
  height: 50px;
  width: 25px;
  flex: 1;
  background-size: 30px;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url(img/radio-off.png);
}

#umfrage-embed .navi-page-indicator .dot.active {
  background-image: url(img/radio-on.png);
}

#umfrage-embed .navi-next {
  background-image: url(img/rechts.png);
}

#umfrage-embed .navi-back {
  background-image: url(img/links.png);
}

#umfrage-embed .navi-next.last {
  background-image: url(img/haekchen.png);
}

#umfrage-embed .pager-container {
  flex: 1;
  width: 100%;
  overflow: hidden;
  position: relative;
}

#umfrage-embed .pager {
  height: 100%;
  display: flex;
  transition: transform 0.5s ease-in-out;
}

#umfrage-embed .page {
  min-width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  overflow-y: scroll;
  align-items: start;
  font-size: 17px;
  border: 1px solid #2d5166;
  pointer-events: none;
  user-select: none;
}

#umfrage-embed .page.active {
  pointer-events: auto;
  user-select: auto;
}

#umfrage-embed .alert {
  position: absolute;
  display: none;
  flex-direction: column;
  padding: 15px;
  color: white;
  width: 350px;
  min-height: 100px;
  background: #5d7a8e;
  border-radius: 7px;
  z-index: 1;
  box-shadow: 3px 3px 10px 2px rgba(0,0,0,0.75);
}

#umfrage-embed .alert-title {
  font-size: 17px;
  font-weight: bold;
  margin-bottom: 10px;
}

#umfrage-embed .alert-content {
  margin: 10px 0px;
}

#umfrage-embed textarea {
	font-family: 'Lato', sans-serif;
  width: 100%;
  border: none;
  border-radius: 7px;
  color: black;
  padding: 10px;
  margin-bottom: 10px;
  min-height: 200px;
}

#umfrage-embed .question-title {
  padding: 10px;
  margin-top: 5px;
}

.map-container, .iframe-container {
	position: relative;
	height: 100%;
	width: 100%;
	padding-bottom: 10px;
}

.map {
	height: 100%;
	width: 100%;
	background-color: white;
	border-radius: 8px;
	overflow: hidden;
}

.iframe {
	height: 100%;
	width: 100%;
	border-radius: 8px;
	overflow: hidden;
	border: none;
}

.leaflet-editing-icon {
	border-radius: 20px;
}

.tool-navigation {
	position: absolute;
	right: 5px;
	top: 5px;
	z-index: 1000;
}

.tool-navigation button {
  margin: 5px;
}

.map .leaflet-tile-pane .leaflet-layer:first-child {
	filter: saturate(30%) brightness(102%);
}

.leaflet-filled-circle {
	fill: url(#gs-gradient) #2d5166;
}

@media (max-width: 400px) {
  #umfrage-embed .navi-page-indicator .dot {
    width: 20px;
    background-size: 20px;
  }
}
@media (max-width: 350px) {
  #umfrage-embed .navi-page-indicator .dot {
    display: none;
  }
}
