body {
  margin: 70px 0 0 0;
  padding: 0;
  font-size: 0.85em;
  
}




#zonex-wrapper {
  font-family: 'Segoe UI', sans-serif;
 position: relative;
  top: -70px;
}

#zonex-navbar {
  background: #23272a;
  color: white;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
 /* Přidej toto: */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  }

#zonex-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
  padding-left:20px;
}
#zonex-logo-img {
  height: 32px;
  margin-right: 10px;
}
#zonex-logo-text {
  font-size: 2em;
  font-weight: bold;
}

#zonex-hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}
#zonex-hamburger span {
  background: white;
  height: 3px;
  width: 25px;
  border-radius: 2px;
}

#zonex-sidebar {
  background: #2c2f33;
  width: 195px;
  min-height: 100vh;
  color: #ccc;
  padding: 10px 0;
    position: fixed;
  overflow-y: auto;
  z-index: 999;
    top: 60px;
}



#zonex-sidebar-inner {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size:1.2em;
}
.zonex-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: #ccc;
  text-decoration: none;
  transition: background 0.2s ease;
  position: relative;
}
.zonex-nav-link:hover {
  background: #40444b;
  color: white;
  text-decoration: none;
}
.zonex-nav-link i {
  min-width: 20px;
}
.zonex-text {
  flex-grow: 1;
}
.zonex-active {
  background: #4a5568;
  color: white;
}
.zonex-badge {
  position: absolute;
  top: 8px;
  right: 10px;
  background: red;
  color: #e6e6e6;
  padding: 2px 6px;
  border-radius: 10px;
  font-size: 11px;
}

.zonex-logout-wrapper {
  margin-top: auto;
  padding: 10px 20px;
}
.zonex-logout-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: white;
  background: #e63946;
  padding: 6px 12px;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s ease;
}
.zonex-logout-btn:hover {
  background: #c53030;
}

/* Mobilní menu */
#zonex-mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: 80%;
  height: 100vh;
  background: #2c2f33;
  color: white;
  z-index: 1000;
  transition: right 0.3s ease;
  padding-top: 20px;
}
#zonex-mobile-inner {
  padding: 20px;
  padding-top: 55px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
    font-size:1.2em;

}

#zonex-mobile-close {
  position: absolute;
  top: 0px;
  right: 20px;
  font-size: 40px;
  cursor: pointer;
  z-index: 9999;
}

@media (max-width: 1200px) {
  #zonex-sidebar {
    display: none;
  }
  #zonex-hamburger {
    display: flex;
  }
  #zonex-mobile-menu.active {
    right: 0;
  }
}


#zonex-navbar-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}

@media (max-width: 1200px) {
  #zonex-navbar-icons {
    display: none !important;
  }
}

.zonex-group-title {
  font-weight: bold;
  color: #999;
  padding: 2px 20px 2px;
  font-size: 0.75em;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top:10px;
}



































/* V defaultním zobrazení, když je šířka větší než 600px, zobrazení jak uživatele, tak odkazu */
.logout-container {
  display: inline-block;
}

/* Skrytí textu 'Odhlásit se' pro obrazovky menší než 600px */
@media (max-width: 600px) {
  .phone-hide {
      display: none; /* Skryje text 'Odhlásit se' */
  }

  /* Odkaz zůstane zobrazený na malé obrazovce */
  .logout-container {
      display: block;
  }
}

/* Styl pro podbarvení při hoveru */
    .result888 div {
        border: 1px solid #ccc;
        padding: 10px;
        border-radius: 5px;
        cursor: pointer; /* Přidáme kurzor pointer pro celé divy */
    }

    /* Zvýraznění položky při najetí */
    .result888 div:hover {
        background-color: #f0f0f0; /* Světle šedá barva při hoveru */
    }



  /* Pro desktop a větší obrazovky */
  #formContentModalUpravit999 {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    justify-content: space-between;
  }

  /* Pro obrazovky s šířkou menší než 1000px */
  @media (max-width: 1350px) {
    #formContentModalUpravit999 {
      flex-wrap: wrap;
	  display: block; 
    }

    .form-groupModalUpravit999 {
      flex: 1 1 100%; /* Všechny prvky budou mít 100% šířku */
      min-width: 100%; /* Zajistí, že každý prvek bude na samostatném řádku */
    }
  }
  
  /* Globální styly pro modální okno */
#myModalPridat {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

#modalContent {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 1000px;
    border-radius: 10px;
}

/* Styl pro řádky formuláře */
.input-row {
    display: flex;
    gap: 10px;
}

/* Media query pro šířku menší než 1000px */
@media (max-width: 1000px) {
    .input-row {
        flex-direction: column;
    }
    
    /* Zajištění, že každé pole bude mít plnou šířku */
    .input-row > div {
        width: 100%;
    }

    /* Tlačítka ve spodní části modálního okna pod sebou */
    #modalContent form > div:last-child {
        flex-direction: column;
        align-items: stretch;
    }

    /* Zajištění, že tlačítka budou 100% šířky */
    #modalContent form > div:last-child input {
        width: 100%;
        margin-bottom: 10px;
    }
}








#fileLan123 {
  display: inline-block;
  width: 100%;
  padding: 120px 0 0 0;
  height: 100px;
  overflow: hidden;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background: url('https://cdn1.iconfinder.com/data/icons/hawcons/32/698394-icon-130-cloud-upload-512.png') center center no-repeat #e4e4e4;
  border-radius: 20px;
  background-size: 60px 60px;
}

/* VÝCHOZÍ STAV – tmavší */
.sidebar a.hover-link {
  color: #999 !important;
  transition: color 0.3s ease;
}

/* HOVER – zesvětlení */
.sidebar a.hover-link:hover {
  color: white !important;
}

/* AKTIVNÍ odkaz – světlý + zelený shadow */
.sidebar a.active {
  color: white !important;
  text-shadow: 0 0 6px #10b774, 0 0 10px #0f9;
  font-weight: bold;
}
.sidebar a.active i {
  color: white !important;
}

.top-panel {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  color: rgb(255, 255, 255);
  background-color: rgb(0, 160, 223);
  text-align: right;
  line-height: 50px;
  height: 50px;
}

.top-panel img {
  width: 30px;
  height: auto;
  margin-bottom: 10px;
  margin-right: 10px;
  margin-left: 11px;
  margin-bottom: 4px;
}

.akt img {
  height: 100% !important;
}

.home {
  float: left;
  text-align: left;
}

.home a {
  font-size: 1.2em;
  font-weight: bold;
}

.home input {
  height: 25px;
  width: 60px;
}

.home input[type="text"] {
  width: 100px;
}

.top-panel a {
  color: rgb(255, 255, 255);
  text-decoration: none;
  padding-right: 15px;
}

.top-panel {
  padding-right: 45px;
}

.sidebar {
  text-align: center;
  height: 100%;
  width: 50px;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #111;
  padding-top: 45px;
}

@media (max-width: 450px) {
  .sidebar {
    overflow-y: auto;
    overflow-x: hidden;
  }
}

.sidebar hr {
  margin-top: 0;
  margin-bottom: 0;
}

.sidebar a {
  padding: 12px 8px 12px 8px;
  text-decoration: none;
  font-size: 20px;
  color: #818181;
  display: block;
}

a.side-hover {
  font-size: 17px;
}

.sidebar .schov {
  display: none;
}

.sidebar hr {
  background-color: #818181;
  width: 55%;
}

.sidebar2 {
  text-align: left;
  width: 240px;
  padding-left: 2px;
}

.sidebar2 .schov {
  padding-left: 10px;
  display: inline-block;
}

.sidebar2 i {
  width: 30px;
}

.sidebar2 hr {
  width: 94%;
}

.sidebar .i-sirka {
  width: 60px;
  text-align: center;
}

.sidebar a:hover {
  color: #f1f1f1;
}

a.active {
  color: #f1f1f1;
}

.table {
  overflow-x: auto;
}
/*
.main {
  margin-top: 20px;
  margin-left: 50px;
  padding: 0px 25px;
}
*/

.main {
  padding-top: 20px;
  margin-left: 190px;
  padding: 0px 25px;
}
@media (max-width: 1200px) {
  .main-index {
    padding: 0;
    margin-left: 20px;
	margin-right: 20px;
  }
  
  .main {
    padding: 0;
    margin-left: 20px;
	margin-right: 20px;
  }
}



@media screen and (max-height: 450px) {
  .sidebar {
    padding-top: 15px;
  }

  .sidebar a {
    font-size: 18px;
  }
}

.logo img {
  width: 260px;
}

.menu {
  margin: 75px auto 0 auto;
}

.obsah {
  margin: 0 auto;
  background-color: rgb(255, 255, 255);
  padding: 15px;
}

body#login {
  background-color: rgb(0, 160, 223);
}

.wrapper {
  margin: 50px auto;
  background-color: rgb(240, 240, 240);
  padding: 30px;
  width: 300px;
}

.wrapper img {
  width: 100%;
  margin-bottom: 10px;
}

input[type="submit"] {
  background-color: rgb(0, 148, 68);
}

input[type="submit"]:hover {
  background-color: rgb(0, 148, 68);
}

.help-block {
  margin-top: 5px;
  color: rgb(255, 0, 0);
}

.vysilace table {
  border: 1px solid rgb(157, 157, 157);
}

.vysilace-nahled table {
  width: 100%;
  margin-bottom: 15px;
}

.obrazky-tabulka table {
  width: 100%;
  margin-bottom: 15px;
}

.vysilace th {
  color: rgb(255, 255, 255);
  padding: 5px;
  background-color: rgb(56, 57, 56);
  border: 1px solid rgb(157, 157, 157);
}

.vysilace td {
  border: 1px solid rgb(157, 157, 157);
  padding: 5px;
}

.servis-group {
  margin-bottom: 10px;
}

.servis-group input {
  margin-right: 10px;
}

.text-center {
  text-align: center;
}

input.error {
  border: 1px solid red;
}

label {
  font-weight: bold;
}

.alert {
  padding: 5px 0 5px 0;
  color: rgb(0, 204, 0);
}

label.error {
  margin-top: 10px;
  font-weight: normal;
  color: red;
}

#image-gallery .modal-footer {
  display: block;
}

.thumb {
  margin-top: 15px;
  margin-bottom: 15px;
}

.obrazek-popis {
  position: relative;
  flex: 1 1 auto;
  padding: 1rem;
}

.nastenka {
  margin-top: 25px;
  margin-bottom: 25px;
}

.up-i i {
  font-size: 1.5em;
}

#nastenka1234 img {
  height: 54px;
  max-width: 100%;
}


img.nahled-upload {
  image-orientation: from-image;
}

.img-thumbnail {
  image-orientation: from-image;
}

.img-responsive {
  image-orientation: from-image;
}

@media (max-width: 1200px) {

  /*
    .fotogalerie,
    .pridat-mezisklad,
    #zobraz-filtr,
    #id-filtr {
        display: none;
    }
    */
  #foto-hide {
    display: none;
  }

  #foto-show-click {
    display: none;
    cursor: pointer;
  }

  #foto-hide-click {
    cursor: pointer;
  }
}

@media (min-width: 1200px) {

  #foto-hide-click,
  #foto-show-click {
    display: none;
  }
}

.nastenka-objekt {
  text-align: center;
  padding: 10px 0 0.5px 0;
  color: rgb(255, 255, 255);
  font-size: 25px;
  border-radius: 7px;
}

.nastenka-lms {
  background-color: rgb(223, 213, 189);
}

.nastenka-ucetnictvi {
  background-color: rgb(64, 160, 201);
}

.nastenka-zabbix {
  background-color: rgb(199, 2, 2);
}

.nastenka-unifi {
  background-color: rgb(23, 159, 219);
}

.nastenka-air {
  background-color: #f8f8f8;
}

.nastenka-graylog {
  background-color: rgb(77, 76, 71);
}

.nastenka-objekt p {
  cursor: pointer;
}

.nastenka table {
  margin-top: 20px;
  border: 1px solid rgb(157, 157, 157);
  width: 100%;
}

.nastenka th {
  color: rgb(255, 255, 255);
  padding: 5px;
  background-color: rgb(56, 57, 56);
  border: 1px solid rgb(157, 157, 157);
}

.nastenka td {
  border: 1px solid rgb(157, 157, 157);
  padding: 5px;
}

.no {
  margin-bottom: 15px;
  height: 95px;
}

a.odkaz,
a.odkaz:hover {
  color: rgb(255, 255, 255);
  text-decoration: none;
}

.nastenka-unifi a {
  padding-left: 10px;
  padding-right: 10px;
}

.servis form {
  max-width: 350px;
}

.odkazy {
  margin-bottom: 35px;
}

.mezisklad label {
  display: block;
}

.mezisklad form {
  display: block;
}

.mezisklad table tr:nth-child(even) {
  background-color: #f2f2f2;
}

@media (min-width: 1547px) {
  .mezisklad .text-center a {
    font-size: 13px;
  }
}

.mezisklad .text-center a.zpracovana {
  color: #009444;
  font-size: 16px;
  margin-left: 4px;
  margin-right: 4px;
}

.mezisklad .text-center a.smazat-odkaz {
  color: #d82224;
}

.odsad {
  margin-top: 10px;
  margin-bottom: 10px;
}

.vyhledat-odsad input {
  border: 1px solid #eaeaea;
  text-indent: 4px;
  height: 30px;
}

@media (max-width: 990px) {
  .mezisklad form {
    display: block;
  }

  .mezisklad form input {
    display: block;
  }

  .mezisklad form label {
    margin-top: 5px;
  }
}

.pridat {
  margin-top: 30px;
  margin-bottom: 30px;
}

.pridat a {
  background-color: rgb(4, 145, 58);
  color: rgb(255, 255, 255);
  padding: 10px;
  text-decoration: none;
}

a.download,
a.download:hover {
  background-color: rgb(4, 145, 58);
}

.pridat-odmena a {
  border-radius: 5px;
}

a.pridat-vysilac {
  background-color: rgb(4, 145, 58);
  color: rgb(255, 255, 255);
  padding: 6px;
  text-decoration: none;
}

@media (max-width: 530px) {
  a.pridat-vysilac {
    display: block;
    margin-bottom: 15px;
    max-width: 130px;
  }
}

.vysilac-klic {
  display: inline-block;
}

.carka {
  font-size: 1.7em;
  padding-left: 7px;
  padding-right: 7px;
}

a.previous {
  margin-top: 20px;
  text-decoration: none;
  display: inline-block;
  padding: 8px 16px;
}

a.previous:hover {
  background-color: #ddd;
  color: black;
}

.previous {
  background-color: #f1f1f1;
  color: black;
}

.pohotovost textarea {
  min-height: 90px;
}

.pohotovost-nastenka {
  margin-top: 10px;
  margin-bottom: 20px;
}

@media (max-width: 1358px) {
  .phone-hide {
    display: none;
  }

  .top-panel {
    padding-right: 5px;
  }
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

#google {
  width: 100%;
  margin: 20px 0 20px 0;
  border: none;
  padding: 10px;
  height: 40px;
  border: 1px solid #eaeaea;
  outline: none;
}

input#google {
  text-indent: 22px;
  background-image: url("https://cdn4.iconfinder.com/data/icons/new-google-logo-2015/400/new-google-favicon-512.png");
  background-repeat: no-repeat;
  background-size: 22px 22px;
  background-position: left 5px center;
}

.files select {
  max-width: 250px;
}

.vyhledavac {
  width: 100%;
  max-width: 350px;
  position: relative;
  display: inline-block;
  font-size: 12px;
  margin-bottom: 15px;
}

.vyhledavac2 {
  width: 100%;
  max-width: 480px;
  position: relative;
  display: inline-block;
  font-size: 12px;
  margin-bottom: 15px;
}

.vyhledavac3 {
  width: 100%;
  max-width: 480px;
  position: relative;
  display: inline-block;
  font-size: 12px;
  margin-bottom: 15px;
}

.vyhledat-odsad .vyhledavac3 {
  max-width: 300px;
}

@media (max-width: 440px) {
  .vloz {
    display: block;
    margin-top: 10px;
    max-width: 300px;
  }
}

.vyhledavac a,
.vyhledavac a:hover,
.vyhledavac3 a,
.vyhledavac3 a:hover,
.vyhledavac2 a,
.vyhledavac2 a:hover {
  color: rgb(0, 0, 0);
  text-decoration: none;
}

.vyhledavac input[type="text"],
.vyhledavac3 input[type="text"],
.vyhledavac2 input[type="text"] {
  height: 32px;
  padding: 5px 10px;
  border: 1px solid #cccccc;
  font-size: 14px;
}

.result,
.result3,
.result2 {
  position: absolute;
  z-index: 999;
  top: 100%;
  left: 0;
}

.vyhledavac input[type="text"],
.result,
.vyhledavac3 input[type="text"],
.result3,
.vyhledavac2 input[type="text"],
.result2 {
  width: 100%;
  box-sizing: border-box;
}

.result p,
.result3 p,
.result2 p {
  margin: 0;
  padding: 7px 10px;
  border: 1px solid #cccccc;
  border-top: none;
  cursor: pointer;
  background: white;
}

.result p:hover,
.result3 p:hover,
.result2 p:hover {
  background: #f2f2f2;
}

input#vyhledat {
  text-indent: 22px;
  background-image: url("https://cdn1.iconfinder.com/data/icons/hawcons/32/698627-icon-111-search-512.png");
  background-repeat: no-repeat;
  background-size: 20px 20px;
  background-position: left 5px center;
}

.inline {
  display: inline-block;
}

[data-title]:hover:after {
  opacity: 1;
  transition: all 0.5s ease 0.5s;
  visibility: visible;
}

[data-title]:after {
  content: attr(data-title);
  position: absolute;
  left: 45px;
  bottom: 5px;
  padding: 4px 6px 4px 6px;
  color: rgb(255, 255, 255);
  white-space: nowrap;
  background-color: rgb(17, 17, 17);
  z-index: 9999;
  visibility: hidden;
}

[data-title] {
  position: relative;
}

.sidebar2 [data-title]:hover:after {
  visibility: hidden;
}

[data-top]:hover:after {
  opacity: 1;
  transition: all 0.5s ease 0.5s;
  visibility: visible;
}

[data-top]:after {
  content: attr(data-top);
  position: absolute;
  top: 30px;
  right: 25px;
  padding: 4px 6px 4px 6px;
  font-size: 20px;
  color: rgb(255, 255, 255);
  white-space: nowrap;
  background-color: rgb(0, 160, 223);
  z-index: 9999;
  visibility: hidden;
}

[data-top] {
  position: relative;
}

.table-galerie textarea {
  min-width: 180px;
}

img.vyhledani-img {
  width: 28px;
  height: 28px;
}

.vyhledat-odsad {
  margin-top: 10px;
}

@media (min-width: 1030px) {
  .vyhledat-phone .vyhledat-odsad {
    display: none;
  }
}

@media (max-width: 1030px) {
  .hide-phone {
    display: none;
  }
}

.dokoncene {
  background-color: rgb(242, 242, 242);
  color: rgb(136, 136, 136);
}

.seda {
  background-color: rgb(242, 242, 242);
  color: rgb(136, 136, 136);
}

.zelena {
  background-color: #00ff00;
}

.datum {
  max-width: 180px;
}

.zobraz-filtr {
  display: inline-block;
  text-align: right;
}

#zobraz-filtr {
  padding-left: 20px;
}

#zobraz-filtr:hover {
  cursor: pointer;
}

#filtr {
  display: none;
}

#schov-filtr {
  display: none;
}

.ks {
  max-width: 55px;
}

.nazev {
  width: 280px;
}

.prava table {
  width: 100%;
  border-collapse: collapse;
}

/* Zebra striping */

.prava th {
  background: #333;
  color: white;
  font-weight: bold;
}

.prava td,
th {
  padding: 6px;
  border: 1px solid #ccc;
  text-align: left;
}

.aktualita-form textarea {
  width: 100%;
}

.aktualita-form input[type="date"] {
  max-width: 150px;
}

.aktualita-form table {
  width: 100%;
}

.servisni-prace-table table {
  width: 100%;
}

.odmeny-nadpis {
  margin-bottom: 5px;
}

#baterie-hide,
#servis-hide,
#elektromer-hide,
#prace1-hide,
#prace2-hide,
#prace3-hide,
#prace4-hide,
#prace5-hide {
  display: none;
}

#baterie-show-click,
#servis-show-click,
#elektromer-show-click,
#prace1-show-click,
#prace2-show-click,
#prace3-show-click,
#prace4-show-click,
#prace5-show-click {
  display: none;
  cursor: pointer;
}

#baterie-hide-click,
#servis-hide-click,
#elektromer-hide-click,
#prace1-hide-click,
#prace2-hide-click,
#prace3-hide-click,
#prace4-hide-click,
#prace5-hide-click {
  cursor: pointer;
}

h2 {
  font-size: 1.4em;
}

h3 {
  font-size: 1.1em;
}

@media (max-width: 400px) {

  h1,
  h2 {
    font-size: 1.5em;
  }

  h3 {
    font-size: 1.3em;
  }

  .zobraz-filtr {
    text-align: left;
    display: block;
  }
}

#filtr .form-control {
  border: 1px solid rgb(173, 216, 230);
}

.zaloha-input .form-control {
  border: none;
}

@media (max-width: 1000px) {
  .napoveda {
    display: none;
  }
}

.archiv {
  width: 100%;
}

.archiv2 {
  width: 100%;
  max-width: 580px;
}

.archiv a,
.archiv a:hover {
  color: rgb(255, 255, 255);
}

.archiv table {
  width: 100%;
}

.add_row td {
  border-right: none;
}

.add_row2 td {
  border-right: none;
}

.row-del td {
  border-left: none;
}

td.text-right {
  border-right: 1px solid rgb(157, 157, 157);
}

.archiv-schov,
.hide-archiv {
  display: none;
}

tr.prouzek {
  background-color: #383938;
}

.archiv-schov th {
  background-color: #b9b9b9;
}

.odsad-i i {
  width: 20px;
}

.pujcil {
  max-width: 120px;
}

.lms-id {
  max-width: 75px;
}

.ip-adresa {
  max-width: 115px;
}

.port {
  max-width: 90px;
}

.telefon {
  max-width: 150px;
}

.pozn {
  width: 400px;
}

.naz {
  width: 280px;
}

input[type="file"]>input[type="button"]::-moz-focus-inner {
  border: 0 !important;
  padding: 0 !important;
  display: inline-block;
}

.zaloha-input input {
  height: auto;
}

ul.zaloha-seznam {
  list-style: none;
}

.zaloha-seznam img {
  width: 100%;
}

@media (max-width: 800px) {
  .kalendar {
    overflow-x: auto;
  }
}

select.vyreseno {
  background-color: #00ff40;
}

.pair .form-control {
  display: inline-block !important;
  width: 85%;
}

.pair button {
  float: right;
  background-color: #d82224;
}

.pair button:hover {
  background-color: rgb(226, 1, 5);
}

@media (max-width: 370px) {
  .pair .form-control {
    width: 75%;
  }
}

.zaloha-seznam .btn {
  background-color: #009444;
  color: #f8f8f8;
}

.mt {
  margin-top: 1rem;
}

.grid-nastenka {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

@media (max-width: 678px) {
  .grid-nastenka {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .odkaz-item {
    /* žádné width zde */
  }

  .odkaz-item > a,
  .odkaz-item > a > div {
    width: 100%; /* ať se obrázky roztáhnou na celý box */
  }
}

.nastenka-objekt {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  font-size: 15px !important;
  font-weight: 600;
}

.seafile {
  background-color: #4d4c47;
}

.meet {
  margin: 0 !important;
  width: 16px !important;
}

.jobs {
  margin: 0 .45rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(600px, 1fr));
  gap: 1rem;
}

#finished-jobs {
  display: none;
}

#hide-job {
  display: none;
}

.sel {
  margin-left: .45rem;
}

.smazat-odkaz {
  color: #dc3545 !important;
}

.text-success {
  color: #28a745 !important;
}

.pridat-vysilac {
    background-color: green;
    color: white;
    border-radius: 20px;
    padding: 15px 20px;
    white-space: nowrap;
    cursor: pointer;
    border: none;
    height: 100%;
    transition: background-color 0.3s ease;
}

.pridat-vysilac:hover {
    background-color: #005e00;
}

.btn-mapa-vysilacu:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    background-color: #e8e8e8;
	    text-decoration: none;
}
.btn-mapa-vysilacu {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #f5f5f5;
    border-radius: 20px;
    padding: 15px 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    text-decoration: none;
    font-weight: bold;
    white-space: nowrap;
    height: 100%;
    transition: all 0.3s ease;
}

.btn-mapa-vysilacu img {
    transition: transform 0.3s ease;
}

.btn-mapa-vysilacu:hover {
    background-color: #e8e8e8;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Mobilní layout pod sebe */
@media (max-width: 991px) {
    .vysilace-flexbox {
        flex-direction: column;
        align-items: stretch;
    }
    .vyhledavac,
    .pridat-vysilac,
    .btn-mapa-vysilacu {
        width: 100% !important;
    }
    .btn-mapa-vysilacu {
        justify-content: center;
    }
}




@media (max-width: 1000px) {
    .odmeny-header {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .odmeny-block {
        flex: 1 1 100% !important;
        min-width: 100% !important;
        margin-bottom: 10px !important;
        text-align: left !important;
    }
    .odmeny-block.buttons {
        flex-direction: column !important;
    }
    .odmeny-block.buttons button {
        width: 100% !important;
    }
    .odmeny-block.select {
        text-align: right !important;
    }
}

/* Hover efekty – přechod mezi barvami */
.odmeny-header button {
    transition: background-color 0.3s ease;
}
.odmeny-header button:hover {
    background-color: #388e3c !important; /* pro zelené tlačítko */
}
#openModalVyhledat:hover {
    background-color: #125ea6 !important; /* pro modré tlačítko */
}


@media (max-width: 1000px) {
  .dulezite-text {
    display: none !important;
  }
}



@media (max-width: 1000px) {
    .servisni-header {
        flex-direction: column;
        align-items: stretch !important;
        text-align: left;
    }
    .servisni-block.select {
        text-align: left !important;
        margin-top: 10px;
    }
    .servisni-block.buttons button {
        width: 100% !important;
    }
}


  #pohotovostModalInner {
    width: 80%;
  }

  @media (max-width: 1000px) {
    #pohotovostModalInner {
      width: 95% !important;
    }
  }
  
  
  @keyframes pulseGlow {
  0%   { transform: scale(1);     filter: drop-shadow(0 0 0px #fdd835); }
  50%  { transform: scale(1.15);  filter: drop-shadow(0 0 8px #fdd835); }
  100% { transform: scale(1);     filter: drop-shadow(0 0 0px #fdd835); }
}
.pulse-active {
  animation: pulseGlow 1.2s infinite;
}







/* Hlavní wrapper – skrýt vše nad 1200px */
@media (min-width: 1200px) {
  #pohotovost-responsive-wrap {
    display: none !important;
  }
}

/* Mobilní zobrazení – pod 1200px */
@media (max-width: 1199px) {
  .pohotovost-mobile-wrapper {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
  }

  .pohotovost-heading {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
  }

  .pohotovost-box {
    width: 100%;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
    background-color: #f0f0f0;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .pohotovost-mobile-current {
    background-color: #e3f2fd;
  }

  .pohotovost-tyden {
    font-weight: bold;
    font-size: 14px;
    color: #0d47a1;
    margin-bottom: 8px;
  }

  .pohotovost-jmeno {
    font-size: 13px;
    color: #222;
  }

  #mobileToggleBtn {
    padding: 10px 18px;
    border: none;
    border-radius: 20px;
    background: #1976d2;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
  }

  #mobileToggleBtn:hover {
    background: #125ba1;
  }

  .pohotovost-mobile-zbytek {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
  }
}
@media (max-width: 1199px) {
  .pohotovost-mobile-zbytek {
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
}
@media (max-width: 1199px) {
  .pohotovost-box {
    transition: all 0.3s ease;
  }

  .pohotovost-box:hover {
    background-color: #ececec !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .pohotovost-vybrano {
    background-color: #fff3e0 !important; /* světle oranžová */
    border-left: 4px solid #ff9800;
  }
}


#pohotovostModal {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#pohotovostModal.visible {
  display: flex;
}

#pohotovostModal.fadein {
  opacity: 1;
}

.pohotovost-modal {
  display: none;
  opacity: 0;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  transition: opacity 0.3s ease;
}

.pohotovost-modal.visible {
  display: flex;
}

.pohotovost-modal.fadein {
  opacity: 1;
}

.articles-wrapper {
  padding-left: 20px;
  padding-right: 20px;
}

@media (max-width: 1000px) {
  .articles-wrapper {
    padding-left: 5px;
    padding-right: 5px;
  }
}


@media (min-width: 1001px) {
  #sekce-vyberu {
    padding-left: 23px !important;
    padding-right: 23px !important;
  }
}
.article-wrapper.highlighted-ctrlf {
  box-shadow: 0 4px 18px rgba(255, 165, 0, 0.6);
  border-radius: 8px;
}


.like-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  color: #666;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 6px 10px;
  border-radius: 30px;
  transition: all 0.25s ease;
  user-select: none;
}

.like-btn:hover {
  background-color: rgba(229, 57, 53, 0.1); /* jemné pozadí */
  transform: scale(1.05);
}

.like-btn.liked {
  color: #e53935 !important;
}

.like-btn.animate i {
  animation: pop 0.4s cubic-bezier(0.45, 1.5, 0.55, 1);
}

.like-btn i {
  transition: transform 0.3s ease;
  font-size: 20px;
}

/* Líbivý pop efekt */
@keyframes pop {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.4); }
  60%  { transform: scale(0.9); }
  100% { transform: scale(1); }
}


@media (max-width: 760px) {
  .oblibene-text {
    display: none !important;
  }
}

#btnOblibene:focus {
  outline: none;
  box-shadow: none;
}

#btnOblibene:hover {
  background-color: #ffe5e5;
}


  .odkazy-skryte {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: all 0.4s ease;
    }

    .odkazy-viditelne {
        max-height: 100px; /* přizpůsob dle potřeby */
        opacity: 1;
        transition: all 0.4s ease;
    }

    .rotated {
        transform: rotate(180deg);
    }


.viewed-users-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 30px;
  transition: all 0.25s ease;
  user-select: none;
}

.viewed-users-wrapper:hover {
  background-color: rgba(33, 150, 243, 0.1); /* modrý nádech jako rozdíl od lajků */
  transform: scale(1.05);
}
