body,html {
	margin: 0;
	padding: 0;
	color: #000;
	background: darkred;
	background: url("img/redcurtains.jpg") 0 0 fixed;
}

#all {
	width: 90%;
	min-width: 600px;
	margin: 50px auto;
	background: url("img/redcurtains-washed.jpg") 0 0 fixed;
}

#header {
	height: 150px;
	padding: 15px 15px 0 15px;
	margin: 0;
	text-align: center;
	color: silver;
	background: url("img/redcurtains-dark.jpg") 0 0 fixed;
}

#header .left_img {
	float: left;
	font-size: 0; /* eliminates mysterious 4px gap below img??? */
}

#header .right_img {
	float: right;
	font-size: 0; /* eliminates mysterious 4px gap below img??? */
}

#navbar {
	float: left;
	width: 100%;
	background: url("img/redcurtains.jpg") 0 0 fixed;
}

#navbar a {
	display: block;
	font: 1em sans-serif;
	font-weight: bold;
	text-decoration: none;
	text-align: center;
	padding: 6px;
	color: white;
	background: url("img/redcurtains.jpg") 0 0 fixed;
}

#navbar a:hover {
	color: black;
	background: url("img/redcurtains-washed.jpg") 0 0 fixed;
}

#navbar ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

#navbar ul li {
	width: 7em;
	height: 2em;
	float: left;
	position: relative;
	margin: 0;
	padding: 0;
}

#navbar ul li.wide {
    width: 12em;
	height: 2em;
	float: left;
	position: relative;
	margin: 0;
	padding: 0;
}

#navbar li ul {
	display: none;
	position: absolute;
	top: 2em;
	left: 0;
}
#navbar li:hover > ul { display: block; }

#wrapper {
    float: left;
    width: 100%;
    margin-left: -220px;
}

#content {
    margin-left: 220px;
	padding: 20px;
}

#content .article {
//	border-style: dotted;
//	border-width: 1px;
//	border-color: red;
	display: table;
	padding-bottom: 40px;
	font-family: sans-serif;
//	width: 90%;
}

//#content .article h1 {
//	border-style: solid;
//	border-width: 1px;
//	border-color: green;
//}

#content .article .img {
	clear: both;
	padding: 5px 10px 5px 10px;
}

#content .article .left_img {
	float: left;
	padding: 5px 10px 5px 0;
}

#content .article .right_img {
	float: right;
	padding: 5px 0 5px 10px;
}

#content .article .estore_item {
	border: none;
	width: 200px;
//	float: left;
}

table.steps tr {
	vertical-align: top;
}
table.bimg {
	width: 470px;
	border-width: 3px;
	border-spacing: 2px;
	border-style: outset;
	border-color: gray;
	border-collapse: separate;
	background-color: white;
}

table.bimg td {
	text-align: center;
}

# see http://blog.html.it/layoutgala/LayoutGala23.html
#sidebar2 {
    float: right;
    clear: right;
    width: 200px;
}

#sidebar {
	float: right;
	width: 200px;
	text-align: center;
	color: silver;
	margin-left: 10px;
	padding: 5px;
	background: url("img/redcurtains-dark.jpg") 0 0 fixed;
}

#sidebar .article h1 {
    font-size: large;
}

#sidebar .article .img {
	clear: both;
	padding: 5px;
}

#sidebar .article input {
    width: 180px;
}

#footer {
	clear: both;
	text-align: center;
	color: white;
	font-size: x-small;
	background: url("img/redcurtains-dark.jpg") 0 0 fixed;
}

//#footer .article iframe {
//	border-style: dotted;
//    border-width: 3px;
//    border-color: green;
//}

#footer .article h1 {
    display: none;
}

fieldset {
	float: left;
}

fieldset legend {
	font-weight: bold;
}

fieldset label {
	display: block;
	color: white;
}

fieldset input {
	display: block;
	width: 600px;
}

.summary textarea {
	width: 600px;
	height: 150px;
}

.text textarea {
	width: 600px;
	height: 400px;
}

/* user form */

.userform {
    margin: 0;
    padding: 0;
}

form.userform {
    margin: 0;
    padding: 0;
    font-size: 100%;
    min-width: 560px;
    max-width: 620px;
    width: 590px;
}

form.userform fieldset {
    float: none;
    clear: both;
    font-size: 100%;
    border-color: #000000;
    border-width: 1px 0 0 0;
    border-style: solid none none none;
    padding: 10px;
    margin: 0 0 0 0;
}

form.userform fieldset legend {
    font-size: 150%;
    font-weight: normal;
    color: #000000;
    margin: 0 0 0 0;
    padding: 0 5px;
}

form.userform label {
    font-size: 100%;
    color: #000000;
}

form.userform label u {
    font-style: normal;
    text-decoration: underline;
}

input, select, textarea {
    font-family: sans-serif;
    font-size: 100%;
    color: #000000;
}

textarea {
    overflow: auto;
}

form.userform div {
    clear: left;
    display: block;
    width: 354px;
    zoom: 1;
    margin: 5px 0 0 0;
    padding: 1px 3px;
}

form.userform fieldset div.notes {
    float: right;
    width: 158px;
    height: auto;
    margin: 0 0 10px 10px;
    padding: 5px;
    //border: 1px solid #666666;
    border-width: 1px;
    border-style: dotted;
    border-color: green;
    background-color: #ffffe1;
    color: #666666;
    font-size: 88%;
}

form.userform fieldset div.notes h4 {
    background-image: url(/img/icon_info.gif);
    background-repeat: no-repeat;
    background-position: top left;
    padding: 3px 0 3px 27px;
    //border-width: 0 0 1px 0;
    //border-style: solid;
    //border-color: #666666;
    border-width: 1px;
    border-style: dotted;
    border-color: red;
    color: #666666;
    font-size: 110%;
}

form.userform fieldset div.notes p {
    margin: 0em 0em 1.2em 0em;
    color: #666666;
}

form.userform fieldset div.notes p.last {
    margin: 0em;
}

form.userform fieldset div small {
    font-size: x-small;
}

form.userform div fieldset {
    clear: none;
    border-width: 1px;
    border-style: solid;
    border-color: #666666;
    margin: 0 0 0 144px;
    padding: 0 5px 5px 5px;
    width: 197px;
}

form.userform div fieldset legend {
    font-size: 100%;
    padding: 0 3px 0 9px;
}

form.userform div.required fieldset legend {
    font-weight: bold;
}

form.userform div label {
    display: block;
    float: left;
    width: 130px;
    padding: 3px 5px;
    margin: 0 0 5px 0;
    text-align: right;
}

form.userform div.optional label, label.optional {
    font-weight: normal;
}

form.userform div.required label, label.required {
    font-weight: bold;
}

form.userform div label.labelCheckbox, form.userform div label.labelRadio {
    float: none;
    display: block;
    width: 200px;
    zoom: 1;
    padding: 0;
    margin: 0 0 5px 142px;
    text-align: left;
}

form.userform div fieldset label.labelCheckbox, form.userform div fieldset label.labelRadio {
    margin: 0 0 5px 0;
    width: 170px;
}

form.userform div img {
    float: left;
    border: 1px solid #000000;
    margin: 0 0 5px 0;
}

p.error {
    background-color: #ff0000;
    background-image: url(/images/icon_error.gif);
    background-repeat: no-repeat;
    background-position: 3px 3px;
    color: #ffffff;
    padding: 3px 3px 5px 27px;
    border: 1px solid #000000;
    margin: auto 100px;
}

form.userform div.error {
    background-color: #ffffe1;
    background-image: url(/images/required_bg.gif);
    background-repeat: no-repeat;
    background-position: top left;
    color: #666666;
    border: 1px solid #ff0000;
}

form.userform div.error p.error {
    background-image: url(/images/icon_error.gif);
    background-position: top left;
    background-color: transparent;
    border-style: none;
    font-size: 88%;
    font-weight: bold;
    margin: 0 0 0 118px;
    width: 200px;
    color: #ff0000;
}

form.userform div select, form.userform div textarea {
    width: 200px;
    padding: 1px 3px;
    margin: 0 0 0 0;
}

form.userform div input.inputText, form.userform div input.inputPassword {
    width: 200px;
    padding: 1px 3px;
    margin: 0 0 0 0;
}

form.userform div input.inputFile {
    width: 211px;
}

form.userform div select.selectOne, form.userform div select.selectMultiple {
    width: 211px;
    padding: 1px 3px;
}

form.userform div input.inputCheckbox, form.userform div input.inputRadio, input.inputCheckbox, input.inputRadio {
    display: inline;
    height: auto;
    width: auto;
    background-color: transparent;
    border-width: 0;
    padding: 0;
    margin: 0 0 0 140px;
}

form.userform div.submit {
    width: 214px;
    padding: 0 0 0 146px;
}


form.userform div.submit div {
    display: inline;
    float: left;
    text-align: left;
    width: auto;
    padding: 0;
    margin: 0;
}

form.userform div input.inputSubmit, form.userform div input.inputButton, input.inputSubmit, input.inputButton {
    background-color: #cccccc;
    color: #000000;
    width: auto;
    padding: 0 6px;
    margin: 0;
}

form.userform div.submit div input.inputSubmit, form.userform div.submit div inputButton {
    float: right;
    margin: 0 0 0 5px;
}

form.userform div small {
    display: block;
    margin: 0 0 5px 142px;
    padding: 1px 3px;
    font-size: 88%;
    zoom: 1;
}

/* form.import.css */

label img {
    behavior: url(/behaviors/label_img.htc);
}

form.userform fieldset legend {
    line-height: 150%;
}

form.userform input, form.userform select, form.userform textarea {
    background-color: #ffffff;
}

form.userform textarea.expanding {
    overflow: auto;
    overflow-x: auto;
    overflow-y: visible;
}

div.optional label:before {
    content: '';
}

div.required label:before {
    content: '';
}

form.userform div label.labelCheckbox, form.userform div label.labelRadio, label.labelCheckbox, label.labelRadio {
    display: block;
    width: 190px;
    zoom: 1;
    padding: 4px 0 0 18px;
    text-indent: -18px;
    line-height: 120%;
}

form.userform div label.labelCheckbox input.inputCheckbox, form.userform div label.labelRadio input.inputRadio, label.labelCheckbox input.inputCheckbox, label.labelRadio input.inputRadio {
    margin: 0;
}

form.userform div fieldset input.inputText, form.userform div fieldset input.inputPassword, form.userform div fieldset input.inputFile, form.userform div fieldset textarea.inputTextarea {
    width: 160px;
    margin: 0 0 0 18px;
    margin: expression(setCntr(), '0px 0 0 -124px');
}

form.userform div label.compact {
    display: inline;
    width: auto;
    padding: 4px 10px 0 0;
    text-indent: 0;
    margin: 0 0 0 0;
}

form.userform div.wide label {
    float: none;
    display: block;
}

form.userform div label.wide {
    width: 348px;
}

form.userform div.wide input.inputText, form.userform div.wide input.inputPassword, form.userform div.wide input.inputFile, form.userform div.wide select, form.userform div.wide textarea {
    width: 344px;
    margin: 0;
}

form.userform div.notes p, form.userform div small {
    line-height: 125%;
}

form.userform div.wide small {
    margin: 0 0 5px 0;
}

.tvtitle h1 {
    font-size: 300%;
    font-weight: bold;
}

.tvtitle h2 {
    font-size: 250%;
    font-weight: bold;
}

.tvlinks {
    margin-left: auto;
    margin-right: auto;
    width: 95%;
}

.tvlinksleft {
    float: left;
    width: 33.3%;
}

.tvlinkscenter {
    float: left;
    width: 33.3%;
}

.tvlinksright {
    float: left;
    width: 33.3%;
}

.tvlink {
    margin: 4px;
    padding: 2px;
    background-color: #a0a0a0;
    min-height: 50px;
    width: 300px;
    float: left;
}

.tvlink h1 {
    margin: 0px;
    font-size: 110%;
    font-family: sans;
    font-weight: bold;
}

.tvlink p {
    margin: 0px;
    font-family: sans;
}

.tvlink p.admin {
    font-size: 80%;
    font-weight: bold;
}

.tvlink .tvicon {
    float: left;
}

.tvcategory {
    clear: both;
    margin: 4px 4px 4px 4px;
    padding: 2px;
    background-color: #a0a0a0;
    min-height: 50px;
}

.tvcategory h1 {
    margin: 0px;
    font-size: 150%;
    font-family: sans;
    font-weight: bold;
}

.tvcategory p {
    margin: 0px;
    font-family: sans;
}

.tvcategory p.admin {
    font-size: 80%;
    font-weight: bold;
}

.actionbox {
    margin: 4px;
    padding: 2px;
    background: white;
    clear: both;
}
