
:root {
    --font-family-sans-serif: 'Nunito', sans-serif;
    --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

body {
    font-family: 'Nunito', sans-serif;
    margin-bottom: 60px; /* Margin bottom by footer height */
    font-size: 80% !important;
}

.site-font {
    font-family: 'Nunito', sans-serif;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.3rem;
}

h4 {
    font-size: 1.3rem;
}

.text-small {
    font-size: x-small;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px; /* Set the fixed height of the footer here */
    line-height: 1.35em; /* Vertically center the text there */
    background-color: #f5f5f5;
}

.dash-healine-text {
    position: absolute;
    margin: 0;
    padding: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.tab-bar-buton a {
    color: #fff;
    text-decoration: none;
}

.tab-bar-buton.active a {
    color: #fff;
}

.tab-bar-buton {
    background-color: #81a7ca;
    border-color: #000;
    padding: 10px !important;
    outline: none;
    box-shadow: none;
}

.tab-bar-buton.active, .tab-bar-buton:not(:disabled):not(.disabled).active, .tab-bar-buton:hover, .tab-bar-buton:visited {
    background-color: #000066;
}

.btn-toolbar {
    margin: auto;
}

.btn-toolbar > div {
    display: inline-block;
}

@media (max-width: 1000px) {
    .dash-main [id^="db_row"] {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .dash-main [id^="db_row"] .dash-cell {
        min-width: 100% !important;
        min-height: 600px !important;
    }

    .dash-cell-content {
        font-size: 25px;
    }

    .dash-cell-head {
        font-size: 20px;
    }

    .dash-cog {
        font-size: 1.4rem !important;
    }
}

@media (min-width: 768px) {
    html {
        font-size: 18px;
    }
}

/* make modal dialogs bigger/ work better on small screens  */
@media (max-width: 575px) {
    .modal-dialog {
        margin: 0;
        height: 100%
    }

    .modal-content {
        border: 0;
        border-radius: 0;
        min-height: 100%
    }
}

.ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

p {
    padding: 1em 1em 0em 1em;
}

h4 {
    padding: 0 1em 0 1em;
}

h5 {
    padding: 0 1em 0 1em;
}

.card-deck {
    margin-top: 12px;
}

.card-deck .card {
    min-width: 220px;
}

.single-card {
    max-width: 700px;
    margin-right: auto !important;
    margin-left: auto !important;
}

.single-card-wide {
    max-width: 900px;
    margin-right: auto !important;
    margin-left: auto !important;
}

.thin-card {
    flex: 0 1 0% !important;
    width: fit-content !important;
    max-width: 40em;
    min-width: 13em !important;
}

.card-header {
    padding: .55rem .75rem .35rem .75rem;;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(0, 0, 0, .125);
}

.card-body {
    padding: .5rem;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .45);
    border: 1px solid #e5e5e5;
    margin-bottom: 1rem;
}

.tdemphasis {
    background-color: rgba(0, 0, 128, .25);
}

.scroll-item {
    background-color: #EEE;
}

.bg-primary-light {
    background-color: #98C5F9;
}

.bg-primary-mid {
    background-color: #65AAFB !important;
}

.ku_navbar {
    background-color: #FAFAFA;
    border-bottom: 1px solid #888;
    margin-bottom: 4px;
    padding: .2em .5em;
    font-size: 1.1em;
}

.page-header {
    background-color: #FFF;
    color: #333;
}

.breadcrumb {
    /*background-color: #98C5F9 !important;*/
    background-color: transparent !important;
    color: #333;
}

.sidebar-main {
    background-color: #98C5F9;
    color: #333;

}

.sidebar-sub {
    /*background-color: #98C5F9;
    color: #333;*/
}

.linkemphasis {
    background-color: rgba(196, 255, 196, 1);
}

.mildemphasis {
    background-color: rgba(196, 196, 196, .15);
}

.emph {
    font-family: "Times New Roman", Times, serif;
    font-size: 1.1em;
    margin-right: 0.1em;
}

.btn-right-sm { /* combo of bootstrap btn btn-primary btn-sm float-right ml-1*/
    display: inline-block;
    font-weight: 400;

    background-color: #007bff;
    border-color: #007bff;
    color: black;
    padding: .25rem .5rem;
    font-size: .875rem;
    line-height: 1.5;
    border-radius: .2rem;
    margin-right: .25rem !important;
    float: right !important;

    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    box-sizing: border-box;
}

btn btn-primary btn-sm float-right mr-1
.icon-background {
    color: rgba(0, 114, 250, 1);
}

.icon-foreground {
    color: white;
}

.icon16 {
    height: 16px;
    margin-right: 0.5em;
}

.icon24 {
    height: 24px;
    margin-bottom: 8px;
    margin-right: 0.5em;
}

.icon32 {
    height: 32px;
    margin-bottom: 8px;
    margin-right: 0.5em;
}

.icon48 {
    height: 48px;
    margin-bottom: 8px;
    margin-right: 0.5em;
}


/* slightly more contracts than std boostrap */
.form-control {
    /*background-color: #fafafa;*/
    /*background-color:#FFD;*/
    /*border: 1px solid #87a5c3;*/
}

label {
    font-weight: bold;
}

label > span {
    font-weight: normal;
}

td > span.badge {

    float: right;
}

li > span.badge {

    float: right;
}

li > .badge {

    float: right;
}

.list-group-item-thin {
    line-height: 1.1em;
    padding: .4rem .2rem;
}

.list-group-item {
    border: 1px solid rgba(0, 0, 0, .25);
}

.list-group-item.active {
    color: #CCC;
}

.list-group-item.active > a {
    color: #CCC;
}

.scroll-list-group {
    background-color: #EEE;
    max-height: 300em !important;
    margin-bottom: 10px;
    overflow: scroll;
    -webkit-overflow-scrolling: touch;
}

a.nav-anim:hover {
    border-bottom: 2px solid #007bff;
}


.md-tabs {
    position: relative;
    z-index: 1;
    padding: .7rem;
    margin-right: 1rem;
    margin-bottom: 10px;
    margin-left: 1rem;
    background-color: rgba(0, 0, 128, .25);
    border: 0;
    border-radius: .25rem;
    -webkit-box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}


.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, .20);
}


.mapcontainer {
    border: 1px solid gray;
    padding: 2px;
    height: 100%;
    min-height: 190px !important;
}

#mapid {
    height: 180px;
    min-height: 180px !important;
}

.corner-ribbon {
    width: 200px;
    background: #e43;
    position: absolute;
    top: 25px;
    left: -50px;
    text-align: center;
    line-height: 50px;
    letter-spacing: 1px;
    color: #f0f0f0;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    z-index: 22;
}

/* Custom styles */
.corner-ribbon.sticky {
    position: fixed;
}

.corner-ribbon.shadow {
    box-shadow: 0 0 3px rgba(0, 0, 0, .3);
}

.corner-ribbon.top-right {
    top: 25px;
    right: -50px;
    left: auto;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.corner-ribbon.red {
    background: #e43;
}

.helpText {
    font-size: 10px;
    background-color: #eee;
    margin-bottom: 4px;
    width: 100%;
}

/* edited from https://css-tricks.com/rotated-table-column-headers/ , used in showTable in classutils */
th.rotate {
    height: 140px;
    white-space: nowrap;
}

th.rotate > div {
    transform: translate(5px, 0px) rotate(315deg);
    width: 30px;
}

th.rotate > div > a {
    border-bottom: 1px solid #ccc;
    padding: 5px 10px;
}

th.rotatesm > div {
    transform: translate(5px, 0px) rotate(315deg);
    width: 20px;
}

th.rotatesm {
    height: 70px;
    white-space: nowrap;
}

.deleteSelected {
    display: none;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
}

.dropdown-link.active, .dropdown-link:active {
    color: #fff;
    text-decoration: none;
    background-color: #007bff;
}

.dropdown-link.hover {
    background-color: #00ffff;
}

.txShow {
    border-left: 1px solid #ffaaaa;
    border-bottom: 1px solid #ffaaaa;
}


div > .selected {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .45);
    border: 1px solid #e5e5e5;
    margin-bottom: 1rem;
}

/* for translations where we have a clickable span in a label */
label > span {
    font-weight: bold;
}

.barcode {
    font-family: 'Free3of9';
    font-size: 48pt;
}

.barcode-text {
    font-family: "Times New Roman", Times, serif;
    font-size: 20pt;
    padding: 0px;
}


.barcode-sm {
    font-family: 'Free3of9';
    font-size: 24pt;
}

.barcode-text-sm {
    font-family: "Times New Roman", Times, serif;
    font-size: 14pt;
    padding: 0px;
}

.barcode-lg {
    font-family: 'Free3of9';
    font-size: 80pt;
    padding: 32px;
}

.barcode-text-lg {
    font-family: "Times New Roman", Times, serif;
    font-size: 32pt;
    padding: 0px;
}

.yellow-muted {
    background-color: rgba(250, 210, 8, 0.66);
}

.green-muted {
    background-color: rgba(136, 225, 72, 0.64);
}

.red-muted {
    background-color: rgba(255, 0, 0, 0.64);
    color: #fff;
}

/*.btn-back {
    position: absolute;
    left:10px;
    top:50%;
    transform:translateY(-50%);
}*/

/*@font-face {*/
/*  font-family: 'Free3of9';*/
/*  src: url('/lib/fonts/Free3of9.svg#Free3of9') format('svg'),*/
/*       url('/lib/fonts/Free3of9.ttf') format('truetype'),*/
/*       url('/lib/fonts/Free3of9.woff') format('woff');*/
/*  font-weight: normal;*/
/*  font-style: normal;*/
/*}*/

/*@font-face {*/
/*  font-family: 'free3of9';*/
/*  src: url('/lib/fonts/free3of9.eot');*/
/*  src: url('/lib/fonts/free3of9.eot?#iefix') format('embedded-opentype'),*/
/*       url('/lib/fonts/free3of9.woff2') format('woff2');*/
/*  font-weight: normal;*/
/*  font-style: normal;*/
/*}*/

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 400;
    src: local('Nunito Regular'), local('Nunito-Regular'),
    url("/assets/fonts/nunito-v10-latin-regular.eot?#iefix") format('embedded-opentype'),
    url("/assets/fonts/nunito-v10-latin-regular.woff2") format('woff2'),
    url("/assets/fonts/nunito-v10-latin-regular.woff") format('woff'),
    url("/assets/fonts/nunito-v10-latin-regular.ttf") format('truetype'),
    url("/assets/fonts/nunito-v10-latin-regular.svg#Nunito") format('svg');
}

/*!* open-sans-regular - latin *!
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('/assets/fonts/open-sans-v23-latin-regular.eot'); !* IE9 Compat Modes *!
    src: local(''),
    url('/assets/fonts/open-sans-v23-latin-regular.eot?#iefix') format('embedded-opentype'), !* IE6-IE8 *!
    url('/assets/fonts/open-sans-v23-latin-regular.woff2') format('woff2'), !* Super Modern Browsers *!
    url('/assets/fonts/open-sans-v23-latin-regular.woff') format('woff'), !* Modern Browsers *!
    url('/assets/fonts/open-sans-v23-latin-regular.ttf') format('truetype'), !* Safari, Android, iOS *!
    url('/assets/fonts/open-sans-v23-latin-regular.svg#OpenSans') format('svg'); !* Legacy iOS *!
}*/

.bcpanel {
    page-break-inside: avoid;
    padding: 30px;
    margin-top: 64px;
    margin-bottom: 64px;
    text-align: center;
}

@media print {
    body {
        font-size: 3em;
        margin: 2em;
        color: #000;
        background-color: #fff;
    }

    .noprint {
        display: none !important;
    }

    .pagesep {
        page-break-after: always;
    }

    .bcpanel {
        min-height: 300px;
        page-break-inside: avoid;
        padding: 30px;
        margin-top: 64px;
        margin-bottom: 64px;
        text-align: center;
    }

    .barcode-lg {
        font-family: 'Free3of9';
        font-size: 240pt;
        padding: 60pt;
    }

    .barcode-text-lg {
        font-family: "Times New Roman", Times, serif;
        font-size: 48pt;
        padding: 0pt;
    }

}

.likelink {
    color: #007bff;
    text-decoration: none;
    background-color: transparent;
}

input[type=checkbox] {
    /* Double-sized Checkboxes */
    -ms-transform: scale(2); /* IE */
    -moz-transform: scale(2); /* FF */
    -webkit-transform: scale(2); /* Safari and Chrome */
    -o-transform: scale(2); /* Opera */
    padding: 10px;
}

.dash-cell {
    border-radius: .2rem;
    border: 1px solid gray;
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .45);
    margin: 0.7em;
    padding: 1em;
    background-color: #EAEAEA;
    min-height: 10em !important;
    min-width: 10vw !important;
    position: relative;
    padding-bottom: 2rem;
}

.dash-cog {
    opacity: .5;
    top: 2px;
    right: 2px;
    font-size: 0.75rem;
    position: absolute;
}

.dash-headline {
    font-size: 2.75rem;
    padding: 1em;
    margin: auto;
    text-align: center;
    border-radius: .2rem;
    border: 1px solid gray;
    background-color: #FFF;
}

.dash-header {
    font-size: 1.0rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    font-weight: bold;
}

.dash-footer {
    font-size: 0.75rem;
    margin-left: auto;
    margin-right: auto;
    position: absolute;
    bottom: 2px;
}

.dash-small {
    font-size: 0.50rem;
    margin-top: -0.75rem;
    color: gray;
}

.dash-popup {
    background-color: white;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    min-width: 40rem;
    z-index: 1001;
}

.pgedit {
    display: none; /* toggled by js*/
}

.navbar-toggler-right {
    /*background-color: lightgrey;*/
    border-radius: 10%;
}

.vertical-center {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap; /*stops line breaking after every space*/
}

.nav-link {
    padding: 0.25rem 1rem;
}

/* css for edity progress indicators  from https://bootsnipp.com/snippets/featured/process-steps */

.stepwizard-step p {
    margin-top: 0px;
    padding: 0px;
}

.stepwizard-row {
    display: table-row;
}

.stepwizard {
    display: table;
    width: 100%;
    position: relative;
}

.stepwizard-step button[disabled] {
    opacity: 1 !important;
    filter: alpha(opacity=100) !important;
}

.stepwizard-step a[disabled] {
    opacity: 1 !important;
    filter: alpha(opacity=100) !important;
    pointer-events: none;
    cursor: default;
}

.stepwizard-row:before {
    top: 22px;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 100%;
    height: 1px;
    background-color: #ccc;
    z-order: 0;

}

.stepwizard-step {
    padding-top: 8px;
    display: table-cell;
    width: 20%;
    text-align: center;
    position: relative;
}

.btn-circle {
    width: 30px;
    height: 30px;
    text-align: center;
    padding: 6px 0;
    font-size: 12px;
    line-height: 1.428571429;
    border-radius: 15px;
}

/*********************************
 BEGIN
 File upload/importer
 ************************************/

.file-item .file-item-content {
    padding: 30px 35px
}

.file-upload {
    width: 100%;
    height: 300px;
    border: 1px dashed #ddd;
    border-radius: 5px;
    margin-bottom: 20px;
    position: relative;
    text-align: center;
    background: #f8f8f9;
    color: #666;
    overflow: hidden
}

.file-item-wrapper form img {
    margin-bottom: 20px;
    width: auto;
    height: auto;
    max-height: 400px;
    width: auto;
    border-radius: 5px;
    overflow: hidden
}

.file-upload img {
    height: 100% !important;
    width: auto !important;
    border-radius: 0px;
    margin: 0 auto
}

.file-upload i {
    font-size: 6em;
    color: #ccc
}

.file-upload input {
    cursor: pointer;
    opacity: 0;
    height: 100%;
    width: 100%;
    z-index: 10;
    position: absolute;
    top: 0;
    left: 0
}

.file-item-wrapper input {
    height: 43px;
    line-height: 43px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 20px
}

.file-item-wrapper {
    padding-top: 5px;
}

/*********************************
 END
 File upload/importer
 ************************************/

/*********************************
 START
 Imported data preview
 ************************************/
#data-preview {
    margin: 10px;
    border-radius: 10px;
    border-color: currentcolor rgb(229, 232, 235) rgb(229, 232, 235);
    border-style: none solid solid;
    border-image: none 100% / 1 / 0 stretch;
    color: rgb(4, 17, 29);
    background-color: rgb(255, 255, 255);
    overflow: hidden;
    box-sizing: border-box;
}

/*********************************
 END
 Imported data preview
 ************************************/


select.csvTitles {
    width: 450px;
    font-size: 0.8rem
}

.select2-selection__rendered {
    line-height: 40px !important;
}

.select2-container .select2-selection--single {
    height: 40px !important;
}

.select2-selection__arrow {
    height: 34px !important;
}

.filter-select {
    width: 100%;
}

.select2 {
    width: 100% !important;
}

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

.relation-filters .select2-selection--single {
    border: 1px solid #c4c1c1;
    border-radius: 4px;
}

.relation-filters {
    color: grey !important;
    border-radius: 4px;
    border-style: dotted;
}

.relation-filter-label {
    color: #555454;
    font-weight: normal;
}

/* keep selection inside table cell */
.ku_select2-container {
    display: block !important;
    width: 100% !important;
}
.ku_select2-container .select2-selection__rendered {
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}