/*
MihaiMaga.ro Website framework
(c) Mihai Maga 2008
www.mihaimaga.ro
*/

html {
}

body {
	font-family: Garamond, serif;
	font-size: 11pt;
	background-color: #f0f0f0;
	color: #000000;
	margin: 0;
	padding: 0;
	text-align: center;
	background-image: url('background.jpg');
}

a, a:link, a:visited {
	color: #0000ff;
	text-decoration: none;
}

a:hover {
	color: #ff0000;
	text-decoration: underline;
}

img {
	border: 0;
}

#container {
	width: 924px;
	margin: 0 auto;
	padding: 0;
	background-color: #ffffff;
	border-left: 1px solid #e8e8e8;
	border-right: 1px solid #e8e8e8;
	text-align: justify;
}

#header {
	width: 924px;
	height: 130px;
	overflow: hidden;
	background-image: url('header.jpg');
	background-repeat: no-repeat;
	margin: 0;
	padding: 0;
}
#header h1 {
	font-size: 14px;
	color: #ffffff;
	font-weight: bold;
	text-align: center;
	padding: 0;
	margin-top: 110px;
	margin-right: 10px;
	text-align: right;
	font-family: Gentium, Garamond, serif;
	text-shadow: #222120 1px 1px 2px;
	-moz-text-shadow: #222120 1px 1px 2px;
	-webkit-text-shadow: #222120 1px 1px 2px;
	filter: Shadow(Color='#222120',Direction=135,Strength=1);
	filter:progid:DXImageTransform.Microsoft.Shadow(color=#222120,direction=135,strength=1);
	-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Color='#222120', Direction=135, Strength=1)";
	.height: 1em;
}
#header h1 a {
	color: #ffffff;
}


#menu {
	width: 180px;
	display: block;
	float: left;
	background-color: #fffaef;
	padding: 0;
	border: 10px solid #ffffff;
	font-family: Gentium, Garamond, serif;
}
#menu ul {
	padding: 0;
	margin: 0;
	list-style: none;
	list-style-type: none;
}
#menu li {
	margin: 0;
	padding: 0;
	border: 1px solid #fffaef;
	margin-top: 2px;
}
#menu li li {
	margin-top: 0px;
}
#menu ul li a .mark {
	float: left;
	background-color: #cc9900;
	margin: -3px -2px;
	padding: 2px;
	width: 12px;
	margin-right: 4px;
}
#menu ul li a, #menu ul li a:link, #menu ul li a:visited, #menu ul li a:hover {
	display: block;
	padding: 6px 4px;
	color: #663300;
	background-color: #ffffff;
	font-weight: bold;
	text-decoration: none;
	text-align: left;
	letter-spacing: .2em;
	width: 168px;
}
#menu ul li a:hover {
	color: #000000;
	background-color: #fffcf8;
}
#menu ul li a:hover .mark {
	background-color: #ffcc00 !important;
}
#menu ul li a.select .mark, #menu ul li a.parentselect .mark {
	background-color: #c0c0c0;
}
#menu ul li ul li a, #menu ul li ul li a:link, #menu ul li ul li a:visited, #menu ul li ul li a:hover {
	padding: 0px !important;
	padding-left: 6px !important;
	letter-spacing: 0em !important;
	font-size: 10px;
	margin-left: 16px;
	font-family: Arial, sans-serif;
	width: 152px !important;
}
#menu ul li ul li a.select {
	background-color: #f0f0f0;
}

#loginmenu .select, #adminmenu .select {
	background-color: #ffffcc !important;
}
#adminmenu .logout {
	background-color: #ffd8d8 !important;
}

#content {
	width: 640px;
	padding: 5px 20px;
	font-family: verdana, sans-serif;
	font-size: 10pt;
	float: left;
}
#content h1, #content h2, #content h3 {
	font-family: Garamond, serif;
}

.ctrl-homepage #content {
	width: 440px;
}

#searchbox {
	display: block;
/*	float: right;*/
	width: 180px;
	height: 30px;
	padding: 0;
	margin-top: 10px;
	font-size: 10px;
	background-color: #FBF5E7;
	padding-top: 10px;
}
#searchbox input {
	border: 1px solid #B98C50;
	font-size: 100%;
	font-weight: bold;
	color: #B98C50;
}

#rightbox {
	display: block;
	float: right;
	width: 200px;
	height: 200px;
	padding: 0 2px;
	font-family: verdana, sans-serif;
	font-size: 8pt;
	text-align: justify;
	border-left: 1px solid #cccccc;
	font-size: 10px;
}
#rightbox h4 {
	font-family: Gentium, Garamond, serif;
	letter-spacing: 0.2em;
	font-size: 9pt;
	margin: 0;
	padding: 7px 0;
	text-align: center;
	background-color: #fffaef;
}

h2.sitestyle {
	font-family: Gentium, Garamond, serif !important;
	letter-spacing: 0.2em;
}

#footer {
	width: 924px;
	margin: 0 auto;
	font-family: Arial, sans-serif;
	font-size: 12px;
	background-color: #FBF5E7;
	color: #666666;
}
#footer a, #footer a:link, #footer a:visited {
	color: #663300;
	text-decoration: none;
	font-weight: bold;
}
#footer a:hover {
	color: #ff6600;
}

#backtrack {
	width: 670px;
	float: left;
	margin: 0;
	font-size: 7pt;
	padding-left: 10px;
	font-family: Arial, sans-serif;
	clear: right;
	text-align: right;
}

#pagetitle {
	display: none;
}

ul.files {
	list-style: none;
	list-style-type: none;
	margin: 0;
	padding: 0;
/*	margin-left: 210px;*/
}
ul.files li.file, ul.files li.sdir {
	background-repeat: no-repeat;
	background-position: center left;
	margin: 0;
	padding: 0;
	padding-left: 20px;
	margin-bottom: 8px;
}
h3.file, h3.sdir {
	background-repeat: no-repeat;
	background-position: top left;
	padding-left: 20px;
	margin-left: -20px;
}
ul.files li.file, h3.file {
	background-image: url('icons/file.gif');

}
ul.files li.sdir, h3.sdir {
	background-image: url('icons/dir.gif');
	font-weight: bold;
}

a.download {
	background-image: url('icons/download.gif');
	background-repeat: no-repeat;
	background-position: center right;
	background-color: #f8f8f8;
	border: 2px solid #eeeeee;
	padding: 2px 20px 2px 2px;
	margin: 2px 2px 5px -4px;
}
.filecomments {
	background-color: #f8f8f8;
	border: 2px solid #eeeeee;
	margin: 0;
	padding: 5px;
}
.filecomments .tt {
	background-color: #eeeeee;
	padding: 0;
	margin: -5px;
	margin-bottom: 0;
	font-weight: bold;
	color: #808080;
}
.foldertoolbox {
	background-color: #eeeeee;
	border: 2px solid #cccccc;
	margin: 5px;
	padding: 5px;
}
.foldertoolbox .tt {
	background-color: #cccccc;
	padding: 0;
	margin: -5px;
	margin-bottom: 0;
	font-weight: bold;
	color: #808080;
}

#langs {
	font-size: 70%;
	font-family: Arial, sans-serif;
}
#langs a {
	display: block;
	float: left;
	width: 60px;
	background-repeat: no-repeat;
	background-position: center left;
	padding-left: 20px;
	margin-right: 10px;
	color: #663300;
	letter-spacing: 0.1em;
	font-weight: bold;
}
#langs a.lang-ro {
	background-image: url('lang/ro.gif');
}
#langs a.lang-en {
	background-image: url('lang/en.gif');
}
.slang-en a.lang-en, .slang-ro a.lang-ro {
	color: #808080 !important;
	background-color: #FFFCF8;
	text-decoration: underline;
}

.error {
	color: #ff0000 !important;
}

.searchresult {
	margin: 3px 8px 10px 16px;
}

.searchtext {
	font-weight: bold;
	text-decoration: underline;
}

.mceContentBody {
	font-family: verdana, sans-serif;
}

.increaseFont, .decreaseFont, .resetFont {
	cursor: pointer;
}

.clear {
	clear: both;
}

.clearsuper {
	clear: both;
	position: relative;
	margin-bottom: -2em;
}
.icon-pdf, .icon-file, .icon-dir, .icon-book {
	background-repeat: no-repeat;
	background-position: top left;
	padding-left: 20px;
	margin-left: -20px;
}
.icon-pdf {
	background-image: url('icons/pdf.gif');
}
.icon-file {
	background-image: url('icons/file.gif');
}
.icon-dir {
	background-image: url('icons/dir.gif');
}
.icon-book {
	background-image: url('icons/book.gif');
}
