/* Fix for https://github.com/zostera/django-bootstrap5/issues/763 */
.invalid-feedback {
    display: block !important;
}

body {
    margin-left: 5px;
    margin-right: 5px;
    font-size: 14px;
}

.navbar {
    margin-bottom: 0;
    padding: 0;
}

.nav-link {
    color: #ccc;
}

a.dropdown-item:hover,
button.dropdown-item:hover {
    background-color: #1E903F;
    color: white;
}

a.navbar-brand {
    width: 60px;
    padding: 4px;
}

.navbar-brand img {
    height: 50px;
    width: 50px;
}

.navbar-brand > span {
    color: #ffffff;
    margin-left: 10px;
    vertical-align: text-top;
}
@media (max-width: 1200px) {
    .navbar-brand > span {
        display:none;
    }
}

@media (max-width: 991px) {
    .navbar-brand > img {
        height: 50px;
        width: 50px;
    }
}

@media (max-width: 576px) {
    .navbar-brand > img {
        height: 45px;
        width: 45px;
    }
}

.navbar {
    background-color: #1E903F;
    border: none !important;
}

#container {
    padding-top: 65px;
    padding-bottom: 1rem;
}

.as-icon {
    font-style: normal;
    font-size: 14px;
}

.btn-light {
    border: 1px solid #ddd;
}

.breadcrumb {
    margin-bottom: 8px;
    background-color: #eeeeee;
    padding: 5px 10px;
}

.panel-outer {
    margin: 0 0;
    padding: 5px;
}

.panel {
    border: 1px solid #dddddd;
    border-radius: 5px;
    padding: 5px;
    /*height: 100%;*/
    margin: 0;
}

h3 {
    margin-top: 0;
    font-size: 1.2rem;
}

.modal {
    margin-top: 3rem;
    padding-bottom: 3rem;
}

.label {
    font-weight: bold;
    text-align: right;
}

@media (max-width: 767px) {
    .label {
        text-align: left;
    }
}

.form-group.static {
    margin-bottom: .8rem;
}

label.form-label {
    font-weight: bold;
}

.form-inline .control-label {
    margin-right: 5px;
}

.form-control, .input-group-text {
    font-size: 14px;
}

td.padleft {
    padding-left: 20px !important;
}

a {
    color: #006d8f;
    text-decoration: none;
    background-color: transparent;
}

a:hover {
    color: #005069;
    text-decoration: underline;
}

/* exclude navbar links */
.navbar a:hover {
    text-decoration: none;
    color: #fff;
}

a.button-link {
    text-decoration: none;
}

/* remove double slashes in breadcrumbs */
.breadcrumb span.divider {
    color: #ccc;
    margin-right: 8px;
    margin-left: 5px;
}

a .badge {
    vertical-align: text-bottom;
}

.table.valign-middle td {
    vertical-align: middle;
}

.table td a {
    word-break: break-word;
}

.badge.text-bg-light {
    border: 1px solid #ccc;
}

/* Change primary color */
.btn-primary {
    background-color: #006d8f;
    border-color: #006d8f;
}

.btn-primary:hover {
    background-color: #005069;
    border-color: #005069;
}

ul.pagination li.paginate_button.page-item,
ul.pagination li.paginate_button.page-item a.page-link {
    color: #006d8f;
}

ul.pagination li.paginate_button.page-item.disabled a {
    color: #aaa;
}

ul.pagination li.paginate_button.page-item.active a {
    color: white;
    background-color: #006d8f;
    border-color: #006d8f;
}