#messages,
#messages_received {
	min-height: 363px;
	padding-bottom: 20px;
}

.MessageWhiteWrite {
	color: #FFF
}

/*Tabs*/

#messageTabs {
	width:100%; 
	margin:0;
	padding:0;
	height:31px; 
	background-image:url(../images/layout/messages/tab_line.gif); 
	background-repeat:repeat-x; 
	background-position:bottom left; 
}
#tabNewInactive {
	float:right; 
	height:31px; 
	width:107px;
	margin-left:6px;
	background-image:url(../images/layout/messages/tab_nieuwbericht_inactive.gif); 
	background-repeat:no-repeat;
	text-align:center;
}
#tabSendInactive {
	float:right; 
	height:31px; 
	width:85px; 
	margin-left:7px;
	background-image:url(../images/layout/messages/tab_verzonden_inactive.gif); 
	background-repeat:no-repeat;
	text-align:center;
}
#tabReceivedActive {
	float:right; 
	height:31px; 
	width:107px; 
	background-image:url(../images/layout/messages/tab_ontvangen_active.gif); 	
	background-repeat:no-repeat;
}
#tabSendActive {
	float:right; 
	height:31px; 
	width:107px;
	margin-left:7px;
	background-image:url(../images/layout/messages/tab_verzonden_active.gif); 	
	background-repeat:no-repeat;
}
#tabReceivedInactive {
	float:right; 
	height:30px; 
	width:90px; 
	margin-left:7px;
	background-image:url(../images/layout/messages/tab_ontvangen_inactive.gif); 
	background-repeat:no-repeat;
	text-align:center;
}

#messageTabs p { margin-top:6px; }
#messageNav { 
	width:100%; 
	margin:20px 0 25px 0; 
}
#leftLinks { float:left; }
#rightLinks	{ float:right; }
#rightLinks span { padding:4px; }
#leftLinks span { 
	padding:4px;
	color: #CACACA
}

/*New Message*/

#newMessageTabs {
	width:564px; 
	margin:0; 
	padding:0;
	height:31px;
}

#tabReceivedInactiveNew {
	float:right; 
	height:30px; 
	width:90px; 
	margin-left:7px;
	background-image:url(../images/layout/messages/tab_ontvangen_inactive_new.gif); 
	background-repeat:no-repeat;
	text-align:center;
}
#tabNewActive { 
	float:right; 
	height:31px; 
	width:134px; 
	margin-left:7px;
	background-image:url(../images/layout/messages/tab_nieuwbericht_active.gif); 	
	background-repeat:no-repeat;
}
#tabSendInactiveNew {
	float:right; 
	height:31px; 
	width:85px; 
	margin-left:7px;
	background-image:url(../images/layout/messages/tab_verzonden_inactive_new.gif); 
	background-repeat:no-repeat;
	text-align:center;
}
#newMessageBox { 
	width:564px;
	background: url(../images/layout/messages/newmessagesbg.gif) repeat-y; 
}
#newMessageBox table { margin:30px 35px 25px 30px; }
#newMessageTabs p { margin-top:6px; }

/*Send Message*/

#newMessage {
	margin:25px 20px 25px 20px;
	padding: 10px 15px 15px 15px;
	background-color: #ECECEC;
}

#previousMessage {
	background-color:#ECECEC;
	border:1px solid #ECECEC;
	margin:0 20px;
	padding:10px 15px 15px;
}

#previousMessageTitel {
	font-size: 18px;
	padding: 5px;
} 

#previousMessageTitel h1 {
	float: left;
}

#previousMessageTitel h1#flirt-header {
	width: 145px;
}

#previousMessageTitel img.qmark {
	margin-left: 10px;
}

.messageRow { 
	padding:5px; 
	color: #8F8F8F
}

.messageRow label { 
	color:#8F8F8F; 
}

.messageRow img { 
	position: absolute; 
	padding: 0px 0 0 10px; 
}

.messageRowRight { 
	text-align:right;
}

#pointer { 
	margin-left: 20px; 
	width:100px; 
}

#userinfo {
	border: 0px; 
	width: 90%;
	margin: 0 20px 25px 20px;
}

#userHistory { 
	text-align: left; 
	vertical-align: top; 
	padding: 16px 0 0 12px; 
}

#userbox { 
	width: 272px; 
}

.line { 
	width:100%; 
	height:10px;
	margin: 20px 0 25px 0; 
	background-image:url(../images/layout/messages/tab_line.gif);
	background-repeat: repeat-x;
	background-position:bottom left;  
}

/* Received */

#receivedMessage {
	background-color:#FFFFFF;
	border:1px solid #FFFFFF;
	margin:30px 20px 0;
	padding:10px 15px 15px;
}

/*History*/

#historyIntro { 
	margin:30px 0 0 0; 
}

#historyTitle { 
	width: 285px; 
	font-size: 24px; 
	font-weight:bold; 
}

#messageTable { 
	width: 100%; 
	padding: 0; 
	border: 0; 
	color:#8c8c8c; 
}

#messageTable th { 
	font-weight:normal; 
}

#messageTable td { 
	padding:3px;
	color: #FFF 
}

.headerbar { 
	height:40px; 
}
.messageNew { 
	font-weight: bold; 
	color: black; 
}

.messageRollover { 
	background-color: #656565; 
	color: #000; 
	cursor: pointer;
}
.messageNewRollover { 
	background-color: #D5D5D5; 
	font-weight: bold; 
	color:#000; 
}

.senderCol { width:125px; } 
.titleCol { width:225px; } 


/*Buttons*/

.submit_btn {	
	display: block;
	width: 150px;
	height: 28px;
	background: url(../images/layout/messages/button_verstuur_bericht.gif) top left no-repeat;
	border: 0;
	cursor: pointer;
	text-indent: -9999px;
}

/*Forms*/

/* --- New Message (Leon) --- */
#newmessageform {
	background: url(../images/layout/messages/newmessagesbgheader.gif) center top no-repeat;
	position: relative;
	color: #969696;
}

#newmessageform form {
	padding: 28px;
	background: url(../images/layout/messages/newmessagesbgfooter.gif) center bottom no-repeat;
}

#newmessageform form span {
	display: block;
	width: 81px;
	float: left;
	color: #8f8f8f
}

#newmessageform form select,
#newmessageform form input,
#newmessageform form textarea {
	background:#ECECEC none repeat scroll 0 0;
	border:1px solid #CFCFCF;
	color: #000000 !important;
	padding:2px 0
}

#newmessageform form button#send-msg-btn {
	background: url(../images/layout/messages/button_verstuur_bericht.gif) no-repeat;
	height: 30px;
	width: 152px;
}

#body {
	background:#ECECEC none repeat scroll 0 0;
	border:1px solid #CFCFCF;
	color:#000000;
	padding-left:3px;
	width:371px;
}

#subject {
	background:#ECECEC none repeat scroll 0 0;
	border:1px solid #CFCFCF;
	padding-left:3px;
	width:368px
}

font.savemsg {
	color: #8f8f8f;
}

#error_recipient {
	position: absolute;
	top: 0;
	left: 115px;
	width: auto !important;
	padding: 1px 2px !important;
}

#error_subject {
	position: absolute;
	top: 40px;
	left: 115px;
	width: auto !important;
	padding: 1px 2px !important;
}

#error_body {
	position: absolute;
	top: 75px;
	left: 115px;
	width: auto !important;
	padding: 1px 2px !important;
}
