html {
	height: 100%;
}

form, fieldset {
	padding: 0;
	margin: 0;
	display: inline;
	border: none;
}

body {
	background-color: #111F18;
	margin: 0px;
	padding: 0px;
	padding-top: 10px;
	text-align: center;
	color: white;
	font-size: 0.83em;
	font-family: Verdana;
	height: 100%;
}
h1, h2, h3, h4, h5, h6 {
	font-size: 1em;
	font-weight: auto;
	display: inline;
}

img {
	border: none;
}
td {
	font-size: 10pt;
}

#main {
	margin-left: auto;
	margin-right: auto;
	width:762px;
	text-align: left;
	background-color: black;
	margin-top: 5px;
	/*border: 1px solid #7E8381;
	border-bottom: 1px solid #7E8381;*/
}

div#text, div#text p {
	text-align: justify;
}
dt {
	margin-top: 7px;
}

.selected {
	color: #5BE5AC;
}

#footer {
	/*color: #7E8381;*/
	color: #BEC2C0;
	margin-left: auto;
	margin-right: auto;
	width:762px;
	text-align: left;
	margin-bottom: 15px;
}
#imagemap {
	display: none;
}

#head {
	width:762px;
	height:149px;
}

#head img {
	padding: 0;
	margin: 0;
	display: inline;
}

#headns {
	width:762px;
	height:149px;
}

.inheadns {
	width:82px;
	height:147px;
	float: right;
	border-left: 1px solid #7E8381;
	text-align: center;
}
.inheadnslng {
	width:82px;
	height:147px;
	float: left;
	border-left: 1px solid #7E8381;
	text-align: left;
	padding-top: 120px;
	padding-left: 10px;
}

.inheadns img {
	padding: 0;
	margin: 0;
	margin-bottom: 5px;
	display: block;
}

.inheadns a, .inheadns a:link, .inheadns a:visited, .inheadns a:hover {
	color: white;
	text-decoration: none;
}

#headns {
	background-image: url(i/mainnsbg.jpg);
	background-repeat: no-repeat;
	background-position: left top;
	border-bottom: 1px solid #7E8381;
	border-right: 1px dotted #ffffff;
}

/*#content {
	background-image: url(i/mainbg.jpg);
	background-repeat: no-repeat;
	background-position: left top;
}*/

#content2 {
	/*background-image: url(i/flagdotline.gif);
	background-repeat: repeat-y;
	background-position: right;*/
}

#menu {
	background-image: url(i/menudotline.gif);
	background-repeat: repeat-y;
	background-position: right;
}

#text {
	background-image: url(i/flag.jpg);
	background-repeat: no-repeat;
	background-position: right top;
}
/*дефиниции за линкове*/
a:link {
	font-size: 1em;
	color: #FFFFCC;
	text-decoration: underline;
}
a:visited {
	font-size: 1em;
	color: #BAE9CE;
	text-decoration: underline;
}
a:hover, a:active {
	font-size: 1em;
	color: #5BE1AC;
	text-decoration: underline;
}
/*дефиниция за пътечката*/
ul#path {
	padding: 0;
	margin: 0;
	color: white;
	display: block;
}
ul#path li {
	display: inline;
	background-image: url(i/pathbulet.gif);
	background-repeat: no-repeat;
	background-position: left center;
	padding-left: 10px;
	padding-right: 5px;
}
ul#path li a:link, ul#path li a:active, ul#path li a:visited {
	color: white;
	text-decoration: none;
	font-weight: bold;
}
ul#path li a:hover {
	text-decoration: underline;
}
ul#path li.first {
	display: inline;
	background-image: none;
	padding-left: 0;
}
h1.pathtitle {
	font-weight: normal;
}
/*дефиниция за лявото меню*/
ul#leftmenu {
	padding: 0;
	margin: 0;
	color: white;
	display: block;
	width: 100%;
}
ul#leftmenu li {
	display: block;
	width: 100%;
	padding-left: 5px;
	list-style: none;
	border-top: 2px dotted #434343;
	padding-top: 3px;
	padding-bottom: 3px;
}
ul#leftmenu li.selectedmenu {
	padding-left: 20px;
}
ul#leftmenu li a:link, ul#leftmenu li a:active, ul#leftmenu li a:visited {
	color: white;
	text-decoration: none;
	font-weight: bold;
}
ul#leftmenu li a:hover {
	text-decoration: underline;
}
/*дефиниция за новини на homepage*/
p.news {
	text-align: left;
	display: block;
	border-top: 2px dotted #434343;
	font-size: 0.8em;
	text-align: justify;
}

a.news:link, a.news:active, a.news:visited {
	font-size: 1em;
	color: #FFFFCC;
}
a.news:hover {
	color: #50D2A4;
}
span.newsblock {
	display: block;
	visibility: hidden;
}
p.news .newsdate {
	display: block;
	font-size: 1em;
}
.news img {
	border: none;
	float: right;
	width: 60px;
	height: 40px;
	position: relative;
	top: -15px;
	left: 10px;
}
/*дефиниция за пълни новини*/
div.fullnews .newsdate {
	display: inline;
	font-size: 0.8em;
	float: right;
	font-weight: normal;
}
div.fullnews h2.newstitle {
	display: block;
	font-size: 1em;
	font-weight: bold;
	width: 95%;
	padding: 0;
	margin: 0;
	border-bottom: 2px dotted #434343;
}
div.fullnews img {
	display: inline;
	float: right;
	margin: 5px;
	padding: 0;
}
/*дефиниция на списък страници с новини*/
ul.newspages {
	padding: 0;
	margin: 0;
	border-top: 2px dotted #434343;
	margin-top: 15px;
	display: block;
}
ul.newspages li {
	margin-left: 10px;
	display: inline;
	list-style: none;
}
ul.newspages li.selected {
	color: #50D2A4;
}
ul.newspages li a:link, ul.newspages li a:active, ul.newspages li a:visited {
	color: white;
	font-weight: normal;
	text-decoration: none;
}
ul.newspages li a:hover {
	color: #FFFFCC;
}
/*дефиниция за резултати от търсене*/
span.searchResult {
	border: 1px solid red;
}
span.searchWhat {
	font-weight: bold;
	color: #FFFFCC;
}
span.searchLongResult {
	color: #FFFFCC;
}






/*certificates*/
div.certificate {
	width: 480px;
	border: 1px dotted silver;
	margin: 0;
	padding: 0;
}
div.certificate div.title {
	width: auto;
	margin: 0;
	padding: 0;
	margin-bottom: 10px;
	text-align: center;
	font-weight: bold;
	font-size: 1.2em;
}
div.certificate div.parameter {
	float: left;
	width: 200;
	margin-bottom: 10px;
	text-align: right;
	margin-right: 5px;
}
div.certificate div.value, div.certificate pre.value {
	float: left;
	margin-bottom: 10px;
	margin-right: 10px;
	text-align: left;
	font-family: Verdana;
}
div.certificate br {
	clear: both;
}






/*advanced search form*/
form.advanced {
	display: block;
	padding: 0;
	margin: 10px;
	margin-bottom: 30px;
	text-align: center;
}
form.advanced label {
	margin: 0;
	padding: 0;
	display: block;
	float: left;
	width: 150px;
	/*border: 1px solid red;*/
	text-align: right;
	margin-right: 3px;
	line-height: 22px;
}
form.advanced input.textfield, form.advanced select.textfield {
	float: left;
	border: 1px solid silver;
	width: 250px;
	margin: 2px;
	padding: 0;
}
form.advanced br {
	clear: both;
}
form.advanced br.double {
	clear: both;
	line-height: 35px;
}
form.advanced select.smalllist {
	float: left;
	border: 1px solid silver;
	width: 80px;
	margin: 2px;
	padding: 0;
}
form.advanced input.button {
	margin-left: auto;
	margin-right: auto;
	margin: 3px;
	padding: 0;
}