
html, body {
	padding:0px;
	margin:0px;
	height:100%;
	font-family: "Poppins", sans-serif;
	font-size:small;
	font-weight: 400;
	font-style: normal;
	letter-spacing: 0.6px;
	color: #394A52;
}

html {
	overflow-y: scroll;
	background-color: #F8F9FD;
}

.screen_admin_2{
	padding-top: 10px;
	margin-top: 10px;
}
@media screen and (min-width: 0px) and (max-width: 500px) {
	.mobileformat tr,.mobileformat  { display: flex; flex-direction: column;}
  	li.ui-state-default {	touch-action: auto !important;}
	.mobilehide { display: none; }
	.niceborder td, .niceborder th { padding: 3px !important; }
}

@media screen and (min-width: 0px) and (max-width: 617px) {
	#login_border {
		border-bottom: 1px solid #D9E3E8;
	}
}

@media screen and (min-width: 618px) {
	#login_border {
		border-right: 1px solid #D9E3E8;
	}
}

@media screen and (min-width: 0px) and (max-width: 800px) {
  .screen_mobile { display: inline-block; }
  .screen_normal { display: none; }
  
  #admin_menu_mobile { display: none; }
  .screen_admin_1, .screen_admin_2, .admin_uvod_blok  {
  	float: none;
  }
  .admin_uvod_blok {
  	float: left;
  	width: 100%;
  }
  .admin_uvod_tab {
  	width: 100%;
    margin-bottom: 5px;
  }
  .vrch {
	width: 100%;
	height: 33px;
  }
  #vrch2 {
	height:33px;
  }
}

@media screen and (min-width: 801px) {
  .screen_mobile { display: none; }
  .screen_normal { display: inline-block; }
  #admin_menu_mobile { display: block; }

  .screen_admin_1 {
  	float: left;
  	width: 192px;
  	position: relative;
  	transition: width 0.25s ease;
  }

  .screen_admin_2 {
  	float: left;
	width: -moz-calc(100% - 192px - 7px);
    width: -webkit-calc(100% - 192px - 7px);
    width: calc(100% - 192px - 7px);
    padding-left: 7px;
    transition: width 0.25s ease;
  }

  body.admin_menu_collapsed .screen_admin_1 {
  	width: 0 !important;
  	padding: 0;
  	margin: 0;
  	overflow: hidden;
  }

  body.admin_menu_collapsed #admin_menu_mobile {
  	display: none !important;
  }

  body.admin_menu_collapsed .screen_admin_2 {
  	width: calc(100% - 7px) !important;
  	padding-left: 7px;
  }

  .admin_uvod_blok {
  	float: left;
  	width: 100%;
    margin-bottom: 10px;
  }

  .admin_uvod_tab {
  	width: 98%;
    margin-bottom: 5px;
  }

  .vrch {
	width: 100%;
	height: 50px;
  }

  #vrch2 {
	height:50px;
  }
}

@media print{
   .noprint, , .noprint *{
       display: none !important;
   }
}

.screen_user_zam, .screen_admin_2 {
	//text-align:left;
	background-color: #F8F9FD;
    min-height: 100vh !important;
}


#mainscreen {
    box-sizing: border-box;
}

#mainscreen table.niceborder {
	margin-left: auto;
	margin-right: auto;
}

#loading {
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
}

#logo_sekcia {
	background-color: #FFFF33;
}

.head_buttons {
	margin:15px;
}

.bottom_buttons {
	margin:15px;
}

.showav_button {
	margin-left:0px !important;
	margin-right:0px !important;
	border-radius:0px !important;
	height:50px;
	vertical-align:middle;
}

hr {
	border-top: 1px solid #D9E3E8;
}

.ui-datepicker,
#ui-datepicker-div {
    z-index: 100005 !important;
}

#pdf_spinner {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  background: rgba(15, 23, 42, 0.35); /* jemné stmavenie */
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

#pdf_spinner[hidden] { display: none !important; }

.pdf_notice {
  display: flex;
  gap: 14px;
  align-items: center;
  width: min(520px, 100%);
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 16px 50px rgba(0,0,0,0.18);
}

.pdf_loader {
  width: 44px;
  height: 44px;
  border: 5px solid rgba(0,0,0,0.15);
  border-top-color: rgba(37, 99, 235, 0.95);
  border-radius: 50%;
  animation: pdf_spin 0.9s linear infinite;
  flex: 0 0 auto;
}

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

.pdf_text { line-height: 1.25; }
.pdf_title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}
.pdf_sub {
  margin-top: 4px;
  font-size: 13px;
  color: rgba(15, 23, 42, 0.70);
}


input:invalid, textarea:invalid, select:invalid {
  border: 1px solid #f88 !important;
  background-color: #fee !important;
}

input:not([type=submit]):not([type=button]):not([type=checkbox]), select:not(.chosen-select) {
	border: 1px solid #D9E3E8;
	border-radius: 20px !important;
	-moz-border-radius: 20px !important;
	-khtml-border-radius: 20px !important;
	-webkit-border-radius: 20px !important;
	padding:5px;
}

input[type=file] {
	box-sizing:border-box;
	max-width:100%;
	min-height:36px;
	background-color:#FFFFFF;
	color:#394A52;
	cursor:pointer;
}

input[type=file]::file-selector-button {
	margin-right:8px;
	border:1px solid #D9E3E8;
	border-radius:14px;
	padding:5px 11px;
	background-color:#FFFFFF;
	color:#394A52;
	font:inherit;
	cursor:pointer;
}

input[type=file]::-webkit-file-upload-button {
	margin-right:8px;
	border:1px solid #D9E3E8;
	border-radius:14px;
	padding:5px 11px;
	background-color:#FFFFFF;
	color:#394A52;
	font:inherit;
	cursor:pointer;
}

input[type=file]:focus-visible {
	outline:2px solid #2f80ed;
	outline-offset:2px;
}

input[type=file]:disabled,
input[type=file]:disabled::file-selector-button {
	cursor:not-allowed;
	opacity:0.65;
}

textarea {
	border: 1px solid #D9E3E8;
	border-radius: 20px !important;
	-moz-border-radius: 20px !important;
	-khtml-border-radius: 20px !important;
	-webkit-border-radius: 20px !important;
	padding:7px;
}

input[type=button], body :not(.head_buttons) button:not(.select2-selection__choice__remove):not(.select2-selection__clear):not(.fc-button):not(.ck-button) {
	border: 1px solid #E2E3E7;
	border-radius: 7px;
	-moz-border-radius: 7px;
	-khtml-border-radius: 7px;
	-webkit-border-radius: 7px;
	background:#FFFFFF;
	padding:10px 14px;
	margin:4px;
	font-weight:bold;
	box-shadow:
		0 2px 6px rgba(16, 35, 77, 0.06),
		0 8px 22px rgba(16, 35, 77, 0.08);
	transition: all .2s ease;
}

input[type=button]:hover, body :not(.head_buttons) button:not(.select2-selection__choice__remove):not(.select2-selection__clear):not(.fc-button):not(.ck-button):hover {
	box-shadow:
		0 4px 10px rgba(16, 35, 77, 0.08),
		0 14px 32px rgba(16, 35, 77, 0.12);
	transform: translateY(-2px);
}

button.native_file_clear {
	display:inline-flex !important;
	align-items:center;
	justify-content:center;
	box-sizing:border-box;
	width:28px !important;
	height:28px !important;
	min-width:28px;
	margin:0 0 0 6px !important;
	padding:0 !important;
	border:1px solid #dc3247 !important;
	border-radius:50% !important;
	background:#fff !important;
	color:#dc3247 !important;
	font-size:20px !important;
	font-weight:600 !important;
	line-height:1 !important;
	vertical-align:middle;
	box-shadow:none !important;
	transform:none !important;
	cursor:pointer;
}
button.native_file_clear:hover,
button.native_file_clear:focus-visible {
	background:#dc3247 !important;
	color:#fff !important;
	box-shadow:none !important;
	transform:none !important;
}
button.native_file_clear[hidden] {
	display:none !important;
}
input[type=file]:disabled + button.native_file_clear {
	display:none !important;
}

.head_buttons a > button, .head_buttons button {
    border: 1px solid #E2E3E7 !important;
    border-radius: 7px !important;
    background: #FDFDFD !important;
    padding: 10px 14px !important;
    margin: 0 6px 6px 0 !important;
    box-shadow:
        0 2px 6px rgba(16, 35, 77, 0.06),
        0 8px 22px rgba(16, 35, 77, 0.08);

    transition: all .2s ease;
}
.head_buttons a > button:hover, .head_buttons button:hover {
    box-shadow:
        0 4px 10px rgba(16, 35, 77, 0.08),
        0 14px 32px rgba(16, 35, 77, 0.12);

    transform: translateY(-2px);
}
.head_buttons .btn_new {
    border-color: #0A60E7 !important;
    background: #0A60E7 !important;
    color: #D0F5FF;
}
.head_buttons .head_btn_icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    vertical-align: middle;
}
.head_buttons .btn_new .head_btn_icon {
   	filter: brightness(0) invert(1);
}

button.return_page{
    border: 1px solid #E2E3E7 !important;
    border-radius: 7px !important;
    background: #FDFDFD !important;
    padding: 10px 14px !important;
    margin: 0 6px 6px 0 !important;
    box-shadow:
        0 2px 6px rgba(16, 35, 77, 0.06),
        0 8px 22px rgba(16, 35, 77, 0.08);

    transition: all .2s ease;
}
button.return_page:hover {
    box-shadow:
        0 4px 10px rgba(16, 35, 77, 0.08),
        0 14px 32px rgba(16, 35, 77, 0.12);

    transform: translateY(-2px);
}

.filter_button {
    height: 45px;
    width: 130px;
    border: 1px solid #E2E3E7 !important;
    border-radius: 7px !important;
    background: #fffde6 !important;
    padding: 10px 14px !important;
    margin: 0 6px 6px 0 !important;
    box-shadow:
        0 2px 6px rgba(16, 35, 77, 0.06),
        0 8px 22px rgba(16, 35, 77, 0.08);

    transition: all .2s ease;
}
.filter_button_submit{
    background: #394A52 !important;
    color: #ffffffef;
}
.filter_button:hover {
    box-shadow:
        0 4px 10px rgba(16, 35, 77, 0.08),
        0 14px 32px rgba(16, 35, 77, 0.12);

    transform: translateY(-2px);
}

.filter_button .filter_btn_icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    vertical-align: middle;
}
.filter_button_submit .filter_btn_icon {
    filter: brightness(0) invert(1);
}

.filter_wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 24px auto 10px auto;
}

.filter_actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;

    width: fit-content;
    max-width: 95%;
    padding: 18px 24px;

    background: rgba(255, 255, 255, 0.85);
    
}

.filter_popup_overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 24px;
    background: rgba(20, 32, 42, 0.45);

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.filter_popup_overlay.is_open {
    display: flex;
}

.filter_popup_opened {
    overflow: hidden;
}

.filter_popup {
    width: min(1120px, 96vw);
    max-height: 90vh;

    background: #F8F9FD;
    border: 1px solid #E2E3E7;
    border-radius: 22px;

    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.24),
        0 4px 14px rgba(16, 35, 77, 0.10);

    overflow: hidden;
    animation: filterPopupShow 0.18s ease-out;
}

@keyframes filterPopupShow {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.filter_popup_header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 22px 26px;

    background: linear-gradient(135deg, #FFFFFF, #ECF3FB);
    border-bottom: 1px solid #D9E3E8;
}

.filter_popup_title {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #1A2845;
    font-size: 22px;
    font-weight: 800;
}

.filter_popup_subtitle {
    margin-top: 4px;
    color: #6C7B86;
    font-size: 13px;
    font-weight: 500;
}

.filter_popup_close {
    width: 42px;
    height: 42px;

    border: 1px solid #D9E3E8 !important;
    border-radius: 12px !important;
    background: #FFFFFF !important;

    color: #394A52;
    font-size: 30px;
    line-height: 1;
    font-weight: 600;

    cursor: pointer;
}

.filter_popup_close:hover {
    background: #F1F5F8 !important;
    transform: translateY(-1px);
}

.filter_popup_body {
    max-height: 300px;
    overflow: auto;

    padding: 24px;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
    gap: 16px;
}

/* tabuľky vo vnútri popupu */
#mainscreen .filter_popup_body table.niceborder.fix_size {
    display: table !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;

    border-collapse: separate;
    border-spacing: 0;

    background: #FFFFFF;
    border: 1px solid #D9E3E8;
    border-radius: 16px;

    overflow: hidden;

    box-shadow:
        0 3px 10px rgba(16, 35, 77, 0.045),
        0 10px 24px rgba(16, 35, 77, 0.055);
}

#mainscreen .filter_popup_body table.niceborder.fix_size th,
#mainscreen .filter_popup_body table.niceborder.fix_size td {
    border: 0 !important;
    background: #FFFFFF !important;
    letter-spacing: 0.2px;
}

#mainscreen .filter_popup_body table.niceborder.fix_size th {
    min-height: 54px;

    padding: 14px 16px 8px 16px;

    text-align: left !important;
    vertical-align: middle;

    color: #1A2845;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;

    background: #F6FAFD !important;
    border-bottom: 1px solid #EDF1F5 !important;
}

#mainscreen .filter_popup_body table.niceborder.fix_size td {
    height: auto !important;
    padding: 14px 16px 16px 16px;

    text-align: left !important;
    vertical-align: top;

    color: #394A52;
}

/* inputy vo filtroch */
#mainscreen .filter_popup_body input[type="text"],
#mainscreen .filter_popup_body input[type="number"],
#mainscreen .filter_popup_body input[type="date"],
#mainscreen .filter_popup_body select {
    width: 100% !important;
    max-width: 100%;
    min-height: 40px;

    box-sizing: border-box;

    padding: 0 12px;
    margin: 0 0 10px 0;

    border: 1px solid #D9E1EA;
    border-radius: 13px;

    background: #FFFFFF;
    color: #394A52;
    font-size: 1em;
}

/* dátum od-do */
#mainscreen .filter_popup_body #datum_od,
#mainscreen .filter_popup_body #datum_do {
    width: calc(50% - 10px) !important;
    display: inline-block;
}

/* select2 vo filtroch */
#mainscreen .filter_popup_body .select2,
#mainscreen .filter_popup_body .select2-container {
    width: 100% !important;
    max-width: 100%;
    margin-bottom: 10px;
    box-sizing: border-box;
}

/* checkboxy */
#mainscreen .filter_popup_body input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 5px 7px 0 0;
    vertical-align: middle;
    accent-color: #394A52;
}

#mainscreen .filter_popup_body .smallfont {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}

/* pôvodné submit tlačidlo v tabuľke schovať, použije sa spodné zelené */
#mainscreen .filter_popup_body table.niceborder.fix_size input[type="submit"] {
    display: none !important;
}

.filter_popup_footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;

    padding: 18px 24px;

    background: #FFFFFF;
    border-top: 1px solid #D9E3E8;
}

.filter_popup_cancel,
.filter_popup_submit {
    min-width: 130px;
    height: 46px;

    border: 0 !important;
    border-radius: 13px !important;

    padding: 0 22px;

    font-size: 15px;
    font-weight: 800;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    cursor: pointer;
}

.filter_popup_cancel {
    background: #EEF3F6 !important;
    color: #394A52 !important;
}

.filter_popup_submit {
    background: #8ACB39 !important;
    color: #102030 !important;

    box-shadow: 0 8px 18px rgba(138, 203, 57, 0.25);
}

.filter_popup_cancel:hover,
.filter_popup_submit:hover {
    transform: translateY(-1px);
}

/* mobil */
@media screen and (max-width: 700px) {
    .filter_actions {
        width: calc(100vw - 36px);
        flex-direction: column;
        gap: 10px;
    }

    .filter_actions .filter_button {
        width: 100%;
        margin: 0 !important;
    }

    .filter_popup_overlay {
        padding: 10px;
    }

    .filter_popup {
        width: 100%;
        max-height: 94vh;
        border-radius: 18px;
    }

    .filter_popup_body {
        grid-template-columns: 1fr;
        padding: 16px;
        max-height: 300px;
    }

    .filter_popup_footer {
        flex-direction: column;
    }

    .filter_popup_cancel,
    .filter_popup_submit {
        width: 100%;
    }
}
.filter_popup .select2-container {
    width: 100% !important;
}

.filter_popup .select2-dropdown {
    z-index: 100002 !important;
}

.select2-container--open {
    z-index: 100002 !important;
}

.select2-container--open .select2-dropdown {
    z-index: 100002 !important;
}

.filter_popup_body #text_search {
    display: none !important;
}


.selected-filters-bar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    margin: 8px auto 8px;
    padding: 6px 10px;

    background: #f8fbfd;
    border: 1px solid #d8e3ea;
    border-radius: 11px;

    color: #26394a;
    font-size: 11px;
    line-height: 1.15;

    box-shadow: 0 2px 8px rgba(20, 45, 60, 0.035);
}

.selected-filters-title {
    font-weight: 700;
    color: #182b3c;
    margin-right: 2px;
}

.selected-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;

    min-height: 24px;
    padding: 3px 7px;

    background: #ffffff;
    border: 1px solid #dce6ed;
    border-radius: 999px;

    white-space: nowrap;
}

.selected-filter-label {
    color: #526879;
    font-weight: 500;
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.selected-filter-value {
    display: inline-flex;
    align-items: center;

    padding: 2px 7px;

    background: #edf3ff;
    border-radius: 999px;

    color: #1260c4;
    font-weight: 700;

    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.selected-filters-clear {
    display: inline-flex;
    align-items: center;
    gap: 4px;

    margin-left: 6px;
    padding: 3px 6px;

    color: #425565;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none !important;

    border-radius: 7px;
    white-space: nowrap;
}

.selected-filters-clear:hover {
    background: #eef3f6;
    color: #d33;
}

.selected-filters-clear-icon {
    font-size: 20px;
    line-height: 1;
    font-weight: 700;
}
.selected-filters-wrap {
    text-align: center;
}
@media (max-width: 700px) {
    .selected-filters-bar {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-left: 10px;
        margin-right: 10px;
    }

    .selected-filters-clear {
        margin-left: 0;
    }
}

/* Natívny select bez Select2 – kompaktný vzhľad zhodný s tmavým režimom */
select.nochosen {
    display: inline-block;
    width: auto;
    max-width: 100%;
    height: 30px;
    box-sizing: border-box;

    padding: 5px;

    border: 1px solid #D9E3E8 !important;
    border-radius: 20px !important;

    background-color: #ffffff;
    color: #394A52;

    font-family: Arial, sans-serif;
    font-size: 1.1em;
    font-weight: 400;
    line-height: normal;

    cursor: pointer;

    appearance: auto;
    -webkit-appearance: auto;
    -moz-appearance: auto;
    background-image: none;

    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

#loadobsaddat,
#loadsledzml,
#loadtlackl,
#loadpredpisdat {
    width: auto;
}

select.nochosen:hover {
    border-color: #b8c8d1 !important;
}

select.nochosen:focus {
    outline: none;
    border-color: #5897fb !important;
    box-shadow: 0 0 0 1px #5897fb;
}

select.nochosen:disabled {
    background-color: #eeeeee;
    color: #888888;
    cursor: not-allowed;
    opacity: 0.8;
}

/* červený vzhľad pri povinnom nevyplnenom selecte */
select.nochosen:required:invalid {
    border-color: #f88 !important;
    background-color: #fee;
}

input[type=submit] {
	border: 1px solid #D9E3E8;
	border-radius: 7px;
	-moz-border-radius: 7px;
	-khtml-border-radius: 7px;
	-webkit-border-radius: 7px;
	background:#394A52;
	color:#FFFFFF;
	padding:15px;
	margin:4px;
	font-weight:bold;
	font-size:1.3em;
	letter-spacing:1px;
	box-shadow:
		0 2px 6px rgba(16, 35, 77, 0.10),
		0 8px 22px rgba(16, 35, 77, 0.14);
	transition: all .2s ease;
}

input[type=submit]:hover {
	box-shadow:
		0 4px 10px rgba(16, 35, 77, 0.12),
		0 14px 32px rgba(16, 35, 77, 0.18);
	transform: translateY(-2px);
}

input[type=button]#posli, button#posli {
	border: 0px;
	background:#394A52;
	color:#FFFFFF;
	padding:8px;
}

#text_search {
    display: block;
	background: url(obr/button_filter.png) no-repeat center;
    width: 16px;
    height: 16px;
}

.button-admin-uvod {
	margin:0 !important;
	padding-top:5px !important;
	padding-bottom:5px !important;
	background: #D9E3E8 !important;
}

.button_red {
	color:#ff0000 !important;
	font-size:1.3em;
}
.button_link {
	width:280px;
	background: url(obr/button_arrow.png) no-repeat 250px center !important;
	text-align:left;
	font-weight:normal !important;
	padding:10px !important;
}

.button_link2 {
	border: 0px !important;
	width:280px;
	background: #394A52 url(obr/button_download.png) no-repeat 250px center !important;
	text-align:left;
	font-weight:normal !important;
	padding:10px !important;
	color: #ffffff;
}

.butgreen {
	background: #8acb39 !important;
}

.zam_button {
	display:inline-block;
	position:relative;
	width: 165px;
	height: 155px;
	background: #D9E3E8;
	border-radius: 20px;
	-moz-border-radius: 20px;
	-khtml-border-radius: 20px;
	-webkit-border-radius: 20px;
	margin:5px;
    padding-top: 7px;
    padding-left: 5px;
    padding-right: 5px;
    border: 2px solid transparent;
    box-shadow: 0 4px 14px rgba(57, 74, 82, 0.08), 0 1px 3px rgba(57, 74, 82, 0.05);
    overflow: hidden;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.zam_button:hover {
	transform: translateY(-4px);
	border-color: #BFD3E2;
	background: #C8D6DE;
	box-shadow: 0 10px 24px rgba(57, 74, 82, 0.14), 0 3px 8px rgba(57, 74, 82, 0.08);
}

.zam_text {
	position:absolute;
	top:95px;
	left: 10px;
	right: 10px;
	margin: 0; 
	width: auto;
	font-weight:600;
	text-align:center;
    padding-top: 7px;
    color: #334164;
}

.zam_img {
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 40px;
	margin: auto !important;
}

input[type="radio"], input[type="checkbox"] {
	width:1.3em;
	height:1.3em;
	cursor: pointer;
}

input[type="radio"] { 
  border:2px solid white;
  box-shadow:0 0 0 1px #808080;;
  appearance:none;
  border-radius:50%;
  background-color:#fff;
  transition:all ease-in 0.2s;
}

input[type="radio"]:checked { 
  background-color:#808080;;
  border:1 px solid #808080;;
  box-shadow:0 0 0 1px #808080;;
}

input[type="radio"]:disabled:checked { 
  background-color:#aaaaaa;;
  border:1 px solid #f4f4f4;;
  box-shadow:0 0 0 1px #f4f4f4;;
}

input[type="radio"]:disabled:not(:checked) { 
  background-color:#f4f4f4;;
  border:1 px solid #f4f4f4;;
  box-shadow:0 0 0 1px #f4f4f4;;
}


:root {
  --checkbox-border-color: #8b8c89;
  --checkbox-checked-color: #8b8c89;
  --checkbox-disabled-color: #f4f4f4;
  --checkbox-unchecked-required-color: #ff0000;
}
input[type="checkbox"] {
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  margin: 6px 6px 0px 6px;
  padding: 0;
  border: 2px solid var(--checkbox-border-color);
  appearance: none;
  background-color: transparent;
  outline: none;
  transition: outline 0.1s;
}
input[type="checkbox"]:not(:checked):not(:disabled):required {
  border-color: var(--checkbox-unchecked-required-color);
}

input[type="checkbox"]:checked {
  background-size: cover;
  padding: 2px;
}
 
    input[type="checkbox"]:not(:disabled):checked {
      border-color: var(--checkbox-checked-color);
      background-image: url(data:image/svg+xml;utf8,<svg\ xmlns=\"http://www.w3.org/2000/svg\"\ xmlns:xlink=\"http://www.w3.org/1999/xlink\"\ width=\"20\"\ height=\"20\"\ viewBox=\"0\ 0\ 32\ 32\"\ xml:space=\"preserve\"><path\ style=\"fill:\ %23274c77\"\ d=\"M11.941,28.877l-11.941-11.942l5.695-5.696l6.246,6.246l14.364-14.364L32,8.818\"/></svg>);
    }

input[type="checkbox"]:disabled:checked {
	background-image: url(data:image/svg+xml;utf8,<svg\ xmlns=\"http://www.w3.org/2000/svg\"\ xmlns:xlink=\"http://www.w3.org/1999/xlink\"\ width=\"20\"\ height=\"20\"\ viewBox=\"0\ 0\ 32\ 32\"\ xml:space=\"preserve\"><path\ style=\"fill:\ gray\"\ d=\"M11.941,28.877l-11.941-11.942l5.695-5.696l6.246,6.246l14.364-14.364L32,8.818\"/></svg>);
	border-color: var(--checkbox-disabled-color);
}
input[type="checkbox"]:disabled:not(:checked) {
	border-color: var(--checkbox-disabled-color);
}


.menu_open {
	background-image: none !important;
	background-position: right 12px top 12px !important;
	background-repeat: no-repeat !important;
}

.menu_close {
	//
}
.urbangreymenu .headerbar.menu_open::after{
    background-image: url('obr/icon_admin_down.png');
}

.urbangreymenu .headerbar.menu_close::after{
    background-image: url('obr/icon_admin_right.png');
}

.chosen-select + .select2-container .select2-selection {
	border-radius: 20px;
	-moz-border-radius: 20px;
	-khtml-border-radius: 20px;
	-webkit-border-radius: 20px;
}

select, option {
	font-size:1.1em;
	cursor:pointer;
}

button, label, #posli, #get_search, input[type=button], input[type=submit], input[type=image], input[type=file], img[src="obr/delete.png"] {
	cursor:pointer;
}

img[src^="obr/"] {
	vertical-align:middle;
	margin-left:2px;
	margin-right:2px;
}

img[src="obr/plus.png"], img[src="obr/minus.png"], img[src="obr/copy.png"], img[src="obr/eye.png"], img[src="obr/eye-not.png"], img[src="obr/upload.png"], img[src="obr/start.png"], img[src="obr/send.png"], img[src="obr/resend.png"] {
	cursor:pointer;
}

input.loginbox {
	color: #555555}

img {
	border: 0px;
}

a img:hover, span img:hover, input[type=image]:hover {
	opacity: 0.8;
	filter: alpha(opacity=80); /* For IE8 and earlier */
}

a img, span img, input[type=image] {
	opacity: 1;
	filter: alpha(opacity=100); /* For IE8 and earlier */
}

.smallfont, .smallfont input {
	font-size:0.8em;
}

.err2 {
	color: #FF0000 !important;
	font-weight:bold;
}

.ok, .err {
	display:none;
}

#ok-final {
	color: #00AA00;
	z-index:102;
}

#err-final {
	color: #FF0000 !important;
	z-index:101;
}
#ok-final, #err-final {
	font-weight:bold;
	padding:10px;
	margin:10px;
	border-radius: 20px;
	-moz-border-radius: 20px;
	-khtml-border-radius: 20px;
	-webkit-border-radius: 20px;
	display:table;
	font-size:1.5em;
	box-shadow: 0px 0px 3px 3px, 0px 0px 3px 3px inset;
	cursor:pointer;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	background:#fff;
	text-align:center;
}

#ok-final::after {
	font-size:0.5em;
	content: "Kliknutím/ESC zavriete";
	display:block;
}

#err-final::after {
	font-size:0.5em;
	content: "Kliknutím zavriete";
	display:block;
}

.show_vysl {
    background-color: #DC3247;
    color: #FFFFFF;
    font-weight:bold;
    padding-left:5px;
    padding-right:5px;
    padding-top:0px;
    padding-bottom:0px;
    -moz-border-radius:8px;
    -webkit-border-radius: 8px;
    border-radius:8px;
    display:inline-block;
    vertical-align:middle;
    margin:3px;
}

span.menu_top, span.menu_top a {
	color: #394A52;
	font-size:small;
}

.vrch {
    position: fixed;
    left: 0;
    top: 0;
    z-index:50; /* nad sticky hlavičkami tabuliek (10), aby odchádzajúci thead šiel pod lištu s logom */
	color: #394A52;
	background-color: #FFFFFF;
	border-bottom: 1px solid #D9E3E8;
}

.wrapper {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -30px;
	background-color: #F8F9FD;
}

.push {
    height: 30px;
	background-color: #F8F9FD;
}

.spodok {
	color: #CCCCDD;
	//font-weight:bold;
	background-color: transparent;
    position: fixed;
    left: 0;
    bottom: 0;
    height: 30px;
    width: 100%;
	z-index: auto;
	pointer-events: none;
}

.spodok a,
.spodok img {
	pointer-events: auto;
}

.page_footer_space {
	display: none;
}

.admin_uvod_searchbar {
	padding: 10px 16px;
	background: #F9FBFC;
	border-bottom: 1px solid #D9E3E8;
	box-sizing: border-box;
}

ul { list-style: none; }

h1 {
	color: #1A2845;
	text-align: left;
	padding: 15px 30px;
	margin:0px;
	//background: #F9FBFC;
	font-size:1.5em;
	//border-bottom: 1px solid #D9E3E8;
}
.admin_uvod_h1 {
	padding: 15px 30px 3px 15px;
}
.kli_bunky_uv{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap:10px;
}
.klient_uv_card{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 340px;
    background: #fff !important;
    border: 1px solid #E2E3E7;
    border-radius: 18px;
    box-shadow: 0 2px 6px rgba(16, 35, 77, 0.06), 0 8px 22px rgba(16, 35, 77, 0.08);
    position: relative;
	overflow: visible;
}

.klient_uv_card img{
    width: 24px;
    height: 24px;
    padding: 10px;
    margin: 10px 5px;
    border-radius: 15px;
}
.klient_uv_pritomny img:not(.klient_uv_tracking){
    background: #ecf7eb33;
    filter: invert(43%) sepia(55%) saturate(661%) hue-rotate(77deg) brightness(89%) contrast(88%);
}

.klient_uv_nepritomny img:not(.klient_uv_tracking) {
    background: #fff3df24;
    filter: invert(68%) sepia(89%) saturate(1282%) hue-rotate(357deg) brightness(101%) contrast(92%);
}
.klient_uv_hosp img:not(.klient_uv_tracking) {
    background: #dff1ff24;
    filter: invert(75%) sepia(63%) saturate(397%) hue-rotate(173deg) brightness(101%) contrast(96%);
}
.klient_uv_lieky img:not(.klient_uv_tracking){
    background: #f7ebed33;
    filter: invert(16%) sepia(96%) saturate(5118%) hue-rotate(356deg) brightness(91%) contrast(105%);
}
.klient_uv_tracking{
    width: 24px;
    height: 24px;
    padding: 10px;
    margin-left: 25px;
    border-radius: 15px;
    border: 1px solid #00000024;
    box-shadow: 0 2px 6px rgb(16 35 77 / 19%), 0 8px 22px rgb(16 35 77 / 12%);
    cursor: pointer;
    transition: all 0.4s ease;
}
.klient_uv_tracking:hover{
    transform: translateY(-4px);
}
.klient_uv_text{
    text-align: left;
}
.klient_uv_count {
    font-size: 22px;
    font-weight: 700;
}
.klient_uv_count.klient_uv_pritomny{
    color: #217A37;
}
.klient_uv_count.klient_uv_nepritomny{
    color: #F1920E;
}
.klient_uv_count.klient_uv_hosp{
    color: #0eadf1;
}
.klient_uv_count.klient_uv_lieky{
    color: #f10e28;
}
.klient_uv_names {
	display: none;
	position: absolute;
	top: calc(100% + 0px);
	right: -20px;
	width: 360px;
	max-height: 430px;
	overflow-y: auto;

	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	box-shadow: 0 12px 30px rgba(0,0,0,0.14);
	z-index: 9999;
	text-align: left;
}
.klient_uv_names.is_open {
    display: block !important;
}
.klient_uv_names::before {
	content: "";
	position: absolute;
	top: -9px;
	right: 30px;
	width: 18px;
	height: 18px;
	background: #ffffff;
	border-left: 1px solid #e5e7eb;
	border-top: 1px solid #e5e7eb;
	transform: rotate(45deg);
}
.klient_uv_names_title {
	position: sticky;
	top: 0;
	background: #ffffff;
	padding: 13px 16px;
	font-size: 12px;
	font-weight: 800;
	color: #00000097;
	border-bottom: 1px solid #e5e7eb;
	z-index: 1;
}
.klient_uv_name_item {
	padding: 3px 16px;
	font-size: 11px;
	border-bottom: 1px solid #edf0f2;
	color: #394A52;
}
.klient_uv_name_item:last-child {
	border-bottom: 0;
}
#get_pss_prit {
	cursor: pointer;
}
#get_pss_prit:hover {
	border-color: #31943C;
}
#get_pss_neprit:hover {
	border-color: #f09000;
}
#get_pss_hosp:hover {
	border-color: #0087cb;
}
#get_pss_nepodane:hover {
	border-color: #cb0000;
}

.uvod_load_box{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 15px;
    width: 100%;
}
.uvod_load_box_left, .uvod_load_box_right{
    min-width: 150px;
    max-width: 620px;
    width: 100%;
}
.uvod_load_box_left{
    display: flex;
    flex-direction: column;
}

.uv_load_card{
    background: #fff !important;
    border: 1px solid #E2E3E7;
    border-radius: 18px;
    box-shadow: 0 2px 6px rgba(16, 35, 77, 0.06), 0 8px 22px rgba(16, 35, 77, 0.08);
    text-align:left;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    margin-bottom: 7px;
}
.uv_load_card_upoz{
    border: 1px solid #AFCEF6;
    background: #F3F7FE !important;
    flex: 1;
}
.uv_load_card_title{
    margin-bottom: 7px;
    font-weight: 600;
}

.uv_load_card_pritom_reload{
    min-height: 80px !important;
    display: flex;
    flex-wrap: wrap;
    align-content: stretch;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.uv_load_card_upoz_reload{
    min-height: 220px !important;
    display: flex;
    flex-wrap: wrap;
    align-content: stretch;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.uv_load_card_upoz_reload img{
    width: 40px;
    height: auto;
}
.uv_load_card_upoz_reload h2{
    border: none;
    background: transparent;
    font-weight: 700;
    color: #00064bb8;
    font-size: 1.3em;
    padding-bottom: 0;
}
.uv_load_card_upoz_reload p{
    color: #0000009c;
    margin-top: 0;
}

.btn_reload_upoz,.btn_reload_pritom{
    border: 1px solid #3075DB;
    background: #3075DB;
    border-radius: 15px;
    color: #ffffffeb;
    padding: 7px 15px;
    font-size: 1.2em;
    font-weight: 600;
    transition: 0.4s ease;
    cursor: pointer;
}
.btn_reload_upoz:hover,.btn_reload_pritom:hover{
    outline: 2px solid #3075DB;
    outline-offset: 4px;
    transform: scale(1.08);
}
.btn_reload_upoz:hover img ,.btn_reload_pritom:hover img{
    transform: rotate(45deg);
}

.btn_reload_upoz img ,.btn_reload_pritom img{
    width: 24px;
    height: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.6s ease;
}


.uv_load_card_buttons{
    padding: 0px 10px 10px 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    flex-direction: row;
    align-content: flex-start;
    justify-content: space-around;
    align-items: flex-start;
}
.uv_load_card_button a{
    border: 1px solid #c2c2c2;
    border-radius: 15px;
    width: 150px;
    height: 70px;
    gap: 3px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    justify-content: center;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.4s ease;
}
.uv_load_card_button a:hover{
    border: 1px solid #5683ff;
    background-color: #5683ff13;
}

.uv_load_card_button a img{
    filter: brightness(0) saturate(100%) invert(34%) sepia(84%) saturate(1975%) hue-rotate(207deg) brightness(91%) contrast(88%);

}
.uv_load_card_button_text{
    color: #011443;
}

.grey_thin_text{
    color: #00000082;
    font-weight: 400;
}

.green_dot{
    display: inline-block;
    border-radius: 50%;
    width: 8px;
    height: 8px;
    margin: 0 5px 0 5px;
    background: #37ff00e7; 
    box-shadow: 0 0 6px rgba(55, 255, 0, 0.9);
}

.aktivny_table_wrap, .pritomny_table_wrap  {
    width: 100%;
    border: 1px solid #c2c2c2;
    border-radius: 15px;
    margin-bottom: 7px;
    overflow:hidden;
}
.aktivny_table, .pritomny_table{
    width: 100%;
    border: none;
    border-collapse: collapse;
    overflow: hidden;
}
.aktivny_table td,.pritomny_table td {
    padding: 5px 7px;
    border: none;
    border-right: 1px solid #c2c2c2;
    border-bottom: 1px solid #c2c2c2;
}

.aktivny_table td:last-child,.pritomny_table td:last-child {
    border-right: none;
}

.aktivny_table tr:last-child td,.pritomny_table tr:last-child td {
    border-bottom: none;
}
.aktivny_td_between,.pritomny_td_between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.aktivny_state{
    padding: 2px 5px 2px 5px;
    border-radius: 7px;
}
.aktivny_state_riaditel{
    background: #FEF3DE;
    color: #F7990D;
}
.aktivny_state_admin{
    background: #fefdde;
    color: #878b00;
}

.btn_animated {
    position: relative;
    padding: 5px 10px;
    border-radius: 7px;
    border: 1px solid #3d6aff;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    background: transparent;
    color: #000000c7;
    overflow: hidden;
    box-shadow: 0 0 0 0 transparent;
    transition: all 0.2s ease-in;
    font-family: Arial, Helvetica, sans-serif;
    cursor: pointer;
    text-decoration: none;
    user-select: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.btn_animated:hover {
    color: #fff;
    background: #3d6aff;
    box-shadow: 0 0 30px 5px rgba(0, 142, 236, 0.815);
    transition: all 0.2s ease-out;
}

.btn_animated:hover::before {
    animation: animation_96 0.5s 0s linear;
}

.btn_animated::before {
    content: '';
    display: block;
    width: 10px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0%;
    opacity: 0;
    background: #fff;
    box-shadow: 0 0 50px 30px #fff;
    transform: skewX(-20deg);
}

@keyframes animation_96 {
    0% {
        opacity: 0;
        left: 0%;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        left: 100%;
    }
}

.btn_animated:active {
    box-shadow: 0 0 0 0 transparent;
    transition: box-shadow 0.2s ease-in;
}

/*** disabled style ***/
.btn_animated:disabled {
    pointer-events: none;
    opacity: .65;
    color: #7e7e7e;
    background: #dcdcdc;
    box-shadow: none;
}


h2 {
	text-align: left;
	padding-left:15px;
	padding-right:15px;
	padding-top:10px;
	padding-bottom:10px;
	margin:0px;
	background: #F9FBFC;
	font-size:1em;
	font-weight:normal;
	border-bottom: 1px solid #D9E3E8;
}

.admin_uvod_h2 {
	border-bottom: none !important;
    padding-top:0px;
	padding-bottom:0px;
}

.fc h2  {
	all: unset;
}

a:active, a:link, a:visited {
	color: #394A52;
	text-underline-offset: 3px;
	text-decoration: underline;
}

a:hover {
	text-decoration:none;
	color: ;
	//text-shadow:0px 0px 3px #0000FF;
	opacity: 0.8;
	filter: alpha(opacity=80); /* For IE8 and earlier */
}

th {
	text-align:center;
}

table.fix_size th {
	height:25px;
    padding: 0 5px 0 5px;
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
}

table.fix_size td {
	height:25px;
    align-content: start;
    padding: 5px 5px 0 5px !important;
    text-align: start;
}

#mainscreen .filter_wrapper_safe table.fix_size td {
	text-align: center !important;
}

table.fix_size {
	display:inline-block;
}

.ui-tooltip {
    white-space: pre-line;
    max-width: 400px;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    box-shadow: 0 0 7px black;
    background: #fff;
}

#calendar {
	//max-width: 1000px;
	margin: auto;
}
.calendar_formevent {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	z-index:9; /* lebo datepicker ma 10 */
	filter: drop-shadow(5px 5px 10px #000000);
}
.fc-event {
	border-width: 3px;
}
.full button {
	width: 100% !important;
	height: 100% !important;
	border-radius: 20px;
}
.popper,
.tooltip {
  position: absolute;
  z-index: 9999;
  background: #F9FBFC;
  color: black;
  width: 150px;
  border-radius: 3px;
  box-shadow: 0 0 2px rgba(0,0,0,0.5);
  padding: 10px;
  text-align: center;
}
.style5 .tooltip {
  background: #1E252B;
  //color: #FFFFFF;
  max-width: 200px;
  width: auto;
  font-size: .8rem;
  padding: .5em 1em;
}
.popper .popper__arrow,
.tooltip .tooltip-arrow {
  width: 0;
  height: 0;
  border-style: solid;
  position: absolute;
  margin: 5px;
}

.tooltip .tooltip-arrow,
.popper .popper__arrow {
  border-color: #D9E3E8;
}
.style5 .tooltip .tooltip-arrow {
  border-color: #1E252B;
}
.popper[x-placement^="top"],
.tooltip[x-placement^="top"] {
  margin-bottom: 5px;
}
.popper[x-placement^="top"] .popper__arrow,
.tooltip[x-placement^="top"] .tooltip-arrow {
  border-width: 5px 5px 0 5px;
  border-left-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;
  bottom: -5px;
  left: calc(50% - 5px);
  margin-top: 0;
  margin-bottom: 0;
}
.popper[x-placement^="bottom"],
.tooltip[x-placement^="bottom"] {
  margin-top: 5px;
}
.tooltip[x-placement^="bottom"] .tooltip-arrow,
.popper[x-placement^="bottom"] .popper__arrow {
  border-width: 0 5px 5px 5px;
  border-left-color: transparent;
  border-right-color: transparent;
  border-top-color: transparent;
  top: -5px;
  left: calc(50% - 5px);
  margin-top: 0;
  margin-bottom: 0;
}
.tooltip[x-placement^="right"],
.popper[x-placement^="right"] {
  margin-left: 5px;
}
.popper[x-placement^="right"] .popper__arrow,
.tooltip[x-placement^="right"] .tooltip-arrow {
  border-width: 5px 5px 5px 0;
  border-left-color: transparent;
  border-top-color: transparent;
  border-bottom-color: transparent;
  left: -5px;
  top: calc(50% - 5px);
  margin-left: 0;
  margin-right: 0;
}
.popper[x-placement^="left"],
.tooltip[x-placement^="left"] {
  margin-right: 5px;
}
.popper[x-placement^="left"] .popper__arrow,
.tooltip[x-placement^="left"] .tooltip-arrow {
  border-width: 5px 0 5px 5px;
  border-top-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;
  right: -5px;
  top: calc(50% - 5px);
  margin-left: 0;
  margin-right: 0;
}









.niceborder {
    border-collapse: collapse;
    background: #fff !important;
    border: 1px solid #E2E3E7;
    border-radius: 18px;
    box-shadow:
        0 2px 6px rgba(16, 35, 77, 0.06),
        0 8px 22px rgba(16, 35, 77, 0.08);
}

.niceborder td,
.niceborder th {
    color: #334164;
    border: 1px solid #E2E3E7;
    padding: 10px;
}

.niceborder th {
    background-color: #FFFFFF;
}

.niceborder tbody tr td {
    background: #FDFDFD;
}
.niceborder tbody tr td img[src^="obr/pen.png"]{
    filter: brightness(0) saturate(100%) invert(43%) sepia(59%) saturate(748%) hue-rotate(189deg) brightness(91%) contrast(90%);
}

.niceborder tbody tr:hover td {
    background: #F5F8FD;
    transition: all 0.1s ease-in-out;
}


/* ============================= */
/* FILTER PANEL                  */
/* ============================= */

#mainscreen .filter_wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 4px 8px;

    width: auto;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;

    margin: 24px auto 10px auto;
    padding: 16px;

    background: #fff !important;
    border: 1px solid #E2E3E7;
    border-radius: 18px;
    box-shadow:
        0 2px 6px rgba(16, 35, 77, 0.06),
        0 8px 22px rgba(16, 35, 77, 0.08);

    overflow: clip;
}

#mainscreen .filter_wrapper > * {
    min-width: 0;
    max-width: 100%;
}

.filter_wrapper #show_search,
.filter_wrapper #show_zorad,
.filter_wrapper #hiderok {
    display: contents;
}

/* každá tabuľka vo filtri ako karta */
#mainscreen .filter_wrapper table.niceborder.fix_size {
    width: auto !important;
    max-width: 100% !important;
    min-width: 100px;
    flex: 0 1 auto;
    box-sizing: border-box;
}

/* odstránenie vnútorných čiar a starých pozadí */
#mainscreen .filter_wrapper table.niceborder.fix_size th,
#mainscreen .filter_wrapper table.niceborder.fix_size td {
    border: 0 !important;
    background: #fff !important;
    letter-spacing: 0.2px;
}

/* nadpis filtra */
#mainscreen .filter_wrapper table.niceborder.fix_size th {
    padding: 0px 18px 6px;
    text-align: left !important;
    align-content: center;
    font-size: 1.0em;
    font-weight: 600;
    color: #444;
    line-height: 1.0;
    height: 65px;
}

/* obsah filtra */
#mainscreen .filter_wrapper table.niceborder.fix_size td {
    padding: 0px 8px 0px;
    text-align: left !important;
    vertical-align: top;
    align-content: start;
    color: #444;
}

/* inputy a selecty vo filtroch */
#mainscreen .filter_wrapper input[type="text"],
#mainscreen .filter_wrapper input[type="number"],
#mainscreen .filter_wrapper input[type="date"],
#mainscreen .filter_wrapper select {
    width: 100% !important;
    max-width: 100%;
    height: 40px;
    box-sizing: border-box;

    padding: 0 12px;
    margin: 0 0 10px 0;
    border: 1px solid #D9E1EA;
    border-radius: 13px;

    background: #fff;
    color: #444;
    font-size: 1.0em;
}

/* select2 */
#mainscreen .filter_wrapper .select2,
#mainscreen .filter_wrapper .select2-container {
    width: 100% !important;
    max-width: 100%;
    margin-bottom: 10px;
    color: #444;
    box-sizing: border-box;
}

#mainscreen .filter_wrapper .select2-selection {
    min-height: 40px;
    border: 1px solid #D9E1EA !important;
    border-radius: 13px !important;
    background: #fff !important;
}

#mainscreen .filter_wrapper .select2-container .select2-selection--single {
    align-content: center;
    height: 39px !important;
}
.fix_size .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 39px !important;
}

.fix_size .select2-container .select2-selection--single .select2-selection__arrow {
    height: 39px !important;
}

.fix_size .select2-container--default .select2-selection--single .select2-selection__arrow b {
    margin-top: 0 !important;
    top: 50% !important;
    transform: translateY(-50%);
}

/* focus */
#mainscreen .filter_wrapper_safe input:focus,
#mainscreen .filter_wrapper_safe select:focus {
    outline: none;
    border-color: #6DA8BD;
    box-shadow: 0 0 0 3px rgba(109, 168, 189, 0.18);
}

/* dátum od-do */
#mainscreen .filter_wrapper_safe #datum_od,
#mainscreen .filter_wrapper_safe #datum_do {
    width: calc(50% - 8px) !important;
    display: inline-block;
    font-size: 0.8em;
}

/* checkboxy */
#mainscreen .filter_wrapper_safe input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0 7px 0 0 !important;
    vertical-align: middle !important;
    accent-color: #244C5A;
    position: relative;
    top: -1px;
}

/* malé riadky */
#mainscreen .filter_wrapper_safe .smallfont {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
}

#mainscreen .filter_wrapper_safe .smallfont input[type="checkbox"] {
    margin-top: 0;
}

/* tlačidlo načítať */
#mainscreen .filter_wrapper_safe input[type="submit"] {
    min-width:120px;
    height: 48px;
    padding: 0 28px;

    border: 0;
    border-radius: 16px;
    background: #244C5A;

    color: #fff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;

    box-shadow: 0 6px 16px rgba(36, 76, 90, 0.22);
}

#mainscreen .filter_wrapper_safe input[type="submit"]:hover {
    background: #1c3f4b;
}

/* Submit tabuľka: prázdny header riadok <tr><th></th></tr> schovať plošne (nie je reálny rowspan v HTML). */
#mainscreen .filter_wrapper_safe table.niceborder.fix_size:has(input[type="submit"]) {
    width: auto !important;
}

#mainscreen .filter_wrapper_safe table.niceborder.fix_size:has(input[type="submit"]) > tbody > tr:first-child,
#mainscreen .filter_wrapper_safe table.niceborder.fix_size:has(input[type="submit"]) > tr:first-child {
    display: none !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

#mainscreen .filter_wrapper_safe table.niceborder.fix_size:has(input[type="submit"]) > tbody > tr:first-child > th,
#mainscreen .filter_wrapper_safe table.niceborder.fix_size:has(input[type="submit"]) > tr:first-child > th {
    display: none !important;
    height: 0 !important;
    max-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    line-height: 0 !important;
    font-size: 0 !important;
}

#mainscreen .filter_wrapper_safe .filter_submit_cell {
    box-sizing: border-box;
    text-align: center !important;
    vertical-align: middle !important;
    align-content: center;
}

.allowdel {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    font-size: 0.8em;
}

#mainscreen .filter_wrapper_safe table.niceborder.fix_size:has(input[type="submit"]) input[type="submit"] {
    display: block;
    max-width: 100% !important;
    margin: 0 auto 0 auto !important;
}

#mainscreen .filter_wrapper_safe table.niceborder.fix_size:has(input[type="submit"]) .smallfont {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0px;
}


#mainscreen table.niceborder.fix_size input:not([type=submit]):not([type=checkbox]), #mainscreen table.niceborder.fix_size select, #mainscreen table.niceborder.fix_size td .select2 {
    //margin-bottom: 5px !important;
}

/* responzívne */
@media (max-width: 900px) {
    
}













.niceborderuk {
	border-collapse:collapse;
}

.niceborderuk td, .niceborderuk th {
    padding: 10px;
}

.niceborderuk td:nth-of-type(1), .niceborderuk th:nth-of-type(1)  {
	border-right: 1px solid #D9E3E8;
}

.niceborderuk th {
	text-align: left;
}

.niceborder2 {
    border-collapse:collapse;
    //border-spacing: 0;
    //border: solid 1px #D9E3E8;
    //-moz-border-radius: 20px;
    //-webkit-border-radius: 20px;
    //border-radius: 20px;
}

.niceborder2 td, .niceborder2 th {
    border: 1px solid #D9E3E8;
    padding: 3px;
}

.niceborder2 th {
    background-color: #FFFFFF;
}

.niceborder2 tbody tr td {
    background: #FFFFFF}

.niceborder2 tbody tr:hover td {
    background: #F9FBFC;
    -o-transition: all 0.1s ease-in-out;
    -webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -ms-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;     
}

.notable {
    border-spacing: 0;
    border: 0px solid #D9E3E8    //-moz-border-radius: 20px;
    //-webkit-border-radius: 20px;
    //border-radius: 20px;
    //-webkit-box-shadow: 0 0px 0px #D9E3E8;
    //-moz-box-shadow: 0 0px 0px #D9E3E8;
    //box-shadow: 0 0px 0px #D9E3E8;
}

.notable td, .notable th {
    border: 0px solid #D9E3E8;
    padding: 2px;
    //text-align: left;    
}

.notable th {
    //-webkit-box-shadow: 0 0px 0 rgba(255,255,255,.8) inset; 
    //-moz-box-shadow:0 0px 0 rgba(255,255,255,.8) inset;  
    //box-shadow: 0 0px 0 rgba(255,255,255,.8) inset;        
    border: none;
    //text-shadow: 0 0px 0 rgba(255,255,255,.5);
    text-align:center;
}

.notable td:first-child, .notable th:first-child {
    border: none;
}

.notable tbody tr:nth-child(even) td {
    background: #FFFFFF    background: rgba(0,0,0,0);
    -webkit-box-shadow: 0 0 0 rgb(255,255,255) inset; 
    -moz-box-shadow:0 0 0 rgb(255,255,255) inset;  
    box-shadow: 0 0 0 rgb(255,255,255) inset;        
}

.notable tbody tr:nth-child(odd) td {
    background:     background: rgba(0,0,0,0);
    -webkit-box-shadow: 0 0 0 rgb(255,255,255) inset; 
    -moz-box-shadow:0 0 0 rgb(255,255,255) inset;  
    box-shadow: 0 0 0 rgb(255,255,255) inset;        
}

.notable tbody tr:hover td {
    //background: #F9FBFC    -o-transition: all 0.1s ease-in-out;
    -webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -ms-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;     
}

.divklient, .divukon, .divizba {
	cursor:pointer;
	border: 1px solid #D9E3E8;
	border-radius: 20px !important;
	-moz-border-radius: 20px !important;
	-khtml-border-radius: 20px !important;
	-webkit-border-radius: 20px !important;
	padding:12px;
	margin:5px;
	background-color: #F9FBFC;
}

.divklient, .divizba {
	white-space: nowrap;
}

.divklient input[type="checkbox"], .divukon input[type="checkbox"], .divizba input[type="checkbox"] {
	//margin-right:8px;
	//display:inline-block;
	//vertical-align:bottom;
	display:none;
}

.divukon {
	float:left;
}

.blokliek {
	border: 1px solid #D9E3E8;
	border-radius: 20px !important;
	-moz-border-radius: 20px !important;
	-khtml-border-radius: 20px !important;
	-webkit-border-radius: 20px !important;
	padding:5px;
}

.klientukon_yes {
	//background-color: #ECF3FB !important;
	background-color: #8acb39 !important;
}

/* Vytvor šírku kontajnera, aby sa hodnoty zalamovali v multiple select optionoch */
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    white-space: normal !important;
    word-wrap: break-word !important;
    max-width: 100% !important;
    display: inline-block !important; /* umožní zalamovanie */
    overflow: hidden;
    text-overflow: ellipsis; /* voliteľne pridať trojbodku pre dlhé slová */
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }


.niceborder thead tr:first-child {
	position: sticky;
	top: 52px;
	z-index: 10;
	background: white;
	border: none;
}

.niceborder thead tr:nth-child(2) {
	position: sticky;
	top: 92.4px; /* Výška prvého riadku + medzera */
	z-index: 9;
	background: white;
	border: none;
}


.niceborder thead th {
	border: none;
	position: relative;
}

.niceborder thead th::after {
	content: "";
	position: absolute;
	top: -0.5px;
	left: -0.5px;
	width: calc(100% - 0.5px);
	height: calc(100% - 0.5px);
	/*box-shadow: 0 0 0 1px #D9E3E8;*/
	border: 1px solid #D9E3E8;
	pointer-events: none;
	z-index: 1000;
}





//ADMINMENU start
.urbangreymenu{
	width: 192px; /*width of menu*/
	padding: 0px;
	border-radius: 5px;
    overflow: hidden;
}

.urbangreymenu .headerbar{
    position: relative;

    font-size: 13px;
    color: #2A314B;
    background: #ECF3FB;

    margin: 0;
    margin-bottom: 0;
    text-align: left;
    text-transform: uppercase;
    padding: 10px 16px 10px 0;
}
.urbangreymenu .headerbar::after{
    content: "";
    position: absolute;
    right: 5px;
    top: 12px;
    width: 16px;  
    height: 16px;
    background-image: url('obr/icon_admin_right.png');
    background-repeat: no-repeat;
    background-size: contain;
}
.urbangreymenu .headerbar::after, .urbangreymenu .headerbar img{
    filter: brightness(0) saturate(100%) invert(27%) sepia(19%) saturate(1013%) hue-rotate(198deg) brightness(25%) contrast(92%);
}
.urbangreymenu .headerbar:has(a.info)::after, .urbangreymenu .headerbar:has(a.info) img{
    filter: brightness(0) saturate(100%) invert(33%) sepia(93%) saturate(1267%) hue-rotate(194deg) brightness(93%) contrast(94%);
}

.urbangreymenu .headerbar a{
color: #2A314B;
text-decoration: none;
display: block;
}

.urbangreymenu .headerbar .info{
	color: #1F5DB0;
}

.urbangreymenu ul{
list-style-type: none;
padding: 0;
margin: 0;
margin-bottom: 0; /*bottom spacing between each UL and rest of content*/
text-align: left;
}

.urbangreymenu ul li{
//padding-bottom: 2px; /*bottom spacing between menu items*/
}

.urbangreymenu ul li a{
font-size: 12px;
color: #000642d4;
background: #F9FBFC;
display: block;
padding: 8px 20px;
line-height: 12px;
//padding-left: 8px; /*link text is indented 8px*/
text-decoration: none;
}

.urbangreymenu ul li a:hover{ /*hover state CSS*/
color: #000642d4;
font-weight:bold;
background: #F8F9FD;
text-shadow:none;
}

.urbangreymenu ul li.here a {
	font-weight:bold;
	background: #FCEAC2;
	border-radius: 7px;
    border-left: 4px solid #1A51AC;
}

.urbangreymenu ul li a.subexpandable:hover{ /*hover state CSS for sub menu header*/
background: #F8F9FD;
}

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

.subcategoryitems li {
	border-left: 3px solid #ECF3FB;
	border-right: 3px solid #ECF3FB;
}
.subcategoryitems li:last-child {
	padding-bottom:0px;
	border-bottom: 3px solid #ECF3FB;
}

.urbangreymenu{
	padding: 3px;
}

@media screen and (min-width: 801px) {
	#admin_menu_mobile{
	    padding: 10px 10px 0 10px;
	    box-sizing: border-box;
	}

	#admin_menu_mobile .urbangreymenu{
	    width: 172px;
	    border-radius: 10px;
	    overflow: hidden;
	    background: #F9FBFC;
	}
	#admin_menu_mobile .urbangreymenu .headerbar:first-of-type{
	    border-top-left-radius: 10px;
	    border-top-right-radius: 10px;
	}
	#admin_menu_mobile .urbangreymenu > *:last-child,
	#admin_menu_mobile .urbangreymenu > *:last-child a{
	    border-bottom-left-radius: 10px;
	    border-bottom-right-radius: 10px;
	}
}

#admin_menu_hide_toggle {
	position: absolute;
	top: 13px;
	left: calc(10px + 172px + 1px);
	right: auto;
	z-index: 9;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	box-sizing: border-box;
	border: 1px solid #D2DCE8;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	box-shadow: 0 2px 6px rgba(16, 35, 77, 0.12);
	background-color: #F8FBFF;
	border-radius: 8px;
	line-height: 0;
	transition: left 0.25s ease, right 0.25s ease, border-radius 0.25s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
#admin_menu_hide_toggle:hover {
	background-color: #FFFFFF;
	border-color: #AEBECE;
	box-shadow: 0 4px 10px rgba(16, 35, 77, 0.18);
}
#admin_menu_hide_toggle img {
	width: 16px;
	height: 16px;
	display: block;
}
@media screen and (min-width: 801px) {
	body.admin_menu_collapsed #admin_menu_hide_toggle {
		position: fixed;
		left: 0;
		right: auto;
		top: 58px;
		width: 36px;
		height: 36px;
		padding: 0;
		border-radius: 0 10px 10px 0;
	}
	body.admin_menu_collapsed #admin_menu_hide_toggle img {
		transform: scaleX(-1);
	}
}
@media screen and (max-width: 800px) {
	#admin_menu_hide_toggle {
		display: none !important;
	}

	.screen_admin_1 {
		width: 100%;
		float: none;
		clear: both;
		padding: 0;
		margin: 0;
		box-sizing: border-box;
	}

	#admin_menu_mobile {
		width: 100%;
		padding: 0;
		margin: 0;
		box-sizing: border-box;
	}

	#admin_menu_mobile .urbangreymenu {
		width: 100%;
		border-radius: 0;
		padding: 0;
		box-sizing: border-box;
	}

	#admin_menu_mobile .urbangreymenu .headerbar:first-of-type,
	#admin_menu_mobile .urbangreymenu > *:last-child,
	#admin_menu_mobile .urbangreymenu > *:last-child a {
		border-radius: 0;
	}
}
//ADMINMENU end

/* FILTRE - vizuál bez presúvania HTML */
#mainscreen table.niceborder.fix_size,
#mainscreen #show_search table.niceborder.fix_size,
#mainscreen #show_zorad table.niceborder.fix_size {
    display: inline-table; /* bez !important: inak jQuery/PHP display:none na filter tabuľkách nefunguje */
    vertical-align: top !important;

    width: auto !important;
    max-width: 100% !important;
    min-width: 100px !important;

    margin: 4px !important;
    box-sizing: border-box !important;

    background: #fff !important;
    border: 1px solid #E2E3E7 !important;
    border-radius: 18px !important;

    box-shadow:
        0 2px 6px rgba(16, 35, 77, 0.06),
        0 8px 22px rgba(16, 35, 77, 0.08) !important;

    overflow: clip !important;
}


/* poistka pre dátumy */
#mainscreen table.niceborder.fix_size input,
#mainscreen table.niceborder.fix_size select {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* dátum od - do */
#mainscreen table.niceborder.fix_size #datum_od,
#mainscreen table.niceborder.fix_size #datum_do {
    width: 95px !important;
    max-width: calc(50% - 8px) !important;
}

/* poistka proti hover transformom mimo šírky */
#mainscreen .filter_button:hover,
#mainscreen .head_buttons a > button:hover {
    transform: none !important;
}

#mainscreen .filter_wrapper_safe {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 0px !important;

    width: auto !important;
    max-width: calc(100% - 32px) !important;
    min-width: 0 !important;
    box-sizing: border-box !important;

    margin: 24px auto 10px auto !important;
    padding: 16px !important;

    background: #ffffff !important;
    border: 1px solid #E2E3E7 !important;
    border-radius: 18px !important;

    box-shadow:
        0 2px 6px rgba(16, 35, 77, 0.06),
        0 8px 22px rgba(16, 35, 77, 0.08) !important;

    overflow: hidden !important;
}

#mainscreen .filter_wrapper_safe #show_search,
#mainscreen .filter_wrapper_safe #show_zorad,
#mainscreen .filter_wrapper_safe #hiderok,
#mainscreen .filter_wrapper_safe #show_search > span,
#mainscreen .filter_wrapper_safe #show_zorad > span,
#mainscreen .filter_wrapper_safe #hiderok > span,
#mainscreen .filter_wrapper_safe #show_search > div,
#mainscreen .filter_wrapper_safe #show_zorad > div,
#mainscreen .filter_wrapper_safe #hiderok > div {
    display: contents;
}

#mainscreen .filter_wrapper_safe table.niceborder.fix_size {
    display: table; /* bez !important: inak jQuery/PHP display:none na filter tabuľkách nefunguje */
    flex: 0 0 auto !important;

    width: auto !important;
    max-width: 100% !important;
    min-width: 100px !important;
    box-sizing: border-box !important;

    background: #ffffff !important;
    border: 1px solid #E2E3E7 !important;
    border-radius: 0px !important;

    overflow: hidden !important;
}

/* Iba kvôli Safari */
@supports not (-webkit-hyphens: none) {
    #mainscreen .filter_wrapper_safe table.niceborder.fix_size {
        margin: 0 !important;
    }
}

/* Select2 single - vertikálne centrovanie bez zmeny výšky */
#mainscreen .filter_wrapper_safe .select2-container .select2-selection--single {
    display: flex !important;
    align-items: center !important;
}

#mainscreen .filter_wrapper_safe .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: normal !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

#mainscreen .filter_wrapper_safe .select2-container .select2-selection--single .select2-selection__arrow {
    top: 50% !important;
    transform: translateY(-50%) !important;
}

#mainscreen .filter_wrapper_safe table.fix_size:has(input[type="submit"]) td {
    text-align: center;
    vertical-align: middle;
    box-sizing: border-box;
    height: 100%;
}

#mainscreen .filter_wrapper_safe table.fix_size:has(input[type="submit"]) input[type="submit"] {
    display: block ;
    margin: 0 auto 0 auto !important;
    height: 43px !important;
    font-size: 1.5em !important;
	letter-spacing: normal;
    padding: 0 10px;
}

/* Novinky sa zvýrazňujú iba hrubším písmom, bez vlastnej farby a podčiarknutia. */
.urbangreymenu ul li a[href="admin_informacie_novinky"] {
	font-weight: bold;
	text-decoration: none !important;
}

.urbangreymenu ul li a[href="admin_informacie_novinky"] span {
	color: inherit !important;
	font-weight: inherit;
	text-decoration: none !important;
}

/* Šichtovnica: denné natívne selecty ostávajú kompaktné aj vo svetlom režime. */
#mainscreen > table.niceborder select.nochosen[id^="typ["],
#mainscreen > table.niceborder select.nochosen[id^="typ2["] {
	width: 41px;
	height: 23px;
	padding: 5px;
	border-width: 1px !important;
	font-family: Arial, sans-serif;
	font-size: 0.8em;
	line-height: normal;
	background-image: none;
}

/* Jednotné kompaktnejšie modulové nadpisy bližšie k hornej lište. */
.screen_admin_2 > h1 {
	text-align: left;
	margin: 0;
	padding: 0 30px 15px;
	font-size: 1.5em;
}
