/********************************************
   HTML ELEMENTS
********************************************/ 

/* Top Elements */
* { margin: 0; padding: 0; }

body {
	background: #313131;
	font: 70%/1.5em Verdana, Tahoma, arial, sans-serif, 'Trebuchet MS';
	color: #333;
	text-align: center;
}

/* links */
a, a:visited {
	text-decoration: none;
	color: #d54c45; 
	background: inherit;
}
a:hover {
	color: #000000;
	background: inherit;
}
a.zip {
  margin: 5px 10px 10px 0px;
  background: url(images/icons/icon_zip.gif) no-repeat 0px 2px;	
}
a.rar {
  margin: 5px 10px 10px 0px;
  background: url(images/icons/icon_rar.gif) no-repeat 0px 2px;	
}
a.lnk {
  margin: 5px 10px 10px 0px;
  background: url(images/icons/icon_lnk.gif) no-repeat 0px 2px;	
}
a.link {
  margin: 5px 10px 10px 0px;
  background: url(images/icons/icon_lnk.gif) no-repeat 0px 2px;	
}
a.html {
  margin: 5px 10px 10px 0px;
  background: url(images/icons/icon_lnk.gif) no-repeat 0px 2px;	
}
a.src {
  margin: 5px 10px 10px 0px;
  background: url(images/icons/icon_cls.gif) no-repeat 0px 2px;	
}

/* headers */
h1, h2, h3 {
	font-family: 'Trebuchet MS',Tahoma, Verdana, Sans-serif;
	font-weight: Bold; 		
}
h1 {
	font-size: 120%;	
}
h2 {
	font-size: 110%;
	text-transform: uppercase;
	color: #d54c45;
}
h3 {
	font-size: 12pt;
	color: #666666; 
	font-weight: Bold; 		
}
h4 {
	font-size: 8pt;
	color: #d54c45; 
}
/* images */
img {
	border: 0;
}
img.float-right {
  margin: 5px 0px 10px 10px;  
}
img.float-left {
  margin: 5px 10px 10px 0px;
}
img.noborder {
  border: 0;
}

h1, h2, h3, p {
	padding: 10px;		
	margin: 0;
}
ul, ol {
	margin: 5px 20px;
	padding: 0 20px;
	/* color: #d54c45;	 */
}
ul span, ol span {
	color: #666666;
}

code {
  margin: 5px 0;
  padding: 10px;
  text-align: left;
  display: block;
  overflow: auto;  
  font: 500 1em/1.5em 'Lucida Console', 'courier new', monospace ;
  white-space: pre;
  background: #FAFAFA;
  border: 1px solid #f2f2f2;  
}

apicode {
  padding: 10px;  
  text-align: left;
  display: block;
  overflow: auto;
  font: 500 1em/1.5em 'Lucida Console', 'courier new', monospace ;
  white-space: pre;
  background: #FFFFFF;
  border: 1px solid #f2f2f2;  
}
commentcode {
  padding: 10px;  
  text-align: left;
  display: block;
  overflow: auto;
  font: 500 1em/1.5em 'Lucida Console', 'courier new', monospace ;
  white-space: pre;
  background: #FAFAFA;
  border: 1px solid #f2f2f2;  
}
procode {
  padding: 10px;  
  text-align: left;
  display: block;
  overflow: auto;
  font: 500 1em/1.5em 'Lucida Console', 'courier new', monospace ;
  white-space: pre;
  background: #FFFFFF;
  border: 1px solid #f2f2f2;  
}
acronym {
  cursor: help;
  border-bottom: 1px solid #777;
}
blockquote {
	margin: 10px;
 	padding: 0 0 0 28px;  
   border: 1px solid #f2f2f2; 
  	background: #FAFAFA url(quote.gif) no-repeat 5px 5px;    
}

/* form elements */
form {
	margin:10px; padding: 0 5px;
	border: 2px solid #DDDDDD;
	background-color: transparent;
}
form.approve {
	margin:10px; padding: 0 5px;
	border: 2px solid #DDDDDD;
	background: transparent;
}
label {
	display:block;
	font-weight:bold;
	margin:5px 0;
}
input {
	padding:2px;
	border:1px solid #d54c45;
	font: normal 1em Verdana, sans-serif;
	color:#777;
}
select {
	border:1px solid #d54c45;
	font: normal 1em Verdana, sans-serif;
	color:#777;
}
textarea {
	/* width:300px; */
	padding:2px;
	font: normal 1em Verdana, sans-serif;
	border:1px solid #d54c45;
	height:100px;
	display:block;
	color:#777;
}


/* search */
form.search {
	background: transparent;
	border: none;	
}	
form.search input.textbox {
	margin: 0; padding: 1px 1px;
	width: 225px;
	background: #FFF;
	color: #333; 
	
}


/********************************************
   LAYOUT
********************************************/ 
#wrap {
	width:920px;
	
	background: #FFFFFF ;
	margin: 0 auto;
	text-align: left;
}

#content-wrap {
	clear: both;
	width: 890px;
	padding: 0; 
	margin: 0 auto;
}

#page {
	width: 930px;
	margin: 0px auto;
	background: #FFFFFF url(images/header_footer_img.jpg) top center repeat-y;
	}

#header {
	width: 920px;
	/* position: relative;*/
	height: 106px;
	background: #313131 url(images/header.jpg) no-repeat center top;
	text-align: center;	
	padding: 0;
	font-size: 14px;
	color: #FFFFFF;
}
#header h1#logo-text {
	position: absolute;
	margin: 0; padding: 0;
	font: bolder 3.3em 'Trebuchet MS', Arial, Sans-serif;
	letter-spacing: -2px;
	color: #FFF;
	text-transform: none;
	
	/* change the values of top and left to adjust the position of the logo*/
	top: 28px; left: 50px;	
}
#header h2#slogan {
	position: absolute;
	margin: 0; padding: 0;
	font: normal .8em 'Trebuchet MS', Arial, Sans-serif;
	text-transform: none;
	color: #FFF;
	
	/* change the values of top and left to adjust the position of the slogan*/
	top: 74px; left: 58px;		
}

/* Menu */
#menu {
	clear: both;	
	margin: 5px; padding: 0 0 0 10%;
	background:  url(menu.jpg) repeat-y center top;	
	font: bold 12px/26px Verdana, Arial, Tahoma, Sans-serif;
	height: 26px;
}
#menu ul {
	float: right;
	list-style: none;
	margin:0; padding: 0;
}
#menu ul li {
	display: inline;
}
#menu ul li a {
	display: block;
	float: left;
	padding: 0 9px;	
	text-decoration: none;
}
#menu ul li a:hover {
	background-color: #ECECEC;
	color: #333;	
}
#menu ul li#current a {	
	background-color: #347FD9;
	color: #FFF;
}

/* Main Column */
#main {
	float: right;
	width: 73%;
	padding: 0; margin: 0;
}

#main_top {
	float: right;
	width: 73%;
	padding: 0; margin: 0;
}

#main h1 {
	margin-top: 10px;
	font: Bold 125% Verdana, 'Trebuchet MS', Sans-serif;
	color: #d54c45;
	padding: 5px 0 5px 25px; 	
	border-bottom: 1px solid #EFF0F1;
	background: #FFF url(images/bullet_01.gif) no-repeat 3px 50%;	
}

.post-footer {
	background-color: #FAFAFA;
	padding: 5px; margin: 20px 10px 0 10px;
	border: 1px solid #f2f2f2;
	font-size: 95%;	
}
.post-footer .date {
	background: url(clock.gif) no-repeat left center;
	padding-left: 20px; margin: 0 10px 0 5px;
}
.post-footer .comments {
	background: url(comment.gif) no-repeat left center;
	padding-left: 20px; margin: 0 10px 0 5px;
}
.post-footer .readmore {
	background: url(page.gif) no-repeat left center;
	padding-left: 20px; margin: 0 10px 0 5px;
}
.postbody {
	font-size: 1.5em;
	padding: 2px 0 0 0;
	margin: 0 0 0.3em 0 !important;
	text-transform: none;
	border: none;
	font-family: "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
	line-height: 125%;
}
/* Code block */
.codebox {
	overflow: auto;
	display: block;
	height: auto;
	white-space: normal;
	padding-top: 5px;
	font: 9pt "Courier New", Courier;
	color: #000000;
}
/* Sidebar */	
#sidebarR {
	float: right;
	width: 45%;
	padding: 0; margin: 0;	
}	

#sidebar {
	float: left;
	width: 25.5%;
	padding: 0; margin: 0;	
}	
#sidebar h1 {
	margin-top: 10px;
	padding: 5px 0 5px 10px; 
	font: bold 1.1em Verdana, 'Trebuchet MS', Sans-serif;
	color: #555;
	background: #EEF0F1 url(images/bullet_02.gif) repeat-x left bottom;	
	border: 1px solid #EFF0F1;
}
#sidebar .left-box {
	border: 1px solid #EFF0F1; 
	margin: 0 0 5px 0;	
}
#sidebar ul.sidemenu {
	list-style: none;
	text-align: left;
	margin: 3px 0 8px 0; padding: 0;
	text-decoration: none;		
}
#sidebar ul.sidemenu li {
	border-bottom: 1px solid #EFF0F1;
	background: url(images/bullet_01.gif) no-repeat 5px 5px;	
	padding: 2px 0 2px 25px;
	margin: 0 2px;	
}
#sidebar ul.sidemenu a {
	font-weight: bolder;
	text-decoration: none;	
	background-image: none;	
}

/* Footer */	
#footer {
	color: #666666;
	background: #313131 url(images/footer.jpg) no-repeat center top;
	clear: both;
	width: 920px;
	height: 55px;
	text-align: center;	
	font-size: 92%;
}
#footer a { 
  text-decoration: none; 
  color: #FFF;
}

/* alignment classes */
.float-left  { float: left; }
.float-right { float: right; }
.align-left  { text-align: left; }
.align-right { text-align: right; }

/* display and additional classes */
.clear { clear: both; }
.gray { color: #CCC; }

/* table elements */
table {
	border-width: 0px;
	empty-cells: hide;
}

tr.mainbody { border-style: solid;
	border-color: #ddddff;
	border-bottom-width: 1px;
	border-top-width: 0px;
	border-left-width: 1px;
	border-right-width: 1px;
	background-color: #e8e8ea;
}

tr.mainhigh { border-style: solid;
	border-color: #ddddff;
	border-bottom-width: 1px;
	border-top-width: 0px;
	border-left-width: 1px;
	border-right-width: 1px;
	background-color: #aaaaff;
}

tr.mainsel { border-style: solid;
	border-color: #ddddff;
	border-bottom-width: 1px;
	border-top-width: 0px;
	border-left-width: 1px;
	border-right-width: 1px;
	background-color: #ffc8ca;
}

tr.mainhighsel { border-style: solid;
	border-color: #ddddff;
	border-bottom-width: 1px;
	border-top-width: 0px;
	border-left-width: 1px;
	border-right-width: 1px;
	background-color: #ffaaff;
}

tr.maintitle { border-style: solid;
	border-color: #adade4;
	border-bottom-width: 0px;
	border-top-width: 1px;
	border-left-width: 1px;
	border-right-width: 1px;
	background-color: #4F82CB;
}

.pagination {
	width: auto;
	text-align: right;
	margin-top: 5px;
}

.pagination strong, .pagination b {
	font-weight: normal;
}

.pagination span strong {
	padding: 0 2px;
	margin: 0 2px;
	font-weight: normal;
	color: #FFFFFF;
	background-color: #d54c45;
	border: 1px solid #bfbfbf;
	font-size: 0.9em;
}

.pagination span a, .pagination span a:link, .pagination span a:visited, .pagination span a:active {
	font-weight: normal;
	text-decoration: none;
	color: #d54c45;
	margin: 0 2px;
	padding: 0 2px;
	background-color: #eeeeee;
	border: 1px solid #bababa;
	font-size: 0.9em;
	line-height: 1.5em;
}

.pagination span.page-sep {
	display: none;
}


/* Form button styles
---------------------------------------- */
a.button1, input.button1, input.button3, a.button2, input.button2 {
	color: #000;
	background-color: #FAFAFA;
	background-image: url("images/bg_button.gif");
}

a.button1, input.button1 {
	border-color: #666666;
}

input.button3 {
	background-image: none;
}

/* Alternative button */
a.button2, input.button2, input.button3 {
	border-color: #666666;
}

/* <a> button in the style of the form buttons */
a.button1, a.button1:link, a.button1:visited, a.button1:active, a.button2, a.button2:link, a.button2:visited, a.button2:active {
	color: #000000;
}

/* Hover states */
a.button1:hover, input.button1:hover, a.button2:hover, input.button2:hover, input.button3:hover {
	border-color: #BC2A4D;
	color: #BC2A4D;
}

/* Page */

p#pfc_handle {
  margin: 0; padding: 0;
  display: inline;
  margin-right: 5px;
  color: black;
  font-weight: bold;
  /*background-color: #EEE;*/
  font-size: 70%;          /* these two line fix a display problem in IE6 : */
  vertical-align: top;
  white-space: pre;
}