figure {
	display: table;
}
figure figcaption {
	display: table-caption;
	caption-side: bottom;
}

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

@media (min-width: 600px)  {
.fig-right {
	float: right;
	margin-right: 0 !important;
}
.fig-left {
	float: left;
	margin-left: 0 !important;
}
}

figure{
	margin-top: 0 !important;
}

.img-rounded {
	border-radius: 10px;
}

article{
	overflow: hidden;
}
article:after {
	clear: both;
}

.content-serif {
	font-family: "Palatino", Palatino Linotype, Palatino LT STD, Book Antiqua, Georgia, serif;
}

.has-text-blue {
	color: #003399;
}

#page-container {
  position: relative;
  min-height: 100vh;
}

#content-wrap {
  padding-bottom: 5.7rem;    /* Footer height */
}

#footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 5.7rem;            /* Footer height */
}

a {
	text-decoration: underline dotted;
}
a:hover{
	color: #003399;
	text-decoration: underline;
}

nav a, a.no-underline {
	text-decoration: none;
}
nav a:hover, a.no-underline:hover {
	text-decoration: none;
}

#sloupce .container {
  float: center;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  max-width: 650px;
}

/**********GALLERY**********/
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
	gap: 10px;
	box-sizing: border-box !important;
}

.gallery-item {
}
.gallery-item:hover {
}
.gallery-image {
	padding: 0;
	margin: 0;
	display: block;
}
.content-serif>p:first-of-type:first-letter {
     font-size: 4rem; /* (x*2) rem -> x řádků */
     margin-right: 0.1rem;
     float: left;
} 


.footnote-definition p {
	display: inline;
}

.footnote-definition {
	font-size: 0.9rem;
	margin-bottom: 8px;
}
.footnote-definition-label::before {
	content: "[";
}
.footnote-definition-label::after {
	content: "]";
}
.footnote-definition-label {
	color: #003399;
	vertical-align: initial;
	font-size: 100% !important;
}
.footnote-reference a::before {
	content: "[";
}

.footnote-reference a::after {
	content: "]";
}

.tooltip i {
	cursor: pointer;
	font-size: 1.2em;
}
.tooltip {
	display: inline-block;
}
.tooltip-text {
  visibility: hidden; /* Hidden by default */
  width: 300px;
  margin-left: -150px; /* Use half of the width (130/2 = 65), to center the tooltip */
  background-color: #4a4a4aee;
	color: #ffffff;
  text-align: center;
  padding: 5px 5px;
  border-radius: 4px;
  position: absolute;
  z-index: 1; /* Ensure tooltip is displayed above content */
}
.tooltip:hover .tooltip-text {
  visibility: visible;
}
