/* RESET */

html {
	overflow-y: scroll;
}
body, div, dl, dt, dd, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td {
	margin: 0;
	padding: 0;
}
fieldset, img {
	border: 0 none;
}
address, caption, cite, code, dfn, th, var {
	font-style: normal; 
	font-weight: normal;
}
caption, th {
	text-align: left;
}
q:before, q:after {
	content:"";
}
abbr, acronym {
	border:0;
}
body { 
	font: 13px Myriad,Arial,Helvetica,clean,sans-serif; 
	*font-size: small;
	*font: x-small;
}
h1 {
	font-size: 1.5em; 
	font-weight: normal;
	line-height: 1em; 
	margin-top: 0.2em;
	margin-bottom: 0.5em;
}
h2 { 
	font-size: 1.1667em; 
	font-weight: bold; 
	line-height: 1.286em; 
	margin-top: 0.2em; 
	margin-bottom: 0.5em;
}
h3, h4, h5, h6 {
	font-size: 1em; 
	font-weight: bold; 
	line-height: 1.5em; 
	margin-top: 0.5em; 
	margin-bottom: 0;
}
p { 
	font-size: 1em; 
	margin-top: 0.2em; 
	margin-bottom: 1em; 
	line-height: 1.4em;
}
pre, code { 
	font-size:1em;
	font-family: Courier, "Courier New"; 
	background-color: #eee; 
	border: 1px solid #ccc;
	padding: 1em;
	display: block;
}
blockquote { 
	font-size: 0.916em; 
	margin-top: 3.272em; 
	margin-bottom: 3.272em; 
	line-height: 1.636em; 
	padding: 1.636em; 
	border-top: 1px solid #ccc; 
	border-bottom: 1px solid #ccc;
}
ol, ul {
    margin: 0;
    padding: 0 0 0 2em;
}
ol li, ul li { 
	font-size: 1em; 
	line-height: 1.5em; 
	margin: 0;
}



/* STANDARD */
a {
    outline: none;
}
a.disabled {
	color: #999;
}
a.disabled:link, a.disabled:visited {
	color: #999;
	text-decoration: none;
}
a.disabled:hover, a.disabled:active {
	color: #999;
	text-decoration: none;
	cursor: not-allowed;
}


hr {
	border: none;
	border-top: 1px #DDD solid;
	background: none;
	height: 1px;
	margin: 1.2em 0;
	_margin: 0.5em 0;
}

hr.minimal {
    margin: 0.3em 0;
}

.left {
    float: left;
}
.right {
    float: right;
}
.odd {
	background: #EDF4F9;
}
.even {
    background: #FFF;
}

.error {
	color: #990000;
}
.warning {
	color: #990000;
	font-weight: bold;
}
.success {
	color: #006600;
}

.clear {
    clear: both;
}

.selected {
    font-weight: bold;
}

.todo {
    font-family: "Courier New", Courier, monospace;
    font-style: italic;
}
.todo:before {
    content: "TODO: ";
    color: red;
    font-style: normal;
}

.clickable {
    cursor: pointer;
}

.hidden {
    display: none;
}

pre {
	font-size: 0.85em;
	overflow: auto;
	margin: 1em 0;
    text-align: left;
    padding: 1em;
}


blockquote {
	font-size: 1em;
	font-style: italic;
	border: 1px #F0F0F0 solid;
	background-color: #FFFEF2;
	padding: 0.4em 0.6em;
    margin: 1em 0;
    border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
}


/* FLASH */
ul.flashMessages {
    clear: both;
    font-size: 1em;
	font-style: italic;
	border: 1px #F0F0F0 solid;
	background: #FFFEF2;
	padding: 0.6em 0.6em 0.6em 1em;
    margin: 0 0 1em 0;
    border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    color: #666;
}
ul.flashMessages li {
    list-style: none;
	background: url('../icons/information.png') no-repeat left center;
	padding: 0 0 0 2em;
}

/* FORM */

form {
	overflow: hidden;
}

label {
    margin-right: 0.4em;
    line-height: 1.4em; 
    color: #555; 
}
label.field {
	float: left;
	width: 11em;
	_width: 10em;
	text-align: right;
	display: block;
    margin-top: 0.2em;
    *padding-top: 0.4;
    margin-right: 0.9em;
    *margin-right: 0.4em;
    *font-size: 0.9em;
}
label.smallfield {
    margin-top: 0.2em;
    margin-left: 0.9em;
}
label.inline {
    margin-top: 0.2em;
    margin-right: 0.65em;
}
label.checkbox {
    line-height: 1.4em;
    padding-left: 0.5em;
}
.filterTitle {
    font-weight: bold;
    margin-right: 1em;
}

div.checkbox {
    padding-bottom: 0.3em;
}
div.checkbox label.checkbox {
    line-height: 1.1em;
}
div.field {
    margin: 0 0 0 12em;
}

fieldset {
	padding: 1em 1em 1em;
    *padding-top: 15px;
	margin: 1em 0 1em 0;
	overflow: auto;
	background: #F5F5F5;
    display: block;
    width: auto;
    
    border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
}


fieldset:first-child {
    margin-top: 0;
}


.jsenabled fieldset.hidden {
    padding-top: 0.3em;
    padding-bottom: 0.3em;
}
.jsenabled fieldset.hidden div.container {
    display: none;
}

legend {
	color: #666;
	background: #FFF;
    margin: 0;
	padding: 0.3em 0.6em 0.3em;
	*padding: 0.1em 0.4em 0.1em;
    border: 1px #DDD solid;
    font-size: 1em;
    font-weight: bold;
    cursor: default;
    
    *position: absolute;
    *margin: -25px 0;
    
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

legend a,
legend a:hover {
    color: #666;
    text-decoration: none;
}

.jsenabled fieldset.hidable legend {
    padding-left: 30px;
    background: #FFF url('../icons/arrow_up.png') no-repeat 5px;
}

.jsenabled fieldset.hidden legend {
    background: #FFF url('../icons/arrow_down.png') no-repeat 5px;  
}


form ul.formError {
    border: 1px #CC9999 solid;
    background: #FFFEF2;
    padding: 0.15em 0.2em 0.15em 2em;
    margin: 0.7em 0 0.2em;
    *margin-bottom: 2em;
    color: #BB0000;
    
    border-bottom-width: 2px;
    border-right-width: 2px;
    
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}


form div.fieldArea ul.formError {
    margin: 0.3em 0 0.5em 11.9em;
    _margin-left: 12.2em;
}

form div.fieldArea {
   overflow: hidden;
   padding: 0.3em 0.2em 0.2em;
   clear: both;
   _width: 90%;
/*    border: 1px solid #F5F5F5; */
}


form div.fieldArea.focused {
    background: #FAF3D8;
    border-color: #F2E19F;
    
    border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
}

form div.fieldArea.subform {
    background: #D0E3F0;
    border-color: #DDD;
    padding: 0.6em 0.2em;
    
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

form div.fieldArea.required label.field {
    font-weight: bold;
}
form div.fieldArea.required label.field:after {
    content: ' *';
    color: #CC0000;
}

form fieldset p.info {
    margin: 0 0 1em 12em;
}

form div.fieldArea p.note {
    margin: 1em 0 0 12em;
}

form div.fieldPrompt {
    font-size: 1em;
	border: 1px #DDD solid;
	background-color: #FFFEF2;
	padding: 0.4em 0.6em;
    margin: 0.1em 0 0.5em 11.9em;
    color: #444;
    cursor: help;
    border-bottom-width: 2px;
    border-right-width: 2px;
    
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

/*
.jsenabled form div.fieldArea div.fieldPrompt {
    display: none;
    position: absolute;
    margin: -5em 0 0 11.9em;
    width: 4em; 
    
    _display: block;
    _position: static;
}

.jsenabled form div.fieldArea.focused div.fieldPrompt {
    display: block;
}
*/

form div.inputArea {
    float: left;
    margin-bottom: 0em;
}

form div.inputArea p {
    margin: 0 0 0.8em;
}

form div.buttonArea {
    font-size: 1em;
	padding: 1.8em 0 0 12.4em;
    *padding-top: 1em; 
    _padding-left: 12.7em;
	clear: both;
}

form .disabled, form input.disabled {
    *filter: alpha(opacity=60) !important;
    opacity: 0.6;
    cursor: auto;
    cursor: not-allowed;
    background: #EEE;
}

form .readonly, form input.readonly {
    *filter: alpha(opacity=80) !important;
    opacity: 0.8;
    cursor: default;
}

input, select, textarea {
    color: #333;
    margin: 0;
}

input.text, select.select, textarea.text, input.smalltext {
    border: 1px #CCC solid;
    padding: 0.2em;
    line-height: 1.2em;
    font-size: 1em;
    margin-right: 0.5em;
    
    border-bottom-width: 2px;
    border-right-width: 2px;
    
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}
input.text {
    width: 10em;
}
.fieldArea input.text {
    width: 20em;
}
.fieldArea input.smalltext {
    width: 3.5em;
}

.fieldArea select.select { width: 20.5em; }

input.text:focus, select.select:focus, textarea.text:focus {
    border-color: #888;
}
textarea.text {
    width: 20em;
    height: 5em;
}
div.text {
    margin: 0 0 0 12em;
}
div.text p {
    margin: 0.4em 0;
}
div.text p input {
    margin: 0 0.4em 0 0;
}
div.text p small{
    color: #666;
}
strong.inputtext {
    width: 14.65em;
    display: block;
    margin: 0.3em 0 0 0;
    float: left;
}

input.button {
    border: 1px #CCC solid;
    background: #EEE;
    padding: 0.2em 0.4em;
    line-height: 1em;
    font-size: 0.9em;
    *padding: 0;
    *height: 1.9em;
    margin-right: 0.5em;
    color: #333;
    cursor: pointer;
    
    border-bottom-width: 2px;
    border-right-width: 2px;
    
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}
input.button:focus {
    background: #DDD;
    border-color: #999;
}

input.button.positive {
    background: #009900;
    color: #FFF;
    font-weight: bold;
    border-color: #337733;
}
input.button.positive:focus {
    background: #007700;
}

input.button.negative {
    background: #AA0000;
    color: #FFF;
    font-weight: bold;
    border: 1px #993333 solid;
}
input.button.negative:focus {
    background: #990000;
}

textarea {
    width: 450px;
    height: 250px;
    padding-left: 2px;
    font-size: 1em;
    
    border-bottom-width: 2px;
    border-right-width: 2px;
    
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}
textarea.disabled {
    height: 2em;
}




/* TABLE */

table {
    font-size: 100%;
	border-collapse: collapse;
}

table.collection {
	width: 100%;
	margin-bottom: 1em;
    background: #FFF;
    clear: both;
}

table.collection td, table.collection th {
	padding: 5px 8px;
}
table.collection th {
	font-weight: bold;
	border-bottom: 2px #DDD solid;
	color: #666;
}
table.collection td {
	border-bottom: 1px #DDD solid;
    vertical-align: middle;
}

table.collection td.center, table.collection th.center {
    text-align: center;
}
table.collection td.right, table.collection th.right {
    text-align: right;
    float: none;
}

table.collection tr.disabled td, table.collection tr.disabled td a {
    color: #AAA;
}

table.collection tr.spacer td {
	border-bottom: 2px #999 solid;
}

table.collection tr.break td {
	border-bottom: none;
}
table.collection tr.fullbreak td {
	border-bottom: none;
	padding-left: 0;
	padding-bottom: 0.5em;
}

table.collection tr a.orderableLink {
    border: none;
    color: #555;
}
table.collection tr a.orderableLink.asc {
    padding-right: 18px;
    background: url('../icons/arrow_down.png') no-repeat right;
    margin-right: 0.6em;
}

table.collection tr a.orderableLink.desc {
    padding-right: 18px;    
    background: url('../icons/arrow_up.png') no-repeat right;
    margin-right: 0.6em;
}



table.attributeList {
    width: 100%;
}

table.attributeList td, table.attributeList th {
	padding: 0.4em 1.2em;
    vertical-align: top;
}
table.attributeList th {
    width: 150px;
	font-weight: bold;
	border-right: 2px #DDD solid;
	text-align: right;
	color: #666;
}





.contentBlock {
    border: 1px #CCC solid;
    border-top: 3px #CCC solid;
    padding: 1em;
    margin: 1.2em 0 1.2em;
    border-radius: 0.6em;
    clear: both;
    -moz-border-radius: 0.6em;
    -webkit-border-radius: 0.6em;
    background: #FFF;
    overflow: hidden;
    _height: 1%;
    _overflow: visible;
}

.contentBlock:after {
	content: ".";
    display: block;
    height: 0;
	line-height: 0em;
    font-size: 0;
    clear: both;
    visibility: hidden;
}

form .inputArea .contentBlock {
    margin-top: 0;
    margin-bottom: 0;
}


div.paginate {
	margin: 0.7em 0 1em;
    float: left;
}


.dijitMenuItem {
	text-align: left;
}


/** Article */
fieldset div.article {
    margin: 1em 0;
    background: #FFF;
    border: 1px #CCC solid;
    padding: 1em;
}
fieldset div.article p {
    margin-left: 0;
}
fieldset div.article-intro {
    border-left: 2px #AAA solid;
    padding-left: 1em;
    margin: 0.8em 0;
}
.article-toc {
    width: 70%;
    border: 1px #CCC solid;
    border-top: 3px #CCC solid;
    padding: 0.5em 1em 1em;
    background: #F6F6F6;
    margin-bottom: 1em;
    border-radius: 0.5em;
    -moz-border-radius: 0.5em;
}

