/*
 * Mobility Solutions & Services theme.
 * The source site (mobilitysolutions-services.com) has its own markup, so its
 * stylesheet cannot be reused as on Coach & Buses / Mobility. This file keeps
 * the shared Umbrella markup (theme.css) and restyles it with the values of
 * the source stylesheet (/css/app.css): black menu bar, Josefin Sans headings,
 * Open Sans text, red #e30613, white diagonal section edges, black gallery,
 * dark grey footer. Fonts are local (OFL, Google Fonts).
 * Selected per site with the setting umbrella.themeStylesheet.
 */
@import url('theme.css');

@font-face{font-family:'Josefin Sans';src:url('../Fonts/josefin-sans-latin-ext.woff2') format('woff2');font-weight:300 700;font-display:swap;unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Josefin Sans';src:url('../Fonts/josefin-sans-latin.woff2') format('woff2');font-weight:300 700;font-display:swap;unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Open Sans';src:url('../Fonts/open-sans-latin-ext.woff2') format('woff2');font-weight:300 700;font-display:swap;unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Open Sans';src:url('../Fonts/open-sans-latin.woff2') format('woff2');font-weight:300 700;font-display:swap;unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

:root { --mss-red: #e30613; --mss-container: 1110px }
html, body { overflow-x: clip }
body { background: #fff; color: #000; font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.5 }
h1, h2, h3, h4, h5 { font-family: 'Josefin Sans', sans-serif; color: #000; line-height: 1.3 }
a { color: var(--mss-red) }
a:hover { color: #000 }
.umbrella-anchor { display: block; position: relative; top: -110px; visibility: hidden }

/* ---- Menu bar: black, logo left, links right ---- */
body .header.new { padding-top: 110px; background: #000 }
body .header.new .navbar { background: #000; padding: 0; height: 110px }
body .header.new .navbar > .container { max-width: none; height: 100%; padding: 0 64px }
body .header .navbar-nav { justify-content: flex-end; align-items: center; height: 100% }
body .header .nav-item { padding-top: 0; margin: 0 10px }
body .header .nav-item:after { display: none }
body .header .nav-item.logo { margin: 0 auto 0 0; max-width: none }
body .header .nav-item.logo a { padding: 0 !important; border: 0 !important }
body .header .nav-item img, body .header .navbar-brand img { margin: 0 !important; height: 54px; width: auto; max-width: none !important }
body .header .nav-item .nav-link, body .header .nav-item a {
    font-family: 'Open Sans', sans-serif; text-transform: none; letter-spacing: 0; font-weight: 400;
    font-size: 18px !important; padding: 12px !important; color: #fff; border-bottom: 2px solid transparent
}
body .header .nav-item .nav-link:hover, body .header .nav-item a:hover, body .header .nav-item a:focus {
    color: #fff; border-bottom-color: #fff; text-shadow: 2px 2px 4px rgba(0, 0, 0, .8)
}
/* Language switcher: the other languages only ("EN DE"), no separators */
body .header .nav-item.umbrella-lang-inline { position: static !important; font-size: 0; margin-right: 0 }
body .header .nav-item.umbrella-lang-inline a { margin: 0 !important; padding: 12px 8px !important; font-size: 18px !important; color: #fff !important }
body .header .nav-item.umbrella-lang-inline a.active { display: none }
@media (max-width: 1199px) {
    body .header .nav-item { margin: 0 2px }
    body .header .nav-item .nav-link, body .header .nav-item a { font-size: 16px !important; padding: 12px 6px !important }
}
@media (max-width: 991px) {
    body .header.new { padding-top: 70px }
    body .header.new .navbar { height: auto; min-height: 70px }
    body .header.new .navbar > .container { padding: 0 16px; flex-wrap: wrap }
    body .header .navbar-brand img { height: 36px; margin: 17px 0 !important }
    body .header .navbar-toggler { margin: 0 }
    body .header .navbar-collapse.show, body .header .navbar-collapse.collapsing { background: #000; padding: 10px 0 30px }
    body .header .navbar-nav { height: auto; align-items: center }
    body .header .nav-item.logo { display: none }
    body .header .nav-item .nav-link, body .header .nav-item a { font-size: 18px !important; font-weight: 600 }
}

/* ---- Page header: dark photo, large title left in the content column ---- */
body .header.new .header__content {
    left: 50%; right: auto; top: calc(50% + 55px); transform: translate(-50%, -50%);
    width: min(var(--mss-container), 100% - 30px); text-align: left !important
}
body .header.new .header__content h1, body .header.new .umbrella-hero .header__content h1 {
    font-family: 'Josefin Sans', sans-serif; font-weight: 700; font-size: 88px; line-height: 1.3; letter-spacing: 0;
    color: #fff; text-shadow: none; max-width: 855px
}
@media (max-width: 991px) {
    body .header.new .header__content { top: calc(50% + 35px) }
    body .header.new .header__content h1, body .header.new .umbrella-hero .header__content h1 { font-size: 48px; line-height: 1 }
}
@media (max-width: 575px) {
    body .header.new .header__content h1, body .header.new .umbrella-hero .header__content h1 { font-size: 32px }
}

/* Home page header: description and highlights below the title, the photo behind */
body .header.new .umbrella-hero:has(.umbrella-hero__highlights) { position: relative; overflow: hidden }
body .header.new .umbrella-hero:has(.umbrella-hero__highlights) img.hold {
    position: absolute; inset: 0; height: 100%; object-position: bottom center
}
body .header.new .umbrella-hero:has(.umbrella-hero__highlights) .header__content {
    position: relative; left: auto; top: auto; transform: none; margin: 0 auto; display: block; padding: 40px 0 150px !important
}
body .header.new .umbrella-hero:has(.umbrella-hero__highlights) .header__content h1 { margin-bottom: 24px }
.umbrella-hero__text { color: #fff; max-width: 75ch; margin-bottom: 48px; font-size: 16px; line-height: 1.5 }
.umbrella-hero__highlights { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 740px; column-gap: 30px }
.umbrella-hero__highlights li { display: flex; align-items: center; margin-bottom: 20px }
.umbrella-hero__highlights img { width: 60px; height: auto; margin-right: 30px; flex-shrink: 0 }
.umbrella-hero__highlights span { font-family: 'Josefin Sans', sans-serif; font-size: 20px; color: #fff }
@media (max-width: 767px) {
    body .header.new .umbrella-hero:has(.umbrella-hero__highlights) .header__content { padding: 40px 0 60px !important }
    .umbrella-hero__highlights { grid-template-columns: 1fr }
    .umbrella-hero__highlights img { width: 40px; margin-right: 15px }
    .umbrella-hero__highlights span { font-size: 16px }
    .umbrella-hero__text { margin-bottom: 30px }
}

/* White diagonal edge over the bottom of the page header (source: .clip-box) */
body .header.new + .main { position: relative }
body .header.new + .main::before {
    content: ""; position: absolute; left: 0; right: 0; top: -99px; height: 100px; z-index: 10;
    background: #fff; clip-path: polygon(100% 0, 0 100%, 100% 100%); pointer-events: none
}
@media (max-width: 767px) { body .header.new + .main::before { display: none } }

/* ---- Content ---- */
body .main.subpage { background: #fff; padding: 0 0 110px }
body .main .rte-content { max-width: 725px; padding-top: 110px; margin: 0 }
body .main .rte-content p { margin-bottom: 16px; line-height: 1.5 }
body .main .rte-content h2, body .main .rte-content h3 { margin: 32px 0 16px }
@media (max-width: 767px) { body .main .rte-content { padding-top: 60px } body .main.subpage { padding-bottom: 60px } }

/* Service tiles: grey photo, colour and underlined title on hover */
.umbrella-tiles { padding: 110px 0 20px }
.umbrella-tiles__title { font-size: 32px; font-weight: 600; margin-bottom: 40px; text-align: left }
.umbrella-tile { position: relative; display: block; min-height: 360px; max-width: 540px; margin: 0 auto 40px; color: #fff; text-decoration: none }
.umbrella-tile__bg { position: absolute; inset: 0; background: center / cover no-repeat; filter: grayscale(100%); transition: filter .3s }
.umbrella-tile__content { position: absolute; left: 30px; right: 30px; bottom: 10px; z-index: 2 }
.umbrella-tile__heading { display: block; font-family: 'Josefin Sans', sans-serif; font-size: 25px; font-weight: 700; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .5) }
.umbrella-tile__arrow { position: relative; left: 0; color: var(--mss-red); transition: left .3s }
.umbrella-tile__text { display: block; margin: 8px 0 16px; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .6) }
.umbrella-tile:hover, .umbrella-tile:focus { color: #fff; text-decoration: none }
.umbrella-tile:hover .umbrella-tile__bg, .umbrella-tile:focus .umbrella-tile__bg { filter: none }
.umbrella-tile:hover .umbrella-tile__heading { text-decoration: underline; text-decoration-color: var(--mss-red) }
.umbrella-tile:hover .umbrella-tile__arrow { left: 15px }
@media (max-width: 767px) { .umbrella-tiles { padding-top: 60px } .umbrella-tile { min-height: 260px } }

/* Photo gallery (also used on the gallery page) */
.umbrella-photo-gallery { padding: 48px 0 0 }
.umbrella-photo-gallery .row { margin-left: -24px; margin-right: -24px }
.umbrella-photo-gallery .row > div { padding: 0 24px }
.umbrella-photo-gallery__item { display: block; height: 360px; margin-bottom: 40px; border-radius: 20px; overflow: hidden }
.umbrella-photo-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s }
.umbrella-photo-gallery .col-12 .umbrella-photo-gallery__item img { object-position: bottom center }
.umbrella-photo-gallery__item:hover img { transform: scale(1.03) }
.umbrella-photo-gallery__more { text-align: center; margin-top: 10px }
.umbrella-button, .umbrella-photo-gallery__more a {
    display: inline-block; font-size: 16px; line-height: 48px; border-radius: 50px; padding: 0 24px;
    background: var(--mss-red); color: #fff !important; text-decoration: none
}
.umbrella-button:hover { background: #b8050f; text-decoration: none }
/* Dark: full-width black section, white diagonal edge below */
.umbrella-photo-gallery--dark {
    position: relative; background: #000; margin: 0 calc(50% - 50vw);
    padding: 190px max(15px, calc(50vw - var(--mss-container) / 2)) 210px
}
.umbrella-photo-gallery--dark::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 100px;
    background: #fff; clip-path: polygon(100% 0, 0 100%, 100% 100%)
}
.umbrella-photo-gallery--dark .umbrella-photo-gallery__title {
    color: #fff; font-size: 32px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--mss-red);
    text-underline-offset: 10px; padding-bottom: 25px; margin-bottom: 0
}
.umbrella-photo-gallery--light { padding-top: 110px }
@media (max-width: 991px) {
    .umbrella-photo-gallery__item { height: 280px; margin-bottom: 24px }
    .umbrella-photo-gallery--dark { padding-top: 80px; padding-bottom: 120px }
}
@media (max-width: 575px) {
    .umbrella-photo-gallery .row { margin-left: -15px; margin-right: -15px }
    .umbrella-photo-gallery .row > div { padding: 0 15px }
    .umbrella-photo-gallery__item { height: 200px; margin-bottom: 16px }
    .umbrella-photo-gallery--dark::after { display: none }
    .umbrella-photo-gallery--dark { padding-bottom: 60px }
}
/* The home page ends with the operator box right after the gallery */
body .main.subpage:has(.umbrella-photo-gallery--dark) { padding-bottom: 40px }

/* Text in columns: every heading starts a column (operator / contact person) */
.umbrella-columns { columns: 2; column-gap: 30px; padding: 40px 0 0 }
.umbrella-columns > * { break-inside: avoid }
.umbrella-columns > h6:not(:first-child), .umbrella-columns > h3:not(:first-of-type) { break-before: column }
.umbrella-columns h6 { font-family: 'Open Sans', sans-serif; font-size: 16px; color: #666; margin-bottom: 10px }
.umbrella-columns h4 { font-family: 'Open Sans', sans-serif; font-size: 20px; font-weight: 600; margin-bottom: 20px }
.umbrella-columns h6 ~ p { display: flex; align-items: center; font-size: 14px; font-weight: 700; margin-bottom: 10px }
.umbrella-columns h6 ~ p a { color: #000; text-decoration: underline; font-weight: 400 }
.umbrella-columns h6 ~ p::before {
    content: ""; flex: 0 0 16px; height: 14px; margin-right: 12px; background: var(--mss-red);
    -webkit-mask: var(--mss-icon, var(--mss-icon-dot)) center / contain no-repeat; mask: var(--mss-icon, var(--mss-icon-dot)) center / contain no-repeat
}
.umbrella-columns {
    --mss-icon-dot: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='4'/%3E%3C/svg%3E");
}
.umbrella-columns h4 + p { --mss-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 14'%3E%3Cpath d='M1 1h14a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1zm4 3a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm-3 7h6c0-2-1.3-3-3-3s-3 1-3 3zm8-6v1h4V5zm0 3v1h4V8z' fill-rule='evenodd'/%3E%3C/svg%3E") }
.umbrella-columns h4 + p + p:not(:has(a)) { --mss-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 16'%3E%3Cpath d='M6 0a6 6 0 0 1 6 6c0 4.5-6 10-6 10S0 10.5 0 6a6 6 0 0 1 6-6zm0 3.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5z' fill-rule='evenodd'/%3E%3C/svg%3E") }
.umbrella-columns h6:not(:first-child) ~ h4 + p { --mss-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 14'%3E%3Cpath d='M5 0h6a1 1 0 0 1 1 1v2h3a1 1 0 0 1 1 1v3H0V4a1 1 0 0 1 1-1h3V1a1 1 0 0 1 1-1zm1 1.5V3h4V1.5zM0 8h7v1h2V8h7v5a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1z'/%3E%3C/svg%3E") }
.umbrella-columns h6 ~ p:has(a[href^="mailto:"]) { --mss-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='M0 0h16v1.5L8 7 0 1.5zm0 3.3 8 5.4 8-5.4V12H0z'/%3E%3C/svg%3E") }
.umbrella-columns h6 ~ p:has(a:not([href^="mailto:"])) { --mss-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zM1.6 7h2.9c.1-2 .6-3.8 1.4-5.1A6.5 6.5 0 0 0 1.6 7zm4.4 0h4c-.2-2.6-1.1-4.5-2-5.4-.9.9-1.8 2.8-2 5.4zm5.5 0h2.9a6.5 6.5 0 0 0-4.3-5.1c.8 1.3 1.3 3.1 1.4 5.1zM1.6 9a6.5 6.5 0 0 0 4.3 5.1C5.1 12.8 4.6 11 4.5 9zm4.4 0c.2 2.6 1.1 4.5 2 5.4.9-.9 1.8-2.8 2-5.4zm5.5 0c-.1 2-.6 3.8-1.4 5.1A6.5 6.5 0 0 0 14.4 9z'/%3E%3C/svg%3E") }
@media (max-width: 767px) {
    .umbrella-columns { columns: 1 }
    .umbrella-columns > h6:not(:first-child), .umbrella-columns > h3:not(:first-of-type) { break-before: auto; margin-top: 30px }
}

/* Contact page: address, opening hours, contact in three columns, map below */
.umbrella-contact-below { padding-top: 110px }
.umbrella-contact-below .umbrella-columns { columns: 3; max-width: 840px; padding: 0 }
.umbrella-contact-below .umbrella-columns > h2 { column-span: all; font-size: 40px; margin-bottom: 40px }
.umbrella-contact-below .umbrella-columns > h3 { font-family: 'Open Sans', sans-serif; font-size: 18px; font-weight: 600; margin-bottom: 16px }
.umbrella-contact-below .umbrella-columns > p { line-height: 1.5; margin-bottom: 16px }
.umbrella-contact-below .umbrella-columns > p:last-child { column-span: all; padding-top: 3rem }
.umbrella-contact-below .umbrella-columns a { color: #000; word-break: break-word }
.umbrella-contact-below .umbrella-columns a:hover { color: var(--mss-red) }
.umbrella-contact-below__map { margin: 80px calc(50% - 50vw) -110px }
.umbrella-contact-below__map .umbrella-map { height: 825px }
@media (max-width: 767px) {
    .umbrella-contact-below { padding-top: 60px }
    .umbrella-contact-below .umbrella-columns { columns: 1 }
    .umbrella-contact-below__map { margin-bottom: -60px }
    .umbrella-contact-below__map .umbrella-map { height: 400px }
}

/* ---- Forms: white card with a grey frame, red pill button ---- */
body .main .contactForm { max-width: 725px; margin: 48px 0 0 !important; padding: 0 !important; box-shadow: none; background: none }
body .main .contactForm .col-md-12 { padding: 0 }
body .main .contactForm form {
    border: 1px solid #636466; border-radius: 30px; padding: 30px; background: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .25)
}
body .main .contactForm .form-label, body .main .contactForm label { font-family: 'Open Sans', sans-serif; font-size: 16px; font-weight: 400; color: #000; text-transform: none; letter-spacing: 0 }
body .main .contactForm .required { color: var(--mss-red) }
body .main .contactForm .form-control { border: 1px solid #ced4da; border-radius: 4px; background: #fff; min-height: 38px; box-shadow: none }
body .main .contactForm .form-control:focus { border-color: #000; outline: 2px solid rgba(227, 6, 19, .25) }
body .main .contactForm .form-check-label { font-size: 16px; color: #000 }
body .main .contactForm .form-check-label a { color: var(--mss-red); text-decoration: none }
body .main .contactForm .form-check-input { accent-color: var(--mss-red) }
body .main .contactForm .required { color: var(--mss-red); margin-left: 0 }
body .main .contactForm .btn-primary, body .main .contactForm button[type=submit] {
    background: var(--mss-red); border: 0; border-radius: 50px; color: #fff; font-size: 16px; line-height: 48px;
    padding: 0 24px; text-transform: none; letter-spacing: 0; font-weight: 400; box-shadow: none
}
body .main .contactForm .btn-primary:hover { background: #b8050f }

/* ---- Footer: dark grey, two columns ---- */
body .footer { background: #2e2e2e; padding: 90px 0 40px; color: #fff }
body .footer .row > div { text-align: left !important }
@media (min-width: 768px) { body .footer .row > div { flex: 0 0 50%; max-width: 50% } }
body .footer p { font-family: 'Open Sans', sans-serif; font-size: 14px; font-weight: 300; line-height: 19px; color: #fff; margin-bottom: 40px; max-width: 240px }
body .footer h5, body .footer h5 a { font-family: 'Open Sans', sans-serif; font-weight: 600; font-size: 16px; line-height: 22px; color: #fff; text-transform: none; margin-bottom: 16px }
body .footer h5 { margin-bottom: 30px }
body .footer h5 a:hover { color: var(--mss-red); text-decoration: none }
body .footer h3:empty { display: none }
body .footer .col-md-4.text-right p { margin-left: 0 }
body .footer .row > div h5, body .footer .row > div p { text-align: left !important }
