.object-tools{
	position:absolute;
	top:0;
	right:0;
	background:#F5F5F5;
	padding-left:6px;
}

.object-tools li{
	float:left;
	display:block;
	width:91px;
	height:27px;
	line-height:27px;
	text-align:center;
	margin-left:5px;
	_margin-left:3px;
}

.object-tools a{
	display:block;
	background:url(../images/nav-link.jpg) no-repeat;
	font-family:Arial, Helvetica, sans-serif;
}
.object-tools a:link,
.object-tools a:hover,
.object-tools a:active,
.object-tools a:visited{
	color:#fff;
	text-decoration:none;
}

.object-tools a:hover{
	background:url(../images/nav-link-hover.jpg) no-repeat;
}

.module{
	border:1px solid #A8C6CE;
	background:#fff;
	padding:1px;
}

#toolbar{
	margin:5px 0 5px 20px;
}


.labs{
	width:100%;
	background:url(../images/labs-bg.jpg) top left repeat-x;
	height:30px;
}

.labs ul{
	width:100%;
	display:block;
	overflow:hidden;
}
.labs li{
	float:left;
	padding:0 40px;
	line-height:30px;
	color:#fff;
	cursor:pointer;
	border-right:1px solid #fff;
}

.labs li.hover{
	background:url(../images/labs-bg-hover.jpg) top left repeat-x;
}



/* FORM ROWS */

.form-row {
    overflow: hidden;
    padding: 6px 12px;
}

.form-row img, .form-row input {
    vertical-align: middle;
}

form .form-row p {
    padding-left: 0;
}

/* FORM LABELS */

form h4 {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

label {
    font-weight: normal !important;
    color: #4C4C4C;
    font-size: 12px;
}

.required label, label.required {
    font-weight: bold !important;
    color: #4C4C4C !important;
}

/* RADIO BUTTONS */

form ul.radiolist li {
    list-style-type: none;
}

form ul.radiolist label {
    float: none;
    display: inline;
}

form ul.inline {
    margin-left: 0;
    padding: 0;
}

form ul.inline li {
    float: left;
    padding-right: 7px;
}
form .radiolist label{ float:none; display:inline;}
/* ALIGNED FIELDSETS */
.aligned {
	border:none;
	padding:15px 0;
}
.aligned label {
    display: block;
    padding: 3px 10px 0 0;
    float: left;
	width:90px;
	text-align:right;
}

.colMS .aligned .vLargeTextField, .colMS .aligned .vXMLLargeTextField {
    width: 350px;
}

form .aligned p, form .aligned ul {
    margin-left: 7em;
    padding-left: 30px;
}

form .aligned table p {
    margin-left: 0;
    padding-left: 0;
}

form .aligned p.help {
    padding-left: 38px;
	color:#A2A2A2;
}

.aligned .vCheckboxLabel {
    float: none !important;
    display: inline;
    padding-left: 4px;
}

.colM .aligned .vLargeTextField, .colM .aligned .vXMLLargeTextField {
    width: 610px;
}

.checkbox-row p.help {
    margin-left: 0;
    padding-left: 0 !important;
}

fieldset .field-box {
    float: left;
    margin-right: 20px;
}

/* WIDE FIELDSETS */

.wide label {
    width: 15em !important;
}

form .wide p {
    margin-left: 15em;
}

form .wide p.help {
    padding-left: 38px;
}

.colM fieldset.wide .vLargeTextField, .colM fieldset.wide .vXMLLargeTextField {
    width: 450px;
}

/* COLLAPSED FIELDSETS */

fieldset.collapsed * {
    display: none;
}

fieldset.collapsed h2, fieldset.collapsed {
    display: block !important;
}

fieldset.collapsed h2 {
    background-image: url(../img/admin/nav-bg.gif);
    background-position: bottom left;
    color: #999;
}

fieldset.collapsed .collapse-toggle {
    padding: 3px 5px !important;
    background: transparent;
    display: inline !important;
}

/* MONOSPACE TEXTAREAS */

fieldset.monospace textarea {
    font-family: "Bitstream Vera Sans Mono",Monaco,"Courier New",Courier,monospace;
}

/* SUBMIT ROW */

.submit-row {
    padding: 5px 7px;
    text-align: right;
    background: #BDD7F0;
    margin: 5px 0 10px 0;
    overflow: hidden;
}

.submit-row input {
    margin: 0 0 0 5px;
	background:url(../images/btn-bg.jpg) left bottom repeat-x;
	border:1px solid #3B94E6;
	padding:0 5px;
	height:22px;
	line-height:22px;
	cursor:pointer;
}

.submit-row p {
    margin: 0.3em;
}

.submit-row p.deletelink-box {
    float: left;
}

.submit-row .deletelink {
    padding-left: 14px;
}

/* CUSTOM FORM FIELDS */

.vSelectMultipleField {
    vertical-align: top !important;
}

.vCheckboxField {
    border: none;
}

.vDateField, .vTimeField {
    margin-right: 2px;
	height:24px;
	border:1px solid #BEBEBE;
}

.vURLField {
    width: 30em;
}

.vLargeTextField, .vXMLLargeTextField {
    width: 580px;
	height:24px;
	border:1px solid #BEBEBE;
}

.flatpages-flatpage #id_content {
    height: 40.2em;
}

.module table .vPositiveSmallIntegerField {
    width: 2.2em;
}

.vSelectField {
	height:24px;
	padding:0 2px;
	border:1px solid #BEBEBE;
}

.vUploadField,.vTextField {
    width: 380px;
	height:24px;
	border:1px solid #BEBEBE;
}

.vIntegerField {
    width: 50px;
	height:24px;
	border:1px solid #BEBEBE;
}

.vMultipleTextField{
	width:380px;
	height:60px;
	border:1px solid #BEBEBE;
}

.vMultipleLargeTextField{
	width:580px;
	height:200px;
	display:block;
}

.vForeignKeyRawIdAdminField {
    width: 5em;
}

/* INLINES */

.inline-group {
    padding: 0;
    border: 1px solid #ccc;
    margin: 10px 0;
}

.inline-group .aligned label {
    width: 8em;
}

.inline-related {
    position: relative;
}

.inline-related h3 {
    margin: 0;
    color: #666;
    padding: 3px 5px;
    font-size: 11px;
    
    border-bottom: 1px solid #ddd;
}

.inline-related h3 span.delete {
    padding-left: 20px;
    position: absolute;
    top: 2px;
    right: 10px;
}

.inline-related h3 span.delete label {
    margin-left: 2px;
    font-size: 11px;
}

.inline-related fieldset {
    margin: 0;
    background: #fff;
    border: none;
}

.inline-related fieldset.module h3 {
    margin: 0;
    padding: 2px 5px 3px 5px;
    font-size: 11px;
    text-align: left;
    font-weight: bold;
    background: #bcd;
    color: #fff;
}

.inline-related.tabular fieldset.module table {
    width: 100%;
}

.last-related fieldset {
    border: none;
}

.inline-group .tabular tr.has_original td {
    padding-top: 2em;
}

.inline-group .tabular tr td.original {
    padding: 2px 0 0 0;
    width: 0;
    _position: relative;
}

.inline-group .tabular th.original {
    width: 0px;
    padding: 0;
}

.inline-group .tabular td.original p {
    position: absolute;
    left: 0;
    height: 1.1em;
    padding: 2px 7px;
    overflow: hidden;
    font-size: 9px;
    font-weight: bold;
    color: #666;
    _width: 700px;
}

.inline-group ul.tools {
    padding: 0;
    margin: 0;
    list-style: none;
}

.inline-group ul.tools li {
    display: inline;
    padding: 0 5px;
}

.inline-group ul.tools a.add {

    padding-left: 14px;
}

.vDropdownField{
}


ul.errorlist {
    margin: 0 !important;
    padding: 0 !important;
}

.errorlist li {
    font-size: 12px !important;
    display: block;

}
form .aligned p.errortips{
    padding: 4px 5px 4px 25px;
    margin: 0 0 3px 95px;
    color: #DD0000;
    background: url(../images/exclamation.png) 5px .3em no-repeat;
}

.focus{
	background:#FFFFF0;
	border:1px solid #999;
}


/* CALENDARS & CLOCKS */

.calendarbox, .clockbox {
    margin: 5px auto;
    font-size: 12px;
    width: 16em;
    text-align: center;
    background: white;
    position: relative;
}

.clockbox {
    width: auto;
}

.calendar {
    margin: 0;
    padding: 0;
}

.calendar table {
    margin: 0;
    padding: 0;
    border-collapse: collapse;
    background: white;
    width: 99%;
}

.calendar caption, .calendarbox h2 {
    margin: 0;
    font-size: 12px;
    text-align: center;
    border-top: none;
}

.calendar th {
    font-size: 12px;
    color: #666;
    padding: 2px 3px;
    text-align: center;
    background: #e1e1e1 url(../images/nav-bg.gif) 0 50% repeat-x;
    border-bottom: 1px solid #ddd;
}

.calendar td {
    font-size: 11px;
    text-align: center;
    padding: 0;
    border-top: 1px solid #eee;
    border-bottom: none;
}

.calendar td.selected a {
    background: #C9DBED;
}

.calendar td.nonday {
    background: #efefef;
}

.calendar td.today a {
    background: #ffc;
}

.calendar td a, .timelist a {
    display: block;
    font-weight: bold;
    padding: 4px;
    text-decoration: none;
    color: #444;
}

.calendar td a:hover, .timelist a:hover {
    background: #5b80b2;
    color: white;
}

.calendar td a:active, .timelist a:active {
    background: #036;
    color: white;
}

.calendarnav {
    font-size: 11px;
    text-align: center;
    color: #ccc;
    margin: 0;
    padding: 1px 3px;
}

.calendarnav a:link, #calendarnav a:visited, #calendarnav a:hover {
    color: #999;
}

.calendar-shortcuts {
    background: white;
    font-size: 12px;
    line-height: 12px;
    border-top: 1px solid #eee;
    padding: 3px 0 4px;
    color: #ccc;
}

.calendarbox .calendarnav-previous, .calendarbox .calendarnav-next {
    display: block;
    position: absolute;
    font-weight: bold;
    font-size: 12px;
    background: #C9DBED url(../images/default-bg.gif) bottom left repeat-x;
    padding: 1px 4px 2px 4px;
    color: white;
}

.calendarnav-previous:hover, .calendarnav-next:hover {
    background: #036;
}

.calendarnav-previous {
    top: 0;
    left: 0;
}

.calendarnav-next {
    top: 0;
    right: 0;
}

.calendar-cancel {
    margin: 0 !important;
    padding: 0;
    font-size: 12px;
    background: #e1e1e1 url(../images/nav-bg.gif) 0 50% repeat-x;
    border-top: 1px solid #ddd;
}

.calendar-cancel a {
    padding: 2px;
    color: #999;
}

ul.timelist, .timelist li {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.timelist a {
    padding: 2px;
}
