html,body {
	font-size: 12px;
	background: #fff;
	margin: 0;
	padding: 0;
}

a {
	color: #c9c9c0;
}

h1,h2,h3,h4,h5,h6 {
	font-weight: normal;
}

form {
	margin: 10px 0;
}

form label {
	display: block;
}

form ul li {
	list-style: none;
}

form ul li {
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px dotted #ccc;
}

form ul li label {
	font-weight: bold;
}

form table {
	width: 100%;
	border: none;
}

form table th {
	width: 100px;
	border: none;
}

form table td {
	border: none;
}

.clear {
	clear: both;
}

#svobodale {
	width: 800px;
	margin: 0 auto;
	background: #fff;
	position: relative;
	border-left: 1px solid #666;
}

#svobodale #vruler {
	width: 3px;
	position: absolute;
	left: 10px;
	top: 0;
	background: #FE0505;
	overflow: hidden;
}

#svobodale #hruler {
	height: 3px;
	position: absolute;
	left: 0;
	background: #FE0505;
	overflow: hidden;
}

#hd {
	width: 800px;
	height: 110px;
	position: relative;
}

#category-first {
	width: 100px;
	height: 100px;
	position: absolute;
	z-index: 100;
	left: 395px;
	top: 0;
}

#category-second {
	width: 100px;
	height: 100px;
	position: absolute;
	z-index: 100;
	left: 645px;
	top: 0;
}

#hd #logo {
	width: 800px;
	height: 110px;
	overflow: hidden;
	position: relative;
}

#hd #logo-link,#hd #logo-image {
	width: 800px;
	height: 110px;
	overflow: hidden;
	position: absolute;
}

#hd #logo-image {
	background: url('/images/heading.png');
}

#hd .personal #logo-image {
	background-position: 0 -220px;
}

#hd .work #logo-image {
	
}

#hd .theories #logo-image {
	background-position: 0 -440px;
}

#hd #languages {
	position: absolute;
	right: 10px;
	top: 10px;
}

#hd #languages a {
	display: block;
	text-decoration: none;
	font-weight: bold;
}

#hd #languages a:hover {
	color: #333;
}

#hd h1,#hd h2 {
	margin: 0;
	padding: 0;
}

#hd #category {
	position: absolute;
	top: 55px;
	left: 30px;
	color: #c9c9c0;
	font-size: 30px;
}

#bd {
	padding: 20px 0;
}

#bd #menu {
	float: left;
	display: inline;
	width: 300px;
	counter-reset: section;
	padding: 0 10px 0 20px;
	position: relative;
}

#bd #menu ul {
	color: #c9c9c0;
	margin: 10px 0;
	padding: 0;
}

#bd #menu ul ul {
	color: #c9c9c0;
	margin: 0;
	padding: 0;
}

#bd #menu ul li {
	counter-increment: section;
	list-style: none;
	padding: 0;
	font-size: 18px;
}

#bd #menu ul li ul li {
	counter-increment: section;
	list-style: none;
	padding: 0 0 0 40px;
	margin: 0;
}

#bd #menu ul li a {
	text-decoration: none;
	height: 22px;
	line-height: 22px;
	margin: 0 20px 0 0;
}

#bd #menu ul li a:hover {
	color: #000;
}

#bd #menu ul li.active {
	
}

#bd #menu ul li.active a {
	color: #000;
}

#bd #menu ul li.active .counter {
	color: #000;
}

#bd #content {
	float: left;
	display: inline;
	width: 440px;
	line-height: 1.3em;
	color: #333;
	padding: 0 10px 0 20px;
}

#bd #content img {
	border: 1px solid #ccc;
}

#menu-admin img {
	border: none !important;
}

#bd #content a:hover img {
	border: 1px solid #333;
}

#bd #util {
	padding: 20px;
}

#bd #content .gallery-image {
	float: left;
	margin: 0 10px 10px 0;
}

#ft {
	clear: both;
}

#logout a {
	font-size: 10px;
	color: #333;
	text-decoration: none;
}

.error_list li {
	padding: 0;
	margin: 0;
	border: 0;
	font-weight: bold;
	color: #FE0505;
}

.perex .image {
	float: left;
	margin: 0 10px 10px 0
}

.perex {
	clear: both;
}

#page_image_ngs_image_id_browser {
	border: 1px solid #CCCCCC;
	width: 580px;
	background: #F0F0EE;
	margin: 10px 0 0 0;
	padding: 0;
}

#page_image_ngs_image_id_browser .ngs_image_browser {
	margin: 0;
	padding: 0;
}

.ngs_image_browser_wrapper .ngs_image_browser .image {
	display: block;
	width: 80px;
	height: 80px;
	text-align: center;
	padding: 5px;
	margin: 2px;
	float: left;
	border: 1px solid #ccc;
	background: #fff;
	overflow: hidden;
	cursor: pointer;
	position: relative;
}

.ngs_image_browser_wrapper .ngs_image_browser .image a.delete {
	position: absolute;
	top: 5px;
	right: 5px;
	font-size: 0;
	background: url('/images/cross.png') no-repeat;
	width: 15px;
	height: 15px;
}

.ngs_image_browser_wrapper .ngs_image_browser_control {
	text-align: center;
}

.ngs_image_browser_wrapper .ngs_image_browser_control a,.ngs_image_browser_wrapper .ngs_image_browser_control span
	{
	text-decoration: none;
	font-size: 16px;
	color: #333;
}

.ngs_file_upload_box_wrapper {
	margin: 10px 0;
	border-collapse: collapse;
	border-top: 1px solid #ccc;
}

.ngs_file_upload_box_wrapper td {
	padding: 2px 5px;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	background: #F0F0EE;
	width: 150px;
}

.ngs_file_upload_box_wrapper td.colspan {
	width: 310px;
}

.ngs_file_upload_box_wrapper td.name {
	background-image: url('/ngsFile/images/page_white.png');
	background-repeat: no-repeat;
	padding-left: 10px;
	width: 145px;
}

.ngs_image_upload_box_wrapper {
	margin: 10px 0;
	border-collapse: collapse;
	border: 1px solid #ccc;
}

.ngs_image_upload_box_wrapper td {
	padding: 2px 5px;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	background: #F0F0EE;
	width: 150px;
}

.ngs_image_upload_box_wrapper td.colspan {
	width: 310px;
}

.ngs_image_gallery_wrapper .image {
	display: block;
	width: 80px;
	height: 120px;
	text-align: center;
	padding: 5px;
	margin: 2px;
	float: left;
	border: 1px solid #ccc;
	background: #fff;
	overflow: hidden;
}

.ngs_image_gallery_wrapper .ui-sortable-placeholder {
	display: block;
	width: 80px;
	height: 120px;
	text-align: center;
	padding: 5px;
	margin: 2px;
	float: left;
	border: 1px solid #ccc;
	background: #f0f0f0;
}

.ngs_image_gallery_wrapper .selected {
	width: 200px;
	border: 1px solid #ccc;
	background: #F0F0EE;
	padding: 5px;
}

.ngs_image_gallery_wrapper a img {
	margin: 1px 0;
}

.ngs_image_gallery_wrapper .image .description {
	white-space: nowrap;
	padding: 5px;
}
