/* ################## Tags ################## */

body, html, form {
	padding: 0px;
	margin: 0px;
}
body {
	background-color: #C0C0C0;
	background-image: url(images/back.png);
	background-repeat: repeat-y;
	background-position: top left;
}
img {
	vertical-align: middle;
}
label {
	cursor: pointer;
}
a img {
	border: 0px;
}
input {
	vertical-align: middle;
}
p {
	margin: 5px 0px;
}
ul {
	margin: 5px 5px 5px 35px;
	padding: 0px;
}
li {
	margin: 0px;
	padding: 0px;
}

a:link {
	color: #0000FF;
	text-decoration: underline;
}
a:visited {
	color: #800080;
	text-decoration: underline;
}
a:hover, a:active {
	color: #FF0000;
}

fieldset {
	border: 1px solid #C0C0C0;
	margin: 0px 0px 5px 0px;
}
legend {
	font-size: 10px;
	font-weight: normal;
}

/* ################## Generic ################## */

#page {
	background-color: #FFFFFF;
	width: 700px;
	margin: 0px;
	padding: 0px;

	font-family: Verdana, sans;
	font-size: 12px;
	color: #000000;
}

.box {
	border: 1px solid #C0C0C0;
	margin: 5px;
	padding: 0px;

	background-repeat: no-repeat;
	background-position: top left;
}
.hidecontainer {
	margin: 0px;
	padding: 5px;
	clear: both;
	overflow: auto;
}
.textfield {
	border: 1px solid #808080;
	font-size: 12px;
	font-family: Verdana, sans;
	color: #000000;
	background-color: #FFFFFF;
	margin: 0px;
	padding: 2px;
}
.button {
	background-color: #e6e6e6;
	color: #000000;
	border-top: 1px solid #cccccc;
	border-left: 1px solid #cccccc;
	border-bottom: 1px solid #999999;
	border-right: 1px solid #999999;
	margin: 0px;
	cursor: pointer;
}
.button:hover {
	background-color: #e6e6e6;
	border-top: 1px solid #999999;
	border-left: 1px solid #999999;
	border-bottom: 1px solid #cccccc;
	border-right: 1px solid #cccccc;
}

.tab {
	white-space: pre;
}

.error {
	margin: 5px;
	padding: 5px;
	border: 1px solid #FF8080;
	background-color: #FFC0C0;
}

.short {
	font-size: 10px;
	font-style: italic;
}

.copyright {
	font-size: 10px;
	margin: 5px 20px;
}

.labelinput label {
	cursor: auto;
	float: left;
	display: block;
	margin-top: 3px;
}
.labelinput {
	margin-bottom: 5px;
}
.labelinput input, .labelinput textarea {
	margin-left: 55px;
	display: block;
}

#upload {
	width: 500px;
}

/* ################## Information box ################## */

.pattern-output {
	border: 1px solid #C0C0C0;
	background-color: #F0F0F0;
	font-family: "Courier New", monospace;
	margin: 5px 0px;
	overflow: auto;
}
.pattern-output .text {
	background-color: #C0C0C0;
	color: #FFFFFF;
	padding: 2px 5px;
	float: left;
	margin-right: 2px;
}
.pattern-output .pattern {
	padding: 2px;
}

#infobox {
	height: 14px;
	font-size: 10px;
	margin: 5px 0px;
}
#infobox .iname, #infobox .ivalue {
	float: left;
	padding: 1px 5px;
	border: 1px solid #C0C0C0;
}
#infobox .iname {
	background-color: #C0C0C0;
	color: #FFFFFF;
}
#infobox .ivalue {
	background-color: #F0F0F0;
	font-weight: bold;
	padding: 1px 10px;
}

/* ################## Infotable ################## */

.infotable {
	border-top: 1px solid #C0C0C0;
	border-left: 1px solid #C0C0C0;
	background-color: #FFFFFF;
}
.infotable td, .infotable th {
	border-right: 1px solid #C0C0C0;
	border-bottom: 1px solid #C0C0C0;
}
.infotable th {
	background-color: #C0C0C0;
	color: #FFFFFF;
	font-size: 10px;
	font-weight: normal;
	text-align: left;
	padding: 1px 5px;
}
.infotable td {
	padding: 2px 5px;
	text-align: right;
}
.infotable .match-display {
	font-family: "Courier New", monospace;
	white-space: nowrap;
	text-align: left;
	overflow: auto;
}
.infotable .emptyrow {
	background-color: #F0F0F0;
	font-size: 10px;
	text-align: left;
}

.infotable tr:hover td {
	background-color: #F0F0F0;
}
.infotable tr:hover td.match-main {
	background-color: #FFFFFF;
}

.infotable a:link, .infotable a:visited {
	text-decoration: underline;
	color: #0000FF;
	background-color: transparent;
	display: block;
}
.infotable a:hover, .infotable a:active {
	color: #FFFFFF;
	background-color: #000000;
	text-decoration: none;
}

/* ################## Navigation ################## */

.nav-left img, .nav-right img {
	display: block;
	margin: 0px;
	padding: 0px;
}
.nav-left img {
	float: left;
	margin-right: 2px;
}
.nav-right img {
	float: right;
	margin-right: 2px;
}
.nav-left, .nav-right {
	padding: 0px;
	margin: 2px 0px;
	height: 10px;
}
.nav-left {
	float: left;
	margin-left: 130px;
}
.nav-right {
	text-align: right;
	margin-right: 2px;
}

/* ################## Help ################## */

#tooltip {
	display: none;
	position: absolute;
	width: 150px;
	border: 1px solid #000080;
	padding: 0px;
	margin: 0px;
	background-color: #FFFFFF;
	z-index: 100;
	left: 0px;
	top: 0px;

	color: #000000;
	font-family: Verdana, sans;
	font-size: 10px;
}
#tooltip h2 {
	background-color: #000080;
	color: #FFFFFF;
	margin: 0px;
	padding: 1px;
	text-align: center;
	font-size: 10px;
}
#tooltip p {
	margin: 0px;
	padding: 2px;
	text-align: jleft;;
}

/* ################## Boxe heads ################## */

#pattern {
	background-image: url(images/pattern_head.png);
}
#subject {
	background-image: url(images/subject_head.png);
}
#cursubject {
	background-image: url(images/cursubject_head.png);
}
#match {
	background-image: url(images/match_head.png);
}
#information {
	background-image: url(images/information_head.png);
}
#split {
	background-image: url(images/split_head.png);
}
#replace {
	background-image: url(images/replace_head.png);
}
#help {
	background-image: url(images/help_head.png);
}
#options {
	background-image: url(images/options_head.png);
}
#session {
	background-image: url(images/session_head.png);
}

/* ################## Boxe specifics ################## */

#pattern table {
	border-collapse: separate;
	border-spacing: 0px;
}
#pattern table td {
	padding: 3px;
}
#pattern table td.fieldname {
	padding-top: 7px;
}
#pattern input.textfield, #pattern textarea.textfield {
	width: 600px;
}

#subject textarea {
	margin-bottom: 5px;
	width: 650px;
}
#subject .labelinput input {
	margin-left: 105px;
}


#cursubject #subjectdisplay, #replace #replacedisplay {
	border: 1px solid #C0C0C0;
	background-color: #F0F0F0;
	padding: 2px;
	font-family: "Courier New", monospace;
	margin-bottom: 5px;
	overflow: auto;
	white-space: nowrap;
	max-height: 400px;
}
#cursubject .normal {
	background-color: transparent;
	color: inherit;
}
#cursubject .hilight {
	background-color: #000000;
	color: #FFFFFF;
}

#session .textfield {
	width: 570px;
	margin-left: 95px;
}