/*
 * ckData.css
 * Styly pro obsah vytvořený pomocí CKEditor 5
 *
 * Použití:
 *
 * <div class="ckData">
 * 	...
 * </div>
 */


/* =========================================================
   ZÁKLAD
   ========================================================= */

.ckData {
	line-height: 1.5;
}


/* =========================================================
   ODSTAVCE
   ========================================================= */

.ckData p {
	margin-top: 0;
	margin-bottom: 1em;
}

.ckData p:last-child {
	margin-bottom: 0;
}


/* =========================================================
   NADPISY
   ========================================================= */

.ckData h1,
.ckData h2,
.ckData h3,
.ckData h4,
.ckData h5,
.ckData h6 {
	margin-top: 1.5em;
	margin-bottom: 0.6em;
	line-height: 1.2;
	font-weight: 700;
}

.ckData h1 {
	font-size: 2em;
}

.ckData h2 {
	font-size: 1.7em;
}

.ckData h3 {
	font-size: 1.4em;
}

.ckData h4 {
	font-size: 1.2em;
}

.ckData h5 {
	font-size: 1.1em;
}

.ckData h6 {
	font-size: 1em;
}


/* =========================================================
   VELIKOSTI PÍSMA - CKEDITOR FONT SIZE
   ========================================================= */

.ckData .text-tiny {
	font-size: 0.7em;
}

.ckData .text-small {
	font-size: 0.85em;
}

.ckData .text-big {
	font-size: 1.4em;
}

.ckData .text-huge {
	font-size: 1.8em;
}


/* =========================================================
   ZÁKLADNÍ FORMÁTOVÁNÍ TEXTU
   ========================================================= */

.ckData strong {
	font-weight: 700;
}

.ckData em {
	font-style: italic;
}

.ckData u {
	text-decoration: underline;
}

.ckData s {
	text-decoration: line-through;
}

.ckData sub {
	vertical-align: sub;
	font-size: 0.75em;
}

.ckData sup {
	vertical-align: super;
	font-size: 0.75em;
}


/* =========================================================
   ODKAZY
   ========================================================= */

.ckData a {
	color: inherit;
	text-decoration: underline;
}

.ckData a:hover {
	text-decoration: none;
}


/* =========================================================
   ZAROVNÁNÍ TEXTU
   ========================================================= */

.ckData .text-align-left {
	text-align: left;
}

.ckData .text-align-center {
	text-align: center;
}

.ckData .text-align-right {
	text-align: right;
}

.ckData .text-align-justify {
	text-align: justify;
}


/* =========================================================
   SEZNAMY
   ========================================================= */

.ckData ul,
.ckData ol {
	margin-top: 0;
	margin-bottom: 1em;
	padding-left: 2em;
}

.ckData ul {
	list-style-type: disc;
}

.ckData ol {
	list-style-type: decimal;
}

.ckData li {
	margin-bottom: 0.25em;
}

.ckData li:last-child {
	margin-bottom: 0;
}


/* Vnořené seznamy */

.ckData ul ul {
	list-style-type: circle;
}

.ckData ul ul ul {
	list-style-type: square;
}

.ckData ol ol {
	list-style-type: lower-alpha;
}

.ckData ol ol ol {
	list-style-type: lower-roman;
}

.ckData ul ul,
.ckData ul ol,
.ckData ol ul,
.ckData ol ol {
	margin-top: 0.25em;
	margin-bottom: 0;
}


/* =========================================================
   OBRÁZKY
   ========================================================= */

.ckData figure.image {
	margin-top: 0;
	margin-bottom: 1em;
}

.ckData figure.image img {
	display: block;
	max-width: 100%;
	height: auto;
}


/* Obrázek vlevo */

.ckData figure.image-style-align-left {
	float: left;
	margin-top: 0;
	margin-right: 20px;
	margin-bottom: 10px;
	margin-left: 0;
}


/* Obrázek vpravo */

.ckData figure.image-style-align-right {
	float: right;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 10px;
	margin-left: 20px;
}


/* Obrázek na střed */

.ckData figure.image-style-align-center {
	margin-left: auto;
	margin-right: auto;
}


/* Obrázek bez zarovnání */

.ckData figure.image:not(.image-style-align-left):not(.image-style-align-right):not(.image-style-align-center) {
	margin-left: 0;
	margin-right: 0;
}


/* =========================================================
   POPISEK OBRÁZKU
   ========================================================= */

.ckData figure.image > figcaption {
	padding: 5px 8px;
	font-size: 0.9em;
	line-height: 1.3;
	text-align: center;
}


/* =========================================================
   VYČIŠTĚNÍ FLOAT OBRÁZKŮ
   ========================================================= */

.ckData::after {
	content: "";
	display: block;
	clear: both;
}


/* =========================================================
   CITACE
   ========================================================= */

.ckData blockquote {
	margin: 1.5em 0;
	padding: 10px 20px;
	border-left: 4px solid #ccc;
}

.ckData blockquote p:last-child {
	margin-bottom: 0;
}


/* =========================================================
   TABULKY
   ========================================================= */

.ckData figure.table {
	margin: 1em 0;
	overflow-x: auto;
}

.ckData table {
	width: 100%;
	border-collapse: collapse;
}

.ckData table th,
.ckData table td {
	padding: 8px;
	border: 1px solid #ccc;
	vertical-align: top;
}

.ckData table th {
	font-weight: 700;
	text-align: left;
}


/* =========================================================
   HORIZONTÁLNÍ ČÁRA
   ========================================================= */

.ckData hr {
	margin: 2em 0;
	border: 0;
	border-top: 1px solid #ccc;
}


/* =========================================================
   MEDIA / VIDEO
   ========================================================= */

.ckData figure.media {
	margin: 1em 0;
}

.ckData figure.media iframe {
	display: block;
	max-width: 100%;
}


/* =========================================================
   VLASTNÍ BLOK - JACHUT DIV
   ========================================================= */

.ckData .superClass {
	/* vlastní styl pro Jachut Div */
}


/* =========================================================
   VLASTNÍ BLOK - DODAVATEL
   ========================================================= */

.ckData .xb-dodavatel {
	/* vlastní styl pro Dodavatel */
}


/* =========================================================
   OBRÁZKY - MOBIL
   ========================================================= */

@media (max-width: 600px) {

	.ckData figure.image-style-align-left,
	.ckData figure.image-style-align-right {
		float: none;
		margin-left: 0;
		margin-right: 0;
	}

	.ckData figure.image img {
		max-width: 100%;
		height: auto;
	}

	.ckData .text-big {
		font-size: 1.25em;
	}

	.ckData .text-huge {
		font-size: 1.5em;
	}

	.ckData figure.table {
		overflow-x: auto;
	}

	.ckData table {
		min-width: 500px;
	}

}