/* Neutralize styling */
html, body, form, fieldset {
	margin: 0;
	padding: 0;
	font: 12px Tahoma, Arial, Helvetica, sans-serif;
	color: #6c6c6c;
}

fieldset, a img {
	border: 0;
}

input {
	margin: 0;
	padding: 0;
}

/* Miscellaneous */
form label {
	cursor: pointer;
}

/* Form field */
input, select, textarea {
	font-size: 100%;
}


/* Header styles */
#header {
	position: relative;
	margin: 0 auto;
	padding: 0;
	width: 1000px;
	height: 190px;
	background-image: url(../images/header_back.jpg);
	background-position: top right;
	background-repeat: no-repeat;
}

#logo {
	position: absolute;
	top: 40px;
	left: 10px;
	width: 397px;
	height: 101px;
}

#language {
	position: absolute;
	padding-top: 2px;
	top: 10px;
	left: 430px;
	vertical-align: text-top;
	font-size: 10px;
}

#english {
	height: 11px;
	background-image: url(../images/en.gif);
	background-repeat: no-repeat;
	display: inline;
	padding: 0 5px 2px 20px;
}

#romanian {
	height: 11px;
	background-image: url(../images/ro.gif);
	background-repeat: no-repeat;
	display: inline;
	padding: 0 5px 0 20px;
}

#language a:link, #language a:visited {
	color: #f37121;
	text-decoration: none;
}

#language a:hover {
	text-decoration: underline;
}

/* Main menu styles */
#menu {
	position: absolute;
	top: 160px;
	left: 5px;
}

#flyOutMenu {
	display: block;
	float: left;
	padding: 0;
	margin: 0;
	border: 0;
	height: 25px;
	list-style: none;
	width:100%;
}

#flyOutMenu li {
	display: block;
	float: left;
	height: 20px;
}

#flyOutMenu li a {
	display: block;
	padding: 2px 20px 3px 20px;
	font-family: Verdana,Arial,Helvetica,sans-serif;
	font-size: 14px;
	font-weight: bold;
	color: #fff;
	text-decoration:none;
	border-left: 1px solid #0096d8;
	border-right: 1px solid #0096d8;
}

#flyOutMenu li a:hover {
	background-color:#f37121;
	border-left: 1px solid #fff;
	border-right: 1px solid #fff;
}

#flyOutMenu li ul {
	list-style: none;
	display: none;
	position: absolute;
	background-color:#CCCCCC;
	float: left;
	width: 170px;
	margin-top: 0;
	margin-left: 0;
	padding: 0;
	border-top: #fff 1px solid;
	z-index: 1000;
}

#flyOutMenu li ul li {
	position: relative;
	height: auto;
	border: none;
	padding: 0;
	width: 170px;
	border: 0;
}

#flyOutMenu li ul li a {
	color: #0096d8;
	font-weight: normal;
	font-size: 12px;
	background-color: #eee;
	padding: 2px 0 3px 6px;
	height: auto;
	line-height: normal;
	border-left: 1px solid #fff;
	border-right: 1px solid #fff;
	border-bottom: 1px solid #fff;
}

#flyOutMenu li ul li a:hover {
	background-color: #f37121;
	color: #fff;
}

#flyOutMenu li ul li ul {
	position: absolute;
	left: 172px;
	top: 0;
	display: none;
}

#flyOutMenu li ul li ul li {
	position: relative;
}

#flyOutMenu li:hover ul.submenu, #flyOutMenu li.mover ul.submenu {
	display:block;
}

#flyOutMenu li ul li:hover ul.subsubmenu, #flyOutMenu li ul li.mover ul.subsubmenu {
	display:block;
}


/* Main styles */
#main_container {
	width: 1000px;
	margin: 0 auto;
	padding: 0;
	background-color: #fff;
	background-image: url(../images/main_back.gif);
	background-position: top;
	background-repeat: no-repeat;
}

#leftcol {
	float: left;
	width: 220px;
	margin: 0 12px 0 12px;
	padding: 0;
}

#rightcol {
	float: right;
	width: 242px;
	margin: 9px 12px 0 6px;
}

#content {
	margin: 0 260px 0 232px;
	padding: 9px 7px 0 7px;
	border-left: #eaeaea 1px solid;
	border-right: #eaeaea 1px solid;
	min-height: 500px;
	height: auto;
}

#leftcol_sub {
	float: left;
	width: 174px;
	margin: 0 12px 0 12px;
	padding: 0;
}

#content_sub {
	margin: 0 260px 0 186px;
	padding: 9px 7px 0 7px;
	border-left: #eaeaea 1px solid;
	border-right: #eaeaea 1px solid;
	min-height: 500px;
	height: auto;
}

.clear {
	clear: both;
}

/* Footer styles */
#footer {
	position: relative;
	width: 1000px;
	height: 67px;
	margin: 0 auto;
	padding: 0;
	background-image: url(../images/footer_back.gif);
	background-repeat: no-repeat;
	background-position: top;
}

#footerlink {
	position: absolute;
	top: 22px;
	left: 110px;
}

#copyright {
	position: absolute;
	top: 45px;
	left: 110px;
	color: #0096db;
	font-size: 10px;
}

#elvsoft {
	position: absolute;
	top: 45px;
	left: 800px;
	color: #0096db;
	font-size: 10px;
}

#elvsoft a:link, #elvsoft a:visited {
	color: #0096db;
	text-decoration: none;
}

#elvsoft a:hover {
	text-decoration: underline;
}

/* General styles */

a:link, a:visited {
	color: #f37121;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

/* Inside Content styles */
h1 {
	margin: 0;
	padding: 0;
	font-size: 14px;
	color: #0096d8;
}

h2 {
	margin: 8px 0 8px 0;
	padding: 0;
	font-size: 12px;
	color: #0096d8;
}

h3 {
	margin: 8px 0 8px 0;
	padding: 0;
	font-size: 12px;
	font-weight: normal;
	color: #0096d8;
}

h4 {
	margin: 8px 0 8px 0;
	padding: 0;
	font-size: 11px;
	font-weight: normal;
	color: #0096d8;
}

h5 {
	margin: 8px 0 8px 0;
	padding: 0;
	font-size: 10px;
	font-weight: normal;
	color: #0096d8;
}

h6 {
	margin: 8px 0 8px 0;
	padding: 0;
	font-size: 9px;
	font-weight: normal;
	color: #0096d8;
}

ul {
	list-style-image: url(../images/list_icon.gif);
}


hr {
	border: none 0; 
	border-top: 1px solid #eaeaea;
	width: 100%;
	height: 1px;
}

p {
	margin: 0;
	padding: 5px 0 5px 0;
}

.featured {
	background-color: #eee;
}

/*Inside News styles */

a.blockitem {
	display: block;
	text-decoration: none;
	color: #6c6c6c;
}

a.blockitem p {
	color: #6c6c6c;
}

a.blockitem:hover {
	background-color: #F2F2F2;
	text-decoration: none;
}

.orange {
	color: #f37121;
}

#news {
	background-image: url(../images/left_back.gif);
	background-position: top;
	background-repeat: no-repeat;
	width: 210px;
	padding: 0;
	margin: 0;
}

#news h3 {
	margin: 0;
	padding: 0;
	text-indent: -5000px;
	background-image: url(../images/news_header.gif);
	height: 44px;
	width: 210px;
}

.newsitem {
	display: block;
} 

.newsitem p, #projects p {
	margin: 5px 0;
	padding: 0;
}

#newsletter h3 {
	margin: 0;
	padding: 0;
	text-indent: -5000px;
	background-image: url(../images/newsletter_header.gif);
	height: 44px;
	width: 241px;
}

#newsletter p {
	font-size: 11px;
	margin: 5px 0;
	padding: 0;
	border: 0;
}

#projects h3 {
	margin: 0;
	padding: 0;
	text-indent: -5000px;
	background-image: url(../images/projects_header.gif);
	height: 44px;
	width: 241px;
}

#projects a {
	background-image: url(../images/project_icon.gif);
	background-repeat: no-repeat;
	background-position: top left;
	padding: 0 0 5px 14px;
	display: block;
}

/* Forms styles */
#search {
	vertical-align: top;
	height: 30px;
}

.inp {
	border: #b9b8b8 1px solid;
	height: 18px;
	width: 168px;
	color: #6c6c6c;
	vertical-align: middle;
	font-size: 12px;
}

.btn {
	border: 0;
	height: 18px;
	background-color: #b9b8b8;
	color: #fff;
	width: 67px;
	height: 20px;
	padding: 0;
	vertical-align: middle;
	font-size: 12px;
	-moz-box-sizing: content-box;
}

.btn:hover {
	background-color: #f37121;
}

.rad {
	vertical-align: middle;
}

/* Left navigation */
#subnavigation {
	width: 166px;
	background-color: #f8f8f8;
}

#subnavigation ul {
	margin-left: 0;
	padding-left: 0;
	padding-bottom: 0;
	margin-bottom: 0;
	list-style-type: none;
	list-style-image: none;
	color: #53a4d5;
}

#subnavigation a {
	display: block;
	padding: 4px 4px 4px 10px;
	background-color: #f8f8f8;
	border-bottom: 1px solid #fff;
}

#subnavigation a.tlp {
	font-weight: bold;
	background-color: #e9e9e9;
}
#subnavigation a.tlp {
	font-weight: bold;
	background-color: #e9e9e9;
}
#subnavigation p.tlp {
	font-weight: bold;
	background-color: #e9e9e9;
}

#subnavigation ul li ul a {
	padding: 4px 4px 4px 30px;
}

p#current {
	padding-left: 30px;
	vertical-align: middle;
	background-color: #fff;
} 

#subnavigation li p#current {
	padding: 5px 4px 5px 10px;
	line-height: 14px;
	vertical-align: middle;
	background-color: #fff;
}

#subnavigation li ul li p#current {
	padding: 5px 4px 5px 30px;
	line-height: 14px;
	vertical-align: middle;
	background-color: #fff;
}
