body { overflow-x: hidden; }
.nowrap { overflow-x: auto; overflow-y: hidden; white-space: nowrap; }
.clear { clear: both; }

.form-group { margin-bottom: 8px; }
select.form-control {
  height: 34px;
  font-size:13px!important;
  padding-left:1px!important;
}

.navbar-header { min-height: 45px;  }
.navbar .navbar-brand { position: absolute; white-space: nowrap; font-size: 16px;padding-top: 0px;padding-bottom: 0px; padding-left: 0; overflow: hidden;}
.navbar-brand .logo, .navbar-brand .branch, .navbar-brand img { display: inline-block; }
.navbar-brand { width: 100%; }
.navbar-brand img { margin-top: -18px; }
.navbar-brand .logo { min-height: 45px; padding-top: 5px; padding-left: 15px; border-right: 1px solid #c9505e; padding-right: 10px; }
.navbar-brand .logo small { display: block; margin-top: -3px; font-size: 10px; font-weight: normal; opacity: 0.8; }
.navbar-brand .branch { min-height: 45px; margin-left: 10px; padding-top: 3px; }
.navbar-brand .branch strong, .navbar-brand .branch span { display: block; }
.navbar-brand .branch strong { font-size: 10px; opacity: 0.8; font-weight: normal; }
.navbar-brand .branch span { margin-top: -3px; font-weight: bold; }

.loader-block { display: none; position:absolute; z-index: 500; top: 0; left: 0; width: 100%; height: 100%; text-align: center; }
.loader-block img.loader { position: fixed; top: 50%; left: 50%; width: 84px; height: 84px; margin: -32px 0 0 -32px; padding: 15px; border: 2px solid #cc2234; border-radius: 5px; background: #fff; box-shadow: 1px 1px 10px #ccc; }

.login-layout .red { border-bottom-color: #cc071e!important; color: #cc071e!important; }
#logo_login { display: inline-block; margin: -4px 10px 0 0; }

.modal-header .close { font-size: 26px; }

.widget-main .ui-jqgrid-titlebar { display: none!important; }
.widget-main .ui-jqgrid { margin: -12px; }
.required label { font-weight: bold; }

.tooltipevent { padding: 0; background: #FFFFCC; position:absolute; z-index:1029; border-radius: 1%; border: 1px solid #BCD4E5; -webkit-box-shadow: 2px 1px 2px 0 rgba(0,0,0,0.2); box-shadow: 2px 1px 2px 0 rgba(0,0,0,0.2); font-size: 11px; max-width: 280px; }
.tooltipevent .tte-head { background-color: #ffffac; padding: 5px 6px 4px 6px; border-bottom: 1px dotted #c6c667; }
.tooltipevent .tte-head .tte-row { display: flex; justify-content: space-between; flex-flow: wrap; }
.tooltipevent .tte-head .tte-label { font-weight: bold; }
.tooltipevent .tte-head .tte-value { padding-left: 13px; }
.tooltipevent .tte-body { padding: 6px 6px 4px 6px; }
.tooltipevent .tte-body .tte-row { display: flex; line-height: 13px; padding-bottom: 3px; }
.tooltipevent .tte-body .tte-label { font-weight: normal; min-width: 38px; align-content: flex-start; text-align: end; }
.tooltipevent .tte-body .tte-value { font-weight: bold; padding-left: 4px; }


.break-row { display: block; width: 100%; }

/* FONT AWESOME DEFINITION */
.icon-exclamation-circle:before {
  content: "\f06a";
}

.icon-phone-square:before {
  content: "\f098";
}

.icon-file-pdf-o:before {
  content: "\f1c1";
}

.icon-minus-square:before {
  content: "\f146";
}

.icon-ban:before {
  content: "\f05e";
}

.icon-caret-square-o-right:before {
  content: "\f152";
}

.icon-times:before {
  content: "\f00d";
}

.icon-exclamation-triangle:before {
  content: "\f071";
}

.icon-user-times:before {
  content: "\f235";
}

.icon-hourglass-start:before {
  content: "\f251";
}

.icon-clock:before {
  content: "\f017";
}


.tree .tree-item { height: auto; line-height: normal; }
.tree .tree-item .tree-item-name { font-size: 14px; }


.form-group input[disabled], .form-group input:disabled {
color: #000000 !important;
-webkit-text-fill-color: #000000 !important;
/*-webkit-opacity: 1 !important;*/
background-color: #fafafa !important;
}

.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
color: #000000 !important;
-webkit-text-fill-color: #000000 !important;
-webkit-opacity: 1 !important;
background-color: #fafafa !important;
}

.btn-minier {
  font-size: 11px;
}
table .btn-minier {
  line-height: 14px;
  font-size: 11px;
}

body {
  font-family: "Tahoma", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 12px;
  color: #000000;
  line-height: 1.5;
}

textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"] {
  line-height: 1.2;
  font-size: 12px;
  font-family: inherit;
  padding: 5px 4px;
}

label {
  font-size: 13px;
}

.label:not(.arrowed) {
  border-radius: 3px;
}


/*
.table td, .table th {
  font-family: "Tahoma", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 11px;
}
*/
.table thead>tr>th, .table tbody>tr>th, .table tfoot>tr>th, .table thead>tr>td, .table tbody>tr>td, .table tfoot>tr>td {
  padding: 4px 6px 4px 6px;
}

.table thead>tr>th {
  font-size: 11px;
}

.noact {color:#999999; font-style:italic; }

.TEbarva {color:#ff0000; }


.headTestPrepinac { float: right; margin: 2px}
.headTestPrepinac select { font-size:10px; height: 20px; width:100px; margin: 0px 0px!important; padding: 0px 0px!important}
.headTestPrepinac select option { margin: 0px 0px!important; padding: 0px 0px!important}
.headTestPrepinacB { float: right; margin-top: 10px}

.bold {font-weight: bold!important;}

.radio, .checkbox { position: relative; padding-left: 25px; padding-top: 2px !important; }
.checkbox-better { padding-top: 7px; }
input[type="checkbox"].ace + .lbl, input[type="radio"].ace + .lbl { position: static; }
input[type=checkbox].ace + .lbl:before, input[type=radio].ace + .lbl:before { position: absolute; top: 4px; left: 0; }

.checkboxH { padding: 0px!important; margin: 0px!important; min-height: 30px!important;}
input[type=checkbox].ace-checkbox-2 + .lbl:before, input[type=radio].ace-checkbox-2 + .lbl:before { position: absolute; }


.disnone { display: none!important; }

.panel-cn-bozp {background-color:#e7f0fe!important;}
.panel-cn-bozp-title {background-color:#e7f0fe!important; color:#3e6bb1!important; font-weight: bold!important;}
.panel-cn-po {background-color:#fee7e7!important;}
.panel-cn-po-title {background-color:#fee7e7!important; color:#bf5252!important; font-weight: bold!important;}
.panel-cn-haccp {background-color:#fef3e7!important;}
.panel-cn-haccp-title {background-color:#fef3e7!important; color:#bd864b!important; font-weight: bold!important;}
.panel-cn-ozp {background-color:#e2f4df!important;}
.panel-cn-ozp-title {background-color:#e2f4df!important; color:#519143!important; font-weight: bold!important;}

.chosen-choices {
  border: 1px solid #d5d5d5!important;
  min-height: 34px!important;
  background-image: linear-gradient(#eeeeee 1%, #ffffff 15%)!important;
}

.chosen-container, .chosen-choices li.search-field input[type="text"] {
  color: #585858!important;
  font-family:"Tahoma", "Helvetica Neue", Helvetica, Arial, sans-serif!important;
}

.yellow-bg {
  background-color: #FFFF00;
}

/* FILEUPLOADER override custom CSS */
.fileuploader-input h3 {
  font-size: 1.3em!important;
  font-weight: bold!important;
  margin-top: 10px!important;
  margin-bottom: 0px!important;
  color:#5186b5!important;
}

.fileuploader-input-button {
  padding: 3px 10px 6px 10px!important;
  margin-left: 10px!important;
  background: linear-gradient(135deg,#9dd3ff 0,#155ca0 150%)!important;
  font-size: 2em!important;
}

.fileuploader {
  margin: 0px 0px!important;
  background: #f4faff!important;
  padding: 0px 16px 4px 16px!important;
  border: 1px solid #97c2e6!important;
  border-radius: 15px!important;
}

.fileuploader-input {
  padding: 16px 0px 10px 10px!important;
}

.email-td1 {
  padding: 0 4px 0 4px;
  text-align: right;
  vertical-align: top;
  white-space: nowrap;
}

.email-td2 {
  text-align: left;
  vertical-align: top;
  padding: 2px 4px 2px 8px;
  background-color: #edf9ff;
}

.email-body {
  padding: 16px;
  background-color: #f2f2f2;
  border: 1px solid #e0e0e0;
}


.m-0 {
  margin: 0 !important;
}

.m-1 {
  margin: 0.25rem !important;
}

.m-2 {
  margin: 0.5rem !important;
}

.m-3 {
  margin: 1rem !important;
}

.m-4 {
  margin: 1.5rem !important;
}

.m-5 {
  margin: 3rem !important;
}

.m-auto {
  margin: auto !important;
}

.mx-0 {
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.mx-1 {
  margin-right: 0.25rem !important;
  margin-left: 0.25rem !important;
}

.mx-2 {
  margin-right: 0.5rem !important;
  margin-left: 0.5rem !important;
}

.mx-3 {
  margin-right: 1rem !important;
  margin-left: 1rem !important;
}

.mx-4 {
  margin-right: 1.5rem !important;
  margin-left: 1.5rem !important;
}

.mx-5 {
  margin-right: 3rem !important;
  margin-left: 3rem !important;
}

.mx-auto {
  margin-right: auto !important;
  margin-left: auto !important;
}

.my-0 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.my-1 {
  margin-top: 0.25rem !important;
  margin-bottom: 0.25rem !important;
}

.my-2 {
  margin-top: 0.5rem !important;
  margin-bottom: 0.5rem !important;
}

.my-3 {
  margin-top: 1rem !important;
  margin-bottom: 1rem !important;
}

.my-4 {
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}

.my-5 {
  margin-top: 3rem !important;
  margin-bottom: 3rem !important;
}

.my-auto {
  margin-top: auto !important;
  margin-bottom: auto !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.mt-1 {
  margin-top: 0.25rem !important;
}

.mt-2 {
  margin-top: 0.5rem !important;
}

.mt-3 {
  margin-top: 1rem !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.mt-5 {
  margin-top: 3rem !important;
}

.mt-auto {
  margin-top: auto !important;
}

.me-0 {
  margin-right: 0 !important;
}

.me-1 {
  margin-right: 0.25rem !important;
}

.me-2 {
  margin-right: 0.5rem !important;
}

.me-3 {
  margin-right: 1rem !important;
}

.me-4 {
  margin-right: 1.5rem !important;
}

.me-5 {
  margin-right: 3rem !important;
}

.me-auto {
  margin-right: auto !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: 0.25rem !important;
}

.mb-2 {
  margin-bottom: 0.5rem !important;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.mb-5 {
  margin-bottom: 3rem !important;
}

.mb-auto {
  margin-bottom: auto !important;
}

.ms-0 {
  margin-left: 0 !important;
}

.ms-1 {
  margin-left: 0.25rem !important;
}

.ms-2 {
  margin-left: 0.5rem !important;
}

.ms-3 {
  margin-left: 1rem !important;
}

.ms-4 {
  margin-left: 1.5rem !important;
}

.ms-5 {
  margin-left: 3rem !important;
}

.ms-auto {
  margin-left: auto !important;
}

.p-0 {
  padding: 0 !important;
}

.p-1 {
  padding: 0.25rem !important;
}

.p-2 {
  padding: 0.5rem !important;
}

.p-3 {
  padding: 1rem !important;
}

.p-4 {
  padding: 1.5rem !important;
}

.p-5 {
  padding: 3rem !important;
}

.px-0 {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.px-1 {
  padding-right: 0.25rem !important;
  padding-left: 0.25rem !important;
}

.px-2 {
  padding-right: 0.5rem !important;
  padding-left: 0.5rem !important;
}

.px-3 {
  padding-right: 1rem !important;
  padding-left: 1rem !important;
}

.px-4 {
  padding-right: 1.5rem !important;
  padding-left: 1.5rem !important;
}

.px-5 {
  padding-right: 3rem !important;
  padding-left: 3rem !important;
}

.py-0 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.py-1 {
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
}

.py-2 {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

.py-3 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.py-4 {
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}

.py-5 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

.pt-0 {
  padding-top: 0 !important;
}

.pt-1 {
  padding-top: 0.25rem !important;
}

.pt-2 {
  padding-top: 0.5rem !important;
}

.pt-3 {
  padding-top: 1rem !important;
}

.pt-4 {
  padding-top: 1.5rem !important;
}

.pt-5 {
  padding-top: 3rem !important;
}

.pe-0 {
  padding-right: 0 !important;
}

.pe-1 {
  padding-right: 0.25rem !important;
}

.pe-2 {
  padding-right: 0.5rem !important;
}

.pe-3 {
  padding-right: 1rem !important;
}

.pe-4 {
  padding-right: 1.5rem !important;
}

.pe-5 {
  padding-right: 3rem !important;
}

.pb-0 {
  padding-bottom: 0 !important;
}

.pb-1 {
  padding-bottom: 0.25rem !important;
}

.pb-2 {
  padding-bottom: 0.5rem !important;
}

.pb-3 {
  padding-bottom: 1rem !important;
}

.pb-4 {
  padding-bottom: 1.5rem !important;
}

.pb-5 {
  padding-bottom: 3rem !important;
}

.ps-0 {
  padding-left: 0 !important;
}

.ps-1 {
  padding-left: 0.25rem !important;
}

.ps-2 {
  padding-left: 0.5rem !important;
}

.ps-3 {
  padding-left: 1rem !important;
}

.ps-4 {
  padding-left: 1.5rem !important;
}

.ps-5 {
  padding-left: 3rem !important;
}

.justify-content-start {
  justify-content: flex-start !important;
}

.font-weight-bold {
    font-weight: bold;
}

.table-striped>tbody>tr>td.ciziPob, .table-striped>tbody>tr>th.ciziPob {
    background-color: #e0f0ff;
}

.cursor-pointer { cursor: pointer; }
.cursor-help { cursor: help; }
.text-shadow-white { text-shadow: 0px 0px 2px white, 0px 0px 2px white, 0px 0px 2px white, 0px 0px 2px white, 0px 0px 2px white, 0px 0px 2px white; }

.totalRow td { background-color: #dbebff!important; }
.totalRow td:first-child { padding-left: 12px; }

.icon-highlight { border: 1px solid #ffc4c4; border-radius: 4px; padding: 3px; background-color: #fffce2; }

.fw-bold { font-weight: bold!important; }

.my-alert .modal-content { box-shadow: 0 0 12px #00000075; margin: 20px; }
.my-alert .modal-body { padding: 15px; }
.my-alert .bootbox-body { font-size: 15px; color: #4e4e4e; margin: 16px 20px 0 20px; letter-spacing: .01rem; }

.table-responsive { width: 100%; margin-bottom: 15px; overflow-x: scroll; overflow-y: auto; border: 1px solid #ddd; }
.table-responsive thead th { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 70px; cursor: pointer; }
.table-responsive thead th a { display: inline; }

.ui-tooltip { padding: 6px 14px 8px 14px; white-space: normal; text-align: center; }
.logo-test { font-size: 25px; padding-right: 20px; top: -3px; position: relative; font-weight: 700; padding-left: 6px; }
.popover .arrow, .popover .arrow:after { background-color: transparent !important; }

.actions .btn-xs { min-width: 28px; border-radius: 3px!important; margin: 1px !important; }
.actions .btn-xs > [class*="icon-"] { margin:0; }
.actions .btn-group { display: flex; justify-content: center; }
.actions-th { width: 1px; }

.filter { display: flex; flex-wrap: wrap; margin: 0; }
.filter div { min-width: 20%; }
.filter .fulltext-px { max-width: 300px!important; width: 100%!important; }

.filter-buttons { width: 100% !important; margin-top: .75rem !important; }
.filter-buttons .btn { margin-top: 0.25rem !important; margin-bottom: 0.25rem !important; }
.filter-buttons .other-buttons { margin-left: .6rem !important; display: inline; }
.filter-buttons .other-buttons::before { border-left: 1px solid #d5d5d5; content: ""; padding-right: 1rem; }

.page-header { display: flex; justify-content: space-between; align-items: center; }

#wait{
  display:none;
  position:relative;
  top:50%;
  left:50%;
  z-index:1000;
}

@-webkit-keyframes line-scale-pulse-out {
  0% {
    -webkit-transform: scaley(1);
    transform: scaley(1);
  }
  50% {
    -webkit-transform: scaley(0.4);
    transform: scaley(0.4);
  }
  100% {
    -webkit-transform: scaley(1);
    transform: scaley(1);
  }
}

@keyframes line-scale-pulse-out {
  0% {
    -webkit-transform: scaley(1);
    transform: scaley(1);
  }
  50% {
    -webkit-transform: scaley(0.4);
    transform: scaley(0.4);
  }
  100% {
    -webkit-transform: scaley(1);
    transform: scaley(1);
  }
}

.line-scale-pulse-out > div {
  background-color: #579ec8;
  width: 4px;
  height: 35px;
  border-radius: 2px;
  margin: 2px;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  display: inline-block;
  -webkit-animation: line-scale-pulse-out 0.9s -0.6s infinite cubic-bezier(0.85, 0.25, 0.37, 0.85);
  animation: line-scale-pulse-out 0.9s -0.6s infinite cubic-bezier(0.85, 0.25, 0.37, 0.85);
}

.line-scale-pulse-out > div:nth-child(2),
.line-scale-pulse-out > div:nth-child(4) {
  -webkit-animation-delay: -0.4s !important;
  animation-delay: -0.4s !important;
}

.line-scale-pulse-out > div:nth-child(1),
.line-scale-pulse-out > div:nth-child(5) {
  -webkit-animation-delay: -0.2s !important;
  animation-delay: -0.2s !important;
}

body.modal-open {
  overflow: hidden !important;
  padding-right: 2px !important; /* Zabrání posunutí obsahu */
}

.widget-header:has(.widget-toolbar [data-action="collapse"]) {
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body.navbar-fixed { padding-top: 45px; }

/* BEGIN: PRŮVODCE -------------------------- */
#pruvodce-cn {
    background-color: #f3f3f3;
}

#pruvodce-cn .wizard-wrapper {
    display: flex;
    justify-content: center;
}

#pruvodce-cn .wizard {
    width: 100%;
    max-width: 600px;
    background-color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
}

#pruvodce-cn .wizard form {
    display: contents;
}

#pruvodce-cn .wizard-header {
    position: relative;
    background-color: #b4061a;
    color: white;
    padding: 1rem 4rem 1rem 1rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#pruvodce-cn .wizard-header .wizard-logo {
    background-color: #fff;
    border-radius: 6px;
}

#pruvodce-cn .wizard-header .wizard-logo img {
    margin: 7px 6px 6px 7px;
    max-width: 100px;
}

#pruvodce-cn .wizard-header h2 {
    font-size: 3.5rem;
    line-height: 4.5rem;
    margin: 0;
    font-weight: bold;
    width: 5rem;
    height: 5rem;
    text-align: center;
    background-color: #ffffff;
    color: #b4061a;
    border-radius: 50%;
    border: 2px solid #b4061a;
    position: absolute;
    right: 14px;
    bottom: -20px;
    z-index: 2;
}


#pruvodce-cn .wizard-header h3 {
    flex: 1;
    font-size: 2.35rem;
    line-height: 1.1;
    text-align: center;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: .25rem;
}

#pruvodce-cn .wizard-header h3 strong {
    font-weight: bold;
    text-transform: uppercase;
}

#pruvodce-cn .wizard-close, #pruvodce-cn .wizard-close-pruvodce-x {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: white;
    color: #b4061a;
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 2.5rem;
    text-align: center;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: .6;
    transition: opacity 0.2s ease;
}

#pruvodce-cn .wizard-close:hover, #pruvodce-cn .wizard-close-pruvodce-x:hover {
    opacity: 1;
}

#pruvodce-cn .wizard-content {
    flex: 1;
    overflow-y: auto;
    padding: 2rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: clamp(1.75rem, 4vw, 2.55rem);
}

#pruvodce-cn .wizard-content label {
    font-size: clamp(1.75rem, 4vw, 2.55rem);
}

#pruvodce-cn .wizard-content .pruvodce-cn-email {
    color: #000000;
    border-radius: 1rem !important;
    width: 100%;
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: 0.05rem;
    font-weight: bold;
    padding: 10px 10px;
    margin: 12px 0;
    box-shadow: 0 1px 13px rgba(0, 0, 0, 0.2), 0 0 23px rgba(0, 0, 0, 0.1) inset !important;
}
    
#pruvodce-cn .wizard-footer {
    border-top: 1px solid #ddd;
    padding: 1rem 2rem;
    background-color: white;
    position: sticky;
    bottom: 0;
    z-index: 10;
}

#pruvodce-cn .wizard-content p {
    margin-bottom: 1rem;
}

#pruvodce-cn .wizard-buttons {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

#pruvodce-cn .wizard-buttons .button {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid black;
    border-radius: 1rem;
    background-color: #b4061a;
    color: white;
    font-size: clamp(2.25rem, 5vw, 3rem);
    font-weight: bold;
    cursor: pointer;
    letter-spacing: 0.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    white-space: normal;
    transition: background-color 0.2s ease, transform 0.1s ease, opacity 0.2s ease;
    text-decoration: none;
}

#pruvodce-cn .wizard-buttons .button i[class*="icon-"] {
    font-size: 3rem;
}


#pruvodce-cn .wizard-buttons .button:hover {
    filter: brightness(0.9);
}

#pruvodce-cn .wizard-buttons .button:active {
    transform: scale(0.98);
    filter: brightness(0.85);
}

#pruvodce-cn .wizard-buttons .button:disabled {
    background-color: #e0e0e0 !important;
    color: #999 !important;
    cursor: not-allowed;
    opacity: 0.6;
    pointer-events: none;
}

#pruvodce-cn .wizard-buttons .button.is-disabled {
    background-color: #e0e0e0 !important;
    color: #999 !important;
    cursor: not-allowed;
    opacity: 0.6;
    pointer-events: none;
}

#pruvodce-cn .wizard-buttons--two {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

#pruvodce-cn .wizard-buttons--two .button {
    flex: 0 1 auto;
}

#pruvodce-cn .wizard-buttons--text-two {
    flex-direction: column;
}

#pruvodce-cn .wizard-buttons--text-two span {
    margin: 0;
    font-size: 2rem;
}

#pruvodce-cn .wizard-buttons--text-two .button-group {
    display: flex;
    gap: 1rem;
    align-items: center;
}

#pruvodce-cn .wizard-buttons--text-two .button-group .button {
    flex: 1;
}

#pruvodce-cn .wizard-buttons--one {
    justify-content: center;
}

#pruvodce-cn .wizard-buttons--one .button {
    flex: 0 1 auto;
    min-width: 80%;
}

#pruvodce-cn .wizard-buttons--stacked {
    flex-direction: column;
}

#pruvodce-cn .wizard-buttons--stacked .button {
    width: 100%;
}

#pruvodce-cn .wizard-buttons .button {
    background-color: #b4061a!important;
}

#pruvodce-cn .wizard-buttons .button small {
    font-weight: normal;
    font-size: 75%;
}

#pruvodce-cn .wizard-buttons .button-white {
    background-color: #f0f0f0!important;
    color: #000000!important;
}

#pruvodce-cn .wizard-buttons .button-grey {
    background-color: #a4a4a4!important;
}
#pruvodce-cn .wizard-buttons .button-grey:hover {
    background-color: #7f7f7f!important;
}

#pruvodce-cn .button-2x {
    padding-top: 1.5rem!important;
    padding-bottom: 1.5rem!important;
    font-size: clamp(
        calc(2.25rem * 1.2), 
        calc(5vw * 1.2), 
        calc(3rem * 1.2)
    ) !important;
}

#pruvodce-cn .button-upper {
    text-transform: uppercase;
}

#pruvodce-cn .text-done {
    text-align: center;
    font-size: 140%;
    font-weight: bold;
    line-height: 128%;
    padding: 0rem 2rem 3rem 2rem;
}

#pruvodce-cn .button-back {
    padding: 0.4rem .5rem!important;
    min-width: 50%!important;
}

#pruvodce-cn .button-test {
    padding: 0.25rem .5rem!important;
    font-size: clamp(
        calc(2.25rem * 0.7), 
        calc(5vw * 0.7), 
        calc(3rem * 0.7)
    ) !important;
    font-weight: normal !important;
    width: 90% !important;
    align-self: center !important;
}

#pruvodce-cn .button-small {
    padding: 0.25rem 2rem!important;
    font-size: clamp(
        calc(2.25rem * 0.7), 
        calc(5vw * 0.7), 
        calc(3rem * 0.7)
    ) !important;
    font-weight: normal !important;
    width: auto !important;
    flex: 0 0 auto !important;
    min-width: auto !important;
    align-self: center !important;
}

#signature-pad {

}

#signature-pad .xsignature-pad--body {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    font-size: 10px;
    border: 1px solid #e8e8e8;
    background-color: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 8px rgba(0, 0, 0, 0.08) inset;
    border-radius: 1rem;
    padding: 8px;
}

#signature-pad .xsignature-pad--body canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.qr-code {
    width: 55%;
    aspect-ratio: 1 / 1;
    margin: 0 auto; /* horizontální centrování */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    overflow: hidden;
    background: white;
    padding: 16px;
}

.qr-code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

#pruvodce-cn .modal-backdrop.in {
    opacity: .7;
}

.pruvodce-modal {
    display: flex;
    /*align-items: center;*/
    justify-content: center;
    position: fixed;
    top: 90px;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1050;
    overflow-y: auto;
}

.pruvodce-modal .modal-dialog {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.pruvodce-modal .modal-content {
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
}

.pruvodce-modal-confirm .modal-content {
    box-shadow: 0 0 12px #00000087;
    width: 92%;
    justify-self: center;
    top: 12px;
}

.pruvodce-modal .modal-header,
.pruvodce-modal .modal-footer {
    flex-shrink: 0;
    background: #fff;
    z-index: 1;
}

.pruvodce-modal .modal-header {
    margin-bottom: 10px;
    background-color: #b4061a;
    color: #ffffff;
    padding: 10px 15px;
}

.pruvodce-modal .modal-header .close {
    color: #ffffff;
    text-shadow: 0 0px 4px #000000;
    opacity: .5;
}

.pruvodce-modal .modal-header .close:hover,
.pruvodce-modal .modal-header .close:focus {
    opacity: .9;
}

.pruvodce-modal .modal-header h4 {
    font-size: 2rem;
    font-weight: bold;
}

.pruvodce-modal .modal-footer {
    margin-top: 10px;
    text-align: center;
}

.pruvodce-modal .modal-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 0 15px;
}

.pruvodce-modal .modal-body .bootbox-body {
    font-size: 2rem;
    text-align: center;
}

.pruvodce-modal .modal-body .sleva {
    background-color: #f0f0f0;
    color: #000000;
    border-radius: 1rem !important;
    width: 250px;
    text-align: center;
    font-size: 4rem;
    font-weight: bold;
    padding: 10px 10px;
    margin: 12px 0;
}

.pruvodce-modal .btn {
    padding: 0.5rem 1rem;
    border: 1px solid #6f6f6f;
    border-radius: 8px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    letter-spacing: 0.05rem;
    align-items: center;
    justify-content: center;
    white-space: normal;
    transition: background-color 0.2s ease, transform 0.1s ease, opacity 0.2s ease;
    text-decoration: none;
}


.pruvodce-modal .btn-success {
    background-color: #b4061a!important;    
    font-weight: bold;
    padding: 8px 16px;
    text-transform: uppercase;
}

.pruvodce-modal .modal-footer .btn+.btn {
    margin-bottom: 0;
    margin-left: 12px;
}

.locked {
    position: relative;
    pointer-events: none;
    cursor: not-allowed;
}

.locked::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 255, 255, 0.4);
    z-index: 2147483000;
}

.locked .unlocked {
    pointer-events: auto;
    cursor: auto;
    position: relative;
    z-index: 2147483647;
    box-shadow: inset 0 0 0 9999px rgb(98 168 209 / 10%);
    border-radius: inherit;
}

/* END: PRŮVODCE -------------------------- */

.bgc-warn { background-color: rgba(255, 0, 0, 0.1)!important; }
.ui-autocomplete { max-height: 240px; overflow-y: auto; overflow-x: hidden; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.1); }
.ui-autocomplete li a { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.ui-autocomplete li:nth-child(50)::after { content: "… nalezeno více výsledků, upřesněte hledání"; color: #999999; font-style: italic; display: block; white-space: normal; padding: 6px 10px; pointer-events: none; }


@media (max-width: 991px) {
  .logo-test { font-size: 18px; padding-right: 4px; top: -5px; }
  .navbar-brand .branch span { font-size: 12px;}
  .navbar-brand img {height: 35px;padding-top: 10px;}
}

@media (min-width: 768px) {
  #dashboard .page-content > .row > .widget-container-span .widget-body .table-responsive { height: 300px; min-height: .01%; overflow-x: auto; }/* Boxy na nástěnce */
  #dashboard .page-content > .row > .widget-container-span { margin-bottom: 20px; }
  #dashboard .page-content > .row > .widget-container-span:nth-child(even) + .widget-container-span { clear: both; }
  .ui-autocomplete { width: auto !important; }
}

@media (max-width: 767px) {
  .navbar-brand .logo { display: none; }
  .table-responsive>.table>thead>tr>td, .table-responsive>.table>tbody>tr>td, .table-responsive>.table>tfoot>tr>td { white-space: normal; }
  .table-responsive>.table>thead>tr>td.nowrap, .table-responsive>.table>tbody>tr>td.nowrap, .table-responsive>.table>tfoot>tr>td.nowrap { white-space: nowrap !important; }
  .navbar-container { padding-left: 0; padding-right: 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: nowrap; }
}

@media (max-width: 640px) {
  .ace-nav > li { float: right !important; }
  .filter-buttons .other-buttons { margin-left: 0 !important; display: block; }
  .filter-buttons .other-buttons::before { display: none; }

  .my-alert .modal-content { margin: 10px; }
  .my-alert .modal-body { padding: 0px; }
  .my-alert .bootbox-body { font-size: 14px; }
  #pruvodce-cn .wizard-content { padding: 1rem 2rem; }
}

@media (max-width: 575.98px) {
  .filter .fulltext-px { max-width: 100%!important; width: 100%!important; }
  .ace-settings-container, body.breadcrumbs-fixed .ace-settings-container { display: none; }
}

@media (max-width: 360px) {
  body { overflow-x: hidden; }
}

