* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container-fluid {
	padding-left: 0;
	padding-right: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    position: relative;
    color: #000;
}

header nav {
    background-color: #f0f0f0;
}

main {
    padding: 20px;
}

.content {
    display: flex;
    justify-content: space-between;
}

.content h1 {
    font-size: 24px;
    color: #333;
}

.study-finder, .animal-models {
    margin-top: 20px;
}

.dt-search {
    width: 100%;
}

.dt-search  .dt-input {
    float: none;
    text-align: center;
    font-size: 1rem;
    display: inline-block;
    margin-bottom: 20px;
    justify-content: center;
}

.dt-input {
    width: 75%;
    padding: 30px;
}

div.dt-container .dt-search input {
    padding: 10px !important;
}

.dt-input::placeholder {
    color: lightgray;
    font-size: 1rem;
}

#dt-search-0 {
    font-size: 1rem;
    border-color: lightslategray;
}

.dt-search-width-60 {
    min-width: 60vw;
}

.dt-search-width-30 {
    min-width: 30vw;
}

.dt-column-visibility-15 {
    min-width: 160px;
}

.bg-secondary-light {
    background-color: #868e96; /* ~15% lighter than bg-secondary */
}

.text-orange {
	color: #fd7e14;
}

th {
    min-width: 4.5em;
}

.nav-tabs > li > a {
    color: inherit;
 }

.nav-tabs > li > a:hover {
    background-color: lightgrey !important;
    border-color: dimgray !important;
}

.nav-link.active {
    background-color: whitesmoke !important;
    border-color: dimgray !important;
    font-weight: bold;
}

.nav-tabs {
    border-bottom: 0;
}

.tab-content {
    border: 1;
    min-height: 400px;
}

.externalUrl {
    font-size: 0.8rem;
}

.btn-group-xs > .btn, .btn-xs {
    padding  : .25rem .4rem;
    font-size  : .875rem;
    line-height  : .5;
    border-radius : .2rem;
}

@media (min-width: 576px) and (max-width: 992px) {
    .text-nowrap {
        white-space: normal !important;
    }
}

.smaller-font {
    font-size: 90%;
}

.dtrg-group {
    font-size: 90%;
}

.dropdown-toggle::after {
    position: absolute;
    top: 15px;
    right: 20px;
}

.modal-label {
    font-weight: 700;
}

input[type=radio]:hover {
    cursor: pointer;
}

.form-check-label:hover {
    cursor: pointer;
}

.invisibleRadioButton {
    position: absolute;
    margin: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-appearance: none;
    pointer-events: none;
    border: none;
    background: none;
}

.feature-option-search-results {
    font-size: 0.8em;
    font-weight: bold;
}

[data-toggle="collapse"] {   
    cursor: pointer;
}

[data-toggle="collapse"] .fa:before {   
    content: "\f078";
}

[data-toggle="collapse"].collapsed .fa:before {
    content: "\f054";
}

/* selectpicker internal buttons */
.bootstrap-select .bs-actionsbox .btn {
	border: 1px solid #ddd;
    border-radius: 0.25rem;
	background-color: #f8f9fa;
	margin-right: 0.25rem;
	padding: 0.25rem 0.5rem;
}

.bootstrap-select .bs-actionsbox .btn:hover {
	background-color: #e2e6ea;
}

.bootstrap-select .bs-actionsbox .btn:last-child {
	margin-right: 0; /* No extra margin after the last button */
}

.bootstrap-select .bs-actionsbox {
	display: flex;
	justify-content: space-between;
	padding: 0.25rem 0.5rem;
}

.bootstrap-select .dropdown-toggle {
	background-color: #fff !important;
}

/* Biorepository input control groups */
.biorepositoryGroupDiv {
    font-size: 16px;
    border-color: #e5e7eb;
}

/* BEGIN Loading Spinner */
@keyframes spinner {
    to {transform: rotate(360deg);}
}
   
.spinner:before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    top: 30%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    margin-left: -20px;
    border-radius: 50%;
    border-top: 2px solid #07d;
    border-right: 2px solid transparent;
    animation: spinner .9s linear infinite;
}

.spinner-options:before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    top: 60%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    margin-left: -15px;
    border-radius: 50%;
    border-top: 2px solid #07d;
    border-right: 2px solid transparent;
    animation: spinner .7s linear infinite;
}

.spinner-text {
    position: absolute;
    transform: translateX(-50%);
    top: 40%;
    left: 50%;
}
/* END Loading Spinner */

#loader-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.4);
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* stack spinner over caption */
#loader-overlay .loader-box{
	display: flex;
	flex-direction: column;
	align-items: center;
}

#loader-overlay .loader-caption {
	margin-top: 0.75rem !important;
	font-weight: 600;
	font-size: 1rem;
}

#loader-overlay .spinner-border,
#loader-overlay .loader-caption { 
	color: #f8f9fa;
}

/* keeps menu/search visible; just hide the inner scrollbar while loading */
#FeatureDiv.is-loading .bootstrap-select .dropdown-menu .inner {
	overflow-y: hidden !important;
}

#FeatureDiv.is-loading .bootstrap-select .no-results {
	display: none !important;
}

/* reserve space so width doesn't jump when the scrollbar returns */
#FeatureDiv .bootstrap-select .dropdown-menu .inner {
	scrollbar-gutter: stable both-edges;
}

