/* ----------------------------------------- */
/* Galerie */
#gallery  h2 {
	font-size: 34px;
	font-weight: bold;
	padding-bottom: 6px;
}
#gallery h3 {
	color: #006ece;
	font-size: 20px;
	font-weight: normal;
	padding-top: 24px;
	padding-bottom: 6px;
}
#gallery p {
	line-height: 21px;
	padding-top: 22px;
}
#gallery p span {
	color: #005db5;
	font-size: 16px;
	font-weight: bold;
}
#gallery ul.gallery-list {
	list-style: none;
	margin: -10px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
}
#gallery ul.gallery-list li {
	box-sizing: border-box;
	width: 195px;
	max-width: 50%;
	padding: 5px;
}
#gallery ul.gallery-list li a {
	height: auto;
	width: 100%;
	display: block;
	position: relative;
	box-sizing: border-box;
}
.phase-vote #gallery ul.gallery-list li b {
	width: 61px;
	height: 66px;
	background: transparent url('../images/public/bg-sprites.png') no-repeat 0 0;
	display: block;
	position: absolute;
	top: -5px;
	right: -5px;
}

.phase-registration #gallery ul.gallery-list li b {
	display: none;
}

#gallery ul.gallery-list li img {
	width: 100%;
	aspect-ratio: 130 / 145;
	border: none;
	display: block;
}
#gallery ul.gallery-list li span {
	width: 100%;
	box-sizing: border-box;
	color: #99def9;
	font: 600 14px 'Myriad Pro', Arial, Sans-serif;
	line-height: 15px;
	background-color: #031936;
	-webkit-border-radius: 4px 4px 0px 0px;
	-moz-border-radius: 4px 4px 0px 0px;
	border-radius: 4px 4px 0px 0px;
	padding: 2px 17px 9px;
	display: block;
	position: absolute;
	left: 0;
	bottom: 0;
}
#gallery ul.gallery-list li a:hover span {
	color: #1f0e2d;
	background-color: #fef200;
}
#gallery ul.gallery-list li a span.vip-badge {
	width: 200px;
	height: 35px;
	color: #fba300;
	font: bold 24px 'Open Sans Condensed', 'Arial', Sans-serif;
	line-height: 35px;
	background: transparent url('../images/public/bg-sprites.png') no-repeat -248px -47px;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	padding: 0 0 0 41px;
	display: block;
	position: absolute;
	top: 10px;
	left: 10px;
}
#gallery ul.gallery-list li em {
	color: #1f0e2d;
	font: 600 14px 'Myriad Pro', Arial, Sans-serif;
	font-style: normal;
	line-height: 14px;
	background-color: #99def9;
	-webkit-box-shadow: inset 1px 1px 2px 0px #4e717f;
	-moz-box-shadow: inset 1px 1px 2px 0px #4e717f;
	box-shadow: inset 1px 1px 2px 0px #4e717f;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	padding: 8px 10px 5px;
	display: inline-block;
	position: absolute;
	top: -22px;
	right: 7px;
}

.phase-registration #gallery ul.gallery-list li em {
	display: none;
}
#gallery ul.gallery-list li strong {
	color: white;
	font: bold 17px 'Open Sans Condensed', 'Arial', Sans-serif;
	line-height: 19px;
	padding: 4px 0;
	display: block;
}
#gallery ul.gallery-list li a:hover strong {
	color: #1f0e2d;
}



/* ----------------------------------------- */
/* Stránkování */
#gallery .paginator {
	text-align: center;
	padding: 11px 0;
}
#gallery .paginator a,
#gallery .paginator span,
#gallery .paginator b {
	width: 48px;
	height: 48px;
	color: #031936;
	font: bold 24px 'Open Sans Condensed', 'Arial', Sans-serif;
	line-height: 48px;
	text-align: center;
	text-decoration: none;
	background-color: #99def9;
	-webkit-border-radius: 50px;
	-moz-border-radius: 50px;
	border-radius: 50px;
	margin: 0 2px;
	display: inline-block;
}
#gallery .paginator b {
	color: black;
	background-color: transparent;
}
#gallery .paginator a:hover,
#gallery .paginator span {
	color: black;
	background-color: #fee803;
}



/* ------------------------------------------ */
/* Filtr */
#gallery .gallery-filter {
	width: 100%;
	background-color: #f2f2f2;
	display: flex;
	align-items: center;
	margin: 20px 0;
}
#gallery .gallery-filter > div {
	vertical-align: middle;
	padding: 10px 0 10px 10px;
	box-sizing: border-box;
}
#gallery .gallery-filter label {
	color: #006ece;
	font: bold 18px 'Open Sans Condensed', 'Arial', Sans-serif;
}

/* ------------------------------------------ */
/* Selecbox */
.school-high,
.school-college {
	height: 38px;
}
.selectBox-dropdown
{
	height: 34px;
	outline: none;
	text-decoration: none;
	display: block !important;
	cursor: default;
}
.selectBox-dropdown .selectBox-label
{
	float: left;
	color: black;
	width: 153px;
	height: 32px;
	font: normal 12px Arial, Sans-serif;
	overflow: hidden;
	line-height: 32px;
	white-space: nowrap;
	background-color: white;
	-webkit-box-shadow: inset 0 0 6px #ddd;
	-moz-box-shadow: inset 0 0 6px #ddd;
	box-shadow: inset 0 0 6px #ddd;
	padding: 0 10px;
	border: 1px solid #ccc;
	border-right: none;
	-webkit-border-radius: 6px 0 0 6px;
	-moz-border-radius: 6px 0 0 6px;
	border-radius: 6px 0 0 6px;
	display: block;
}
.selectBox-dropdown .selectBox-arrow
{
	float: left;
	width: 34px;
	height: 34px;
	background: transparent url('../images/public/bg-sprites.png') no-repeat -214px -4px;
	display: block;
}
.selectBox-dropdown-menu
{
	max-height: 240px;
	overflow: auto;
	font-size: 12px;
	text-align: left;
	background: white;
	border: 1px solid #bbb;
	position: absolute;
	z-index: 99999;
}
.selectBox-options,
.selectBox-options li,
.selectBox-options li a
{
	list-style: none;
	color: #515151;
	padding: 0;
	margin: 0;
	display: block;
	cursor: default;
}
.selectBox-options li a
{
	line-height: 1.5;
	white-space: nowrap;
	overflow: hidden;
	text-decoration: none;
	padding: 3px 19px 3px 9px;
	-webkit-transition: none;
	-moz-transition: none;
	-ms-transition: none;
	-o-transition: none;
	transition: none;
}
.selectBox-options li.selectBox-hover a
{
	background-color:#ebf9ff;
}
.selectBox-options li.selectBox-selected a
{
	background-color:#cce9f7;
}