html {
	scroll-behavior: smooth;
}

#printer-pick {
	padding: 0;
}

#printer-pick li {
	padding: 0;
}

#printer-pick label {
	display: block;
	border: 2px solid #84abd8;
	margin: 0;
	padding: 1ex;
	margin-bottom: 1ex;
	font-size: 120%;
	height: 1.8em;
	line-height: 1.8em;
	cursor: pointer;
}

/*#printer-pick label {
}*/

#printer-pick .nm {
	float: right;
	font-size: 100%;
	text-align: right;
	padding: 3px;
	border: 1px solid #84abd8;
	font-weight: bold;
	margin-top: 0px;
	width: 3em;
}

#printer-pick span {
	margin-left: 1em;
	font-size: 80%;
	color: gray;
}

#printer-pick li.selected label {
	background-color: #e0f0ff;
}

#printer-title {
	padding: 0 1em 1ex 3em;
	color: grey;
}

#printer-title span {
	float: right;
}

#printer-error {
	margin: 1em 0;
	padding: 2ex;
	color: #c00;
	background-color: #fdd;
	font-weight: bold;
	border: 1px solid #c00;
	display: none;
}

/* Akce - kalendare */

a.ak {
	float: left;
	border: 2px solid #dae4f0;
	border-radius: 3px;
	margin-bottom: 14px;
	transition: border-color 200ms;
}

a.ak:hover {
	border-color: #90a1bd;
}

a.ak-l {
	margin-right: 14px;
}

a.ak-v {border-color: #fddfe9;}
a.ak-v:hover {border-color: #ffa2c0;}

a.ak-sold {
	filter: grayscale(1);
	opacity: .5;
}

a.tork {
	display: block;
	border: 2px solid #e4eaef;
	border-radius: 3px;
	margin-bottom: 14px;
	transition: border-color 200ms;
}

a.tork:hover {
	border-color: #b9d1e5;
}

a.ah {
	float: left;
	margin: 23px 23px 0 0;
	border: 1px solid #a6b6c7;
	border-radius: 5px;
	transition: border-color 200ms;	
	overflow: hidden;
}

a.ah:hover {
	border-color: #ff7f00;
}

a.ah-l {
	margin-right: 0;
}

a.av {
	float: left;
	margin: 25px 24px 0 0;
	border: 2px solid #d7d7d7;
	border-radius: 10px;
	transition: border-color 200ms;	
	overflow: hidden;
}

a.av:hover {
	border-color: #e4a8a3;
}

a.av-l {
	margin-right: 0;
}

a.skola {
	border: 1px solid #acc5e2;
	border-radius: 3px;
	display: block;
	margin-top: 15px;
	transition: border-color 200ms;	
	overflow: hidden;
}

a.skola:hover {
	border-color: #00469a;
}

a.skola-akce {
	border: 1px solid #f8c4d4;
	border-radius: 3px;
	margin-top: 15px;
	display: block;
	transition: border-color 200ms;	
	overflow: hidden;
}
a.skola-akce:hover {
	border-color: #fe0650;
}

a.skola2 {
	border: 1px solid #acc5e2;
	border-radius: 3px;
	display: block;
	float: left;
	margin: 15px 15px 0 0;
	transition: border-color 200ms;	
	overflow: hidden;
}

a.skola2:nth-child(2n) {
	margin-right: 0;
}

a.skola2:hover {
	border-color: #00469a;
}

#archivace p {
	font-size: 14px;
	text-align: center;
	line-height: 1.5em;
	margin-left: -2em;
	margin-right: -2em;
	padding: 0;
}

#archivace p span {
	font-weight: bold;
	text-decoration: underline;
	color: #ff7f00;
}

#archivace p.title {
	font-weight: bold;
	font-size: 17px;
	color: #00479b;
	margin-top: 25px;
	margin-bottom: 8px;
}

#archivace a.ah {
	border-color: #d6d0d0;
	border-radius: 3px;
}

#archivace a.ah:hover {
	border-color: #00479b;
}

#archivace .imgs {
	margin-top: 5px;
}

#archivace .imgs div {
	clear: both;
}

/* === TRIDENI === */
#trideni {
	margin-left: -17px;
	margin-right: 16px;
}

#trideni .tiles {
	margin-top: 16px;
}

#trideni .tiles .tile {
	display: block;
	float: left;
	width: 220px;
	height: 264px;
	
	border: 1px solid #D2D7C1;
	border-radius: 5px;
	margin-left: 15px;
	margin-bottom: 16px;
	color: black;
	transition: border-color 200ms;
}
#trideni .tiles .tile:hover {
	text-decoration: none;
	border-color: #739A14;
}

#home-holder #trideni .tiles .tile img {
	margin-top: 10px;
	width: 200px;
	height: 200px;
}

#trideni .tiles .tile div {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 50px;
	
	font-size: 16px;
	font-weight: bold;
	margin: 8px;
	text-align: center;
	line-height: 1.2em;
}

/* === KVARTALNI DARKY === */

#kvartal {
	margin-left: -17px;
	margin-right: 16px;
}

#kvartal .block .title {
	height: 50px;
	background-color: #eee;
	border-radius: 5px;
	
	text-align: center;
	line-height: 50px;
	font-size: 17px;
	
	background-repeat: no-repeat;
	background-position: 0 100%;
}

#kvartal .block .title strong {
	font-weight: 900;
}

#kvartal .tiles {
	margin-top: 16px;
}

#kvartal .tiles .tile {
	display: block;
	float: left;
	width: 164px;
	height: 200px;
	
	border: 1px solid #ddd;
	border-radius: 5px;
	margin-left: 16px;
	margin-bottom: 16px;
	color: black;
	transition: border-color 200ms;
}
#kvartal .tiles .tile:hover {
	text-decoration: none;
	border-color: #aaa;
}

#kvartal .tiles .tile:nth-child(4n+1) {
	margin-left: 0;
}

#home-holder #kvartal .tiles .tile img {
	margin-top: 13px;
}

#kvartal .tiles .tile div {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 50px;
	
	font-size: 12px;
	margin: 8px;
	text-align: center;
	line-height: 1.2em;
}

#kvartal .orange .title {
	background-color: #FEE4C8; color: #FE8600;
	background-image: url('../images/present/darek-icon-orange.png');
}
#kvartal .orange .tile {border-color: #FCDFBF;}
#kvartal .orange .tile:hover {border-color: #FE8600;}

#kvartal .green .title {
	background-color: #D8F2E2; color: #33B366;
	background-image: url('../images/present/darek-icon-green.png');
}
#kvartal .green .tile {border-color: #B6E3C7;}
#kvartal .green .tile:hover {border-color: #33B366;}

#kvartal .blue .title {
	background-color: #E1F0FE; color: #5189DB;
  background-image: url('../images/present/darek-icon-blue.png');
}
#kvartal .blue .tile {border-color: #D7E4F0;}
#kvartal .blue .tile:hover {border-color: #5189DB;}

#kvartal .red .title {
	background-color: #F8E5E5; color: #DB5151;
	background-image: url('../images/present/darek-icon-red.png');
}
#kvartal .red .tile {border-color: #FCD6D6;}
#kvartal .red .tile:hover {border-color: #DB5151;}

#kvartal .yellow .title {
	background-color: #FBF4DF; color: #E5AF19;
	background-image: url('../images/present/darek-icon-yellow.png');
}
#kvartal .yellow .tile {border-color: #FDE9AC;}
#kvartal .yellow .tile:hover {border-color: #E5AF19;}

#kvartal .purple .title {
	background-color: #FAE6F6; color: #C737A5;
	background-image: url('../images/present/darek-icon-fuchsia.png');
}
#kvartal .purple .tile {border-color: #FCD0F3;}
#kvartal .purple .tile:hover {border-color: #C737A5;}

.glightbox-open .glightbox-clean .gcontainer .gslider .gslide-description .gslide-desc {
	text-align: center;
	font-size: 13px;
	padding-bottom: 14px;
}
