/* body {
    background-color: #20782f;
} */

.login #container {
    background-color: #cfffcf;
}

body.suit_layout_vertical #header .suit-user-tools,
body.suit_layout_vertical #suit-nav > ul > li:not(.active):hover,
body.suit_layout_vertical #suit-nav > ul > li.active {
    background-color: #8ec18e;
}

a, a:focus, a:hover {
    color: black;
}

body.suit_layout_vertical #header .suit-user-tools .welcome {
    color: #3a3a3a;
}

body.suit_layout_vertical #suit-nav > ul > li > a {
    color: #666666;
}

body.suit_layout_vertical #header, body.suit_layout_vertical #suit-nav {
    background-color: #cfffcf;
}

.btn-primary, .submit-row input[type='submit']:not([class*="btn-"]):first-child, .submit-row input[type='button']:not([class*="btn-"]):first-child, .submit-row button:not([class*="btn-"]):first-child, body.login .submit-row input[type='submit'], #changelist #toolbar #changelist-search input[type='submit'], #changelist #changelist-form .actions button, #changelist #changelist-form .paginator input[type='submit'] {
    background-color: #3fb57a;
    border-color: #46b739;
}

body.suit_layout_vertical #suit-nav > ul > li > ul > li.active a, body.suit_layout_vertical #suit-nav > ul > li > ul > li.active a:hover, body.suit_layout_vertical #suit-nav > ul > li > ul > li.active a:focus {
    color: #8ec18e;
}

body.suit_layout_vertical #suit-nav > ul > li > ul > li.active a {
    box-shadow: inset 4px 0 0 #8ec18e;
}

body.suit_layout_vertical #header .suit-user-tools .icon-link:hover {
    background-color: white;
    color: #257a20;
}

.btn-primary:hover, .submit-row input[type='submit']:hover:not([class*="btn-"]):first-child, .submit-row input[type='button']:hover:not([class*="btn-"]):first-child, .submit-row button:hover:not([class*="btn-"]):first-child, body.login .submit-row input[type='submit']:hover, #changelist #toolbar #changelist-search input[type='submit']:hover, #changelist #changelist-form .actions button:hover, #changelist #changelist-form .paginator input[type='submit']:hover {
    background-color: #379064;
    border-color: #459d3c;
}

.btn-primary:active:hover, .submit-row input[type='submit']:active:hover:not([class*="btn-"]):first-child, .submit-row input[type='button']:active:hover:not([class*="btn-"]):first-child, .submit-row button:active:hover:not([class*="btn-"]):first-child, body.login .submit-row input[type='submit']:active:hover, #changelist #toolbar #changelist-search input[type='submit']:active:hover, #changelist #changelist-form .actions button:active:hover, #changelist #changelist-form .paginator input[type='submit']:active:hover, .btn-primary:active:focus, .submit-row input[type='submit']:active:focus:not([class*="btn-"]):first-child, .submit-row input[type='button']:active:focus:not([class*="btn-"]):first-child, .submit-row button:active:focus:not([class*="btn-"]):first-child, body.login .submit-row input[type='submit']:active:focus, #changelist #toolbar #changelist-search input[type='submit']:active:focus, #changelist #changelist-form .actions button:active:focus, #changelist #changelist-form .paginator input[type='submit']:active:focus, .btn-primary:active.focus, .submit-row input[type='submit']:active.focus:not([class*="btn-"]):first-child, .submit-row input[type='button']:active.focus:not([class*="btn-"]):first-child, .submit-row button:active.focus:not([class*="btn-"]):first-child, body.login .submit-row input[type='submit']:active.focus, #changelist #toolbar #changelist-search input[type='submit']:active.focus, #changelist #changelist-form .actions button:active.focus, #changelist #changelist-form .paginator input[type='submit']:active.focus, .btn-primary.active:hover, .submit-row input.active[type='submit']:hover:not([class*="btn-"]):first-child, .submit-row input.active[type='button']:hover:not([class*="btn-"]):first-child, .submit-row button.active:hover:not([class*="btn-"]):first-child, body.login .submit-row input.active[type='submit']:hover, #changelist #toolbar #changelist-search input.active[type='submit']:hover, #changelist #changelist-form .actions button.active:hover, #changelist #changelist-form .paginator input.active[type='submit']:hover, .btn-primary.active:focus, .submit-row input.active[type='submit']:focus:not([class*="btn-"]):first-child, .submit-row input.active[type='button']:focus:not([class*="btn-"]):first-child, .submit-row button.active:focus:not([class*="btn-"]):first-child, body.login .submit-row input.active[type='submit']:focus, #changelist #toolbar #changelist-search input.active[type='submit']:focus, #changelist #changelist-form .actions button.active:focus, #changelist #changelist-form .paginator input.active[type='submit']:focus, .btn-primary.active.focus, .submit-row input.active.focus[type='submit']:not([class*="btn-"]):first-child, .submit-row input.active.focus[type='button']:not([class*="btn-"]):first-child, .submit-row button.active.focus:not([class*="btn-"]):first-child, body.login .submit-row input.active.focus[type='submit'], #changelist #toolbar #changelist-search input.active.focus[type='submit'], #changelist #changelist-form .actions button.active.focus, #changelist #changelist-form .paginator input.active.focus[type='submit'], .open > .btn-primary.dropdown-toggle:hover, .submit-row .open > input.dropdown-toggle[type='submit']:hover:not([class*="btn-"]):first-child, .submit-row .open > input.dropdown-toggle[type='button']:hover:not([class*="btn-"]):first-child, .submit-row .open > button.dropdown-toggle:hover:not([class*="btn-"]):first-child, body.login .submit-row .open > input.dropdown-toggle[type='submit']:hover, #changelist #toolbar #changelist-search .open > input.dropdown-toggle[type='submit']:hover, #changelist #changelist-form .actions .open > button.dropdown-toggle:hover, #changelist #changelist-form .paginator .open > input.dropdown-toggle[type='submit']:hover, .open > .btn-primary.dropdown-toggle:focus, .submit-row .open > input.dropdown-toggle[type='submit']:focus:not([class*="btn-"]):first-child, .submit-row .open > input.dropdown-toggle[type='button']:focus:not([class*="btn-"]):first-child, .submit-row .open > button.dropdown-toggle:focus:not([class*="btn-"]):first-child, body.login .submit-row .open > input.dropdown-toggle[type='submit']:focus, #changelist #toolbar #changelist-search .open > input.dropdown-toggle[type='submit']:focus, #changelist #changelist-form .actions .open > button.dropdown-toggle:focus, #changelist #changelist-form .paginator .open > input.dropdown-toggle[type='submit']:focus, .open > .btn-primary.dropdown-toggle.focus, .submit-row .open > input.dropdown-toggle.focus[type='submit']:not([class*="btn-"]):first-child, .submit-row .open > input.dropdown-toggle.focus[type='button']:not([class*="btn-"]):first-child, .submit-row .open > button.dropdown-toggle.focus:not([class*="btn-"]):first-child, body.login .submit-row .open > input.dropdown-toggle.focus[type='submit'], #changelist #toolbar #changelist-search .open > input.dropdown-toggle.focus[type='submit'], #changelist #changelist-form .actions .open > button.dropdown-toggle.focus, #changelist #changelist-form .paginator .open > input.dropdown-toggle.focus[type='submit'] {
    background-color: #285e43;
    border-color: #459d3c;
}

.btn-primary:focus, .submit-row input[type='submit']:focus:not([class*="btn-"]):first-child, .submit-row input[type='button']:focus:not([class*="btn-"]):first-child, .submit-row button:focus:not([class*="btn-"]):first-child, body.login .submit-row input[type='submit']:focus, #changelist #toolbar #changelist-search input[type='submit']:focus, #changelist #changelist-form .actions button:focus, #changelist #changelist-form .paginator input[type='submit']:focus, .btn-primary.focus, .submit-row input.focus[type='submit']:not([class*="btn-"]):first-child, .submit-row input.focus[type='button']:not([class*="btn-"]):first-child, .submit-row button.focus:not([class*="btn-"]):first-child, body.login .submit-row input.focus[type='submit'], #changelist #toolbar #changelist-search input.focus[type='submit'], #changelist #changelist-form .actions button.focus, #changelist #changelist-form .paginator input.focus[type='submit'] {
    background-color: #285e43;
    border-color: #459d3c;
}

#result_list thead > tr th, .tabular table thead > tr th, table#change-history thead > tr th, #changelist #changelist-filter h3 {
    background-color: #8ec18e;
}

#result_list thead > tr th.sorted, .tabular table thead > tr th.sorted, table#change-history thead > tr th.sorted {
    background-color: #5a8c5a;
}

#result_list thead > tr th.sorted:after, .tabular table thead > tr th.sorted:after, table#change-history thead > tr th.sorted:after {
    background-color: #69cc69;
}

#result_list thead > tr th .sortoptions .sortremove:hover:before, .tabular table thead > tr th .sortoptions .sortremove:hover:before, table#change-history thead > tr th .sortoptions .sortremove:hover:before, #result_list thead > tr th .sortoptions .toggle:hover:before, .tabular table thead > tr th .sortoptions .toggle:hover:before, table#change-history thead > tr th .sortoptions .toggle:hover:before {
    color: #27ee77;
}

#changelist #changelist-filter ul li.selected:not(:first-child) {
    border-left-color: #8ec18e;
}

/* .select2-container--admin-autocomplete.select2-container .select2-selection--single {
    min-height: 33.5px !important;
} */

@media (max-width: 767px) {
    .related-widget-wrapper {
        display: block !important;
    }
}

@media (max-width: 1024px) {
    .select2-container--admin-autocomplete .select2-selection--single,
    .select2-container--admin-autocomplete .select2-selection--multiple,
    .select2-selection__arrow {
        min-height: 36px !important;
    }
    .select2-container--admin-autocomplete .select2-selection--single .select2-selection__rendered {
        line-height: 36px !important;
    }
    .aligned .add-another, .aligned .related-lookup, .aligned .datetimeshortcuts, .aligned .related-lookup + strong {
        margin-left: 0px !important;
    }
    #header {
        padding: 0px !important;
    }
    #container {
        min-width: auto !important;
    }
}

@media (max-width: 767px) {
    #footer {
        padding: 0px !important;
    }

    .submit-row {
        padding-bottom: 20px !important;
    }
}


@media (min-width: 1025px) {
    .select2-container--admin-autocomplete .select2-selection--single,
    .select2-container--admin-autocomplete .select2-selection--multiple,
    .select2-selection__arrow {
        min-height: 33px !important;
    }
    .select2-container--admin-autocomplete .select2-selection--single .select2-selection__rendered {
        line-height: 33px !important;
    }
}

.col-multi-fields {
    flex-wrap: nowrap !important;
}

.col-multi-fields .multi-field {
    white-space: inherit;
}

.form-control-static {
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
    padding-right: 10px;
    width: 100%;
}

.submit-row.fixed {
    position: inherit;
    background-color: rgba(0, 0, 0, 0);
    padding: 10px 10px 0;
    box-shadow: none;
}

form {
    padding-bottom: 0px !important;
}

.form-control-static {
    padding-left: 8px;
}