/*
 * Copyright ©  2023 Thomas J Collinson
 * All rights reserved
 */

:root {
    --bg-main: #f5f8fd;
    --light-blue: #0056a5;
    --light-blue-2: #0056a5;
    --light-blue-3: #75bdff;
    /*--light-blue-3: #006689;*/
    --header-color: #1a2b68;
    --input-border: #e3ebf1;
    --error-text: #8a262f;
    --h1-text: #253062;
    --disabled-button: #e3ebf1;
    --ace-red: #ee1c25;
}

div#return-and-save {
    display: none;
}

iframe#booking-widget {
    width: 100% !important;
}

div#booking-widget-outer {
    width: 95%;
    margin-left: 0 !important;
}

div#booking-container {
    justify-content: center !important;
}

div#view-map {
    background: var(--light-blue-2);
    height: 34px;
    border-radius: 17px;
    padding: 0 10px;
    line-height: 34px;
    width: 200px;
    text-align: center;
    right: calc(50% - 100px);
    top: 0px;
    background: var(--light-blue-2);
    color: #ffffff;
    font-weight: 700;
    position: absolute;
    z-index: 1000;
    font-size: 20px !important;
    transition: transform 0.3s;
}

body#wbody.minimised {
    background: transparent;
}

.no-menu a::after {
    display: none;
}

.site-header__main-nav-link {
    padding: 34px 35px 30px;
    text-align: center;
}

.site-header__top-bar.pos--rel.z--max.flex.flex--v-center.flex--h-between {
    display: flex;
    justify-content: right;
}

.site-header .site-header__logo {
    min-width: 165px;
}

.site-header .site-header__top-bar {
    margin-top: -40px;
}

.site-header .site-header__main-nav-link {
    padding: 30px 30px 24px;
    font-size: 1.125rem;
}

.site-header .site-header__logo-svg {
    width: 100px;
    height: 32px;
}

div#head {
    height: 90px;
}

.site-header__main-nav-list.flex {
    flex-wrap: nowrap;
    width: 100%;
}

.site-header__dropdown--private .site-header__dropdown-image {
    background: #202228;
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-header__dropdown--private .site-header__dropdown-image svg {
    max-height: 250px;
}

.site-footer__left:before {
    background: var(--light-blue);
}

a.site-footer__logo {
    max-width: 140px;
    max-height: 140px;
}

a.site-footer__logo svg {
    width: 100%;
    height: 100%;
}

ul.site-footer__socials.flex.flex--h-between {
    justify-content: left;
}

ul.site-footer__socials.flex.flex--h-between li:first-of-type {
    margin-right: 10px;
}

ul.site-footer__socials.flex.flex--h-between li:last-of-type {
    margin-left: 10px;
}

a.site-header__logo svg {
    max-height: 65px;
    width: auto;
}

a.site-header__logo {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    border-bottom-color: var(--light-blue-2);
}

.site-header a.menu-item:hover {
    color: var(--ace-red);
}

#add-via a, #add-via a:active, #add-via a:visited {
    color: var(--light-blue-2);
}

.site-header__dropdown-link:hover .site-header__dropdown-title {
    color: var(--light-blue-2);
}

div#quote-container {
    padding: 25px 10px 0 10px !important;
}

.site-header__logo img {
    max-width: 100%;
    padding: 10px;
    max-height: 70px;
    display: block;
}

.site-footer__logo img {
    display: block;
    max-width: 100%;
}

#view-map {
    display: none;
}

#nb-body div#view-map {
    display: block;
    transform: translateY(-24px);
    font-size: 100% !important;
}

#nb-body div#view-map a {
    color: #fff;
}

div#view-map:not(.open) {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: var(--light-blue-3);
    border-bottom-width: 2px;
    border-bottom-style: solid;
}

@media screen and (min-width: 768px) {
    .no-menu:last-of-type {
        margin-left: auto;
    }

    div#content {
        min-height: calc(100vh - 341px);
    }
}

@media screen and (max-width: 768px) {
    .site-header.slim .site-header__main-nav-link {
        padding: 15px;
    }

    li.desktop-only {
        display: none;
    }

    #view-map {
        display: none;
    }

    a.site-header__quote-btn {
        background: linear-gradient(0deg, var(--light-blue) 0%, var(--light-blue-3) 100%);
    }

    .site-header__quote-btn:after {
        background: var(--light-blue);
    }

    .site-header__nav {
        background: #202020;
    }

    a.site-header__nav-btn {
        background: var(--light-blue);
    }

    iframe#booking-widget {
        min-height: 100vh;
    }

    #nb-body div#content {
        min-height: calc(100vh + 75px)
    }

    a.site-header__logo.pos--rel.z--max {
        background: transparent;
    }

    site-header__nav:not(.open) a.site-header__main-nav-link--dropdown.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-has-children.site-header__main-nav-link.fs--20.fc--black {
        color: transparent;
        transition: .5s linear color;
    }

    a.site-header__main-nav-link--dropdown.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-has-children.site-header__main-nav-link.fs--20.fc--black {
        color: var(--light-blue-2);
    }

    #nb-body div#view-map {
        display: none;
    }
}
