/* ----------------------------------------------------------------------	OBECNÉ NASTAVENÍ	---------------------------------------------------------------------- */

@font-face {
    font-family: Indochine;
    src: url(fonts/IndochineNF.ttf);
}

@font-face {
    font-family: PsaciStroj;
    src: url(fonts/Typechev.ttf);
}

::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #F5F5F5;
	border-radius: 10px;
}

::-webkit-scrollbar {
	width: 20px;
	background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb {
	background-color: #883;
	border-radius: 10px;
	background-image: -webkit-linear-gradient(0deg,
		rgba(255, 255, 255, 0.5) 25%,
		transparent 25%,
		transparent 50%,
		rgba(255, 255, 255, 0.5) 50%,
		rgba(255, 255, 255, 0.5) 75%,
		transparent 75%,
		transparent)
}

img 					{border: 0px; margin: 0px; padding: 0px;}
A  					{color: #FFF;	text-decoration: none;}
A:Link	  			{color: #FFF;   text-decoration: none; text-shadow: 1px 1px 2px #000;} 
A:Visited  			{color: #FFF;	text-decoration: none;}
A:Active  			{color: #FFF;	text-decoration: none;}
A:Hover  			{color: #FA0; }

body {
	color: #000;
	font-family: Courier;
	background: #BBB url('icons/bgm3.jpg') repeat;
	position: relative;
	text-align: center;
	margin: 0px 10px 10px 10px;
	font-size: 16px;
	min-width: 760px;
}

h1 {
	display: inline-block;
	position: relative;
	margin: 0px;
	font-family: Indochine, Arial;
	text-align: center;
	font-size: 120px;
	line-height: 120px;
	letter-spacing: 2px;
	color: #D60;
	text-shadow: 6px 6px #000, -1px -1px #B50;
}

@media only screen and (max-width: 1200px) {
	h1 {
		font-size: 60px;
	}
}

h2 {
	margin: 0px;
	font-family: PsaciStroj, Courier, Arial;
	text-align: center;
	font-size: 48px;
	font-weight: bold;
	text-transform: uppercase;
	padding: 0px;
	color: #000;
	text-shadow: 1px 1px 2px #AA6;
}

h3 {
	margin: 20px;
	font-family: Courier, Arial;
	text-align: left;
	font-size: 150%;
	padding: 0px;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: #FFF;
	text-shadow: 0 0 2px #000, 0 0 4px #000, 0 0 6px #000, 0 0 8px #000, 0 0 10px #000;
}

h4 {
	display: inline-block;
	margin: 20px 60px;
	font-size: 40px;
	line-height: 60px;
	font-weight: 900;
	font-family: PsaciStroj, Indochine, Arial;
	text-align: center;
	color: #FFF;
	letter-spacing:.2em;
	text-shadow: -1px -1px 1px #888, 1px 1px 1px #888, 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0,0,0,.1), 0 0 5px rgba(0,0,0,.1), 0 1px 3px rgba(0,0,0,.3), 0 3px 5px rgba(0,0,0,.2), 0 5px 10px rgba(0,0,0,.25), 0 10px 10px rgba(0,0,0,.2), 0 20px 20px rgba(0,0,0,.15);
	text-transform: uppercase;
	position: relative;
}

h5 {
	display: inline-block;
	margin: 10px;
	font-size: 20px;
	line-height: 30px;
	font-weight: bold;
	font-family: PsaciStroj, Arial;
	text-align: center;
	color: #000;
	text-transform: uppercase;
	position: relative;
}

@media only screen and (min-width: 1020px) {
	h5 {
	margin: 10px 60px;
	font-size: 30px;
	}
	
	h5::before {
		background-image: url("icons/knoflik-ciry4.png");
		background-size: 40px 40px;
		background-color: #888;
		border-radius: 50%;
		position: absolute;
		top: -5px;
		left: -50px;
		width: 40px; 
		height: 40px;
		content:"";
		margin: 0px;
	}

	h5::after {
		background-image: url("icons/knoflik-khaki4.png");
		background-size: 40px 40px;
		border-radius: 50%;
		background-color: #CCC;
		position: absolute;
		top: -5px;
		right: -50px;
		width: 40px; 
		height: 40px;
		content:"";
		margin: 0px;
	}
}

h6 {
	display: inline-block;
	margin: 10px 10px;
	font-size: 20px;
	line-height: 28px;
	font-weight: normal;
	font-family: PsaciStroj, Indochine, Arial;
	text-align: center;
	color: #220;
	text-shadow: 1px 1px 2px #FFF;
	text-transform: uppercase;
	position: relative;
}

hr {
	height: 10px;
	border: 0;
	box-shadow: 0 10px 10px -10px #8c8b8b inset;
}

/* ----------------------------------------------------------------------	HLAVIČKA	---------------------------------------------------------------------- */



header {
	margin: 0px 0px 20px 0px;
	padding-top: 10px;
	text-align: center;
	display: block;
	position: relative;
	background: #000 url("icons/retro.jpg");
	background-size: 100% 100%;          
	box-shadow: inset 0px 0px 2px 2px rgba(128,128,90,0.5), inset 0px 0px 10px 10px rgba(128,128,90,0.5);
	border-bottom: 1px solid #885;
	border-radius: 0px 0px 5px 5px;
}

nav {
	position: relative;
}

nav ul {
	margin: 50px 10px 10px 10px;
	display: inline-block;
	border-radius: 5px;
	padding: 5px;
	background: transparent;
}

ul.submenu {
	display: block;
	visibility: hidden;
	position: absolute;
	margin: 0px;
	border: 0px;
	padding-top: 10px;
	z-index: 4;
}

nav ul > h2 {
	font-weight: 500;
	color: #FFF;
	font-size: 28px;
	letter-spacing: 5px;
	text-shadow: 0 0 3px #000, 0 0 10px #000;
}

nav ul > li {
	display: inline-block;
	position: relative;
	text-align: center;
	margin: 0px;
	width: 160px;
	height: 90px;
	background: url('icons/frame.png');
	background-repeat: no-repeat;
	background-size: 100% 100%;
	border-radius: 5px;
}

nav ul > li:hover {
	box-shadow:	0px 0px 11px 1px #FFF,
				0px 0px 9px 1px #FFF,
				0px 0px 7px 1px #FFF,
				0px 0px 5px 1px #FFF,
				0px 0px 3px 1px #FFF,
				0px 0px 2px 1px #FFF;
}

nav .nazev {
	position: absolute;
	display: block;
	top: -10px;
	left: 10px;
	font-family: PsaciStroj, Arial;
	font-size: 110%;
	font-weight: bold;
	text-shadow: 0px 0px 1px #FFF, 0px 0px 2px #FFF, 0px 0px 3px #FFF, 0px 0px 4px #FFF, 0px 0px 5px #FFF, 0px 0px 6px #FFF, 0px 0px 7px #000;
	letter-spacing: -1px;
	line-height: 24px;
	color: #000;
	width: 140px;
	height: 24px;
	overflow: hidden;
	z-index: 5;
}

nav img{
	position: absolute;
	display: block;
	top: 0px;
    margin: 8px;
	width: 144px;
	height: 74px;
	z-index: 2;
	border-radius: 5px;
}

/* ----------------------------------------------------------------------	ADMIN SEKCE ---------------------------------------------------------------------- */

#adminbox {
	position: absolute;
	top: 15px;
	left: 15px;
	text-align: center;
	background: rgba(255,255,255,0.3);
	border: 1px solid #FFF;
	padding: 3px;
	box-shadow: inset 0px 0px 1px 0px rgba(0,0,0,0.7), inset 0px 0px 2px 1px rgba(0,0,0,0.5), inset 0px 0px 10px 1px rgba(0,0,0,0.3), 0px 0px 2px rgba(0,0,0,0.7);
}

#adminbox > div {
	margin: 2px auto;
	font-size: 18px;
	color: #000;
	text-shadow: -1px -1px 1px #FFF, 1px 1px 1px #000;
	border: 1px solid transparent;
	border-radius: 5px;
	box-shadow: inset 0px 0px 1px 0px rgba(0,0,0,0.7), inset 0px 0px 2px 1px rgba(0,0,0,0.5), inset 0px 0px 10px 1px rgba(0,0,0,0.3), 0px 0px 2px rgba(0,0,0,0.7);
	text-align: center;
	overflow: hidden;
	cursor: pointer;
}

#ulozit {
	background: #DF9;
	width: 80px;
	height: 30px;
	line-height: 30px;
}
#ulozit:hover {
	border: 1px solid #FFF;
	background: #6A6;
	color: #DF9;
}

#dropbox {
	background: #FFF;
	border: 2px dashed #000;
	width: 200px;
	height: 100px;
	line-height: 100px;
}


/* ----------------------------------------------------------------------	LOGIN SEKCE ---------------------------------------------------------------------- */

#login {
	position: absolute;
	right: 10px;
	top: 10px;
	display: table;
	overflow: hidden;
	width: auto;
	border: 1px solid #FFF;
	border-radius: 5px;
	background: rgba(255,255,255,0.7);
	z-index: 4;
}

@media (max-width: 800px) {
	#login {
		float: none;
		margin: 10px auto;
	}
}

#login div {
	display: table-row;
}	

#login div div {
	display: table-cell;
	text-align: center;
	vertical-align: middle;
	font-size: 16px;
	font-variant: small-caps;
	line-height: 20px;
	font-family: Arial;
	padding: 3px;
	
}

#login input[type='text'], #login input[type='password'] {
    border: 0px;
	border-radius: 2px;
	margin: 2px 0px;
	display: block;
	height: 20px;
	line-height: 12px;
	width: 150px;
	text-align: left;
	font-size: 12px;
}

#login .buttonsmall {
	display: inline-block;
	font-size: 12px;
	font-weight: bold;
	text-shadow: -1px -1px 1px #FFF, 1px 1px 1px #888;
	line-height: 12px;
	white-space: nowrap;
	font-family: Arial;
	margin: 1px 0px 1px 2px;
	width: auto;
    padding: 1px 2px;
    color: #000;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
}

#login .buttonsmall:hover {
    box-shadow: 0px 0px 1px 1px rgba(0,0,0,0.7);
	-webkit-box-shadow: 0px 0px 1px 1px rgba(0,0,0,0.7);
    -moz-box-shadow: 0px 0px 1px 1px rgba(0,0,0,0.7);
	background: rgba(221,255,144,0.5);
}

/* ----------------------------------------------------------------------	REGISTER FORM	---------------------------------------------------------------------- */

#user_form_div {
	display: block;
	box-sizing: border-box;
	position: relative;
	width: 600px;
	font-family: Arial;
	background: #DDD url('icons/bgm.jpg') repeat;
	box-shadow: 0 0 10px 0px #000;
	border: 2px solid #FFF;
	border-radius: 10px;
	margin: 20px auto;
	padding: 20px;
	text-align: center;
	overflow: auto;
}

#user_form_div .formtable {
	display: table;
	box-sizing: border-box;
	position: relative;
	width: 500px;
	color: #FFF;
	padding: 10px;
	margin: 0px 0px 20px 0px;
	background: #DDD;
	background: rgba(32,32,32, 0.5);
	border: 1px solid rgba(255,255,255,0.5);
    border-radius: 10px;
	border-collapse: separate;
	border-spacing: 5px;
	box-shadow: 0 0 3px 0px #000;
	-webkit-box-shadow: 0 0 3px 0px #000;
    -moz-box-shadow: 0 0 3px 0px #000;
}

#user_form_div .formtable > .formrow {
	display: table-row;
}

#user_form_div .formtable > .formrow > div {
	display: table-cell;
	white-space: nowrap;
	text-align: left;
	vertical-align: middle;
}

#user_form_div .formtable > .formrow > div:first-child { 
	font-variant: small-caps;
	padding: 5px;
}

#user_form_div .formtable > .formrow > div:nth-child(2) { 
	width: 100%;
}

.tableheading {
	font-size: 100%;
	color: #000;
	text-align: left;
	margin: 0px 0px 10px 0px;
	padding: 0px;
	text-shadow: 1px 1px 1px #FFF;
}

/* ----------------------------------------------------------------------	HLAVNÍ STR.	---------------------------------------------------------------------- */

#banner {
	display: inline-box;
	border: 3px solid #000;
	border-radius: 5px;
	background: rgba(69,72,28,0.5); 
	margin: 10px 50px 20px 50px;
	text-align: center;
}

#banner h3 {text-align: center;}
#banner #highlight {color: #FF6;}
#banner h5 {color: #000;}

section {
	-moz-column-gap: 20px;
	column-gap: 20px;
	-moz-column-fill: balance;
	column-fill: balance;
}

.col3 {-moz-column-count: 3; column-count: 3;}
.col2 {-moz-column-count: 2; column-count: 2;}
.col1 {-moz-column-count: 1; column-count: 1;}


@media only screen and (max-width: 1200px) {
	section, .col3, .col2  {-moz-column-count: 1; column-count: 1;}
}

article {
	margin-bottom: 40px;
	padding: 0px 0px 5px 0px;
	border-radius: 255px 15px 225px 15px/15px 225px 15px 255px;
	text-align: center;
	position: relative;
	box-sizing: border-box;
	background: hsla(1,0%,90%, 50%);
	border-color: hsl(1,0%,50%);
	border-style: solid;
	border-width: 5px;
	overflow: hidden;
}

article#prispevky {
	background: transparent;
	border: 0px;
}

.height2000 article {
	height: 2000px;
}

.col3 article:after {	
	content: '';
	position: absolute;
	left: 0px;
	right: 0px;
	height: 60px;
	bottom: 0px;
	background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(128,128,128,40) 60%, rgba(128,128,128,1) 100%);
	pointer-events: none;
	z-index: 5;
}

article .article-header {
	padding: 10px;
	background: rgba(128,128,128,0.8) url('icons/texturebgGray.png') repeat;
	border-bottom: 1px solid #888;
	border-radius: 255px 15px 225px 15px/15px 225px 15px 255px;
	margin: 0px;
	overflow: hidden;
}

article#column1 {
	background: hsla(36, 54%, 71%, 50%);
	border-color: hsla(36,60%,40%);
}

article#column2 {
	background: hsla(225, 20%, 80%, 50%);
	border-color: hsla(225,60%,40%);
}

article#column3 {
	background: hsla(71, 20%, 80%, 50%);
	border-color: hsla(100,30%,40%);
}

article#column1 h5 {color: hsla(36,60%,20%);}
article#column2 h5 {color: hsla(225,60%,20%);}
article#column3 h5 {color: hsla(71,60%,20%);}


article#column1 .article-header {
	padding: 10px;
	background: rgba(221,156,68,0.8) url('icons/texturebgBeige.png') repeat;
	border-bottom: 1px solid #A61;
	border-radius: 5px 5px 0px 0px;
	margin: 0px;
}

article#column2 .article-header {
	padding: 10px;
	background: rgba(200,200,255,0.3) url('icons/texturebgBlue.png') repeat;
	border-bottom: 1px solid #77D;
	border-radius: 5px 5px 0px 0px;
	margin: 0px;
}

article#column3 .article-header {
	padding: 10px;
	background: rgba(128,128,0,0.15) url('icons/texturebgGreen.png') repeat;
	border-bottom: 1px solid #880;
	border-radius: 5px 5px 0px 0px;
	margin: 0px;
}

article .article-content {
	margin: 10px;
}

article p {
	text-align: justify;
	margin: 20px 0px;
	font-family: Verdana, Geneva, Arial Black;
	color: #000;
}

article .article-footer {
	position: absolute;
	bottom: 10px;
	right: 10px;
	font-family: Verdana, Geneva, Arial Black;
	color: #000;
	z-index: 100;
}

.nadpissekce {
	padding: 0px;
	margin: 0px;
	border-bottom: 1px solid #666;
	border-top: 1px solid #666;
}

p.email{
	display: inline-flex;
	text-align: center;
	line-height: 50px;
	height: 50px;
	white-space: pre;
	margin: 20px;
	font-weight: bold;
}

p.email img {
	height: 50px;
	margin-right: 10px;	
}

#count {
	padding: 0px 5px;
	font-size: 150%;
	color: #FFF;
	text-shadow: 1px 1px 1px #000;
    border-radius: 5px;
    box-shadow:
        inset 0 0 2px #555,
        inset 5px 0 13px #505,
        inset -5px 0 13px #055,
        inset 5px 0 50px #505,
        inset -5px 0 50px #055,
        0 0 10px #000,
        -2px 0 13px #505,
        2px 0 13px #055;
}

/* ----------------------------------------------------------------------	KOŠILE	---------------------------------------------------------------------- */

.kosile {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 20px 0px;
	position: relative;
	padding: 10px;
	clear: both;
}

.kosile > div {
	position: relative;
}

.kosile::after {
  content: "";
  flex: auto;
}

.chapterinfo {
	font-size: 120%;
	color: #005;
	font-weight: bold;
	text-shadow: 1px 1px 1px #FFF;
}

/* ----------------------------------------------------------------------	GALERIE	- THUMBNAILY FLEXI ---------------------------------------------------------------------- */

figure.flexi {
	position: relative;
	display: inline-box;
	margin: 10px;
	border: 2px solid transparent;
    background: #888;
	cursor: pointer;
	box-shadow: 0px 0px 5px 2px #000;
	z-index: 1;
	border-radius: 5px;
	float: left;
}

figure .future {
	position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
	box-shadow: inset 0 0 25px 5px yellow,
				0px 0px 5px 5px yellow;
}

figure.flexi:hover {
	border: 2px solid #FFF;
}


figure.flexi > img {
	position: relative;
	display: block;
	height: 200px;
	background: url("icons/img_bg.png");
	background-repeat: no-repeat;
	background-size: 100px 150px;
	background-position: center; 
}

figure.flexi-bg {
	background-color: transparent;
	background-image: url("icons/bg-flex-datum.jpg");
}

figure.kosile-datum {
	position: relative;
	display: table-cell;
	height: 60px;
	width: 100px;
	margin: 70px 35px;
	border: 2px solid transparent;
	border-radius: 10px;
	z-index: 1;
	float: left;
	font-size: 30px;
	line-height: 30px;
	font-family: PsaciStroj;
	color: #FFF;
	background: #000;
	overflow: hidden;
}

figure.kosile-info {
	position: relative;
	display: table;
	height: 90px;
	width: 150px;
	margin: 55px 10px;
	border-radius: 10px;
	z-index: 1;
	float: left;
	font-size: 24px;
	line-height: 30px;
	font-family: PsaciStroj;
	color: #FFF;
	background: #000;
	overflow: hidden;
}

figure.kosile-info > div {
	position: relative;
	display: table-cell;
	vertical-align: middle;
}

figure.flexi figcaption {
	position: absolute;
	top: -14px;
	left: -14px;
	background: radial-gradient(ellipse farthest-corner at right bottom, #FEDB37 0%, #FDB931 8%, #9f7928 30%, #8A6E2F 40%, transparent 80%),
                radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #FFFFAC 8%, #D1B464 25%, #5d4a1f 62.5%, #5d4a1f 100%);
	
	font-size: 12px;
	line-height: 28px;
	width: 30px;
	height: 30px;
	color: #FFF;
	font-weight: bold;
	text-align: center;
	z-index: 2;
	border-radius: 50%;
	box-shadow: 0px 0px 3px #000;
	text-shadow: 1px 1px 1px #000;
	transition: all 0.1s;
}

figure.flexi:hover figcaption {
	top: -16px;
	left: -16px;
	width: 34px;
	height: 34px;
	font-size: 14px;
	line-height: 32px;
}

figure.flexi:hover img {
	filter: contrast(1.5);
}

figure.flexi .polepriznaku {
	position: absolute;
	top: -14px;
	right: 0px;
	font-size: 12px;
	height: 29px;
	color: #FFF;
	text-align: right;
	z-index: 2;
}

.priznak {
	position: relative;
	padding: 3px 1px;
	font-size: 100%;
	border: 1px solid #888;
	color: #000;
	cursor: pointer;
	background: #FFF;
}

.priznak:hover {
	background: #000;
	color: #FFF;
	font-weight: bold;
}

.priznak:before {								/* Vysvětlivka */
	content: attr(data-text); 
	position:absolute;
	top: -30px;
	left: -15px;
	width: auto;
	font-size: 14px;
	white-space: nowrap;
	padding: 3px;
	border-radius: 3px;
	background: #FFF;
	color: #000;
	border: 1px solid #000;
	box-shadow: 0px 0px 10px #000;
	display: none;
	z-index: 1000;
}

.priznak:hover:before {
	display:block;
}

.priznakX {
	position: relative;
	padding: 3px;
	font-size: 100%;
	border: 1px solid #888;
	color: #000;
	cursor: pointer;
	background: #FAA;
	z-index: 1000;
}

.on {background: #262; color: #FFF;}
.off  {background: #FFF; color: #000;}

.znacka, .velikost {
	position: absolute;
	bottom: 5px;
	font-size: 12px;
	font-family: PsaciStroj;
	font-weight: bold;
	color: #FFF;
	text-shadow: 1px 1px 1px #000, 0px 0px 2px #000, 0px 0px 3px #000;
	z-index: 3;
}

.znacka {right: 5px;}
.velikost {left: 5px;}

.datum {
	position: absolute;
	top: 5px;
	left: 5px;
	font-size: 12px;
	text-align: right;
	font-family: PsaciStroj;	
	padding: 1px;
	color: #000;
	z-index: 3;
	border-radius: 3px;
	background: rgba(255,255,255,0.5);
}

.unfinished {
	position: absolute;
	bottom: 25px;
	right: 5px;
	z-index: 2;
}

/* ----------------------------------------------------------------------	ZOBRAZENÍ GALERIE V OKNĚ	---------------------------------------------------------------------- */

#popup {
	box-sizing: border-box;
	position: absolute;
	color: Black;
	background-color: #111;
	font-family: "Arial";
	text-align: center;
	vertical-align: middle;
	top: 0px;
	left: 0px;
	width: fit-content;
	display: none;
	z-index: 20;
	box-shadow: 0px 0px 20px 0px #000;
	border: 2px solid #FFF;
	border-radius: 5px;
}

#popup > div {
	position: relative;
}

#popup img {
	display: block;
	margin: 0px;
	padding: 0px;
}

#popup #image_panel {
	width: auto;
	height: auto;
	top: 10px;
	left: 35%;
	border: 0px;
	position: absolute;
	padding: 5px;
	background: rgba(0,0,0,0.25); 
}

#popup #image_panel img {
	float: left;
	display: inline-block;
	margin: 0px;
	border: 2px solid transparent;
	padding: 0px;
	background: transparent;
}

#popup #image_panel img:hover {
	border: 2px solid Black;
	background: #333;
}

#processing {
	border: 0px;
	padding: 0px;
	position: absolute;
	top: 50%;
	left: 50%;
	width: auto;
	height: auto;
	display: none;
	z-index: 100;
}
	
#full {
	display: table;
	width: auto;
	height: auto;
	bottom: 10px;
	right: 10px;
	padding: 5px;
	border: 1px solid transparent;
	position: absolute;
	color: White;
	text-align: center;
	background: rgba(0,0,0,0.5); 
}

#full:hover {
	background: Black;
	border: 1px solid White;
}

#full img {
	display: table-cell;
	padding: 0px;
	float: left;
	border: 0px;
	width: auto;
	height: auto;
	margin-right: 5px;
}

#imgSize {
	color: Yellow;
	font-weight: bold;
}

#image_info {
	width: auto;
	height: auto;
	bottom: 10px;
	left: 10px;
	padding: 5px;
	border: 1px solid transparent;
	position: absolute;
	color: #FFF;
	text-align: center;
	background: rgba(0,0,0,0.5); 
}

#admininfo {
	overflow-y: auto;
}

#gray {
	position:fixed;
    display:none; 
    background-color: rgba(0, 0, 0, 0.7);
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
	z-index: 19;
}

/* ----------------------------------------------------------------------	HLÁŠKY - OK & CHYBY	---------------------------------------------------------------------- */

.error-box, .ok-box {
	position: fixed;
	left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
	padding: 10px;
	font-size: 16px;
	text-align: center;
	width: 500px;
	height: auto;
	font-family: Arial;
	background: rgba(0,0,0,0.8); 
	border-radius: 4px;
	box-shadow: inset 0 1px rgba(255, 255, 255, 0.3), inset 0 0 1px 1px rgba(255, 255, 255, 0.1), 0 2px 10px #000, 0px 0px 25px 25px rgba(0,0,0,0.75);
	z-index: 30;
}

.error-box {
	border: 2px solid #F55;
	background-image: -webkit-radial-gradient(cover, #600, #300);
	background-image: -moz-radial-gradient(cover, #600, #300);
	background-image: -o-radial-gradient(cover, #600, #300);
	background-image: radial-gradient(cover, #600, #300);
	color: #FCC;
}

.ok-box {
	border: 2px solid #5F5;
	background-image: -webkit-radial-gradient(cover, #060, #030);
	background-image: -moz-radial-gradient(cover, #060, #030);
	background-image: -o-radial-gradient(cover, #060, #030);
	background-image: radial-gradient(cover, #060, #030);
	color: #CFC;
}

.error-box h1, .ok-box h1 {
	margin: 0px 0px 10px 0px;
	font-size: 18px;
	color: #FFF;
	text-align: center;
	text-shadow: 0 -1px rgba(0, 0, 0, 0.4);
}

#dialog-error, #dialog-success, #dialog-info {
	padding: 50px;
	position: absolute;
	font-size: 16px;
	text-align: center;
	top: 0px;
	left: 0px;
	width: 500px;
	height: auto;
	display: none;
	z-index: 30;
	font-family: Arial;
	background: rgba(0,0,0,0.8); 
	border-radius: 4px;
	box-shadow: inset 0 1px rgba(255, 255, 255, 0.3), inset 0 0 1px 1px rgba(255, 255, 255, 0.1), 0 2px 10px #000, 0px 0px 25px 25px rgba(0,0,0,0.75);
}

#dialog-error {
	border: 2px solid #F55;
	background-image: -webkit-radial-gradient(cover, #600, #300);
	background-image: -moz-radial-gradient(cover, #600, #300);
	background-image: -o-radial-gradient(cover, #600, #300);
	background-image: radial-gradient(cover, #600, #300);
	color: #FCC;
}

#dialog-success {
	border: 2px solid #5F5;
	background-image: -webkit-radial-gradient(cover, #060, #030);
	background-image: -moz-radial-gradient(cover, #060, #030);
	background-image: -o-radial-gradient(cover, #060, #030);
	background-image: radial-gradient(cover, #060, #030);
	color: #CFC;
}

#dialog-info {
	border: 2px solid #DDD;
	background-image: -webkit-radial-gradient(cover, #FFF, #999);
	background-image: -moz-radial-gradient(cover, #FFF, #999);
	background-image: -o-radial-gradient(cover, #FFF, #999);
	background-image: radial-gradient(cover, #FFF, #999);
	color: #000;
}

#dialog-error-title, #dialog-success-title, #dialog-info-title {
	display: inline-block;
	position: relative;
	letter-spacing: 2px;
	margin: 0px 0px 10px 0px;
	font-family: PsaciStroj, Arial;
	font-size: 160%;
	color: #FFF;
	text-align: center;
	text-shadow: 0 -1px rgba(0, 0, 0, 0.4);
}

#dialog-info-title {
	color: #000;
	text-shadow: 0 -1px rgba(255, 255, 255, 0.4);
}

#dialog-info-buttons {
	display: inline-block;
	margin: 10px auto;
}

#button-yes, #button-no {
	display: inline-block;
	color: #000;
	margin: 0px 20px;
	padding: 10px 30px; 
	width: auto;
	border: 1px solid #000;
    background: #DDD;
    border-radius: 3px;
	box-shadow: 0px 0px 3px #000;
	cursor: pointer;
}

#button-yes {
	background: #FCC;
}

#button-no {
	background: #CCF;
}

#button-yes:hover {
    border: 1px solid #FCC;
	color: #FCC;
	background: #800;
}

#button-no:hover {
    border: 1px solid #CCF;
	color: #CCF;
	background: #008;
}

img.zavri {
	height: 40px;
	width: 40px;
	padding: 4px;
	position: absolute;
	top: -24px;
	right: -24px;
	background: transparent;
	z-index: 31;
}

img.zavri:hover {
	height: 48px;
	width: 48px;
	padding: 0px;
}

/* ----------------------------------------------------------------------	SMAZAT IMG	---------------------------------------------------------------------- */

img.smazat {
	float: right;
	height: 20px;
	width: 20px;
	box-shadow: 1px 1px 10px 1px #000;
}

img.smazat:hover {
	box-shadow: 0px 0px 3px 3px #F00;
}

/* ----------------------------------------------------------------------	ADMIN	---------------------------------------------------------------------- */

.znacky {
	display: block;
	text-align: center;
	padding: 5px 5px;
	background: rgba(0,0,0,0.25);
	border-radius: 5px;
}

.znacky-znacka {
	display: inline-block;
	font-family: "Arial Narrow";
	font-weight: bold;
	text-transform: uppercase;
	padding: 0px 10px;
	background: #FFF;
	cursor: pointer;
	border: 1px solid #AAA;
	border-radius: 5px;
}

.znacky-znacka:hover {
	background: #000;
	color: #FFF;
}

.tablesimple {
	height: auto;
	display: table;
	width: auto; 
	background: #FFF;
	margin: 10px;
	border: 1px solid #FFF;
	border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
	box-shadow: 0 0 3px 0px #000;
	-webkit-box-shadow: 0 0 3px 0px #000;
    -moz-box-shadow: 0 0 3px 0px #000;
	border-collapse: separate; border-spacing: 1px;
}

.tablesimple > div {
	display: table-row;
	border-radius: 3px;
}

.tablesimple > div > div {
	display: table-cell;
	padding: 2px 5px;
	min-height: 25px;
	color: #000;
	font-family:"Arial Narrow", "Helvetica Narrow";
	font-size: 14px;
	vertical-align: middle;
	background: #CDC;
	border-bottom: 1px solid rgba(0,0,0,0.3);
}

.tablesimple >	div > 							div:nth-child(n+2)	  {border-left: 1px solid #ABA;}
.tablesimple >	div:first-child > 				div					  {background: #000; color: #FFF; font-size: 16px; padding: 5px;}
.tablesimple >	div:not(:first-child) > 		div:first-child  	  {background: #453; color: #FFF;	text-align: center;}
.tablesimple >	div:not(:first-child) > 		div:first-child > *   {color: #CFC;}
.tablesimple >	div:not(:first-child):hover >   div:not(:first-child) {background: #FC0;}
.tablesimple >	div:not(:first-child):hover >   div:first-child 	  {background: #750;}
.tablesimple >	div:first-child > 				div:first-child 	  {text-align: center;}

.tablesimple >	div.nezobrazeno > 				div 				  {background: #F66;}

.tablesimple >	div > 							div.deleteX 		  {cursor: pointer;	background: #FCC; }
.tablesimple >	div > 							div.deleteX:hover 	  {background: #800; color: #FFF;}

.tablesimple >	div > 							div.refreshX 		  {cursor: pointer; background: #CCF;}
.tablesimple >	div > 							div.refreshX:hover 	  {background: #008; color: #FFF;}

.tablesimple >	div.clicked > 					div 				  {background: #FC7 !important;}
.tablesimple >	div.clicked > 					div:first-child 	  {background: #F62 !important;}


.divscroll {
	max-height: 100px;
    overflow-y: scroll;
}

table.subtab {border-collapse: collapse; background: transparent;}
table.subtab td {text-align: left; vertical-align: top;	padding: 0px 5px;}
table.subtab > tr:not(:last-child) > td {border-bottom: 1px dashed rgba(0,0,0,0.1);	padding-bottom: 5px;}

#adminpole {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}

#obr {
	flex: initial;
	width: 600px;
	height: 800px;
	padding: 10px;
	position: relative;
}

#obr  img {
	box-shadow: 0px 0px 20px 0px #000, 0px 0px 50px #000;
	border-radius: 5px;
}

#popis {
	position: absolute;
	top: 15px;
	left: 15px;
	background: rgba(0,0,0,0.6);
	color: #FFF;
	padding: 5px;
	border: rgba(0,0,0,0.8);
	border-radius: 2px;
}

#tabulka {
	max-height: 780px;
	padding: 10px;
	border: 1px solid rgba(0,0,0,0.3);
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	overflow-y: scroll;
	background: rgba(0,0,0,0.5);
	position: relative;
}

#filtr_box {
	display: block;
	overflow: auto;
	background: rgba(0,0,0,0.2);
	border-top: 1px solid rgba(0,0,0,0.4);
	border-bottom: 1px solid rgba(0,0,0,0.8);
	border-radius: 5px;
	padding: 5px;
	margin: 10px;
}

.filtr_pole {
	display: inline-block;
	float: right;
	margin: 10px;
	border: 1px solid #000;
	border-radius: 3px;
	padding: 3px 5px;
	font-variant: small-caps;
	cursor: pointer;
}

.filtr_pole:hover {
	box-shadow: 0px 0px 5px 2px #000;
}

.filtr_nadpis {
	display: inline-block;
	float: right;
	font-size: 120%;
	font-weight: bold;
	margin: 10px;
	padding: 3px 5px;
	font-variant: small-caps;
}

#seradit_pole {
	display: inline-block;
	float: left;
	margin: 10px;
	border: 1px solid #000;
	border-radius: 3px;
	padding: 3px 5px;
	font-variant: small-caps;
	cursor: pointer;
}

#seradit_pole:hover {
	box-shadow: 0px 0px 5px 2px #000;
}

.seradit_nadpis {
	display: inline-block;
	float: left;
	font-size: 120%;
	font-weight: bold;
	margin: 10px;
	padding: 3px 5px;
	font-variant: small-caps;
}

select {
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	appearance: none;
	outline: 0;
	box-shadow: none;
	border: 0 !important;
	background: #607;
	background-image: none;
	flex: 1;
	padding: 0 10px;
	color: #FFF;
	cursor: pointer;
	font-size: 16px;
	font-family: inherit;
}

select::-ms-expand {
	/* Remove IE arrow */
	display: none;
}

.select {
	position: relative;
	display: inline-flex;
	width: 150px;
	height: 50px;
	line-height: 50px;
	background: #551;
	overflow: hidden;
	border-radius: 2px;
	margin: 20px 10px;
	border: 1px solid #FFF;
	box-shadow: 0px 0px 3px #000;
}

.select:hover {
	box-shadow: 0px 0px 1px #000, 0px 0px 3px #000, 0px 0px 5px #000, 0px 0px 8px #000;
}


.select::after {
	/* Arrow */
	content: '\25BC';
	position: absolute;
	top: 0;
	right: 0;
	padding: 0 15px;
	background: #90A;
	cursor: pointer;
	pointer-events: none;
	-webkit-transition: .25s all ease;
	-o-transition: .25s all ease;
	transition: .25s all ease;
}

.select:hover::after {
	/* Transition */
	color: #E91;
}

select option {
	font-size: 14px;
}

select option:nth-child(odd) {
	background: #405;
}

select option:nth-child(even) {
	background: #506;
}

.admin_button {
	position: relative;
	display: inline-table;
	width: auto;
	height: 40px;
	background: #341;
	overflow: hidden;
	border-radius: 2px;
	margin: 20px 10px;
	border: 1px solid #FFF;
	box-shadow: 0px 0px 3px #000;
	padding: 5px 10px;
	color: #FFF;
	cursor: pointer;
	font-size: 16px;
	text-align: center;
	vertical-align: middle;
}

.admin_button:hover {
	border: 1px solid #FFA;
	box-shadow: 0px 0px 1px #000, 0px 0px 3px #000, 0px 0px 5px #000, 0px 0px 8px #000;
}

.admin_button .button_text {
	display: table-cell;
	vertical-align: middle;
	margin-right: 10px;
}

.admin_button img {
	display: table-cell;
	vertical-align: middle;
	margin: 5px;
	height: 30px;
}

.admin_button_red 	{background: #711;}
.admin_button_blue 	{background: #117;}
.admin_button_orange{background: #C61;}
.admin_button_green {background: #171;}

#selectPodtypy {
	display: none;
	position: absolute;
	z-index: 20; 
	margin: 2px 5px;
	max-height: 30px;
	line-height: 30px;
}

/* ------------------------------------------------------------------	ADMIN - ULOŽIŠTĚ ----------------------------------------------------------------- */

#uloziste {
	display: block;
	position: relative;
	min-height: 150px;
	background: rgba(0,0,0,0.5);
	border: 1px solid #000;
	margin: 10px 0px;
}

#uloziste #adminbox {
	position: relative;
	float: right;
	top: 5px;
	margin-right: 20px;
}

#uloziste #adminbox #dropbox {
	width: 100px;
	height: 50px;
	line-height: 25px;
}

#tab {
	display: table;
	height: auto;
	width: auto; 
	margin: 5px;
	border-collapse: separate;
	border-spacing: 2px;
}

#tab > div {
	display: table-row;
}

#tab > div > div {
	display: table-cell;
	padding: 1px 3px;
	color: #FFF;
	vertical-align: top;
	text-align: left;
	min-height: 200px;
}

#uloziste img {
	border: 2px solid transparent;
	border-radius: 5px;
	box-shadow: 0px 0px 5px 2px #000;
	background: #888;
	cursor: pointer;
}

.panel {
	float: left;
	min-height: 24px;
	clear: both;
	margin-right: 5px;
	margin-bottom: 2px;
}

.panel .vyber {
	display: inline-block;
	position: relative;
	font-family: Arial Narrow;
	font-size: 16px;
	color: #FFF;
	border: 1px solid #FFF;
	border-radius: 2px;
	padding: 1px 2px;
	margin: 1px;
	min-width: 20px;
	min-height: 18px;
	text-align: center;
	vertical-align: bottom;													/* pokud je pole prázné je automaticky změněno na top*/
	background: #55F;
	text-shadow: 1px 1px 1px #000;
}

.panel .legenda {
	display: inline-block;
	position: relative;
	font-family: Arial Narrow;
	font-size: 16px;
	color: #000;
	border: 1px solid #FFF;
	border-radius: 2px;
	padding: 1px 2px;
	margin: 1px;
	min-height: 18px;
	text-align: center;
	background: #FFF;
	text-shadow: 1px 1px 1px #999;
	width: 100px;
}

.panel .pole {
	display: inline-block;
	float: left;
	position: relative;
	font-family: Arial Narrow;
	font-size: 16px;
	color: #FFF;
	border: 1px solid #FFF;
	border-radius: 2px;
	padding: 1px 2px;
	margin: 1px;
	min-width: 20px;
	min-height: 18px;
	text-align: center;
	background: #555;
	text-shadow: 1px 1px 1px #000;
}

.panel .pole:hover {
	background: #A00;
	cursor: pointer;
}

.panel[data-atr='priznaky'] .pole:before {													/* Vysvětlivka */
	content: attr(data-text); 
	position: absolute;
	top: -30px;
	left: -15px;
	width: auto;
	font-size: 16px;
	white-space: nowrap;
	padding: 3px;
	border-radius: 3px;
	background: #FFF;
	color: #000;
	border: 1px solid #000;
	box-shadow: 0px 0px 10px #000;
	display: none;
	z-index: 1000;
}

.panel[data-atr='priznaky'] .pole:hover:before {
	display: block;
}

.highlight-on {
	background: #070 !important;
}

.select#sel_move_uloziste {
	margin: 2px;
	height: 60px;
	width: 120px;
	line-height: 56px;
}

.select#sel_move_uloziste::after {
	height: 60px;
	width: 10px;
}

.select#sel_podtypy_karta {
	margin: 0px;
	height: 20px;
	width: 200px;
	line-height: 16px;
	font-size: 12px;
}

.select#sel_podtypy_karta::after {
	height: 20px;
	width: 10px;
}

.select#sel_podtypy_karta select {
	font-size: 12px;
}

/* ------------------------------------------------------------------	ADMIN - BOXY ----------------------------------------------------------------- */

#cont {
	display: flex;
	width: 100%;
	margin-top: 20px;
}

#prehled {
	max-height: 780px;
	width: 210px;
	padding: 10px;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	border-right: 10px solid transparent;
	overflow-y: auto;
	position: relative;
}

#obsahboxu {
	max-height: 780px;
	padding: 10px;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	border-radius: 10px;
	width: fit-content;
	overflow-y: auto;
	background: rgba(0,0,0,0.2);
	position: relative;
}
