:root {
	--haimesBlue: #005979;
	--haimesMidBlue: #dff5fd;
	--haimesLightBlue: #edf9fd;
}

.banner.uk-section-default {
    margin-left: 20px;
    margin-right: 20px;
    border-radius: 2em;
}
.banner div#page\#0 {
    padding-bottom: 300px;
}
.header-cta > * + * {
  margin-left: 10px;
}
.social-icon__img {
  width: 40px;
  display: block;
}
.uk-logo {
    padding: 5px;
}

.social-icon {
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
}

.social-icon:hover {
    opacity: 0.6;
}
ul.uk-navbar-nav {
    background: #edf9fd;
    border-radius: 2em;
    overflow: hidden;
}
li.menu-item.current-menu-item.uk-active, li.menu-item.current-page-ancestor {
    background-color: #dff5fd;
    padding: 4px 25px;
    border-radius: 1em;
    border-bottom-right-radius: 0em;
}
.uk-navbar-dropdown-nav li.menu-item.current-menu-item.uk-active {
    background-color: transparent;
    padding: 0px;
}
.uk-navbar-dropdown-nav>li.uk-active>a {
    color: #295675;
    font-weight: 500;
}

li.menu-item {
    padding: 4px 25px;
}
    .uk-navbar-nav {
        gap: 0px;
    }
/* First menu item: add left padding */
.uk-navbar-nav > li:first-child > a {
  padding-left: 15px;
}

/* Last menu item: add right padding */
.uk-navbar-nav > li:last-child > a {
  padding-right: 15px;
}
.uk-navbar-dropdown-nav li.menu-item {
    padding: 0px;
}

.uk-navbar-dropdown {
    --uk-position-shift-offset: -25px;
    padding-left: 27px !important;
    padding: 10px;
}
.uk-drop.uk-navbar-dropdown {
    border-bottom-right-radius: 1em;
    border-bottom-left-radius: 1em;
}


a.el-slidenav.uk-icon.uk-slidenav {
    background-color: #edf9fde3;
}
.uk-slidenav {
    /* 02/10/26 M40: was 8px 13px (40x40 tap target), now 44x44 */
    padding: 10px 15px;
    color: rgb(0 89 121);
    margin-right: 10px;
    border-radius: 2em;
}


.uk-button {
    border-bottom-left-radius: 0px;
    padding-right: 9px !important;
    padding: 7px 20px;
    line-height: 12px;
}

.curve .uk-flex, .curve.portfolio-feature img, .uk-panel.curve img {
    border-radius: 2em;
	overflow: hidden;
}
.bl-point .uk-flex {
	border-bottom-left-radius: 0em !important;
}
.tr-point.uk-slideshow, .tr-point img, .tr-point .uk-flex {
	border-top-right-radius: 0em !important;
}

.tl-point img, .tl-point.uk-slideshow, .tl-point .uk-flex {
    border-top-left-radius: 0em !important;
}
.br-point img {
    border-bottom-right-radius: 0em !important;
}

.banner-slideshow.uk-slideshow, .curve.uk-slideshow, .bottom-cta.uk-slideshow {
    border-radius: 2em;
    overflow: hidden;
}
.banner-slideshow .uk-position-cover.uk-flex.uk-padding.uk-flex-top.uk-flex-left {
    padding-top: 80px;
    padding-left: 60px;
}


.blue-grid .el-item {
	border-radius: 1em;
}

.portfolio-grid .uk-inline-clip {
    border-top-left-radius: 2em;
    border-bottom-right-radius: 2em;
}


.accordion-spacer {
	padding-right: 58px;
}
.uk-accordion .el-content .uk-panel.uk-margin.uk-scrollspy-inview, .uk-accordion .el-content p {
    padding-left: 95px;
}
.uk-accordion > .el-item:not(:first-child) .el-content .uk-panel.uk-margin.uk-scrollspy-inview,
.uk-accordion > .el-item:not(:first-child) .el-content p {
  padding-left: 100px;
}

.uk-accordion .el-content .uk-section-default.uk-section{
	background-color: transparent !important;
    padding-top: 0px;
    padding-bottom: 10px;
}
.uk-accordion-title {
    color: var(--haimesBlue);
	    font-size: 28px;
}
.uk-accordion-title:hover {
	color: #a4cbd9; 
}
.uk-accordion>:nth-child(n+2) {
    border-top: 1px solid var(--haimesBlue);
}
.uk-accordion > .el-item:last-child {
  border-bottom: 1px solid var(--haimesBlue);
  padding-bottom: 20px;
}


.portfolio-feature .el-link {
    right: 20px;
    bottom: 20px;
    position: absolute;
}
.portfolio-feature .uk-panel.uk-padding.uk-margin-remove-first-child {
    background-image: linear-gradient(0deg, rgba(3, 22, 46, 0.91) 0%, rgba(4, 4, 36, 0) 100%);
    border-radius: 2em;
}



.testimonial-slider .el-item {
	border-radius: 1em
}
.testimonial-slider.uk-slider-container {
    padding-bottom: 60px;
}
.testimonial-slider .uk-slidenav-container.uk-position-bottom-right {
    bottom: -55px;
    margin: 0 !important;
}
.testimonial-slider a.el-slidenav.uk-icon.uk-slidenav {
    background-color: #e2f6fd;
}


.footer.uk-section-primary.uk-section {
    border-top-left-radius: 3em;
    border-top-right-radius: 3em;
}

.uk-lightbox {
	    background: #000000c4;
}


/* enquiry form */
p.gform_required_legend {
    display: none;
}

.ginput_container input, .ginput_container textarea, .ginput_container select {
    color: var(--haimesBlue);
	background-color: transparent;
	border-radius: 0em !important;
	border: 2px transparent solid;
    font-family: 'rubik' !important;
    font-size: 16px !important;
	font-weight: 200;
    padding: 12px 12px !important;
    max-height: 180px;
    outline: 0 !important;
}
.gform_wrapper.gravity-theme .gfield_label {
	font-family: 'rubik' !important;
    font-size: 18px;
    font-weight: 200;
    margin-bottom: 8px;
    display: inline-block;
    padding: 0;
}
.ginput_container input::placeholder, .ginput_container textarea::placeholder, .ginput_container select::placeholder{
	color: var(--haimesBlue)  !important;
	font-style: italic;
}
.ginput_container select > * {
    color: var(--haimesBlue);
}
.ginput_container select {
    color: var(--haimesBlue);
}
.ginput_container input, .ginput_container textarea, .ginput_container select {
    border-bottom: 2px solid var(--haimesBlue);
}
.ginput_container input:focus, .ginput_container textarea:focus, .ginput_container select:focus {
    border-bottom: 1px solid var(--haimesMidBlue) !important;
	transition: 0.4s;
}

/* enquiry button */ 
/* 02/10/26: Gravity Forms 3.x renders the submit as <button><img></button>, not an
   <input>, so the button selector was added or the button lost its blue background
   and the pale "Enquire Now" image disappeared into the panel. */
.gform_footer input, .gform_footer button.gform_button {
        background-color: #005979 !important;
    color: #edf9fd;
    border: 1px solid #005979 !important;
    cursor: pointer;
    padding: 4px 26px !important;
    padding-right: 3px !important;
    font-size: 18px;
    font-weight: 400;
    font-family: 'rubik';
    letter-spacing: 0px;
    text-transform: inherit;
    transition: 0.1s !important;
    border-radius: 3em !important;
    border-bottom-left-radius: 0px !important;
    background-origin: border-box;
}

.gform_footer input:focus, .gform_footer input:hover,
.gform_footer button.gform_button:focus, .gform_footer button.gform_button:hover {
	    background: rgb(0 89 121 / 64%) !important;
    color: var(--haimesMidBlue);
}

.gform_wrapper.gravity-theme .gform_footer, .gform_wrapper.gravity-theme .gform_page_footer {
    margin: 15px 0 0;
    padding: 0 0;
}

/* sticky phone button */
.floatingphone-mobile {
    position: fixed;
    /* 02/10/26 M42: was bottom 10px, now clears the home indicator */
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    right: 10px;
    background: var(--haimesBlue);
    width: 50px;
    height: 43px;
    padding: 9px 9px 6px 1px;
    box-shadow: -4px 9px 10px #00000026;
    border: 4px solid #fff;
    /* 02/10/26 M03: was 199999, which sat on top of the open mobile menu (UIkit modal is 1010) */
    z-index: 1000;
    border-radius: 100%;
    padding: 15px 3px 1px 8px;
}

.floatingphone-mobile img {
    transform: skewX(10deg);
    margin-right: 5px;
	margin-left: 10px;
}

.floatingphone-mobile a {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}




@media (max-width: 1300px) and (min-width: 960px) {
	h1.el-title {
    font-size: 60px;
}
}
@media (max-width: 1300px) and (min-width: 720px) {

.banner-slideshow .uk-position-cover.uk-flex.uk-padding.uk-flex-top.uk-flex-left {
    padding-top: 70px;
    padding-left: 60px;
}

}


@media (max-width: 1290px) and (min-width: 1060px) {
.uk-navbar-center:not(:only-child) {
    transform: translate(-60%, -50%);
}
	.uk-logo img {
    height: 78px;
    width: auto;
}
}

/* 22/10/26: removed the white fade on .banner-slideshow below 1200px (no gradients on banners, Kacey). */

@media (max-width: 1200px) and (min-width: 1000px) {
	.uk-navbar-item, .uk-navbar-nav>li>a, .uk-navbar-toggle {
		    font-size: 16px;
	}
	li.menu-item {
    padding: 4px 17px;
}
	a.header-contact-btn {
    font-size: 16px;
}
	.social-icon__img {
    width: 33px;
	}

}
@media (max-width: 1060px) and (min-width: 960px) {
    .uk-navbar-center:not(:only-child) {
        transform: translate(-62%, -50%);
    }
    .uk-logo img {
        height: 62px;
        width: auto;
    }
}

@media (max-width: 1000px) and (min-width: 960px) {
	.uk-navbar-item, .uk-navbar-nav>li>a, .uk-navbar-toggle {
		    font-size: 14px;
	}
	li.menu-item {
    padding: 4px 15px;
}
	a.header-contact-btn {
    font-size: 14px;
}
	.social-icon__img {
    width: 30px;
	}

}


@media (max-width: 720px) {
.banner-slideshow .uk-position-cover.uk-flex.uk-padding.uk-flex-top.uk-flex-left {
    padding-top: 80px;
    padding-left: 30px;
}
}
	
@media (max-width: 640px) {

}
@media (max-width: 445px) {
.header-cta {
	display: none;
}
}
/* Accordion step headings (home page process list).
   When a title wrapped to a second line, that line fell back to the number's
   left margin instead of staying under the title text. padding-left plus a
   matching negative text-indent gives a hanging indent so wrapped lines align
   with the first line. tabular-nums makes 01-05 render at an identical width,
   so every title starts at the same x. Matches the 95-100px content indent
   already used by .uk-accordion .el-content below. */
.uk-accordion-title:has(.accordion-spacer) {
	font-variant-numeric: tabular-nums;
	padding-left: calc(1.46em + 58px);
	text-indent: calc(-1.46em - 58px);
}

/* Mobilisation fixes, 02/10/26 (Phase 8 review, website-build/MOBILISATION.md).
   CSS because no builder control covers these, and the style variables that do
   (modal close, nav-sub padding) only take effect after an in-browser Customizer
   compile. Fold into YOOtheme > Style if the style is next saved by hand. */
@media (max-width: 959px) {
	/* M03/M40: mobile menu close button was 24-40px */
	#tm-dialog-mobile .uk-modal-close-full,
	#tm-dialog-mobile .uk-modal-close-default {
		padding: 15px;
	}
	/* M40: hamburger was 20px wide. No negative margin: it spilled 12px past the header container */
	.tm-header-mobile .uk-navbar-toggle {
		padding-left: 12px;
		padding-right: 12px;
	}
	/* M40: Custom Homes / Knockdown Rebuilds in the mobile menu were 33px tall */
	#tm-dialog-mobile .uk-nav-sub a {
		padding-top: 8px;
		padding-bottom: 8px;
	}
	/* M40/M41: footer quick links were 19px tall with 7px between them */
	.footer-quicklinks br {
		display: none;
	}
	.footer-quicklinks a {
		display: block;
		padding: 12px 0;
	}
	/* M40: footer Privacy Policy link was 15px tall */
	footer a[href="/privacy-policy/"] {
		display: inline-block;
		padding: 15px 0;
	}
	/* M40: homepage portfolio "View Project" links were 19px tall */
	a.el-link.uk-link-text {
		display: inline-block;
		padding: 13px 0;
	}
	/* M40: accordion titles were 39px tall */
	.uk-accordion-title {
		padding-top: 3px;
		padding-bottom: 3px;
	}
}
@media (max-width: 639px) {
	/* Arrow buttons: on narrow phones the arrow image wrapped onto a second line,
	   leaving the label stuck at the top of a tall button. Keep label and arrow
	   on one centred row and let the label wrap beside the arrow instead. */
	.uk-button:has(> img) {
		display: inline-flex;
		align-items: center;
		gap: 7px;
		white-space: normal;
		text-align: left;
		line-height: 1.3;
	}
	.uk-button:has(> img) > img {
		margin-left: 0 !important;
		padding-bottom: 0 !important;
		flex: none;
	}
}

@media (max-width: 430px) {
	/* M30/M11: hero overlay titles at 40px left "Contemporary" (Contemporary Calm)
	   too wide for its overlay at 320px, so it was cut at the right edge */
	.el-overlay h1.el-title {
		font-size: 32px;
	}
}
@media (max-width: 959px) {
	/* M40: enquiry form submit (image button) was 34px tall */
	.gform_footer .gform_image_button {
		padding-top: 9px !important;
		padding-bottom: 9px !important;
	}
}

/* GF 3.x image button: keep the image on one line inside the button */
.gform_footer button.gform_button img {
	display: block;
}

/* 28/10/26: inner-page hero banners 20% taller from 1200px (500px -> 600px). UIkit writes the
   slideshow's min/max height inline from its 500/500 settings, so both need !important.
   Below 1200 unchanged. The homepage hero is a separate section and is not affected. */
@media (min-width: 1200px) {
	.banner-slideshow .uk-slideshow-items {
		min-height: 600px !important;
		max-height: 600px !important;
	}
}

/* Link hover colour (19/11/26). The YOOtheme style's base link hover colour is #DFF5FD,
   which almost disappears on white and on the light blue cards (seen on the Contact page
   email link). Same selectors as the theme rule, loaded after it, colour only.
   Dark sections keep their own, more specific hover rules. */
.uk-link-toggle:hover .uk-link,
.uk-link:hover,
a:hover {
	color: #003d52;
}
