body {
	margin: 0;
	background-color: #EEE;
	-background-image: url('../template/subtle_freckles.png');
	-background-image: url('../template/bgnoise_lg.png');
	font-family: sans-serif;
	font-size: 14px;
}

input, select, textarea {
	color: #000;
	font-family: sans-serif;
	font-size: 12px;
}

table {border: 0;border-collapse: collapse;width:100%;font-size:13px;}
a {color: #26A;}
a:hover {color: #DD0000;}
a img {border:none}
.seznam td {
    line-height: 13px;
    padding: 2px 5px;
}
td  {border:1px solid #AAA;}
.info td {
	border-bottom-color: #000;
}
#page {width:800px;margin:auto;}
th {
	background-color: black;
	color: white;
	font-size: 8pt;
	text-align: left;
	padding: 3px 5px 1px;
	line-height: 14px;
	border: 0;
}
th:first-child {
	border-top-left-radius: 5px;
}
th:last-child {
	border-top-right-radius: 5px;
}
td {padding:1px 5px;}
.zdroj {font-style: italic;text-align: right;}
.text {
	border-top: 1px solid #DDD;
	border-radius: 5px;
	background-color: #FFF;
	margin: 18px 0;
	padding: 7px 10px;
}
.text p:first-child {
	margin-top: 0;
}
.text p:last-child {
	margin-bottom: 0;
}
.text2 {
	border-radius: 5px;
	background-color: #FFF;
}
.chyba {
	padding-left: 32px;
	background-color: #FFD3BF;
	border-top-color: #FF8A66;
	background-image: url('./exclamation-red.png');
	background-repeat: no-repeat;
	background-position: 10px 8px;
}
.text img,.text2 img {margin-right:5px}
.blok {margin:4px;}
.clear {clear:both}
.nabidka {margin:16px 20px;line-height: 32px;}
.nabidka img {margin-right:10px;vertical-align: middle;}
.dimg {float:left;margin-right:12px;margin-bottom:8px;}

#login {
	padding: 10px 10px 9px;
	border-radius: 5px;
	border-bottom: 1px solid #AF7;
	background-color: #CFA;
	text-align: center;
}
#login label {
	padding-right: 5px;
}
#login p {
	display: inline;
	margin: 0;
	padding-left: 5px;
	font-size: 12px;
}

form .text {
	overflow: hidden;
}
form .text label {
	clear: both;
	float: left;
	width: 150px;
}

#logo {
    position: relative;
}
h1 {
	margin: 0;
}
h1 a {
	display: block;
	line-height: 50px;
	padding: 43px 20px 7px;
	padding-left: 163px;
	background: #111 url('./top-shit.jpg') no-repeat;
	color: #EEE !important;
	font-size: 24px;
	font-weight: normal;
	text-align: right;
	text-decoration: none !important;
}
#logo h2 {
    position: absolute;
    top: 20px;
    right: 20px;
    margin: 0;
    padding: 0;
    color: #EEE;
    font-size: 18px;
    font-weight: normal;
    text-align: right;
}
h1 strong {
	font-weight: normal;
}

h2 {
	margin: 30px 0 10px;
	font-size: 20px;
	text-align: center;
}
.text h2 {
	border-top: 10px solid #EEE;
	margin: 0 -10px 10px;
	padding-top: 20px;
}

h3 {
	margin: 0 -10px 10px;
	padding: 4px 10px 3px;
	border-bottom: 1px dashed #DDD;
}

#map-browser {
	width: 800px;
	height: 500px;
}


/* menu */
.menu {
	padding: 10px;
	padding-right:8px;
	background-color: #CCC;
	background-image: -webkit-linear-gradient(top, #CCC, #C5C5C5);
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	border-bottom: 1px solid #BBB;
	color: #000;
	font-size: 13px;
	text-align: center;
}
.menu a {
	color: #000;
	text-decoration: none;
}
.menu a:hover {
	color: #D00;
}

/* search */
#search {
	margin: 10px 0;
	background: #DDD;
	border-radius: 5px;
	color: #000;
	font-size: 12px;
	line-height: 2;
}
#search button {
	line-height: 13px; 
}
.group {
	padding: 10px;
	width: 140px;
	min-height: 145px;
	display: inline-block;
	vertical-align: top;
	border-left: 1px dashed #AAA;
}
.group:first-child {
	border-left: 0;
}
#search .typ {
	width: 90px;
}
#search .druh {
	width: 170px;
	line-height: 16px;
	color: #000;
	font-size: 11px;
	white-space: nowrap;
}
#search .druh .checklist {
	display: inline-block;
	width: 90px;
	min-height: 120px;
	vertical-align: top;
}
#search .druh .checklist:last-child {
	width: 70px;
	color: #26A;
}
.checklist label {
	display: block;
}
.checklist input {
	position: relative;
	top: 1px;
}
#search .druh input {
    top: 2px;
    margin-top: 0;
    margin-bottom: 0;
}
#search .typ input[value="n"] + span,
#search .typ input[value="k"] + span {
	color: #26A;
}

#search small {
	display: block;
	padding-left: 19px;
	padding-bottom: 15px;
	color: #888;
	line-height: 1.4;
}

#search input[name="lokalita"],
#search input[name="query"],
#search input[name="obec"],
#search input[name="kod_cz"],
#search input[name="object_id"] {
	background-repeat: no-repeat;
	background-position: 3px 2px;
}
#search input[name="lokalita"]:focus,
#search input[name="lokalita"].has-value,
#search input[name="query"]:focus,
#search input[name="query"].has-value,
#search input[name="obec"]:focus,
#search input[name="obec"].has-value,
#search input[name="kod_cz"]:focus,
#search input[name="kod_cz"].has-value,
#search input[name="object_id"]:focus,
#search input[name="object_id"].has-value {
	background-image: none;
}
#search input[name="lokalita"] {
	background-image: url('./input-lokalita.png');
}
#search input[name="query"] {
	background-image: url('./input-obecne-vyrazy.png');
}
#search input[name="obec"] {
	background-image: url('./input-obec.png');
}
#search input[name="kod_cz"] {
	background-image: url('./input-kodcz.png');
}
#search input[name="object_id"] {
	background-image: url('./input-idmv.png');
}

input::-webkit-input-placeholder {
	color: #888;
}
.group input[type="text"],
.group select {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	width: 140px;
	height: 20px;
	margin: 0;
}
.druh select {
	width: 174px;
	height: 118px;
}
.ids {
	text-align: right;
}
.ids input[type="text"] {
	width: 100px;
	text-align: right;
}
.ids input[type="text"]::-webkit-input-placeholder {
	color: red;
}

#search .menu {
	padding-top: 4px;
	padding-bottom: 4px;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}
#search button {
	width: 140px;
	height: 22px;
	font-size: 12px;
	font-weight: bold;
}

.BUTTON {
	cursor: pointer;
	font-family: sans-serif;
	font-size: 11px;
}
.c1,
.tbCel1 td {
	background-color: #EEFFCC;
}
.c0,
.tbCel2 td {
    background-color: #FAFFF5;
}
#vysledek {float:left; margin-top:0px;}
#vysledek h4, #vysledek h5{margin:3px}
#vysledek img { display: block; margin: 0 auto; }

#posledni {margin-left:205px;}
.mininavi {font-size:0.8em;text-align: center;margin:4px}
.center {text-align:center}
.null {clear:both}

td.foto {
	width: 50px;
	padding: 0;
}
td.foto img {
	display: block;
}

#obsah {
	line-height: 20px;
	font-size: 13px;
}

#results tr.zazn:hover td {
	background-color: #FFA;
}

.content {
	float: left;
	width: 530px;
}
.content p {
	margin: 10px;
}

.title {
	position: relative;
	overflow: hidden;
	margin: 10px 0;
	padding: 5px 10px 2px;
	line-height: 20px;
	background-color: #FFF;
	color: #444;
	font-size: 16px;
	font-weight: bold;
}
.title strong {
	color: #000;
}
.code,
.title code {
	float: left;
	height: 100%;
	margin-right: 5px;
	color: #888;
	font-family: sans-serif;
	font-weight: normal;
}
.code,
.title strong code {
	padding: 2px 3px 1px;
	color: #FFF;
	background-color: #333;
}
.sidebar .title code {
	padding-bottom: 1px;
}

.subtitle {
	background-color: #FFF;
}

.sidebar {
	float: left;
	width: 250px;
	margin-right: 10px;
	font-size: 13px;
}

.sidebar dt {
	padding-left: 10px;
}

.images {
	padding: 5px 0 5px 5px;
	overflow: hidden;
	border-top: 1px solid #DDD;
	border-radius: 5px;
	background-color: #FFF;
}
.images ul {
	margin: 0;
	padding: 0;
	list-style: none;
	overflow: hidden;
}
.images li {
	float: left;
	margin: 0 3px 3px 0;
	padding: 0;	
	width: 78px;
}
.images li img {
	display: block;
	width: 78px;
}
.images li:first-child,
.images li:first-child img {
	width: 240px;
}
.images li:first-child {
	margin-bottom: 5px;
}
.images .plain li:first-child,
.images .plain li:first-child img {
	width: 78px;
}
.images .plain li:first-child {
    margin-bottom: 3px;
}

dl {
	overflow: hidden;
    line-height: 12px;
    margin: 10px;
}
.sidebar dl {
    margin: 10px 0;
}
dt {
	clear: left;
	float: left;
    width: 150px;
    padding-top: 4px;
    padding-bottom: 4px;
    border-top: 1px solid #DDD;
}
dd {
	float: left;
	width: 350px;
	margin: 0;
    padding-top: 4px;
    padding-bottom: 4px;
    border-top: 1px solid #DDD;    
}
.sidebar dt {
	width: 90px;
}
.sidebar dd {
    width: 150px;
}

.sidebar dl.subtitle {
    line-height: inherit;
}
.sidebar dl.subtitle dt,
.sidebar dl.subtitle dd {
    padding-top: 0;
    padding-bottom: 0;
    border-top: none
}


table .photos {
	padding: 3px 0 0 3px;
}
table .photos ul {
	overflow: hidden;
	margin: 0;
	padding: 0;
	list-style: none;
}
table .photos li {
	float: left;
	margin: 0 3px 3px 0;
}
table .photos img {
	display: block;
}


#add-photo-link {
    display: block;
    margin-top: 5px;
    margin-right: 5px;
    padding: 5px 10px;
    border: 1px solid #DDD;
    border-radius: 4px;
}
#add-photo-form {
    margin-right: 5px;
    background-color: #EEE;
}
#add-photo-form input[type="file"] {
    width: 220px;
}
#add-photo-form img {
    display: block;
    width: 100%;
}
#add-photo-form div {
    padding: 5px 10px;
    border-bottom: 1px solid #CCC;
}
#add-photo-form span {
    float: left;
    width: 90px;
}

#footer {
	margin-top: 20px;
	padding: 8px 10px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	background-color: #000;
	color: #DDD;
	font-size: 12px;
}
#footer img {
	margin: -8px -10px 8px;
}
#footer a {
	color:white;
}
#footer p {
	margin: 0;
}

#map-browser.object {
	width: 100%;
	height: 320px;
	margin: 20px 0;
}


.pagination p {
	margin: 0;
}


table .more {
    white-space: nowrap;
}
table .more img {
	vertical-align: middle;
	cursor: pointer;
}

#expand-photos {
	float: left;
	width: 26px;
	height: 16px;
	background-image: url('./expand-photos.png');
	background-position: right top;
}
#expand-photos.active {
	background-position: right bottom;
}

a.photo-add {
	padding-left: 22px;
	background: url('./image--plus.png') no-repeat left center;
}
a.edit {
	padding-left: 22px;
	background: url('./document--pencil.png') no-repeat left center;
}


.image-browser {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	font-family: sans-serif;
}
.image-browser .cover {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #000;
	opacity: 0.6;
}
.image-browser .stage {
	position: relative;
	width: 0;
	min-width: 300px;
	margin: 20px auto;
	padding: 5px;
	border-top: 1px solid #222;
	border-radius: 5px;
	background-color: #000;
	box-shadow: rgba(0, 0, 0, 0.6) 0 1px 5px;
}
.image-browser .stage img {
	display: block;
	margin: 0 auto;
	border-bottom: 1px solid #222;
}
.image-browser .info {
	display: block;
	position: relative;
	padding: 10px 10px 5px;
}
.image-browser .stage .title {
	margin: 0;
	margin-right: 80px;
	padding: 0;
	background: transparent;
	color: #DDD;
	font-size: 14px;
}
.image-browser .stage .note {
	margin: 0;
	margin-right: 80px;
	padding: 0;
	color: #AAA;
	font-size: 12px;
}
.image-browser .controls {
	position: absolute;
	bottom: 10px;
	right: 10px;
}
.image-browser .controls .prev,
.image-browser .controls .next {
	float: left;
	width: 24px;
	height: 24px;
	margin-left: 10px;
	background-image: url('./image-controls.png');
	background-repeat: no-repeat;
	cursor: pointer;
}
.image-browser .controls .next {
	margin-left: 5px;
	background-position: right top;
}
.image-browser .controls .pos {
	float: left;
	line-height: 24px;
	color: #555;
	font-size: 14px;
}


#comments {
	margin: 20px 0;
	border-top: 1px solid #DDD;
	border-radius: 5px;
	background: #FFF;
}
#comments h3 {
	margin-left: 0;
	margin-right: 0;
	margin-bottom: 0;
}
.comments ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
#posledni ul {
	margin: -10px -10px 0;
}
#posledni p {
	margin-bottom: 5px;
}
.comments li {
	padding: 7px 10px 2px;
	border-bottom: 1px solid #DDD;
}
.comments li:last-child {
	border-bottom: 0;
}
.comments span {
	display: block;
}
.comments span img {
	vertical-align: middle;
}
.comments p {
	margin: 5px 0;
}
.comments textarea {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
	width: 100%;
}


#vystava {
	margin: 10px auto;
	width: 792px;
	background: #222;
	padding: 0;
	border: 4px double white;
	text-align: center;
}
#vystava a {
	color: white;
	text-decoration: none;
	display: block;
	font-size: 14px;
	cursor: pointer;
}
#vystava a:first-child {
	font-size: 18px;
	padding-top: 10px;
	color: #FFA;
}
#vystava a:last-child {
	padding-bottom: 10px;
}

