/*
 * Boxes
 */

/* COSIS-Boxes (right) */
.box-rframe {
	margin-bottom: 25px;
}

.box-rframetop {
	border: 1px solid #CCCCCC;
	height: 17px;
	background: url('/images/box_rbg.gif') repeat-x left top;
	padding-left: 5px;
	padding-top: 3px;
	font-family: Georgia, Times, serif;
	color: #5F656B;
}

.box-rframect {
	border-right: 1px solid #E0E0E0;
	background-color: #F0F0F0;
	border-bottom: 1px solid #585F95;
	padding: 8px;
}

.box-rframect form {
	margin: 0px;
	padding: 0px;
}

.cosisloginfields {
	width: 150px;
	text-align: right;
}

.box-rframect input {
	width: 85px;
	font-size: 11px;
	margin-bottom: 3px;
}

.box-rframect .input_sm {
	width: 65px;
	font-size: 11px;
	line-height: 14px;
	margin-bottom: 8px;
	margin-right: 20px;
}

* html .box-rframect .input_sm {
}

.box-rframect a {
	color: #D47300;
	text-decoration: underline;
}

.box-rframect a:hover {
	color: #D47300;
	text-decoration: none;
}


/* Info Boxes */
.box_info {
	border: 0px;
	border-top: 1px dotted #ff0000;
	border-bottom: 1px dotted #ff0000;
	padding: 0px 20px 0px 41px;
	min-height: 31px;
	margin-bottom: 8px;
}

.box_error {
	border: 0px;
	border-top: 1px dotted #ff0000;
	border-bottom: 1px dotted #ff0000;
	padding: 0px 20px 0px 41px;
	min-height: 31px;
	margin-bottom: 8px;
}

* html .box_info,
* html .box_error {
	height: 31px;
}

/*
 * Boxes with round corners
 */

.dialog {
	position:relative;
	margin:0px auto;
	min-width:8em;
	max-width:1024px; /* based on image dimensions - not quite consistent with drip styles yet */
	/* color:#fff; */
	z-index:1;
	margin-left:10px; /* default, width of left corner */
	margin-bottom:0.5em; /* spacing under dialog */
}

.dialog .content,
.dialog .t,
.dialog .b,
.dialog .b div {
	background:transparent url('/images/boxes/box2.png') no-repeat top right;
	_background-image:url('/images/boxes/box2.png');
}

.dialog .content {
	position:relative;
	zoom:1;
	_overflow-y:hidden;
	/* padding:0px 10px 0px 0px; */
	padding: 7px 13px 0 0;
	width: auto;
}

.dialog .t {
	/* top+left vertical slice */
	position:absolute;
	left:0px;
	top:0px;
	width:10px; /* top slice width */
	margin-left:-10px;
	height:100%;
	_height:1600px; /* arbitrary long height, IE 6 */
	background-position:top left;
}

.dialog .b {
	/* bottom */
	position:relative;
	width:100%;
}

.dialog .b,
.dialog .b div {
	height:10px; /* height of bottom cap/shade */
	font-size:1px;
}

.dialog .b {
	background-position:bottom right;
}

.dialog .b div {
	position:relative;
	width:10px; /* bottom corner width */
	margin-left:-10px;
	background-position:bottom left;
}

.dialog .hd,
.dialog .bd,
.dialog .ft {
	position:relative;
}

.dialog .wrapper {
	/* extra content protector - preventing vertical overflow (past background) */
	position:static;
	max-height:1000px;
	overflow:auto; /* note that overflow:auto causes a rather annoying redraw "lag" in Firefox 2, and may degrade performance. Might be worth trying without if you aren't worried about height/overflow issues. */
}

.dialog h1,
.dialog h2,
.dialog p {
	margin:0px; /* margins will blow out backgrounds, leaving whitespace. */
	padding:0.5em 0px 0.5em 0px;
}

.dialog h1 {
	padding-bottom:0px;
}

.dialog-red .content,
.dialog-red .t,
.dialog-red .b,
.dialog-red .b div {
	background-image: url('/images/boxes/box_red.png');
	_background-image: url('/images/boxes/box_red.png');
}

.dialog-grey .content,
.dialog-grey .t,
.dialog-grey .b,
.dialog-grey .b div {
	background-image: url('/images/boxes/box_grey.png');
	_background-image:url('/images/boxes/box_grey.png');
}