body {
    background-color: #ece9e4;
    font-size: 14px;
}

h1 {
    font-size: 2rem;
}

.container-fluid {
    padding-left: 5%;
    padding-right: 5%;
    max-width: none;
}

.btn-link {
    --bs-btn-color: #a90101;
    --bs-btn-hover-color: #a90101;
    --bs-btn-active-color: #a90101;
    text-decoration: none;
}

.btn-link:active, .btn-link:hover, .btn-link:focus, .btn-link:visited {
    text-decoration: underline;
}

.dropdown-item:active {
    background-color: #a90101;
}

.divider {
  height: 1px;
  width:100%;
  display:block; /* for use on default inline elements like span */
  margin: 9px 0;
  overflow: hidden;
  background-color: #e5e5e5;
}

a, a:hover, #export-link, .comment-link { color: #a90101; }
.nav-link, .nav-tabs .nav-link.active {
    color: #a90101;
}
.nav-pills {
    --bs-nav-pills-border-radius: 0.375rem;
    --bs-nav-pills-link-active-color: #ffffff;
    --bs-nav-pills-link-active-bg: #a90101;
}
.list-group-item.active, .page-link.active, .active > .page-link {
    background-color: #a90101;
    border-color: #a90101;
}
a.mass-change-dropdown-option { color: #000000; }

#header {
    background-color: #ffffff;
    padding-bottom: 2.1em;
}

.home-help-section {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 1em;
    border-radius: 5px;
}

.icn-question {
    padding: .9em 0 .9em 3.5em;
    background: url("../img/icn-question.8c2ff3c6f027.png") left center no-repeat;
    display: inline-block;
    text-decoration: none;
    color: #3F68A8;
    line-height: 1.2;
}

hr { border-top: 1px solid #cfcabc; }

/* Wayf */
.idp { margin-top: 10px; margin-bottom: 10px; }
#no-idp-note { margin-top: 10px; border-top: 1px dotted black; }
.gov-warning {
    max-width: 800px;
    border: 2px solid #ccc;
    background: #fff;
    font-size: 14px;
    margin-top: 20px;
}
.gov-warning > p {
    color: #212121;
    margin: 10px!important;
    font-size: 16px!important;
}

.gov-warning > p > ul {
    padding: 0 10px 0 30px!important;
    margin: 10px 0!important;
}

.gov-warning > p > ul > li > ul  {
    padding-left: 30px!important;
}

/* NCI Banner */
.nciLogo { display: inline-block; line-height: 0; width: 100%; }
.nciLogo img { max-height: 54px; max-width: 561px; box-shadow: none; }

#return-to-home {
    border-top: 0;
    color: #fff;
    background: #a90101;
    text-align: left;
    font-size: 20px;
}
#return-to-home a {
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    display: inline-block;
    font-weight: normal;
    line-height: 1.3;
}

/* Navigation */
.navBar {
    background-color: #6B6C70;
    padding: 0px;
}
#main-menu li ul li a {
    text-decoration: none;
}
#main-menu > li > a:hover, #main-menu > li > a:active, #main-menu > li > a:focus, .nav .open > a, .nav .open > a:hover, .nav .open > a:focus, .nav .open > a:active {
    text-decoration: none;
    border-bottom: solid 3px #a90101;
}
.has-submenu + ul { width: 100% !important; }

.bioshare-home .sm-clean a.nav-home,
.bioshare-about .sm-clean a.nav-about,
.bioshare-requests .sm-clean a.nav-requests,
.tgs .sm-clean a.nav-tgs,
.resources .sm-clean a.nav-resources,
.docs .sm-clean a.nav-docs,
.bioshare-reports .sm-clean a.nav-reports,
.bioshare-contact .sm-clean a.nav-contact,
.bioshare-admin .sm-clean a.nav-admin,
.admin .sm-clean a.nav-admin {
    background-color: #6b6c70;
    border-bottom: solid 3px #a90101;
}

.nav-unapproved .nav-home { max-width: 206px; }

.sm-clean > li {
    background-color: #6b6c70;
}

.sm-clean {
    border-radius: 0 !important;
    padding: 0px;
}

.sm-clean span {
    font-size: 14px;
}

.sm-clean a,.sm-clean a:hover,.sm-clean a:focus,.sm-clean a:active,.sm-clean a.highlighted {
    color: #fff;
    font-size: 14px;
}

.sm-clean ul a, .sm-clean ul a:hover, .sm-clean ul a:focus, .sm-clean ul a:active {
    font-size: 14px;
}

.sm-clean a span.sub-arrow {
    border-color: #a90101 transparent transparent transparent;
    left: auto;
    border-width: 5px;
    padding: 0;
    background: inherit
}

/* Request Approval Tab */
.approval-group { margin-bottom: 30px; }

/* Request create/view/edit */
#resource-tree-container { padding: 0px 10px 15px 0px; }
.resource-tree-list { list-style: none; padding-left: 10px; }
.resource-tree-list > li { margin-bottom: 5px; }
.resource-tree-list dl { margin-bottom: 10px; }
.resource-tree-list dd { font-style: italic; }

#resource-selection-container { padding: 5px; }

/* Main */
#main {
    border-bottom: 1px solid #cfcabc;
    padding-left: 5%;
    padding-right: 5%;
    padding-bottom: 15px;
}

.breadcrumb {
    padding: 0px;
}

.orangeList { padding-left: 0px; }
.orangeList li { float: none; width: 95%; margin-left: 3%; }

.grayBox { background: #ece9e4; border: 1px solid #cfcabc; }

.ctaWrap { background: #ece9e4; box-shadow: none; }

a.largeRequestButton { background: #a90101; border: 1px solid #910d0d; }

.help-block { color: #666666; }

th.sort.asc { background-color: #ece9e4; }
th.sort.desc { background-color: #ece9e4; }

.request-header {
    background-color: #ece9e4;
}

.request-info, .tabs-responsive {
    background-color: #f4f4f4;
    border: 1px solid #dee2e6;
    margin-left: 0;
    margin-right: 0;
}

#request-tabs > li > button:hover,
#request-tabs > li > button:focus,
#request-tabs > li > button:active {
    background-color: #f4f4f4;
    text-decoration: underline;
    color: #0a58ca;
}

.d-none.d-lg-block.mt-2 {
    background-color: #f4f4f4;
    margin-top: 0 !important;
}

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

/* Footer */
hr.foot:after { background: none; }
#footer a, #footer p { color: #910d0d; }
#footer a:hover { color: #680606; }
footer {
    background-color: #dfdbd3;
    padding: 0;
    margin: 0;
}

/* Site Styles */
.no-margin { margin: 0; }
.no-margin-top { margin-top: 0; }
.top-margin-10-px { margin-top: 10px; }
.top-bottom-margin-5-px { margin-top: 5px; margin-bottom: 5px; }

.select-placeholder { display: none; }

.approval-row { margin-bottom: 10px; }

.restriction-textarea { resize: vertical; }

.table-striped a:not(.btn) { color: #2A6598; }

.cart { border: none; background-color: transparent; }

.table-gradient thead tr { background-color: initial; }

.table tr.header td, .table tr.header th {
    color: #636363;
}

/* Bootstrap Overrides */
.text-muted {
    color: #5F6A6D !important;
}
.page-header { margin-bottom: 15px; border-bottom: 1px solid #cfcabc; }

.btn-primary, .btn-danger { background-color: #a90101 !important; border-color: #910d0d; background-image: none; color: #ffffff !important; }
.btn-primary:hover, .btn-danger:hover { background-color: #680606 !important; border-color: #713333; }

/* TGS Subject Search */
.study_name_container { max-width: 350px; }
.toggle-all-selections { float: right; }
.toggle-all-selections {
    cursor: pointer;
    color: #a90101;
    text-decoration: underline;
}
.ancestor-description { cursor: help; }

.sm-clean{
    background: #6B6C70
}

.request-header.position-sticky {box-shadow: none; }

#search-button-container { margin: 5px 0 5px 0; }

/* My Requests */
#my-requests-table tr.header, #my-requests-table th { font-size: 1.2em; font-weight: bold; }
#my-requests-table th { border-bottom: 1px solid black; }
.comment-update-summary {
    color: #696969;
}

/* Media Queries */
@media (max-width: 1035px) {
    #header span.h1,
    #header span.h1 a {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    #nciBanner .dropdown-container { border-top: 1px solid #eee; }
}

@media (max-width: 600px) {
    img.logo { width: 100%; }
}

@media (max-width: 530px) {
    #header span.h1,
    #header span.h1 a {
        font-size: 14px;
    }
}

.range-input {
    width: 100px;
}
