/* Custom Client/Override Styling */

/* Widget overrides */
#KxBnBWidget {
    --kx-display-search-bar-title: none;
}

/* Css for cart */
.addon-quantity-input {
    height: 39px;
    width: 100px;
}

.no-radius {
    -moz-border-radius: inherit;
    -webkit-border-radius: inherit;
    border-radius: inherit;
}

.cart-middle {
    flex-grow: 1;
    overflow-y: auto;
    max-height: 32vh;
}

.cart-middle:empty {
    max-height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.cart-middle::-webkit-scrollbar {
    width: 8px;
}

.cart-middle::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.cart-middle::-webkit-scrollbar-thumb {
    background: #6099f1;
    border-radius: 4px;
}

.cart-middle::-webkit-scrollbar-thumb:hover {
    background: #aaa;
    border-radius: 4px;
}

.cart-addons {
    flex-grow: 1;
    overflow-y: auto;
    max-height: 15vh;
}

.cart-addons::-webkit-scrollbar {
    width: 8px;
}

.cart-addons::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.cart-addons::-webkit-scrollbar-thumb {
    background: #6099f1;
    border-radius: 4px;
}

s.cart-addons::-webkit-scrollbar-thumb:hover {
    background: #aaa;
    border-radius: 4px;
}

.TotalInfoSummary {
    position: sticky;
    bottom: 0;
    z-index: 20;
    background: var(--kx-color-background-search-results-cart, var(--kx-color-background-card))
}


/* =====================================================================
   Container - match hull.ac.uk (max-width 1496px, 48px gutters >=768px,
   full-width with 20px gutters below). Scoped to the header bar, navbar
   and footer so the framework's other .container uses are left intact.
   ===================================================================== */
.kx-master-header__top > .container,
.kx-navbar > .container,
.hull-footer .container {
    width: 100%;
    max-width: 100%;
    padding-inline: 1.25rem;
    margin-inline: auto;
}

@media (min-width: 768px) {
    .kx-master-header__top > .container,
    .kx-navbar > .container,
    .hull-footer .container {
        max-width: 1496px;
        padding-inline: 3rem;
    }
}


/* =====================================================================
   Header "Conferences & Events" lockup - sits next to the logo behind a
   thin vertical divider, mimicking the spec mock-up.
   ===================================================================== */
.kx-master-header__top .kx-header-conf {
    display: inline-block;
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 2px solid #fff;
    color: #fff;
    font-family: "Suisse Intl", var(--kx-font-family-base);
    font-size: 1.25rem;
    font-weight: 450;
    line-height: 1.15;
    text-transform: none;
}

.kx-master-header .kx-user-login-signup-links__pipe,
.kx-master-header .kx-logo {
    color: #fff;
}

.kx-master-header .KxBnBLogin,
.kx-master-header .KxBnBLogin a,
.kx-master-header .KxBnBLogin a:hover,
.kx-master-header .KxBnBLogin .text-body {
    color: #fff !important;
}

[id$="divTnC"] a,
[id$="divDnP"] a {
    color: var(--kx-color-brand-5);
}

/* The edit-mode toggle sits on a pale background, so the login-area white
   rule above leaves its label white-on-cream. Keep it dark and readable. */
.kx-master-header .ResourceMode,
.kx-master-header .ResourceMode * {
    color: var(--kx-color-brand-4, #0e1647) !important;
}

/* Validation messages inside the search bar sit on the navy background, where
   Bootstrap's .text-danger (#dc3545) only reaches 3.79:1 - below the WCAG 2.2
   AA minimum of 4.5:1. Lighten to #ff8b96 (7.67:1) for the navy bar only;
   .text-danger elsewhere sits on white and is left untouched. */
.kx-search-bar .text-danger {
    color: #ff8b96 !important;
}

/* KXSUP-97946 - centre the promotion code field text and its validation
   message so the slot matches the other (centred) search bar items. The
   visible "Promotion Code" text is a framework watermark written into the
   input's value, and form controls don't inherit text-align, so the input
   is targeted directly as well as the wrapper. */
.kx-search-bar__item--promotion,
.kx-search-bar__item--promotion .form-control {
    text-align: center;
}

/* KXSUP-97962 - the Bootstrap carousel chevrons are white SVGs at 50% opacity
   sitting directly on the room photo, so their contrast depends entirely on
   the image behind them and fails WCAG 2.2 SC 1.4.11 (3:1 for UI components).
   Give them a solid navy disc with a white ring so they stay compliant over
   any photo, light or dark (white chevron on navy = 17:1). */
.carousel-control-prev,
.carousel-control-next {
    opacity: 1 !important;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 2.5rem;
    height: 2.5rem;
    border: 2px solid #fff;
    border-radius: 50%;
    background-color: var(--kx-color-brand-4, #0e1647);
    background-size: 1rem 1rem;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-color 0.2s ease;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon,
.carousel-control-prev:focus-visible .carousel-control-prev-icon,
.carousel-control-next:focus-visible .carousel-control-next-icon {
    background-color: var(--kx-color-brand-5, #1d4cf2);
}


/* =====================================================================
   Brand fonts (site-wide) - per spec: Suisse Intl for body / buttons /
   form labels / h2-h6 (450, or 700 where needed); Signifier for H1 (700).
   The Book face covers 400-600 so any mid-weight in the UI renders as the
   450 "Book" look (the design only uses 450 or 700); Bold covers 700.
   NOTE: only Book(450) and Bold(700) Suisse and Regular/Medium Signifier
   files are supplied - a true Signifier 700 needs a Bold file from UOH.
   ===================================================================== */
@font-face {
    font-family: "Suisse Intl";
    src: url("../fonts/SuisseIntl-Book.woff2") format("woff2"),
         url("../fonts/SuisseIntl-Book.otf") format("opentype");
    font-weight: 400 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Suisse Intl";
    src: url("../fonts/SuisseIntl-BookItalic.woff2") format("woff2"),
         url("../fonts/SuisseIntl-BookItalic.otf") format("opentype");
    font-weight: 400 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Suisse Intl";
    src: url("../fonts/SuisseIntl-Bold.woff2") format("woff2"),
         url("../fonts/SuisseIntl-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Suisse Intl";
    src: url("../fonts/SuisseIntl-BoldItalic.woff2") format("woff2"),
         url("../fonts/SuisseIntl-BoldItalic.otf") format("opentype");
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Signifier";
    src: url("../fonts/Signifier-Regular.woff2") format("woff2"),
         url("../fonts/Signifier-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Signifier";
    src: url("../fonts/Signifier-RegularItalic.woff2") format("woff2"),
         url("../fonts/Signifier-RegularItalic.otf") format("opentype");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* Medium covers 500-700 so H1's 700 uses real Medium glyphs (no faux-bold) */
@font-face {
    font-family: "Signifier";
    src: url("../fonts/Signifier-Medium.woff2") format("woff2"),
         url("../fonts/Signifier-Medium.otf") format("opentype");
    font-weight: 500 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Signifier";
    src: url("../fonts/Signifier-MediumItalic.woff2") format("woff2"),
         url("../fonts/Signifier-MediumItalic.otf") format("opentype");
    font-weight: 500 700;
    font-style: italic;
    font-display: swap;
}

/* Grayscale antialiasing site-wide (as on hull.ac.uk) */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* H1 uses Signifier (700); h2-h6 stay on the base Suisse Intl */
h1,
.h1,
h1.h2, h1.h3, h1.h4, h1.h5, h1.h6 {
    font-family: "Signifier", Georgia, "Times New Roman", serif;
    font-weight: 700;
}

.kx-hero h1.visually-hidden {
    color: var(--kx-color-brand-4);
}


/* =====================================================================
   Footer - styled to match the main University of Hull site (hull.ac.uk)
   ===================================================================== */

.hull-footer {
    position: relative;
    font-family: "Suisse Intl", var(--kx-font-family-base);
    background-color: var(--kx-color-brand-4, #0e1647);
    /* Base footer type: 18px / weight 450 / line-height 1.3 (matches hull.ac.uk) */
    font-size: 18px;
    font-weight: 450;
    line-height: 1.3;
    /* Grayscale antialiasing (as on hull.ac.uk) - renders the type slightly lighter */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Keep the framework's footer-link hover the SAME weight/size as rest
       (it otherwise jumps links to 600 / 16px on hover, shifting the text) */
    --kx-size-font-weight-master-footer-links: 450;
    --kx-size-font-weight-master-footer-links-hover: 450;
    --kx-size-font-master-footer-links: 18px;
    --kx-size-font-master-footer-links-hover: 18px;
}

/* Zero-height anchor sitting at the very top of the footer, so the pill's
   bottom edge lines up with the bottom of the texture strip (as on hull.ac.uk) */
.hull-footer .hull-footer__top {
    position: relative;
    height: 0;
}

/* Extra .hull-footer__top in the selector raises specificity above the
   framework's footer-link hover, so ALL text/box props are set here (once)
   and never re-declared on hover. The hover rule changes only the
   background - a paint-only change that can't re-layout the text (which
   was dropping the letter-spacing and resizing the pill on hover). */
.kx-master-footer.hull-footer .hull-footer__top .hull-footer__backtotop {
    display: none;
    position: absolute;
    top: auto;
    bottom: -12px;
    right: max(3rem, calc((100% - 1496px) / 2 + 3rem));
    z-index: 10;
    align-items: center;
    gap: 1rem;
    padding: 12px 16px;
    background-color: #6e7391;
    color: #fff;
    font-size: 14px;
    font-weight: 450;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    box-shadow: none;
    transition: background-color 0.3s ease;
}

@media (min-width: 576px) {
    .kx-master-footer.hull-footer .hull-footer__top .hull-footer__backtotop {
        display: inline-flex;
    }
}

.kx-master-footer.hull-footer .hull-footer__top .hull-footer__backtotop:hover,
.kx-master-footer.hull-footer .hull-footer__top .hull-footer__backtotop:focus-visible {
    background-color: #565c82;
}

/* Thin technical texture strip along the top (as on hull.ac.uk) */
.hull-footer .hull-footer__texture {
    height: 12px;
    width: 100%;
    overflow: hidden;
    background-image: url("../Images/texture-footer.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hull-footer .kx-master-footer__content {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Sections stacked with subtle dividers (blue-d-40 @ 20% opacity) */
.hull-footer .hull-footer__row {
    padding: 2rem 0;
}

.hull-footer .hull-footer__row + .hull-footer__row {
    border-top: 1px solid rgb(159, 162, 181);
}

/* Links: white, 18px / weight 450. At rest a crisp 1px underline via inset
   box-shadow. On hover the shadow grows to fill the box white and the text
   turns navy - the exact "fill up" effect hull.ac.uk uses (bg-blue-d a:hover). */
.kx-master-footer.hull-footer a {
    color: #fff;
    font-size: 18px;
    font-weight: 450;
    line-height: 1.3;
    text-decoration: none;
    box-shadow: inset 0 -1px 0 0 currentColor;
    padding-left: 0.05rem;
    padding-right: 0.1rem;
    transition: color 0.3s ease, box-shadow 0.3s ease;
}

.kx-master-footer.hull-footer a:not(.hull-footer__logo):not(.hull-footer__backtotop):hover,
.kx-master-footer.hull-footer a:not(.hull-footer__logo):not(.hull-footer__backtotop):focus-visible {
    color: var(--kx-color-brand-4, #0e1647);
    box-shadow: inset 0 -30px 0 0 #fff;
    text-decoration: none;
}

/* Logo, social icons and the back-to-top pill carry no underline */
.kx-master-footer.hull-footer .hull-footer__logo,
.kx-master-footer.hull-footer .hull-footer__social a,
.kx-master-footer.hull-footer .hull-footer__backtotop {
    text-decoration: none;
    box-shadow: none;
}

/* Row 1 - brand block + primary link list */
.hull-footer .hull-footer__row--brand {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
}

.hull-footer .hull-footer__brand {
    display: flex;
    align-items: stretch;
    gap: 2rem;
}

/* Address block matches the logo height and pushes the two lines apart
   with justify-content (no per-line margins) - as on hull.ac.uk */
.hull-footer .hull-footer__address {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 8px 0;
}

/* Crest-only shield, 63 x 80 (as on hull.ac.uk) */
.hull-footer .hull-footer__logo {
    display: block;
    flex-shrink: 0;
    width: 63px;
    height: 80px;
    background-image: url("../Images/hull-crest.svg");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
}

.hull-footer .hull-footer__address p {
    margin: 0;
    font-size: 18px;
    font-weight: 450;
    line-height: 1.3;
}

/* Nav sits 12px off the bottom (as on hull.ac.uk: pb-3xs container + pb-2xs
   list) so its baseline lines up with the address/phone block */
.hull-footer .hull-footer__nav {
    padding-bottom: 12px;
}

.hull-footer .hull-footer__nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 2rem;
    margin: 0;
}

.hull-footer .hull-footer__nav li {
    white-space: nowrap;
}

/* Row 2 - social icons with round hover fill */
.hull-footer .hull-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0;
}

.hull-footer .hull-footer__social .kx-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 8px;
    border-radius: 50%;
    font-size: 32px;
    line-height: 1;
    color: #fff;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* SVG-based social marks (TikTok, Bluesky) sized to match the icon font */
.hull-footer .hull-footer__social .kx-social-link svg {
    width: 32px;
    height: 32px;
    display: block;
}

.hull-footer .hull-footer__social .kx-social-link:hover,
.hull-footer .hull-footer__social .kx-social-link:focus-visible {
    background-color: #f1f1f4;
    color: var(--kx-color-brand-4, #0e1647);
    box-shadow: none;
    text-decoration: none;
}

/* Row 3 - small legal links + copyright */
.hull-footer .hull-footer__row--legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem 1.5rem;
}

.hull-footer .hull-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 2rem;
    margin: 0;
}

.kx-master-footer.hull-footer .hull-footer__legal a {
    font-size: 12px;
    font-weight: 450;
}

.hull-footer .hull-footer__copyright-text {
    margin-left: auto;
    font-size: 12px;
    font-weight: 450;
}

/* Small screens - stack the primary links */
@media (max-width: 575.98px) {
    .hull-footer .hull-footer__row--brand {
        align-items: flex-start;
    }

    .hull-footer .hull-footer__nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
}