/* 
Define a containing block that uses the full width, and therefore
we must set padding and margin to 0 
*/
.ComposePanel {
	width:100%;
	padding: 0;
	border: none;
}

/* 
Draw a region with background and border which will be pushed to be full width
by the content and give it some padding so stuff isn't rammed up against the edges
 */
.ComposeContentPanel {
	background-color:#D4D0C8;
	border: thin solid black;
	margin:0;
	padding:5pt;
}

.ComposeActionPanel {
	float:right;
	margin: 0;
	text-align: right;
}

/* The margin on the right is for the action panel */
.ComposeHeaderPanel {
	margin-right:120px;
}

.ComposeMessagePanel {
	float:right;
	margin-top:10px;
}

.ComposeAction {
	float: left;
	clear:left;
	width: 100px;
}

.ComposeInput {
	clear:left;
	display:block;
}

/* The labels float left in the margin of the ComposeInputRegion */
.ComposeLabel {
	float:left;
	width: 100px;
	display: block;
	text-align: right;
	font-weight: bold;
}

/* The margin is for the ComposeLabels */
.ComposeInputRegion {
	display:block;
	margin-left:110px;
}

.ComposeControl {	
	display: block;
	border: thin inset;
	padding: 0 0 0 2pt;
	margin: 0;
	background-color:white;
}

/* 
Again use the full width, but don't create scrollbars,
so set no border, margin or padding. However if we use
100%, then it doesn't seem to like drawing the input on 
the same line as the actions panel or labels, and we end
up with multi line input controls which aren't multiline.
*/
input.ComposeControl {
	width:95%;
	margin: 0;
	border: none;
	padding: 0;
	font-size: 10pt;
}

/* 
To get a text area full width, we have to set no border and no padding, as
the 100% tells the inner width to be 100% and the border/padding push it out 
from there.  We add the border and padding using the containing element
*/
textarea.MessageComposeControl {
	height:350px;
	width:100%;
	border: none;
	padding: 0;
	margin: 0;
	font-size: 10pt;
}

/* But we do want a border, so we apply that here. */
.MessageComposeControl {
	border: thin inset;
	padding: 0 0 0 5pt;
	background-color:white;
	margin: 10pt 0 0 0;
	display: block;
	clear: both;
}