﻿/* =FORM VIEW STYLES
*****************************/
.formview {
	width: 100%;
	margin: 1em 0;
}
.formview td { padding: 0; }

.formview .header { background: #5B7D99 repeat-x center; } /* header template */
.header td, .header th { color: #fff; padding: 4px; }
.header input { color: #000; }

.empty { background: #fee; } /* empty item template */
.empty p { margin: 0; padding: 3px 10px; }

/* =GRID VIEW STYLES (includes DataList)
*****************************/
.gridview, .datalist {
	border-collapse: collapse;
	border: 1px solid #998d74;
}
.gridview .row, .datalist td { background: #ddd5c1; }
.gridview .alt, .datalist .alt { background: #ddd5c1; }

.gridview .header th { background: #313431  repeat-x center; line-height: .9; } /* Header template */
.gridview .header th, .gridview .header th a { color: #fff; }

.gridview tr.edit { background: #ffc; } /* edit template */

.gridview td, .gridview th, .datalist td, .datalist th {
	padding: 3px 5px;
}
.gridview td, .datalist td { border: 1px solid #998d74; }

/* =EDITOR FORMS
**************************/
/* layout related */
.container, .layGrid { display: inline-block; }
.container:after, .layGrid:after { content: '.'; clear: both; display: block; overflow: hidden; height: 0; visibility: hidden; }

.message { padding: 3px 10px; border-bottom: 1px solid #aaa; background: #DDD5C1 ; color: #666; }
div.error { color: #930; background: #ffe; }
.message strong { display: block; margin: 0; padding: 2px 4px; font: 12px Arial Black, Arial, sans-serif; }
.message p { margin: .2em .5em .5em; line-height: 1; font-weight: normal; }


.reqd { color: #871806; font-weight: bold; }
.success { color: #090; font-weight: bold; }
.error { color: #871806 !important; font-weight: bold; }

table.form { border-collapse: collapse; }

.form fieldset, .form .buttons { border: 0; border-width: 0; padding: 10px 0; }
.form legend { display:none; }
.form label { color: #45475b; }

input, select, textarea
{
    background:#ddd5c1;
    border:1px solid #998d74; 
    color:#2D241F;    
    font-family:Georgia,Utopia,Palatino,'Palatino Linotype',serif;
    padding:2px;
}

input[type=submit], input[type=button]
{
}

.form .notes { margin: 1em 0 .5em; font-size: .9em; }
.form dl { margin: 0; padding: .25em .25em; clear: both; }
.form dd { margin: 0; }

.layGrid dt { clear: left; float: left; width: 200px; text-align: right; padding-right: 5px; }
.layGrid dd { margin-left: 155px; margin-bottom: 5px; }
.layGrid dd + dd { margin-bottom: 0; }

.layInline { display: inline; }
.layInline dt, .layInline dd { display: inline; float: none; }
.layInline dd { padding-right: 1em; margin: 0; }

@media print {
.nav { display: none; }
}


.pc fieldset fieldset { border-width: 0 0 5px 5px; padding-left: 5px; margin: 5px 0; }

.label em, .form p {
	display: block;
	font-size: .9em;
	font-weight: normal;
	line-height: 1;
	margin: .25em 0 .5em;
}

.form th, .form td.field { padding: 4px 6px; }
.form .label { font-size: .9em; background: #e7e7e7; }
.form th.label, th.label * {
	text-align: right;
	vertical-align: top;
}


.formview .buttons { /* command buttons row */
	padding: 4px 0;
	margin: 0 auto;
	text-align: center;
}

.actions { margin: .5em 0 1em; padding: 5px; text-align: center; border-bottom: 1px solid; }


/* =PAGER TEMPLATE STYLES
******************************/
.pager { font-weight: bold; color: #fff; }
.pager td {
	background: #BFB18F;
	border: 0 none;
}
.pager td td { padding: 0; }
.pager td td a, .pager td td span { display: block; padding: 3px; background: #fff; border: 1px solid #e7e7e7; color:#871806; }
.pager td td span { background: #ccc; }
.pager td td a:hover { background: #e2eaf2; }

/* IE targeted hacks \*/
.container, .layGrid { display: block; }
* html .container, * html .layGrid { height: 1%; }
/* end IE hacks */