@import url(/storage/themes/axis-hs/css/title/ptsans.css);
@import url(/storage/themes/axis-hs/css/body/ptsans.css);

/* HS: čitelnost. --hs-fs násobí pevné velikosti písma (font-size: calc(… * var(--hs-fs))), na mobilu a tabletu (do 1100 px) 1.
   Šedý text a navigace jsou o 30 % blíž barvě nadpisu (#818181 → #989898, #666 → #858585 ve stylu Black),
   barvy z adminu tedy dál platí. Prohlížeč bez color-mix() vezme původní barvu. */
:root {
	--hs-fs: 1;
	--hs-body: #818181;
	--hs-nav: #666666;
}

@supports (color: color-mix(in srgb, red, blue)) {
	:root {
		--hs-body: color-mix(in srgb, #818181 70%, #cccccc);
		--hs-nav: color-mix(in srgb, #666666 70%, #cccccc);
	}
}

@media only screen and (min-width: 1101px) {
	:root {
		--hs-fs: 1.15;
	}
}

/* PT Sans má malou x-height (0,50 em, Arial 0,54), působí menší, než odpovídá px. 1,25 až od 1280 px:
   na užším okně by se jméno a navigace v hlavičce nevešly na řádek. */
@media only screen and (min-width: 1280px) {
	:root {
		--hs-fs: 1.25;
	}
}

body {
	background: #242424;
	color: var(--hs-body);
	font-size:calc(87.5% * var(--hs-fs)); /* 14px, od 1101 px 16 px, od 1280 px 17,5 px */
	line-height:1.5; /* 21px */
	text-align:center;
	-webkit-font-smoothing: subpixel-antialiased;
	-webkit-text-size-adjust: 100%;
}

img {
	-ms-interpolation-mode: bicubic;
}

a, a:link, a:visited, a:hover, a:active {
	color:#cccccc;
	text-decoration:none;
	-webkit-transition: color 0.2s ease-in-out;
    -moz-transition: color 0.2s ease-in-out;
	transition: color 0.2s ease-in-out;
}

a:hover {
	color:#ffffff;
}

.rarr:after {
	content:" →";
}

.larr:before {
	content:"← ";
}

.pag,
.pag a,
a.pag
{
	text-transform:uppercase;
	letter-spacing:1px;
	font-size:calc(11px * var(--hs-fs));
}

.center {
	text-align:center;
}

h1,h2,h3,h4,h5,h6 {
	color:#cccccc;
	font-weight:normal;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	color:inherit !important;
}

h1 {
	/* 18 */
	font-size:1.285em;
	line-height:1.166em;
	margin-bottom:1.166em;
}

h1 a, h1 a:link, h1 a:visited, h1 a:hover, h1 a:active {
	color:#cccccc !important;
}

h2 {
	/* 16 */
	font-size:1.142em;
	line-height:1.313em;
	margin-bottom:1.313em;
}

h3, h4, h5 {
	/* 14 */
	font-size:1em;
	line-height:1.5em;
	margin-bottom:1.5em;
}

h6 {
	font-size:0.9em;
	font-weight:400;
	color:#cccccc;
	letter-spacing:1px;
	text-transform:uppercase;
	text-align:center;
	margin-bottom:1.5em;
}

p {
	font-size:1em;
	line-height:1.5em;
	margin-bottom:1.5em;
}

b, strong {
	font-weight:bold;
}

em, i {
	font-style:italic;
}

img.k-lazy-loading {
	background-repeat:no-repeat;
	background-position:center center;
	background-size:16px 16px;
	background-image: url(/storage/themes/axis-hs/css/black/spinner.gif);
}

/* Nativní responzivní obrázky (srcset z TagImg.php): width/height drží poměr stran ještě před načtením */
img[srcset] {
	max-width:100%;
	height:auto;
}

img.img-content[srcset] {
	object-fit:contain;
}

time {
	font-size:calc(12px * var(--hs-fs));
	letter-spacing:1px;
	text-transform:uppercase;
	text-align:center;
	width:100%;
	display:block;
	margin: 0 0 1em;
}

small {
    font-size: 80%;
}

.k-video {
	margin: 0 auto;
}

/*
	FORM ELEMENTS
*/

.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"]
{
	font-size:calc(11px * var(--hs-fs));
	letter-spacing:1px;
	text-transform:uppercase;
	text-align: center;
	display: inline-block;
	padding:1em 2em;
	margin:0;
	text-decoration: none;
	white-space: nowrap;
	background-color:transparent;
	border:1px solid rgba(255,255,255,0.3);
	color:#cccccc;
	cursor: pointer;
	outline:0;
	vertical-align:bottom;
	-webkit-transition:all 0.2s ease-in-out;
	transition:all 0.2s ease-in-out;
}

.button:disabled,
button:disabled,
input[type="submit"]:disabled,
input[type="reset"]:disabled,
input[type="button"]:disabled
{

	color:var(--hs-body);
	border-color:rgba(255,255,255,0.15);
}

.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button:focus,
button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
	border-color:rgba(255,255,255,0.3);
	color:#cccccc;
}

input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
	color:#cccccc;
	font-size:calc(13px * var(--hs-fs));
	font-family:inherit !important;
	padding: 0.5em;
	margin:0;
	background-color:transparent;
	outline:none;
	border:1px solid rgba(255,255,255,0.15);
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	-webkit-transition:all 0.2s ease-in-out;
	transition:all 0.2s ease-in-out;
	-moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
	color:#cccccc;
	border-color:rgba(255,255,255,0.3);
	outline: 0;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder
{
	color:rgba(255,255,255,0.44);
}
input:-moz-placeholder,
textarea:-moz-placeholder
{
	color:rgba(255,255,255,0.44);
}

/*
	CONTACT FORM
*/

.k-contact-form {
	width: 70%;
	margin:0 auto;
}

@media only screen and (max-width: 767px) {
	.k-contact-form {
		width: 100%;
	}
}

.k-contact-form fieldset {
	margin-bottom:2em;
}

.k-contact-form-email-field label,
.k-contact-form-textarea-field label,
.k-contact-form-text-field label,
.k-contact-form-tel-field label
{
	display:block;
	font-size:calc(11px * var(--hs-fs));
	letter-spacing: 1px;
	text-transform: uppercase;
	font-weight:400;
	color:#cccccc;
	margin:0 0 0.5em;
}

.k-contact-form fieldset.k-contact-form-error label {
	color: red;
}

.k-contact-form-checkbox-field label {
	font-size:90%;
}

.k-contact-form input[type="email"],
.k-contact-form input[type="number"],
.k-contact-form input[type="search"],
.k-contact-form input[type="text"],
.k-contact-form input[type="tel"],
.k-contact-form input[type="url"],
.k-contact-form input[type="password"],
.k-contact-form textarea
{
	width:100%;
}

.k-contact-form input[type="email"],
.k-contact-form input[type="number"],
.k-contact-form input[type="search"],
.k-contact-form input[type="text"],
.k-contact-form input[type="tel"],
.k-contact-form input[type="url"],
.k-contact-form input[type="password"]
{
	text-align:center;
}

.k-contact-form-success {
	padding:1em 0;
	font-size:calc(11px * var(--hs-fs));
	letter-spacing: 1px;
	text-transform: uppercase;
	font-weight:400;
	color:#cccccc;
}

.k-contact-form-success:before {
	content: '✔';
	color:#cccccc;
	margin-right: 6px;
}

.k-contact-form-required-field label:after {
	content: '*';
	color: red;
	margin-left:3px;
}

.k-content-form-processing {
	opacity: 0.5;
}

.k-content-form-processing button[type="submit"] {
	pointer-events: none !important;
}

.k-contact-form-error input[type="text"],
.k-contact-form-error input[type="password"],
.k-contact-form-error input[type="date"],
.k-contact-form-error input[type="datetime"],
.k-contact-form-error input[type="datetime-local"],
.k-contact-form-error input[type="month"],
.k-contact-form-error input[type="week"],
.k-contact-form-error input[type="email"],
.k-contact-form-error input[type="number"],
.k-contact-form-error input[type="search"],
.k-contact-form-error input[type="tel"],
.k-contact-form-error input[type="time"],
.k-contact-form-error input[type="url"],
.k-contact-form-error input[type="color"],
.k-contact-form-error textarea
{
	border-color:red;
}

/*
	HEADER
*/

header.top {
	margin:5em 0 1em;
}

header.top h1 {
	font-size:calc(21px * var(--hs-fs));
	font-weight:400;
	letter-spacing: 4px;
	line-height: 1.5;
	text-transform:uppercase;
}

.site_tagline {
	text-transform:uppercase;
	letter-spacing:2px;
	color:inherit;
	font-size:calc(10px * var(--hs-fs));
	margin-bottom:1.5em;
}

/*
	NAV
*/

nav {
	margin:0 0 3em;
}

nav ul {
	margin:0;
	padding:0;
}

nav li {
	display:inline-block;
	white-space:nowrap;
	padding:0 8px 0 8px;
	line-height:2;
}

nav a:link,
nav a:visited,
nav a:active
{
	font-size:calc(12px * var(--hs-fs));
	letter-spacing:1px;
	text-transform:uppercase;
	color:var(--hs-nav);
}

nav a:hover,
a.nav_link:hover
{
	color:#cccccc;
}

nav a.k-nav-current {
	color:#cccccc;
}

a.cap_link:link,
a.cap_link:visited,
a.cap_link:active
{
	font-size:calc(12px * var(--hs-fs));
	letter-spacing:1px;
	text-transform:uppercase;
}

div#container {
	width:920px;
	margin:0 auto;
}

/* Page specific width mods for desktops only */
body.k-source-index div#container {
	width:960px;
}
body.k-source-albums div#container,
body.k-source-sets div#container,
body.k-source-set div#container
{
	width:960px;
}
body.k-source-album div#container {
	width:960px;
}
body.k-source-content div#container {
	width:960px;
}
body.k-source-contents div#container,
body.k-source-favorites div#container
{
	width:960px;
}
body.k-source-essays div#container,
body.k-source-essay div#container,
body.k-source-archive-essays div#container,
body.k-source-page div#container
{
	width:960px;
}

/*
	FOOTER
*/

footer.bot {
	font-size:0.9em;
	margin:50px 0;
	clear:both;
}

/*
	SLIDESHOW
*/

#home_slideshow {
	position: relative;
}

#ss_spinner {
	background-repeat:no-repeat;
	background-position:center center;
	background-size:16px 16px;
	background-image: url(/storage/themes/axis-hs/css/black/spinner.gif);
	background-color:#242424;
	width:26px;
	height:26px;
	position:absolute;
	left:50%;
	top:50%;
	margin-left:-12px;
	margin-left-12px;
	z-index:999;
	opacity: 0;
	-webkit-transition: opacity 0.5s;
	-moz-transition: opacity 0.5s;
	-o-transition: opacity 0.5s;
	transition: opacity 0.5s;
	-moz-border-radius:26px;
	-webkit-border-radius: 26px;
	border-radius: 26px;
}

#ss_spinner.loading {
	opacity: 1;
}

#sldshw-play.waiting:before {
	content:"";
	width:16px;
	height:16px;
	display:block;
	background-repeat:no-repeat;
	background-position:center center;
	background-size:16px 16px;
	background-image: url(/storage/themes/axis-hs/css/black/spinner.gif);
	position:absolute;
	top:-28px;
	left:50%;
	margin-left:-8px;
}

/*
	CONTENT AREA
*/

div#album-title {
	margin:0 auto 2em;
}

div#album-desc {
	margin:0 auto 3em;
	width:70%;
}

/* paragraphs="true" dělá odstavce jen z prázdných řádků, jednoduchý konec řádku nechá jako \n */
div#album-desc p {
	white-space:pre-line;
}

ul#nav-content {
	margin:0 0 15px;
}

ul#nav-content li {
	display:inline;
	position:relative;
}

ul#nav-content li a {
	padding:0 8px;
}

ul#nav-content li:nth-child(2) {
	display:inline;
}

div#caption-content {
	text-align:center;
}

div.main-content {
	margin:0 auto 25px;
	line-height:1;
}

div.text-content {
	width:80%;
	margin:0 auto;
}

body.k-source-content div.main-content img {
	max-height:720px;
}

/*
	ALBUMS / SET
*/

div#sets-layout {
	margin-bottom:60px;
	overflow:hidden;
}
div#sets-layout div.item {
	float:left;
	margin-right:5%;
}
div#sets-layout img {
	margin-bottom:10px;
}
div#sets-layout div.item h2 {
	margin-bottom:0.6em;
}

div#sets-layout.col_1 .item { clear:both;width:100%;margin-right:0; }

div#sets-layout.col_2 .item:nth-of-type(n) { width:47.5%; }
div#sets-layout.col_2 .item:nth-child(2n) { margin-right:0; }
div#sets-layout.col_2 .item:nth-child(2n+1) { clear:both; }

div#sets-layout.col_3 .item:nth-of-type(n) { width:30%; }
div#sets-layout.col_3 .item:nth-child(3n) { margin-right:0; }
div#sets-layout.col_3 .item:nth-child(3n+1) { clear:both; }

div#sets-layout.col_4 .item:nth-of-type(n) { width:21.25%; }
div#sets-layout.col_4 .item:nth-child(4n) { margin-right:0; }
div#sets-layout.col_4 .item:nth-child(4n+1) { clear:both; }

div#sets-layout.col_5 .item:nth-of-type(n) { width:16%; }
div#sets-layout.col_5 .item:nth-child(5n) { margin-right:0; }
div#sets-layout.col_5 .item:nth-child(5n+1) { clear:both; }

/*
	GRID LAYOUT (CONTENTS/ALBUM)
*/

#grid {
	margin-bottom:25px;
}

ul#img-grid {
	width:100%;
	position:relative;
	margin:0;
}

ul#img-grid li {
	width:400px;
	display:block;
	-moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

ul#img-grid li img {
	display:block;
}

ul#img-grid li h3 {
	font-size:calc(12px * var(--hs-fs));
	margin:5px 0 0 0;
}

/*
	ESSAYS
*/

article {
	text-align:left;
	font-size:calc(14px * var(--hs-fs));
	line-height:21px;
	width:70%;
	margin:0 auto 50px;
}

article header {
	text-align:center;
}

article header h1 {
	margin:0 0 1em;
}

article footer {
	text-align:center;
}

article h1, article h2, article h3, article h4 {
	text-align:center;
}

article ul {
	list-style:disc;
	list-style-position: inside;
	margin:0 0 18px;
}

article ol {
	list-style:decimal;
	list-style-position: inside;
	margin:0 0 18px;
}

article blockquote {
	padding:0 50px;
	margin:0 0 18px;
	font-style:italic;
}

article b, article strong {
	font-weight:bold;
}

.k-content-embed {
	margin-bottom:18px;
	text-align: center;
}

.k-content {
	line-height:0;
	margin:0 auto;
}

.k-content img {
	max-width:100%;
	height:auto;
}

.k-content-text {
	margin:1em 0;
	text-align:center;
}

.k-content-title {
	display:block;
	font-size:calc(12px * var(--hs-fs));
	letter-spacing: 1px;
	text-transform: uppercase;
	font-weight:400;
}

.k-content-caption {
	font-style:italic;
	color:#777;
}

.k-pulse-button-disabled {
	opacity:0.6;
	cursor:default;
}

article div.meta {
	text-align:center;
	width:60%;
	margin:0 auto;
}

article div.meta p {
	font-size:calc(12px * var(--hs-fs));
	line-height:1.8;
}

article div.meta a {
	color:inherit;
}

article div.meta a:hover {
	color:#cccccc;
}

div#feat-essays {
	margin-top:60px;
}

div#feat-essays div.essay {
	margin-bottom:15px;
}

div#feat-essays div.essay time {
	margin:0;
	padding:0;
	font-size:0.8em;
}

div#feat-essays div.essay strong {
	color:#cccccc;
	font-weight:normal;
}

/*
	PAGINATION
*/

#pagination {
	margin-top:50px;
}

#pagination a:link, #pagination a:visited, #pagination a:active {
	color:var(--hs-nav);
}

#pagination a:hover {
	color:#cccccc;
}

#pagination a.k-pagination-current {
	color:#cccccc;
}

/*
	ARCHIVE
*/

#archive-head {
	margin-bottom:54px;
}

#archive-head a {
	color:inherit;
}

#archive-head a:hover {
	color:#ffffff;
}

/*
	ALBUM
*/

#album_topics {
	margin:30px 0;
}

/*
	CONTENT
*/

img.img-content {
	max-height:710px;
}

.parent-album {
	font-size:calc(12px * var(--hs-fs));
	letter-spacing:1px;
	text-transform:uppercase;
	color:var(--hs-nav);
	margin-top:50px;
}

ol#exif_meta {
	list-style:none;
}

ol#exif_meta li {
	display:inline-block;
	font-size:calc(12px * var(--hs-fs));
	margin-bottom:30px;
	padding:0 4px;
}

/* SOCIAL
----------------------------------------------- */

div#social-bttns {
	margin:20px 0 0;
	width:100%;
	overflow:auto;
}
div#social-bttns div.cell {
	width:50%;
	float:left;
	-moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
div#social-bttns div.cell.left {
	padding-right:5px;
}
div#social-bttns div.cell.right {
	padding-left:5px;
}

.social-links {
	margin:30px 0;
}

.social-links li {
	display:inline-block;
}

.social-links li a {
	font-size:calc(12px * var(--hs-fs));
	text-align: center;
	display:inline-block;
	color:var(--hs-body);
	-webkit-transition: color 0.2s ease-in-out;
    -moz-transition: color 0.2s ease-in-out;
	transition: color 0.2s ease-in-out;
	padding:0 5px;
}

.social-links li a:hover {
	color:#ffffff;
}

.social-links li a.share_facebook {
	padding-right:3px;
}

.social-links li a.share_pinterest {
	padding-right:3px;
}

/* DISCUSSIONS
----------------------------------------------- */

div#kdiscuss {
	margin-top:30px;
}

/* MEDIA QUERIES
----------------------------------------------- */

/* Smaller than standard 960 (devices and browsers) */
@media only screen and (max-width: 1024px) {

	div#container,
	body.k-source-index div#container,
	body.k-source-albums div#container,
	body.k-source-sets div#container,
	body.k-source-set div#container,
	body.k-source-album div#container,
	body.k-source-content div#container,
	body.k-source-contents div#container,
	body.k-source-essays div#container,
	body.k-source-essay div#container,
	body.k-source-favorites div#container,
	body.k-source-archive-essays div#container,
	body.k-source-page div#container {
		width:960px;
	}
}

/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 959px) {

	div#container,
	body.k-source-index div#container,
	body.k-source-albums div#container,
	body.k-source-sets div#container,
	body.k-source-set div#container,
	body.k-source-album div#container,
	body.k-source-content div#container,
	body.k-source-contents div#container,
	body.k-source-essays div#container,
	body.k-source-essay div#container,
	body.k-source-favorites div#container,
	body.k-source-archive-essays div#container,
	body.k-source-page div#container {
		width:728px;
	}
}

/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {

	p {
		font-size:90%;
	}

	img.custom_logo {
		max-width:300px;
		height:auto;
		-moz-transform: scale(0.8);
		-o-transform: scale(0.8);
		-webkit-transform: scale(0.8);
		transform: scale(0.8);
	    -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.8, M12=0, M21=0, M22=0.8, SizingMethod='auto expand')";
		-moz-transform-origin: 50% 50%;
		-o-transform-origin: 50% 50%;
		-webkit-transform-origin: 50% 50%;
		transform-origin: 50% 50%;
	}

	article, div#album-desc {
		width:100%;
	}

	.social-links li a {
		padding:0 2px;
	}

	#sets-layout div.item {
		float:none !important;
		width:100% !important;
		margin-right:0 !important;
	}
}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {

	div#container,
	body.k-source-index div#container,
	body.k-source-albums div#container,
	body.k-source-sets div#container,
	body.k-source-set div#container,
	body.k-source-album div#container,
	body.k-source-content div#container,
	body.k-source-contents div#container,
	body.k-source-essays div#container,
	body.k-source-essay div#container,
	body.k-source-favorites div#container,
	body.k-source-archive-essays div#container,
	body.k-source-page div#container {
		width:440px;
	}
}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {

	div#container,
	body.k-source-index div#container,
	body.k-source-albums div#container,
	body.k-source-sets div#container,
	body.k-source-set div#container,
	body.k-source-album div#container,
	body.k-source-content div#container,
	body.k-source-contents div#container,
	body.k-source-essays div#container,
	body.k-source-essay div#container,
	body.k-source-favorites div#container,
	body.k-source-archive-essays div#container,
	body.k-source-page div#container {
		width:300px;
	}
}
/* ==========================================================================
	AXIS HS: hlavička, homepage (hero, sady, videa), patička
	========================================================================== */

.hs-visually-hidden {
	position:absolute !important;
	width:1px;
	height:1px;
	overflow:hidden;
	clip:rect(0 0 0 0);
	white-space:nowrap;
}

/* HLAVIČKA */

.hs-header {
	position:relative;
	z-index:10;
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:24px;
	padding:28px 40px;
	margin:0 0 3em;
	text-align:left;
}

.hs-brand {
	line-height:1.2;
}

a.hs-title,
a.hs-title:link,
a.hs-title:visited {
	display:inline-block;
	color:#cccccc;
	font-size:calc(21px * var(--hs-fs));
	font-weight:400;
	letter-spacing:4px;
	text-transform:uppercase;
}

.hs-tagline {
	margin-top:6px;
	font-size:calc(10px * var(--hs-fs));
	letter-spacing:2px;
	text-transform:uppercase;
}

nav.hs-nav {
	margin:0;
}

nav.hs-nav ul {
	display:flex;
	flex-wrap:wrap;
	justify-content:flex-end;
	gap:4px 22px;
}

nav.hs-nav li {
	display:block;
	padding:0;
}

.hs-nav-toggle {
	display:none;
}

/* FitVids (koken.js) vkládá na začátek <body> div se znakem &shy; a <style>: řádek o výšce ~21 px
   odsouval hero dolů (tmavý proužek nad fotkou). Skrytí div nevadí, <style> uvnitř platí dál. */
body > .fit-vids-style {
	display:none;
}

/* HOMEPAGE: hlavička přes hero */

body.k-source-index div#container {
	width:auto;
	text-align:left;
}

body.k-source-index .hs-header {
	position:absolute;
	top:0;
	left:0;
	right:0;
	margin:0;
	padding-bottom:60px;
	background:linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0));
	color:rgba(255,255,255,0.8);
}

body.k-source-index a.hs-title,
body.k-source-index nav.hs-nav a:link,
body.k-source-index nav.hs-nav a:visited {
	color:#fff;
	text-shadow:0 1px 8px rgba(0,0,0,0.35);
}

body.k-source-index nav.hs-nav a:hover {
	color:#fff;
	opacity:0.7;
}

/* HERO */

.hs-hero {
	position:relative;
	height:100vh;
	height:100svh;
	min-height:420px;
	overflow:hidden;
	background:#111;
	isolation:isolate;
}

/* img. kvůli specifičnosti: Axis má img[srcset] { height:auto } */
img.hs-hero-img {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	max-width:none;
	object-fit:cover;
	transition:opacity 1.5s ease;
}

/* prolínání: nová fotka se vynoří nad tou dosavadní, skrytí té spodní je okamžité */
img.hs-hero-img.hs-hero-top {
	z-index:1;
}

img.hs-hero-img.hs-hero-off {
	opacity:0;
	transition:none;
}

.hs-hero-foot {
	position:absolute;
	left:0;
	right:0;
	bottom:0;
	display:flex;
	align-items:flex-end;
	justify-content:space-between;
	gap:24px;
	z-index:2;
	padding:80px 40px 28px;
	background:linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.5));
}

a.hs-hero-album:link,
a.hs-hero-album:visited,
a.hs-hero-down:link,
a.hs-hero-down:visited {
	color:#fff;
	text-shadow:0 1px 8px rgba(0,0,0,0.35);
}

a.hs-hero-album {
	font-size:calc(12px * var(--hs-fs));
	letter-spacing:2px;
	text-transform:uppercase;
}

a.hs-hero-album:hover,
a.hs-hero-down:hover {
	opacity:0.7;
}

a.hs-hero-down {
	margin-left:auto;
	font-size:calc(22px * var(--hs-fs));
	line-height:1;
}

/* SEKCE HOMEPAGE */

.hs-section {
	max-width:1400px;
	margin:0 auto;
	padding:90px 40px 0;
	text-align:left;
}

.hs-section-head {
	display:flex;
	align-items:baseline;
	justify-content:space-between;
	gap:24px;
	padding-bottom:14px;
	margin-bottom:28px;
	border-bottom:1px solid rgba(255,255,255,0.12);
}

h2.hs-section-title {
	margin:0;
	font-size:calc(14px * var(--hs-fs));
	letter-spacing:3px;
	text-transform:uppercase;
}

a.hs-section-more:link,
a.hs-section-more:visited {
	font-size:calc(11px * var(--hs-fs));
	letter-spacing:1px;
	text-transform:uppercase;
	white-space:nowrap;
	color:var(--hs-nav);
}

a.hs-section-more:hover {
	color:#cccccc;
}

.hs-cards {
	display:grid;
	grid-template-columns:repeat(4, minmax(0, 1fr));
	gap:40px 28px;
}

.hs-cards-3 {
	grid-template-columns:repeat(3, minmax(0, 1fr));
}

.hs-cards-video {
	grid-template-columns:repeat(2, minmax(0, 1fr));
}

/* <button> by obsah v roztažené buňce svisle centroval */
.hs-cards > * {
	align-self:start;
}

.hs-card,
a.hs-card:link,
a.hs-card:visited {
	display:block;
	color:#cccccc;
}

.hs-card-img {
	display:block;
	overflow:hidden;
	background:rgba(255,255,255,0.04);
}

.hs-card-img img {
	display:block;
	width:100%;
	height:auto;
	transition:opacity 0.3s ease, transform 0.6s ease;
}

.hs-card:hover .hs-card-img img {
	opacity:0.85;
	transform:scale(1.02);
}

.hs-card-title {
	display:block;
	margin-top:14px;
	font-size:calc(14px * var(--hs-fs));
	line-height:1.35;
	letter-spacing:0.5px;
}

.hs-year {
	display:block;
	margin-top:4px;
	font-size:calc(11px * var(--hs-fs));
	letter-spacing:1px;
	color:var(--hs-body);
}

/* VIDEA */

button.hs-video {
	width:100%;
	padding:0;
	margin:0;
	border:0;
	background:none;
	font:inherit;
	text-align:left;
	text-transform:none;
	letter-spacing:normal;
	white-space:normal;
	color:#cccccc;
	cursor:pointer;
}

.hs-video-frame {
	position:relative;
	aspect-ratio:16 / 9;
}

.hs-video-frame img {
	height:100%;
	object-fit:cover;
}

.hs-video-frame iframe {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	border:0;
}

.hs-play {
	position:absolute;
	top:50%;
	left:50%;
	width:64px;
	height:64px;
	margin:-32px 0 0 -32px;
	border-radius:50%;
	background:rgba(0,0,0,0.55);
	border:1px solid rgba(255,255,255,0.6);
	transition:background 0.2s ease;
}

.hs-play:after {
	content:"";
	position:absolute;
	top:50%;
	left:50%;
	margin:-10px 0 0 -6px;
	border-style:solid;
	border-width:10px 0 10px 17px;
	border-color:transparent transparent transparent #fff;
}

button.hs-video:hover .hs-play,
button.hs-video:focus-visible .hs-play {
	background:rgba(0,0,0,0.8);
}

/* PATIČKA */

.hs-footer {
	clear:both;
	padding:60px 40px;
	font-size:calc(11px * var(--hs-fs));
	letter-spacing:1px;
	text-align:center;
}

body.k-source-index .hs-footer {
	margin-top:100px;
	border-top:1px solid rgba(255,255,255,0.08);
}

/* TABLET */

@media only screen and (max-width: 1100px) {
	.hs-cards {
		grid-template-columns:repeat(2, minmax(0, 1fr));
	}
	.hs-cards-video {
		grid-template-columns:repeat(2, minmax(0, 1fr));
	}
}

/* MOBIL */

@media only screen and (max-width: 767px) {
	.hs-header {
		flex-wrap:wrap;
		padding:18px 20px;
		margin-bottom:2em;
	}

	body.k-source-index .hs-header {
		padding-bottom:40px;
	}

	.hs-nav-toggle {
		display:block;
		position:relative;
		width:40px;
		height:40px;
		padding:0;
		margin:0 -8px 0 0;
		border:0;
		background:none;
		color:#cccccc;
	}

	body.k-source-index .hs-nav-toggle {
		color:#fff;
	}

	.hs-nav-toggle-bars,
	.hs-nav-toggle-bars:before,
	.hs-nav-toggle-bars:after {
		position:absolute;
		left:9px;
		width:22px;
		height:1px;
		background:currentColor;
		transition:transform 0.2s ease, opacity 0.2s ease;
	}

	.hs-nav-toggle-bars {
		top:20px;
	}

	.hs-nav-toggle-bars:before,
	.hs-nav-toggle-bars:after {
		content:"";
		left:0;
	}

	.hs-nav-toggle-bars:before { top:-7px; }
	.hs-nav-toggle-bars:after { top:7px; }

	.hs-nav-open .hs-nav-toggle-bars { background:transparent; }
	.hs-nav-open .hs-nav-toggle-bars:before { transform:translateY(7px) rotate(45deg); }
	.hs-nav-open .hs-nav-toggle-bars:after { transform:translateY(-7px) rotate(-45deg); }

	nav.hs-nav {
		display:none;
		flex-basis:100%;
	}

	.hs-nav-open nav.hs-nav {
		display:block;
	}

	nav.hs-nav ul {
		flex-direction:column;
		align-items:flex-start;
		gap:0;
		padding:12px 0 4px;
	}

	nav.hs-nav li {
		line-height:2.6;
	}

	body.k-source-index .hs-nav-open {
		background:rgba(0,0,0,0.85);
	}

	.hs-hero-foot {
		padding:60px 20px 20px;
	}

	.hs-section {
		padding:64px 20px 0;
	}

	/* karty na mobilu jako vodorovně posuvný pás */
	.hs-cards,
	.hs-cards-video {
		display:grid;
		grid-auto-flow:column;
		grid-template-columns:none;
		grid-auto-columns:78%;
		gap:16px;
		overflow-x:auto;
		scroll-snap-type:x mandatory;
		margin:0 -20px;
		padding:0 20px 8px;
		scroll-padding:0 20px;
		scrollbar-width:none;
	}

	.hs-cards::-webkit-scrollbar {
		display:none;
	}

	.hs-card {
		scroll-snap-align:start;
	}

	.hs-footer {
		padding:40px 20px;
	}
}

/* ALBUM: širší stránka, odkaz na sadu, předchozí / další dílo, další díla ze sady.
   Stejnou šířku má i stránka sady a seznam alb. */

body.k-source-album div#container,
body.k-source-set div#container,
body.k-source-sets div#container,
body.k-source-albums div#container {
	width:auto;
	max-width:1400px;
	padding:0 40px;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
}

/* fotka v albu vždy na šířku sloupce: malé originály (např. 533 × 800) by jinak zůstaly užší než sloupec
   (img[srcset] má jen max-width:100%) a v mřížce by vznikly mezery */
ul#img-grid li img {
	width:100%;
	height:auto;
}

/* širší sada: víc místa mezi řadami, popisy alb mají různou délku */
div#sets-layout div.item {
	margin-bottom:48px;
}

body.k-source-album div#album-desc {
	width:auto;
	max-width:760px;
}

.hs-album-parent {
	margin:0 0 1.2em;
	font-size:calc(11px * var(--hs-fs));
	letter-spacing:2px;
	text-transform:uppercase;
}

.hs-album-parent a:link,
.hs-album-parent a:visited {
	color:var(--hs-nav);
}

.hs-album-parent a:hover {
	color:#cccccc;
}

.hs-album-pager {
	display:flex;
	justify-content:space-between;
	gap:24px;
	margin:70px 0 0;
	padding:28px 0;
	border-top:1px solid rgba(255,255,255,0.12);
	border-bottom:1px solid rgba(255,255,255,0.12);
	text-align:left;
}

/* Bez sousedů (např. jediné album na stránce For sale) by zbyly jen dvě čáry */
.hs-album-pager:not(:has(a)) {
	display:none;
}

.hs-album-pager a {
	display:block;
	max-width:48%;
}

a.hs-pager-next {
	margin-left:auto;
	text-align:right;
}

.hs-pager-label {
	display:block;
	margin-bottom:6px;
	font-size:calc(11px * var(--hs-fs));
	letter-spacing:2px;
	text-transform:uppercase;
	color:var(--hs-nav);
}

.hs-pager-title {
	display:block;
	font-size:calc(16px * var(--hs-fs));
	color:#cccccc;
}

.hs-album-pager a:hover .hs-pager-label {
	color:#cccccc;
}

/* „More from“ v albu: sekce už je v kontejneru s okraji */
.hs-more .hs-section {
	padding:70px 0 0;
	max-width:none;
}

.hs-more h2.hs-section-title a:link,
.hs-more h2.hs-section-title a:visited {
	color:inherit !important;
}

@media only screen and (max-width: 767px) {
	body.k-source-album div#container,
	body.k-source-set div#container,
	body.k-source-sets div#container,
	body.k-source-albums div#container {
		padding:0 20px;
	}
	.hs-album-pager {
		margin-top:40px;
	}
	.hs-pager-title {
		font-size:14px;
	}
	.hs-more .hs-section {
		padding-top:50px;
	}
}

/* FOR SALE: štítek u alb s tagem for-sale (karty na HP, v sadě, „More from“, detail alba)
   a stránka /albums/tags/for-sale/ (archive.albums.lens) */

.hs-card-img,
div#sets-layout div.item {
	position:relative;
}

.hs-badge {
	position:absolute;
	top:12px;
	left:12px;
	z-index:1;
	padding:5px 9px 4px;
	background:rgba(0,0,0,0.72);
	color:#fff;
	font-size:calc(10px * var(--hs-fs));
	line-height:1.2;
	letter-spacing:2px;
	text-transform:uppercase;
	pointer-events:none;
}

.hs-badge-static {
	position:static;
	display:inline-block;
	border:1px solid rgba(255,255,255,0.35);
	background:none;
	color:#cccccc;
}

.hs-album-badge {
	margin:-1.2em 0 2em;
}

body.k-source-archive-albums div#container {
	width:auto;
	max-width:1400px;
	padding:0 40px 60px;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
}

.hs-archive-cards {
	text-align:left;
}

@media only screen and (max-width: 767px) {
	body.k-source-archive-albums div#container {
		padding:0 20px 40px;
	}
	/* na stránce For sale pod sebou, ne posuvný pás jako na HP */
	.hs-cards.hs-archive-cards {
		grid-auto-flow:row;
		grid-template-columns:minmax(0, 1fr);
		grid-auto-columns:auto;
		overflow:visible;
		margin:0;
		padding:0;
		gap:36px;
	}
}

/* Cena (plugin hs-price, album.price): jen na stránce For sale a na detailu alba otevřeném přes ni */

.hs-price {
	display:block;
	margin-top:8px;
	font-size:calc(13px * var(--hs-fs));
	letter-spacing:1px;
	color:#cccccc;
}

.hs-album-badge .hs-price {
	display:inline-block;
	margin:0 0 0 14px;
	vertical-align:middle;
}

/* SOLD: tag sold (spolu s for-sale). Štítek s červenou tečkou (galerijní „red dot“), na stránce For sale
   ztlumený obrázek a bez ceny, na detailu alba místo „For sale“. */

.hs-badge-sold:before {
	content:"";
	display:inline-block;
	width:7px;
	height:7px;
	margin:0 7px 1px 0;
	border-radius:50%;
	background:#d23b31;
	vertical-align:middle;
}

.hs-archive-cards .hs-card-img:has(.hs-badge-sold) img {
	opacity:0.55;
}

.hs-archive-cards .hs-card:hover .hs-card-img:has(.hs-badge-sold) img {
	opacity:0.75;
}

/* štítek For sale / Sold na jednotlivé fotce v mřížce alba (tag for-sale / sold u fotky); li umisťuje wookmark
   absolutně, štítek se tak drží rohu fotky */
ul#img-grid li .hs-badge {
	z-index:2;
}

/* STRÁNKY (CV, Video / Performance, Contact): kontejner jako u alba (max 1400 px, okraje 40 px, na mobilu 20 px
   místo pevných 300 px z Axis), obsah až 1100 px. Stránka s formulářem (Contact) zůstává 672 px jako dřív. */
body.k-source-page div#container {
	width:auto;
	max-width:1400px;
	padding:0 40px 60px;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
}

body.k-source-page article {
	width:auto;
	max-width:1100px;
}

body.k-source-page article:has(form) {
	max-width:672px;
}

/* tabulka CV: přes celou šířku, sloupce EN a CZ napůl (jinak th.nadpis 260 px) */
body.k-source-page article table {
	width:100%;
}

body.k-source-page th.nadpis {
	width:50%;
}

/* video přes celou šířku: Koken dává obalu inline max-width podle rozměru iframe (871 px) */
body.k-source-page article .max-width-video-wrapper {
	max-width:none !important;
}

@media only screen and (max-width: 767px) {
	body.k-source-page div#container {
		padding:0 20px 40px;
	}
	body.k-source-page article:has(form) {
		max-width:none;
	}
}

/* STRÁNKA VIDEÍ (page.lens, stránka z nastavení home_video_page_id): název nad videem, větší mezery mezi videi */
.hs-video-item {
	margin:0 0 110px;
}

.hs-video-item:last-child {
	margin-bottom:40px;
}

article h3.hs-video-title {
	margin:0 0 16px;
	text-align:left;
	font-size:calc(16px * var(--hs-fs));
	font-weight:normal;
	line-height:1.35;
	letter-spacing:0.5px;
	color:#cccccc;
}

@media only screen and (max-width: 767px) {
	.hs-video-item {
		margin-bottom:56px;
	}
	article h3.hs-video-title {
		margin-bottom:12px;
	}
}


.k-mosaic{position:relative;display:block;list-style:none;padding:0;margin:0}.k-mosaic:after,.k-mosaic:before{content:" ";display:table}.k-mosaic:after{clear:both}.k-mosaic>li{display:inline;height:auto;float:left;font-size:0!important;line-height:0!important;box-sizing:border-box}.k-mosaic img{max-height:none!important;vertical-align:baseline}.k-mosaic-1>li{width:100%}.k-mosaic-1>li:nth-of-type(n){clear:none}.k-mosaic-1>li:nth-of-type(1n+1){clear:both}.k-mosaic-2>li{width:50%}.k-mosaic-2>li:nth-of-type(n){clear:none}.k-mosaic-2>li:nth-of-type(2n+1){clear:both}.k-mosaic-3>li{width:33.333333333%}.k-mosaic-3>li:nth-of-type(n){clear:none}.k-mosaic-3>li:nth-of-type(3n+1){clear:both}.k-mosaic-4>li{width:25%}.k-mosaic-4>li:nth-of-type(n){clear:none}.k-mosaic-4>li:nth-of-type(4n+1){clear:both}.k-mosaic-5>li{width:20%}.k-mosaic-5>li:nth-of-type(n){clear:none}.k-mosaic-5>li:nth-of-type(5n+1){clear:both}.k-mosaic-6>li{width:16.66667%}.k-mosaic-6>li:nth-of-type(n){clear:none}.k-mosaic-6>li:nth-of-type(6n+1){clear:both}.k-mosaic-7>li{width:14.28571%}.k-mosaic-7>li:nth-of-type(n){clear:none}.k-mosaic-7>li:nth-of-type(7n+1){clear:both}.k-mosaic-8>li{width:12.5%}.k-mosaic-8>li:nth-of-type(n){clear:none}.k-mosaic-8>li:nth-of-type(8n+1){clear:both}.k-mosaic-9>li{width:11.11111%}.k-mosaic-9>li:nth-of-type(n){clear:none}.k-mosaic-9>li:nth-of-type(9n+1){clear:both}.k-mosaic-10>li{width:10%}.k-mosaic-10>li:nth-of-type(n){clear:none}.k-mosaic-10>li:nth-of-type(10n+1){clear:both}.k-mosaic.edge>li{margin:1px 1px 0 0}.k-mosaic-1.edge li:first-child,.k-mosaic-2.edge>li:nth-of-type(-n+2),.k-mosaic-3.edge>li:nth-of-type(-n+3),.k-mosaic-4.edge>li:nth-of-type(-n+4),.k-mosaic-5.edge>li:nth-of-type(-n+5),.k-mosaic-6.edge>li:nth-of-type(-n+6),.k-mosaic-7.edge>li:nth-of-type(-n+7),.k-mosaic-8.edge>li:nth-of-type(-n+8),.k-mosaic-9.edge>li:nth-of-type(-n+9),.k-mosaic-10.edge>li:nth-of-type(-n+10){margin-top:0!important}.k-mosaic-1.edge li,.k-mosaic-2.edge>li:nth-of-type(2n),.k-mosaic-3.edge>li:nth-of-type(3n),.k-mosaic-4.edge>li:nth-of-type(4n),.k-mosaic-5.edge>li:nth-of-type(5n),.k-mosaic-6.edge>li:nth-of-type(6n),.k-mosaic-7.edge>li:nth-of-type(7n),.k-mosaic-8.edge>li:nth-of-type(8n),.k-mosaic-9.edge>li:nth-of-type(9n),.k-mosaic-10.edge>li:nth-of-type(10n),.k-mosaic-uneven:last-child{margin-right:0!important}.k-mosaic-2.edge>li:nth-of-type(2n+1),.k-mosaic-3.edge>li:nth-of-type(3n+1),.k-mosaic-4.edge>li:nth-of-type(4n+1),.k-mosaic-5.edge>li:nth-of-type(5n+1),.k-mosaic-6.edge>li:nth-of-type(6n+1),.k-mosaic-7.edge>li:nth-of-type(7n+1),.k-mosaic-8.edge>li:nth-of-type(8n+1),.k-mosaic-9.edge>li:nth-of-type(9n+1),.k-mosaic-10.edge>li:nth-of-type(10n+1){margin-left:0!important}

th {
    font-weight: bold;
    padding: 25px 10px 10px 10px;
}
td {
    padding: 0px 10px;
}
td.leta, td.leta {
    text-align: right;
    width: 80px;
}
th.nadpis {
    width: 260px;
}
.k-contact-form input[type="email"], .k-contact-form input[type="number"], .k-contact-form input[type="search"], .k-contact-form input[type="text"], .k-contact-form input[type="tel"], .k-contact-form input[type="url"], .k-contact-form input[type="password"], .k-contact-form textarea {
    width: 100%;
    background-color: #313131;
} 

.k-video.max-width-video-wrapper {
    margin-bottom: 2rem;
}
.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }