/* Vlastní modal dialog */

:root {
  --modal-width: 600px;
  --modal-height: 500px;
  --modal-button-active-backcolor: rgb(240, 240, 240);
  --modal-button-inactive-backcolor: white;
  --modal-font: 'Nunito Sans', sans-serif;
}

#select_modal {
  font-family: var(--modal-font);
}

#select_modal .modal-content {
  height: var(--modal-height);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  padding: 10px;
}

#select_modal .modal-dialog {
  max-width: var(--modal-width);
  max-height: var(--modal-height);
  width: 100%;
  height: auto;
  margin: auto;
  margin-top: 40px;
}

/* COMPONENTS */

.custom-style-comp {
  box-sizing: border-box; 
  border-width: 1px;
  border-radius: 4px;
  border-style: solid;
  border-color: var(--color-gray2);
  background-color: white;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.custom-style-comp:hover {
  background-color: var(--modal-button-active-backcolor);
}

.custom-style-comp:focus {
  box-sizing: border-box;
  border-width: 3px;
  border-color: var(--color-gray2);
  outline: none;
}

#sel_date_interval {
    height: 28px; /* výška napevno, odsouv */
    width : 100px;
}

.dropdown-item {
    cursor: pointer;
}


.big-buttons {
  width: 80px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 14px;
  color: var(--bs-gray-dark);
}

.big-buttons.active {
  background-color: var(--modal-button-active-backcolor);
  border-width: 2px;
}

.big-buttons img {
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.big-buttons.active img {
  filter: none;
}

.big-buttons:hover img {
  filter: none;
}

.custom-date {
  width: 105px;
  cursor: pointer;
}

#storno_modal {
  top: 0;
}

/* IKONY */

.btn-icon-select {
  font-size: 20px;
  color: rgb(184, 184, 184);
  margin-right: 4px;
}

.div-icons {
  position: absolute;
  cursor: pointer;
}

#div_icon_storno {
  left: calc(var(--modal-width) - 40px);
  top: 10px;
}

#div_icon_help {
  left: 10px;
  top: 10px;
}

#div_icon_locality_detail {
  left: calc(var(--modal-width) - 70px);
  top: 260px;
}

.btn-icons {
  font-size: 26px;
  color: rgb(233, 232, 232);
}

.btn-icons:hover {
  color: rgb(170, 170, 170);
}

#btn_sel_search {
  height: 40px;
  font-size: 18px;
}

