#notifications {
    display: none;
}

body.change-list #notifications, body.dashboard #notifications, body.change-form #notifications {
    display: block;
}

#notifications {
    width: 0;
    height: 0;
    font-size: 14px;
    position: relative;
    z-index: 10;  /** FIXME: Notifications' "stacking context" doesn't work correctly in IE7 **/
}

.notifications > li {
    font-size: 14px;
    list-style-type: none;
    margin-bottom: 10px;
    clear: both;
}

.notifications > li:first-child {
    margin-top: 10px;
}

.notifications-count {
    position: absolute;
    top: -33px;
    left: 135px;
    z-index: 999;
    color: #eee;
    font-weight: bold;
    padding: 8px 13px;
    background-color: red;
    background-color: rgba(255, 0, 0, 0.5);
    border-radius: 50%;
}

.notifications-count:hover {
    background-color: rgba(255, 40, 40, 0.5);
}

.notifications-messages {
    position: absolute;
    z-index: 999;
    left: 138px;
    top: 20px;
    width: 360px;
    min-height: 30px;
    background-color: #323232;
    background-color: rgba(32, 32, 32, 0.9);
}

.notifications-messages:before {
    display: block;
    content: '';
    width: 0;
    height: 0;
    position: absolute;
    top: -10px;
    left: 14px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid rgba(32, 32, 32, 0.9);
}

h4.notifications-message {
    margin: 0;
    font-size: 14px;
    font-weight: bold;
}

.notifications-description {
    overflow: hidden;
    text-overflow:  ellipsis;
    max-height: 40px;
}

.notifications-timesince {
    font-size: 10px;
    margin-bottom: 10px;
}

.notifications-timesince:before {
    content: "(";
}

.notifications-timesince:after {
    content: ")";
}

.notifications-close {
    float: left;
    width: 4%;
}

.notifications-content {
    float: right;
    width: 95%;
}

h1 {
    text-transform: capitalize;
}

.extras .note {
    padding: 30px 10px 0 10px;
    color: #686868;
}

.extras .note:last-child {
    padding-bottom: 30px;
}

.signatures {
    display: none;
}

.object-tools a:hover {
    /** FIXME: Moderately-breakable URL: **/
    background: #5b80b2 url(/static/admin/img/tool-right_over.gif) top right no-repeat;
}

/** For tabular inlines, also include this selector: .inline-group .tabular tr.add-row td a **/
.inline-group div.add-row a {
    font-weight: bold;
    font-size: 20px;
    color: rgb(82, 82, 82);
}

select[multiple=multiple] {
    height: 200px;
    min-width: 127px;
    max-width: 800px;
}

.print-title {
    display: none;
    text-align: center;
}

.print-title h1 {
    font-size: 3em;
}

.print-title h2 {
    font-size: 2.3em;
}

@media print {
    .module {
        page-break-inside: avoid;
    }

    #headerbox, .submit-row, .datetimeshortcuts, .add-another {
        display: none;
    }

    .module, div.inline-group {
        border: none;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    .module h2, .module caption, .inline-group h2 {
        text-shadow: none;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

    .module th {
        border: none;
    }

    img.help-tooltip, .help {
        display: none
    }

    .object-tools {
        display: none;
    }

    .add-row {
        display: none;
    }

    h1 {
        font-size: 32px;
        text-transform: capitalize;
    }

    label, select, textarea, input, input[type=text], input[type=password], .vTextField {
        background-color: white;
        border: none;
        font-size: 20px;
    }

    select::-ms-expand {
        display: none;
    }

    select {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        margin-left: -4px;
    }

    select[selected=selected][value=""] {
        color: white;
    }

    label {
        text-transform: capitalize;
    }

    label.required:after {
        content: "";
    }

    .signatures {
        display: block;
        page-break-inside: avoid;
        page-break-after: always;
        color: #686868;
        font-size: 20px;
    }

    .signature {
        vertical-align: baseline;
        padding: 30px 0;
        text-wrap: avoid;
        width: 100%;
    }

    .signature > div {
        max-width: 30%;
        float: left;
    }

    .signature-line:after, .signature-date:after {
        content: "______________________";
    }

    .signature-date {
        margin-left: 30px;
    }

    .signature-date:before {
        content: "date: ";
    }

    .signature-label {
        margin-right: 3px;
    }

    .signature-label:after {
        content: " signature:"
    }

    body {
        background: none;
        color: #333;
    }

    .print-title {
        display: block;
        text-align: center;
    }

    .print-title h1 {
        font-size: 3em;
    }

    .print-title h2 {
        font-size: 2.3em;
    }

    .file-attachments {
        display: none;
    }

    div.row {
        width: 1000px;
        margin: 0 auto;
    }
}



.app-contenttypes, .model-shift, .model-scheduleitem, .app-assignables .model-transporttruck {
    display: none;
}

.dynamic-pictures-picture-content_type-object_id img {
    position: absolute;
    clip: rect(0px, 100px,20px,0px);
}

.dynamic-pictures-picture-content_type-object_id img:hover {
    clip: inherit;
    z-index: 1000;
}

.dynamic-pictures-picture-content_type-object_id .vLargeTextField {
    height: 100px;
}

.dynamic-pictures-picture-content_type-object_id .vLargeTextField:focus,
.dynamic-pictures-picture-content_type-object_id .vLargeTextField:active {
    height: auto;
}

thead th, thead th.sorted, table thead th.sortable:hover,
tfoot td, #changelist-filter, #changelist-filter h2, #changelist-filter a, #changelist-filter li.selected {
    border: none !important;
    color: white;
}

.row2 {
    background: #f2f4f9;
}

/** Hide the "Add another" button under the nested Work Order inline to hide the fact that it doesn't fully work. **/
/** (django-nested-inlines doesn't implement this properly because it would require a rewrite of a lot of JS code.) **/
#full_work_order_records-group .add-row {
    display: none;
}

.model-wcrkclequipment, .model-wcrexpense,
.model-wcrmaterial, .model-wcrmischired, .model-role {
    display: none;
}

/*.object-tools li a.permissionslink {*/
    /*display: none;*/
/*}*/

#pictures-picture-content_type-object_id-group .vLargeTextField {
    width: 38em;
}

.field-picture input[type=file], .field-pdf input[type=file], input[type=file] {
    /*height: 100%;*/
    background-color: #eee;
    border-radius: 10px;
    min-height: 50px;
}

.file-upload {
    max-width: 250px;
    overflow: hidden;
}

.field-picture input[type=file]:after, .field-pdf input[type=file]:after, input[type=file]:after  {
    content: 'drag/click';
    text-transform: uppercase;
    text-align: center;
    position: relative;
    display: block;
    font-size: 36px;
    padding: 5px;
    color: grey;
    top: 15%;
}

.inline-group .tabular td.original p {
    overflow: hidden;
    max-width: 95%;
}

.rows_per_page {
    color: white;
    font-size: 16px;
    border: none;
}

.rows_per_page {
    position: relative;
    display: inline-block;
}

.rows_per_page-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    margin-left: 17.5px;
    margin-top: -5px;
}

.rows_per_page-content a {
    color: black;
    padding: 5px 0px 0px 5px;
    display: flex;
    justify-content: flex-start;
    width: 120.2px;
    font-size: 11px;
}

.rows_per_page_btn {
    width: 120px;
    background-color: transparent;
    text-align: left;
    border-color: transparent;
    padding-right: 2px;
    padding-left: 2px;
    padding-bottom: 0px;
    height: 20px;
    font-size: 11px;
}

.rows_per_page_btn_background{
    background-image:url('/static/img/drop_down_bckgrnd.png');
    background-repeat:no-repeat;
    background-position: center;
    padding-right: 25px;
    padding-left: 15px;
    height: 25px;
}

.rows_per_page-content a:hover {background-color: #ddd;}


/* SUBMIT ROW */

.submit-row {
    padding: 15px 7px;
    text-align: right;
    vertical-align: middle;
    background: #192734 !important;
    overflow: hidden;

}

.submit-row {}
body.popup .submit-row {
    overflow: auto;
}

.submit-row input {
    margin: 0 0 0 5px;
}

.submit-row p {
    margin: 0.3em;
}

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


.login .submit-row {
    text-align: initial;
    padding: 1em 0 0 11.6em !important;
}

.login .form-row label {
    width: 8.1em;
}
/* Object Tools */
.object-tools {
    padding: 15px 7px;
    background: #192734 !important;
    flex-direction: row-reverse;
}


/* Select2 */
.select2-results__options{
    background-color: #07101a;
}
.select2-selection{
    background-color: #07101a !important;
}
.select2-selection{
    background-color: #07101a !important;
}
.select2-search{
    background-color: #07101a !important;
}
.select2-search__field{
    background-color: #07101a !important;
    color: white !important;
}


.dropdown > div {
    background-color: #07101a !important;
}

.dropdown > div > ul > form > li > input[type=text]{
    background-color: white !important;
}


#changelist table tbody tr.selected {
    background-color: black;
}

.custom-field-table-link {
    border-spacing: 10px 15px
}