html {
  width: 100%;
}

body {
  overflow-x: hidden !important;
}

body.show-spinner>main {
  overflow: hidden !important;
}

/* Hide everything under body tag */
body.show-spinner>* {
  opacity: 0;
}

/* Spinner */
body.show-spinner::after {
  content: " ";
  display: inline-block;
  width: 30px;
  height: 30px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  border-top-color: rgba(0, 0, 0, 0.3);
  animation: spin 1s ease-in-out infinite;
  -webkit-animation: spin 1s ease-in-out infinite;
  left: calc(50% - 15px);
  top: calc(50% - 15px);
  position: fixed;
  z-index: 1;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@-webkit-keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
  }
}

.posledniZakazky{
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
border:1px solid silver;
width:100%;
}

table {
    border-spacing: 0;
}

.table-new tr td,th {
    padding: 12px 20px 12px 10px;
}
.table-new-header-search{
    float:left;
    padding-top:5px;
}
.table-new-header-count{
    float:right;
    padding-top:5px;
}
.table-new-clear{
    clear:both;
    padding:10px;
}

.count-pulse {
    box-shadow: 0 0 0 0 rgb(172 8 8);
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 82, 82, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(255, 82, 82, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 82, 82, 0);
    }
}

.linkHelp{text-decoration: underline;}

.unclassEvent {
  background: #dfdfdf;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  font-weight: 600;
  display: block;
  padding: 5px;
  font-size: 12px;
  text-align: center;
  cursor: pointer;
  margin-bottom: 5px;
}

.unclassEvent span {
  display: block;
  font-weight: 100;
}

.btn-orange{
  background-color: orange;
  font-weight: 600;
}

.datepicker-dropdown {
  z-index: 9999 !important;
}

.linkHelp{
  text-decoration: underline;
  color: #b6932a;
  font-weight: 600;
}

.tooltip-inner {
  font-size: 10px !important;
  padding:5px !important;
}

.btn-comment-delete{
  font-size: 10px;
  padding: 3px;
  border-radius: 5px;
}





.message-images {
  display: flex;
  gap: 5px; /* OdsazenÄ‚Â­ mezi obrÄ‚Ë‡zky */
}

.image-container {
  width: 50px;
  height: 50px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-container .image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ZabrÄ‚Ë‡nÄ‚Â­ deformaci a zachovÄ‚Ë‡ pomĂ„â€şry */
}

#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* ZtmavenÄ‚Â© pozadÄ‚Â­ */
  display: none; /* Skryjeme lightbox zpoĂ„Ĺ¤Ä‚Ë‡tku */
  justify-content: center;
  align-items: center;
  z-index: 9999; /* UjistÄ‚Â­me se, ÄąÄľe je lightbox v popÄąâ„˘edÄ‚Â­ */
}

#lightbox-img {
  max-width: 80%;
  max-height: 80%;
}

#close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

.image-container .image:hover {
  border: 2px solid grey; /* Äą edÄ‚Ëť okraj pÄąâ„˘i najetÄ‚Â­ myÄąË‡i */
  cursor: pointer; /* ZmĂ„â€şnÄ‚Â­ kurzor na ukazatel, naznaĂ„Ĺ¤ujÄ‚Â­cÄ‚Â­ kliknutelnost */
}

#lightbox-img {
  max-width: 80%;
  max-height: 80%;
  border: 2px solid grey; /* PÄąâ„˘idÄ‚Ë‡me ÄąË‡edÄ‚Ëť okraj i zde pro konzistenci */
}


.actionButton {
  display: inline-flex; /* PouÄąÄľije flexbox pro centrovÄ‚Ë‡nÄ‚Â­ obsahu */
  justify-content: center; /* HorizontÄ‚Ë‡lnÄ‚Â­ centrovÄ‚Ë‡nÄ‚Â­ */
  align-items: center; /* VertikÄ‚Ë‡lnÄ‚Â­ centrovÄ‚Ë‡nÄ‚Â­ */
  width: 30px; /* Äą Ä‚Â­Äąâ„˘ka tlaĂ„Ĺ¤Ä‚Â­tka */
  height: 30px; /* VÄ‚ËťÄąË‡ka tlaĂ„Ĺ¤Ä‚Â­tka, stejnÄ‚Ë‡ jako ÄąË‡Ä‚Â­Äąâ„˘ka pro kruhovÄ‚Ëť tvar */
  border-radius: 50%; /* ZaoblenÄ‚Â­ rohÄąĹ» pro kruhovÄ‚Ëť tvar */
  color: white; /* Barva textu/ikony uvnitÄąâ„˘ tlaĂ„Ĺ¤Ä‚Â­tka */
  border: none; /* OdstranĂ„â€şnÄ‚Â­ okraje tlaĂ„Ĺ¤Ä‚Â­tka */
  cursor: pointer; /* ZmĂ„â€şna kurzoru na ukazatel pÄąâ„˘i najetÄ‚Â­ myÄąË‡i */
}

/* PÄąâ„˘Ä‚Â­padnÄ‚Â© styly pro ikonu, pokud pouÄąÄľÄ‚Â­vÄ‚Ë‡te napÄąâ„˘. Font Awesome */
.actionButton i, .glyph-icon {
  font-size: 14px; /* Velikost ikony */
  color: white !important;
}

.showColor{
  background-color: #1279da;
}
.showColor:hover{
  background-color: #125a9e;
}
.deleteColor{
  background-color: #e54040;
}
.deleteColor:hover{
  background-color: #b02222;
}
.checkColor{
  background-color: #44a537;
}
.checkColor:hover{
  background-color: #2d8222;
}

td.smallPadding {
  padding: 7px !important;
}

.tableFull{
  width:100%;
}

.selectInvoices{
  width: 105px;
  padding: 4px;
  padding-right: 5px;
  cursor: pointer;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  border-color: #00000036;
}

.selectInvoicesAction{
  width: 130px;
  padding: 4px;
  padding-right: 5px;
  cursor: pointer;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  border-color: #00000036;
}

textarea.calendarNote {
  width: 100%;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  min-height: 350px;
  padding:10px;
}
textarea.margin{
  margin-top: 10px;
}


@media (min-width: 576px) {
  .modal-dialog {
      max-width: 1000px !important;
      margin: 1.75rem auto;
  }
}

@media print {
  .noprint {
      display: none;
  }
}

@media (max-width: 1024px) {
  .phoneHide {
      display: none !important;
  }
}