/* Keep keyboard focus visible even when theme styles suppress outlines. */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
summary:focus,
[tabindex]:focus {
    outline: 3px solid #111 !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 5px #fff !important;
    position: relative;
    z-index: 2;
}

/* Meet text contrast for the theme's pale brand, muted text, and info buttons. */
.navbar-brand,
.navbar-brand:hover,
.navbar-brand:focus {
    color: #146b5b !important;
}

.text-muted,
small {
    color: #595959;
}

.btn-info,
.btn-info:hover,
.btn-info:focus,
.btn-info:active,
.btn-info.active {
    color: #fff !important;
    background-color: #286090 !important;
    border-color: #204d74 !important;
}

.navbar-avatar .dropdown-toggle {
    display: block;
    min-width: 44px;
    min-height: 44px;
    padding: 12px;
}

.breadcrumbs a,
#breadcrumbs a,
.breadcrumb a,
summary {
    display: inline-block;
    padding-top: 3px;
    padding-bottom: 3px;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
    color: #fff !important;
    background-color: #006b55 !important;
    border-color: #005642 !important;
}

input:not([type=hidden]):not([type=checkbox]),
select,
textarea {
    min-height: 34px;
    color: #333;
}

input[type=checkbox] {
    width: 24px;
    min-width: 24px;
    height: 24px;
    min-height: 24px;
    vertical-align: middle;
}

.panel a:not(.btn),
.table a:not(.btn) {
    display: inline-block;
    padding-top: 3px;
    padding-bottom: 3px;
}

a:not(.navbar-brand):not(.btn) {
    display: inline-block;
    padding-top: 3px;
    padding-bottom: 3px;
}

.dropdown.open > .dropdown-menu {
    display: block;
}

.navbar-avatar .dropdown-menu {
    right: 0;
    left: auto;
}

#header {
    position: relative;
}

#header .navbar-avatar {
    position: absolute;
    top: 6px;
    right: 8px;
    float: none !important;
    margin: 0 !important;
}

#header .navbar-avatar .dropdown-menu {
    top: 100%;
    margin-top: 0;
}
