body {
    min-height: 100vh;
}

h1, h2, h3, h4 {
    background-color: #fcfcfc;
}

div.section-header {
    padding: 0 1.2rem;
    margin-bottom: 1.2rem;
    background-color: #fcfcfc;
}

div.section-header h2.section-header-title {
    font-size: 1.7rem;
    font-weight: 500;
    letter-spacing: 0.1rem;
    color: #8a8a8a;
}

.bg-unset {
    background-color: unset !important;
}

em.hl {
    background-color: #EDF4FF;
    font-weight: 500;
    font-style: normal;
    margin: 0 0 0 0;
    padding: 0 2px 0 2px;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
}
b.hl-sep {
    margin: auto 0.3rem;
    font-weight: 500;
    color: rgb(143, 143, 143) !important;
}
tr.hl {
    background-color: #EDF4FF;
    font-weight: 500;
}
td.hl {
    background-color: #EDF4FF;
    font-weight: 500;
}

.journal_title {
    font-size: 0.85rem;
    line-height: 0.85rem;
}
.article_title {
    font-size: 1.20rem;
    line-height: 1.25rem;
    font-weight:500;
}
.article_authors {
    font-size: 0.85rem;
    line-height: 0.95rem;
}
.article_relevance {
    font-size: 0.85rem;
    line-height: 0.85rem;
    padding: 0 5px 0 5px;
    color: lightgray;
    display:inline;
}
.article_links {
    font-size: 0.75rem;
    line-height: 0.75rem;
    text-decoration: none;
    color: gray;
}
.article_links a:hover {
    text-decoration: underline;
}
.article_body {
    font-size: 1.05rem;
    line-height: 1.15rem;
    word-wrap: break-word;
}
.article_keywords {
    font-size: 0.85rem;
    line-height: 0.95rem;
}
.article_keywords b {
    font-weight:600;
    color:gray;
}
.article_copyright {
    font-size: 0.85rem;
    line-height: 0.95rem;
    color: lightgray;
}
a.hover-underline:active, a.hover-underline:focus, a.hover-underline:hover {
    text-decoration: underline;
}


.lightgray {
    background-color:#F9F9F9;
}

.x-panel-default,
.x-grid-header-ct,
.x-panel-body-default,
.x-grid-body
{
    border:1px solid white;
}


.tooltip-inner {
    background:#F9F9F9;
    opacity:1;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,0.35);
    font-size: 0.825rem;
    line-height: 0.925rem;
    font-weight:500;
    padding: 0.4rem 0.6rem 0.4rem 0.6rem;
    color:black;
}


.select2-container-multi .select2-choices .select2-search-choice {
    border:none;
    background:none;
    border-radius: 3px;
    transition-property: background-color,box-shadow,color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 5px 0 rgba(0,0,0,0.12);
    font-size: .875rem;
    padding: 0.45rem 0.6rem 0.4rem 1.5rem;
    margin: 0.25rem 0.25rem 0.25rem 0.25rem;
    color:inherit;
}
.select2-container-multi .select2-search-choice-close {
    left:0.5rem;
    padding:0.3rem;
}
.select2-container-multi .select2-choices .select2-search-choice.select2-locked {
    padding: 0.45rem 0.6rem 0.4rem 0.6rem !important;
    margin: 0.25rem 0.25rem 0.25rem 0.25rem;
}

.client-logo {
    max-width:14rem;
    max-height:3.5rem;
    filter: grayscale(1);
}

.badge{
    line-height:0;
}

#sidebar {
    padding-top:3rem;
}
#header {
    margin-bottom:1rem;
}
#main {
    padding-top:1rem;
}
#body {
    padding: 2rem 3rem 1rem 3rem;
}

#footer {
    height:40px;
    background-color:white;
    border-top:1px dotted lightgray;
    line-height:0.5rem;
}

#wrapper {
    padding-top:80px;
    padding-bottom:50px;
}

.nav-tabs .nav-link {
    border: 0 solid transparent;
    padding-left: 1rem;
    padding-right: 1rem;
}

#impersonate {
    width:10rem;
    padding-left:0.5rem;
    background-color:#efefef;
    position:relative;
    top:1px;
}

.ui-tooltip {
    padding: 8px;
    position: absolute;
    z-index: 9999;
    max-width: 300px;
    border:8px solid gray;
    background-color:#FCFCFC;
}

tbody.workflows > tr > td a > .glyphicon {
    font-size:1.15rem;
    line-height:0.75rem;
    position:relative;
    top:5px;
    padding-right:0.3rem;
}

.table-sm th,
.table-sm tbody th,
.table-sm td,
.table-sm tbody td {
  padding-right: 0.3rem;
  padding-left: 0.3rem;
}

.table-xs th,
.table-xs thead th {
  height: 2.5rem;
  padding: 0.8rem 0.3rem;
}

.table-xs td,
.table-xs tbody td {
  height: 2rem;
  padding: 0.3rem;
}

td a:hover:not(.btn) {
    text-decoration:underline;
}

.table-hover tbody tr {
    background-color: #FCFCFC;
}
.table-hover tbody tr:hover {
    background-color: #FFFFFF;
}

td.buttons  .btn-sm {
    line-height:0.75rem;
    height:1.6rem;
    min-width:1rem;
    padding:0.16rem 0.2rem 0.2rem 0.38rem;
    font-size:1.15rem;
}

.btn {
    cursor:pointer;
}

.btn-tiny {
    font-size: .54rem;
    padding: 0.39rem 0.64rem 0.49rem 0.64rem;
    border-radius: 5px;
    box-shadow: 0 1px 5px 0 rgba(0,0,0,0.12);
    color: rgba(0,0,0,0.87);
    margin: 0;
    max-width: 5rem;
    max-height: 1.5rem;
    min-width: 2rem;
    line-height:0.4rem;
}

.btn-lean {
    min-width: 1rem;
}

.filters {
    background-color: #FCFCFC;
}
.filters h3, .facets h3 {
    font-size:1.2rem;
    padding-left:0.5rem;
}
.filters h4, .facets h4 {
    font-size:1rem;
    padding-left:0.35rem;
}
.filters h5, .facets h5 {
    font-size:0.87rem;
    padding-left:0.15rem;
    padding-top:0.3rem;
    padding-bottom:0;
    margin-bottom:0;
    line-height:1rem;
}
.filters h5 > a, .facets h5 > a {
    font-size:0.87rem;
}
.facet > div.facetvalues {
    padding:0;
    max-width:68%;
    word-wrap: break-word;
}
.facet > div > h5 > a {
    width:65%;
}
.facets_more {
    width:7rem;
    color:gray;
    padding-left: .5rem;
    padding-right: .5rem;
    box-shadow: 0 1px 5px 0 rgba(0,0,0,0.12);
}

.badge.highlight {
    border-radius:0.5rem;
    padding:0.3rem 0.3rem 0.2rem 0.35rem;
    margin-left:0.5rem;
    font-size:0.7rem;
    line-height:0.65rem;
    opacity:0.7;
}

.btn.focus, .btn:focus {
    outline: 0;
    -webkit-box-shadow: 0 0 0 2px white;
    box-shadow: 0 0 0 2px white;
}

/* Fix modal size to match desktop screens */
.modal-lg {
    max-width: 65rem;
}

.modal-dialog {
    vertical-align: top;
    margin-top: 5rem;
}

.input-group {
    position: relative;
}

.input-group :not(:first-child).form-control {
    padding-left: 1rem;
    margin-left: 0;
}

.input-group :not(:last-child).form-control {
    padding-right: 2.25rem;
}

.input-group :first-child.input-group-addon,
.input-group :last-child.input-group-addon {
    background-color: transparent;
    border: none;
    font-size: inherit;
    display: inline-block;
    position: absolute;
    padding: 0.5rem 0;
    height: 2.25rem;
    line-height: 1.25rem;
    vertical-align: bottom;
    bottom: 0;
    width: auto;
}

.input-group :first-child.input-group-addon {
    text-align: left;
    left: 0;
}

.input-group :last-child.input-group-addon {
    text-align: right;
    right: 0;
}

td.td-progress {
    position: relative;
    z-index: 1;
}


tr.group_head {
    background-image: none;
}
tr.group_head td {
    border:none;
}
tr.even td,
tr.odd td {
    border:none;
}
tr.odd {
    background-color:transparent;
}
tr.even {
    background-color:#F2F2F2;
}
tr.group_head {
    border-top:1px solid #E0E0E0 !important;
}
tr.group_head > td {
    font-weight:450;
}

#results_table thead,
#results_table tfoot {
    background-color:white;
}

tr.even td.sorting_1,
tr.odd td.sorting_1,
tr.even td.sorting_2,
tr.odd td.sorting_2,
tr.even td.sorting_3,
tr.odd td.sorting_3,
tr.even td.sorting_4,
tr.odd td.sorting_4 {
    background-color: transparent;
}
table.display td {
    padding: 3px 10px;
}
table.display thead th {
    padding: 3px 10px 3px 10px;
    cursor: pointer;
}

tbody.workflows tr.house td, tbody.workflows tr.house td a {
    color: #777;
}

@media (min-width: 1900px) and (max-width: 2000px) {
    #views-cm button {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}
#results_table_wrapper .btn-sm {
    padding:0.35rem;
    min-width:1.2rem;
    margin:0 0.1rem;
}
#results_table_wrapper > div {
    padding:0.4rem 0.2rem 0.6rem 0.2rem;
}
#results_table_wrapper input {
    margin-left:0.4rem;
}
table.dataTable td, table.dataTable th {
    box-sizing: border-box;
}
.dataTables_length {
    width:20%;
    float:left;
}
.dataTables_filter {
    width: auto;
    float:right;
}
.dataTables_paginate {
    width:50%;
    text-align:center;
}
.data_hidden {
    display:none;
}

.highcard {
    background-color:#FCFCFC;
}

/* Hide chrome date picker */
input[type=date]::-webkit-inner-spin-button, input[type=date]::-webkit-calendar-picker-indicator {
   display: none;
}


.custom-file-control::after {
    content:'' !important;
}

/* Make textareas the same hight as normal inputs in collections */
.collection-element textarea.form-control {
    height: 2.25rem;
}

/* The datepicker */
.bootstrap-datetimepicker-widget.dropdown-menu {
    z-index: 1200;
}

.bootstrap-datetimepicker-widget.dropdown-menu.bottom::before {
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
    left: 0;
}

span.spinner {
    background-image: url("data:image/gif;base64,R0lGODlhEAAQAPQAAP///wAAAPDw8IqKiuDg4EZGRnp6egAAAFhYWCQkJKysrL6+vhQUFJycnAQEBDY2NmhoaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCgAAACwAAAAAEAAQAAAFdyAgAgIJIeWoAkRCCMdBkKtIHIngyMKsErPBYbADpkSCwhDmQCBethRB6Vj4kFCkQPG4IlWDgrNRIwnO4UKBXDufzQvDMaoSDBgFb886MiQadgNABAokfCwzBA8LCg0Egl8jAggGAA1kBIA1BAYzlyILczULC2UhACH5BAkKAAAALAAAAAAQABAAAAV2ICACAmlAZTmOREEIyUEQjLKKxPHADhEvqxlgcGgkGI1DYSVAIAWMx+lwSKkICJ0QsHi9RgKBwnVTiRQQgwF4I4UFDQQEwi6/3YSGWRRmjhEETAJfIgMFCnAKM0KDV4EEEAQLiF18TAYNXDaSe3x6mjidN1s3IQAh+QQJCgAAACwAAAAAEAAQAAAFeCAgAgLZDGU5jgRECEUiCI+yioSDwDJyLKsXoHFQxBSHAoAAFBhqtMJg8DgQBgfrEsJAEAg4YhZIEiwgKtHiMBgtpg3wbUZXGO7kOb1MUKRFMysCChAoggJCIg0GC2aNe4gqQldfL4l/Ag1AXyS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AFVgkQJQ1pAwcDDw8KcFtSInwJAowCCA6RIwqZAgkPNgVpWndjdyohACH5BAkKAAAALAAAAAAQABAAAAV5ICACAimc5KieLEuUKvm2xAKLqDCfC2GaO9eL0LABWTiBYmA06W6kHgvCqEJiAIJiu3gcvgUsscHUERm+kaCxyxa+zRPk0SgJEgfIvbAdIAQLCAYlCj4DBw0IBQsMCjIqBAcPAooCBg9pKgsJLwUFOhCZKyQDA3YqIQAh+QQJCgAAACwAAAAAEAAQAAAFdSAgAgIpnOSonmxbqiThCrJKEHFbo8JxDDOZYFFb+A41E4H4OhkOipXwBElYITDAckFEOBgMQ3arkMkUBdxIUGZpEb7kaQBRlASPg0FQQHAbEEMGDSVEAA1QBhAED1E0NgwFAooCDWljaQIQCE5qMHcNhCkjIQAh+QQJCgAAACwAAAAAEAAQAAAFeSAgAgIpnOSoLgxxvqgKLEcCC65KEAByKK8cSpA4DAiHQ/DkKhGKh4ZCtCyZGo6F6iYYPAqFgYy02xkSaLEMV34tELyRYNEsCQyHlvWkGCzsPgMCEAY7Cg04Uk48LAsDhRA8MVQPEF0GAgqYYwSRlycNcWskCkApIyEAOwAAAAAAAAAAAA==");
    height: 16px;
    width: 16px;
    display: inline-block;
}

#main .btn-float {
    z-index: auto !important;
}

/* Fix so buttons also work inside headings */
.custom-switch {
    line-height: 1.42857;
}

.modal-content {
    border-radius: 4px;
}

.ui-datepicker {
    z-index: 1000 !important;
}
