body{margin:0;padding:0;}
img{border:0;}
.fl_menu{list-style:none;margin:0;padding:0;}
.cms_imgleft{margin:3px 5px 5px 0;float:left;border:1px solid #000;}
.cms_imgright{margin:3px 0 5px 5px;float:right;border:1px solid #000;}
h1{margin:0;font-size:28pt;line-height:30pt;}
h2{font-size:20pt;line-height:24pt;}
h2, h3{margin:0 0 5px 0;}
.clear{clear:both;}
.gallthumbnail{float:left;border:2px solid #666;margin-right:5px;margin-bottom:5px;}
.fl_blogpostavatar{float:right;border:2px solid #666;margin:0 0 5px 5px;}
.fl_commentavatar{float:left;border:2px solid #666;margin:0 5px 0 0;}
.fl_commentname{display:block;margin-left:80px;text-transform:uppercase;margin-bottom:5px;font-size:8pt;}
.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 dashed #f8422d;padding-bottom:5px;margin-bottom:5px;}
.fl_postinfo{text-transform:uppercase;margin-bottom:5px;font-size:8pt;}
.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:2px solid #666;}
.fl_bigcaption{margin-top:10px;}
.fl_rssentry{clear:both;}
.fl_rssimg{float:right;display:block;border:2px solid #666;margin:0 0 5px 5px;}
.fl_rsstitle{font-size:18pt;line-height:24pt;font-weight:bold;}
.fl_rssby{text-transform:uppercase;margin-bottom:5px;font-size:8pt;}
.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:2px solid #666;}
.fl_galllink, .fl_galltext{display:block;margin-left:110px;}
td.fl_label{display:block;width:100px;}
.fl_mailform textarea{width:400px;height:200px;}
.fl_votebar{background-color:#fff;height:10px;}
input.fl_regform{width:100px;}
.fl_postingform{display:none;}
.fl_postingform textarea{height:100px;}
.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;}
#msgbar{position:relative;color:#fff;border-width:3px;border-style:solid;padding:15px;font-size:28px;line-height:40px;width:300px;left:-168px;display:none;cursor:default;}
#msgbar a{color:#fff;}
#topbar{display:none;position:fixed;z-index:99;background-color:#4ad;color:#fff;top:0;left:0;width:100%;font-size:12px;border-bottom:3px solid #079;text-align:center;}
#topbar a{color:#fff;}
#topcont{padding:10px;}
input, textarea{border:1px solid;padding:3px;background-color:#fff;border-color:#000;font-family:Verdana, Arial, Helvetica, sans-serif;font-size:12px;}
textarea{width:300px;height:150px;}
input:hover, input:focus, textarea:hover, textarea:focus{background-color:#eee;}
.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_commsbox{margin:5px;padding:5px;border:1px dotted #333;background-color:#eee;}
#fl_gallwrap{position:fixed;top:0;left:0;margin:0;padding:0;width:100%;height:100%;display:none;font:11px Arial, Helvetica, sans-serif;line-height:20px;color:#333;text-align:left;z-index:99;}
#fl_gallcover{position:fixed;width:100%;height:100%;top:0;left:0;margin:0;padding:0;background-color:#000;opacity:0.8;filter:alpha(opacity=80);}
#fl_gallbox{position:relative;top:5%;margin:0 auto;background-color:#fff;padding:10px;width:100px;height:100px;}
#fl_gallpic{display:block;margin:0 auto;position:relative;top:35%;}
#fl_gallbelowpic{clear:both;display:none;padding:5px 10px 10px;margin:0 -10px;background-color:#fff;overflow:hidden;}
#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{position:absolute;z-index:50;}
#fl_gallnext{text-align:right;position:absolute;z-index:50;right:0;}
#fl_gallclose, #fl_gallslide{clear:right;float:right;}
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;}

/* nunito-regular - latin */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('fonts/nunito-v24-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/nunito-v24-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* nunito-500 - latin */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 500;
  src: local(''),
       url('fonts/nunito-v24-latin-500.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/nunito-v24-latin-500.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* nunito-700 - latin */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  src: local(''),
       url('fonts/nunito-v24-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/nunito-v24-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* nunito-italic - latin */
@font-face {
  font-family: 'Nunito';
  font-style: italic;
  font-weight: 400;
  src: local(''),
       url('fonts/nunito-v24-latin-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/nunito-v24-latin-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* nunito-700italic - latin */
@font-face {
  font-family: 'Nunito';
  font-style: italic;
  font-weight: 700;
  src: local(''),
       url('fonts/nunito-v24-latin-700italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/nunito-v24-latin-700italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

:root {
	--swrc-blue: #00a3ad;
	--swrc-purple: #633c8f;
	--swrc-grey: #ebebeb;
	--swrc-pink: #d4437d;
	--swrc-yellow: #fff890;
}

* { margin: 0; padding: 0; border: 0; }
html, body { min-height: 100%; background: #fff; color: #000; font: 16px/24px Nunito, sans-serif; }
p { margin: 10px 0; }
ul, ol { margin: 10px 20px; }
a { color: var(--swrc-blue); }
a:hover { text-decoration: none; opacity: 0.5; }
img { max-width: 100%; height: auto!important; }
header, nav, main, footer { display: block; }
b, strong { font-weight: 600; }

h1, h2, h3, h4 { margin: 10px 0; color: #fff; font-weight: 700; background: var(--swrc-purple); padding: 10px 20px; }
h1 { font-size: 28px; line-height: 32px; text-align: center; text-transform: uppercase; padding: 20px; margin-bottom: 20px; }
h2 { font-size: 24px; line-height: 32px; }
h3 { font-size: 20px; line-height: 24px; }
h4 { font-size: 20px; line-height: 24px; background: #00a3ad; }
h5 { font-size: 16px; line-height: 20px; margin: 0 0 20px; }
h1 b, h2 b, h3 b, h4 b, h1 strong, h2 strong, h3 strong, h4 strong { font-weight: 700; }
h2, h3, h4 { display: inline-block; }
h2 a, h3 a, h4 a { color: inherit; }
.textlabel { position: absolute; margin-left: -9999px; }
h1:empty { display: none; }

h1 font, h2 font, h3 font, h4 font { color: inherit!important; }

.skipto a { position: absolute; margin-left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; color: #fff!important; padding: 10px; background: #00a3ad; }
.skipto a:focus { margin-left: 0; width: auto; height: auto; }

header { padding: 30px 0 0; background: var(--swrc-grey); position: fixed; top: 40px; z-index: 22; transition: all 0.25s; left: 0; right: 0; transform: all 0.25s; }
.logo { display: block; width: 330px; height: 125px; margin: 0 auto 30px; transition: all 0.25s; }
.logo img { display: block; }
.logo:hover { opacity: 1; }
.scrolled header { padding-top: 15px; }
.scrolled .logo { width: 165px; height: 63px; margin-bottom: 5px; }

.topbar { position: sticky; top: 0; left: 0; right: 0; z-index: 90; height: 40px; background: var(--swrc-blue); padding: 0 20px; line-height: 40px; color: #fff; font-weight: 500; font-size: 14px; }
#leavesite { background: var(--swrc-pink); color: #fff; text-decoration: none; position: absolute; right: 240px; font-size: 16px; line-height: 45px; padding: 0 20px; }
#leavesite:hover { background: #c00; opacity: 1; }
.topbar .topright { position: absolute; top: 0; right: 20px; line-height: 40px; }
#callhelpline { cursor: pointer; display: inline-block; }
#callhelpline:hover { opacity: 0.5; }
.topbar a { color: #fff; }
.topbar .divider { display: inline-block; margin: 0 10px; color: #ccc; font-size: 0.5em; position: relative; top: -2px; }

.wrapper, main { max-width: 860px; padding: 0 20px; position: relative; margin: 0 auto; }

#menu { margin: 0 -8px; list-style: none; position: relative; }
.fl_menu li, .fl_menu a { display: inline-block; position: relative; vertical-align: top; }
.fl_menu a { font-size: 14px; line-height: 40px; font-weight: 500; text-decoration: none; color: var(--swrc-purple); padding: 0 8px; }
.fl_menu li:hover a { opacity: 1; background: var(--swrc-yellow); }

.fl_menu ul { position: absolute; background: var(--swrc-yellow); margin: 0; z-index: 20; top: 40px; max-height: 0; left: 0; width: 170px; overflow: hidden; transition-duration: 0.25s; transition-property: max-height; }
.fl_menu ul li, .fl_menu ul a { display: block; margin: 0; padding: 0; }
.fl_menu ul a { font-size: 12px; line-height: 20px; padding: 5px 8px; }
.fl_menu ul.size { -webkit-transition: none; transition: none; opacity: 0; }
.fl_menu li:hover ul { max-height: 500px; }
.fl_menu ul ul { display: none!important; }
.fl_menu ul a:hover { opacity: 0.5; }

#menu_c_languages, #menu_b_training_1, #menu_b_news { display: none!important; }
#menu_c_search { position: absolute; right: 0; }
#menu_c_search a { width: 30px; height: 40px; background-size: auto 20px; background-repeat: no-repeat; background-position: center; background-image: url('../gfx/icon-search-purple.svg'); display: inline-block; vertical-align: top; }
#menu_c_search span { display: block; text-indent: -9999px; }

.breadcrumbs { margin: 0 -10px; font-size: 14px;}
.breadcrumbs a { display: inline-block; margin: 0 10px;  color: var(--swrc-purple); }
.breadcrumbs .divider { color: #999; font-size: 0.5em; position: relative; top: -2px; }
.breadcrumbs a:last-child { opacity: 0.5; text-decoration: none; cursor: default; }

main { padding: 245px 20px 20px; }
.cms_imgleft { max-width: 300px; border: 0; margin: 3px 10px 10px 0; float: left; }
.cms_imgright { max-width: 300px; border: 0; margin: 3px 0 10px 10px; float: right; }
main li { margin-top: 3px; }
main ul { list-style: none; }
main ul li:before { color: var(--swrc-blue); content: "\2022"; position: absolute; font-size: 14px; line-height: 14px; margin: 4px 0 0 -18px; }
main div[dir=rtl] ul li:before { margin: 4px -18px 0 0; }
blockquote { background: var(--swrc-yellow); margin: 20px; padding: 10px 20px; font-weight: 500; }
blockquote>*:first-child { margin-top: 10px; }
blockquote>div:first-child { margin-top: 0; }
blockquote h2, blockquote h3 { color: var(--swrc-purple); }
blockquote a, blockquote h4, blockquote ul li:before { color: var(--swrc-blue); }
blockquote ul li:before { opacity: 0.75; }
blockquote h2 { background: transparent; padding: 0; font-size: 32px; line-height: 36px; }
iframe { max-width: 100%; }

.frontintro { background: var(--swrc-purple); color: #fff; font-weight: 500; display: block;position: relative; margin-bottom: 10px; }
.frontintro h2 { color: var(--swrc-blue); background-color: transparent; display: block; padding: 0; }
.frontgraphic { width: calc(100% / 3 - 13px); height: 0; padding-bottom: calc(100% / 3 - 13px);  display: inline-block; background: url('../siteimages/illustrations/scales-magnify.jpg') no-repeat center; background-size: cover; vertical-align: middle; }
.fronttext { padding: 20px; display: inline-block; box-sizing: border-box; width: calc(100% / 3 * 2 + 13px); vertical-align: middle; }
.fronttext>*:first-child { margin-top: 0; }
.fronttext>*:last-child { margin-bottom: 0; }

.fronttext form { position: relative; padding-right: 40px; }
.fronttext input.frontsearch { background: var(--swrc-pink); color: #fff; border-radius: 2px 0 0 2px; }
.fronttext input.frontsearchgo { width: 40px; position: absolute; top: 0; right: 0; margin: 0; border-radius: 0 2px 2px 0; background: var(--swrc-pink) url('../gfx/icon-search.svg') no-repeat center; background-size: 20px auto; cursor: pointer; }
.fronttext input.frontsearchgo:hover { background-color: var(--swrc-blue); }
.fronttext input.frontsearch::placeholder { color: #ccc; }
.fronttext input.frontsearch::-ms-input-placeholder { color: #ccc; }

.frontvideo { position: relative; margin: 20px 0 10px; height: 0; padding-bottom: 56.25%; }
.frontvideo iframe { position: absolute; top: 0; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; }

.imageleft { margin-left: 320px; }
.imageleft img { display: block; float: left; max-width: 300px; margin-left: -320px; }

.url { font-size: 0.8em; line-height: 1.4em; text-align: right; }
.page-front h1, .page-front .breadcrumbs { display: none; }

.subpages, #resourcetags { margin: -10px 0 0 -20px; display: flex; text-align: center; flex-flow: row; flex-wrap: wrap; justify-content: center; }
.subpages a, #resourcetags div { display: inline-block; vertical-align: top; width: calc(100% / 3 - 20px); background: var(--swrc-purple); margin: 20px 0 0 20px; color: #fff; text-decoration: none; }
.splang a, .pf-languages .subpages a { width: calc(25% - 20px); background: var(--swrc-blue); display: flex; justify-content: center; align-items: center; }
.subpages a .linkimage { display: block; height: 0; padding-bottom: 100%; background-color: var(--swrc-blue); background-size: cover; background-position: center; }
.subpages.spshallow a .linkimage { padding-bottom: 50%; }
.subpages.spdeep a .linkimage { padding-bottom: 142%; position: relative; }
.linkimage h4 { position: absolute; top: 50%; left: 10px; right: 10px; margin: 0; transform: translateY(-50%); color: inherit; }
.linkimage h4.textoverlay { top: auto; bottom: 0; left: 0; right: 0; transform: none; padding: 10px; background: var(--swrc-blue); }
.linkimage:hover h4.textoverlay { background: var(--swrc-yellow); }
.pf-languages .subpages a .linkimage { display: none; }
.subpages a h4 { font-weight: 500; font-size: 16px; line-height: 20px; margin: 0; padding: 20px 10px; background: transparent; color: inherit; }
.subpages a:hover, #resourcetags div:hover { opacity: 1; background: var(--swrc-yellow); transform: scale3d(1.02,1.02,1); color: var(--swrc-purple); }
.subpages a:hover .linkimage { background-color: var(--swrc-yellow); }
.subpages a.resourcehidden { display: none; }

#resourcetags { justify-content: left; margin-bottom: 20px; }
#resourcetags div { padding: 10px; font-weight: 600; box-sizing: border-box; cursor: pointer; }
#resourcetags div.nottag { background: var(--swrc-grey); color: var(--swrc-purple); }
#resourcetags div.nottag:hover { background: var(--swrc-blue); color: #fff; }

#faq { margin-top: 15px; }
.questiontitle { display: block; padding: 10px 40px 10px 10px; margin: 0; position: relative; cursor: pointer; border-top: 5px solid #fff; }
.faqjs .questiontitle:after { content: '\25bc'; position: absolute; right: 10px; top: 0; font-size: 0.6em; color: var(--swrc-blue); line-height: 44px; }
.faqjs.faqshown .questiontitle:after { transform: rotate(180deg); }
.questiontitle:active { background: var(--swrc-blue); }
.questiontitle:active:after { color: #fff; }
.questionanswer { padding: 0 10px; background: var(--swrc-grey); box-sizing: border-box; }
.questionanswer>*:first-child { margin-top: 0; padding-top: 10px; }
.questionanswer>p:first-of-type { margin-top: 0; }
.questionanswer>*:last-child { margin-bottom: 0; padding-bottom: 10px; }
.questionanswer { transition: 0.25s max-height; overflow: hidden; position: relative; }
.faq .questionanswer { max-height: 0!important; }
.faqshown .faqa { max-height: 1000px; }
.questionanswer.notrans { transition:none; }
.questionanswer.answershown { max-height: 4000px!important; }
.questionanswer iframe { width: 100%!important; height: 300px!important; }

.gridsect { margin: -20px 0 0 -20px; }
.gridsect>div { display: inline-block; vertical-align: top; width: calc(100% / 3 - 20px); margin: 20px 0 0 20px; }
.gridsect img { display: block; }

.socmed { border-top: 1px solid var(--swrc-purple); text-align: center; margin-top: 40px; padding: 20px 0 0; }
.socmed a { display: inline-block; vertical-align: top; width: 30px; height: 30px; margin: 10px; background-size: contain; background-position: center; background-repeat: no-repeat; }
.socmed a.fb { background-image: url('../gfx/icon-fb.svg'); }
.socmed a.tw { background-image: url('../gfx/icon-tw.svg'); }
.socmed a.yt { background-image: url('../gfx/icon-yt.svg'); }
.socmed a.li { background-image: url('../gfx/icon-li.svg'); }

footer { font-size: 12px; line-height: 16px; text-align: center; position: relative; text-align: center; color: #fff; }
footer .divider { display: inline-block; margin: 0 10px; color: #ccc; font-size: 0.5em; position: relative; top: -2px; }
.footerbottom p { margin: 5px 0; }
footer a { color: #fff; }

.footertop { padding: 40px 0 30px; background: var(--swrc-purple); line-height: 20px; }
.footertop img { display: block; margin-bottom: 20px; width: 150px; }
.footerbottom { padding: 35px 20px; background: var(--swrc-blue); }
.footercol { width: calc(100% / 3 - 27px); display: inline-block; vertical-align: top; margin-right: 40px; text-align: left; }
.footercol:last-child { margin-right: 0; }
p#helplinecall { display: inline-block; vertical-align: top; padding: 10px; font-size: 16px; line-height: 20px; background: var(--swrc-pink); font-weight: 700; margin: 0; cursor: pointer; }
p#helplinecall:hover { transform: scale3d(1.05,1.05,1); }
#helplinecallgraphic { height: 0; padding-bottom: 100%; background: url('../siteimages/boxes/services-helpline.jpg') no-repeat center; background-size: cover; margin-top: 20px; cursor: pointer; }
p.funders { margin: 5px -5px; }
p.funders a { display: inline-block; height: 70px; margin: 5px; vertical-align: top; background-size: contain; background-repeat: no-repeat; }
p.funders a:hover { opacity: 1; }
p.funders a.sg { background-image: url('../gfx/footer-sg@2x.png'); width: 250px; margin-top: 0; }
p.funders a.slab { background-image: url('../gfx/footer-slab@2x.png'); width: 43px; }
p.funders a.lef { background-image: url('../gfx/footer-lef@2x.png'); width: 76px; }

#totop { position: fixed; bottom: 100px; right: 40px; width: 40px; height: 64px; padding: 10px; background: rgba(255,255,255,0.75); cursor: pointer; opacity: 0; pointer-events: none; z-index: 21; }
.scrolled #totop { opacity: 1; pointer-events: auto; }
.scrolled #totop:hover { opacity: 0.6; }

form label { display: block; font-size: 12px; line-height: 17px; text-transform: uppercase; margin: 10px 0 2px; color: #666; font-weight: 600; }
input, textarea { -webkit-appearance: none; border-radius: 2px; }
input.checkbox, input.button { border: 0; width: auto; display: inline; background: transparent; -webkit-appearance: checkbox; height: auto; margin-right: 5px; }
input[type=radio] { -webkit-appearance: radio; }
label .reqd { margin-left: 5px; }

input, textarea, .fl_mailform textarea, select { background: var(--swrc-grey); border: 0; font: 14px/20px Nunito, sans-serif; color: #000; width: 100%; display: block; padding: 10px; -moz-box-sizing: border-box; box-sizing: border-box; }
input, select { height: 40px; }
input:hover, textarea:hover, select:hover { background: var(--swrc-grey); color: #000; }
input:focus, textarea:focus, select:focus { background: var(--swrc-grey); color: #000; }
option { padding: 3px 10px; }
.daterow select { display: inline-block; width: auto; margin-right: 5px; }

input.emailsub, input.passsub, input.commentsub, input.formsub, a.button, span.button { display: block; width: auto; height: auto; font-weight: bold; font-size: 16px; margin: 10px 5px 10px 0; padding: 12px 20px; color: #fff!important; border: 0; background: var(--swrc-pink); border-radius: 0; cursor: pointer; text-decoration: none; text-align: center; }
input.emailsub:hover, input.passsub:hover, input.commentsub:hover, input.formsub:hover, input.emailsub:focus, input.passsub:focus, input.commentsub:focus, input.formsub:focus, a.button:hover, a.button:focus, span.button:hover, span.button:focus { transform: scale3d(1.05,1.05,1); opacity: 1; }
input.emailsub:active, input.passsub:active, input.commentsub:active, input.formsub:active, a.button:active, span.button:active { position: relative; top: 2px; }
a.button { display: inline-block; }
p a.button { margin-top: 0; margin-bottom: 0; }

#helplinecover { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(0,0,0,0.75); cursor: pointer; }
#helplinewrap { position: absolute; top: 50px; left: 50%; transform: translateX(-50%); width: 350px; max-width: 90%; box-sizing: border-box; padding: 20px; background: #ebebeb; text-align: left; border-radius: 10px; cursor: default; }
#helplinewrap>*:first-child { margin-top: 0; }

#searchscreen { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 50; background: rgba(255,255,255,0.8); text-align: center; display: none; }
#searchclose { position: fixed; top: 80px; right: 40px; width: 40px; height: 40px; background: var(--swrc-pink) url('../gfx/search-close.svg') no-repeat center; background-size: 18px auto; cursor: pointer; }
#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: 18px; }
#searchscreen input.sg { position: absolute; width: 60px; height: 60px; box-sizing: border-box; right: 0; margin-right: -60px; background: var(--swrc-pink) url('../gfx/icon-search.svg') no-repeat center; cursor: pointer; border: 0; background-size: auto 24px; }
#searchscreen input.sg:hover, #searchclose:hover { transform: scale3d(1.05,1.05,1); }

.surgeries .surgery { margin-top: 20px; border-top: 1px solid #f0edf1; border-bottom: 1px solid #f0edf1; margin-bottom: -21px; padding: 0 10px 20px; background: transparent; clear: right; display: block; text-decoration: none; position: relative; }
.surgery { text-decoration: none; color: #666; }

#map_canvas { height: 500px; margin: 15px 0 0; border-top: 1px solid var(--swrc-purple); border-bottom: 1px solid var(--swrc-purple); background: var(--swrc-grey); } 
#map_canvas>div { -webkit-transition-duration: 0.5s; transition-duration: 0.5s; -webkit-transition-property:opacity; transition-property:opacity; }
#map_canvas.hidden>div { opacity: 0; }

#findnearest { display: block; background: var(--swrc-blue); text-align: center; font-weight: 600; padding: 10px; color: #fff; }
/*
.surgeries .surgerynearest { background: #633c8f; color: #fff!important; }
.surgerynearest h3 { color: #fff!important; }
.surgeries .surgerynearest:hover { background: #bba2cb; }
*/
.mapcol { float: right; margin: 0 0 1px 10px; width: 250px; background: var(--swrc-grey); border-top: 1px solid var(--swrc-purple); }
.mapcol #map_canvas { height: 250px; margin: 0; border-bottom: 1px solid var(--swrc-purple); }
.mapcol p { color: #333; font-size: 16px; line-height: 20px; margin: 15px; }
/*
.surgeryinfo img { margin-right: 10px; display: inline-block!important; }
*/

.searchleft { display: inline-block; width: calc(50% - 5px); vertical-align: top; position: relative; }
.searchleft input { padding-right: 50px; }
.searchright { display: inline-block; width: calc(50% - 5px); vertical-align: top; position: relative; margin-left: 10px; }
.searchleft #findnearest { position: absolute; bottom: 0; right: 0; width: 40px; height: 40px; background: var(--swrc-blue) url('../gfx/icon-locate.svg') no-repeat center; background-size: auto 60%; padding: 0; border: 0; }
.searchleft #findnearest:hover { opacity: 0.6; }

/*
form.nearestenter { background: #fff; border-top: 1px solid #633c8f; border-bottom: 1px solid #633c8f; padding: 10px 0; }
form.nearestenter label { font-weight: 600; font-size: 14px; text-transform: uppercase; }
form.nearestenter input { width: 100%; box-sizing: border-box; }
form.mapsearch input.formsub:active { margin-top: 10px; position: relative; top: 2px; }
*/

#cats { margin-top: 10px; }
#cats label { width: 33.33333333%; padding: 5px; box-sizing: border-box; display: inline-block; vertical-align: top; font-size: 12px; }
#cats label img { height: 20px!important; width: auto!important; margin-right: 5px; position: relative; top: 5px; }
#cats label.checked { background: var(--swrc-blue); color: #fff; }
#cats label:hover { background: var(--swrc-purple); color: #fff; }

#fl_loading { display: none; position: fixed; top: 10px; right: 10px; background: #fff; padding: 3px; border: 1px solid #ccc; z-index: 150; width: 32px; z-index: 99; }
#cookiebar { font-size: 12px; line-height: 16px; }
#cookiebar a { display: inline-block; }
#msgbar { font-family: Nunito, sans-serif; }
.err, .reqd { font-weight: bold; color: #c00; }

.newsitem { margin-top: 20px; padding-top: 20px; border-top: 2px solid var(--swrc-purple); position: relative; min-height: 300px; padding-left: 320px; }
h2.newstitle { background: transparent; color: var(--swrc-purple); padding: 0; margin-top: 0; }
.newsitem img { position: absolute; top: 20px; left: 0; margin: 0; max-width: 300px; }
.fl_blogpost1 { border: 0; padding: 0; margin: 0; }
.fl_pagelinks, .fl_rsslinks { display: none; }

a, input, span.button, #totop, p#helplinecall, #callhelpline, #searchclose, #searchscreen input.sg, .linkimage, .questiontitle:after, #cats label, .linkimage h4.textoverlay, #resourcetags div { transition: 0.25s; transition-property: transform, opacity, color, background-color, border-color; }

@media all and (max-width: 899px) {
	html, body { min-width: 320px; -webkit-text-size-adjust: none; }
	
	header { padding: 30px 0; box-sizing: border-box; max-height: calc(100vh - 40px); overflow: auto; -webkit-overflow-scrolling: touch; }
	.logo { margin: 0; }

	#menubutton { position: absolute; top: 85px; right: 20px; width: 90px; height: 40px; background: var(--swrc-purple); cursor: pointer; z-index: 20; transition: all 0.25s; }
	#menubutton:active { opacity: 0.6; }
	#menubutton .rowbar { position: absolute; top: 19px; left: 11px; width: 18px; height: 3px; background: #fff; border-radius: 2px; transition: all 0.25s; }
	#menubutton .rowtop { top: 13px; }
	#menubutton .rowbottom { top: 25px; }
	.mblabel:before { content: 'Menu'; position: absolute; right: 10px; font-weight: 600; font-size: 16px; line-height: 40px; color: #fff; }
	
	.menublock #menubutton .rowtop, .menublock #menubutton .rowbottom { opacity: 0; }
	.menublock #menubutton .rowbar:nth-of-type(2) { transform: rotate(45deg); }
	.menublock #menubutton .rowbar:nth-of-type(3) { transform: rotate(-45deg); }
	.scrolled header { padding-bottom: 15px; }
	.scrolled #menubutton { top: 23px; }

	#menu { display: none; }
	#menu.menublock { display: block; }
	.fl_menu { margin-left: 0; float: none; padding: 30px 0 0; position: static; transition: all 0.25s; }
	.scrolled .fl_menu { padding-top: 15px; }
	.fl_menu li, .fl_menu a { display: block!important; width: auto!important; float: none; }
	.fl_menu>li:before { display: none; }
	.fl_menu>li>a { padding: 10px 0!important; margin: 0; text-align: center!important; font-size: 16px; line-height: 24px!important; }
	.fl_menu>li { border-bottom: 1px solid #fff!important; margin: 0 10px!important; padding: 0; }
	.fl_menu>li:first-of-type { border-top: 1px solid #fff; }

    .fl_menu ul { position: relative; width: auto; margin: -5px 0 0; padding: 0!important; background: none; top: 0!important; max-height: 2000px!important; width: auto!important; left: 0; right: 0; border: 0; text-align: left; transform: none; }
    .fl_menu ul, .fl_menu li:hover ul, .fl_menu li.hovered ul { display: none!important; }
	.fl_menu ul li { background: transparent; border: 0!important; }
	.fl_menu ul a { text-align: center; }
	.fl_menu li.hassubmenu>a:before { content: "\25BC"; }
	.fl_menu li.expanded>a:before { content: "\25B2"; }
	.fl_menu ul.tapped, .fl_menu li:hover ul.tapped, .fl_menu li.hovered ul.tapped { display: block!important; }

	.fl_menu>li a:before { position: absolute; right: 10px; color: var(--swrc-blue); font-size: 0.5em; margin: 0; }
	.fl_menu>li:after { display: none; }

	#menu_c_search { position: relative; right: auto; }

	main { padding-top: 205px; }
	.imageleft { margin-left: 270px; }
	.imageleft img { max-width: 250px; margin-left: -270px; }
	
	.footercol { display: block; width: auto; margin-right: 0; text-align: center; }
	p#helplinecall { margin-bottom: 20px; }
	#helplinecallgraphic { display: none; }
	.footertop img { margin: 0 auto 20px; }
	.footercol>last-child h5 { margin-bottom: 15px; }
	p.funders a.sg { margin-top: 5px; }
}
@media all and (max-width: 829px) {
	.fronttext { display: block; width: auto; margin-left: calc(100% / 3 - 13px); }
	.frontgraphic { position: absolute; top: 0; left: 0; bottom: 0; height: auto; padding: 0; }
	#escavail { display: none!important; }
}
@media all and (max-width: 767px) {
	.leavesitewrap .wrapper { padding: 0; }
	#leavesite { top: 0; left: 0; right: 0; text-align: center; line-height: 30px; position: fixed; }
	.topbar { padding-top: 30px; height: 30px; line-height: 30px; }
	#topsearch { margin-top: 0; }
	.topbar .topright { top: 30px; line-height: 30px; }
	.splang a, .pf-languages .subpages a { width: calc(100% / 3 - 20px); }
	h1 { margin: 10px -20px 20px; }
	header { top: 60px; max-height: calc(100vh - 60px); }
	#cats label { width: 50%; }

	.newsitem { min-height: 200px; padding-left: 220px; }
	.newsitem img { max-width: 200px; }

}
@media all and (max-width: 699px) {
	.subpages a, .gridsect>div { width: calc(50% - 20px); }
	.imageleft { margin-left: 220px; }
	.imageleft img { max-width: 200px; margin-left: -220px; }
	blockquote .imageleft { margin-left: 170px; }
	blockquote .imageleft img { max-width: 150px; margin-left: -170px; }
	
	.frontintro { margin: 0 -20px; }
	.frontgraphic { display: none; }
	.fronttext { margin-left: 0; text-align: center; }
	
	.spfront { margin: 0 -20px; display: block; }
	.spfront a { margin: 0!important; width: auto!important; display: block; }
	.spfront a .linkimage { display: none; }
	
	.spfront a:first-child { background: var(--swrc-pink); }
	.spfront a:last-child { background: var(--swrc-blue); }
	.spfront a:hover { background: var(--swrc-yellow)!important; }
	
	.frontintro h2 { padding-bottom: 330px; background-image: url('../siteimages/illustrations/scales-magnify.jpg'); background-repeat: no-repeat; background-position: bottom; background-size: auto 320px; } 
}
@media all and (max-width: 649px) {
	.cms_imgleft, .cms_imgright { max-width: 100%; display: block; margin: 10px auto; float: none; }
	html, body { font-size: 14px; line-height: 22px; }
	h1 { font-size: 24px; line-height: 28px; }
	h2 { font-size: 20px; line-height: 24px; }
	h3 { font-size: 16px; line-height: 20px; }
	h4 { font-size: 16px; line-height: 20px; }
	h5 { font-size: 14px; line-height: 18px; }
	
	input.emailsub, input.passsub, input.commentsub, input.formsub, a.button, span.button { font-size: 14px; }
	
	.socmed a { width: 24px; height: 24px; }
	.topbar, .breadcrumbs { font-size: 12px; }
	#leavesite { font-size: 14px; }
	header { padding: 15px 0; }
	.logo { width: 165px; height: 63px; margin-bottom: 0!important; }
	#totop { bottom: 20px; right: 20px; }
	#menubutton { top: 23px; }
	.fl_menu { padding-top: 15px!important; position: static; }
	
}
@media all and (max-width: 599px) {
	.imageleft { margin-left: 0!important; }
	.imageleft img { display: block; margin: 0 auto!important; float: none; }

	.newsitem { min-height: 150px; padding-left: 170px; }
	.newsitem img { max-width: 150px; }

}
@media all and (max-width: 579px) {
	footer .divider { display: block; height: 0; overflow: hidden; }
	.wrapper, main, .topbar { padding-left: 10px; padding-right: 10px; }
	#menubutton, #callhelpline { right: 10px; }
	.subpages, .gridsect { margin: 0 0 0 -10px; }
	.subpages a, .splang a, .pf-languages .subpages a, .gridsect>div { width: calc(50% - 10px); margin: 10px 0 0 10px; }
	h1 { margin: 10px -10px; }
	.frontintro, .spfront { margin: 0 -10px; }
	main { padding-top: 113px; }
	.mapcol { width: 100%; margin-bottom: 15px; }
	.searchleft, .searchright { width: 100%; margin-left: 0; }
}
@media all and (max-width: 419px) {
	.fundedsplit { display: block; }
	.newsitem { min-height: 80px; padding-left: 90px; }
	.newsitem img { max-width: 80px; }

}
@media all and (max-width: 379px) {
	.frontintro h2 { padding-bottom: 290px; background-size: auto 280px; } 
	.ibility { display: none; }
}

#faq.resultsfound>h4 { display: none; }