body {
    /* font-family: "Trebuchet MS", Helvetica, sans-serif; */
    font-family: 'Lato', sans-serif;
    font-size: 12px;
}

thead th a:link, thead th a:visited {
    border: none;
}

p.readonly {
    min-height: 20px;
}

input#searchbar {
    border-radius: 5px;
}

#content h1 + .tools a.add-handler {
    background-color: #444;
    background: #444 0 50% no-repeat scroll;
    background-image: url('/static/grappelli/img/icons/icon-object-tools-add-handler.png');
}

#footer {
    text-align: center;
    font-size: 0.75em;
}

.required label:after, label.required:after, .row .required label:after, .row label.required:after {
    content: ' *';
    color: red;
}

body.login {
    background-image: url('/static/img/bg.png');
    background-repeat: no-repeat;
    background-position: top left;
    background-size: cover;
}

.login .title {
    font-size: 2em;
    text-align: center;
}

.login .brands {
    margin: 8em auto 0;
    vertical-align: middle;
    padding: 2em 0;
    text-align: center;
}

.login .positivessl {
    float: right;
    margin: 1em;
}

.logout h1 {
    text-align: center;
}

.generate-ancillarypay-file .row {
    width: 100%;
}

.generate-ancillarypay-file .row td {
    width: 10%;
}

.generate-ancillarypay-file .row td.p2 {
    width: 20%;
}

.generate-ancillarypay-file .row td.p3 {
    width: 30%;
}

.generate-ancillarypay-file .row td.p4 {
    width: 40%;
}

.generate-ancillarypay-file .row td.p5 {
    width: 50%;
}

.generate-ancillarypay-file .row td.p6 {
    width: 60%;
}

.generate-ancillarypay-file .row td.p7 {
    width: 60%;
}

.generate-ancillarypay-file .row td.p8 {
    width: 60%;
}

.generate-ancillarypay-file .row .even td {
    background-color: #E0E0E0;
}

.generate-ancillarypay-file .row td {
    border: none;
    padding: 0 10px;
}

.generate-ancillarypay-file .row .checker {
    line-height: 24px;
    background: transparent url(/static/img/icons/minus.png) no-repeat 6px center;
    padding-left: 25px;
}

.generate-ancillarypay-file .row .advance {
    background: transparent;
    border-left: none;
    border-right: none;
    padding-left: 0;
    padding-right: 0;
    text-align: right;
    width: 5em;
}

.generate-ancillarypay-file .row .subtotal, .generate-ancillarypay-file .row .adjustment {
    font-weight: bold;
    text-align: right;
}

.generate-ancillarypay-file .row.total td {
    font-weight: bold;
    float: right;
}

.generate-ancillarypay-file .row.total td {
    border-top: 3px double transparent;
    border-bottom: 3px double transparent;
}

.generate-ancillarypay-file .row .rate {
    text-align: center;
    vertical-align: middle;
}

.generate-ancillarypay-file .row .amount {
    text-align: right;
    vertical-align: middle;
}

.generate-ancillarypay-file .row.total .amount {
    border-top: 3px double gray;
    border-bottom: 3px double gray;
    font-weight: bold;
}

.network .parent.opened {
    background-image: url('/static/img/icons/icon-navigation-internal-opened.png');
}

.network .orphan {
    background-image: url('/static/img/icons/icon-navigation-internal-orphan.png') !important;
}

.network .child {
    background-image: none !important;
    margin-left: 15px;
}

#id_preferred_username1, #id_preferred_username2, #id_preferred_username3 {
    width: 160px;
}

#user_form #commissionoverride_set-group .package select {
    width: 600px;
    max-width: 600px;
}

#notice_form .recipients label {
    line-height: 21px;
}

#notice_form .cell.email .column.span-4 {
    width: 0;
}

#changelist-form thead th {
    font-weight: bold;
}

.grouping .group {
    display: inline-block;
    margin: 0 8px 5px 2px;
}

#changelist-form .ui-tabs-panel {
    padding: 1em 0;
}

#changelist-form th, #changelist-form td {
    vertical-align: middle;
}

#changelist-form .changelist-results input[type=text] {
    width: 110px;
}

#changelist-form .changelist-results input[type=text][id$="telephone_num"] {
    width: 100px;
}

.changelist-results {
    border: none;
}

.changelist-results table td, .changelist-results table th {
    padding: 7px 7px 6px;
}

.changelist-results table select, .module.table select, .module.table div.autocomplete-wrapper-m2m {
    max-width: 180px;
}

.changelist-results .dealer_remarks {
    background: #FFFFCC url(/static/img/icons/dealer_remarks.png) no-repeat 2px 2px;
    text-indent: 20px;
    border: 1px solid #FFFF00;
    margin-top: 7px;
    padding: 2px;
}

.changelist-results .remarks {
    background: #FFFFCC url(/static/img/icons/remarks.png) no-repeat 2px 2px;
    text-indent: 20px;
    border: 1px solid #FFFF00;
    margin-top: 7px;
    padding: 2px;
}

input[type=text],
input[type=password],
.vDateField,
.vTimeField,
.vIntegerField,
.vPositiveSmallIntegerField,
.vManyToManyRawIdAdminField,
.vForeignKeyRawIdAdminField {
    width: 140px;
}

input[type=submit],
#bookmark-add-cancel,
.submit-row a.delete-link:link, .submit-row a.delete-link:visited,
.submit-row a.cancel-link:link, .submit-row a.cancel-link:visited,
.submit-row input[type=button] {
    opacity: 1;
}

input[type=submit]:hover,
#bookmark-add-cancel:hover,
.submit-row a.delete-link:hover, .submit-row a.delete-link:active,
.submit-row a.cancel-link:hover, .submit-row a.cancel-link:active,
.submit-row input[type=button]:hover {
    opacity: 1;
    color: #fff;
}

#ancillarypayfile_form .tr .td {
    vertical-align: middle;
}

#ancillarypayfile_form .tr .get_id {
    font-size: 12px;
}

#ancillarypayfile_form .tr .get_id .line_id {
    float: left;
    font-weight: bold;
}

#ancillarypayfile_form .tr .get_id .line_total {
    float: right;
    font-weight: bold;
}

#ancillarypayfile_form .tr .get_id table {
    padding-left: 15px;
    width: 100%;
}

#ancillarypayfile_form .tr .get_id table tr td {
    padding: 5px;
}

#ancillarypayfile_form .tr .get_id table tr .amount {
    text-align: right;
    padding: 5px 0;
}

#ancillarypayfile_form .tr .get_id table tr .id {
    width: 60px;
}

#ancillarypayfile_form .tr .get_id table tr .desc {
    width: 360px;
    white-space: normal;
}

#ancillarypayfile_form .tr .get_id table tr .amount {
    width: 120px;
}

#ancillarypayfile_form .th.remarks {
    width: 200px;
}

.dealer_remarks_full, .remarks_full {
    display: none;
}

p.complete, p.reminder-sent {
    padding: 1px;
    text-indent: 20px;
    margin: 0;
}

.complete {
    background: transparent url(/static/img/icons/completed.png) no-repeat 2px 1px;
}

.complete-norm {
    background-color: #CCFFCC;
    border-color: #72ea72;
}

.complete-due {
    border-color: #fcff40;
    background-color: #fff973;
}

.complete-urgent {
    background-color: red;
    color: white;
}

.complete-expired, .complete-freezed {
    text-decoration: line-through;
}

.reminder-sent {
    background: transparent url(/static/img/icons/sent.png) no-repeat 2px 1px;
}

a:link, a:visited {
    color: #4c3000;
}

.cells.popup.nag .nag .span-4 {
    display: none;
}

.cells.popup.nag .nag .span-flexible {
    line-height: 20px;
    margin-left: 0;
}

.application-reports {
    max-height: 410px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.delete-confirmation .rte li > ul > li {
    text-indent: 2em;
}

.changelist-results span.deleted {
    color: red;
    text-decoration: line-through;
}

#chart {
    width: 1000px;
    height: 400px;
    font-size: 14px;
    line-height: 1.2em;
}

#chart .legend td {
    border: none;
    padding: 2px;
}

#statistics .tooltip {
    position: absolute;
    display: none;
    border: 1px solid #fdd;
    padding: 2px;
    background-color: #fee;
    opacity: 0.80;
}

.highlight {
    background-color: #fcff40;
}

.total_payout, .total_payout i {
    margin: 5px;
}

.total_payout .sum {
    font-weight: bold;
}

.module.search, .module.filter {
    position: relative;
    float: right;
    z-index: auto;
    padding: 8px 10px;
}

select[name="previous_package"] {
    max-width: 280px;
}
