﻿
/* Site additions */
body {
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    color: #2d3337;
    line-height: 1.62;
}

.static-contact-panel,
.static-map-panel {
    border: 1px solid rgba(18, 55, 71, 0.18);
    background: #ffffff;
    padding: 18px 20px;
    margin: 14px 0 22px;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(30, 69, 82, 0.1);
}

.static-contact-panel h3 {
    margin-top: 0;
}

.static-mail-button,
.static-map-button {
    display: inline-block;
    padding: 10px 16px;
    background: #346b9b;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
}

.static-mail-button:hover,
.static-map-button:hover {
    background: #204d73;
}

html {
    background: #eef4f5;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    background-image:
        linear-gradient(rgba(244, 248, 248, 0.82), rgba(244, 248, 248, 0.9)),
        url('uploads/2013/02/bg-img.jpg') !important;
    background-repeat: no-repeat !important;
    background-position: center top !important;
    background-size: cover !important;
    background-attachment: fixed !important;
}

/* A fixed background forces the browser to repaint the whole image on every
   scroll frame, which is what made scrolling feel janky on phones/tablets.
   Switch to a normal scrolling background below desktop sizes. */
@media (max-width: 900px) {
    body {
        background-attachment: scroll !important;
    }
}

a {
    color: #116b8f;
}

a:hover {
    color: #0b455f;
}

#header {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(30, 84, 104, 0.18);
    box-shadow: 0 12px 30px rgba(28, 58, 70, 0.08);
}

#mt_top_area {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

#logo {
    display: inline-flex !important;
    flex-direction: column;
    justify-content: center;
    min-height: 64px;
    text-decoration: none;
}

.logo-title {
    display: block;
    color: #123747;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.05;
}

.logo-subtitle {
    display: block;
    color: #61737b;
    font-size: 13px;
    margin-top: 5px;
}

#header-right,
#header_html_area {
    color: #244653;
    font-size: 14px;
}

#header_html_area strong,
#header_html_area a {
    color: #0f526c;
}

#header-socials {
    margin-top: 8px;
}

#mega-menu-wrap-header_menu,
#mobile_menu_secondary {
    margin-top: 0;
}

#mega-menu-wrap-header_menu {
    background: rgba(16, 95, 124, 0.94) !important;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 12px 24px rgba(17, 62, 78, 0.14);
}

#mega-menu-wrap-header_menu #mega-menu-header_menu > li.mega-menu-item > a.mega-menu-link {
    font-weight: 700;
    letter-spacing: 0;
}

/* The dashicons font used for the dropdown arrows isn't part of this export,
   so the icon glyphs were falling back to "missing character" boxes. Draw a
   plain CSS chevron instead. */
#mega-menu-wrap-header_menu #mega-menu-header_menu li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator:after {
    content: "";
    font-family: inherit;
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 0 2px 8px;
    border: 0;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    background: transparent;
    transform: rotate(45deg);
}

#mega-menu-wrap-header_menu #mega-menu-header_menu li.mega-menu-item-has-children.mega-collapse-children.mega-toggle-on > a.mega-menu-link > span.mega-indicator:after {
    margin-bottom: -2px;
    transform: rotate(-135deg);
}

.responsive_size {
    max-width: 1120px;
}

#header-title {
    background: rgba(17, 95, 124, 0.9) !important;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.18);
}

#title-left {
    padding: 28px 0 22px;
}

#title-left h1 {
    font-size: 34px !important;
    line-height: 1.16;
    margin-bottom: 8px;
}

#breadcrumb-style {
    opacity: 0.9;
}

#mb-content {
    padding: 36px 0 48px;
}

#mb-content > .responsive_size {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(40, 92, 109, 0.16);
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(30, 69, 82, 0.14);
    overflow: hidden;
}

#full-page-home,
.mt-padding-layout {
    padding: 28px !important;
}

.home #mb-content > .responsive_size {
    background: rgba(255, 255, 255, 0.94);
}

.home #full-page-home {
    padding: 32px !important;
}

.home-intro-title {
    display: block;
    max-width: 760px;
    color: #123747;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.18;
    margin: 0 0 12px;
}

.home-intro-text {
    display: block;
    max-width: 700px;
    color: #52646c;
    font-size: 17px;
    margin: 0;
}

h1,
h2,
h3 {
    color: #123747;
    letter-spacing: 0;
}

#mb-content h2 {
    font-size: 25px;
    line-height: 1.22;
    margin: 0 0 14px;
}

#mb-content p {
    font-size: 15px;
}

.row-fluid {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

.row-fluid:before,
.row-fluid:after {
    display: none;
}

.row-fluid [class*="span"] {
    float: none;
    margin-left: 0;
}

.row-fluid .span12 {
    width: 100%;
}

.row-fluid .span8 {
    width: 66%;
}

.row-fluid .span6 {
    width: 50%;
}

.row-fluid .span4 {
    width: 34%;
}

.row-fluid .span2 {
    width: 18%;
}

.wpb_text_column,
.wpb_gallery,
.wpb_single_image {
    margin-bottom: 22px;
}

.wpb_text_column .wpb_wrapper {
    max-width: 760px;
}

.wpb_single_image img,
.wpb_gallery img,
.flexslider .slides img,
#mb-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.wpb_gallery_slides,
.wpb_single_image .wpb_wrapper {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(33, 70, 82, 0.16);
}

.flexslider {
    border: 0 !important;
    background: transparent !important;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(30, 69, 82, 0.14);
    margin: 20px 0 28px;
}

.flexslider .slides img {
    display: block;
    width: 100%;
    aspect-ratio: 21 / 8;
    object-fit: cover;
}

@media (max-width: 900px) {
    .flexslider .slides img {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 640px) {
    .flexslider .slides img {
        aspect-ratio: 4 / 3;
    }
}

#mb-content ul {
    padding-left: 20px;
}

#mb-content li {
    margin-bottom: 6px;
}

/* The contact page panels (map/address/enquiry form) came from an old
   fixed-pixel-width float layout (280px + 580px + 640px side by side) that
   was never made responsive, which is why the boxes were overlapping and
   wrapping oddly. Replace it with a simple, responsive card grid. */
#mt-contact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 20px 0 40px !important;
}

/* Leftover float clearfix divs - grid doesn't need them, but as direct
   children of a grid container they'd otherwise claim empty grid cells. */
#mt-contact > .clear {
    display: none;
}

#mt-cintact-info,
#yc_google_map {
    grid-column: 1 / -1;
}

#mt-cintact-info {
    background: transparent !important;
    padding: 0 !important;
    height: auto !important;
}

#mt-cintact-info h2 {
    margin: 0;
}

#yc_google_map,
#mt-contact-widget,
#mt-contact-form {
    float: none !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    background: #ffffff !important;
    color: #2d3337;
    border: 1px solid rgba(18, 55, 71, 0.18);
    border-radius: 8px !important;
    box-shadow: 0 10px 24px rgba(30, 69, 82, 0.1) !important;
    padding: 18px 20px !important;
}

#mt-contact-widget,
#mt-contact-widget p,
#mt-contact-widget a,
#mt-contact-widget .widget_span {
    color: #2d3337 !important;
}

#mt-contact-widget a {
    color: #116b8f !important;
}

#mt-contact-widget a:hover {
    color: #0b455f !important;
}

@media (max-width: 900px) {
    #mt-contact {
        grid-template-columns: 1fr;
    }
}

#footer {
    background: rgba(18, 55, 71, 0.94) !important;
    color: rgba(255, 255, 255, 0.84);
}

#footer a {
    color: #ffffff;
}

@media (max-width: 900px) {
    #mt_top_area {
        display: block;
        padding: 18px 0;
    }

    .logo-title {
        font-size: 24px;
    }

    #header-right {
        margin-top: 18px;
    }

    .row-fluid {
        display: block;
    }

    .row-fluid .span2,
    .row-fluid .span4,
    .row-fluid .span6,
    .row-fluid .span8,
    .row-fluid .span12 {
        width: 100%;
    }

    #mb-content > .responsive_size {
        border-radius: 0;
    }
}

@media (max-width: 640px) {
    #title-left h1 {
        font-size: 26px !important;
    }

    #full-page-home,
    .mt-padding-layout,
    .home #full-page-home {
        padding: 20px !important;
    }

    .home-intro-title {
        font-size: 25px;
    }
}
