/* RESET */

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:115%;
	*font-size:100%;
	font-family: Courier, "Courier New"; 
	background-color: #efefef; 
	border: 1px solid #ccc;
}
pre code {
    border: none;
}
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.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;
}

.odd {
	background: #F6F6F6;
}
.even {
    background: #FFF;
}

.error {
	color: #990000 !important;
}
.warning {
	color: #990000 !important;
	font-weight: bold;
}
.success {
	color: #006600 !important;
}

.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;
}

.lead {
    margin-bottom: 0;
}
.trail {
    margin-top: 0;
}
.punch {
    font-weight: bold;
    color: #444;
}
.shout {
    font-weight: normal;
    font-size: 1.1em;
    margin: 1em 0;
}
.offTopic {
    color: #666;
}
.smallprint {
    font-size: 0.8em;
}

.noWrap {
    white-space: nowrap;
}


.left {
    float: left;
    margin-right: 10px;
}
.right {
    float: right;
    margin-left: 10px;
}

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 {
    font-size: 1em;
	font-style: italic;
	border: 1px #F0F0F0 solid;
	padding: 0.6em;
    margin: 0 0 2em 0;
    list-style: none;
    border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
}


/* 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;
}

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('/assets/theme/icons/down.png') no-repeat right;
    behavior: url('/assets/theme/js/iepng/iepngfix.htc');
    margin-right: 0.6em;
}

table.collection tr a.orderableLink.desc {
    padding-right: 18px;    
    background: url('/assets/theme/icons/up.png') no-repeat right;
    behavior: url('/assets/theme/js/iepng/iepngfix.htc');
    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 #DDD solid;
    border-top: 2px #DDD solid;
    padding: 0.8em;
    margin: 1.2em 0 1.2em;
    clear: both;
    border-radius: 15px;
    -moz-border-radius: 15px;
    -opera-border-radius: 15px;
    -webkit-border-radius: 15px;
    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;
}


.linkSet {
    background: #C3C3C3;
    padding: 4px 10px;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -opera-border-radius: 10px;
    -webkit-border-radius: 10px;
    border: none;
    margin-bottom: 1em;
    overflow: auto;
}

.linkSet a {
    padding: 3px 7px 3px 26px !important;
}
.linkSet a, .linkSet .innerBlock {
    margin-right: 5px;
    padding: 3px 7px;
    background-color: #F5F5F5 !important;
    background-position: 6px center !important;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -opera-border-radius: 5px;
    -webkit-border-radius: 5px;
    display: inline-block;
}
.linkSet a:hover {
    background-color: #FAFAFA;
    text-decoration: none;
}
.linkSet .innerBlock {
    float: left;
    font-size: 0.9em;
    line-height: 1.3em;
}

.linkSet .innerBlock a {
    display: inline;
    padding: 0;
    margin: 0;
    background-color: none;
    border-radius: 0;
}

.linkSet a.right {
    margin-left: 5px;
    margin-right: 0;
}

.contentBlock .linkSet {
    background: #DDD;
    padding: 4px 4px;
    margin-bottom: 2em;
    border-radius: 8px;
    -moz-border-radius: 8px;
    -opera-border-radius: 8px;
    -webkit-border-radius: 8px;
}
.contentBlock .linkSet.lead {
    margin-bottom: 0;
}

fieldset .contentBlock {
    border-color: #777;
}

.blockHeader {
    background: #AAA;
    color: #FFF;
    margin: 0 0 1em;
    border-radius: 8px;
    -moz-border-radius: 8px;
    -opera-border-radius: 8px;
    -webkit-border-radius: 8px;
}
.blockHeader.lead {
    margin-bottom: 0.3em;
}
.blockHeader.success {
    color: #FFF !important;
    background-color: #407a40;
}
.blockHeader.error {
    color: #FFF !important;
    background-color: #892f2f;
}

h2.blockHeader {
    padding: 5px 10px;
    font-size: 1.15em;
}
h3.blockHeader {
    padding: 2px 10px;
    font-size: 1em;
    margin-bottom: 0.5em;
}
h4.blockHeader {
    padding: 2px 10px;
    font-size: 0.9em;
    margin-bottom: 0.5em;
}


table.collection .linkSet {
    background: none;
}
table.collection .linkSet a {
    margin-right: 2px;
    padding: 2px 4px 2px 25px;
}





.messageBlock {
    background: #FFFEF2;
    border-color: #D9D69C;
    border-width: 2px;
    color: #666;
}


div.paginate {
	margin: 0.7em 0 1em;
    float: left;
}


.script {
    display: none;
}
.jsenabled .script {
    display: block;
}

.jsenabled .noscript {
    display: none;
}


/** 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;
}





#modalOverlay {
    background-color: #000;
    cursor: wait;
}

#modalContainer {
    left: 50%;
    top: 15%;
    margin-left: -300px; /* half the width, to center */
    background-color: #fff;
    border: 2px solid #ccc;
    border-radius: 1em;
    -moz-border-radius: 1em;
    -opera-border-radius: 1em;
    -webkit-border-radius: 1em;
    padding: 1em;
}

#modalContainer iframe {
    width: 600px;
    height: 400px;
    border: none;
    
}

a.modalCloseImg {
    background: url('/assets/theme/icons/cross.png') no-repeat center center;
    width: 20px;
    height: 20px;
    display: inline;
    z-index: 3200;
    position: absolute;
    top: 3px;
    right: 3px;
    cursor: pointer;
}
