@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

body {
  font-family: "Rubik", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

.accordion-icon-box {
  display: inline-block;
  width: 30px;
}

.accordion-icon {
  margin-right: 10px;
  display: inline-block;
  width: 30px;
}


textarea {
  resize: none;
}

label {
  font-weight: bold;
}


.custom-marker {
  background-color: #f00;
  /* Barva pozadí */
  border-radius: 50%;
  /* Zakulacené hrany pro vytvoření kolečka */
  width: 30px;
  /* Šířka ikony */
  height: 30px;
  /* Výška ikony */
  font-size: 18px;
  text-align: center;
  /* Uprostřed ikony */
  line-height: 40px;
  /* Uprostřed ikony */
  color: #fff;
  /* Barva ikony */
}


/* .ck-editor__editable_inline:not(.ck-comment__input *) {
    height: 600px;
    overflow-y: auto;
} */
/* Defaultní styl pro všechny editory */
.ck-editor__editable_inline:not(.ck-comment__input *) {
  overflow-y: auto;
}

/* Styl pro editor s ID "surveyDescription1" */
#mapInfoDescription+.ck-editor .ck-editor__editable_inline {
  height: 600px;
}

#featureDescription+.ck-editor .ck-editor__editable_inline {
  height: 600px;
}

/* Styl pro editor s ID "surveyDescription2" */
#surveyDescription+.ck-editor .ck-editor__editable_inline {
  height: 150px;
}



.element {
  border: 1px solid #ccc;
  padding: 10px;
  margin-bottom: 10px;
}

.element label {
  display: block;
  margin-bottom: 5px;
}

.element button {
  /* margin-top: 10px; */
  padding: 5px;
}

.answers {
  margin-top: 10px;
}

.answers div {
  display: flex;
  align-items: center;
}

.answers div input[type="text"] {
  margin-right: 10px;
}

#save-button {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #4CAF50;
  color: white;
  border: none;
  cursor: pointer;
}

#save-button:hover {
  background-color: #45a049;
}

.modal-body {
  /* max-height: 400px; */
  /* overflow-y: auto; */
}

.d-flex-custom {
  display: flex;
  align-items: center;
}

.d-flex-custom select {
  flex: 3;
}

.d-flex-custom button {
  flex: 1;
  margin-left: 10px;
}

.table-container {
  overflow-x: auto;
  white-space: nowrap;
}


.analysis-map {
  display: none;
  height: 500px;
  width: 100%;
}

.analysis-chart {
  display: none;
  height: 500px;
  width: 100%;
}


#controls {
  position: absolute;
  top: 10px;
  right: 10px;
  background: white;
  /* padding: 5px; */
  border-radius: 5px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.view-option {
  display: inline-block;
  cursor: pointer;
  margin-top: 5px;
  margin-bottom: 5px;
  padding: 8px 12px;
  border: 0px solid transparent;
  /* border-radius: 5px; */
}

.view-option:first-of-type {
  margin-left: 5px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.view-option:last-of-type {
  margin-right: 5px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.view-option.active {
  background-color: #09b850;
  color: white;
}


.btn-link-style {
  background: none;
  border: none;
  padding: 0;
  color: #09b850;
  text-decoration: none;
  cursor: pointer;
}

.btn-link-style:hover,
.btn-link-style:focus {
  text-decoration: none;
  color: #45a049;
}

td {
  white-space: normal;
}

.nav-pills {
  border-bottom: 1px solid var(--bs-primary);
}

.nav-pills .nav-item .nav-link {
  border-radius: 0;
  border: 1px solid var(--bs-primary);
  border-bottom: none;
  -webkit-box-shadow: 0px 10px 10px -6px rgba(0,0,0,0.15);
  -moz-box-shadow: 0px 10px 10px -6px rgba(0,0,0,0.15);
  box-shadow: 0px 10px 10px -6px rgba(0,0,0,0.15);
}

.nav-pills .nav-item:first-child .nav-link {
  border-top-left-radius: 5px;
}

.nav-pills .nav-item:last-child .nav-link {
  border-top-right-radius: 5px;
}

.nav-pills .nav-item .nav-link:not(:last-child) {
  border-right-width: 0;
}
