.toast {
  position: absolute;
  top: 2%;
  left: 35%;
  width: 30%;
  z-index: 99;
  background-color: white;
}
@media only screen and (max-width: 767px) {
  .toast {
    top: 5%;
    left: 20%;
    width: 60%;
  }
}
@media only screen and (max-width: 576px) {
  .toast {
    top: 5%;
    left: 10%;
    width: 80%;
  }
}
.toast .toast-body {
  border-bottom-right-radius: 0.375rem;
  border-bottom-left-radius: 0.375rem;
}
.navbar {
  box-shadow: 0px 1px 4px 0 #4d4d4d;
  margin-bottom: 20px;
}
.tree {
  font-size: 20px;
  line-height: 20px;
}
#registration {
  padding: 24px;
  margin: 16px auto;
}
#stats .stats_box p {
  margin: 0;
}
#stats .stats_box p .stats_text {
  width: 220px;
  display: inline-block;
}
.menu_icon {
  font-size: 24px;
  max-width: 45px;
  margin: -7px 0;
  float: left;
  width: 100%;
}
@media only screen and (min-width: 768px) {
  .menu_icon {
    font-size: 24px;
    width: 100%;
    display: block;
    float: none;
    margin: 0;
    max-width: none;
  }
}
.filters_items {
  display: flex;
  justify-content: space-between;
}
@media only screen and (max-width: 576px) {
  .filters_items {
    flex-direction: column-reverse;
  }
}
.filters {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}
.filters .filter_col {
  display: flex;
  flex-direction: column;
}
.filters .filter_col .flt_box {
  width: 180px;
}
@media only screen and (max-width: 720px) {
  .filters .filter_col .flt_box {
    width: 140px;
  }
}
@media only screen and (max-width: 620px) {
  .filters .filter_col .flt_box {
    width: 260px;
  }
}
@media only screen and (max-width: 420px) {
  .filters .filter_col .flt_box {
    width: 200px;
  }
}
@media only screen and (max-width: 360px) {
  .filters .filter_col .flt_box {
    width: 160px;
  }
}
.filters .filter_btn {
  width: 100%;
}
@media only screen and (max-width: 879px) {
  .filters .filter_btn {
    width: 290px;
  }
}
@media only screen and (max-width: 620px) {
  .filters .filter_btn {
    width: 370px;
  }
}
@media only screen and (max-width: 420px) {
  .filters .filter_btn {
    width: 100%;
  }
}
.filters .filters_lbl {
  width: 90px;
}
@media only screen and (max-width: 879px) {
  .filters .filters_lbl {
    width: 110px;
  }
}
.filters .checks {
  width: 140px;
}
@media only screen and (max-width: 879px) {
  .filters .checks {
    text-align: center;
    width: 290px;
  }
}
@media only screen and (max-width: 620px) {
  .filters .checks {
    width: 370px;
  }
}
@media only screen and (max-width: 420px) {
  .filters .checks {
    width: 100%;
  }
}
@media only screen and (max-width: 879px) {
  .filters {
    justify-content: center;
  }
}
@media only screen and (max-width: 620px) {
  .filters {
    align-content: center;
    flex-direction: column;
    gap: 0px;
  }
}
.filter_cancellation_btns {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.state_btns {
  min-width: 100px;
}
.reject_btn {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.approve_btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.action_btns {
  text-align: right;
  vertical-align: bottom;
}
.action_btns i {
  color: white;
}
@media only screen and (max-width: 797px) {
  .action_btns {
    text-align: right;
    vertical-align: bottom;
  }
}
#modal_body_resv .section {
  border-top: 1px solid #dee2e6;
}
#modal_body_resv .section .bi {
  font-size: 64px;
}
#modal_body_resv .section #res_interval span {
  display: inline-block;
}
#modal_body_resv .section:first-child {
  border: none;
}
#modal_body_resv #user_id {
  font-weight: bold;
}
#modal_body_resv #res_id {
  font-weight: bold;
}
#item_detail .modal-body #item_type {
  margin-bottom: 10px;
}
#item_detail .modal-body #item_description {
  margin-bottom: 15px;
}
.icons {
  font-size: 24px;
}
.radio_ord {
  margin-top: 10px;
}
.rejected {
  color: red;
}
.pending {
  color: #a86d00;
}
.approved {
  color: green;
}
@media only screen and (max-width: 797px) {
  .reject_btn,
  .approve_btn {
    text-align: right;
  }
  #paging {
    justify-content: center;
  }
  #rows_per_page_form {
    text-align: center;
  }
}
.container {
  max-width: 70%;
}
@media only screen and (max-width: 1400px) {
  .container {
    max-width: 75%;
  }
}
@media only screen and (max-width: 1200px) {
  .container {
    max-width: 80%;
  }
}
@media only screen and (max-width: 992px) {
  .container {
    max-width: 85%;
  }
}
@media only screen and (max-width: 768px) {
  .container {
    max-width: 90%;
  }
}
@media only screen and (max-width: 576px) {
  .container {
    max-width: 100%;
  }
}
.container h1 {
  text-align: center;
}
.container.form_container {
  width: 40%;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2), 0 2px 5px 0 rgba(0, 0, 0, 0.19);
}
@media only screen and (max-width: 1400px) {
  .container.form_container {
    width: 50%;
  }
}
@media only screen and (max-width: 1200px) {
  .container.form_container {
    width: 60%;
  }
}
@media only screen and (max-width: 992px) {
  .container.form_container {
    width: 75%;
  }
}
@media only screen and (max-width: 768px) {
  .container.form_container {
    width: 90%;
  }
}
@media only screen and (max-width: 576px) {
  .container.form_container {
    width: 100%;
    border: none !important;
    box-shadow: none;
  }
}
.container.form_container_img {
  width: 80%;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2), 0 2px 5px 0 rgba(0, 0, 0, 0.19);
}
@media only screen and (max-width: 1400px) {
  .container.form_container_img {
    width: 85%;
  }
}
@media only screen and (max-width: 1200px) {
  .container.form_container_img {
    width: 90%;
  }
}
@media only screen and (max-width: 992px) {
  .container.form_container_img {
    width: 95%;
  }
}
@media only screen and (max-width: 768px) {
  .container.form_container_img {
    width: 100%;
    border: none !important;
    box-shadow: none;
  }
}
.container #login_box {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2), 0 2px 5px 0 rgba(0, 0, 0, 0.19);
  margin: auto;
}
@media only screen and (max-width: 576px) {
  .container #login_box {
    box-shadow: none;
    border: none !important;
  }
}
.container #login_box .row {
  margin: 16px;
}
.container #login_box .row .login_label {
  margin: 8px 0;
}
.container #login_box #login_submit {
  text-align: center;
  margin: 16px 0;
}
.container #login_box #login_registration {
  text-align: center;
  margin-top: 16px;
  margin-bottom: 32px;
}
.container #buttons {
  text-align: right;
}
@media only screen and (max-width: 576px) {
  .container #buttons {
    text-align: center;
  }
}
.container #img_param {
  position: relative;
  min-height: 250px;
}
.container #buttons_img {
  position: absolute;
  bottom: 0px;
  right: 12px;
  text-align: right;
}
@media only screen and (max-width: 768px) {
  .container #buttons_img {
    position: static;
    text-align: right;
  }
}
@media only screen and (max-width: 576px) {
  .container #buttons_img {
    text-align: center;
  }
}
#shorten_name {
  display: none;
}
@media only screen and (max-width: 992px) {
  #shorten_name {
    display: contents;
  }
}
#full_name {
  display: contents;
}
@media only screen and (max-width: 992px) {
  #full_name {
    display: none;
  }
}
.uredni_hodiny {
  display: inline-block;
  width: 60px;
  text-align: left;
}
.telefon {
  display: inline-block;
  width: 90px;
}
#search_box {
  max-width: 500px;
  margin: auto;
  margin-bottom: 12px;
}
#search_box input[name="search"],
#search_box input[name="s"] {
  width: 50%;
}
@media only screen and (max-width: 576px) {
  #search_box input[name="search"],
  #search_box input[name="s"] {
    width: 28%;
  }
}
.items {
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
  padding: 0px 3px 20px 3px;
}
@media only screen and (max-width: 767px) {
  .items {
    text-align: center;
    border: none;
    padding: 0;
  }
}
.items .inner {
  box-shadow: none;
  border: none;
}
@media only screen and (min-width: 768px) {
  .items .inner {
    border: 1px solid #e9e9e9;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border-radius: 5px;
    padding: 10px;
  }
  .items .inner:hover {
    box-shadow: 0 1.5rem 2rem rgba(0, 0, 0, 0.35);
    border: 1px solid #8a8a8a;
  }
}
.items .inner .image_box {
  height: 290px;
}
@media only screen and (max-width: 2000px) {
  .items .inner .image_box {
    height: 230px;
  }
}
@media only screen and (max-width: 1700px) {
  .items .inner .image_box {
    height: 220px;
  }
}
@media only screen and (max-width: 1550px) {
  .items .inner .image_box {
    height: 200px;
  }
}
@media only screen and (max-width: 1400px) {
  .items .inner .image_box {
    height: 230px;
  }
}
@media only screen and (max-width: 992px) {
  .items .inner .image_box {
    height: 270px;
  }
}
@media only screen and (max-width: 767px) {
  .items .inner .image_box {
    padding: 0% 20%;
  }
}
@media only screen and (max-width: 576px) {
  .items .inner .image_box {
    padding: 0% 15%;
  }
}
@media only screen and (max-width: 460px) {
  .items .inner .image_box {
    padding: 0% 10%;
  }
}
@media only screen and (max-width: 380px) {
  .items .inner .image_box {
    height: 250px;
    padding: 0px 12px;
  }
}
.items img {
  border-radius: 5px;
  object-fit: fill;
}
.items p {
  margin-left: 5px;
}
.items p:first-of-type {
  margin-top: 10px;
  margin-bottom: 3px;
}
.items .buttons {
  text-align: center;
}
@media only screen and (max-width: 767px) {
  .items .buttons {
    text-align: center;
  }
}
.md-list {
  display: none;
}
#item_login:hover {
  color: white;
}
.ui-autocomplete {
  max-height: 300px;
  overflow-y: auto;
  /* prevent horizontal scrollbar */
  overflow-x: hidden;
}
.separator {
  display: block;
  margin: 15px 0px;
}
@media only screen and (min-width: 768px) {
  .separator {
    display: none;
    margin: 0;
  }
}
#bottom_line {
  display: block;
}
@media only screen and (max-width: 767px) {
  #bottom_line {
    display: none;
  }
}
#calendar {
  /* ------------------ Date change buttons ------------------ */
  /* Buttons for date change (e.g. next year) */
  /* ------------------ Table ------------------ */
  /* Highlights Saturday and Sunday */
  /* ------------------ Event buttons ------------------ */
  /* Event buttons (start) for events not happening within one day */
  /* Event buttons (middle) for events not happening within one day */
  /* Event buttons (end) for events not happening within one day */
  /* Highlights today's date */
  /* Event button for events that take place within one day */
}
#calendar .btns_table {
  margin: 0px;
}
#calendar .btns_table td {
  width: 33%;
}
@media only screen and (max-width: 1400px) {
  #calendar .btns_table td {
    padding-top: 0px;
    padding-bottom: 0px;
  }
}
#calendar .icons_cal {
  font-size: 32px;
}
#calendar .prev_button {
  text-align: right;
}
#calendar .next_button {
  text-align: left;
}
#calendar #month_heading,
#calendar #year_heading {
  vertical-align: middle;
  margin: 0px;
  text-align: center;
}
#calendar .headings {
  vertical-align: middle;
}
#calendar .today_btn {
  padding: 8px;
  text-align: center;
}
@media only screen and (max-width: 1400px) {
  #calendar .today_btn {
    padding-top: 0px;
    padding-bottom: 0px;
  }
}
#calendar .time_buttons {
  margin-bottom: 0px;
}
#calendar .days td:nth-child(6),
#calendar .days td:nth-child(7),
#calendar .days_of_week th:nth-child(6),
#calendar .days_of_week th:nth-child(7) {
  background-color: #fafafa;
}
#calendar .days {
  height: 80px;
}
#calendar .days td {
  width: 14.28%;
  padding-left: 0px;
  padding-right: 0px;
}
#calendar .days td:hover {
  background-color: #e4e4e4;
}
@media only screen and (max-width: 767px) {
  #calendar .days td:hover {
    background-color: white;
  }
}
#calendar .days a {
  display: block;
  text-decoration: none;
  color: black;
}
@media only screen and (max-width: 767px) {
  #calendar .days {
    height: 100px;
  }
}
#calendar .day_index {
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 10px;
}
#calendar .empty {
  background-color: #cfcfcf !important;
}
#calendar .used_btn {
  height: 20px;
  float: right;
  padding-top: 0px;
  padding-bottom: 0px;
  font-size: 12px;
  z-index: 1;
}
@media only screen and (max-width: 767px) {
  #calendar .used_btn {
    height: 25px;
    padding: 0px;
    font-size: 12px;
  }
}
@media only screen and (max-width: 576px) {
  #calendar .used_btn {
    height: 30px;
    padding: 0px;
    font-size: 12px;
  }
}
#calendar .used {
  width: 100%;
}
#calendar .btn_start {
  margin-bottom: 2px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  width: 49%;
  text-align: left;
}
@media only screen and (max-width: 767px) {
  #calendar .btn_start {
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    width: 47%;
    float: right;
  }
}
@media only screen and (max-width: 576px) {
  #calendar .btn_start {
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    width: 47%;
  }
}
#calendar .btn_mid {
  border-radius: 0px;
  width: 100%;
}
@media only screen and (max-width: 767px) {
  #calendar .btn_mid {
    border-radius: 0px;
    width: 100%;
  }
}
@media only screen and (max-width: 576px) {
  #calendar .btn_mid {
    border-radius: 0px;
    width: 100%;
  }
}
#calendar .btn_end {
  margin-bottom: 2px;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  float: left;
  width: 49%;
  text-align: right;
}
@media only screen and (max-width: 767px) {
  #calendar .btn_end {
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    float: left;
    width: 47%;
  }
}
@media only screen and (max-width: 576px) {
  #calendar .btn_end {
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    float: left;
    width: 47%;
  }
}
#calendar .today {
  font-weight: bold;
  color: red;
}
#calendar .in_day {
  clear: both;
  float: left;
  margin-bottom: 2px;
  width: 100%;
}
@media only screen and (max-width: 576px) {
  #calendar #month_days {
    table-layout: fixed;
    width: 500px;
  }
  #calendar #month_days th {
    text-align: center;
  }
}
#calendar_day {
  /* ------------------ Event buttons ------------------ */
  /* Event buttons (start) for events not happening within one day */
  /* Event buttons (middle) for events not happening within one day */
  /* Event buttons (end) for events not happening within one day */
}
#calendar_day .time div {
  height: 80px;
}
#calendar_day .time div:hover {
  background-color: #e4e4e4;
}
#calendar_day .btns_table {
  margin: 0px;
}
#calendar_day .prev_btn {
  text-align: right;
  width: 10%;
}
#calendar_day .next_btn {
  text-align: left;
  width: 10%;
}
#calendar_day .icons {
  font-size: 32px;
}
#calendar_day .headings {
  width: 80%;
  text-align: center;
  vertical-align: middle;
}
#calendar_day .hour_index {
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 10px;
}
@media only screen and (max-width: 767px) {
  #calendar_day .hour_index {
    width: 40px;
    margin-right: 0px;
    float: left;
  }
}
#calendar_day .time div {
  padding-left: 0px;
  padding-right: 0px;
}
@media only screen and (max-width: 767px) {
  #calendar_day .time div {
    height: 50px;
  }
}
#calendar_day .btn_start {
  margin-bottom: 2px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  width: 49%;
  text-align: left;
}
@media only screen and (max-width: 767px) {
  #calendar_day .btn_start {
    border-bottom-left-radius: 0px;
    border-top-right-radius: 0.5rem;
    border-top-left-radius: 0.5rem;
    width: 80% !important;
    height: 100%;
  }
}
#calendar_day .btn_mid {
  border-radius: 0px;
  width: 100%;
}
#calendar_day .btn_end {
  margin-bottom: 2px;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  float: left;
  width: 49%;
  text-align: right;
}
@media only screen and (max-width: 767px) {
  #calendar_day .btn_end {
    width: 80% !important;
    height: 100%;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    border-top-right-radius: 0rem;
    border-top-left-radius: 0rem;
  }
}
#calendar_day .used_btn {
  height: 20px;
  float: right;
  padding-top: 0px;
  padding-bottom: 0px;
  font-size: 12px;
  z-index: 1;
}
@media only screen and (max-width: 767px) {
  #calendar_day .used_btn {
    float: right;
    padding-top: 0px;
    padding-bottom: 0px;
    font-size: 16px;
    z-index: 1;
    width: 80%;
    height: 100%;
    text-align: center;
  }
}
#calendar_day .used {
  width: 100%;
}
