/* mergedresults.css - merged in priority order: Site.css < site-library.css < header-library.css */

/*@import url(https://fonts.googleapis.com/css?family=Open+Sans|Oswald);*/

/* Suggested edits from Greg Nordyke */
html {
    font-size: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

@media (min-width: 560px) {
    .head-logo a {
        background: transparent url("Images/wpl-web-sprites_standard.png") no-repeat 0 -221px;
        height: 88px;
        width: 261px;
    }
}

.head-logo a {
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Oswald", sans-serif;
    font-weight: 500;
    line-height: 1.1;
}

h1, .ms-h1 {
    font-family: "Segoe UI Light", "Segoe", "Segoe Fluent Icons", "Tahoma", "Arial", sans-serif;
    font-size: 2.3em;
    color: #777;
    font-weight: 200;
}

h1, h2, h3, h4, h5, h6, .ms-h1, .ms-h2, .ms-h3, .ms-h4, .ms-h5, .ms-h6 {
    margin: auto;
    font-weight: normal;
}

h1 {
    display: block;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0;
    margin-inline-end: 0;
    font-size: 1.5em;
    font-weight: 800;
    color: #263692;
    unicode-bidi: isolate;
}

h5 {
    font-size: 0.85rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1.2;
}

.lead {
    font-size: .95rem;
    letter-spacing: -0.3px;
    font-weight: 500;
    line-height: 1.2;
}

/*.mb-3{
    
    font-weight:500;
    color:#263692;
}*/
.head-logo {
    margin: 0;
    float: left;
}

/*.logo {
    position:relative;
    left:0;
    top:0;
    height: auto;
    width: auto;
    min-height: 50px;
    margin-bottom: 1px;
    margin-top: 1px;
    z-index:1;
}*/
.form-title {
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -0.2px;
    line-height: 1.2;
    color: #263692;
}

.card-title {
    color: #263692;
    font-size: 1.1rem;
    font-weight: 600;
    font-style: normal;
    letter-spacing: -0.2px;
    line-height: 1.2;
}

.card-text {
    font-style: italic;
    font-size: .95em;
    line-height: 1.2;
}

.form-control {
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.col-form-label {
    font-size: .95rem;
    font-weight: 500;
    letter-spacing: -0.2px;
}

.navbar {
    position: relative;
    min-height: 50px;
    margin-bottom: 40px;
    margin-top: 0px;
    border: 1px solid transparent;
}

.navbar-fixed-top,
.navbar-fixed-bottom {
    position: relative;
    z-index: 1;
}

.navbar-nav > li > a {
    font-size: 1.25rem;
    line-height: 30px;
    padding: 8px 9px !important;
    color: #31b44b !important;
    font-family: "Oswald", sans-serif;
    font-weight: 400;
}

.navbar-collapse.collapse.in .navbar-nav > li {
    display: block;
}

/*@media all and (max-width:768px) {
.navbar-nav > li {
    float: none;
    display: block;
}
}*/

@media all and (max-width:768px) {
    .navbar-nav > li > a {
        padding: 0;
    }
}

.navbar-inverse {
    background: #263692;
    border: none;
}

.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
    color: #ffff !important;
    background-color: #263692;
}

body {
    padding: 0;
    font-family: "Open Sans", sans-serif;
    font-size: 0.95rem;
    line-height: 1.2;
    color: #34495e;
    background-color: #ffff;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 100%;
    font-size: 0.95rem;
}

/* Override default behavior of text box for longer display*/
.long-textbox {
    width: 600px;
}

/* ======================================================
   Wichita Public Library Brand Colors
   ====================================================== */
:root {
    --wpl-navy: #003b63;
    --wpl-gold: #f6a800;
}

/* ======================================================
   HEADER
   ====================================================== */

.top-bar {
    background-color: var(--wpl-navy);
    color: #ffffff;
    padding: 0.35rem 0;
    font-size: 0.85rem;
}

/* DUPLICATE-REMOVED (DUPLICATE-REMOVED: original block from site-library.css overridden by later block from header-library.css)
.top-link {
    color: #ffffff;
    text-decoration: none;
}
*/

.top-link:hover {
    text-decoration: underline;
}

/* DUPLICATE-REMOVED (DUPLICATE-REMOVED: original block from site-library.css overridden by later block from header-library.css)
.main-nav {
    background-color: white;
    border-bottom: 4px solid var(--wpl-navy);
}
*/

.navbar-brand .brand-text {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--wpl-navy);
}

/* DUPLICATE-REMOVED (DUPLICATE-REMOVED: original block from site-library.css overridden by later block from header-library.css)
.nav-link {
    color: var(--wpl-navy) !important;
    font-weight: 500;
}
*/

.nav-link.active {
    border-bottom: 3px solid var(--wpl-gold);
}

.nav-link:hover {
    color: #31b44b !important;
    font-weight: 600;
}

/* Logo sizing */
/* DUPLICATE-REMOVED (DUPLICATE-REMOVED: original block from site-library.css overridden by later block from header-library.css)
.wpl-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
}
*/

/* ======================================================
   FOOTER
   ====================================================== */

.library-footer {
    background-color: var(--wpl-navy);
    border-top: 4px solid var(--wpl-gold);
    color: #ffffff;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

/* ======================================================
   Buttons in forms
   ====================================================== */
.btn-warning {
    background-color: var(--wpl-gold);
    border-color: var(--wpl-gold);
    color: black;
}

.btn-warning:hover {
    background-color: #e09a00;
    border-color: #e09a00;
}

/* Base */
.site-header {
    border-bottom: 1px solid #d8d8d8;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    background: #fff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Utility */
/* Accessibility helper */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Overall top bar: logo left, search + links right */
.header-top {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.9rem 1.25rem 1.35rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    font-family: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Logo link */
.brand {
    display: block;
    text-decoration: none;
}

.wpl-logo {
    display: block;
    height: 110px;         /* tweak if needed */
    width: auto;
}

/* Right-hand block (search above links) */
.header-top-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.9rem;
    flex: 1;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #003b5c;
}

.brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: #00539b;
    display: inline-block;
}

.brand-text {
    font-size: 1.3rem;
    font-weight: 700;
}

.header-top-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

/* Top links (Get a Card / My Account / Ask a Librarian) */

.top-link {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
}

.top-link a {
    text-decoration: none;
    color: #34495e;
}

.top-link a:hover {
    text-decoration: underline;
}

/* SEARCH BAR – rectangle + orange button */

.site-search {
    display: flex;
    align-items: stretch;
    max-width: 520px;      /* narrower, matches screenshot better */
    width: 100%;
}

.site-search-input {
    flex: 1;
    font-size: 1.05rem;
    padding: 0.65rem 0.8rem;
    border: 2px solid #d7d7d7;
    border-right: none;
    border-radius: 0;
    outline: none;
}

.site-search-input::placeholder {
    color: #555;
}

.site-search-btn {
    width: 52px;
    border: none;
    background: #f29c38;             /* orange square */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.site-search-btn:hover,
.site-search-btn:focus-visible {
    background: #de8b2b;
}

/* Main nav */
.main-nav {
    background: #263692;
    color: #fff;
    font-size: 1.25rem;
    font-family: Oswald, sans-serif;
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    width: 100%;
    padding: 0.7rem 1rem;
    border: none;
    background: #00539b;
    color: #fff;
    font-size: 1rem;
    text-align: left;
    cursor: pointer;
}

.nav-toggle-icon {
    display: inline-block;
    width: 18px;
    height: 2px;
    background: currentColor;
    position: relative;
    margin-right: 0.5rem;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: currentColor;
}

.nav-toggle-icon::before {
    top: -5px;
}

.nav-toggle-icon::after {
    top: 5px;
}

/* Nav menu */
.nav-menu {
    max-width: 1200px;
    margin: 0 auto;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0 1rem;
    display: flex;
    align-items: stretch;
    gap: 0.25rem;
}

.nav-item {
    position: relative;
    font-size: 1.25rem;
    font-family: Oswald, sans-serif;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem 0.85rem;
    font-size: 1.10rem;
    text-decoration: none;
    color: #fff;
    border: none;
    background: transparent;
    cursor: pointer;
}

.nav-link:hover,
.nav-link:focus-visible {
    /* background: #003b5c; */
    background: #263692;
}

/* ICON + TEXT ROW (Get a Card / My Account / Ask A Librarian) */

.top-links {
    display: flex;
    align-items: center;
    gap: 2.6rem;
    font-size: 1.05rem;
}

.top-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #2f7b2f !important;
    font-family: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-weight: 500;
}

.top-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    color: inherit;
    font-size: 1.0rem;
    font-weight: 700;
}

/* Ask a Librarian button */
.top-link.item-ask {
    background: #068920;
    color: #ffffff !important;
    padding: 0.55rem 1.9rem;
    border-radius: 2px;
    font-size: 0.90rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.3px;
    font-family: "Roboto", "system-ui", "-apple-system", "Segoe UI", "sans-serif";
}

.top-link.item-ask:hover,
.top-link.item-ask:focus-visible {
    background: #046317;
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 960px) {
    .header-top {
        padding-inline: 1rem;
    }

    .site-search {
        max-width: 100%;
    }

    .top-link {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .top-link.item-ask {
        margin-top: 0.5rem;
    }
}

/* Mega menu */
.nav-has-mega:hover > .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.mega-menu {
    position: absolute;
    left: 0;
    top: 100%;
    background: #263692;
    color: #fff;
    padding: 1rem 1.25rem;
    min-width: 280px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
    pointer-events: none;
    z-index: 30;
}

.mega-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.mega-col {
    min-width: 180px;
}

.mega-col h3 {
    margin: 0 0 0.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.mega-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mega-col li + li {
    margin-top: 0.25rem;
}

.mega-col a {
    font-size: 0.9rem;
    text-decoration: none;
    color: #fff;
}

.mega-col a:hover {
    text-decoration: underline;
}

/* Simple link items (no dropdown) */
.nav-item:not(.nav-has-mega) .nav-link {
    padding-inline: 0.9rem;
}

/* Responsive */
@media (max-width: 960px) {
    .header-top {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .header-top-right {
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .top-links {
        flex-wrap: wrap;
    }

    .nav-toggle {
        display: flex;
        align-items: center;
    }

    .nav-menu {
        display: none; /* you’ll open/close this with JS later */
    }

    .nav-menu.is-open {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        padding: 0;
    }

    .nav-item {
        border-top: 1px solid rgba(255,255,255,0.15);
    }

    .nav-link {
        width: 100%;
        justify-content: space-between;
    }

    .mega-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        margin-top: 0;
    }

    .mega-row {
        flex-direction: column;
    }
}

/* Footer Styles */
.blk {
    display: block;
}

.site-footer {
    margin-top: 3rem;
    font-family: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
    color: #ffffff;
}

.footer-main {
    background-color: #233c98;
}

.footer-core {
    max-width: 1200px;
    margin: 0 auto;
    padding-inline: 1.5rem;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    padding-top: 2.5rem;
}

.footer-col {
    min-width: 180px;
    flex: 1 1 0;
}

.footer-col-narrow {
    max-width: 190px;
}

.footer-col-right {
    max-width: 260px;
}

.footer-col h3 {
    margin: 0 0 0.75rem;
    font-family: "Roboto Condensed", "system-ui", "-apple-system", "Segoe UI", "sans-serif";
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col li + li {
    margin-top: 0.25rem;
}

.footer-col a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-col a:hover,
.footer-col a:focus-visible {
    text-decoration: underline;
}

/* Social Icons and Logo */
.social-links {
    display: flex;
    gap: 0.75rem;
    margin: 0.5rem 0 1.5rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    border: 2px solid #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
}

.social-icon-inner {
    font-family: "Roboto Condensed", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1;
}

.social-icon:hover,
.social-icon:focus-visible {
    background-color: rgba(255,255,255,0.14);
}

.footer-city-logo {
    margin-top: 0.75rem;
}

.footer-city-img {
    max-width: 160px;
    height: auto;
    display: block;
}

/* Generic sprite base */
.sprite {
    display: inline-block;
    vertical-align: middle;
    line-height: inherit;
    position: relative;
    background-image: url("Images/wpl-web-sprites_retina.png");
    background-repeat: no-repeat;
}

/* Container for the two silhouette pieces */
.footer-sprites {
    position: relative;
    margin-top: 2rem;
    height: 110px;      /* approximate height of the silhouettes */
}

/* Copyright */
.footer-bottom {
    background-color: #182970;
}

.footer-bottom .footer-core {
    padding-block: 0.9rem;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
}

/* Updated for new Library Footer 6/10/2021*/
.sprite-activate-logo {
    background: transparent url("Images/wpl-web-sprites_standard.png") no-repeat 0 0;
    height: 59px;
    width: 99px;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2),
       only screen and (min--moz-device-pixel-ratio: 2),
       only screen and (-o-min-device-pixel-ratio: 2 / 1),
       only screen and (min-device-pixel-ratio: 2),
       only screen and (min-resolution: 192dpi),
       only screen and (min-resolution: 2dppx) {
    .sprite-activate-logo {
        background: transparent url("Images/wpl-web-sprites_retina.png") no-repeat 0 0;
        background-size: 480px 852.5px;
        height: 59px;
        width: 99px;
    }
}

.sprite-bmgf {
    background: transparent url("Images/wpl-web-sprites_standard.png") no-repeat 0 -59px;
    height: 32px;
    width: 162px;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2),
       only screen and (min--moz-device-pixel-ratio: 2),
       only screen and (-o-min-device-pixel-ratio: 2 / 1),
       only screen and (min-device-pixel-ratio: 2),
       only screen and (min-resolution: 192dpi),
       only screen and (min-resolution: 2dppx) {
    .sprite-bmgf {
        background: transparent url("Images/wpl-web-sprites_retina.png") no-repeat 0 -59px;
        background-size: 480px;
        height: 32px;
        width: 162px;
    }
}

.sprite-foot-left {
    background: transparent url("Images/wpl-web-sprites_standard.png") no-repeat 0 0;
    position: absolute;
    left: 58px;
    height: 113px;
    width: 480px;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2),
       only screen and (min--moz-device-pixel-ratio: 2),
       only screen and (-o-min-device-pixel-ratio: 2 / 1),
       only screen and (min-device-pixel-ratio: 2),
       only screen and (min-resolution: 192dpi),
       only screen and (min-resolution: 2dppx) {
    .sprite-foot-left {
        background: transparent url("Images/wpl-web-sprites_retina.png") no-repeat 0 0;
        background-size: 480px;
        position: absolute;
        left: 58px;
        height: 113px;
        width: 480px;
    }
}

/*Fix here Cliff*/
.sprite-foot-right {
    background: transparent url("Images/wpl-web-sprites_standard.png") no-repeat 0 -114px;
    right: 30px;
    height: 106px;
    width: 478px;
    position: absolute;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2),
       only screen and (min--moz-device-pixel-ratio: 2),
       only screen and (-o-min-device-pixel-ratio: 2 / 1),
       only screen and (min-device-pixel-ratio: 2),
       only screen and (min-resolution: 192dpi),
       only screen and (min-resolution: 2dppx) {
    .sprite-foot-right {
        background: transparent url("Images/wpl-web-sprites_retina.png") no-repeat 0 -114px;
        background-size: 480px;
        right: 30px;
        height: 106px;
        width: 478px;
        position: absolute;
    }
}

.sprite-logo-lg {
    background: transparent url("Images/wpl-web-sprites_standard.png") no-repeat 0 -221px;
    height: 88px;
    width: 173px;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2),
       only screen and (min--moz-device-pixel-ratio: 2),
       only screen and (-o-min-device-pixel-ratio: 2 / 1),
       only screen and (min-device-pixel-ratio: 2),
       only screen and (min-resolution: 192dpi),
       only screen and (min-resolution: 2dppx) {
    .sprite-logo-lg {
        background: transparent url("Images/wpl-web-sprites_retina.png") no-repeat 0 -221px;
        background-size: 480px;
        height: 88px;
        width: 262px;
    }
}

.sprite-logo {
    background: transparent url("Images/wpl-web-sprites_standard.png") no-repeat 0 -309px;
    height: 45px;
    width: 131px;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2),
       only screen and (min--moz-device-pixel-ratio: 2),
       only screen and (-o-min-device-pixel-ratio: 2 / 1),
       only screen and (min-device-pixel-ratio: 2),
       only screen and (min-resolution: 192dpi),
       only screen and (min-resolution: 2dppx) {
    .sprite-logo {
        background: transparent url("Images/wpl-web-sprites_retina.png") no-repeat 0 -309px;
        background-size: 480px;
        height: 45px;
        width: 131px;
    }
}

.sprite-wichita-logo {
    background: transparent url("Images/wpl-web-sprites_standard.png") no-repeat 0 -354px;
    height: 81px;
    width: 173px;
    margin-top: 1.25rem !important;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2),
       only screen and (min--moz-device-pixel-ratio: 2),
       only screen and (-o-min-device-pixel-ratio: 2 / 1),
       only screen and (min-device-pixel-ratio: 2),
       only screen and (min-resolution: 192dpi),
       only screen and (min-resolution: 2dppx) {
    .sprite-wichita-logo {
        background: transparent url("Images/wpl-web-sprites_retina.png") no-repeat 0 -354px;
        background-size: 480px;
        height: 81px;
        width: 173px;
    }
}