/* Colors */
:root {	
	--color-default: rgb(60, 60, 60);
	--color-primary: rgb(60, 60, 60);
	--color-secondary: rgba(60, 60, 60, 0.9);
	--color-grey: rgb(80, 80, 80);
	--color-grey-light: rgb(220, 220, 220);	
	--color-red: rgb(220, 53, 69);	
	--color-mp: rgb(42, 193, 97);	/* MP module green */
	--color-ap: rgb(35, 181, 226);	/* AP module blue */
	--color-pe: rgb(248, 172,90);	/* PE module  orange */
	--color-md: rgb(156, 39, 176);  /* MD  module purple  */
	--color-table-hover: rgb(236, 236, 236);
	--color-sub-table: rgba(240, 248, 255);
 
	--color-gold:  rgb(220, 184, 98);
	--color-green: rgb(42, 193, 97);	
	--color-green-alpha: rgba(42, 193, 97, 0.9);
	--color-orange: rgb(248, 172,90);
	--color-orange-alpha: rgba(248, 172,90, 0.9);
	--color-blue: rgb(35, 181, 226);
}
.text-primary {
	color: var(--color-primary) !important;
}
.text-green {
	color: var(--color-green);
}
.text-orange {
	color: var(--color-orange);
}
.text-blue {
	color: var(--color-blue); 
}
.text-md {
	color: var(--color-md); 
}
.bg-primary {
	background-color: var(--color-primary) !important;
}
.bg-grey {
	background-color: var(--color-grey) !important;
}
.navbar-toggler:focus {
	box-shadow: none !important;
}

.bg-grey-light {
	background-color: var(--color-grey-light) !important;
}
.bg-grey-lightest {
	background-color: rgb(240, 240, 240);
}
.bg-green, .bg-success {
	background-color: var(--color-green) !important;
}
.bg-orange, .bg-warning  {
	background-color: var(--color-orange) !important;
}
.bg-blue, .bg-info {
	background-color: var(--color-blue) !important;
}
.bg-sub-table {
	background-color: var(--color-sub-table) !important;
}
.bg-danger {
	background-color: var(--color-red) !important;
}
.bg-green {
	background-color: var(--color-green) !important;
}
.border-green {
	border: 1px solid var(--color-green);
}
.border-background {
	border: 5px solid rgb(245, 245, 245);
}
.alert {
	background: white !important;
}
.alert-danger {
	color: var(--color-red) !important;
}
.alert-success {
	color: var(--color-green) !important;
}
.alert-info {
	color: var(--color-primary) !important;
}

/* BS add-ons */
.cursor-move {
	cursor: move;
}
.resizable {
	resize: both; 
	overflow: auto;
}
.max-vh-100 {
	max-height: calc(100vh - 1rem);
} 
fieldset, legend {
   all: revert;
}


/* Sizes */
:root {
	--height-top-frame: 100px;
	--height-navi-frame: 80px;
}

/* Smooth scroll behavior */
:root {
	scroll-behavior: smooth;
}

/* Off Canvas */
.offcanvas.offcanvas-end {
	width: auto !important;
	min-width: 25vw;
}

@media screen and (min-width:576px) {
	.w-sm-auto {
		width: auto !important;
	}
}


/* Buttons */
.btn {
	transition: all 0.1s ease;
}
.btn:hover {
	opacity: 0.9;
}
.btn-primary {
	background-color: var(--color-primary) !important;
	border: none !important;
}
.btn-primary:hover {
	background-color: var(--color-secondary) !important;
}
.btn-link {
	color: var(--color-primary);
}
.btn-link:hover {
	color: var(--color-primary);
}
.mp .btn-link:hover {
	color: var(--color-mp);
}
.ap .btn-link:hover {
	color: var(--color-ap);
}
.mp .btn-primary:hover {
	background-color: var(--color-mp) !important;
	border-color: var(--color-mp) !important;
}
.ap .btn-primary:hover {
	background-color: var(--color-ap) !important;
	border-color: var(--color-ap) !important;
}
.btn-outline-primary {
	color: var(--color-grey) !important;
	border-color: var(--color-grey) !important;
	background: white!important;
}
.mp .btn-outline-primary:hover {
	color: var(--color-mp) !important;
	border-color: var(--color-mp) !important;	
}
.ap .btn-outline-primary:hover {
	color: var(--color-ap) !important;
	border-color: var(--color-ap) !important;
}

.btn-new {
	background-color: var(--color-green) !important;
	color: white !important;
}
.btn-new:hover {
	background-color: var(--color-green-alpha);
	color: white;
}
.pseudo-disabled:hover {
	color: inherit !important;
	background-color: inherit !important;
	border-color: inherit !important;
	cursor: not-allowed;
	opacity: 0.8 !important;
}
.btn-rigid-width {
	width: 280px;
}

/* Forms */
.form-control, .form-select {
	border-color: var(--color-grey-light) !important;
}
.form-control:focus, .form-select:focus {
	border-color: var(--color-grey) !important;
}
.mp .form-control:focus, .mp .form-select:focus {
	border-color: var(--color-mp) !important;
}
.ap .form-control:focus, .ap .form-select:focus  {
	border-color: var(--color-ap) !important;
}
.form-control:focus, .form-select:focus  {
	box-shadow: none;
}
.form-check-input {
font-size: 1.1em;
}
.form-check-input:checked {
	background-color: var(--color-primary) !important;
	border-color: var(--color-primary) !important;
}
.form-floating > .form-control:focus ~ label::after,  .form-floating > .form-control:not(:placeholder-shown) ~ label::after {
	background: none !important;
}
/* Forms input specials */
input#vpois { /* no tagify input, but in tagify group */
	min-height: 76px;
}
.form-control.history {
	border-radius: 0px;
	border: none !important;
}
input[readonly], input[readonly]:focus {
        background-color: var(--color-grey-light);
}
select[readonly] {
        background-color: var(--color-grey-light) !important;
}
.form-floating > label {
	z-index: 0;
	max-width: 100%;
}


/* Accordion */
.accordion-button {
	background-color: var(--color-grey);
	color: white !important;
	box-shadow: none !important;
}
.help-dialog-content .accordion-button  {
	background-color: var(--color-grey);
}
.mp .accordion-button {
	background-color: var(--color-mp);
}
.ap .accordion-button {
	background-color: var(--color-ap);
}
.md .accordion-button {
	background-color: var(--color-md);
}
.pe .accordion-button {
	background-color: var(--color-pe);
}
.danger .accordion-button {
	background-color: var(--color-red);
}
.info .accordion-button {
	background-color: var(--color-grey);
}
.accordion-button:focus {
	box-shadow: none !important;
}
.accordion-button.collapsed {
	background-color: var(--color-grey-light) !important;
	color: var(--color-primary) !important;
}

/* Region pills in header */
h1.sk::before, h1.eu::before {
	display: inline-block;
	content: "";
	width: 60px;
	height: 20px;
	vertical-align: baseline;
	background-size: contain;
	background-image: url("../images/pill-sk.svg");
	background-repeat: no-repeat;
}
h1.eu::before {
	background-size: contain;
	background-image: url("../images/pill-eu.svg");
	background-repeat: no-repeat;
}



/* AP Folders - left side / unused */
.folder .accordion-button {
	background-color: var(--color-table-hover) !important;
	color: var(--color-ap) !important;
	font-weight: bold;
}
.folder .accordion-button.collapsed {
	background-color: white !important;
	border-bottom: 1px solid var(--color-grey-light) !important;
	font-weight: normal;
}
.folder .accordion-button.collapsed:hover {
	background-color: var(--color-table-hover) !important;
}


/* AP Folders - right side */
.folder-right .accordion-button {
	background-color: var(--color-ap);
	color: white !important;
	font-weight: bold;
	padding: 20px 0px;
}
.folder-right .accordion-button.collapsed {
	background-color: var(--color-grey-light) !important;
	color: var(--color-primary) !important;
	font-weight: normal;
	padding: 20px 0px;
}
.folder-right .accordion-button.collapsed:hover {
	background-color: var(--color-table-hover) !important;
	padding: 20px 0px;
}


/* reset */
html,body,
applet,object,iframe,
h1,h2,h3,h4,h5,h6,blockquote,pre,
a,abbr,acronym,address,big,cite,code,
del,dfn,em,font,img,ins,kbd,p,q,s,samp,
small,strike,sub,sup,tt,var,
dd,dl,dt,li,ol,ul,form,label,
table,caption,tbody,tfoot,thead,tr,th,td {
	margin: 0;
	padding: 0;
	border: 0;
	font-style: normal;
	font-size: 100%;
	font-family: inherit;
	outline-style: none;

}
html {
}
body {
	position: relative;
	margin: 0px auto;
	padding: 0px;
	text-align: left;
	font-size: 15px;
	color: rgb(16,16,16);
	background: rgb(245, 245, 245);
	font-family: 'Open Sans', sans-serif;
	text-align: left;
	min-height: 100%;
	line-height: unset;
}
.reset {
	clear: both;
	line-height: 0px;
	height: 0px;
	padding: 0px;
	margin: 0px;
}
img.border {
	border: 1px solid rgb(208,208,208);
}
em {
	font-style: italic;
}
a {
	-webkit-transition: all 0.2s;
	-moz-transition: all 0.2s;
	-ms-transition: all 0.2s;
	-o-transition: all 0.2s;
	transition: all 0.2s;
}
a:hover {
	text-decoration: none;
	opacity: 0.8;
}
sup {
	font-size: 0.7em !important;
}
:root {
	scroll-behavior: smooth;
}
.envelope {
	margin: 0px auto;
}
@media screen and (max-width:1199px) {
	.envelope {
		max-width: 100%;
		min-width: 320px;
	}
}


/* portal login / register */
.login-form, .registration-form {
	max-width: 420px;
	padding: 1rem;
}
.login-form {
	padding-top: 18vh;
}
.login-form .form-floating:focus-within, .registration-form .form-floating:focus-within {
  z-index: 2;
}


/* head */
.frame-head {
	height: var(--height-top-frame);
	background: var(--color-grey);
	color: white;
	z-index: 5;
	position: fixed;
	width: 100%;
}
.mp .frame-head {
	background: var(--color-mp);
}
.ap .frame-head {
	background: var(--color-ap);
}
.pe .frame-head {
	background: var(--color-pe);
}
.md .frame-head {
	background: var(--color-md);
}
.head {
	position: absolute;
	width: 100%;
	text-align: left;
	height: var(--height-top-frame);
	margin: 0px auto 0px auto;
	z-index: 300;
}


/* frame head - TOP menu */
a.navbar-brand {
	height: var(--height-top-frame);
	line-height: var(--height-top-frame);
	color: white;
	font-size: 22px;
	font-weight: bold;
	padding-left: 15px;
	z-index: 1000;
	text-decoration: none;
}
a.navbar-brand div {
	display: inline-block;
	line-height: 50px;
}
a.navbar-brand i {
	font-size: 1.2em;
	margin-right: 5px;
}
.frame-head .nav-item {
	line-height: var(--height-top-frame);
}
.frame-head .nav-link {
	height: var(--height-top-frame);
}
.frame-head  .dropdown-menu .nav-link {
	height: calc(var(--height-top-framee) / 3);
	line-height: calc(var(--height-top-frame) / 3);
}


/* head */
.frame-navigation {
	background: white;
	color: var(--color-default);
	z-index: 2;
	position: relative;
	padding-top: var(--height-top-frame);
}


/* BS menu */
.portal-menu .dropdown .dropdown-menu {
  display: none;
  background: white;
}
.portal-menu .dropdown-item.active, .portal-menu .nav-link.active, 
.portal-menu .nav-link.dropdown-toggle.active, .portal-menu li.nav-item:has(a.dropdown-item.active) > a.nav-link, .portal-menu li.dropend:has(a.dropdown-item.active) > a.nav-link {
	background: none;
	color: var(--color-primary);
	font-weight: bold;
}
.portal-menu .dropdown-item:active {
	color: var(--bs-dropdown-link-hover-color);
	background-color: var(--bs-dropdown-link-hover-bg);
}
.portal-menu .nav-link {
	color: var(--color-primary);
}
.portal-menu .nav-link, .portal-menu .dropdown-item, .user-menu .nav-link, .user-menu .dropdown-item {
	text-transform: uppercase;
}
.portal-menu .dropdown-item {
	font-size: 0.9em;
}
.portal-menu .dropend {
	border-top: 1px solid var(--color-grey-light);
}
.portal-menu .dropdown:hover>.dropdown-menu,
.portal-menu .dropend:hover>.dropdown-menu,
.user-menu.dropdown:hover>.dropdown-menu {
	display: block;
}
@media screen and (max-width:1199px) {
	.portal-menu .nav-item, .portal-menu .dropdown-menu a, .user-menu .nav-item {
		border-bottom: 1px solid var(--color-grey-light);
	}
	.portal-menu .dropend {
		border-top: none;
	}
	.portal-menu .dropend a:hover {
		border-bottom: none;
	}
	.portal-menu .dropdown-menu .badge {
		top: 25px !important;
	}
	#userMenu {
		width: 100vw !important;
		margin-top: -2px !important;
	}
}
@media screen and (min-width:1200px) {
	.portal-menu .dropend:hover>.dropdown-menu {
		position: absolute;
		top: 0;
		left: 100%;
	}
}


/* main frame after scroll */
.frame-head.scroll {
	height: calc(var(--height-top-frame) / 2);
}
.scroll .devel-info {
	display: none !important;
}
.scroll a.navbar-brand {	
	height:  calc(var(--height-top-frame) / 2);
	line-height:  calc(var(--height-top-frame) / 2);
}
.scroll .nav-item, .scroll .nav-link {
	height: calc(var(--height-top-frame) / 2);
	line-height: calc(var(--height-top-frame) / 2);
}


/* Page Content */
.frame-content {
}
.frame-content h1 {
	font-weight: normal;
	font-size: 2em;
}
.frame-content h2 {
	font-weight: bold;
	font-size: 1.4em;
	margin: 20px auto 10px auto;
}
.frame-content h3 {
	font-weight: normal;
	font-size: 1.4em;
	margin: 10px 0px 10px 0px;
}

.frame-content table tr.color-to-cell td {
	background-color: inherit;
	color: inherit;
}

/** @todo style for rows -> td color inherintence*/

/* Dashboard */
.dashboard {
}
.dashboard h2 {
	font-size: 2em;
	margin: 0px 0px 10px 0px;	
	font-weight: normal;
}
.dashboard ul {
	list-style-type: none;
}
.dashboard li {
	margin: 0px 0px 10px 0px;
}
.dashboard p {
	margin: 0px 0px 10px 0px;
}
.dashboard a {
	color: white;
}
.dashboard input {
	max-width: 100%;
}



/* Tables */
thead tr th {
}
th {
	font-weight: bold;
}
.t-date-time {
	width: 100px !important;
}
.t-date {
	width: 100px !important;
}
.t-overflowed-text {
	max-width: 880px;
	overflow: hidden !important;
}
.table-header-bar {
	background: var(--color-grey-light);
}
tr {
	border-bottom: 1px solid var(--color-grey-light);
}
tr.active {
	border: 1px solid var(--color-grey-light);
	border-bottom: none;
	border-top: none;
	background-color: var(--color-sub-table);
}

tr.active td {
	font-weight: bold;
}
.no-borders tr:not(.no-borders thead tr) {
	border-bottom: none;
}
tr.readed td, tr.readed th, tr.readed td b {
	font-weight: normal !important;
}
table a {
	color: var(--color-primary);
}
table a:hover {
	color: var(--color-blue);
}
table i {
	font-size: 1.2em;
}
.sub-table {
	border: none !important;
}

.table-hover > tbody > tr.no-hover-effect:hover > * {
  --bs-table-color-state: var(--bs-table-hover-color);
  --bs-table-bg-state: var(--color-sub-table) !important;
}
.sub-table table {
	margin-top: 0px !important;
	margin-bottom: 0px !important;
}
.sub-table th {
	background: initial !important;
}
.clickable-row, .clickable-row label {
	cursor: pointer;
}
.important td {
	font-weight: bold;
}
.table-log {
	font-size: 0.85rem;
}
.table-log td, .table-log th {
	background-color: white;
}

/* Paginator */
.page-link {
	color: var(--color-primary);
}
.page-link.active {
	background-color: var(--color-grey);
	border-color: var(--color-grey);
}
.mp .page-link.active {
	background-color: var(--color-mp);
	border-color: var(--color-mp);
}
.ap .page-link.active {
	background-color: var(--color-ap);
	border-color: var(--color-ap);
}


/* Pseudo form articles  */
.detail-records {	
}
.detail-records article {
	background: white;
}
.sub-table .detail-records article {
}
.detail-records article .label {
	font-size: 0.9em;
}
.article-border {
	border: 1px solid var(--color-grey-light);
	border-radius: 0.25rem;
}
.sub-table .article-border {

}
.detail-records article .content {
	font-size: 1.1em;
}
.detail-records h3 {
	font-size: 15px;
	color: var(--color-secondary);
}
.detail-records .accordion-button {
	color: var(--color-primary) !important;
}
.detail-records  .accordion-button.collapsed:not(.scau-grp) {
	background: none !important;
}
.detail-records  .accordion-button.scau-grp:not(.collapsed) {
	background: none !important;
}

/* PseudoForm specials */
/*  .scau-group-end content converted to horizontal separator */
.scau-group-end {
	height: 0px;
	border: none;
	overflow: hidden;
}
.scau-group-end::before {
	display: block;
	height: 1px;
	content: '';
	margin-right: 1.5%;
	background: var(--color-grey-light);
	z-index: 999;
}


/* tooltips */
.tooltip-custom .tooltip-inner {
	background-color: var(--color-grey) !important;
	border-radius: 2px !important;
	width: auto;
	max-width: 320px;
	opacity: 1;
}
.tooltip.show {
	opacity: 1;
}
/* tooltips max-widths */
.tooltip-custom.mw-25 .tooltip-inner {
	max-width: 25vw;
}
.tooltip-custom.mw-50 .tooltip-inner {
	max-width: 50vw;
}
.tooltip-custom.mw-75 .tooltip-inner {
	max-width: 75vw;
}
/* tooltips backgrounds  */
.tooltip-custom.bg-danger .tooltip-inner {
	background-color: var(--color-red) !important;
}
.tooltip-custom.bg-warning .tooltip-inner {
	background-color: var(--color-orange) !important;
}
.tooltip-custom.bg-green .tooltip-inner {
	background-color: var(--color-green) !important;
}
.tooltip-custom.bg-blue .tooltip-inner {
	background-color: var(--color-blue) !important;
}

/* tooltips arrow  - all disabled */
.tooltip-arrow::before {
	border-color: transparent !important;
}
/* tooltips arrow  - colors example 
.tooltip-custom.bg-danger .bs-tooltip-top .tooltip-arrow::before, .tooltip-custom.bg-danger .bs-tooltip-auto[data-popper-placement^="bottom"] .tooltip-arrow::before {
	border-bottom-color: var(--color-red) !important;
}
.tooltip-custom.bg-danger .bs-tooltip-top .tooltip-arrow::before, .tooltip-custom.bg-danger .bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow::before {
	border-top-color: var(--color-red) !important;
}
.tooltip-custom.bg-danger .tooltip-custom.bg-dangerbs-tooltip-top .tooltip-custom.bg-danger .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^="left"] .tooltip-arrow::before {
	border-left-color: var(--color-red) !important;
}
.tooltip-custom.bg-danger  .bs-tooltip-top .tooltip-arrow::before, .tooltip-custom.bg-danger .bs-tooltip-auto[data-popper-placement^="right"] .tooltip-arrow::before {
	border-right-color: var(--color-red) !important;
}
*/


/* date toolbar */
.noexpand {
    flex-wrap: wrap !important;
}

/* breadcrumbs */
.breadcrumbs {
	padding: 0px 0% 40px 0%;
	margin-top: -20px;
}
.breadcrumbs a {
	color: rgb(0, 0, 0);	
}
.breadcrumbs a:hover {
	text-decoration: none;
	color: rgb(0, 0, 0);
	margin-top: -20px;
}


/* System messages */
.alerts {
	position: fixed;
	z-index: 999999999;
	bottom: 0.5rem;
	width: 100%;
}
.alerts-close {
	position: absolute;
	top: 0;
	right: 0;
	margin: -1.1rem -1.1rem 0 0;
	line-height: 20px;
}
.alerts-close i {
	font-size: 2em;
	margin-right: 0px;
}
.alerts-close:hover {
	background-color: var(--color-blue) !important;
}


/* BS tabs */
.nav-tabs {
}
.nav-tabs .nav-link {
	margin-bottom: 0px !important;
}
.nav-tabs .nav-link.active,  .demo.nav-tabs .nav-link.active{
	background-color: var(--color-green) !important;
	color: white !important;
	font-weight: normal;
}





/* Tagify inputs autocomplete  */
.data-finder-form {
}
.data-finder-form  h1, .data-finder-form  h2 {
	font-size: 1.6em;
	margin: 0px 0px 10px 0px;
	font-weight: bold;
}
.data-finder-form  ul {
	list-style-type: none;
}
.data-finder-form  li {
	margin: 0px 0px 10px 0px;
}
.data-finder-form  p {
	margin: 0px 0px 10px 0px;
}
.tagify+input, .tagify+textarea {
	display: none; /* set display: block for DEV view */
	position: initial !important;
	left: 0 !important;
	transform: none !important;
	width: 100%;
	margin-top: .2em;
	min-height: 11ch;
	background: powderblue;
}
.tagify__tag:hover:not([readonly]) div::before {
	background: var(--tag-hover) !important;
}
.tagify__tag > div::before {
	background: var(--tag-bg) !important;
}
.tagify {
	margin: .2em;
	width: 100%;
	background: white;
	min-height: 76px !important;
	height: auto !important;
	color: var(--color-primary);
	padding: 25px 2px 0px 2px !important;
}
.tagify--focus {
	border-color: white;
}
.tagify__dropdown__wrapper {
	border-color: var(--color-blue) !important;
}
.tagify__dropdown.data-list .tagify__dropdown__item{
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0 1em;
	grid-template-areas: "avatar name"
		"avatar email";
}
.tagify__dropdown.data-list .tagify__dropdown__item:hover .tagify__dropdown__item__avatar-wrap{
	transform: scale(1.2);
}
.tagify__dropdown.data-list .tagify__dropdown__item__avatar-wrap {
	grid-area: avatar;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	overflow: hidden;
	background: #EEE;
	transition: .1s ease-out;
}

.tagify__dropdown.data-list img {
	width: 100%;
	vertical-align: top;
}
.tagify__dropdown.data-list header.tagify__dropdown__item > div,
.tagify__dropdown.data-list .tagify__dropdown__item strong {
	grid-area: name;
	width: 100%;
	align-self: center;
}
.tagify__dropdown.data-list span{
	grid-area: email;
	width: 100%;
	font-size: .9em;
	opacity: .6;
}
.tagify__dropdown.data-list .tagify__dropdown__item__addAll{
	border-bottom: 1px solid #DDD;
	gap: 0;
}
.tagify__dropdown.data-list .remove-all-tags{
	float: right;
	font-size: .8em;
	padding: .2em .3em;
	border-radius: 3px;
	user-select: none;
}
.tagify__dropdown.data-list .remove-all-tags:hover{
	color: white;
	background: salmon;
}
/* Tags items */
.tagify__tag{
	white-space: nowrap;
	margin: 5px 5px 5px 5px;
}


	 
	 
	 


/* footer */
.footer {
	width: 100%;
	height: auto;
	background: rgb(189, 185, 174);
	color: rgb(0, 0, 0);
	padding: 20px 0px 20px 0px;
	font-size: 16px;

}
.footer h4 {
font-family: 'Montserrat', sans-serif;
padding-bottom: 20px;
font-size: 20px;
}
.footer p {
	color: rgb(0, 0, 0);
	line-height: 24px;
}
.footer a {
	color: rgb(0, 0, 0);
	text-decoration: none;
}
.footer a:hover {
	color: rgb(0, 0, 0);
	text-decoration: underline;
}
.footer .footer-logo img {
	width: 250px;
	height: auto;
}



/* public pages - TODO */
.public .frame-head {
	background-color: var(--color-primary);
	height: 100px;
}
.public .logo {
	width: 420px;
}
.publicmenu {
	width: calc(100% - 420px);
	max-width: 360px;
	height: 70px;
	line-height: 70px;
}
.public main {
}
.public .nav-link:hover {
	color: var(--color-secondary);
} 
.public .nav-link.active {
	background-color: transparent !important;
	color: var(--color-gold) !important;
	font-weight: bolder;
} 
.public .nav-link.active-lng {
	text-decoration: underline;
} 
@media screen and (max-width:1199px) {
	.login-support-link {
		text-shadow: 1px 1px 1px white;
		font-size: 1.1em;
		color: black;
	}
}
.disclaimer {
	border: 1px solid  var(--color-gold);
	color: var(--color-gold);
	background-color: white;
}



/* main txt (public) content */
.main-content {
	background: white;
	color: var(--color-default);
	min-height: calc(100vh - 164px);
	font-size: 16px;
}
.main-content h1, .main-content h2, .main-content h3, .main-content h4  {
	font-size: 36px;
	font-weight: normal;
	display: inline-block;
	padding-bottom: 8px;
}
.main-content h2  {
	font-size: 28px;
}
.main-content h3  {
	font-size: 20px;
}

.main-content h4  {
	font-size: 18px;
}
.main-content p {

}
.main-content img {
	max-width: 100% !important;
	height: auto;
}

.main-content a {
	color: rgb(50,50,50);
}
.main-content a:hover {
	color: var(--color-secondary);
	text-decoration: none;
}
.main-content a:hover img {
	opacity: 0.90;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
	filter: alpha(opacity=90);
}
.blue p, .blue h2, .blue h3 {
	color: rgb(255,255,255);
}
.main-content table tr td {
}
.main-content table tr th {
	background: rgb(180, 164, 141);
	color: rgb(255,255,255);
	padding: 1%;
}
.main-content table tr:hover {
	background: var(--color-table-hover);
}
.main-content ul, .main-content ol {
	margin: 5px 0px 15px 0px;
}
.main-content li {
	margin: 0px 0px 5px 25px;
}
.main-content table {
	border-collapse: separate;
	border-spacing: 1px 1px;
	width: 100%;
	padding: 20px 0px 5px 0px;
	margin-bottom: 20px;
}
.main-content tr td {
	border-bottom: 1px dotted rgb(180,180,180);
	padding: 7px;
}
.motto {
	position: relative;
	padding-top: 108px;
	color: var(--color-gold);
}
@media screen and (max-width:767px) {
	.motto {
		padding-top: 72px;
	}
}
.motto h2.text-shadow {
	text-shadow: 1px 1px 1px rgba(50, 50, 50, 0.6);
}

/* new animation 2025 | Michal Sobola */

@keyframes slideRight {
	0% {right:-6.81%;}
	50% {right:0%;}
	100% {right:-6.81%;}
}

.bg-animation-2025 {position:fixed;top:0;bottom:0;right:0;left:0;height:100vh;z-index:-1;overflow:hidden;}
.bg-animation-2025-layer {position:absolute;top:0;right:0;bottom:0;left:0;background:transparent none no-repeat 50% 50%/cover; -webkit-background-size:cover; -o-background-size:cover; -moz-background-size:cover;}
.bg-animation-2025-layer.layer-1-bg {z-index:1;background-image:url(../images/layer-1-bg.jpg?v=3);background-color:white;}
.bg-animation-2025-layer.layer-2-birds {z-index:2;background-image:url(../images/layer-2-birds.png?v=3);}
.bg-animation-2025-layer.layer-3-circle {z-index:3;background-image:url(../images/layer-3-circle.png?v=3);}
.bg-animation-2025-layer.layer-4-bottom {z-index:4;background-image:url(../images/layer-4-bottom.png?v=3);}
.bg-animation-2025-layer.layer-5-lines {
	z-index:4;background-image:url(../images/layer-5-lines.png?v=2);
	width:127.24%;right:-13.62%;left:auto;
	animation:slideRight 12.5s infinite alternate;
}
.bg-animation-2025-layer.layer-5-lines.paused {
	right: 0%;
	animation: none;
}

@supports (background-image: url(../images/layer-1-bg.webp)) {
	.bg-animation-2025-layer.layer-1-bg {background-image:url(../images/layer-1-bg.webp);}
	.bg-animation-2025-layer.layer-3-circle {background-image:url(../images/layer-3-circle.webp);}
	.bg-animation-2025-layer.layer-4-bottom {background-image:url(../images/layer-4-bottom.webp);}
	.bg-animation-2025-layer.layer-5-lines {background-image:url(../images/layer-5-lines.webp);}
}



	
/* Modal / offcanvas animations */
.modal.fade {
  /* přechod, který Bootstrap detekuje při zavírání */
  transition: opacity 0.2s ease-in-out;
  opacity: 0; /* výchozí průhlednost */
}

/* Stav viditelného modalu (Bootstrap přidá .show) */
.modal.show {
  opacity: 1;
}
.modal-backdrop.fade, .offcanvas-backdrop.fade  {
  /* přechod, který Bootstrap detekuje při zavírání */
  transition: opacity 0.2s ease-in-out;
  opacity: 0; /* výchozí průhlednost */
}
.modal-backdrop.show, .offcanvas-backdrop.show {
  transition: opacity 0.2s ease-in-out;
  opacity: 0.5;
}
/* Dialog samotný: transformace + vlastní přechod */
.modal.fade .modal-dialog {
  transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
  transform: scale(0.5);
  opacity: 0;
}
.modal.show .modal-dialog {
  transform: scale(1);
  opacity: 1;
}
/* Zajišťujeme explicitně i stav při odstraňování .show */
.modal.fade:not(.show) .modal-dialog {
  transform: scale(0.5);
  opacity: 0;
}
/* Offcanvas fade efekt */
.offcanvas {
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  transform: translateX(100%);
}
/* Stav po otevření */
.offcanvas.show {
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  transform: translateX(0);
}
.offcanvas.hiding {
 transform: translateX(100%); 
}

/* table overlay */
.is-loading, .is-loading table {
	background-color: #c1c0c0;
	cursor: wait;
}

/* Tabulator */
.tabulator {

}
.tabulator-header {
	font-weight: normal !important;
	font-size: 15px !important;
}
.tabulator-col .tabulator-col-content  {
	/* background-color: var(--color-sub-table) !important; */
}
.tabulator-row.tabulator-row-even {
	background-color: white !important;
}
.tabulator-row.tabulator-selectable:hover {
    background-color: rgb(235, 235, 235) !important;
}
.tabulator-row .tabulator-cell .tabulator-data-tree-control {
	background: none !important;
	border: 1px solid var(--color-default) !important;
	height: 15px !important;
	width: 15px !important;
	margin-right: 7px  !important;
}
.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand::after {
  background: var(--color-default) !important;
}
.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse::after {
  top: 4px !important;
}
.tabulator-row .tabulator-cell .tabulator-data-tree-branch {
  border-bottom: 1px solid var(--color-default) !important;
  border-bottom-left-radius: 2px !important;
  border-left: 1px solid var(--color-default) !important;
}
.tabulator-cell, .tabulator .tabulator-header .tabulator-col {
  border-right: 1px solid rgba(226, 226, 226) !important;
}
.tabulator-header-sum {
	background: rgb(255, 241, 226) !important;
}

/* Help system - text content style */
.help-dialog-content {	
	font-weight: 300;
} 
.help-dialog-content h1, .help-dialog-content h2, .help-dialog-content h3, .help-dialog-content h4 {	
	font-size: 1.5em;
	font-weight: 400;
	padding: 5px 0px 0px 0px;
	margin-bottom: 14px;
} 
.help-dialog-content h2 {	
	font-size: 1.5em;
	font-weight: normal;
	margin-bottom: 8px;
} 
.help-dialog-content h3, .help-dialog-content h4 {	
	font-size: 1.3em;
	font-weight: normal;
	margin-bottom: 8px;
} 
.help-dialog-content img {
	max-width: 100% !important;
	height: auto;
	margin: 5px auto 10px auto;
	border: 1px solid var(--bs-border-color);
}
.help-dialog-content ul, .help-dialog-content ol {
	margin: 5px 0px 20px 0px;
}
.help-dialog-content li {
	margin: 0px 0px 5px 25px;
}
.help-dialog-content p {
	margin: 5px auto 25px 0px;
}
.help-dialog-content a {
	color: var(--color-primary);
}
.help-dialog-content table {
	margin: 5px auto 20px 0px;
	width: 100%;
}
.help-dialog-content table tr {
	border-bottom: 1px solid  var(--color-grey-light);
}
.help-dialog-content table th, .help-dialog-content table td {
	padding: 8px 0px;
}