﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  /* Set the fixed height of the footer here */
  height: 60px;
  line-height: 60px; /* Vertically center the text there */
}
/* Font Awesome styles */
.fa {
    color: black;
}
/* ----------------------------------------------------------
 Vlastní styly */
/* Sticky header row on table */
.table-sticky-header thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background-color: #343a40;
    color: white;
}

.table-sticky-header {
    max-height: 500px;
    overflow-y: auto;
}
/* Barvy Alarmů ve výpisu */
/* Světle červená */
.alarm-red-button {
    background-color: #f8d7da;
}

.checkbox-lg {
    transform: scale(1.5);
    -webkit-transform: scale(1.5); /* pro Safari */
    margin-right: 5px; /* vyrovná prostor mezi checkboxem a textem */
}

.transition {
    transition: transform 0.2s ease;
}

.rotate-180 {
    transform: rotate(180deg);
}
.fixed-actions {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1030;
    display: flex;
    flex-direction: row;
    gap: 12px; /* mezera mezi tlačítky */
}

@media (max-width: 576px) {
    .fixed-actions {
        right: 12px;
        bottom: 12px;
        gap: 8px;
        flex-wrap: wrap; /* na malých displejích povolí zalomení */
    }
}

.modal-open .fixed-actions {
    display: none;
}
