/*   
Theme Name: Zoë Medical & Aesthetic
Description: Zoë Medical & Aesthetic website
Author: Odvod Media
Version: 1
*/

/* default
-------------------------------------------------------------------------------*/

html, body, body div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, hgroup, menu, nav, section, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	vertical-align: baseline;
	background: transparent;
}									

article, aside, figure, footer, header, hgroup, nav, section {display: block;}

/* Responsive images and other embedded objects
   Note: keeping IMG here will cause problems if you're using foreground images as sprites, like, say for Google Maps custom placemarkers. 
   There has been a report of problems with standard Google maps as well, but we haven't been able to duplicate or diagnose the issue. */
img,
object,
embed {width: 100%; height:auto}

/* force a vertical scrollbar to prevent a jumpy page */
html {overflow-y: scroll;}

/* we use a lot of ULs that aren't bulleted. 
	don't forget to restore the bullets within content. */
ul {list-style: none;}

blockquote, q {quotes: none;}

blockquote:before, 
blockquote:after, 
q:before, 
q:after {content: ''; content: none;}

a { margin: 0; padding: 0; font-size: 100%; vertical-align: baseline; background: transparent; color:#666; text-decoration:none; transition: all .4s; -moz-transition: all .4s; -webkit-transition: all .4s; -o-transition: all .4s; }
a > span { transition: all .4s; -moz-transition: all .4s; -webkit-transition: all .4s; -o-transition: all .4s; }
a:hover{ text-decoration:underline}

del {text-decoration: line-through;}

abbr[title], dfn[title] {border-bottom: 1px dotted #000; cursor: help;}

/* tables still need cellspacing="0" in the markup */
table {border-collapse: collapse; border-spacing: 0;}
th {font-weight: bold; vertical-align: bottom;}
td {font-weight: normal; vertical-align: top;}

h1,h2,h3,h4,h5,h6{ font-weight:400}

hr {display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0;}

input, select {vertical-align: middle;}

pre {
	white-space: pre; /* CSS2 */
	white-space: pre-wrap; /* CSS 2.1 */
	white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
	word-wrap: break-word; /* IE */
}

input[type="radio"] {vertical-align: text-bottom;}
input[type="checkbox"] {vertical-align: bottom; *vertical-align: baseline;}
.ie6 input {vertical-align: text-bottom;}

select, input, textarea {font: 99% sans-serif;}

table {font-size: inherit; font: 100%;}
 
/* Accessible focus treatment
	people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active {outline: none;}

small {font-size: 85%;}

strong, b, th {font-weight: 600; }
em, i {  }

td, td img {vertical-align: top;} 

/* Make sure sup and sub don't screw with your line-heights
	gist.github.com/413930 */
sub, sup {font-size: 75%; line-height: 0; position: relative;}
sup {top: -0.5em;}
sub {bottom: -0.25em;}

/* standardize any monospaced elements */
pre, code, kbd, samp {font-family: monospace, sans-serif;}

/* hand cursor on clickable elements */
.clickable,
label, 
input[type=button], 
input[type=submit], 
button {cursor: pointer;}

/* Webkit browsers add a 2px margin outside the chrome of form elements */
button, input, select, textarea {margin: 0;}

/* make buttons play nice in IE */
button {width: auto; overflow: visible;}
 
/* scale images in IE7 more attractively */
.ie7 img {-ms-interpolation-mode: bicubic;}

/* prevent BG image flicker upon hover */
.ie6 html {filter: expression(document.execCommand("BackgroundImageCache", false, true));}

/* let's clear some floats */
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }  
.clearfix:after { clear: both; }  
/*.clearfix { zoom: 1; }  */

.clear { clear: both; }

.hide { display: none !important; }

img { display: block; /*transition: all .6s; -moz-transition: all .6s; -webkit-transition: all .6s; -o-transition: all .6s;*/ }

.show-right:before { position: relative; left: 100%; display: block; width: 100%; float: left; margin: 0 0 0 -100%; }

.left { float: left !important; }
.middle { float: none !important; }
.right { float: right !important; }

.text-left { text-align: left !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }

.ab-right { position: absolute !important; right: 0; }
.ab-bottom { position: absolute !important; bottom: 0; }

.uppercase { text-transform: uppercase; letter-spacing: 1.2px; }

.background { background-position: center center; background-repeat: no-repeat; background-size: cover; }
.overlay { position: absolute; top: 0; left: 0; display: block; width: 100%; height: 100%; }

.transition { text-decoration:none; transition: all .4s; -moz-transition: all .4s; -webkit-transition: all .4s; -o-transition: all .4s; }

span.break { display: block !important; margin: 0 !important; padding: 0 !important; }

.no-padding-bottom { padding-bottom: 0 !important; }

/*** site variables ***/

:root {
  --font-heading: "sharik-sans", sans-serif;
  --font-content: "quasimoda", sans-serif;
  
  --colour1: #ffffff; /* white */
  --colour2: #ffa3b5; /* pink */
  --colour3: #ab989d; /* sand */
  --colour4: #4a4f78; /* soft indigo */
  --colour5: #070d36; /* deep indigo */
  --colour6: #000000; /* black */
  --colour7: #3c57a1; /* indigo */
  
  --colour8: #dbdce3; /* soft indigo tint */
  --colour9: #edeaeb; /* sand tint */
  --colour10: #83869b; /* deep indigo tint */
  --colour11: #ffdae1; /* soft pink */
  
  --padding-width: 50px;
  --padding-width-2: 30px;
  --padding-height: 40px;
  --padding-height-2: 50px;
  --padding-height-3: 30px;
  --padding-height-4: 20px;
  
  --gap-width: 80px;
  --gap-width-2: 50px;
}


/*** site defaults ***/

html, BODY { height: 100%; }
BODY { background: var(--colour11); font-family: var(--font-content); font-weight: 300; font-size: 20px; color: var(--colour4); line-height: 1.3; text-align: center; overflow-wrap: break-word; }

h1, h2, h3, h4, h5 { margin: 0 0 15px; padding: 0; line-height: 1.3; font-family: var(--font-heading); color: var(--colour4); }
h1 { font-size: 32px; font-weight: 600; }
h2, h3, h4, h5 { font-size: 24px; font-weight: 400; }
h3:last-child { margin-bottom: 0; }
h3.page-title:last-child { margin-bottom: 15px; }

.size12 { font-size: 12px; }
.size13 { font-size: 13px; }
.size14 { font-size: 14px; }
.size16 { font-size: 16px; }
.size17 { font-size: 17px; }
.size18 { font-size: 18px; }
.size20 { font-size: 20px; }
.size24 { font-size: 24px; }
.size32 { font-size: 32px; }

.weightLight { font-weight: 300; }
.weightReg { font-weight: 400; }
.weightMedium { font-weight: 500; }
.weightSemi { font-weight: 600; }

.fontHeading { font-family: var(--font-heading); }
.fontContent { font-family: var(--font-content); }

.colourWhite { color: var(--colour1); }
.colourPink { color: var(--colour2); }
.colourSand { color: var(--colour3); }

a { color: var(--colour7); text-decoration: underline; }
a:hover { color: var(--colour5); text-decoration: underline; }

p { padding: 0 0 25px; margin: 0; line-height: 1.5; }
p:last-child, p:last-of-type { padding-bottom: 0; }

ul, ol { margin: 0 0 30px 15px; padding: 0; list-style-type: disc; }
ol { list-style-type: decimal; }
li { margin: 0 0 10px 15px; padding: 0 0 0 2px; }
ul:last-child, ul:last-of-type, ol:last-child, ol:last-of-type { margin-bottom: 0; }
li:last-child, li:last-of-type { margin-bottom: 0; }
li > ul, li > ol { margin-top: 0; margin-left: 0; padding-top: 10px; }
ul:last-child + p, ol:last-child + p, .image-wrapper + ul, .image-wrapper + ol { padding-top: 30px; }
p:last-child + ul, p:last-of-type + ul, p:last-child + ol, p:last-of-type + ol { margin-top: 0; padding: 20px 0 0; }
p:last-of-type + h2, p:last-of-type + h3 { padding-top: 30px; }
ul + h3, h3 + h3 { padding-top: 30px; }
ul + p { padding-top: 10px; }
p + ul, p + ol { margin-top: -15px; }

hr { border-top-color: var(--colour3); opacity: .2; margin: var(--padding-height-2) 0; }
p + hr { margin-top: calc(var(--padding-height-2) - 20px); }
p:last-of-type + hr { margin-top: var(--padding-height-2); }

.wrap, .inner, .row, .col { position: relative; display: block; box-sizing: border-box; -moz-box-sizing: border-box; overflow: hidden; }

.grid { display: grid; grid-template-columns: auto; grid-template-rows: auto; grid-auto-rows: minmax(min-content, max-content); }

.width-banner { width: 100%; max-width: 2330px; margin: 0 auto; }
.width-banner-content { width: 100%; max-width: 740px; background: rgba(238, 234, 235, .8); padding: var(--padding-height-4) var(--padding-width-2) var(--padding-height-3); }
.width-section { width: 100%; max-width: 1560px; margin: 0 auto; }
.width-content { width: 100%; max-width: 1280px; margin: 0 auto; }
.width-single { width: 100%; max-width: 900px; margin: 0 auto; }

.vert-bottom { display: grid; align-content: flex-end; }
.vert-middle { display: grid; align-content: center; }

.horiz-right { justify-content: right; }

.flyout-btn { display: none; font-size: 22px; }
.flyout-btn a { text-decoration: none; color: var(--colour5); }
.flyout-btn a:hover { text-decoration: none; color: var(--colour7); }

#flyout-menu { position: fixed; top: 0; left: 0; display: none; width: 100%; height: 100%; background: var(--colour4); padding: 30px var(--padding-width); z-index: 9999999; overflow-y: auto; }
#flyout-menu-top { margin: 0 0 30px; }
#flyout-menu-top .row-1 { grid-template-columns: 1fr auto; gap: 0 0; }
#flyout-menu-top .row-1 .logo { width: 155px; }
#flyout-menu-top .row-1 ul, #flyout-menu-top .row-1 li, #flyout-menu-main .row-1 ul, #flyout-menu-main .row-1 li { list-style-type: none; margin: 0; padding: 0; }
#flyout-menu-top .row-1 li a { text-decoration: none; color: var(--colour1); font-size: 24px; }
#flyout-menu-top .row-1 li a:hover { text-decoration: none; color: var(--colour5); }
#flyout-menu-main .row-1 { grid-template-columns: auto; gap: 30px 0; }
#flyout-menu-main .row-1 .col-1 li { display: block; border-bottom: 1px solid rgba(255, 255, 255, .2); }
#flyout-menu-main .row-1 .col-1 li a { display: block; background: var(--colour4); color: var(--colour1); font-size: 13px; text-transform: uppercase; font-weight: 500; letter-spacing: 1.2px; text-decoration: none; text-align: center; line-height: 60px; padding: 0 20px; box-sizing: border-box; -moz-box-sizing: border-box; }
.firefox #flyout-menu-main .row-1 li a { line-height: 1; padding-top: 20px; padding-bottom: 20px; }
#flyout-menu-main .row-1 .col-1 li a:hover, #flyout-menu-main .row-1 .col-1 li.current-menu-item a:hover { background: var(--colour5); color: var(--colour1); text-decoration: none; }
#flyout-menu-main .row-1 .col-2 { font-size: 16px; }
#flyout-menu-main .row-1 .col-3 a { color: var(--colour1); text-decoration: none; font-size: 24px; }
#flyout-menu-main .row-1 .col-3 a:hover { color: var(--colour5); text-decoration: none; }
#flyout-menu-main .row-1 .col-2 a, #flyout-menu-main .row-1 .col-2 a:hover { color: var(--colour1); text-decoration: none; }
#flyout-menu-sub { display: none; }

.menu ul, .menu li { display: inline-block; list-style-type: none; padding: 0; margin: 0; }
.menu li { margin-left: var(--gap-width); }
.menu li:first-of-type { margin-left: 0; }
.menu.stack ul, .menu.stack li { display: block; margin-left: 0; }
.menu li a { font-family: var(--font-heading); text-decoration: none; color: var(--colour5); }
.menu li a:hover, .menu li.current-menu-item a { text-decoration: none; color: var(--colour7); }
.menu li ul { display: none; }
.menu li:hover ul { display: block; position: absolute; left: 0; padding: 0; width: auto; z-index: 99999; }
.menu li ul li { position: relative; list-style-type: none; }
.menu li ul li a { position: relative; display: block; color: var(--colour6); background: var(--colour8); text-decoration: none; padding: 7px 20px 10px; }
.menu li ul li:hover a, .menu li ul li.current-menu-item a { color: var(--colour1); background: var(--colour4); }



a.btn { display: block; background: var(--colour4); color: var(--colour1); font-size: 13px; text-transform: uppercase; font-weight: 500; letter-spacing: 1.2px; text-decoration: none; text-align: center; line-height: 40px; padding: 0 20px; box-sizing: border-box; -moz-box-sizing: border-box; }
.firefox a.btn { line-height: 1; padding-top: 16px; padding-bottom: 11px; }
a.btn:hover { background: var(--colour5); color: var(--colour1); text-decoration: none; }
a.btn.btn-2 { background: var(--colour5); }
a.btn.btn-2:hover { background: var(--colour2); }
a.btn.btn-3 { background: var(--colour2); }
a.btn.btn-3:hover { background: var(--colour4); }
a.btn.btn-4 { background: var(--colour3); }
a.btn.btn-4:hover { background: var(--colour2); }
a.btn.min-width { display: inline-block; min-width: 225px; }

form label { position: absolute; top: 0; display: none; width: 100%; opacity: 0; font-size: 12px; color: var(--colour10); -webkit-transition: all 0.2s ease-out; transition: all 0.2s ease-out; z-index: 1 }
form input, form select, form textarea { position: relative; width: 100%; background: var(--colour1); font-family: var(--font-content); font-size: 17px; letter-spacing: .02rem; color: var(--colour5); padding: 15px 15px; border: none; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-transition: all 0.3s ease-out; transition: all 0.2s ease-out; -webkit-appearance: none; -moz-appearance: none; appearance: none; }
form textarea { height: 100%; min-height: 180px; }

form select { padding-top: 14px; padding-bottom: 13px; }
form .select-wrap { position: relative; display: block; background: var(--colour1); }
form .select-box-wrap { position: relative; display: block; z-index: 20; }
form select { -webkit-appearance: none; -moz-appearance: none; text-overflow: ''; background: none; border: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 60px; cursor: pointer; }
form select::-ms-expand { display: none; }
form .select-dir { position: absolute; top: 18px; right: 0px; display: block; height: 43%; padding: 0 15px; color: var(--colour4); line-height: 1.1; z-index: 10; }

form .floating label { display: block; margin-top: 2px; margin-left: 0; padding: 0 15px; text-align: left; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-transform: translateY(3px); transform: translateY(3px); pointer-events: none; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; -webkit-box-sizing: border-box; box-sizing: border-box; opacity: 1; }
form .wpcf7-not-valid { background: var(--colour2); }
form .wpcf7-not-valid-tip { display: none; }
form .floating input, form .floating select, form .floating textarea { padding-top: 24px; padding-bottom: 6px; }
form .floating select { padding-top: 25px; padding-bottom: 5px; padding-left: 15px; }
.firefox form .floating select { padding-left: 11px; }

form input[type="submit"] { padding: 0 30px; border: none; background: var(--colour4); color: var(--colour1); font-size: 13px; font-weight: 500; border-radius: 0; letter-spacing: 1.2px; line-height: 40px; text-transform: uppercase; }
.firefox form input[type="submit"] { line-height: 1; padding-top: 16px; padding-bottom: 11px; }
form input[type="submit"]:hover { background: var(--colour5); color: var(--colour1); }


form .ajax-loader, form .wpcf7-spinner { display: none; }
form .wpcf7-response-output { margin: 20px 0 0 !important; padding: 15px 30px !important; border: none !important; background: var(--colour4); color: var(--colour1); text-align: center; }
form.invalid .wpcf7-response-output { background: #cc0000; color: var(--colour1); }

form .responsive-hide { display: none; }
form .responsive-hide input, form .responsive-hide select { display: none; }

input.placeholder, textarea.placeholder { color: var(--colour4); font-family: var(--font-content); font-weight: 500; letter-spacing: .03rem; }
::-webkit-input-placeholder { /* WebKit browsers */
	color: var(--colour4);
	font-family: var(--font-content); font-weight: 500; letter-spacing: .03rem;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
	color: var(--colour4);
	font-family: var(--font-content); font-weight: 500; letter-spacing: .03rem;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
	color: var(--colour4);
	font-family: var(--font-content); font-weight: 500; letter-spacing: .03rem;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
	color: var(--colour4);
	font-family: var(--font-content); font-weight: 500; letter-spacing: .03rem;
}


/*** site styles ***/

header { background: var(--colour1); padding: 30px var(--padding-width); }
header .row-1.grid { grid-template-columns: 240px 1fr 240px; gap: 0 var(--gap-width); }
header .row-2.grid { grid-template-columns: 1fr auto 1fr; gap: 0 25px; }
header .logo { width: 195px; }
header .row-1.grid > .col-3 ul, header .row-1.grid > .col-3 li { list-style-type: none; margin: 0; padding: 0; }
header a.btn { max-width: 200px; }

.alert { background: var(--colour2); color: var(--colour5); padding: 10px var(--padding-width); }
.bar { background: var(--colour2); height: 7px; }
.quote hr { margin: 0; }
.quote .row { padding: 25px 20px; }

.slick-dots { position: absolute; left: 0; bottom: 0; display: block; width: 100%;  padding: 15px var(--padding-width); box-sizing: border-box; -moz-box-sizing: border-box; }
.slick-dots ul, .slick-dots li { display: inline-block; list-style-type: none; margin: 0; padding: 0; }
.slick-dots li { margin-left: 30px; }
.slick-dots li:first-of-type { margin-left: 0; }
.slick-dots li button { font-size: 1px; line-height: 1; padding: 0; border: none; width: 10px; height: 10px; overflow: hidden; border-radius: 10px; color: var(--colour1); background: var(--colour1); opacity: .5; }
.slick-dots li.slick-active button { opacity: 1; }

.banners { background: var(--colour9); }
.banners .banners-slick, .banners .banner, .banners .vert-middle { height: 850px; }
.banners .banner, .banners .banner .banner-image { display: none; }
.banners .banner.row-1 { display: grid; }
.banners .vert-middle { height: calc(850px - (var(--padding-height) * 2)); }
.banners .banner .width-banner { padding: var(--padding-height) var(--padding-width); }
.banners .banner .banner-content .col-2 + .col-3 { padding-top: var(--padding-height); }
.banners .slick-dots { text-align: right; }

.content-boxes { background-color: var(--colour1); }
.content-boxes p + h3 { padding-top: 10px; }
.content-boxes p:last-of-type + h3 { padding-top: 30px; }
.content-boxes p + div { padding-top: 5px; }
.content-boxes div + p, .content-boxes p:last-of-type + div, .content-boxes .content-text .col + .button { padding-top: 25px; }
.content-boxes div + h3 { padding-top: 35px; }
.content-boxes p img { margin-bottom: 30px; }

.content-boxes, .content-box.content-box-cols-1 .content-text, .banner { padding: var(--padding-height-2) var(--padding-width); }
.content-boxes .content-type-content_bg .content-text .col + .button { padding-top: var(--padding-height); }
.content-boxes + .combine { padding-top: 0; }
.content-boxes.title-only { padding-bottom: 10px; }

.content-boxes.content-box-cols-2 > .row-1 > .col-1.grid { grid-template-columns: 1fr 1fr; gap: 0 var(--gap-width); }
.content-boxes .content-type-content_bg { min-height: 410px; padding: 30px var(--padding-width); }
.content-boxes.content-box-cols-2 .content-type-content_bg .col-1.grid { max-width: 400px; margin: 0 auto; }
.content-boxes.content-box-cols-2.content-boxes-sidebar-content > .row-1 > .col-1.grid { grid-template-columns: 470px 1fr; gap: 0 var(--gap-width); }

.content-boxes .grid.content-split { gap: 30px 30px; border-bottom: 1px solid var(--colour5); padding: 30px 0; }
.content-boxes .grid.content-split.content-split-position-left { grid-template-columns: 30% 1fr; }
.content-boxes .grid.content-split.content-split-position-right { grid-template-columns: 1fr 30%; }
.content-boxes .grid.content-split .content-split-title { color: var(--colour4); font-size: 24px; font-family: var(--font-heading); font-weight: 400; }

.content-boxes .content-table-wrapper { overflow-x: auto; }
.content-boxes .content-table { margin-bottom: 10px; }
.content-boxes .content-table tr th, .content-boxes .content-table tr td { padding: 10px; }
.content-boxes .content-table tr th { font-family: var(--font-heading); font-size: 16px; font-weight: 400; }
.content-boxes .content-table tr:nth-child(2n) td { background: var(--colour11); }


/*.content-boxes.content-box-cols-1 .content-type-content { max-width: 900px; padding: 30px var(--padding-width); margin-left: auto; margin-right: auto; }*/

.content-boxes.separator .content-box::after { position: absolute; left: calc((var(--padding-width) / 2) * -1); display: block; width: 1px; height: 100%; background: var(--colour3); content: ''; }
.content-boxes.separator .content-box:first-of-type::after { display: none; }
.content-boxes.separator .content-box { overflow: visible; }

.testimonials { background: var(--colour9); color: var(--colour4); }
.testimonials .width-testimonial { min-height: 200px; }
.testimonials .testimonial { display: none; padding: 80px var(--padding-width); }
.testimonials .testimonial.row-1 { display: grid; }
.testimonials .testimonial .col-1 { margin-bottom: 20px; }
.testimonials .slick-dots { padding-bottom: 20px; }
.testimonials .slick-dots li button { color: var(--colour3); background: var(--colour3); }

.page-map { height: 550px; }

form .row.row-1 { grid-template-columns: 1fr 1fr; gap: 0 var(--gap-width-2); }
form .row.row-1 .row.row-2 { gap: 15px 0; }
form input[type="submit"] { max-width: 225px; margin-top: 20px; }

.form-alt form .row.row-1 { grid-template-columns: 1fr; gap: 15px 0; }
.form-alt form .row.row-2 { grid-template-columns: 1fr 1fr; gap: 15px 15px !important; }


.content-boxes .staff-members.grid { grid-template-columns: 1fr 1fr 1fr; gap: 70px 140px; }
.content-boxes .staff-members.grid .staff-member .grid { gap: 5px 0; }
.content-boxes .staff-members.grid .staff-member .col-1 { margin-bottom: 15px; }
.content-boxes .staff-members.grid .staff-member .col-2 { margin-bottom: 10px; }

footer { background: var(--colour11); color: var(--colour4); padding: var(--padding-height-2) var(--padding-width); line-height: 1.6; }
footer .row + .row { padding-top: 20px; }
footer .row-1.grid { grid-template-columns: 235px 1fr 200px 310px; gap: 0 70px; }
footer .row-2.grid { grid-template-columns: 235px 1fr; gap: 0 70px; }
footer .row-1.grid .row-2.grid { grid-template-columns: 37% 1fr; gap: 60px var(--gap-width-2); }
footer .logo { width: 235px; }
footer a { color: var(--colour5); text-decoration: underline; }
footer a:hover { color: var(--colour4); text-decoration: none; }

footer .menu li { padding-top: 5px; }
footer .menu li:first-of-type { padding-top: 0; }
footer .menu a { font-family: var(--font-content); color: var(--colour5); text-decoration: none; }
footer .menu a:hover, footer .menu .current-menu-item a { color: var(--colour4); }

footer .menu.social { padding-top: 20px; }
footer .menu.social a { color: var(--colour5); }
footer .menu.social a:hover { color: var(--colour4); }

.grecaptcha-badge { display: none !important; }
.page-id-146 .grecaptcha-badge, .page-id-241 .grecaptcha-badge { display: block !important; }

@viewport { width: auto; }


@media only screen and (max-width: 1620px) {
  
  header .row-1.grid { grid-template-columns: 200px 1fr 200px; gap: 0 30px; }
  header .row-1.grid > .col-1 { font-size: 14px; }
  .menu li { margin-left: calc(var(--gap-width) / 2); }
  
  footer .row-1.grid, footer .row-2.grid { gap: 0 50px; }
  
}

@media only screen and (max-width: 1420px) {
  
  .menu li { margin-left: 15px; }
  
  .banners .banners-slick, .banners .banner, .banners .vert-middle { height: 450px; }
  .banners .vert-middle { height: calc(450px - (var(--padding-height) * 2)); }
  .content-boxes .content-type-content_bg { min-height: 330px; }
  
  footer .row-1.grid { grid-template-columns: 200px 1fr 180px 250px; gap: 0 40px; }
  footer .row-2.grid { grid-template-columns: 200px 1fr; gap: 0 40px; }
  footer .logo { width: 200px; }
  
}

@media only screen and (max-width: 1320px) {
  
  .alert.size16 { font-size: 14px; }
  header .logo { width: 165px; }
  header .menu li a { font-size: 16px; }
  
}

@media only screen and (max-width: 1240px) {
  
  header .row-1.grid { grid-template-columns: 0px 1fr auto; gap: 0 0; }
  header .row-1.grid > .col-1 { height: 1px; overflow: hidden; }
  header .row-1.grid > .col-3.vert-bottom { align-content: center; }
  header .row-2.grid { grid-template-columns: 0px 1fr 0px; gap: 0 0; }
  header .row-2.grid > .col-1, header .row-2.grid > .col-3 { height: 1px; overflow: hidden; }
  header .logo { width: 155px; }
  .flyout-btn { display: grid; }
  header .row-1.grid > .col-3 ul { grid-template-columns: auto auto; gap: 0 20px; }
  
  
  footer .row-1.grid { grid-template-columns: 1fr 1fr 1fr; gap: 30px 40px; grid-template-areas: "col-1 col-1 col-1" "col-3 col-3 col-3" "col-2 col-2 col-4"; }
  footer .row-1.grid > .col.col-1 { grid-area: col-1; margin: 0 auto; }
  footer .row-1.grid > .col.col-2 { grid-area: col-2; }
  footer .row-1.grid > .col.col-3 { grid-area: col-3; }
  footer .row-1.grid > .col.col-4 { grid-area: col-4; }
  footer .menu.stack li { text-align: center; }
  footer > .row-2.grid { grid-template-columns: 1fr; gap: 0 0; grid-template-areas: "col-2" }
  footer > .row-2.grid > .col.col-1 { grid-area: col-1; }
  footer > .row-2.grid > .col.col-2 { grid-area: col-2; text-align: center !important; }
  
}

@media only screen and (max-width: 930px) {
  
  :root {
    --padding-width: 30px;
    --padding-height: 30px;
    --padding-height-2: 30px;

    --gap-width: 30px;
    --gap-width-2: 25px;
  }
  
  .testimonials .testimonial { padding-top: 40px; padding-bottom: 40px; }
  .content-boxes.content-box-cols-2.content-boxes-sidebar-content > .row-1 > .col-1.grid { grid-template-columns: 1fr 1fr; }
  .content-boxes .staff-members.grid { grid-template-columns: 1fr 1fr 1fr; gap: 30px 70px; }
  
}

@media only screen and (max-width: 770px) {
  
  body { font-size: 17px; }
  h1 { font-size: 24px; }
  h2, h3, h4, h5 { font-size: 22px; }
  
  .size20, .size24 { font-size: 18px; }
  .size17 { font-size: 15px; }
  
  a.btn.min-width { width: 100%; }
  .content-boxes p + h3 { padding-top: 0; }
  .content-boxes p + div { padding-top: 0; }
  .content-boxes p img { margin-bottom: 10px; }
  
  .banners .banners-slick, .banners .banner, .banners .vert-middle { height: auto; }
  .banner { padding: 0; background: var(--colour4) !important; }
  .banners .banner .banner-image { display: block; height: 225px; overflow: hidden; }
  .banner .col-1.width-section > .row-1 { background: var(--colour4); color: var(--colour1); padding: var(--padding-height-2) var(--padding-width) 50px; max-width: none; }
  .banner .col-1.width-section > .row-1 .col, .banner .col-1.width-section > .row-1 .col h1 { color: var(--colour1) !important; }
  .banners .slick-dots { text-align: center; background: var(--colour4); margin: 0; }
  .banners a.btn.btn-3 { background: var(--colour5); }
  .banners a.btn.btn-3:hover { background: var(--colour2); }
  .slick-dots li button { opacity: .2; }
  .slick-dots li.slick-active button { opacity: .5; }
  
  .content-boxes.content-box-cols-2 > .row-1 > .col-1.grid, .content-boxes.content-box-cols-2.content-boxes-sidebar-content > .row-1 > .col-1.grid { grid-template-columns: 1fr; gap: 30px 0; }
  .content-boxes.content-boxes-content_bg-content_bg { padding: 0; }
  .content-boxes.content-boxes-content_bg-content_bg.content-box-cols-2 > .row-1 > .col-1.grid { gap: 0 0; }
  .content-boxes .content-type-content_bg { min-height: 0; }
  .content-boxes.content-box-cols-2 .content-type-content_bg .col-1.grid { max-width: none; }
  .page-map { height: 350px; }
  form .row.row-1 { grid-template-columns: 1fr; gap: 15px 0; }
  .content-boxes .staff-members.grid { grid-template-columns: 1fr 1fr 1fr; gap: 30px 30px; }
  
  form input[type="submit"] { max-width: none; margin-top: 0; }
  
}

@media only screen and (max-width: 660px) {
  
  .content-boxes .staff-members.grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .staff-member h3 { font-size: 20px; }
  .content-boxes .staff-members.grid .staff-member .col-1 { margin-bottom: 10px; }
  
  footer .row-1.grid { grid-template-columns: 1fr; gap: 25px 0; grid-template-areas: "col-1" "col-3" "col-2" "col-4"; }
  footer .menu.social { padding-top: 10px; text-align: center !important; }
  footer .row-1.grid .row-2.grid { grid-template-columns: 1fr 1fr; }

}

@media only screen and (max-width: 480px) {
  
  :root {
    --padding-width: 20px;
    --padding-height: 20px;
    --padding-height-2: 20px;

    --gap-width: 20px;
    --gap-width-2: 20px;
  }
  
  .size20 { font-size: 16px; }
  .size16, .alert.size16 { font-size: 13px; }
  
  header { padding: 10px 20px 10px 10px; }
  header .logo { width: 115px; }
  header a.btn { font-size: 11px; padding-left: 10px; padding-right: 10px; }
  
  #flyout-menu { padding: 20px var(--padding-width); }
  #flyout-menu-top { margin: 0 0 20px; }
  #flyout-menu-top .row-1 .logo { width: 115px; }
  #flyout-menu-main .row-1 { grid-template-columns: auto; gap: 20px 0; }
  
  .form-alt form .row.row-2 { grid-template-columns: 1fr; gap: 15px 15px !important; }
  .page-map { height: 210px; }
  
  footer .size16 { font-size: 16px; }

}

@media only screen and (max-width: 360px) {
  
  h1 { font-size: 22px; }
  h2, h3, h4, h5 { font-size: 20px; }
  
  header .logo { width: 105px; }
  header .row-1.grid > .col-3 ul { gap: 0 10px; }
  
  .banners .banner .banner-image { height: 125px; }
  .content-boxes .staff-members.grid { grid-template-columns: 1fr; gap: 25px 0; }
  
  footer .logo { width: 160px; }
  footer .row-1.grid .row-2.grid { grid-template-columns: 1fr; gap: 20px var(--gap-width-2); }
  
}