html {
    font-size: 16px !important;
}

.header-nav-bar.header-nav-bar-top-border.bg-iu-red {
    background: #981E32;
}

@media (min-width: 992px ) {
    #header .header-nav.header-nav-line:not(.header-nav-light-text) nav > ul > li > a {
        color: #fff;
    }
}

#header .header-nav.header-nav-line:not(.header-nav-light-text) nav > ul > li:hover {
    color: #981E32;
    background: #fff;
}

#header .header-nav.header-nav-line:not(.header-nav-light-text) nav > ul > li:hover a {
    color: #981E32;
}

#header .header-nav.header-nav-line:not(.header-nav-light-text) nav > ul > li:hover a:before {
    display: none;
}

#header .header-nav-main nav > ul > li.dropdown .dropdown-menu {
    border-top-color: #981E32;
}

/* hide chevron-down icon when there is no dropdown */
.no-subs i.fas.fa-chevron-down {
    display: none !important;
}

a:hover, a:focus {
    text-decoration: none !important;
}

.btn:focus-visible, html .btn-primary:focus-visible:not(.bg-transparent) {
    background-color: #7c1628 !important;
    border-color: #7c1628 !important;
}

.btn:active, html .btn-primary:active:not(.bg-transparent) {
    background-color: #7c1628 !important;
    border-color: #7c1628 !important;
}

h2 {
    font-weight: 300 !important;
}

strong {
    font-weight: bolder !important;
}

div#search-panel {
    display: block;
    clear: both;
    background: #fff;
    padding: 1.5em 3em 3em;
}

.form-container.book-form {
    padding-top: 1em;
}

.form-container.book-form .form-stage {
    margin-bottom: 1em;
}

input#home-query-field, #pubMedSearch {
    border: 1px solid #cac8cb;
    font-size: 1em;
    padding: 1rem 1.5rem;
    height: 3.5em;
    line-height: 1em;
    border-radius: 3px;
    box-sizing: border-box;
    display: block;
    margin: 0;
    width: 100%;
}

input#home-search-btn-icon, #pubMedButton {
    display: block;
    width: 100%;
    margin: 1em 0 0.5em;
    font-family: "Gentona", sans-serif;
    font-style: normal;
    border-radius: 4px;
    padding: 0.5em 1em;
    height: 3.5em;
    line-height: 1em;
    font-size: 1em;
    box-sizing: border-box;
}


@media (min-width: 1200px) {
    .search-container {
        background-image: url(https://cdn.iuhealth.org/heros/_2000x500_crop_top-center_none/Ball-Memorial-Hospital.jpg);
        background-position: center 87.5556px;
        /*background-attachment: fixed;*/
        min-height: 500px !important;
        padding-bottom: 3em;
        background-size: cover;
        border-bottom: 10px solid #D7D2CB;
    }
}

#search-panel h2 {
    margin-bottom: 10px;
    margin-left: 130px;
}


@media (min-width: 768px) {
    input#home-query-field, #pubMedSearch {
        float: left;
        width: 73%;
    }

    input#home-search-btn-icon, #pubMedButton {
        float: left;
        width: 25%;
        margin: 0 0 0 2%;
    }

    .search-container {
        padding-bottom: 10%;
    }
}

@media (min-width: 992px) {
    div#search-panel {
        width: 100%;
        top: 75px;
        position: relative;
        z-index: 998;
        left: 0 !important;
        right: 0 !important;
        max-width: 1440px;
        box-sizing: border-box;
        margin: auto;
    }

    .form-container.book-form {
        display: flex;
        justify-content: center;
    }

    .form-container.book-form .form-stage {
        width: 75%;
    }

    input#home-query-field {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    .search-container {
        /*padding-bottom: 3em;*/
        background-size: cover;
        background-position: center top;
        transition: min-height .3s;
        margin-bottom: 20px;
    }

}

@media (min-width: 1200px) {
    /*div#search-panel {*/
    /*    min-height: 398px;*/
    /*}*/
    .form-container.book-form .form-stage {
        width: 80%;
    }
}

@media (min-width: 992px) {
    #header .header-nav.header-nav-line nav > ul > li > a {
        min-height: auto !important;
    }
}

/*@media (min-width: 1440px) {*/
/*    div#search-panel {*/

/*    }*/
/*}*/

a#returnHome {
    width: 8em;
    display: block;
    margin: 30px auto 10px;
    font-size: 1.6em;
}

#homepage-articles img {
    max-height: 237px;
}

#flexible-section li {
    list-style: none;
}

img#homeSectionImg4 {
    max-width: 90%;
    height: auto;
    max-height: none;
}

#flexible-section a {
    font-size: 20px;
    color: #981E32;
}

div#flexiblelinks {
    display: flex;
    align-items: center;
    margin: 20px auto;
    justify-content: center;
}

div#flexiblelinks.hidden {
    display: none;
}

#flexible-section a:active, #flexible-section a:focus, #flexible-section a:hover {
    color: #651D32 !important;
}

.tooltip {
    opacity: 1;
    z-index: inherit;
}

/*.tooltip .tooltiptext {*/
/*    visibility: hidden;*/
/*    width: 25%;*/
/*    background-color: black;*/
/*    color: #fff;*/
/*    text-align: center;*/
/*    border-radius: 6px;*/
/*    padding: 5px 0;*/
/*    bottom: 100%;*/
/*    left: 50%;*/
/*    margin-left: -12.5%;*/

/*    position: absolute;*/
/*    z-index: 1;*/
/*}*/

/*.tooltip:hover .tooltiptext {*/
/*    visibility: visible;*/
/*}*/

@media (min-width: 768px) {
    #homepage-articles .mb-md-0 {
        margin-bottom: 50px !important;
    }
}


table.admin-table td {
    height: 78px;
    max-width: 400px;
    width: 25%;
}

#repoTable2.modal-dialog, #repoTable3.modal-dialog, #repoTable4.modal-dialog {
    max-width: 90%;
}

#repoTable2.modal-dialog table.admin-table td, #repoTable3.modal-dialog table.admin-table td, #repoTable4.modal-dialog table.admin-table td {
    width: 15%;
}

table.admin-table td .tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted #981E32;
}

table.admin-table td .tooltip.top-level {
    display: block;
    border-bottom: none;
}

table.admin-table td .top-level input {
    padding: 7.5px 5px !important;
}

.top-level span.tooltiptext {
    width: 170px;
    bottom: 100%;
    left: 0;
}

i.fa-solid.fa-circle-question {
    color: #981E32;
}

code {
    color: #981E32;
    font-size: 0.875rem;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 290px;
    background-color: #A59C94;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 10px;
    position: absolute;
    z-index: 1;
    /*bottom: 50 px;*/
    left: 35%;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #A59C94 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}

.admin-table td.px-6.py-4.whitespace-nowrap:nth-of-type(3) {
    width: 8% !important;
}

table.table.admin-table input {
    border: 1px solid #cac8cb;
    padding: 5px;
}

form.auth-form {
    width: 50%;
    margin: 50px auto;
    padding: 75px 100px;
    border: 1px solid #eee;
}

#header .header-nav.header-nav-spaced nav > ul > li > a,
#header .header-nav.header-nav-line nav > ul > li > a {
    padding-left: 0.9rem !important;
    padding-right: 0.9rem !important;
}

@media (max-width: 1024px) {
    form.auth-form {
        width: 75%;
        padding: 75px;
    }
}

@media (max-width: 767px) {
    form.auth-form {
        width: 90%;
        padding: 75px 25px;
    }
}

@media (max-width: 337px) {
    .auth-form a,
    div#login-button-container {
        width: 100%;
    }
}

#resource-page.container {
    max-width: 75%;
    width: 75%;
}


/*div#resource-page */
input[type="text"], textarea {
    width: 100%;
    border: 1px solid #cac8cb;
    padding: 10px;
    line-height: 1em;
    border-radius: 3px;
    box-sizing: border-box;
    display: block;
    margin: 0;
}

div#resource-page .editLinks {
    margin: 0;
}

@media (max-width: 550px) {
    .resource-section .editableSectionHeader button {
        width: 100% !important;
        margin: 20px auto;
    }

    #addSection-resourcePage, #editHeaderImage-resourcePage {
        display: block !important;
        width: 80%;
        margin: 10px auto !important;
    }


    .editableSectionHeader {
        display: block !important;
    }
}

div#resource-page textarea {
    width: 100%;
    resize: both;
}

div#resource-page form label {
    font-weight: normal;
    margin: 50px 0 20px 0;
    font-size: 20px;
}

img#resourcePageImg {
    margin: 20px 20px 10px 10px;
}

form label, form.auth-form label {
    font-size: 20px;
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: bolder;
}

.sectionBorder {
    padding: 50px 20px;
    border: 1px solid #cac8cb;
    margin: 20px;
}


#logged-in {
    margin: -48px 50px 15px auto;
    max-width: 95%;
    width: 210px;
}

/*.greeting {*/
/*    text-align: center;*/
/*}*/

@media (max-width: 767px) {
    #logged-in {
        margin: 0px auto 10px;
    }


    section.section.section-height-4 {
        padding-top: 5%;
    }
}


.admin-links a {
    margin: 2px;
}

.admin-links {
    margin: 0 auto;
    display: block;
    width: 95%;
}

.editButton {
    width: 100%;
    height: 50px;
}

.editLinks {
    max-width: 65%;
    margin: 40px auto 10px;
}

.editLinks a {
    font-size: 22px;
}

.editLinks a#recommended-sitesEditPage, .editLinks a#resourcesEditPage {
    padding: 0 12px;
}

p#new-page {
    font-size: 32px;
    margin: 40px;
    line-height: 1.5;
}

button#covid19infoEditButton {
    float: right;
}

.editableSectionHeader {
    display: flex;
    align-items: center;
    margin: 20px auto;
    justify-content: center;
}

.editableSectionHeader h2 {
    margin: 0;
}

.editableSectionHeader button {
    margin: 0 0.5rem 0 0.5rem;

}

.editableSectionHeader button.btn-primary.editSection, .editableSectionHeader button.btn-secondary.delete-button {
    width: 50%;
    font-size: 18px;
}

@media (max-width: 375px) {
    .editableSectionHeader button.btn-primary.editSection, .editableSectionHeader button.btn-secondary.delete-button {
        font-size: 14px;
    }
}

@media (max-width: 300px) {
    .editableSectionHeader button.btn-primary.editSection, .editableSectionHeader button.btn-secondary.delete-button {
        font-size: 11px;
    }
}

.formContainer {
    position: relative;

}

.ui-input-text.ui-body-inherit.ui-corner-all.ui-shadow-inset {
    border: none !important;
}

.login-button-container {
    width: 50%;
    margin: 40px auto;
    display: block;
    float: none;
}

#footer .container.py-2 {
    display: block !important;
}

#header .header-container.container {
    display: block !important;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 9999;
}

.formContainer textarea {
    margin: 0 auto;
    display: block;
    width: 100%;
    max-width: 100%;
}

div#save-alert-container {
    width: 100%;
    padding: 0;
}

.px-3 {
    margin: 0 0 20px !important;
}

p.px-3.featuredBoxScroll {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
    height: 100px;
    overflow-y: scroll;
}

.row.align-items-center h2 a {
    color: #981E32;
}

.formContainer.col-md-6.col-lg-4.half-width {
    width: 60%
}

@media (max-width: 767px) {
    .formContainer.col-md-6.col-lg-4.half-width {
        width: 100%;
    }
}

.formContainer.col-md-6.col-lg-4.half-width .form-group {
    margin: 20px auto;
}

.sectionButtons .btn-primary {
    margin: 20px auto;
    display: block;
    width: 50%;
    font-size: 18px;
}

#sectionSaveButton {
    margin: 40px auto;
    display: block;
    font-size: 18px;
    width: 80%;
}

button.btn.dropdown-toggle {
    border: 1px solid #efefef;
    margin-top: 20px;
    background-color: #eee;
}

ul.search-result-list {
    width: 60%;
    padding: 20px;
    margin: 40px auto 0;
}

.header-nav-bar #pubMed-search-container {
    display: none !important;
}

@media (max-width: 767px) {
    ul.search-result-list {
        width: 80%;
        margin-top: 50px;
    }

    div#search-panel {
        padding-top: 3.5em;
    }
}

ul.search-result-list .search-result a.search-result-link {
    text-decoration: none;
    margin-bottom: 2px;
    display: block;
    font-size: 1.2em;
}

li.search-result {
    list-style-type: none;
    padding: 10px 0;
    font-size: 18px;
    line-height: 120%;
}

.pagination-links {
    margin-top: 40px;
}

ul.pagination {
    justify-content: center;
}

@media (max-width: 1470px) {
    #header .header-nav-main nav > ul > li > a {
        font-size: 12px;
    }
}

#header .header-nav-bar.header-nav-bar-top-border {
    display: flex;
}

#header .header-nav-bar input {
    height: 2em;
}

#header .header-nav-bar input#home-query-field {
    width: 100%;
}

#header .header-nav-bar .form-container.book-form {
    width: 40%;
}

@media (max-width: 1360px) {
    #header .header-nav-bar .form-container.book-form {
        width: 30%;
    }
}

@media (min-width: 992px) AND (max-width: 1219px) {
    #header .header-nav-bar .form-container.book-form {
        display: none;
    }

}

#header .header-nav-bar .form-container.book-form {
    padding-top: 0.857em;
}

@media (max-width: 1025px) {
    #header .header-nav-bar .header-row {
        align-self: flex-start;
    }

    #header .header-nav-bar .header-btn-collapse-nav {
        font-size: 32px;
    }
}

#header .header-nav-bar form#home-search-form {
    position: relative;
}


#header .header-nav-bar form#home-search-form button#home-search-btn {
    display: block !important;
    position: absolute;
    right: 5px;
    height: 2.42em;
    background: #fff;
    color: #981E32;
    border-left: #981E32 1px solid;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 20px;
    top: -8px;
}

#header .header-nav-bar form#home-search-form input#home-search-btn-icon {
    display: none;
}

@media (min-width: 992px) {
    th.px-6.py-4.whitespace-nowrap.action-label {
        justify-content: center;
        display: flex;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    section#pageHeading {
        margin-top: -1px !important;
    }
}

@media (max-width: 991px) {
    #header .header-nav-bar .form-container.book-form {
        margin-right: 5%;
        width: 750px;
    }

    #header .header-nav-bar .header-container {
        max-width: 100%;
    }

    #header .header-nav-main {
        width: 100vw;
        left: 7px;
    }

    div#home-form-container {
        margin: 0 auto;
        width: 95%;
    }
}

section#homepage-articles {
    padding-top: 40px;
}

@media (max-width: 575px) {
    #homepage-articles .col-sm-8 {
        width: 90%;
    }

    #homepage-articles .col-sm-8 article {
        margin: 0 auto;
        display: block;
        width: 90%;
    }

}

#addSection-homepage {
    margin: 0 auto 30px;
    display: block;
    width: 200px;
    font-size: 18px;
}

.dashboard-links ul {
    display: inline-flex;
    padding-left: 0;
}

.dashboard-links {
    position: relative;
    max-width: 90%;
    padding: 0px 30px;
    height: 40vh;
    line-height: 70px;
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.responses-link a {
    position: relative;
    top: -70px;
    text-align: center;
    margin: 20px 0;
    display: block;
    color: #A59C94;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 500;
    padding: 12px 1rem;
}


#dashboardEdit.dashboard-links.adminLinksVisible {
    height: 25vh;
}

li.edit-admin {
    list-style-type: none;
}

li.edit-admin a {
    color: #A59C94;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 500;
    padding: 12px 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-align: left;
}

@media (max-width: 1339px) {
    li.edit-admin a {
        font-size: 1.2rem;
        padding: 12px .8rem;
        text-align: center;
    }
}

@media (max-width: 1148px) {
    li.edit-admin a {
        font-size: 1rem;
        padding: 12px 10px;
    }
}

@media (max-width: 999px) {
    li.edit-admin a {
        font-size: 14px;
        padding: 12px 10px;
    }
}

li.edit-admin a:hover {
    color: #981E32;
}

.flex.items-center.justify-end {
    display: flex;
    justify-content: end;
    align-items: center;
}

.dashboard-link-red {
    color: #981E32;
}

@media (max-width: 1304px) {
    .modal-body table button {
        display: block;
        margin: 10px auto;
        width: 100%;
    }
}

@media (min-width: 1024px) {
    .editDropdownLink {
        margin-right: 20px;
    }
}

@media (max-width: 856px) {
    .modal-dialog {
        max-width: 90%;
    }
}

@media (max-width: 767px) {

    .dashboard-links {
        height: 40vh;
    }

    #dashboardEdit.dashboard-links.adminLinksVisible {
        height: 20vh;
        top: 2vh;
    }

    table.admin-section th strong {
        font-size: 11px;
    }

    a.editDropdownLink {
        font-size: 12px;
    }

    .modal-body table button {
        display: block;
        margin: 10px auto;
        width: 100%;
    }
}

a#addPageButton {
    margin: 40px auto 20px;
}

@media (max-width: 605px) {

    li.edit-admin {
        line-height: 1.2;
    }
}

@media (max-width: 767px) {
    .dashboard-links ul {
        display: block;
        padding-left: 0;
    }

    .hidden-xs {
        display: none !important;
    }

    li.edit-admin a {
        font-size: 20px;
        text-align: center !important;
        display: block;
        padding: 5px 7px;
    }

    .modal-dialog {
        max-width: 90% !important;
        width: 90% !important;
    }
}

@media (max-width: 461px) {
    #published-pages-table button, #unpublished-pages-table button {
        display: block;
        margin: 0px auto 10px;
        width: 100%;
    }


}

.hidden {
    display: none;
    transition: display 0.3s ease-in-out;
}


@media (max-width: 980px) {
    #footer .container {
        padding-left: 10%;
    }
}

#footer ul {
    padding-left: 0;
}

#footer li {
    list-style-type: none;
}

#footer a.footerItemHeading {
    font-weight: 600;
    text-transform: uppercase;
}

.modal-body {
    width: 95%;
    display: block;
    margin: 0 auto;
}

.modal-dialog {
    max-width: 60%;
    margin: 0 auto !important;
}


button.btn.btn-secondary, #editHeaderImage-resourcePage {
    background: #fff;
    color: #981E32;
    border: 1px solid #981E32;
    margin-left: 5px;
}

button.btn.btn-secondary:hover {
    background-color: #333;
    color: #fff;
    border: none;
}

.breadcrumb li a, #mainApp .breadcrumb > li + li:before {
    color: #4B4F54;
}

.breadcrumb > .active {
    color: #981E32 !important;
}

.breadcrumb.d-block.text-center li a, #mainApp .breadcrumb.d-block.text-center > li + li:before {
    color: #fff;
    font-size: 16px;
}

.breadcrumb.d-block.text-center > .active {
    color: #981E32 !important;
    font-size: 16px;
}

@media (max-width: 767px) {
    .breadcrumb {
        margin-top: 20px;
    }
}

ul.text-sm.text-red-600.dark\:text-red-400.space-y-1.mt-2 {
    color: red;
    list-style-type: none;
}

.pe-5 {
    padding-right: 0 !important;
}

a.btn-primary:focus {
    color: #fff !important;
}

.form-response-container {
    display: block;
    margin: 40px auto;
}

@media (min-width: 768px) {
    .form-response-container {
        max-width: 80%;

    }
}
