@import url("https://fonts.googleapis.com/css?family=Roboto:400,500,700");
:root {
 --border: #DFD7CA;
 --blue: #325D88;
 --indigo: #6610f2;
 --purple: #6f42c1;
 --pink: #e83e8c;
 --red: #d9534f;
 --orange: #F47C3C;
 --yellow: #ffc107;
 --green: #93C54B;
 --teal: #20c997;
 --cyan: #29ABE0;
 --white: #fff;
 --gray: #8E8C84;
 --gray-dark: #3E3F3A;
 --primary: #325D88;
 --secondary: #8E8C84;
 --success: #93C54B;
 --info: #29ABE0;
 --warning: #F47C3C;
 --danger: #d9534f;
 --light: #F8F5F0;
 --dark: #561643;
 --breakpoint-xs: 0;
 --breakpoint-sm: 576px;
 --breakpoint-md: 768px;
 --breakpoint-lg: 992px;
 --breakpoint-xl: 1200px;
 --font-family-sans-serif: "Roboto",
 -apple-system,
 BlinkMacSystemFont,
 "Segoe UI",
 Roboto,
 "Helvetica Neue",
 Arial,
 sans-serif,
 "Apple Color Emoji",
 "Segoe UI Emoji",
 "Segoe UI Symbol";
 --font-family-monospace: SFMono-Regular,
 Menlo,
 Monaco,
 Consolas,
 "Liberation Mono",
 "Courier New",
 monospace
}
*,*::before,*::after{
    box-sizing:border-box;
}
a {
    color: inherit;
    text-decoration: none;
}
body {
    font-family: var(--font-family-sans-serif);
    color: var(--dark);
    margin: 0;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    padding-bottom:60px;
}
.navbar {
    background-color: var(--dark);
    color: #fff;
    padding: 0.5rem 1rem;
    display: flex;
    align-items:center;
    line-height: 22px;
    font-weight: 500;
    font-size: 11px;
}
#main {
    position: relative;
}
.panel {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.login-form {
    left: 50%;
    top: 50%;
    position: absolute;
    transform: translate3d(-50%, -50%, 0);
}
.navbar-brand {
    margin-right: 1rem;
    font-weight: 400;
    font-size: 1.1rem;
}
.navbar-link {
    padding: 8px;
    text-transform: uppercase;
}
.navbar-last {
    margin-right: 1rem;
}
.navbar-search {
    flex: auto;
}
.statusbar {
    position: fixed;
    bottom: 0;
    width: 100%;
    margin-top: 0.25rem;
    background-color: var(--dark);
    color: #fff;
    padding: 0.5rem 1rem;
    display: flex;
    align-items:center;
    line-height: 22px;
    font-weight: 500;
    font-size: 11px;
}
.container {
    margin: 0.5rem 0.75rem;
}
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}
p {
    margin-top: 0;
    margin-bottom: 1rem;
}
tr {
    margin: 0;
    padding: 0;
    background-color: #fff;
}
tr:hover {
    background-color: var(--border);
}
table {
    border-collapse: collapse;
    width: 100%;
    overflow: hidden;
}
th, td  {
    border: 1px solid var(--dark);
    margin: 0;
    padding: 0.1rem 0.25rem;
}
tr:nth-child(even)
{
    background-color: var(--light);
}
.pagination {
    display: none;/*flex*/
    border-radius: 0.25rem;
    margin-top: 1rem;
}
.page-item {
    display: block;
    padding: 0.5rem 0.75rem;
    color: var(--secondary);
    background-color: var(--light);
    border: 1px solid var(--border);
}
.page-item.disabled {
    color: var(--border);
}
.page-item.active {
    background-color: var(--border);
}
.page-link {
    display: block;
}
.page-link:not(:disabled):not(.disabled) {
    cursor:pointer;
}
.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}
.row {
    display: flex;
    flex-flow: row wrap;
}
.col {
    flex: auto; /*required to stretch*/
    flex-basis: auto; /*required to squeeze*/
    padding:0 15px;
}
.form-control {
    width: 100%; /* take all the flex column width */
    line-height: 1.35;
    margin-bottom: 0.5rem;
    display: block;
}
.btn, input, textarea, button, select {
    border-radius: 0.25rem;
    padding: 0.375rem 0.75rem;
    margin-top: 0;
    /*border: 1px solid var(--light);*/
    resize: vertical;/*default to all*/
    border: 1px solid #ced4da;
    font-size: 0.875rem;
    font-family: inherit;
    color: rgb(73, 80, 87);
}
.primary {
    background-color: var(--primary);
    color: var(--light);
}
.warning {
    background-color: var(--warning);
    color: var(--light);
}
.success {
    background-color: var(--success);
    color: var(--light);
}
.danger {
    background-color: var(--danger);
    color: var(--light);
}
/* todo: input on login page 
    margin: 0.5rem 0;
*/
.btn, button[type=submit], input[type=button], input[type=submit], input[type=reset] {
    margin: 0.3rem;
    cursor: default;
}
label {
    display: inline-block;/* required by the bottom margin*/
    margin-bottom: 0.3rem;
    margin-top: 0.1rem;
}
fieldset {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}
.invisible {
    display: none;
}
/*Unified Select Input*/
.usi-badgeholder {
    position: absolute;
    padding-left: 0.25rem;
    padding-top: 0.25rem;
}
.usi-badge {
    border-radius: .25em;
    background-color: var(--dark);
    padding: .25em .4em;
    border: 0;
    color: white;
    font-family: inherit;
    /*font-size: 0.875rem;*/
    text-align: center;
    font-weight: 700;
    margin-right: 0.2em;
    /*position: absolute;*/ /* custom exlibris */
}
.usi-badge button
{ 
    color: inherit;
    background-color: inherit;
    border-radius: .25em;
    border: 1px solid #ced4da;/* inherited from button anyway */
    padding: 0 0.25em;
    margin-left: 0.25em;
}
.usi-popup {
    font-family: sans-serif;
    background-color: #e2e2e2;
    border: 1px solid black;
    padding: 0;
    margin: 0;
    display: none;/* default */
	z-index: 1;
	position: absolute;
    
    border-radius: 0.25rem;
}
.usi-popup-item {
    padding: 0.25em 0.4em;
    margin: 0;  
}
.usi-popup-item.active {
    background-color: #277075;
    color: white;
}
.flash {
    animation: color_flash 1.5s 1;
}
@keyframes color_flash {
    from {
        color: #a8a8a8;
        background-color: #52ffbd;
    }
}