a.title_option {
    font-size: 11px;
    margin-left: 4px;
}

fieldset {
    border: 1px solid #CCCCCC;
}

fieldset a.inline_link {
    margin-left: 8px;
}

fieldset p.readonly {
    font-size: 12px;
    min-width: 14em;
}

fieldset.collapse h2 span {
    display: inline-block;
    height: 15px;
    width: 15px;
    margin-right: 10px;
}

fieldset.collapsed h2 {
    background: #f6f6f6;
    color: rgb(38, 38, 38);
    font-weight: 400;
}

fieldset.hide {
    display: none !important;
}

fieldset .field-box:nth-child(2) p {
    display: inline-block;
    margin-left: 0;
    min-height: 24px;
}

fieldset .field-box:nth-child(2) label {
    display: inline-block;
    min-width: 8em;
    width: auto;
    line-height: normal;
}

fieldset .related_container {
    max-height: 400px;
    overflow: auto;
}

form .aligned p {
    padding: 3px 10px 0;
}

form p.cert_extensions {
    padding-left: 30px;
}

form p.historylink-box {
    display: block;
    height: 0;
    margin: 0;
    padding: 0;
    position: relative;
    top: 14px;
    left: 10px;
}

form ul.radiolist {
    margin: 0;
}

h2.title, .inline-group > h2 {
	font-size: 15px;
	padding: 8px 0 4px 12px;
	text-align: left;
	background: #f6f6f6;
	color: #262626;
	font-weight: 400;
}

h2.title .tool_sprite {
    margin: 0 5px;
    padding: 0;
}

h3.subtitle {
    border-bottom: 1px solid #EEEEEE;
    padding: 4px 0 4px 12px;
    margin: 0;
}

input.dn {
    width: 40em;
}

label.inline {
    display: inline;
    float: none;
    line-height: 24px;
}

table.ro {
    border: none;
    margin-left: 20px;
    padding: 0;
}

table.ro tbody {
    display: block;
    padding: 10px 0;
}

table.ro td, table.ro th {
    border: none;
    font-size: 12px;
    min-width: 200px;
}

table.ro tr.l2 td:first-child {
    text-indent: 2em;
}

table.ro tr.l3 td:first-child {
    text-indent: 4em;
}

table.formset_tabular {
    width: 100%;
}

table.formset_tabular td, 
table.formset_tabular th {
    line-height: 22px;
    padding: 3px 5px;
}

table.formset_tabular td.actions a {
    padding-left: 5px;
}

table.formset_tabular th.counter,
table.formset_tabular td.counter {
    text-align: center;
}

table.formset_tabular th.counter {
    width: 30px;
}

.fld-addon {
    color: #444444;
    display: inline-block;
    padding: 4px 5px;
    vertical-align: bottom;
}

.form-row {
    padding: 4px 12px;
}

.form-row.highlight {
    background: #FFFFCC;
}

.form-row li {
    list-style-type: none;
}

.form-row p {
    padding-top: 1px;
    padding-bottom: 1px;
    margin-top: 1px;
    margin-bottom: 1px;
}

.form-row p span.tabbed1 {
    margin-left: 2em; 
}

.form-row.level2,
.form-row .level2 {
    padding-left: 30px;
}

.form-row.level3,
.form-row .level3 {
    padding-left: 48px;
}

.form-row.level4,
.form-row .level4 {
    padding-left: 66px;
}


.form-row.radio-select ul label.opt {
    display: inline-block;
    width: 10em;
}

.iblock {
    display: inline-block;
}

.s-error {
    vertical-align:middle;
    display:inline-block;
    width:350px;
}

.s-error img {
    padding-right: 5px;
}

.s-error table {
    border: none !important;
}

.s-error table td {
    border: none !important;
    vertical-align: middle;
}

/* should be defined before .selector label rule below so below rule can
 * override it in FilterSelectMultiple widget */
.wider label {
    width: 22em !important;
}

.selector label {
    width: 16px !important;
}

.submit-row {
    text-align: center;
}

.submit-row input {
    float: none;
}

.submit-row p.deletelink-box {
    float: right;
}

.wide .form-row ul {
    margin-left: 15em;
}

.wide ul.selector-chooser {
    margin-left: 3px;
}

table.preview {
    border: none;
    margin: 10px 2em;
}

table.preview td,
table.preview th {
    border: none;
}

table.preview th {
    width: 5em;
}

table.preview.wide th {
    width: 15em;
}

table.preview pre {
    margin: 0;
}


/* jQuery UI */
ul.ui-autocomplete {
    background: #EFEFEF;
}

ul.ui-autocomplete li {
    list-style: none;
}

form .aligned .security_token label {
    display: block;
    padding: 3px 10px 0 0;
    float: left;
    width: 10em !important;
}
form .aligned .ft_200 ul {
    float: left;
    width: 18em;
}

/* override django's widgets.css */
ul.radio-with-help img.help {
    padding-right: 10px;
}

table.formset_tabular tbody td.delete .inline-deletelink,
.tabular tbody td.delete .inline-deletelink {
    float: left;
}

.calendarbox {
    width: 19em;
}

.calendarnav-header {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}

.calendarnav-next {
    float: right;
    margin-left: 1px;
}

.calendarnav-previous {
    float: left;
    margin-right: 1px;
}

.calendarbox .calendarnav-previous,
.calendarbox .calendarnav-next {
    position: static;
}

.selector .selector-available input {
    width: auto;
}

.selector .selector-filter input[type="text"] {
    width: 230px;
}

.selector .selector-filter {
    padding: 4px;
    height: 24px;
    vertical-align: middle;
}

.selector .selector-chosen .selector-filter {
    line-height: 24px;
}

.selector .display_type {
    padding: 4px 0;
    text-align: left;
}

.selector .display_type label {
    font-size: 11px;
}

.selector .display_type label.vTitle {
    display: inline;
    float: none !important;
    font-weight: bold !important;
    width: auto;
}

.ui-datepicker-trigger {
    cursor: pointer;
}


/* Select2 CSS */

.select2-container ul.select2-choices {
    margin-left: auto;
}

/* End of Select2 CSS */
