/*
 * Stylesheet for the online booking page.
 *
 * Deliberately does NOT reuse sub.css: that file styles `body *` and bare `p` / `h1`
 * elements globally, which would override the typography the booking widget ships for
 * its own inputs, buttons and date picker. Header and footer rules are duplicated here
 * so the page still matches the rest of the site.
 *
 * The booking widget (React) brings its own component CSS, but expects the host page to
 * provide design tokens and a handful of global helper classes - both are defined below.
 */

@font-face {
    font-family: 'MessinaSans-Regular';
    src: url('../fonts/MessinaSans-Regular.eot');
    src: url('../fonts/MessinaSans-Regular.eot#iefix') format('embedded-opentype'),
    url('../fonts/MessinaSans-Regular.ttf') format('truetype'),
    url('../fonts/MessinaSans-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MessinaSerif-Regular';
    src: url('../fonts/MessinaSerif-Regular.eot');
    src: url('../fonts/MessinaSerif-Regular.eot#iefix') format('embedded-opentype'),
    url('../fonts/MessinaSerif-Regular.ttf') format('truetype'),
    url('../fonts/MessinaSerif-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ---------------------------------------------------------------- design tokens
 * The booking widget references these via var(). FALCON has no Garnett/Mondia fonts
 * and no grey scale, so they are mapped onto the Messina fonts and the brand palette:
 * dark blue #15375D as the base, gold #C29345 as the accent.
 *
 * Note the widget was designed for a LIGHT page (central-soelden), where --black and
 * --colorGrey are text colours on a bright background. FALCON's page is dark blue, so
 * those text tokens are white here and the surface tokens (--grey, --beige) are the
 * lighter blues - otherwise the select and date field render blue on blue.
 */
:root {
    --orange: #C29345;
    --light-orange: #D4A95C;
    --error-red: #E4808B;

    /* text */
    --black: #FFFFFF;
    --colorGrey: #FFFFFF;
    --white: #FFFFFF;
    --colorWhite: #FFFFFF;
    --greyLight: #FFFFFF;

    /* surfaces (lighter than the #15375D page background) */
    --grey: #1E4372;
    --beige: #24507F;
    --light-beige: #2C5C8F;
    --colorBeige: #24507F;
    --offWhite: #24507F;

    --transition3s: ease-in-out .3s;
    --transition8s: ease-in-out .8s;

    --garnettLight: 'MessinaSans-Regular';
    --garnettMedium: 'MessinaSans-Regular';
    --mondiaBold: 'MessinaSerif-Regular';
    --mondiaThin: 'MessinaSerif-Regular';
    --rollerscript-smooth: 'MessinaSerif-Regular';
}

/* The select and date field inherit the page background (transparent) and would be
   invisible without an explicit surface. */
#onlineBookingPanel select,
#onlineBookingPanel input {
    background-color: var(--grey);
    color: #FFFFFF;
    border-color: var(--orange);
}

#onlineBookingPanel select option {
    background-color: #15375D;
    color: #FFFFFF;
}

body {
    background: #15375D;
    font-family: 'MessinaSans-Regular', sans-serif;
    color: #FFFFFF;
}

/* ---------------------------------------------------------------- header / footer */
header {
    height: 230px;
}

header .logo {
    width: 191px;
    position: absolute;
    transform: translateX(-50%);
    left: 50%;
    top: 45px;
}

footer {
    position: relative;
    margin: 60px 0;
}

footer .footerContent {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

footer p {
    color: #C29345;
    font-size: 20px;
    margin-bottom: 0;
    line-height: unset;
}

footer a {
    font-size: 20px;
    color: #C29345;
    margin-left: 0;
    text-decoration: none !important;
}

footer a:hover {
    color: #ffffff;
}

.bottomArea {
    display: flex;
    align-items: center;
}

.bottomLeft {
    margin-top: 60px;
}

.bottomLeft img {
    margin-right: 60px;
    height: 47px;
}

.bottomLeft a:last-of-type img {
    margin-right: 0;
}

.bottomLeft a {
    text-decoration: none;
    font-size: 0;
}

.bottomRight {
    margin-top: 60px;
    margin-left: 120px;
}

.bottomRight .socialMedia img {
    width: 20px;
}

.bottomRight .socialMedia img:first-of-type {
    margin-right: 15px;
}

.bottomRight .privacy a {
    color: white;
    font-size: 10px;
    line-height: 23px;
}

.bottomRight .privacy a:first-of-type {
    margin-right: 20px;
}

#goToTop {
    display: none;
}

.mobileBorder {
    display: none;
}

/* ------------------------------------------------- helper classes for the widget
 * The widget renders <h2 class="variantScriptFont"> and <h1 class="default"> in its
 * header, plus Bootstrap-style spacing utilities. Scoped to the booking section so
 * they cannot leak into header/footer.
 */
#onlineBookingPanel h1,
#onlineBookingPanel .h1 {
    font-family: var(--mondiaBold), serif;
    font-size: 48px;
    line-height: 1.2;
    color: #FFFFFF;
    margin: 0 0 8px;
}

#onlineBookingPanel h2,
#onlineBookingPanel .h2 {
    font-family: var(--garnettMedium), sans-serif;
    font-size: 24px;
    line-height: 1.3;
    color: #FFFFFF;
    margin: 0 0 12px;
}

#onlineBookingPanel h3,
#onlineBookingPanel .h3 {
    font-family: var(--garnettMedium), sans-serif;
    font-size: 20px;
    line-height: 1.3;
    color: #FFFFFF;
}

#onlineBookingPanel .variantScriptFont {
    font-family: var(--rollerscript-smooth), serif;
    color: var(--orange);
    font-size: 32px;
    line-height: 1.2;
    font-weight: normal;
}

#onlineBookingPanel .default {
    font-family: var(--mondiaBold), serif;
}

#onlineBookingPanel .thin {
    font-weight: 300;
}

#onlineBookingPanel .overrideMobileFont {
    font-size: inherit;
}

#onlineBookingPanel .singleColumnText {
    column-count: 1;
}

.mb-16 {
    margin-bottom: 16px;
}

/* The payment widget (Hobex/OPPWA) renders into .paymentWidgets. */
.paymentWidgets {
    max-width: 100%;
}

@media screen and (max-width: 1025px) {
    header .logo {
        width: 201px;
        top: 30px;
    }

    .mobileBorder {
        width: 100%;
        margin: 60px auto 0;
        height: .8px;
        background: white;
        display: block;
    }

    #goToTop {
        display: block;
        margin: 0 0 40px;
    }

    #goToTop img {
        border-radius: 50%;
        border: 1px solid white;
        padding: 15px;
        width: 54px;
        height: 54px;
    }

    #onlineBookingPanel h1,
    #onlineBookingPanel .h1 {
        font-size: 30px;
    }

    #onlineBookingPanel .variantScriptFont {
        font-size: 24px;
    }

    footer .footerContent {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .bottomArea,
    .bottomLeft {
        flex-direction: column;
        text-align: center;
    }

    .bottomLeft img {
        margin-right: 0;
        margin-bottom: 50px;
    }

    .bottomRight {
        margin-top: 0;
        margin-left: 0;
    }
}
