/* Bootstrap overide */
.btn.btn-primary {
    background-color: #007ac1 !important;
    border-color: #565656;
}

.btn.btn-primary:hover {
    background-color: #005f96 !important;
}

.btn.btn-secondary {
    background-color: #f9f9f9 !important;
    border-color: #d4d4d4 !important;
    color: #313131 !important;
}

.btn.btn-secondary:hover {
    background-color: #e2e2e2 !important;
}

.modal-footer {
  justify-content: space-between !important;
  padding: .75rem 0 .75rem 0;
}

.save-registry-button-container:parent {
    justify-content: center !important;
}

#content {
    width: calc(100% - 3em);
    background-color: #fff;
    margin: 0.5em 1.5em 0 1.5em;
    border-bottom-right-radius: 30px;
    border-bottom-left-radius: 30px;
}

.textarea_lock_h {
    resize: vertical
}

.alert-danger a {
    color: #a94442;
}

.tools-dropdown {
    float: right;
    padding-left: 35px;
}

.page-item.active .page-link {
    background-color: #007ac1 !important;
    border-color: #565656;
}

.errorlist {
    color: red;
    margin-bottom: .1em;
}

#data-title { /* Remove data title from data page */
    visibility: hidden;
    height: 0em;
}
/* End Bootstrap overide */

/* Fontawesome overide */
.fa span {
    font-family: 'Source Sans Pro', sans-serif !important;
}
/* End fontawesome overide */


/* NESTR customizations */

.resource-container {
    /* make important so it doesn't get overridden by resource_banner.css */
    width: 12em !important;
}

.resource-container p {
    margin-top: .5em !important;
}

li > a > i, li > div > a > i {
    /* add some spacing to icons in top nav */
    margin-right: .5em;
    margin-left: .5em;
}

/* make school subject facet not so tall 
   (wildcard so future schema versions still match since they change
   the slug to -2, -3, etc.
*/
div[id*="collapse_id_refinement-school-subject"],
div[id*="collapse_id_refinement-educational-standard"] {
    max-height: 300px;
    overflow-y: auto;
}

.flex-resource-banner {
    /* margin-top: -50px !important; */
    margin-bottom: 1em !important;
}

p {
    margin-bottom: 0.5em;
}

.tile .icon {
    margin-top: 0.9em !important;
}

/* tooltip content */
div.tooltip-use:hover span.tooltip-text {
    padding: 0.5em;
    line-height: 1.25em;
}

span.tooltip-text {
    font-size: smaller;
}

/* add additional margin to green plus icons on curate page */
span.add.fas.add-button-color {
    margin-right: .2em;
}

/* improve formatting of tiles on homepage */
.tile .text {
    margin-top: 1.25em;
    font-size: 0.85em;
    text-align: left !important;
    line-height: 1.25em !important;
}

/* prevent scroll bar on search page */
#search_bar > ul.tagit {
    overflow-x: hidden;
}