html {
	font-size: 1em;
}

@media (min-width: 768px) {
	html {
		font-size: 1em;
	}
}

html {
	position: relative;
	min-height: 100%;
}

body {
/*	margin-bottom: 60px;*/
}

.uzis-bg-gray {
	background-color: #d0d6dd !important; /*#b4b0b0; */
}

.nia-bg-blue {
	background-color: #3463a6 !important;
	color: white !important;
}

.nia-bg-yellow {
	background-color: #f9b234 !important;
}

.nia-title {
	color: white !important;
}

fieldset, legend {
	all: revert;
	border-radius: 3px !important;
	border-color: gray;
}

fieldset {
	border-radius: 5px !important;
	border-color: #d3d3d3 !important;
}

.card {
	--bs-card-spacer-y: 1rem;
	--bs-card-spacer-x: 1rem;
	--bs-card-title-spacer-y: 0.5rem;
	--bs-card-border-width: 1px;
	--bs-card-border-color: var(--bs-border-color-translucent);
	--bs-card-border-radius: 0.375rem;
	--bs-card-box-shadow:;
	--bs-card-inner-border-radius: calc(0.375rem - 1px);
	--bs-card-cap-padding-y: 0.5rem;
	--bs-card-cap-padding-x: 1rem;
	--bs-card-cap-bg: rgba(0, 0, 0, 0.03);
	--bs-card-cap-color:;
	--bs-card-height:;
	--bs-card-color:;
	--bs-card-bg: #fff;
	--bs-card-img-overlay-padding: 1rem;
	--bs-card-group-margin: 0.75rem;
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	height: var(--bs-card-height);
	word-wrap: break-word;
	background-color: var(--bs-card-bg);
	background-clip: border-box;
	border: var(--bs-card-border-width) solid var(--bs-card-border-color);
	border-radius: var(--bs-card-border-radius);
}

.card-body {
	flex: 1 1 auto;
	padding: var(--bs-card-spacer-y) var(--bs-card-spacer-x);
	color: var(--bs-card-color);
}

.card-title {
	margin-bottom: var(--bs-card-title-spacer-y);
}

.card-subtitle {
	margin-top: calc(-0.5 * var(--bs-card-title-spacer-y));
	margin-bottom: 0;
}

.card-text:last-child {
	margin-bottom: 0;
}

.card-link + .card-link {
	margin-left: var(--bs-card-spacer-x);
}

.card-header {
	padding: var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);
	margin-bottom: 0;
	color: var(--bs-card-cap-color);
	background-color: var(--bs-card-cap-bg);
	border-bottom: var(--bs-card-border-width) solid var(--bs-card-border-color);
}

	.card-header:first-child {
		border-radius: var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius) 0 0;
	}

.card-footer {
	padding: var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);
	color: var(--bs-card-cap-color);
	background-color: var(--bs-card-cap-bg);
	border-top: var(--bs-card-border-width) solid var(--bs-card-border-color);
}

	.card-footer:last-child {
		border-radius: 0 0 var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius);
	}

.card-img,
.card-img-top,
.card-img-bottom {
	width: 100%;
}

.card-img,
.card-img-top {
	border-top-left-radius: var(--bs-card-inner-border-radius);
	border-top-right-radius: var(--bs-card-inner-border-radius);
}

.card-img,
.card-img-bottom {
	border-bottom-right-radius: var(--bs-card-inner-border-radius);
	border-bottom-left-radius: var(--bs-card-inner-border-radius);
}

.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;
}

.hidden {
	display: none;
}

.sort-indicator {
	margin-left: 10px;
}



/* ICZ */

icz-container {
	padding: 1.25rem !important;
}

input[type=text],
input[type=password] {
	display: block;
	padding: .375rem 0.75rem .375rem .75rem !important;
}

div .form-group {
	padding: .375rem 0,75rem .375rem .75rem !important;
	/*width: 50%;*/
	margin-bottom: 14px !important;
}

.dropbtn {
	color: white;
	padding: 14px;
	font-size: 14px;
	border: none;
}

.dropdown {
	position: relative;
	display: inline-block;
}

.dropdown-content {
	display: none;
	position: absolute;
	background-color: dodgerblue;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;
}

.dropdown-content a {
	color: black;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
}

.dropdown-content a:hover {
	background-color: #ddd;
}

.dropdown:hover .dropdown-content {
	display: block;
}

.dropdown:hover .dropbtn {
	/*  background-color: #3e8e41; */
}

/* upraveno v ICZ */

.icz-pictogram--inversed {
	margin-left: -0.375rem;
	max-width: 60px;
	color: var(--gov-color-white)
}

.gov-form-control__message {
	color: red !important;
}

input[type=date] {
	padding: 0.35em 0.9em 0.35em 0.4em !important;
}

select.gov-select.gov-js-select {
	padding: 0.6em 0.9em 0.6em 0.4em !important;
	width: 100% !important;
}

a.gov-button.gov-button--primary.gov-button--inversed {
	border: 1px solid !important;
}

button.icz-tabs__link {
	width: 120px;
	margin: 0em;
	border-top-left-radius: 7px;
	border-top-right-radius: 7px;
}

button.icz-tabs__link:hover:not(.active) {
	background-color: #d3dfec;
	color: #2362a2;
}

button.icz-tabs__link.active,
button.gov-tabs__link.is-active {
	background-color: #007bff;
	color: white;
}

div.u-card {
	margin: 0.3em;
	border: 1px solid;
	border-color: white;
	background-color: #edf0f2;
	box-shadow: 2px 2px 7px #1c2228;
}

div.u-card:hover {
	border: 1px solid;
	border-color: #3077b7;
	background-color: #e5ebf0;
}

div.inside-input {
	position: relative;
	display: inline-block;
	width: 100%;
}

button.bttn-inside-input {
	font-family: "Roboto", sans-serif;
	background: #2362a2;
	border: 0;
	color: white;
	padding: 8px;
	position: absolute;
	right: 1px;
	top: 1px;
}

.gov-modal__content {
	width: auto !important;
	/*   z-index: 10001; */
}

gov-modal__content-inner {
	overflow-y: initial;
}

.gov-tabs__link__visible_none {
	visibility: hidden;
}

.icz-tabs__link {
	height: 3em;
	border: solid 1px #dddddd;
}

div.error__message {
	color: red;
	font-size: large;
	font-weight: bold;
}
/*  modální okna */

.icz-modal__close:before {
	content: "";
}

.icz-modal_header {
	font-family: "Roboto", sans-serif;
	background-color: #91b0d0;
}

.icz-button-horizontal-vertical-center {
	position: absolute;
	top: 0em;
	left: 50%;
	/*  padding:  0.5rem 1rem;  */
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
}

.icz-button-horizontal-center-vertical-right85 {
	position: absolute;
	top: 0em;
	left: 85%;
	padding: 0 2.5rem;
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
}

.icz-button-horizontal-center-vertical-right60 {
	position: absolute;
	top: 0em;
	left: 60%;
	padding: 0 2.5rem;
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
}

.icz-button-horizontal-center-vertical-left40 {
	position: absolute;
	top: 0em;
	left: 40%;
	padding: 0 2.5rem;
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
}

.icz-button-horizontal-center-vertical-right70 {
	position: absolute;
	top: 0em;
	left: 70%;
	padding: 0 2.5rem;
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
}

.icz-button-horizontal-center-vertical-left30 {
	position: absolute;
	top: 0em;
	left: 30%;
	padding: 0 2.5rem;
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
}

.icz-button-container {
	height: 2.7rem;
	position: relative;
	top: -0.3rem;
}

.icz-modal__content_width-auto {
	font-family: "Roboto", sans-serif;
	width: auto;
	box-shadow: 2px 2px 7px #1c2228;
}

.icz-modal__content_width100 {
	font-family: "Roboto", sans-serif;
	width: 50% !important;
	box-shadow: 2px 2px 7px #1c2228;
}


.icz-modal__content_width75 {
	font-family: "Roboto", sans-serif;
	width: 40% !important;
	box-shadow: 2px 2px 7px #1c2228;
}

.icz-modal__content_width50 {
	font-family: "Roboto", sans-serif;
	width: 30% !important;
	box-shadow: 2px 2px 7px #1c2228;
}


div.icz-search {
	width: 30%;
	position: absolute;
	right: 0;
	top: 5px;
}

.icz-checkbox__inner {
	position: absolute;
	width: 1.2em;
	height: 1.2em;
	top: 50%;
	right: 35px;
	transform: translateY(-50%);
	z-index: 10;
}


div.loader {
	border: 16px solid #f3f3f3;
	border-radius: 50%;
	border-top: 16px solid blue;
	border-bottom: 16px solid blue;
	width: 150px;
	height: 120px;
	-webkit-animation: spin 2s linear infinite;
	animation: spin 2s linear infinite;
}

/* tooltip */

.icz-tooltip {
	position: absolute;
	right: 0px;
	top: 14px;
	display: inline-block;
}

	.icz-tooltip .icz-tooltiptext {
		visibility: hidden;
		width: 120px;
		background-color: #555;
		color: #fff;
		text-align: center;
		border-radius: 6px;
		padding: 5px 0;
		position: absolute;
		z-index: 1;
		bottom: 125%;
		left: 50%;
		margin-left: -60px;
		opacity: 0;
		transition: opacity 0.3s;
		z-index: 10;
	}

		.icz-tooltip .icz-tooltiptext::after {
			content: "";
			position: absolute;
			top: 100%;
			left: 50%;
			margin-left: -5px;
			border-width: 5px;
			border-style: solid;
			border-color: #555 transparent transparent transparent;
		}

	.icz-tooltip:hover .icz-tooltiptext {
		visibility: visible;
		opacity: 1;
	}


/* vyhledávací pole s vnitřními tlačítky  */

div.icz-search-new-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.icz-input-inner-group {
	position: relative;
	flex: 0 0 40%;
}

.icz-input-inner-button_X {
	right: 36px;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

.icz-input-inner-checkbox {
	position: absolute;
	width: 1.2em;
	height: 1.2em;
	top: 50%;
	right: 36px;
	transform: translateY(-50%);
	z-index: 10;
}

.icz-input-inner-icon {
	right: 1px;
	height: 2.5em;
	width: 2.5em;
	top: 15px;
}

.icz-input-inner-input {
	width: 100%;
	height: 1.9em;
	padding-right: 30px;
}

.icz-btn-new_cert {
	height: 2.5em;
}

.icz-tooltip:hover::before {
	content: attr(data-tooltip);
	position: absolute;
	top: -30px;
	left: 50%;
	transform: translateX(-50%);
	padding: 5px 10px;
	border-radius: 5px;
	background-color: #333;
	color: #fff;
	font-size: 10px;
	white-space: nowrap;
}

/*  tabulka */

/*.table-head-icz {
	padding-left: 8px !important;
	text-decoration: none !important;
}*/

tr th a{
	text-decoration:none !important;
}

.icz-table_bottom {
	margin-bottom: 0.3rem;
}


table.icz-table__border {
	border: 1px solid #dddddd;
	border-collapse: collapse;
	margin-bottom: 0.3rem;
}

table th.icz-table {
	padding: 10px 5px;
	font-weight: bold;
}

table tr.icz-table {
//	border-bottom: 1px solid #dddddd;
	padding: 5px;
}

table td.icz-table {
	padding: 0px 5px;
	min-width: 100px;
	min-height: 2.1em;
}

table td.icz-table_nazev {
	min-width: 200px !important;
	padding: 0px 5px;
}

table thead.icz-table {
	border: 1px solid #dddddd;
	height: 2em;
	padding: 5px;
	background-color: #dddddd;
}

.icz-pocet_cert_tab {
	padding-top: 0.6em;
	margin-left: auto;
	width: auto;
	display: flex;
}

.icz-tabs__links-holder {
	margin-bottom: 0rem;
	display: flex;
	flex-wrap: wrap;
}

.icz-akce-head {
	color: var(--gov-color-blue);
	cursor: pointer;
	font-family: "Roboto", sans-serif;
	font-size: inherit;
	letter-spacing: .05em;
	line-height: 1;
	text-decoration: underline;
	-webkit-font-smoothing: antialiased;
	transition: color 150ms ease-in-out;
	font-size: .75rem;
	font-weight: 500;
	letter-spacing: normal;
	text-decoration: none;
	text-transform: uppercase
}

/* Style the tab */
.tab {
	overflow: hidden;
	border: 1px solid #ccc;
	background-color: #f1f1f1;
}

/* Style the buttons inside the tab */
.tab button {
	background-color: inherit;
	float: left;
	border: none;
	outline: none;
	cursor: pointer;
	padding: 14px 16px;
	transition: 0.3s;
	font-size: 17px;
}

	/* Change background color of buttons on hover */
	.tab button:hover {
		background-color: #ddd;
	}

	/* Create an active/current tablink class */
	.tab button.active {
		background-color: #ccc;
	}

/* Style the tab content */
.icz-tabcontent {
	display: none;
	/*    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
*/
}


/*  splash window  */
#splash {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}

.loading-spinner {
	font-size: 40px;
	color: #333;
}

/* Styly pro zakrytí obrazovky */
.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5); /* Poloprůhledné pozadí */
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}
/* Styly pro animovaný obrázek */
.spinner {
	border: 16px solid #f3f3f3; /* Barva okraje */
	border-top: 16px solid #3498db; /* Barva horní části */
	border-radius: 50%;
	width: 120px;
	height: 120px;
	animation: spin 2s linear infinite;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

/* ICZ ikony */
.btn-icz-icon-text {
	display: inline-block;
	align-items: center;
	margin: 7px 5px;
	padding: 0;
	font-size: 0.75rem;
	color: var(--gov-color-blue);
}

.btn-icz-icon {
	margin-right: 5px;
	height: 50%;
	width: 50%;
	display: none;
}

.text-primary {
	color: #2362a2;
}
.border-primary {
	border: 1px solid #2362a2;
}

.border-primary-2 {
	border: 1px solid #2362a2;
}

.border-primary-3 {
	border: 2px solid #2362a2;
}

.bog-primary {
	border: 3px solid #2362a2;
}

.btn-icz-primary {
	background-color: #2362a2;
	border: 1px solid #12375c;
	border-radius: 3px;
	text-decoration: none;
	color: white !important;
	padding: 0.3rem 0.6rem;
}

	.btn-icz-primary:hover {
		background-color: #86a4c3;
		border: 1px solid #12375c;
		border-radius: 3px;
		color: black !important;
	}

.btn-icz-primary--inverse {
	background-color: #ccc;
	border: 1px solid #555;
	border-radius: 3px;
	text-decoration: none;
	color: black !important;
	padding: 0.3rem 0.6rem;
}

	.btn-icz-primary--inverse:hover {
		background-color: #555;
		border: 1px solid #12375c;
		border-radius: 3px;
		color: white !important;
	}

.cert-actions {
	display: flex;
	gap: 12px;
	align-items: center;
}

.cert-actions__group {
	display: flex;
	gap: 12px;
	margin: 0;
}

	.cert-actions__group form {
		margin: 0;
	}

.cert-actions button {
	margin: 0;
	white-space: nowrap;
}

@media (max-width: 1080px) {
	table th.icz-table {
		padding: 7px 5px;
		font-family: "Roboto", sans-serif;
		/*font-size: 0.95em;*/
	}

	.btn-icz-icon {
		margin-right: 0;
		display: block;
	}

	.btn-icz-text {
		// display: inline-block;
		display: none;
	}

	th::after {
		// content: ""; /* ikonový obsah zde */
		position: absolute;
		/* upravte hodnoty dle potřeby, aby odpovídaly požadovanému umístění */
		top: 0; /* nebo vhodná hodnota pro umístění pod textem */
		left: 0; /* nebo vhodná hodnota pro umístění vedle textu */
	}
}

@media screen and (max-width: 600px) {
	/* Při zmenšení obrazovky na šířku menší než 600px */
	table {
		display: block;
	}

		table tr:nth-of-type(even) {
			background-color: #edf0f2
		}

		/* Převedení řádků na dvousloupcovou strukturu */
		table tr {
			display: flex;
			/*flex-direction: column;    => 1 sloupec  */
			flex-wrap: wrap; /* => 2 sloupce */
			border-bottom: 1px solid #ccc;
		}

		/* Nastavení stylu pro buňky v jednotlivých sloupcích */
		table td, th {
			display: block;
			border: none;
			text-align: left;
			padding: 6px;
			font-family: "Roboto", sans-serif;
			font-size: 0.95em;
		}

		table td, th {
			width: 50%; /* Každý řádek bude obsahovat dva sloupce */
			box-sizing: border-box;
			border: 1px solid #ccc;
			text-align: left;
			padding: 3px;
			margin-bottom: 0 !important;
		}

			/* Přizpůsobení posledního sloupce v přeřazeném řádku */
			table td:nth-child(7) {
				width: 100%; /* Šířka celého řádku */
			}

		table th:nth-child(7) {
			width: 100%; /* Šířka celého řádku hlavičky */
		}

	.btn-icz-text {
		display: inline-block;
	}

	.btn-icz-icon {
		display: none;
	}
}

div.modal-header {
	background-color: #91b0d0;
	font-size: 1.25rem;
	font-weight: 500;
	letter-spacing: .03125em;
	line-height: 1.3333334;
	text-transform: uppercase;
}

div.modal-body {
	font-size: .75rem;
	font-weight: 500;
	letter-spacing: .03125em;
	line-height: 1.3333334;
	text-transform: uppercase;
}

button.btn.btn-icz-icon-text {
	font-weight: 500 !important;
	font-size: 0.8rem !important;
}

.tab-menu {
	font-weight: 500 !important;
	font-size: 0.8rem !important;
	text-transform: uppercase;
}

ul > li {
	position: inherit;
	color: var(--gov-color-grey-mid);
	font-family: "Roboto", sans-serif;
	font-size: .9375rem;
	font-weight: 400;
	letter-spacing: .0125em;
	line-height: 1.86666667;
	-webkit-font-smoothing: antialiased
}

	ul > li .active {
		background-color: var(--gov-color-blue-light);
		color: white;
	}


/* Skrýt Edge nativní tlačítko pro zobrazení hesla */
input[type="password"]::-ms-reveal {
	display: none;
}