* { margin: 0; padding: 0; border: 0; }
html, body { min-height: 100%; }
body{margin:0;padding:0;}
.fl_menu{list-style:none;}
.cms_imgleft{margin:3px 10px 10px 0;float:left;}
.cms_imgright{margin:3px 0 10px 10px;float:right;}
.clear{clear:both;}
.gallthumbnail{display:inline-block;border:1px solid #666;margin-right:5px;margin-bottom:5px;}
.fl_blogpostavatar{float:right;border:1px solid #eee;margin:0 0 5px 5px;}
.fl_commentavatar{float:left;border:1px solid #eee;margin:0 5px 0 0;}
.fl_commentname{display:block;margin-left:80px;text-transform:uppercase;margin-bottom:5px;font-size:10px;}
.fl_commentmessage{display:block;margin-left:80px;}
.fl_gtname{display:block;text-transform:uppercase;margin-bottom:5px;font-size:8pt;}
.fl_gtmessage{display:block;}
.fl_blogpost1, .fl_blogpost2{border-bottom:1px solid #eee;padding-bottom:20px;margin-bottom:20px;}
.fl_postinfo{text-transform:uppercase;margin-bottom:5px;font-size:10px;}
.fl_blogfooter{clear:both;}
.fl_comment1{display:block;padding:5px;margin-top:5px;}
.fl_comment2{display:block;padding:5px;background-color:#eee;margin-top:5px;}
.fl_commclear{display:block;clear:both;}
#fl_commsbox, #fl_tracksbox{clear:both;padding-top:15px;}
.fl_bigpic{border:1px solid #eee;}
.fl_bigcaption{margin-top:10px;}
.fl_gallpreview1{margin-bottom:10px;padding:5px;clear:both;}
.fl_gallpreview2{margin-bottom:10px;background-color:#eee;padding:5px;clear:both;}
.fl_gallpreview1 img, .fl_gallpreview2 img{float:left;border:1px solid #eee;}
.fl_galllink, .fl_galltext{display:block;margin-left:110px;}
.fl_mailform textarea{height:200px;}
.fl_rsslinks{padding-top:10px;clear:both;text-align:right;}
.fl_rsslinks a{text-transform:uppercase;font-size:8pt;text-decoration:none;margin-left:10px;}
.fl_rsslinks:empty{display:none;}
.fl_rating{float:right;text-align:right;}
#msgwrap{position:fixed;top:150px;left:50%;text-align:center;z-index:99;pointer-events:none;}
#msgbar{position:relative;color:#fff;border-width:3px;border-style:solid;padding:15px;font-size:28px;line-height:40px;width:300px;left:-168px;cursor:default;display: block; opacity: 0; transition: opacity 1s; pointer-events: none; }
#msgbar a{color:#fff;}
#msgbar.messageshown { opacity: 0.9; pointer-events: auto; }
#msgbar.messagehide { transition: none; pointer-events: none; opacity: 0; }
input, textarea{padding:10px;background-color:#fff;font-size:12px;}
textarea{height:150px;}
.fl_later{float:left;}
.fl_earlier{float:right;}
.flmsg_alert{background-color:#4ad;border-color:#079;}
.flmsg_error{background-color:#900;border-color:#600;}
.flmsg_success{background-color:#096;border-color:#066;}
.flmsg_generic{background-color:#666;border-color:#999;}
#fl_gallwrap{position:fixed;top:0;left:0;margin:0;padding:0;width:100%;height:100%;display:block;font-size:12px;line-height:20px;color:#333;text-align:center;z-index: 99; opacity: 0; pointer-events: none; transition: opacity 0.5s; }
#fl_gallwrap.fl_gallwrapshown { opacity: 1; pointer-events: auto; }
#fl_gallcover{position:fixed;width:100%;height:100%;top:0;left:0;margin:0;padding:0;background-color:#000;opacity:0.8;}
#fl_gallbox{position:relative;top:5%;margin:0 auto;background: #fff url('../gfx/fl_loading.svg') no-repeat center/32px auto;padding:10px;display:inline-block;min-width:32px;min-height:32px}
.gallhidden { display: none!important; }
#fl_gallpicwrap { overflow: hidden; transition: all 0.5s ease-in-out; max-width: 64px; max-height: 64px; width: 90vw; height: 90vh; }
#fl_gallpic{display:block;margin:0 auto;transition: opacity 0.5s; max-width: 100%; }
#fl_gallpic.galltransitionfast { transition: 0.2s all; }
#fl_gallpic.fl_gallpichidden { opacity: 0; }
#fl_gallbelowpic{clear:both;display:block;margin:0 -10px;overflow:hidden;position: relative; z-index: 51; transition: all 0.5s; opacity: 0; max-height: 0; }
#fl_gallbelowpic.fl_gallbelowpicshown { opacity: 1; max-height: 500px; }
#fl_gallwrap a{color:#666;text-decoration:none;}
#fl_gallwrap a:hover{color:#444;}
#fl_gallprevnext{background:url('../scripting/blank.gif');position:relative;}
#fl_gallprev, #fl_gallnext { position: absolute; top: 0; bottom: 0; width: 50%; display: none; z-index: 50; }
#fl_gallprev { left: 0; text-align: left; }
#fl_gallnext { right: 0; text-align: right; }
#fl_gallclose, #fl_gallslide{clear:right;float:right;}
#fl_gallclose { margin: 10px 10px 0 0; }
#fl_gallslide { margin-right: 10px; }
a#fl_gallprev:hover, a#fl_gallnext:hover, a#fl_gallclose:hover{border-width:0;}
#fl_gallprev img, #fl_gallnext img{visibility:hidden;padding-top:50px;}
#fl_gallprev:hover img, #fl_gallnext:hover img{visibility:visible;}
#fl_gallcaption { text-align: left; padding: 10px 10px 0; max-width: calc(100% - 120px); }
#fl_loading { display: none; position: fixed; top: 10px; right: 10px; background: #fff; padding: 3px; border: 1px solid #ccc; width: 32px; height: 32px; z-index: 150; }

#fl_tracksbox, .fl_rsslinks, .fl_rsslinks .rsscomments { display: none; }


:root {
	--sh-text: #231f20;
	--sh-midgrey: #393637;
	--sh-yellow: #fec126;
	--sh-green: #158980;
	--sh-red: #f1582c;
	--sh-pink: #f38dab;
	--sh-neutral: #f8f5ee;
}


html, body { background: #fff; color: var(--sh-text); font: 20px/24px brandon-grotesque, sans-serif; }
p { margin: 25px 0; }
ul { margin: 25px; }
ol { margin: 25px; }
a { color: var(--sh-green); }
a:hover { text-decoration: none; color: var(--sh-yellow); }
b, strong { font-weight: 500; }
img { max-width: 100%; height: auto!important; }
#cookiebar { font-size: 16px; }

h1, h2, h3, h4, h5 { margin: 25px 0; font-weight: 900; }
h1 { font-size: 56px; line-height: 56px; margin: 0; }
h2 { font-size: 36px; line-height: 36px; }
h3 { font-size: 32px; line-height: 32px; }
h4 { font-size: 28px; line-height: 28px; }
h5 { font-size: 24px; line-height: 24px; }
h1 b, h1 strong, h2 b, h2 strong, h3 b, h3 strong, h4 b, h4 strong, h5 b, h5 strong { font-weight: inherit; }
h1 em, h1 i { font-weight: 400; font-style: normal; }
.textlabel { position: absolute; margin-left: -9999px; }
h1:empty { display: none; }

.skipto a { position: absolute; margin-left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; color: var(--sh-text)!important; padding: 10px; background: var(--sh-yellow); }
.skipto a:focus { margin-left: 0; width: auto; height: auto; opacity: 1; z-index: 50; }

.wrapper, .fl_menu { max-width: 1100px; margin: 0 auto; padding: 0 25px; position: relative; }

.topbar { position: sticky; top: 0; z-index: 40; }
#leavesite { background: var(--sh-red); color: #fff; text-decoration: none; padding: 0 15px; position: absolute; right: 25px; font-size: 18px; line-height: 40px; border-radius: 0 0 5px 5px; font-weight: 500; }
#leavesite:hover { background: #b42222; }

header { padding: 25px 0 0; position: relative; }
.logo { width: 480px; display: block; }
.logo img { display: block; }
header:after { position: absolute; bottom: 0; height: 30px; background: url('../gfx/bg-yellow@2x.png') repeat-x top center / auto 33px; left: 0; right: 0; content: ''; }
#menubutton { display: none; }

#menu { background: var(--sh-yellow); margin-top: -5px; padding-bottom: 5px; }
.fl_menu li, .fl_menu a { display: inline-block; position: relative; }
.fl_menu a { font-weight: 700; font-size: 18px; line-height: 40px; text-decoration: none; color: var(--sh-text); }
.fl_menu a:hover { opacity: 0.75; }
.fl_menu>li { margin-right: 25px; }
#menu_b_sh-case-studies_1, #menu_b_sh-activities_1 { display: none; }
#menu_c_search { position: absolute; right: 25px; margin: 0; }
#menu_c_search a { text-indent: -9999px; width: 20px; background: url('../gfx/magnify.svg') no-repeat center / contain; }

.fl_menu ul { position: absolute; background: var(--sh-yellow); margin: 0; z-index: 20; top: 40px; max-height: 0; left: 0; width: 200px; overflow: hidden; transition: max-height 0.25s; }
.fl_menu ul li { background: rgba(0,0,0,0.1); }
.fl_menu ul li, .fl_menu ul a { display: block; margin: 0; padding: 0; }
.fl_menu ul a { font-size: 16px; line-height: 22px; padding: 5px 10px; }
.fl_menu>li.menusize ul { max-height: none!important; transition: none!important; opacity:0!important; }

.fl_menu li:hover ul { max-height: 500px; }
.fl_menu ul ul { display: none!important; }

main { min-height: calc(100vh - 528px); box-sizing: border-box; padding-bottom: 25px; }
main>.wrapper { position: static; }

.pagetop { background: var(--sh-yellow); padding: 75px 0; border-top: 1px solid rgba(0,0,0,0.1); margin-bottom: 25px; }
.breadcrumbs { font-size: 14px; line-height: 20px; font-weight: 700; margin-bottom: 10px; opacity: 0.75; }
.breadcrumbs a { color: inherit; }
.breadcrumbs a:hover { opacity: 0.75; }
.breadcrumbs .divider:before { content: '/'; margin: 0 10px; }
.breadcrumbs a:last-of-type { display: none; }
.page_front .pagetop h1, .page_front .pagetop p { margin-right: 375px; }
.pagetop.ptaditi { background: linear-gradient(25deg, #932826, #d2964a); color: #fff; }
.pagetop.ptfearfree { background: linear-gradient(25deg, #794897, #a78bc0); color: #fff; }
.pagetop.ptlunar { background: linear-gradient(25deg, #55479d, #beb7db); color: #fff; }

.sublogo { display: block; width: 150px; height: 150px; background-position: center; background-size: contain; background-repeat: no-repeat; margin: 25px 0; }
.sublogo-safeharbour { background-image: url('../gfx/logo-safeharbour-transparent@2x.png'); }
.sublogo-aditi { background-image: url('../gfx/logo-aditi@2x.png'); }
.sublogo-fearfree { background-image: url('../gfx/logo-fearfree@2x.png'); }
.sublogo-lunar { background-image: url('../gfx/logo-lunar@2x.png'); }
.lhscol .sublogo-fearfree { background-position: left; }

.pagetop p { font-size: 32px; line-height: 34px; font-weight: 700; margin: 10px 0 0; text-wrap: balance; }

.lhscol { display: inline-block; vertical-align: top; width: 225px; margin-right: 25px; position: sticky; top: 0; max-height: 100vh; overflow: auto; -webkit-overflow-scrolling: touch; padding-left: 10px; margin-left: -10px; }
.rhscol { display: inline-block; vertical-align: top; width: calc(100% - 250px); }

blockquote { background: var(--sh-yellow); margin: 25px; padding: 25px; }
blockquote>*:first-child { margin-top: 0; }
blockquote>*:last-child { margin-bottom: 0; }
blockquote a { color: inherit; }
blockquote a:hover { color: inherit; opacity: 0.75; }
blockquote b, blockquote strong { font-weight: 700; }
.cms_imgleft, .cms_imgright { max-width: 350px; }
.cms_imgleft { margin: 3px 15px 15px 0; }
.cms_imgright { margin: 3px 0 15px 15px; }
main h2, main h3, main h4, main h5 { color: var(--sh-green); }
.rhscol ul { list-style: none; }
.rhscol li { margin-top: 3px; }
.rhscol ul li:before { content: '\2022'; position: absolute; margin-left: -20px; color: var(--sh-pink); font-size: 1.1em; margin-top: -2px; }

.lhscol ul { list-style: none; margin: 25px 0; font-size: 16px; line-height: 20px; }
.lhscol li { margin: 15px 0; }
.lhscol a { color: inherit; }
.lhscol a:hover { color: inherit; opacity: 0.75; }
.lhscol li.current>a { opacity: 0.5!important; cursor: default; text-decoration: none; }
.lhscol ul ul { margin: 25px; }

.rhscol>div:first-child>div.subpages:first-child { margin-top: 25px; }
.subpages { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 25px; }
.subpages a { display: block; padding: 25px 15px; background: var(--sh-yellow); color: var(--sh-text); text-align: center; align-content: center; text-decoration: none; text-wrap: balance; border-radius: 5px; }
.subpages a h4 { color: inherit; font-weight: 700; }
.subpages a:hover { transform: scale3d(1.02,1.02,1); background: var(--sh-pink); }
.subpages a h4 .kicker { display: block; font-weight: 700; margin-bottom: 5px; }
.subpages a h4:has(.kicker) { font-weight: 400; }

.page_front .lhscol { display: none; }
.page_front .rhscol { width: 100%; }
.page_front .pagetop { margin-bottom: 0; }
.page_front main { padding-bottom: 0; }
.fronthighlight { background: var(--sh-red); color: #fff; margin: 25px 0; padding: 25px; }
.fronthighlight a { color: inherit; }
.fronthighlight>*:first-child { margin-top: 0; }
.fronthighlight>*:last-child { margin-bottom: 0; }
.fronttop { padding: 25px 375px 25px 0; position: relative; }
.frontside { position: absolute; top: 0; right: 0; bottom: 0; width: 150px; background: url('../gfx/waves-side.svg') no-repeat top right / 100px auto; margin-right: calc((-100vw + 1100px) / 2); pointer-events: none; }
#frontsupportside { top: -50px; bottom: -50px; }

.imgfadewrap { position: absolute; top: 50px; bottom: 50px; left: 0; right: 0; pointer-events: none; }
#imgfade { position: sticky; top: 65px; right: 25px; width: 350px; height: 500px; background: var(--sh-neutral); float: right; margin-top: -258px; }
#imgfade img { display: none; width: 100%; height: 100%!important; position: absolute; top: 0; left: 0; z-index: 5; object-fit: cover; object-position: center; transition: opacity 2s; }
#imgfade img:first-child { display: block; }
#imgfade.hasjs img { display: block; opacity: 0; }
#imgfade.hasjs img.curimg { opacity: 1; }

.frontservices { background: var(--sh-neutral); padding: 25px 0; border-image: conic-gradient(var(--sh-neutral) 0 0) fill 0//0 100vw; position: relative; }
.frontservices>* { position: relative; }
.frontservices h2 { margin-top: 0; }
.frontservices:before { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: url('../gfx/wave-pink.svg') no-repeat bottom / auto 75%; margin: 0 calc((-100vw + 1100px) / 2); content: ''; opacity: 0.1; }

.servicesgrid, .newsitems { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.servicesgrid a, .newsitems a { display: block; text-decoration: none; color: inherit; font-size: 16px; line-height: 20px; }
.servicesgrid a>*:last-child, .newsitems a>*:last-child { margin-bottom: 0; }
.servicesgrid a div.servicelogo, .newsitems a .newsimagewrap { width: 100%; padding-bottom: 100%; background: #fff; position: relative; }
.servicesgrid a div.servicelogo { background: transparent; padding-bottom: 50%; }
.servicesgrid a div.servicelogo span, .newsitems a .newsimage { position: absolute; top: 0; bottom: 0; left: 0; right: 0; background-size: contain; background-position: center; background-repeat: no-repeat; transition: all 0.5s; }
.newsitems a .newsimage { background-size: cover; background-color: #fff; }
.newsitems a .newsimage img { width: 100%; height: 100%!important; object-fit: cover; object-position: center; }
.newsitems a .newsimagewrap.genericimage .newsimage, .newsitems a .newsimagewrap .newsimage.newsimagegeneric { background-image: url('../gfx/waves.svg'); }
.page_content .newsitems { margin: 25px 0; }

.fl_blogpost1 { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.fl_blogentrytitle, .fl_pagelinks, .fl_blogfooter { display: none; }
.fl_postinfo { font-size: 14px; margin-top: -5px; }

.servicesgrid a:hover div.servicelogo span, .newsitems a:hover .newsimage { transform: scale3d(0.95, 0.95, 1); }
.servicesgrid a p, .newsitems a p { transition: all 0.25s; margin: 15px 0; }
.newsitems a h4 { color: inherit; font-size: 20px; line-height: 22px; font-weight:700; margin: 15px 0; text-decoration: underline; }
.newsitems a:hover h4 { text-decoration: none; }

.safetynarrow { display: none; }

.frontsupport { padding-left: calc(50% + 12.5px); position: relative; margin: 50px 0; }
.frontsupport img { position: absolute; top: 0; left: 0; max-width: calc(50% - 12.5px); }
.frontsupport blockquote { margin-left: 0; margin-right: 0; }

.page_content .newsitems { grid-template-columns: repeat(3, 1fr); }
.page_content .newsitems a .newsimage { top: 0; bottom: 0; left: 0; right: 0; }

.frontevents { background: var(--sh-neutral); margin-top: 25px; padding: 25px 0; border-image: conic-gradient(var(--sh-neutral) 0 0) fill 0//0 100vw; position: relative; }
.frontevents>* { position: relative; }
.frontevents:before { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: url('../gfx/wave-green.svg') no-repeat bottom / auto 75%; margin: 0 calc((-100vw + 1100px) / 2); content: ''; opacity: 0.1; }

.frontevents h2 { margin-top: 0; }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; font-size: 16px; line-height: 20px; }
.grid .griditem { padding-left: 120px; min-height: 100px; position: relative; }
.grid .griditem p { margin-top: 0; }
.grid .griditem>*:last-child { margin-bottom: 0; }
.grid .griditem img { position: absolute; top: 0; left: 0; width: 100px; }
.grid .griditem p:has(img) { margin-bottom: 0; }

.map { width: 100%; position: relative; height: 400px; max-height: 60vh; }
.map iframe { position: absolute; top: 0; bottom: 0; left: 0; right: 0; width: 100%; height: 100%; }

summary { background: var(--sh-green); position: relative; list-style: none; cursor: pointer; padding: 10px 30px 10px 10px; transition: all 0.25s; z-index: 2; color: #fff; font-weight: 500; }
summary::-webkit-details-marker { display: none; }
summary:after { position: absolute; top: 50%; margin-top: -10px; line-height: 20px; right: 10px; content: '\25BC'; font-size: 0.5em; transition: transform 0.25s; transform: rotate(-90deg); }
summary:hover { color: var(--sh-yellow); }
summary:hover:after { transform: rotate(-90deg) scale3d(1.25,1.25,1); }

details { margin: 5px 0; }
details[open] summary:after { transform: rotate(0); }
details[open] summary:hover:after { transform: rotate(0) scale3d(1.25,1.25,1); }

.detailswrap { opacity: 1; padding: 20px; background: var(--sh-neutral); position: relative; z-index: 1; animation: none; }
.detailswrap > *:first-child { margin-top: 0; }
.detailswrap > *:last-child { margin-bottom: 0; }

details {

  @media (prefers-reduced-motion: no-preference) {
    interpolate-size: allow-keywords;
  }

  &::details-content {
    block-size: 0;
    overflow-y: clip;
	transition: content-visibility 0.5s allow-discrete, block-size 0.5s;
  }

  &[open]::details-content {
    block-size: auto;
  }
}

@supports not (interpolate-size: allow-keywords) {
	details[open] .detailswrap { animation: 0.5s linear details-in; animation-fill-mode: forwards; }
}

@keyframes details-in {
  from {
    transform: translate3d(0,-20px,0);
    opacity: 0;
  }
  to {
    transform: translate3d(0,0,0);
    opacity: 1;
  }
}

footer { background: var(--sh-midgrey); color: #fff; font-size: 16px; line-height: 20px; padding: 40px 0 0; }
.footerleft, .footerright { display: inline-block; vertical-align: top; width: 50%; box-sizing: border-box; padding-bottom: 40px; }
.footerleft { padding-right: 12.5px; }
.footerright { padding-left: 12.5px; text-align: right; }
footer p { margin: 10px 0; }
.footerfinal { background: var(--sh-text); text-align: center; padding: 10px 25px; }
footer a, footer a:hover { color: inherit; }
footer a:hover { opacity: 0.75; }

.socmed { margin: -5px 0 0; }
.socmed a { display: inline-block; width: 30px; height: 30px; background: #fff; border-radius: 2px; margin: 5px 5px 0 0; background-size: auto 50%; background-repeat: no-repeat; background-position: center; }
.socmed a:last-child { margin-right: 0; }
.socmed a.fb { background-image: url('../gfx/icon-fb.svg'); }
.socmed a.ig { background-image: url('../gfx/icon-ig.svg'); }
.socmed a.li { background-image: url('../gfx/icon-li.svg'); }
.socmed a.bs { background-image: url('../gfx/icon-bs.svg'); }

main label { display: block; font-size: 16px; line-height: 20px; margin: 10px 0 5px; font-weight: 700; }
input, textarea { -webkit-appearance: none; border-radius: 0; width: 100%; box-sizing: border-box; }
input, textarea, .fl_mailform textarea, select, button { font: 14px brandon-grotesque, sans-serif; color: var(--sh-midgrey); border: 0; background: var(--sh-neutral); width: 100%; margin-right: 5px; display: block; padding: 10px; border-radius: 2px; box-sizing: border-box; height: 40px; position: relative; }
textarea, .fl_mailform textarea { height: 250px; }
input.checkbox, input[type=checkbox] { border: 0; width: auto; display: inline; background: transparent; -webkit-appearance: checkbox; height: auto; }
input:hover, textarea:hover, select:hover { background-color: var(--sh-neutral); }
input:focus, textarea:focus, select:focus { background-color: var(--sh-neutral); color: var(--sh-text); }

a.button { text-decoration: none; text-align: center; display: inline-block; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; max-width: 100%; box-sizing: border-box; }
input.emailsub, input.commentsub, input.formsub, .button, button { display: block; width: auto; font-size: 20px; line-height: 30px; font-weight: 700; height: 40px; margin: 0; padding: 5px 20px; border: 0; background: var(--sh-yellow); color: var(--sh-text)!important; border-radius: 5px; cursor: pointer; text-decoration: none; box-sizing: border-box; }
input.emailsub:hover, input.commentsub:hover, input.formsub:hover, .button:hover, button:hover { transform: scale3d(1.05,1.05,1); opacity: 1; background: var(--sh-pink); }
input.emailsub { margin-top: 15px; }
.fl_mailform { margin-bottom: 25px; }
.buttonred, .frontbox p a[href='/contact/'] { background: var(--sh-red); color: #fff!important; }

.reqd, .err { font-weight: 500; color: #c00; }
.reqd { margin: 0 5px; }
a, button, input[type=submit] { transition: all 0.25s; }

#searchscreen { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(255,255,255,0.8); text-align: center; opacity: 0; pointer-events: none; transition: opacity 1s; }
.searchshown #searchscreen { opacity: 1; pointer-events: auto; }
#searchclose { position: fixed; top: 30px; right: 30px; width: 40px; height: 40px; background: var(--sh-yellow) url('../gfx/search-close.svg') no-repeat center; background-size: 18px auto; cursor: pointer; border-radius: 5px; }
#searchscreen form { position: absolute; top: 50%; left: 0; right: 0; height: 60px; margin: -30px 160px 0 100px; }
#searchscreen input { -webkit-appearance: none; border-radius: 0; }
#searchscreen input.st { position: absolute; width: 100%; left: 0; border: 0; box-sizing: border-box; height: 60px; padding: 0 20px; font-size: 20px; border-radius: 10px 0 0 10px; }
#searchscreen input.sg { position: absolute; width: 60px; height: 60px; box-sizing: border-box; right: 0; margin-right: -60px; background: var(--sh-yellow) url('../gfx/magnify.svg') no-repeat center / auto 40%!important; cursor: pointer; border: 0; border-radius: 0 10px 10px 0; }
#searchscreen input.sg:hover, #searchclose:hover { transform: scale3d(1.05,1.05,1); }


.lastupdateboxes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.searchcats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.searchcats input { display: inline-block; width: 30px; height: 20px; vertical-align: bottom; -webkit-appearance: checkbox; }
.searchcats label span { line-height: 40px; }
#searchform { margin-bottom: 25px; }
#searchform input.formsub { margin-top: 15px; }

.result { margin-top: 20px; padding-left: 90px; position: relative; }
.result:last-of-type { margin-bottom: 25px; }
.result a.resulttitle { font-size: 1.4em; line-height: 1.4em; display: inline-block; margin-bottom: 5px; word-wrap: break-word; font-weight: 700; }
.result img { position: absolute; top: 3px; left: 0; width: 80px; height: 80px!important; object-fit: contain; object-position: center; object-repeat: no-repeat; outline: 1px solid var(--sh-green); transition: outline 0.5s; }
.result a:hover img { outline-color: var(--sh-yellow); }
.resultlu, .resultcat, .resultscore, .resulturl { text-align: right; font-size: 0.8em; line-height: 1.4em; color: #666; }
.resulturl { word-wrap: break-word; }
.resultlu:before { content: 'Last update: '; opacity: 0.8; }
.resultcat:before { content: 'Category: '; opacity: 0.8; }
.resultscore:before { content: 'Score: '; opacity: 0.8; }
.resulturl:before { content: 'URL:\00a0'; opacity: 0.8; }
.pages { margin: 20px 0; line-height: 40px; }
.pages:before { content: 'Pages: '; }
.pages span, .pages a { display: inline-block; height: 40px; box-sizing: border-box; line-height: 38px; border: 1px solid #ccc; width: 40px; text-align: center; font-size: 0.8em; margin-left: 5px; font-weight: 500; text-decoration: none; }
.pages span { font-style: italic; cursor: default; }
.pages a:hover { background: #f5ba49; color: #000; opacity: 1; }
#resultswrap { position: relative; }
#resultswrap #results { position: absolute; top: -150px; height: 150px; width: 10px; pointer-events: none;}


form#searchform { position: relative; }
button#advancedtoggle { position: absolute; bottom: 0; right: 0; cursor: pointer; background: none; font: 600 14px brandon-grotesque, sans-serif; width: auto; padding: 0; }
button#advancedtoggle:hover { opacity: 0.5; transform: none!important; }
button#advancedtoggle:before { content: 'Show advanced options'; }
#search_advanced { display: none; }
.advancedshow #search_advanced { display: block; }
.advancedshow button#advancedtoggle:before { content: 'Hide advanced options'; }

@media (max-width: 599px) {
	.searchcats { grid-template-columns: 1fr; }
}
@media (max-width: 399px) {
	.result { padding-left: 70px; }
	.result img { width: 60px; height: 60px!important; }
	.lastupdateboxes { grid-template-columns: 1fr; }
}
@media (max-width: 1329px) {
	#frontsupportside { display: none; }
}
@media (max-width: 1149px) {
	html, body { min-width: 320px; -webkit-text-size-adjust: none; }
	.frontservices:before, .frontevents:before { margin: 0 -25px; }
	.frontside { margin-right: -25px; }
}

@media (max-width: 979px) {
	.cms_imgleft, .cms_imgright { max-width: 300px; }
	.page_front .pagetop h1, .page_front .pagetop p { margin-right: 325px; }
	#imgfade { width: 300px; height: 430px; }
	.fronttop { padding-right: 325px; }

}
@media (max-width: 899px) {
	.lhscol { width: 150px; }
	.rhscol { width: calc(100% - 175px); }
	.cms_imgleft, .cms_imgright { max-width: 250px; }
	.page_front .pagetop h1, .page_front .pagetop p { margin-right: 275px; }
	#imgfade { width: 250px; height: 355px; }
	.fronttop { padding-right: 275px; }
	.grid .griditem { padding-left: 100px; min-height: 80px; }
	.grid .griditem img { width: 80px; }
}
@media (max-width: 859px) {
	#leavesite { right: 0; left: 0; text-align: center; border-radius: 0; }
	header { padding-top: 50px; }
	.lhscol { top: 40px; max-height: calc(100vh - 40px); }
	.page_front .newsitems, .page_front .servicesgrid, .subpages { grid-template-columns: repeat(2, 1fr); }
	.page_front .servicesgrid a div.servicelogo, .page_front .newsitems a .newsimagewrap { width: 250px; padding-bottom: 250px; margin-left: auto; margin-right: auto; }
	.page_front .servicesgrid a div.servicelogo { padding-bottom: 125px; }
	
}
@media (max-width: 767px) {
	.pagetop { border-top: 0; }
	.cms_imgleft, .cms_imgright { max-width: 200px; }
	main { min-height: none; }
	.page_front .pagetop h1 { margin-right: 0; }
	
	.fronttop { padding-right: 85px; }
	.page_front .pagetop p { margin-right: 225px; }
	.imgfadewrap { position: static; float: right; margin: 25px -75px 25px 25px; }
	#imgfade { margin-top: -200px; position: relative; top: 0; right: 0; width: 200px; height: 285px; }

	#menu { position: fixed; top: 0; bottom: 0; left: 0; right: 0; background: #fff; z-index: 40; display: flex; opacity: 0; transform: translate3d(0, -100%, 0); transition: all 0.5s ease-out; overflow: auto; -webkit-overflow-scrolling: touch; }
	.menushown #menu { opacity: 1; transform: translate3d(0,0,0); }
	.fl_menu { align-self: center; text-align: center; width: 100%; padding: 0 0 25px; }
	.fl_menu li { display: block!important; background: transparent!important; }
	.fl_menu>li { margin: 0; }
	.fl_menu a { line-height: 50px; margin: 0; }
	.fl_menu ul, .fl_menu>li:after { display: none!important; background: transparent; }
	.fl_menu li.submenushown ul { display: block!important; max-height: none!important; position: static; margin: 0 auto; text-align: center; }
	.fl_menu li.hassubmenu>a:after { display: inline-block; content: '\25bc'; transition: opacity 0.25s; margin: -2px 0 0 5px; font-size: 0.6em; }
	.fl_menu li.hassubmenu.submenushown>a:after { opacity: 0; }
	.fl_menu li.submenushown ul ul { display: none!important; }

	#menu_i_ a { text-indent: -9999px; background: url('../gfx/logo-safeharbour@2x.png') no-repeat top / contain; width: 250px; height: 54px; margin-bottom: 20px; }
	#menubutton { display: block; position: fixed; top: 68px; right: 20px; width: 40px; height: 40px; background: rgba(255,255,255,0.9); backdrop-filter: blur(5px); border-radius: 2px; z-index: 41; pointer-events: auto; padding: 0; }
	#menubutton .rowbar { position: absolute; top: 19px; left: 11px; width: 18px; height: 3px; background: var(--sh-red); border-radius: 2px; transition: all 0.5s; }
	#menubutton .rowbar:first-child { top: 13px; }
	#menubutton .rowbar:last-child { top: 25px; }

	.menushown #menubutton .rowbar:first-child, .menushown #menubutton .rowbar:last-child { opacity: 0; }
	.menushown #menubutton .rowbar:nth-child(2) { transform: rotate(-45deg); }
	.menushown #menubutton .rowbar:nth-child(3) { transform: rotate(45deg); }
	
	#menu_c_search { position: static; right: auto; }

}
@media (max-width: 699px) {
	main>.wrapper { display: flex; flex-direction: column-reverse; }
	.lhscol, .rhscol { display: block; width: auto; }
	.lhscol:empty, main>.wrapper:has(.subpages) .lhscol { display: none; }
	.lhscol { border-top: 1px solid var(--sh-neutral); position: static; max-height: none; }
	.frontsupport img { position: static; max-width: 100%; float: none; margin: 25px 0; display: block; }
	.frontsupport { padding-left: 0; }
}
@media (max-width: 649px) {
	.logo { width: 240px; }
	header:after { background-size: auto 16px; background-position: bottom; }
	.footerleft, .footerright { display: block; width: auto; padding: 0; text-align: left; }
	.footerright { padding-bottom: 40px; }
	#leavesite { font-size: 16px; line-height: 35px; }
	header { padding-top: 45px; }
	.pagetop { padding: 15px 0 25px; }
	body { font-size: 16px; line-height: 20px; }
	.breadcrumbs { font-size: 12px; line-height: 18px; }
	h1 { font-size: 36px; line-height: 36px; }
	h2 { font-size: 28px; line-height: 28px; }
	h3 { font-size: 24px; line-height: 24px; }
	h4, .pagetop p { font-size: 20px; line-height: 20px; }
	h5, .newsitems a h4 { font-size: 18px; line-height: 18px; }
	.grid, .subpages { gap: 15px; }
	.grid .griditem { padding-left: 75px; min-height: 60px; }
	.grid .griditem img { width: 60px; }
	p, ul, ol { margin-top: 15px; margin-bottom: 15px; }
	blockquote { padding: 15px; }

	#imgfade { margin-top: -130px; }
	.servicesgrid, .newsitems { gap: 15px; }

	#menubutton { top: 40px; }
	
}
@media (max-width: 569px) {
	.page_front .servicesgrid a div.servicelogo, .page_front .newsitems a .newsimagewrap { width: 100%; padding-bottom: 100%; }
	.page_front .servicesgrid a div.servicelogo { padding-bottom: 50%; }
	#imgfade { margin-top: -130px; width: 150px; height: 210px; }
	.page_front .pagetop p { margin-right: 175px; }
	.safetynarrow { display: inline; }
	.safetywide { display: none; }
}
@media (max-width: 529px) {
	.cms_imgleft, .cms_imgright { margin: 25px auto; width: auto; max-width: 250px; float: none; display: block; }
	.pagetop { margin-bottom: 0; }

	.page_content .newsitems { grid-template-columns: repeat(2, 1fr); }

}
@media (max-width: 479px) {
	.wrapper, .footerfinal { padding-left: 15px; padding-right: 15px; }
	.grid { grid-template-columns: 1fr; }
	.frontservices:before, .frontevents:before { margin: 0 -15px; }
	.frontside { margin-right: -15px; }
	.fronttop { padding-top: 1px; padding-bottom: 10px; }
	.page_front .pagetop h1 { text-wrap: balance; }
}
@media (max-width: 414px) {
	#imgfade { margin-top: -150px; }
}
@media (max-width: 379px) {
	#imgfade { margin-top: -170px; }
}
@media (max-width: 374px) {
	#escavail { display: none!important; }
}
@media (max-width: 329px) {
	#cf-turnstile { transform: scale3d(0.95,0.95,1); transform-origin: top left; }
}