/* Last updated: 06.26.2024 */


.library {
    justify-content: space-evenly;
    margin-top: 30px;
}

form {
    margin-bottom: 15px;
}

.form-control {
    display: inline-block;
    width: 75%;
}

.library-search {
    border: 1px solid var(--secondary-neutral-dark-gray);
    border-radius: 0;
    clear: both;
    padding: 15px;
    position: relative;
}

.library-search [type="radio"] {
    left: 7px;
    margin-right: 10px;
    position: relative;
    top: -1px;
}

[type="radio"]:checked ~ label {
    background-color: var(--primary-neutral-light);
    border-bottom: 1px solid var(--primary-neutral-light);
    z-index: 2;
}

[type="radio"]:checked ~ label ~ .content {
    z-index: 1;
}

.search-select {
    flex-wrap: no-wrap;
    font-size: 0.85em;
    font-weight: 400;
    line-height: 1.5em;
}

.search-select label {
    left: 0;
    margin-left: 0;
    padding: 10px;
    position: relative;
}

.description {
    margin-bottom: 10px;
    margin-top: 0;
}

.content {
    bottom: 0;
    left: 0;
    padding: 0 20px;
    right: 0;
}

.content + .content:last-child {
    margin-bottom: 20px;
    padding-bottom: 0;
}

.show {
    display: block;
}

.hide {
    display: none;
}

.quick-link-buttons {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-evenly;
}

.library-contact {
    border: 1px solid var(--primary-neutral-gray);
    border-radius: 0;
    line-height: 1.75em;
    margin: 20px auto;
    padding: 1em 1.5em;
}

.library-contact p {
    /*font-size: 0.85em;*/
    margin: 10px 0;
}

.library-contact p span {
    font-size: 1.2em;
    font-weight: bold;
}

/*** NOTE: Please be careful of any changes made to these tabs, they tend to affect tabs on other pages ***/
.tabbed-content .heading--section {
    margin-bottom: 70px;
    margin-top: 45px;
}

/* Updated with :not on 06.01.2024 - it was affecting ul's inside tabs on other pages */
.tabbed-content ul:not(.tab-pane ul) {
  	border-bottom: 1px solid var(--primary-dark);
    margin-left: 0;
} 

.nav-tabs .nav-link.active,
.nav-tabs .nav-link {
    border-radius: 0;
}

/* Page ID added on 06.11.2024 because the row property was messing things up on other pages with tabs */
#71766 .tab-content > .active {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
}

.lib-resource p {
    flex-basis: 33%;
    padding-bottom: 1em;
}

.tab-pane {
    margin-left: 20px;
    margin-top: 30px;
    width: 100% !important;
}



/***** MEDIA QUERIES *****/
@media screen and (max-width: 575px) {
    .search-select {
        flex-wrap: wrap;
        font-size: var(--med-font-size);
        font-weight: 400;
        line-height: 24px;
    }
}

@media screen and (min-width: 768px) {
  .nav-tabs .nav-link.active {
    border: 1px solid var(--primary-dark);
    border-bottom: none;
    color: var(--primary-dark);
    margin-top: 1px;
  }
}
  

