/*
 * - BASIC CSS ELEMENTS
 *
 * © 2006 Danny Hiemstra
 */

.block {
	display: block;
}
.inline {
	display: inline;
}
.left {
	float: left;
}
.right {
	float: right;
}
.clear {
	height: 0;
	min-height: 0;
	visibility: hidden;
	clear: both;
	font-size: 0px;
}

/* font styles */
.normal {
	font-weight: normal;
}
.bold {
	font-weight: bold;
}
.italic {
	font-style: italic;
}
.underline {
	text-decoration: underline;
}
.line-through {
	text-decoration: line-through;
}

/* text sizes */
.small {
	font-size: 7pt;
}

/* elements for numbers / money values should be centered */
.num {
	text-align: center;
}


/* color elements */
.gray {
	color: #666;
}
.darkgray {
	color: #333;
}
.lightgray {
	color: #aaa;
}

input.button {
	cursor: pointer;
	width: auto;
	padding-left: 1.5em;
	padding-right: 1.5em;
}

.formField_text, .formField_password, .formField_select, .formField_textarea {
	border: 1px solid #333;
}
.formField_select {
	padding: 0;
}
.formField_select option {
	padding: 1px;
	padding-right: 1em;
}
.formField_radio {
	margin-right: 2px;
	margin-bottom: -2px;
}

.invalid {
	background-color: #f2dcdb;
	border: 1px solid #c0504d;
}
.valid {
	background-color: #dbf2dc;
	border: 1px solid green;
}

/* Form errors */
.formError_right, .formError_bottom {
	display: inline;
	color: #cc0000;
}

/* Boxes for information screens, error screens etc */
.box_yellow, .box_red, .box_blue, .box_green, .box_orange, .box_purple {
	width: auto;
	margin: 1em;
	margin-bottom: 1.5em;
	padding: 0.5em;
	border-width: 1px;
	border-style: solid;
	color: black;
}

.box_yellow {
	border-color: #c3c32c;
	background-color: #ffffe1;
}
.box_red {
	border-color: #c0504d;
	background-color: #f2dcdb;
}
.box_blue {
	border-color: #4f81bd;
	background-color: #dbe5f1;
}
.box_green {
	border-color: #9bbb59;
	background-color: #ebf1dd;
}
.box_orange {
	border-color: #f79646;
	background-color: #fdeada;
}
.box_purple {
	border-color: #8064a2;
	background-color: #e5e0ec;
}

/* Rounded box */
.rbox {
	margin: 1em;
	margin-bottom: 0.5em;
}
.rbox .top-left, .rbox .top-right, .rbox .bottom-left, .rbox .bottom-right {
	height: 9px;
	font-size: 2px;
}
.rbox .top-left, .rbox .bottom-left { margin-right: 9px; }
.rbox .top-right, .rbox .bottom-right { margin-left: 9px; margin-top: -9px; }
.rbox .top-right { background-position: 100% 0; }
.rbox .bottom-left  { background-position: 0 -9px; }
.rbox .bottom-right { background-position: 100% -9px; }
.rbox .inside { padding-left: 10px; padding-right: 10px; }
.rbox .notopgap    { margin-top: 0; }
.rbox .nobottomgap { margin-bottom: -1px; padding-bottom: 1px; }

/* Color specific */
.rbox_red .top-left, .rbox_red .top-right, .rbox_red .bottom-left, .rbox_red .bottom-right { 
	background-image: url(../images/box_red.gif);
}
.rbox_red .inside {
	border-left: 1px solid #c0504d;
	border-right: 1px solid #c0504d;
	background: #f2dcdb;
	color: #000000;
}

.rbox_yellow .top-left, .rbox_yellow .top-right, .rbox_yellow .bottom-left, .rbox_yellow .bottom-right { 
	background-image: url(../images/box_yellow.gif);
}
.rbox_yellow .inside {
	border-left: 1px solid #c3c32c;
	border-right: 1px solid #c3c32c;
	background: #ffffe1;
	color: #000000;
}