/* top elements */
* { padding: 0; margin: 0; }

body {
	padding: 0;
	font: normal .72em/1.5em 'Trebuchet MS', sans-serif;
	color: #444;
	background-color: #000000;
	text-align: center;	
	height: 100%;	
}

/* links */
a { background: inherit; color: #993333; text-decoration: none; }
a:hover { background: inherit; color: #006699; text-decoration: underline; }

/* headers */
h1, h2, h3 {
	font: bold 1em 'Trebuchet MS', Tahoma, Sans-serif;
	color: #333;
}
h1 { font-size: 1.4em; }
h2 { font-size: 1.2em; text-transform: uppercase;}
h3 { font-size: 1.2em; }

p, h1, h2, h3 {
	margin: 10px 15px;
}
ul, ol {
	margin: 10px 30px;
	padding: 0 15px;	
	color: #993333;	
}
ul span, ol span {
	color: #333;
}

/* images */
img {
  border: 1px solid #DDD; 
  /*padding: 5px;*/
  background-color: #FFF;
}

img.float-right {
  margin: 5px 0px 5px 15px;  
}

img.float-left {
  margin: 5px 15px 5px 0px;
}

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 #eee;    
}

acronym {
  cursor: help;
  border-bottom: 1px solid #777;
}

blockquote {
	margin: 15px; 	padding: 0 0 0 20px;  	
  	background: #FAFAFA url(../images/quote.gif) no-repeat 3px 5px; 
	border: 1px solid #eee; 
	font: bold 1.2em/1.5em 'Trebuchet MS', Tahoma, sans-serif; 
	color: #666666;	
}

/* form elements */
form {
	/*margin:10px 15px; padding: 0;
	border: 1px solid #eee; 
	background-color: #FAFAFA; */
}

label {
	display:block;
	font-weight:bold;
	margin:5px 0;
	font: normal 11px Arial, verdana, sans-serif;
}

input {
	padding: 2px;
	border:1px solid #000000;
	font: normal 11px Arial, verdana, sans-serif;
	color:#000000;
}

.radioBtn {
	padding: 2px;
	font: bold 12px Arial, verdana, sans-serif;
	color:#ffffff;
}

textarea {
	width:350px;
	padding:2px;
	font: normal 11px Arial, verdana, sans-serif;
	border:1px solid #000000;
	height:100px;
	display:block;
	color:#000000;
}

input.button { 
	margin: 0; 
	font: bold 11px Arial, Sans-serif; 
	border: 1px solid #CCC;
	background: #FFF; 
	padding: 2px 3px; 
	color: #333;	
}

.btn_black_mdm {
	font: bold 11px Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	color: #ffffff; 
	background: #ffffff url(../images/btn_black_mdm.gif) no-repeat;
	width:84px;
	height:24px;
	border: 0px none;	
}

.ccjoin {
	width:200px;
	padding:0px;
	border:1px solid #000000;
	height:60px;
	display:block;
	color:#000000;
	padding: 2px; 
}

/* search form */
.searchform {
	background-color: transparent;
	border: none;	
	margin: 0; padding: 0;	
}
.searchform p { margin: 10px; padding: 0; }
.searchform input.textbox { 
	width: 130px;
	color: #333; 
	height: 20px;
	padding: 2px;	
	vertical-align: top;
}
.searchform input.button { 
	font: bold 12px Arial, Sans-serif; 
	color: #333;	
	width: 60px;
	height: 26px;
	border: none;
	padding: 3px 5px;	
	vertical-align: top;
}

/***********************
	  LAYOUT
************************/
#wrap 
{
	background: #FFF url(../images/wrap-bg.jpg) repeat-y;
	margin: 10px auto 0 auto; /* Sets the margin properties for an element using shorthand notation (top, right, bottom, left) */
	text-align: left; /* Redefines the text alignment defined by the body element. */
	width: 870px;
	border: 4px solid #000000;
}
	
/*#wrap {
	width: 770px;
	margin: 0 auto;
	background: #FFF url(../images/wrap-bg.jpg) repeat-y;
}*/

#header-content, #content {
	width: 840px;	
}

/* header */
#header {
	position: relative;
	height: 176px;
	text-align: left;		
	margin: 0; padding: 0;	
	background: #FFF;
}
#header .headerphoto {
	position: absolute;
	right: 15px ; top: 15px;
	width: 455px;
	height: 156px;
	background: #FFF url(../images/headerphoto.jpg) no-repeat;	
}

#header #logo-box {
	position: absolute;
	left: 15px;
	top: 15px;
	width: 380px;
	height: 156px;
	background-color: #000000;
}

#logo-box #logo {
	position: absolute;
	letter-spacing: 1px;
	color: #FFF;
	margin: 0;
	padding: 0;
	/* change the values of left and top to adjust the position of the logo */
	top: 34px;
	left: 20px;
	font-family: Arial;
	font-size: 34px;
	font-weight: bold;
}

#header2 {
	position: relative;
	height: 40px;
	text-align: left;		
	margin: 0; padding: 0;	
	background: #FFF;
	margin-top:14px;
	width: 870px;
}

#header2 #title {
	position: absolute;
	left:15px;
	height: 25px;
	width: 820px;
	padding:10px;
	background-color: #000000;
	letter-spacing: 1px;
	color: #FFF;
	margin: 0;
	/* change the values of left and top to adjust the position of the logo */
	font-family: Arial;
	font-size: 20px;
	font-weight: bold;
}

#header2 #username {
	position: absolute;
	left:700px;
	height: 25px;
	width: 150px;
	padding-top:5px;
	padding-bottom:10px;
	background-color: #000000;
	letter-spacing: 1px;
	color: #FFF;
	margin: 0;
	/* change the values of left and top to adjust the position of the logo */
	font-family: Arial;
	font-size: 12px;
	font-weight: bold;
	text-align:right;
}

/* header menu */
#menu {	
	clear: both;
	margin: 0; 
	padding: 0 0 0px 0;		
	width: 870px;		
	background: #FFF url(../images/wrap-bg.jpg) repeat-y;
	float: left;
}
#menu ul {
	font: bolder 14px 'Trebuchet MS', sans-serif;
	width: 840px;
	color: #FFF;
	background-color: #000000;		 	
	margin: 0 15px;
	padding: 0;
	display: inline;
	/*border-bottom: 6px solid #FFF;*/
	float: left;	
}
#menu li {
	float: left;
	list-style: none;
}
#menu li a {
	display: block;
	padding: 5px 15px;	
	color: #FFF;	
	text-decoration: none;	
}
#menu li a:hover {
	background: #D51C17;
	/*background: #4874B1;*/
	color: #FFF;
}
#menu li a#current  {
	background: #D51C17;
	color: #FFF;
}
/* user menu */
#menu2 {	
	clear: both;
	margin: 0; 
	padding: 0 0 0px 0;		
	width: 870px;		
	background: #FFF url(../images/wrap-bg.jpg) repeat-y;
	float: left;
}

#menu2 ul {
	font: bolder 12px 'Trebuchet MS', sans-serif;
	width: 840px;
	color: #FFF;
	background-color: #D51C17;		 	
	margin: 0 15px;
	padding: 0;
	display: inline;
	border-bottom: 6px solid #FFF;
	float: left;	
}
#menu2 li {
	float: left;
	list-style: none;
}
#menu2 li a {
	display: block;
	padding: 5px 15px;	
	color: #FFF;	
	text-decoration: none;	
}
#menu2 li a:hover {
	/*background: #D51C17;*/
	background: #000000;
	color: #FFF;
}
#menu2 li a#current  {
	background: #D51C17;
	color: #FFF;
}
/* content */
#content-wrap {
	clear: both;
	float: left;
	width: 100%;
	background: #fff url(../images/content.jpg) repeat-y;
}
#content-wrap2 {
	clear: both;
	float: left;
	width: 100%;
	background: #fff url(../images/content2.jpg) repeat-y;
}
#content {
	clear: both;
	text-align: left;	
	padding: 0;
	margin: 0 auto;			
}

.maincon 
{
	width: 838px;
	height:350px;
	overflow-y: scroll;
	text-align: justify;
	padding: 0px 0px 0px 0px;
	border:1px solid #000000;
}

.maincon_iphone 
{
	width: 838px;
	overflow-y: scroll;
	text-align: justify;
	padding: 0px 0px 0px 0px;
	border:1px solid #000000;
}

/* sidebar */
#sidebar {
	float: right;
	width: 220px;
	margin: 0 0 10px 0; padding: 0;	
}	
#sidebar h1 {
	padding: 10px 0px 5px 10px;
	margin: 0;	
	color: #000000;	
}
.sidebox {
	margin-bottom: 10px;	
}

/* sidebar menu */
#sidebar ul.sidemenu {
	list-style:none;
	margin: 10px 0 15px 0;
	padding: 0;		
}
#sidebar ul.sidemenu li {
	padding: 0px 10px;
}
#sidebar ul.sidemenu a {
	display:block;
	font-weight:normal;
	color: #333;
	height: 1.5em;	
	padding:.3em 0 .3em 15px;
	line-height: 1.5em;
	border-bottom: 1px dashed #D5D5D5;
	text-decoration:none;
}

#sidebar ul.sidemenu a#current  {
	background: #D51C17;
	color: #FFF;
	display:block;
	font-weight:bold;
	height: 1.5em;	
	line-height: 1.5em;
	border-bottom: 1px solid  #D51C17;
	text-decoration:none;
	padding: .3em 0 .3em 10px;
	border-left: 5px solid  #D51C17;

}

#sidebar ul.sidemenu a.top{	
	border-top: 1px dashed #D5D5D5;
}
#sidebar ul.sidemenu a:hover {
	padding: .3em 0 .3em 10px;
	border-left: 5px solid  #D51C17;
	color: #D51C17;		
}

/* main */
#main {
	float: left;
	width: 600px;	
	margin: 0 0 10px 0; padding: 0;	
}

#main h1 {
	padding: 10px 0 5px 5px;
	margin: 0 0 0 10px;
	border-bottom: 1px dashed #D5D5D5; 	
}

#main2 {
	float: left;
	width: 800px;	
	margin: 0 0 10px 0; padding: 0;	
}

#main2 h1 {
	padding: 10px 0 5px 5px;
	margin: 0 0 0 10px;
	border-bottom: 1px dashed #D5D5D5; 	
}

.post {
	margin: 0; padding: 0;	
}
.post .post-footer {
	background-color: #fafafa;
	padding: 5px; margin-top: 20px;
	font-size: 95%;
	border: 1px solid #eee;
}
.post .post-footer .date {
	background: url('../images/clock.gif') no-repeat 0 center;
	padding-left: 20px; margin: 0 10px 0 5px;
}
.post .post-footer .comments {
	background: url('../images/comment.gif') no-repeat 0 center;
	padding-left: 20px; margin: 0 10px 0 5px;
}
.post .post-footer .readmore {
	background: url('../images/page.gif') no-repeat 0 center;
	padding-left: 20px; margin: 0 10px 0 5px;
}

/* footer */
#footer {
	clear: both;
	margin: 0; padding: 12px 0 0 0;
	font: normal .92em/1.5em 'Trebuchet MS', Tahoma, Arial, sans-serif;
	height: 45px;
	background: url(../images/footer-bg.jpg) no-repeat left bottom;
	color: #666666;
	text-align: center;
}
#footer p {
	margin: 0; padding: 0;
}
#footer a {
	text-decoration: none;
	color: #777;	
}
#footer a:hover {
	text-decoration: underline;
	color: #333;
}

/* alignment classes */
.float-left  { float: left; }
.float-right { float: right; }
.align-left  { text-align: left; }
.align-right {	text-align: right; }

/* additional classes */
.clear { clear: both; }
.gray  { color: #BFBFBF; }

.info, .success, .warning, .error, .validation, .login{
border: 1px solid;
margin: 10px 0px;
padding:15px 10px 15px 50px;
background-repeat: no-repeat;
background-position: 10px center;
width:780px;
}
.success2{
border: 1px solid;
margin: 10px 0px;
padding:15px 10px 15px 50px;
background-repeat: no-repeat;
background-position: 10px center;
width:780px;
height:100px;
color: #4F8A10;
background-color: #DFF2BF;
background-image:url('../images/success.png');
}
.success2 a
{
	text-decoration: none;
	color: #4F8A10;
	font-weight:bold;
}
.success2 a:hover
{
	text-decoration: none;
	color: #ff6600;
}
.info {
color: #00529B;
background-color: #BDE5F8;
background-image: url('../images/info.png');
}
.success {
color: #4F8A10;
background-color: #DFF2BF;
background-image:url('../images/success.png');
}
.warning {
color: #9F6000;
background-color: #FEEFB3;
background-image: url('../images/warning.png');
}
.error {
color: #D8000C;
background-color: #FFBABA;
background-image: url('../images/error.png');
}
.validation {
color: #D63301;
background-color: #FFCCBA;
background-image: url('../images/validation.png');
}
.login {
color: #D63301;
background-color: #FFCCBA;
background-image: url('../images/vallogin.png');
width:160px;
padding:5px 5px 5px 25px;
text-align:right;
}



.msgcount {
color: #D51C17;
}


.box {
	width: 70px;
	height: 60px;
	/*border: 1px solid #ffffff;*/
	background-color: #000000;
	text-align: center;
	color: #ffffff;
	font-weight:bold;
	font-size:10px;
	/*padding:4px;*/
	text-decoration:none;
	margin:0px;
	/*background: url('../images/book1.jpg') no-repeat;	*/
}

.box:hover {
	/*padding:4px;*/
	/*border: 1px solid #ffffff;*/
	/*background: url('../images/book2.jpg') no-repeat;*/
	background-color: #D51C17;
}

.boxAlt {
	width: 70px;
	height: 60px;
	/*border: 1px solid #ffffff;*/
	background-color: #3F3D3D;
	text-align: center;
	color: #ffffff;
	font-weight:bold;
	font-size:10px;
	/*padding:4px;*/
	text-decoration:none;
	margin:0px;
	/*background: url('../images/bookAlt.jpg') no-repeat;*/
}

.boxAlt:hover {
	/*padding:4px;*/
	/*background: url('../images/bookAlt2.jpg') no-repeat;*/
	/*border: 1px solid #ffffff;*/
	background-color: #D51C17;
}