/*.modal-dialog, .modal-content{*/
/*    overflow-y: scroll !important;*/
/*    margin-bottom: 100px !important;*/
/*    z-index: 9999999 !important;*/
/*}*/

.modal-body{
    overflow-y: scroll !important;
    margin-bottom: 100px !important;
    z-index: 9999999 !important;
}

.modal.fade .modal-dialog{
   -webkit-transform: inherit;
}

.suit-form.collapsed{
        margin-top: 0rem !important;
}

label, .label{
    color: #444444 !important;
}

.widget-TextInput > input{
    min-width: 100px !important;
}

.has_original, tr.form-row {
    display: table-row !important;
}

tr.empty-form {
    display:none !important;
}

.suit-jurisdiction .original{
    display: none !important;
}

.field-address_w2 .widget-RelatedFieldWidgetWrapper{
    width: 80% !important;
}

.calendarbox > div{
    line-height: 3 !important;
}

.calendarbox > #calendarin0, .calendarbox > #calendarin1, .calendarbox > #calendarin2{
    line-height: 1.5 !important;
}

.assignment-filter-alert{
    width: 98%;
    max-width: 600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.custom-select, fieldset select:not([multiple="multiple"]) {
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23333' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
    background-size: 8px 10px;
}

.object-tools-header {
    margin-top: 1rem;
}

body.suit_form_submit_on_right .col-right .object-tools {
    margin-top:0;
}

fieldset .has-danger select {
    border-color: #E04F3C;
}

.errorlist {
    color: #E04F3C;
}

#changelist.filtered #changelist-filter:not(:empty) {
    position: -webkit-sticky;
    position: sticky;
    top:0;
    align-self: self-start;
}

.field-overrides .widget-RelatedFieldWidgetWrapper{
    width: 80% !important;
}

#command-palette .modal-body {
    text-align:center;
    position:static;
}

#command-palette .modal-body .select2, #command-palette .modal-body .select2-container {
    text-align:left;
}

.edit-row > .col-right{
    height: max-content !important;
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
}

.field-address_production_office .related-widget-wrapper{
    width: 80% !important;
}

.field-address_mailing.field-address_billing.field-address_contact .related-widget-wrapper{
    width: 80% !important;
}

.field-address_residence.field-address_mailing.field-address_w2 .select2-container{
    width:80% !important;
}

.id_fee_bundling{
    width: 80% !important;
}

.field-employee.field-project.field-address .select2-container{
    width: 80% !important;
}

.module .original{
    display: none !important;
}

.module .dynamic-lines_detail{
    display: table-row !important;
}

#changelist-filter .select2-container {
    max-width: 100% !important;
    width: 100% !important;
}

.select2-container--admin-autocomplete.select2-container {
    min-width: 15em;
}

.select2-container--admin-autocomplete .select2-selection--multiple .select2-selection__rendered li {
    width: 100%;
    white-space: normal;
}

.select2-container {
    max-width:50% !important;
}

fieldset h2 {
    font-size: 1.25em !important;
}

@media screen and (max-width: 1450px) {

    .edit-row > .col-right{
        max-width: 600px !important;
    }

}

@media screen and (min-width: 768px) {
    .app-entry.model-payroll.change-form .col-md-2 {
        max-width: 300px !important;
    }
}

@media screen and (max-width: 991px) {
    body.popup.change-form.suit_form_submit_on_right .edit-row > div.col-left {
        flex-basis:100%;
    }
}

@media (min-width: 992px) { body.change-form.suit_form_submit_on_right #content-main > .object-tools-header { display: none; } }

body.popup .object-tools-header { display: none; }

#id_pay_rate_unit + .select2-container {
    width: 150px !important;
}

#id_payment_method + .select2-container {
    width: 250px !important;
}

.modal.show {
    overflow:auto;
}

fieldset input[type=password] {
    width:auto;
}

.select2-container {
    min-width: 200px;
}