@charset "UTF-8";
/*********************** BF Training CSS ***********************/

@import url("https://fonts.googleapis.com/css?family=Raleway:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i&display=swap");
@import url("rawline.css");
@import url("https://ionicons.com/v2/css/ionicons.css");
@import url("https://use.typekit.net/dmn5aff.css");

/* breakpoints */
    @mobilePortrait: ~"350px";
	@mobileLandscape: ~"450px";
	@mobileSearchSelect: ~"510px";
	@phablet: ~"700px";
	@tabletPortrait: ~"768px";
	@upToDesktopSmall: ~"1023px";
	@desktopSmall: ~"1024px";
	@desktopLarge1: ~"1280px";
	@desktopLarge: ~"1200px";

/* light mode */
	:root, :root[colour-scheme="light"], .light
	{
		--html: rgba(0,0,0,1);
		--defaultBg: rgba(255,255,255,1);
		--defaultText: rgba(45,45,45,1);
		--body: rgba(239,239,239,1);
		--pageBg: rgba(250,250,250,1);
		--pageBg2: rgba(245,245,245,1);

		--base: rgba(0,0,0,1);
		--lighterBase: rgba(67,67,67,1);
		--textOverBase: var(--defaultBg);
		--baseOverlay: rgba(255,255,255,0.175);
		--disabledOverBase: rgba(255,255,255,0.5);
		--slightBgEmphasis: rgba(0,0,0,0.05);

		--cta: rgba(0,117,225,1);
		--ctaLtBg: rgba(0,117,225,0.04);
		--ctaLtBorder: rgba(0,117,225,0.125);
		
		--border: rgba(0,0,0,0.5);
		--borderLight: rgba(221,221,221,1);
		--borderLightest: var(--body);
		--shadow: rgba(0,0,0,0.05);
		--shadowIntense: rgba(0,0,0,0.25);
		--shadowMedium: rgba(0,0,0,0.075);

		--formElementsText: var(--defaultText);
		--formElementsBg: var(--defaultBg);
		--formElementsBorder: var(--cta);
		--disabledInputText: rgba(110,110,110,1);
		--disabledInputBg: var(--pageBg2);
		--disabledInputBorder: rgba(145,145,145,1);

		--photoBorder: var(--lighterBase);
		--homeStatsBorder: var(--body);
		--hideGraphsBg: var(--lighterBase);
		--hideGraphsText: var(--textOverBase);
		--homeGraphsBg: var(--textOverBase);
		--noGraphDataBg: var(--body);
		--noGraphDataBorder: var(--borderLight);
		
		--completion: rgba(210,210,210,1);
		--missing: rgba(255,0,100,1);
		--go: rgba(0,195,50,1);
		--runningTxt: rgba(0,150,100,1);
		--alertTxt: rgba(235,0,120,1);
		--disabled: rgba(120,121,120,1);
		
		--completionComplete: rgba(0,190,130,1);
		--completionAlert: rgba(255,200,0,1);
		--completionWarning: rgba(255,0,100,1);
		
		.outline {background: none; border: 1px solid var(--cta); color: var(--cta)}
		.nav, .ftr {background: var(--baseOverlay)}
		a.skipto {background: rgba(0,0,0,0.55)}
		.filtering button.showFilters.icon {color: var(--textOverBase); background:var(--lighterBase)}
		button.showPassword, button.hidePassword {background: var(--shadow)}
		#addItem, #filters {border: 1px solid var(--cta); background: var(--pageBg2)}
		.photo {background-color: var(--pageBg2)}
		.hideNotes > span {background: radial-gradient(ellipse at top, var(--border), transparent), radial-gradient(ellipse at bottom, var(--disabled), var(--lighterBase)); box-shadow: 0 0 10px 0 var(--shadowIntense)}
		.hideNotes .notes > span {background: radial-gradient(ellipse at top, var(--pageBg), transparent), radial-gradient(ellipse at bottom, var(--defaultBg), var(--body)); box-shadow: 0 0 10px 0 var(--shadowIntense)}
		.multiday {background: var(--textOverBase)}
		.faqs dt.write, .faqs dd.write {background: var(--defaultBg)}
		.completion:after {background: var(--defaultBg)}
		.attendance {background: var(--shadow)}
		.attendance:before {border-color: transparent transparent rgba(30,0,100,0.1) transparent}
		a.dm:before {background-position: 33.3%}
		.contact, .actions
		{
			background: var(--baseOverlay);
			span {color: var(--disabledOverBase)}
		}
		.cards
		{
			.name.running {background: radial-gradient(ellipse at top, var(--base), transparent), radial-gradient(ellipse at bottom, rgba(0,235,150,0.8), var(--lighterBase))}
			.name.alert {background: radial-gradient(ellipse at top, var(--base), transparent), radial-gradient(ellipse at bottom, rgba(235,0,120,0.95), var(--lighterBase))}
			.callout, .keyinfo {background: var(--baseOverlay)}
			dl.keyinfo.missing dd {color: rgba(255,255,255,0.75)}
			dl.headline.missing dd, dl.detail dd.missing, .content_ftr .page.missing, .notes.missing {color: var(--disabled)}
			.content {background: var(--defaultBg); box-shadow: 0 0 10px 0 var(--border)}
			div.hideNotes {background: radial-gradient(ellipse at top, var(--border), transparent), radial-gradient(ellipse at bottom, var(--disabled), var(--lighterBase))}
			.info:before {margin: -9px 339px}
			li {border-bottom: 8px solid var(--base)}
		}
		.trainer .side .advice:before {color: rgba(150,0,125,1)}
		.side .presenter, .cards li {background: var(--base)}
		.side .presenter .name, .cards .name {background: radial-gradient(ellipse at top, var(--border), transparent), radial-gradient(ellipse at bottom, var(--disabled), var(--lighterBase))}
	}


/* dark mode */
	:root[colour-scheme="dark"], .dark
	{
		--html: rgba(0,0,0,1);
		--defaultBg: none;
		--defaultText: rgba(250,250,250,1);
		--body: rgba(12,20,29,1);
		--pageBg: rgba(22,30,39,1);
		--pageBg2: rgba(17,25,34,1);
		--pageBg3: rgba(32,40,49,1);

		--base: rgba(0,0,0,1);
		--lighterBase: rgba(255,255,255,0.35);
		--textOverBase: rgba(250,250,250,1);
		--disabledOverBase: rgba(124,133,146,1);
		--slightBgEmphasis: rgba(255,255,255,0.075);

		--cta: rgba(0,132,246,1);
		--ctaLtBg: rgba(0,132,246,0.05);
		--ctaLtBorder: rgba(0,132,246,0.25);
		
		--border: rgba(255,255,255,0.1);
		--borderLight: var(--border);
		--borderLightest: rgba(255,255,255,0.05);
		--shadow: rgba(0,0,0,0.35);
		--shadowIntense: rgba(0,0,0,0.5);
		--shadowMedium: var(--shadow);

		--formElementsText: var(--defaultText);
		--formElementsBg: rgba(255,255,255,0.1);
		--formElementsBorder: var(--border);
		--disabledInputText: rgba(130,130,130,1);
		--disabledInputBg: var(--pageBg2);
		--disabledInputBorder: var(--border);

		--photoBorder: var(--pageBg2);
		--homeStatsBorder: var(--border);
		--hideGraphsBg: var(--lighterBase);
		--homeGraphsBg: var(--pageBg2);
		--noGraphDataBg: var(--body);
		--noGraphDataBorder: var(--pageBg);
		
		--completion: rgba(32,40,49,1);
		
		--missing: rgba(255,0,125,1);
		--go: rgba(0,215,125,1);
		--runningTxt: var(--go);
		--alertTxt: rgba(255,0,100,1);
		--disabled: rgba(124,133,146,1);
		
		--completionComplete: rgba(0,215,125,1);
		--completionAlert: rgba(255,200,0,1);
		--completionWarning: rgba(255,0,125,1);

		.outline {background: var(--border); border: 1px solid var(--borderLightest); color: var(--textOverBase)}
		.nav, .ftr {background: none}
		a.skipto {background: none}
		button.showFilters.icon.filtering {background: var(--go)}
		.outline.caution, .outline.missing {background: none}
		button.showPassword, button.hidePassword {background: var(--formElementsBg)}
		#addItem, #filters {border: 1px solid var(--border); background: var(--body)}
		.search:not(#addItem .search, .write .search, .returnRescheduleContent .search) {background: var(--pageBg2)}
		.map iframe, iframe.map {filter: invert(90%)}
		.trainer .photo {background-color: var(--formElementsBg)}
		.hideNotes > span, .hideNotes .notes > span {background: radial-gradient(ellipse at top, var(--pageBg), transparent), radial-gradient(ellipse at bottom, var(--pageBg), var(--pageBg3)); box-shadow: 0 0 10px 0 var(--shadowIntense)}
		.multiday {background: var(--pageBg2)}
		.faqs dt.write, .faqs dd.write {background: var(--pageBg2)}
		.completion:after {background: var(--pageBg2)}
		.attendance {background: var(--formElementsBg)}
		.attendance:before {border-color: transparent transparent rgba(255,255,255,0.075) transparent}
		a.dm:before {background-position: 100%}
		.contact, .actions, .keyinfo{background: var(--pageBg2)}
		.events .keyinfo {background: var(--pageBg)}
		.contact span, .actions span {color: var(--disabled)}
		.side .presenter
		{
			background: var(--pageBg);
			.contact {background: var(--body)}
		}
		.trainers .presenter .contact {background: var(--pageBg2)}
		.cards
		{
			li {background: var(--body)}
			.callout {background: var(--pageBg3)}
			.name.running {background: radial-gradient(ellipse at top, var(--body), transparent), radial-gradient(ellipse at bottom, rgba(0,225,150,0.3), var(--base))}
			.name.alert {background: radial-gradient(ellipse at top, var(--body), transparent), radial-gradient(ellipse at bottom, rgba(255,0,100,0.45), var(--base))}
			.content {background: var(--pageBg); box-shadow: unset}
			dl.keyinfo.missing dd, dl.headline.missing dd, dl.detail dd.missing, .content_ftr .page.missing, .notes.missing {color: var(--disabled)}
			.info:before {border-color: transparent transparent var(--lighterBase) transparent}
		}
		.trainer .side .advice:before {color: rgba(200,0,175,1)}
		.info {background: var(--pageBg2)}
	}


/* containers */
    html {margin: 0 auto; padding: 0; border: 0; min-height: 100vh; background: var(--html)}
	body {margin: 70px auto; padding: 0; border: 0; font-family: 'lato', sans-serif; font-size: 1.1em; font-weight: 300; min-height: calc(100vh - 190px); color: var(--defaultText); transition: background ease 0.25s; background: var(--body)}
	.outer {display: table; height: 100%; width: 1200px; margin: 0 auto; position: relative; min-height: calc(100vh - 190px); background: var(--pageBg); transition: background ease 0.25s; box-shadow: 0 0 20px var(--shadow)}
    .inner {height: 100%; padding: 20px 25px 30px 25px}
    .missing + .inner {height: calc(100% - 67px)}
	/*.current, .cancelled, .deleted, .pending, .deleted, .destroyed {overflow: auto}*/
	.current, .cancelled, .cancelled + .destroyed, .pending {padding: 0 0 10px 0; margin: 20px 0 5px 0}
	.pending {margin: 35px 0 5px 0}
	.current + .pending {margin: 0 0 5px 0}
	.cancelled + .deleted, .deleted + .destroyed {margin: 30px 0 0 0}
	.hidden {clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute}

	.contentHdr
	{
		display: table; width: 100%; border-bottom: 1px solid var(--border); margin: 0 0 14px 0; padding: 2px 0 10px 0;
		h2 {display: table-cell; vertical-align: bottom; padding: 0 0 0 3px; width: 99%}
		.resultsSort {display: table-cell; vertical-align: bottom; padding: 0 3px 0 0}
	}
	.contentHdr:empty {border: 0; margin: 0 0 10px 0; padding: 0}
	.flush {margin: 0; border: 0}
	.flush + div + div {padding: 14px 0 0 0; border-top: 1px solid var(--border)}


	#showHideFilters {transition: max-height 0.35s ease-out; max-height: 0; overflow: hidden; position: relative}
	#filters
	{
		display: none; border-radius: 3px; padding: 15px 20px 20px 20px; margin: 0 3px;
	}
	.resultsFilter button {margin: 5px 15px 0 0}
	.resultsFilter legend {margin: 0 0 10px 0; font-style: italic}
	button.showFilters.icon.filtering {color: var(--textOverBase); background: var(--lighterBase); border: 1px solid transparent}


	.resultsFilterCta
	{
		display: table-cell; vertical-align: bottom; padding: 0 15px 0 0;
		button.showFilters.icon span, button.hideFilters.icon span {padding: 8px 0 10px 12px}
	}

	.resultsSort
	{
		text-align: right; white-space: nowrap;
		label {display: inline-block; margin: 0 4px 6px 0}
	}

	.results:not(.user .results)
	{
		overflow: auto; display: table; margin: 15px 0 0 0; padding: 10px 0 0 0; width: 100%; height: 45px; border-top: 1px solid var(--border);
		.recordsCount {padding: 0 0 0 3px; display: table-cell; width: 295px}
		.resultsCount
		{
			padding: 0 3px 0 0; display: table-cell; width: 295px; text-align: right; white-space: nowrap;
			label {display: inline-block}
			input, button {vertical-align: middle}
			input {width: 50px; text-align: center; margin: 0 0 0 10px; padding: 9px; border-top-right-radius: 0; border-bottom-right-radius: 0; border-right: 0}
		}
		.pagination
		{
			display: table-cell; text-align: center; white-space: nowrap;
			li {list-style: none; display: inline-block; padding: 0 4px; min-width: 12px}
			.previous, .first, .next, .last {padding: 0; min-width: 20px}
			a {display: inline-block}
			span:not(.skip) {.hidden()}

			.first:before, .previous:before, .next:before, .last:before, .first a, .previous a, .next a, .last a {font-size: 1.25em}
			.first a, .previous a, .next a, .last a {position: absolute; padding: 0 6px}

			.first:before {padding: 0 10px 0 0}
			.previous:before {padding: 0 15px 0 0}
			.next:before, .last:before {padding: 0}

			.first:before , .first a:before {content: '«'}
			.previous:before, .previous a:before {content: '‹'}
			.next:before, .next a:before {content: '›'}
			.last:before, .last a:before {content: '»'}

			.first a {margin: 0 0 0 -24.7px}
			.previous a {margin: 0 0 0 -26.9px}
			.next a {margin: 0 0 0 -11.9px}
			.last a {margin: 0 0 0 -14.7px}
		}
	}
	.list + .results:not(.user .results) {margin: 5px 0 0 0}

/* tables */
	.ellipsis {display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis}
	.td {display: table-cell}
	.flexellipsis {width: 100%; display: table; table-layout: fixed}
	.flexellipsis span {overflow: hidden; text-overflow: ellipsis; display: table-cell}
	
	table
	{
		border-spacing: 0; border-collapse: collapse;
		tr {vertical-align: middle}
		th {padding: 0 5px 2px 5px; text-align: left}
		th span {.hidden()}
		td {padding: 3px}
		label:not(.checkboxes label, .radios label), caption {.hidden()}
		button.save {margin: 0 0 0 5px; padding: 0 15px}

		.radios, .checkboxes
		{
			padding: 6px 1px 5px 1px; display: inline-block;
			label {margin: 0 0 0 2px}
		}
	}

	.list
	{
		width: 100%;
		th {padding: 0 7px 8px 3px; white-space: nowrap}
		td {padding: 10px 7px 10px 3px; text-align: left; border-top: 1px solid var(--borderLightest); white-space: nowrap}
		td.reinstate, td.retire, td.revive, td.delete, td.destroy, td.nuke, td.page, td.directions, td.email, td.message, td.mobile {padding: 0 3px}	
		th.email {padding-right: 3px; padding-left: 3px}
		th.email, td.email, td.message, td.mobile {text-align: center; width: 40px}
		.trainers, .events, .delegates, .revenue, .bookings, .credit {text-align: right; padding-right: 17px}
		td.name a span:not(.flexellipsis, .flexellipsis span, .trainers td.name .photo, .trainers td.name .name) {.ellipsis()}
		td.name a {font-weight: 600}
		button.reinstate:not(.event .list button.reinstate) {padding: 0 12px; margin: 3px 0}
		button.reinstate span {padding: 5px 0 6px 0}
		
		td.notes {width: 283px; padding-left: 0; padding-right: 0}
		td.showNotes .notes {display: table; table-layout: fixed; width: 283px}
		td.showNotes .notes button {vertical-align: middle; padding: 0; margin: -6px 0 0 12px}
		td.showNotes .notes > span {width: 225px; vertical-align: middle; .ellipsis(); display: table-cell}
		td.hideNotes .notes > span {width: 228px; padding: 8px 40px 10px 14px; height: 160px; display: block; position: absolute; vertical-align: middle; margin: -160px 0 0 0; white-space: normal; word-break: normal; text-overflow: initial; overflow: scroll; border-radius: 5px}
		td.hideNotes button {position: absolute; margin: -156px 0 0 241px; color: var(--cta)}
	}


	.cards
	{
		margin: 0; padding: 0;
		li {float: left; margin: 10px 10px 10px 9px; width: 364px; border-radius: 5px; box-shadow: 0 0 10px 0 var(--shadowIntense); overflow: hidden; position: relative; list-style: none}
		.name
		{
			padding: 12px 20px; color: var(--textOverBase);
			a {color: var(--textOverBase)}
			h3 {margin: 0; font-size: 1.3em; font-weight: 900; line-height: 135%}
			h3 a {overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; width: 324px}
		}
		.presenter
		{
			.name
			{
				.trainer {width: 240px}
				h3 a {width: 234px}
			}
		}

		.callout {position: absolute; text-align: center; color: var(--textOverBase); box-shadow: 0 0 10px 0 var(--shadowIntense)}
		.callout a {color: var(--textOverBase)}
		.callout.missing {color: var(--missing); font-weight: 400; font-style: italic}

		dl:not(.write dl, dl.keyinfo)
		{
			padding: 10px 0 12px 0
		}
		dl:not(.write dl)
		{
			margin: 0; display: table; width: 100%;
			dt, dd {margin: 0}
			dt {white-space: nowrap}
		}

		dl:not(.write dl, .keyinfo)
		{
			background: var(--body); color: var(--defaultText);
			dt {padding: 0 0 0 20px}
		}

		.keyinfo
		{
			padding: 10px 0 15px 0; color: var(--textOverBase);
			dt, dd {padding: 0 5px 0 0; display: inline; color: var(--textOverBase); vertical-align: middle}
			dt {padding: 0 5px 0 20px}
			dd {.ellipsis(); font-weight: 700; vertical-align: middle; display: inline-block}
			a:not(.missing) {color: var(--textOverBase)}
			span {font-weight: 700}
		}
		dl.keyinfo.missing dt {.hidden()}
		dl.keyinfo.missing dd {padding: 0 20px; font-weight: 300}

		dl.headline dt, dl.headline dd {display: inline-block}
		dl.headline dd {padding: 0 20px 0 5px; font-weight: 400}
		dl.headline.missing dt {.hidden()}
		dl.headline.missing dd {display: inline-block; padding: 0 20px; font-style: italic; font-weight: 300}

		.content
		{
			.stats
			{
				display: table; padding: 15px 0; width: 100%; margin: 0 auto; text-align: center;
				div {display: table-cell; vertical-align: middle; padding: 5px 0; border-left: 1px solid var(--borderLight); width: 33%}
				.missing {font-style: italic}
				div:first-child {border: 0}
				span {display: block; font-size: 1.2em; font-weight: 900; line-height: 110%}
				span:nth-child(2) {font-size: 0.85em; font-weight: 300}
			}
		}
		
		dl.detail
		{
			display: block;
			dt {display: inline-block; float: left; min-width: 88px; font-style: italic}
			dd {padding: 0; font-weight: 300}
			dd a {font-weight: 500}
			dd span {font-weight: 400}
			dt.missing {color: var(--defaultText)}
			dt.missing:not(.events dt.missing) {.hidden()}
			dd.missing {font-weight: 300; font-style: italic; display: block; padding-left: 20px}
			dt:nth-of-type(2), dd:nth-of-type(2) {padding-top: 3px}
		}
		.content_ftr
		{
			overflow: auto;
			.page {float: left; margin: 15px}
			.page.missing {font-style: italic; margin: 25px 20px}
			button {margin: 15px 15px 15px 0; float: right}
			button.retire:before {font-size: 1.4em}
			
			.notes
			{
				margin: 15px 20px; min-height: 25px;
			}
			
			.showNotes
			{
				display: table; table-layout: fixed;
				span:not(button span) {.ellipsis(); display: inline-block; float: left; width: 269px}
				button {vertical-align: middle; padding: 0; margin: 0 0 0 12px}
			}
			
			.hideNotes
			{
				span:not(button span) {width: 285px; height: 247px; margin: -225px 0 0 -10px; padding: 8px 45px 10px 14px; position: absolute; overflow: scroll; border-top-right-radius: 5px; border-top-left-radius: 5px; color: var(--textOverBase); box-shadow: 0 0 10px 0 var(--shadowIntense)}
				button {margin: -218px 0 0 291px; position: absolute; color: var(--textOverBase)}
			}
			.notes.missing {font-style: italic}
		}
	}


	.details
	{
		margin: 30px 0 0 0; ;
		tr {vertical-align: top}
		th, td {padding: 5px 25px 5px 5px}
		th:last-child, td:last-child {padding: 5px}
		th {border-bottom: 1px solid var(--borderLightest)}
		ul {margin: 0; padding: 0; list-style: none}
		li {margin: 0 0 5px 0}
		li:last-child {margin: 0}
	}


	.contact, .actions
	{
		padding: 10px 0; color: var(--textOverBase); display: table; table-layout: fixed; width: 100%;
		div {text-align: center; color: var(--textOverBase); display: table-cell; vertical-align: middle}
		div:nth-child(2) {width: 20%}
		div a.button.iconOnly, .iconOnly {color: var(--textOverBase)}
		span {margin: 2px 0 0 0; display: block}
		div.missing span span {.hidden()}

		.email.missing span:before, .mobile.missing span:before {font-family: 'ionicons'; font-size: 1.8em}
		.email.missing span:before {content: '\f422'}
		.mobile.missing span:before {content: '\f1fa'}
		.dm.missing span:before {content: ""; background-image: url(teams.png); background-repeat: no-repeat; background-size: 400%; background-position: 0; width: 30px; height: 30px; display: inline-block; opacity: 0.5}
		.teamsChannel.missing span:before {content: ""; background-image: url(teams.png); background-repeat: no-repeat; background-size: 400%; background-position: 0; width: 30px; height: 30px; display: inline-block; opacity: 0.5}
		a.dm.inv:before {background-position: 0}
	}


/* form elements */
	input, textarea, select {color: var(--formElementsText); background: var(--formElementsBg); font-family: 'lato', sans-serif; font-size: 1em; font-weight: 600; padding: 9px 10px; margin: 0; border-radius: 3px; border: 1px solid var(--formElementsBorder)}
	input::placeholder, textarea::placeholder {color: var(--disabled)}
	select {padding: 8px 10px}
	textarea {font-size: 0.95em; padding: 5px 10px; height: 135px; resize: vertical; min-height: 1.5em}
	label {display: block; margin: 0 0 6px 0}
	::-webkit-input-placeholder {font-weight: 300}
	::-ms-input-placeholder {font-weight: 300}
	::placeholder {font-weight: 300}
	fieldset {margin: 0; padding: 0; border: 0}
	input[type="text"]:disabled, input[type="email"]:disabled {font-weight: 300; color: var(--disabledInputText); background: var(--disabledInputBg); border: 1px solid var(--disabledInputBorder)}

	.radios, .checkboxes
	{
		padding: 0 0 10px 0; border: 0; overflow: auto; 
		legend {margin: 0; padding: 0 0 5px 0}
		input:not([type="number"]) {.hidden(); margin: -1px; overflow: hidden; padding: 0; position: absolute}
		label {display: block; float: left; clear: left; cursor: pointer; margin: 7px 0 7px 2px}
		input:checked + span {font-weight: 600}
		span:not(.missing):before {display: inline-block; margin: 0 12px -8px 0; width: 26px; height: 26px; content: ""}
	}
	.radios span:before, .checkboxes span:not(.missing):before {background-color: var(--formElementsBg); border: 0.1em solid var(--formElementsBorder)}
	.radios span:before {border-radius: 50%}
	.checkboxes span:not(.missing):before {border-radius: 3px}

/* unchecked */
	.radios span, .checkboxes span {color: var(--defaultText)}	
/* checked */
	.radios [type="radio"]:checked + span:before, .checkboxes [type="checkbox"]:checked + span:before {background: var(--cta) url("ticks_v1.svg") -0.05em -0.25em no-repeat; background-size: 8em 2em; border: 0.1em solid var(--cta)}
/* on focus */
	.radios [type="radio"]:focus + span:before, .checkboxes [type="checkbox"]:focus + span:before {box-shadow: 0 0 0 2px var(--cta)}


	.tabs
	{
		margin: 0; width: 280px; display: table-cell;
		legend {.hidden()}
		input {.hidden()}
		label {float: left; margin: 0; cursor: pointer}
		span {display: block; padding: 8px 15px 10px 42px; border-radius: 3px; border-top-right-radius: 0; border-bottom-right-radius: 0}
		label:last-child span {padding: 8px 15px 10px 40px; border-radius: 3px; border-top-left-radius: 0; border-bottom-left-radius: 0}
		span:before {content: '\f453'; font-family: 'ionicons'; font-size: 1.2em; position: absolute; display: inline-block; margin: 3px 0 0 -28px}
		label:last-child span:before {content: '\f13f'; font-size: 1.25em; margin: 2px 0 0 -26px}
		
	/* unchecked */
		span {background: var(--defaultBg); border: 1px solid var(--cta); color: var(--cta)}	
	/* checked */
		[type="radio"]:checked + span {background: var(--cta); border: 1px solid transparent; color: var(--textOverBase)}
	/* on focus */
		[type="radio"]:focus + span {box-shadow: 0 0 0 2px var(--cta)}
	}


/* links */
    a, nav li a:hover, a.missing:hover {text-decoration: none}
    a:hover, a.missing {text-decoration: underline}
	a {color: var(--cta)}


/*********************** buttons ***********************/
	
/* button colours */
	button {color: var(--defaultText)}
	.fill {background: var(--cta); color: var(--textOverBase)} 
	.fill:focus {box-shadow: 0 0 1px 3px var(--cta)}
	.caution {color: var(--missing)}
	.outline.caution, .outline.missing {color: var(--missing); border-color: var(--missing)}
	.fill.caution {color: var(--textOverBase); background: var(--missing)}
	.inline {color: var(--cta)}
	.inline.missing {color: var(--missing)}
	button.showPassword {color: var(--go)}
	button.hidePassword {color: var(--defaultText)}
	a.button.iconOnly {color: var(--cta)}
	button.schedule {background: var(--go)}
	button.revive, button.outline.revive {color: var(--go)}
	button.full.revive {border: 1px solid  var(--go)}
	button.revive:before {color: var(--go)}

/* button basics */
	button {overflow: hidden; padding: 0 20px; font-family: "Lato", sans-serif; font-weight: 300; font-size: 1em; background: none; border-spacing: 0; border: 1px solid transparent; border-radius: 3px; cursor: pointer}
	button:before {font-family: "Ionicons"; background-repeat: no-repeat; content: ""}
	button span {padding: 8px 0 10px 0; display: block; white-space: nowrap}
	button span span:not(.primary span) {.hidden()}

/* button types */
	button.icon {display: table}
	button.icon:before {display: table-cell; vertical-align: middle}
	button.icon span {display: table-cell; padding: 8px 0 10px 12px; vertical-align: middle}

	button.iconOnly {width: 35px; height: 35px; padding: 0; display: inline-block; font-size: 0.85em}
	button.iconOnly:before {display: block; font-size: 2.1em}
	button.iconOnly span {.hidden()}

	button.full {display: block; width: 100%}
	button.full:not(.reinstate, .cancel):before {display: inline-block; font-size: 1.4em}
	button.full:not(.reinstate, .cancel) span {display: inline-block}

	button.inline {padding: 0; border: 0}
	button.inline span {padding: 0}

/* hyperlink basics */
	a.button {overflow: hidden; padding: 0 20px; display: inline-block; font-family: "Lato", sans-serif; font-weight: 300; font-size: 1em; border: 1px solid transparent; border-radius: 3px; text-align: center; text-decoration: none}
	a.button:before {font-family: "Ionicons"; background-repeat: no-repeat; content: ""}
	a.button span {padding: 8px 0 10px 0; display: block; white-space: nowrap}
	a.button span span {.hidden()}


/* hyperlink types */
	a.icon {display: table}
	a.icon:before {display: table-cell; vertical-align: middle}
	a.icon span {display: table-cell; padding: 8px 0 10px 12px; vertical-align: middle}

	a.iconOnly {width: 35px; height: 35px; padding: 0; display: inline-block; font-size: 0.85em; vertical-align: middle}
	a.iconOnly:before {display: block; font-size: 2.1em; margin: 2px 0 0 0}
	a.iconOnly span {.hidden()}

	a.full {display: block}
	a.full:before {display: inline-block; font-size: 1.4em}
	a.full span {display: inline-block}

/* button icons */
	button.login, button.logout, button.register {padding: 0 30px}
	button.login:before {content: "\f4c8"; font-size: 1.3em}
	button.logout:before {content: "\f457"; font-size: 1.3em}
	button.register:before {content: "\f211"; font-size: 1.3em}
	button.showPassword, button.hidePassword {width: 50px; height: 45px}
	button.showPassword:before {content: "\f133"; font-size: 1.3em}
	button.hidePassword:before {content: "\f306"; font-size: 1.3em}
	button.register {width: 160px}

	button.showAddItem, button.hideAddItem {padding: 0 20px 0 30px}
	button.showAddItem:before {content: "+"; font-family: "Lato", sans-serif; font-size: 1.2em; margin: 5px -12px; position: absolute}
	button.hideAddItem:before {content: "-"; font-family: "Lato", sans-serif; font-size: 1.5em; margin: 0 -10px; position: absolute}
	button.save:before {background-image: url('save.png'); background-size: 400%; background-position: 0; width: 20px}
	button.full.save {padding: 0 0 0 20px}
	button.full.save:before {height: 20px; position: absolute; margin: 12px -20px}
	button.cancel:not(.actions button.cancel, h3 button.cancel) {padding: 0 25px}
	button.go {border-top-left-radius: 0; border-bottom-left-radius: 0}
	button.schedule {padding: 0 20px 0 30px}
	button.schedule:before {content: "+"; font-family: "Lato", sans-serif; font-size: 1.2em; margin: 2px -12px; position: absolute}
	button.showFilters.icon span, button.hideFilters.icon span {padding: 10px 0 12px 12px}
	button.showFilters.icon:before, button.hideFilters.icon:before {content: "\f38b"}
	button.hideNotes.iconOnly:before {content: "\f405"; font-size: 1.75em}

	button.edit:before {content: "\f37e"}
	button.full.edit {padding: 0 0 0 20px}
	button.full.edit:before {font-size: 1.25em; margin: 10px -17px; position: absolute}
	button.delete:before, button.cancel:not(.side .cancel, .write .ctas .cancel, .write h3 button.cancel, .faqCtas button.cancel):before {content: "\f37f"}
	button.full.delete {padding: 0 0 0 20px}
	button.full.delete:before {content: "\f37f"; margin: 8px -14px; position: absolute; font-size: 1.4em}
	button.destroy:before {content: "\f405"}
	button.full.destroy {padding: 0 0 0 20px}
	button.full.destroy:before {margin: 6px -21px; position: absolute; font-size: 1.6em}
	button.full.nuke {padding: 0 0 0 20px}
	button.nuke:before {content: "\f2a4"}
	button.full.nuke:before {margin: 6px -23px; position: absolute; font-size: 1.6em}

	button.fire:before, button.retire:before {content: "\f42e"; font-size: 1.9em}
	button.hire:before, button.revive:before {content: "\f493"; font-size: 1.9em; color: var(--go)}
	button.iconOnly.remove {position: absolute; margin: 0 -50px; z-index: 3; padding: 5px 0; width: 50px; height: 45px}
	button.remove:before {content: "\f405"}
	button.about:before {content: "\f44c"}
	button.taught:before {content: "\f47e"; font-size: 1.6em}
	button.reinstate:not(.outline.reinstate):before {content: "\f49d"}
	button.waiting:before {content: "\f127"}
	button.confirm:before {content: "\f10c"}
	button.reschedule:before {content: "\f3f3"}

	button.delegatesCta {padding: 0 10px 0 30px; margin: 0 0 -5px 0}
	button.bookings {padding: 0 20px 0 35px}
	button.delegatesCta.icon span {padding: 3px 0 5px 12px}
	button.delegatesCta:before {content: "\f2b5"; font-size: 1.6em; margin: -1px -16px; position: absolute}
	.eventsList button.delegatesCta:before {content: "\f47c"; font-size: 1.6em; margin: 1px -20px; position: absolute}
	button.bookings:before {content: "\f2b5"; font-size: 1.6em; margin: 5px -16px; position: absolute}

	button.clearSearch {padding: 1px 20px 1px 20px; position: absolute; margin: -46px -6px; border-top-left-radius: 0; border-bottom-left-radius: 0}
	button.clearSearch:before {content: "\f405"}

	button.showGraphs:before, button.hideGraphs:before {content: "\f2b5"}
	button.export:before {content: "\f2dd"; font-size: 1.5em}

	.list
	{
		.ctas:not(div.ctas)
		{
			button.iconOnly {width: 30px; height: 30px; padding: 0; display: inline-block}
			button.iconOnly:before {font-size: 1.5em; margin: 0}
			button.cancel {padding: 0}
		}
		div.ctas
		{
			button.save {float: left; margin: 0 15px 0 0}
		}
	}

/* hyperlink icons */
	a.dm:before {background-image: url('teams.png'); background-size: 400%; position: absolute; width: 30px; height: 30px; margin: 3px 0 0 3px}
    a.countdownLink {padding: 0 0 0 32px}
	a.delete:before {content: "\f37f"}
    a.countdownLink:before {content: "\f4be"; margin: 8px -32px; position: absolute; font-size: 1.4em}
    a.credit:before {content: "\f2aa"; margin: 8px -21px; position: absolute; font-size: 1.4em}
    a.files {padding: 0 0 0 16px}
    a.files:before {content: "\f41b"; margin: 8px -14px; position: absolute; font-size: 1.4em}
    a.teamsChannel {padding: 0 0 0 24px}
	a.teamsChannel:before {background-image: url('teams.png'); background-size: 400%; position: absolute; width: 30px; height: 30px; margin: 8px 0 0 -30px}
	a.iconOnly.page:before {content: "\f4d2"; font-size: 2em}
	a.iconOnly.email:before {content: "\f422"; font-size: 2em}
	a.iconOnly.mobile:before {content: "\f1fa"; font-size: 2em}
	a.iconOnly.directions:before {content: "\f46d"; font-size: 2em}
	a.iconOnly.linkedIn:before {content: "\f239"; font-size: 2em}


/* skip link */
	.skipto {position: absolute; height: 1px; width: 1px; overflow: hidden; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); white-space: nowrap; line-height: 2em; display: block; top: 13px; left: 0; padding: 4px 20px 4px 15px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; color: var(--textOverBase)}
	.skipto:focus {height: auto; width: auto; clip: auto; z-index: 2}


/* navigation */
	.nav
	{
		margin: 0 auto; padding: 0; width: 1200px; text-align: center; position: absolute; top: 0; left: 0; right: 0; z-index: 1; transition: background ease 0.25s;
		li
		{
			display: inline-flex; height: 70px; width: 152px; margin: 0; padding: 0; float: left; font-weight: 900; text-transform: uppercase; font-size: 0.95em;
			a {display: block; width: 100%; line-height: 440%; padding: 0; text-align: center; outline: none; color: var(--textOverBase)}
			a:focus {text-decoration: underline; background-color: var(--cta)}
			a:hover {color: var(--textOverBase)}
		}
		li:hover {background: var(--cta)}
		li.nav_organisations {width: 190px}
		li.nav_users
		{
			width: 98px; z-index: 1; position: relative; background-image: url('user.png'); background-repeat: no-repeat; background-size: 58%; background-position: 50% bottom;
			a {background-image: url('user.png'); background-repeat: no-repeat; background-size: 58%; background-position: 50% bottom; z-index: 1; position: relative}
			a span {display: block; text-align: left; margin: 70px 0 0 0; padding: 8px 0 0 20px; line-height: 150%; text-transform: capitalize; font-weight: 300}
			ul {margin: 0; padding: 0; list-style: none; height: 0; overflow: hidden}
			li {margin: 0; padding: 0; width: 98px; list-style: none; text-align: left; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; background: var(--cta)}
			button {text-align: left; margin: 35px 0 0 20px; padding: 0; min-width: 10px; height: 21px; border: 0; background: none; outline: none; font-weight: 300; color: var(--textOverBase)}
			button:hover, button:focus, a:hover span, a:focus span {text-decoration: underline}
		}
		li.nav_users > span {.hidden()}
		li.nav_users:hover ul, li.nav_users:focus-within ul {overflow: visible}
		li.activeMenu
		{
			border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; background-color: var(--cta);
			&:before {content:''; width: 0; height: 0; border-style: solid; border-width: 6px 10px 0 10px; border-color: var(--cta) transparent transparent transparent; position: absolute; margin: 70px 0 0 66px}
		}
		li.activeMenu a {color: var(--textOverBase)}
		li.nav_users.activeMenu:before {display: none}
		li.nav_organisations.activeMenu:before {margin: 70px 0 0 85px}
		.logo {background: 0 0 no-repeat; background-size: 100%}
	}
	.nav:hover li.activeMenu {border-radius: 0}


/* statuses */
	.missing:not(h1) {color: var(--missing)}
	.error, .success {padding: 15px 15px 15px 52px; margin: 15px 0 0 0; font-style: italic; border-radius: 3px; font-weight: 400; background: var(--missing); color: var(--textOverBase)}
	.success {padding: 15px 15px 15px 57px; background: var(--go)}
	.outer > .error, .outer > .success {margin: 0; border-radius: 0}
	.error:before, .success:before {content: "\f3c7"; font-family: "Ionicons"; margin: -6px 0 0 -38px; position: absolute; font-size: 2em; font-style: normal}
	.success:before {content: "\f383"; margin: -2px 0 0 -35px; font-size: 1.6em}
	.addError {margin: -21px -21px 15px -21px; border-radius: 0; border-top-right-radius: 3px}
	.error a, .success a {text-decoration: underline; color: var(--textOverBase)}
	.error a:hover, .success a:hover {text-decoration: none}
	.running {color: var(--runningTxt)}
	.alert {color: var(--alertTxt)}
	.outer > .missing {margin: 0; padding: 7px 25px 10px 25px; font-size: 1.35em; font-style: italic; text-align: center; background: var(--missing); color: var(--textOverBase)}
	span.missing {font-style: italic; color: var(--missing)}


/* headings */
    h1, h2:not(.side h2, .home h2) {font-family: 'Raleway', sans-serif; font-weight: 900; text-transform: uppercase}
    h1
	{
		font-size: 2.5em; margin: 20px 0; outline: none;
		&:before {font-family: "Ionicons"; font-weight: 200; position: absolute}
	}
	h1.missing {margin: 40px 0 5px 20px}
	h1.missing + .message {margin: 0 20px}
    h2 {font-size: 1.75em}


/* heading icons*/
	.faqs h1 {padding: 0 0 0 50px}
	.faqs h1:before {content: "\f445"; font-size: 1em; margin: 0 0 0 -50px}
	.credits h1, .prices h1 {padding: 0 0 0 60px}
	.credits h1:before, .prices h1:before {content: "\f2aa"; font-size: 1.1em; margin: 0 0 0 -60px}
	.bookingSources h1 {padding: 0 0 0 60px}
	.bookingSources h1:before {content: "\f2b2"; font-size: 1.1em; margin: 0 0 0 -60px}
	.settings h1 {padding: 0 0 0 50px}
	.settings h1:before {content: "\f411"; font-size: 1.15em; margin: -2px 0 0 -50px}
	.eventTypes h1 {padding: 0 0 0 65px}
	.eventTypes h1:before {content: "\f343"; font-size: 1.15em; margin: -3px 0 0 -65px}
	.dataStates h1 {padding: 0 0 0 50px}
	.dataStates h1:before {content: "\f2b5"; font-size: 1.15em; margin: -2px 0 0 -50px}
	.paymentStates h1 {padding: 0 0 0 52px}
	.paymentStates h1:before {content: "\f4be"; font-size: 1em; margin: 0 0 0 -52px}
	.paymentMethods h1 {padding: 0 0 0 60px}
	.paymentMethods h1:before {content: "\f119"; font-size: 1.15em; margin: -2px 0 0 -60px}
	.users h1 {padding: 0 0 0 62px}
	.users h1:before {content: "\f47c"; font-size: 1.25em; margin: -5px 0 0 -62px}
	.user h1 {padding: 0 0 0 75px}
	.user h1:before {content: ""; margin: -8px 0 0 -75px; width: 60px; height: 60px; display: inline-block; background: url("user.png") no-repeat; background-size: 95%; position: absolute; -moz-transform: scaleX(-1); -o-transform: scaleX(-1); -webkit-transform: scaleX(-1); transform: scaleX(-1); filter: FlipH; -ms-filter: "FlipH"}
	.venues h1 {padding: 0 0 0 50px}
	.venues h1:before {content: "\f448"; font-size: 1.15em; margin: -4px 0 0 -50px}
	.trainers h1 {padding: 0 0 0 55px}
	.trainers h1:before {content: "\f357"; font-size: 1.15em; margin: -4px 0 0 -55px}
	.courses h1 {padding: 0 0 0 60px}
	.courses h1:before {content: "\f3ea"; font-size: 1.1em; margin: 0 0 0 -60px}
	.organisations h1 {padding: 0 0 0 65px}
	.organisations h1:before {content: "\f26c"; font-size: 1.2em; margin: -5px 0 0 -65px}
	.delegates h1 {padding: 0 0 0 50px}
	.delegates h1:before {content: "\f47e"; font-size: 1.2em; margin: -3px 0 0 -50px}
	.events h1 {padding: 0 0 0 55px}
	.events h1:before {content: "\f3f3"; font-size: 1.1em; margin: -2px 0 0 -55px}

	.organisation.orphaned .inner.dual h1 {padding: 0 0 10px 60px}
	.organisation.orphaned .inner.dual h1:before {content: "\f212"; font-size: 1.15em; margin: -5px 0 0 -60px}

	.side
	{
		.dietary, .events, .courses, .notes, .pricing, .detail, .organisation, .trainers, .summary, .logistics, .venues
		{
			h2:before {font-family: "Ionicons"; position: absolute; font-size: 1.6em; font-weight: 100}
		}

		.dietary h2:before {content: "\f4d1"; margin: -3px 0 0 302px}
		.events h2:before {content: "\f3f3"; margin: -3px 0 0 300px}
		.courses h2:before {content: "\f3e9"; margin: -3px 0 0 297px}
		.venues h2:before {content: "\f448"; margin: -3px 0 0 297px}
		.notes h2:before {content: "\f3fb"; margin: -3px 0 0 297px}
		.pricing h2:before {content: "\f2aa"; margin: -1px 0 0 297px; font-size: 1.4em}
		.detail h2:before {content: "\f44c"; margin: -1px 0 0 300px; font-size: 1.4em}
		.organisation h2:before {content: "\f26c"; margin: -3px 0 0 295px; font-size: 1.5em}
		.trainers h2:before {content: "\f357"; margin: -3px 0 0 296px}
		.summary h2:before {content: "\f2b5"; margin: -3px 0 0 300px}
		.logistics h2:before {content: "\f411"; margin: -2px 0 0 298px}
	}


/* add an item */
	#showHideAddItem {transition: max-height 0.35s ease-out; max-height: 0; overflow: hidden; position: relative}
	#addItem
	{
		display: none; border-radius: 3px; padding: 20px; border-top-left-radius: 0;
		input:not(.searchQuery), textarea {margin: 0 0 15px 0}
		select {display: block; margin: 0 0 20px 0}
	}
	.hideAddItem {border-bottom-left-radius: 0; border-bottom-right-radius: 0}


/* search */
	.search:not(#addItem .search, .write .search, .returnRescheduleContent .search) {border-radius: 3px; padding: 15px 20px 20px 20px; margin: 25px 0 20px 0; border: 1px solid var(--borderLightest); background: var(--defaultBg)}
	.search #addAnyway, .search .searchActions, #addItem #addAnyway, #addItem .searchActions {display: none}
	.search
	{
		.autocompleteSearch {display: table}

		label:not(#addItem label, .write label) {font-size: 1.2em; margin: 0 0 10px 0; font-weight: 900}
		.searchQuery {z-index: 2; position: relative; display: table-cell}

		.searchResult {position: absolute; z-index: 1; max-height: 250px; margin: -2px 0; overflow: scroll; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border: 1px solid var(--cta); box-shadow: 0 0 10px 0 var(--shadowMedium)}
		.searchResult:empty {display: none !important}

		.searchResultItem {background: var(--pageBg); border-top: 1px solid var(--ctaLtBorder)}
		.searchResultItem .primary:not(#organisationSearch .primary, #courseSearch .primary, #addToOrganisationSearch .primary, #groupOrganisationSearch .primary, #bookingOrganisationSearch .primary) {display: block; padding: 8px 0 0 0; font-weight: 500}
		.searchResultItem .primary span {display: inline}
		.searchResultItem .missing {display: inline; font-style: italic}
		.searchResultItem .suffix {padding: 0 0 10px 0; font-style: italic}
		.searchResultItem button {border-radius: 0; width: 100%; text-align: left; padding: 0 10px; background: none; color: var(--cta)}
		.searchResultItem button:hover, .searchResultItem button:focus {background: var(--ctaLtBg)}
		.searchResult button span {overflow: hidden; text-overflow: ellipsis}
		.searchResultReturned {z-index: 1; display: table-cell}
		.searchActions a
		{
			z-index: 3; position: relative; padding: 10px 20px 10px 20px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; margin: 0 0 0 -2px; background: var(--cta); color: var(--textOverBase); display: table; table-layout: fixed;
			&:after {content: "›"; padding: 0 0 0 0.5em; font-weight: 500; display: table-cell}
			span:not(.home .searchActions a span, .events .searchActions a span) {.ellipsis()}
		}
	}


/* presenter card */
	.presenter
	{
		.name
		{
			padding: 20px 0 0 110px; height: 75px; color: var(--textOverBase);
			a {color: var(--textOverBase)}
			h3 {margin: 0; line-height: 120%}
			.photo {position: absolute; border-top-left-radius: 4px; border-top-right-radius: 4px; width: 87px; height: 87px; margin: -12px 0 0 -100px; background-image: url('avatar.png'); background-size: cover; background-repeat: no-repeat}
			.trainer {width: 190px; .ellipsis()}
			.prefix, .suffix {font-weight: 200; font-size: 0.85em}
			.teaches.missing {font-style: italic; color: var(--textOverBase)}
		}
		button.iconOnly.about
		{
			color: var(--textOverBase); float: right;
			&:before {font-size: 1.5em}
		}
	}

/* info panel */
	.info
	{
		display: none; position: absolute; width: 350px; margin: -8px -361px; padding: 5px 0 0 0; white-space: normal; background: var(--textOverBase); z-index: 1; border: 1px solid var(--lighterBase); border-radius: 5px; box-shadow: var(--shadowMedium) 0 0 10px 0; text-align: left; font-weight: 300;
		div {margin: 0 15px 10px 15px; padding: 0; line-height: 1.4em}
		h3 {font-size: 1em; font-weight: 700; margin: 5px 0 0 0; padding: 0; line-height: 1.35em}
		p {margin: 0 0 10px 0; padding: 0 0 10px 0; line-height: 1.4em; font-style: normal; color: var(--defaultText); border-bottom: 1px solid var(--borderLight)}
		p:last-child {padding: 0; border: 0}
	}
	.info:after {content: ''; position: absolute; border-style: solid; border-width: 9px 0 9px 9px; border-color: transparent transparent transparent var(--lighterBase); margin: 13px 351px; top: 0}
	.cards .info:before {content: ''; position: absolute; border-style: solid; border-width: 0 9px 9px 9px; border-color: transparent transparent var(--textOverBase) transparent; margin: -10px 339px; top: 0}
	.cards .info:after {display: none}

/* completion dial */
	.completion
	{
		background-image: conic-gradient(var(--cta) var(--value), var(--completion) var(--value)); box-shadow: var(--shadowMedium) 0 0 5px 0; width: 60px; height: 60px; border-radius: 50%; position: relative;
		span {z-index: 1; font-style: normal; font-weight: 700; font-size: 0.9em; position: relative; display: block; text-align: center; padding: 18px 0 0 1px}
  		--value: 0%;
		&:after {content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: calc(100% - 10px); height: calc(100% - 10px); border-radius: inherit}
	}
	.completion.complete {background-image: conic-gradient(var(--completionComplete) var(--value), var(--completion) var(--value))}
	.completion.alert {background-image: conic-gradient(var(--completionAlert) var(--value), var(--completion) var(--value))}
	.completion.warning {background-image: conic-gradient(var(--completionWarning) var(--value), var(--completion) var(--value))}


/* graphs */
	#showHideGraphs {transition: max-height 0.35s ease-out; max-height: 352px; overflow: auto; position: relative}
	#showHideGraphs.graphsInvisible {max-height: 0}
	#graphsCta {margin: 28px 0 0 0; float: right}
	.hideGraphs {background: var(--hideGraphsBg); color: var(--hideGraphsText)}
	.graphs {margin: 20px 0 0 0; border: 1px solid var(--borderLight); background: var(--pageBg2); border-radius: 5px; text-align: center}
	.graphs > div {display: inline-block; padding: 10px 15px 20px 15px;}
	.graphs h2:not(.home .graphs h2) {.hidden()}
	.graphs div h3 {margin: 0 0 15px 0; text-transform: none; font-size: 1em; font-family:'Rawline Thin'; padding: 0 0 10px 0; text-align: left; border-bottom: 1px solid var(--borderLight)}
	.graphs p.missing {width: 345px; height: 250px; vertical-align: middle; display: table-cell; color: var(--disabled); font-style: italic; background: var(--noGraphDataBg); border: 1px solid var(--noGraphDataBorder); padding: 0; margin: 0}


/* footer */
    .ftr
	{
		margin: 0; padding: 0 20px; text-align: right; position: absolute; width: 1160px; height: 120px; bottom: -120px; transition: background ease 0.25s; color: var(--textOverBase);
		li
		{
			margin: 0; padding: 70px 0 0 0; list-style: none; line-height: 250%; display: inline-block; font-weight: 300;
			&:before {content: "|"; padding: 0 10px; color: var(--disabledOverBase)}
			&:first-child:before {content: ""}
			a {color: var(--textOverBase)}
		}
	}
	.ftr.admin
	{
		padding: 0 20px;
		li {padding: 0; margin: 20px 0 -20px 0}
	}


/*********************** list pages ***********************/

/* setup */
	.setup
	{
		margin: 0 auto;
		.outer {height: auto; min-height: 100%}
		.inner {padding: 20px 50px}
		label {margin: 0 0 10px 0}
		input {margin: 0 0 20px 0}
		button {display: block; margin: 10px 0; width: 250px}
		input.organisation {width: 250px}
		input.email {width: 250px}
		input.event {width: 100px}
	}

/* home */
	.home
	{
		#addItem
		{
			.conjunction {margin: 10px 0 4px 0; display: block; width: 600px; text-align: center; font-weight: 700; font-style: italic; font-size: 1.5em}
			.searchResult, .searchActions a span {max-width: 670px}
			.searchResultReturned button {margin: -30px 0 0 -3px; font-weight: 500; padding: 0 20px; z-index: 2; color: var(--textOverBase)}
		}
		.name:not(.cards .name), .searchQuery, .searchResult button .primary {width: 579px}
		.searchResult, .searchActions a span {max-width: 680px}
		.searchActions span {font-weight: 500}
		button.selectResult span:not(.primary) {padding: 4px 0 10px 0}
		
		h1 {font-family: 'Lato', sans-serif; text-transform: none; margin: 10px 0 20px 0}
		h2 {background: var(--body); color: var(--defaultText); padding: 8px 15px 10px 15px; font-weight: 700; font-size: 1.2em; text-transform: none ; font-family: 'Lato', sans-serif; border-radius: 3px; display:inline-block; position: absolute}
		
		.content
		{
			background: var(--homeGraphsBg); border: 1px solid var(--borderLightest); margin: 30px auto 35px auto; border-radius: 3px;
			h2 {margin: -15px}
			.stats
			{
				padding: 15px 0 0 0; display: table; width: 97%; text-align: center; margin: 0 auto;
				div {display: table-cell; vertical-align: middle; padding: 10px 0; border-left: 1px solid var(--homeStatsBorder); width: 25%}
				div:first-child {border: 0}
				a {display: block; color: var(--defaultText)}
				a:hover {text-decoration: none}
				span {display: block; font-size: 2em; font-weight: 900; line-height: 110%}
				span:nth-child(2) {font-size: 0.85em; font-weight: 300}
			}
			.stats + .stats {padding: 0 0 15px 0; border-top: 1px solid var(--homeStatsBorder)}
		}
		.upcoming
		{
			display: table;
			.future, .latest {display: table-cell}
			h2 {background: var(--body); color: var(--defaultText); margin: -15px 0 0 -15px; padding: 8px 15px 10px 15px; font-size: 1.2em; text-transform: none ; font-family: 'Lato', sans-serif; border-radius: 3px; display:inline-block; position: absolute}
			ol
			{
				list-style: none; margin: 0 0 5px 0; padding: 30px 0 0 0; height: 315px; overflow: scroll; background: var(--homeGraphsBg); border: 1px solid var(--borderLightest); border-radius: 3px;
				li {padding: 10px 20px}
				a.event, .detail {display: block}
				li.missing a, li.missing span:not(.missing) {color: var(--disabled)}
				.today {color: var(--runningTxt)}
			}
			.future ol
			{
				margin: 0 35px 5px 0;
				a {.ellipsis(); width: 325px}
				.prefix {font-weight: 600}
				.date, .trainer, .venue {display: block; font-style: italic}
				.delegates {display: block; font-weight: 400}
			}
			.latest ol
			{
				a.event, .detail {.ellipsis(); width: 705px}
				.detail {font-style: italic}
				.delegate {font-weight: 600}
			}
			.future p, .latest p {background: var(--homeGraphsBg); border: 1px solid var(--borderLightest); border-radius: 3px;  padding: 30px 0 0 0; height: 305px; padding: 40px 20px 0 20px}
			.future p
			{
				margin: 0 35px 5px 0; width: 326px;
				.prefix {clear: left}
				.intro {display: block}
				.prefix {font-weight: 600}
			}
			.latest p {margin: 0 0 5px 0; width: 704px}
			
		}
		.graphs
		{
			margin: 30px 0 0 0; padding: 30px 0 0 0; border: 1px solid var(--borderLightest); background: var(--homeGraphsBg);
			h2 {margin: -46px 0 0 -22px}
		}
	}

/* login */
	.login
	{
		h1 span {font-weight: 100}
		input.email, input.password {width: 300px; margin: 0 0 20px 0}
		p {margin: 10px 0 0 0}
		p:first-of-type {margin: 25px 0 0 0}
		p a {font-weight: 500}
	}

/* register */
	.register
	{
		h1 span {font-weight: 100}
		.name {width: 250px}
		input.email, input.password {width: 300px}
		.inner div { margin: 20px 0}
		p {margin: 25px 0 10px 0}
		p a {font-weight: 500}
		.password button span {.hidden()}
		.password button {position: absolute; margin: 0 -50px; padding: 0; min-width: 50px; border-radius: 0; border-top-right-radius: 3px; border-bottom-right-radius: 3px}
	}
	#firstuser
	{
		height: 100%;
		body {margin: 0 auto; height: 100%}
		.outer {height: auto; min-height: 100%}
		.inner {padding: 20px 50px}
		p {padding: 12px 18px; border: 1px solid var(--borderLight); background: var(--pageBg2); border-radius: 3px}
	}

/* FAQs */
	.faqs
	{
		#addItem
		{
			.question, .answer {width: 1088px}
		}

		.contentHdr
		{
			border: 0; margin: 0; padding: 0;
			h2 {padding: 0}
		}

		.resultsSort {margin: 15px 0; text-align: right; border-radius: 3px; padding: 15px; border: 1px solid var(--borderLightest); background: var(--pageBg2)}

		h2 {font-size: 1.5em; margin: 0}
		h2 a {color: var(--defaultText)}
		.missing {font-style: italic; font-weight: 300; margin: 5px 0 0 0; color: var(--disabled)}

		dl {margin: 0}
		dt {margin: 15px 0 0 0; padding: 10px 0 0 0; border-top: 1px solid var(--border)}
		dd {margin: 0}

		h3 {margin: 0 0 3px 0; padding: 0}
		dt span:not(button span) {font-weight: 400; font-style: italic}
		dd.read {padding: 5px 0; line-height: 130%; white-space: pre-line}

		dt.write
		{
			padding: 20px 20px 0 20px; margin: 30px 0 0 0; border: 1px solid var(--borderLightest); border-bottom: 0; border-top-left-radius: 5px; border-top-right-radius: 5px;
			&:before {content: ""; margin: -36px 0 0 25px; display: block; position: absolute; width: 1150px; left: 0; border-top: 1px solid var(--border)}
		}
		dd.write {padding: 1px 20px 20px 20px; margin: 0 0 15px 0; border: 1px solid var(--borderLightest); border-top: 0; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px}
		.write label {.hidden()}
		.write input {width: 1086px; display: block; height: 30px; padding: 5px 10px}
		.write textarea {width: 1086px; margin: 15px 0}

		.faqCtas {display: table; float: right}
		.faqCtas button {display: table-cell; vertical-align: middle}
		.faqCtas .reinstate {margin: 0 8px 0 0}
		.write .faqCtas button {margin: 0 0 0 12px}
	}

/* credits */
	.credits
	{
		.current .contentHdr h2 {.hidden()}
		input.amount, .amount input {width: 55px}
	}

/* pricing */
	.prices
	{
		#addItem 
		{
			.notes {width: 268px; margin: 0 0 20px 0}
			select {margin: 0 0 15px 0}
		}
		
		input.name, .name input {width: 200px}
		.notes input {width: 225px}
		input.amount, .amount input {width: 60px}
		input.credit, .credit input {width: 45px}
		
		.current .course select {max-width: 350px; padding: 8px 6px}
		.deleted .course select, .destroyed .course select {width: 229px; padding: 8px 6px}
		td.save button.save {width: 100px}

		.multiday
		{
			border: 1px solid var(--borderLightest); border-radius: 5px; padding: 15px 18px; margin: 20px 0 0 0;
			h2 {text-transform: none; font-family: 'lato', sans-serif; font-size: 1.2em; border: 0; margin: 0; padding: 0}
			p {margin: 5px 0 15px 0; font-weight: 400; line-height: 140%; padding: 0 0 10px 0; border-bottom: 1px solid var(--borderLightest)}
			.discount
			{
				display: table;
				* {display: table-cell; vertical-align: middle}
				input {width: 55px; padding: 9px 10px; margin: 0 10px}
			}
		}
	}

/* booking sources */
	.bookingSources
	{
		input.name, .name input {width: 279px}
		th {.hidden()}
	}

/* settings */
	.settings
	{
		input.parameter, input.value, .parameter input {width: 214px}
		.value input {width: 350px}
	}

/* event types */
	.eventTypes
	{
		.current .contentHdr h2 {.hidden()}
		input.name, .name input {width: 244px}
		input.prefix, .prefix input {width: 40px}
		input.label, .label input {width: 150px}
		.remote {text-align: center}
		th.remote {padding: 0 10px 2px 10px}
		.checkboxes label span span {.hidden()}
	}

/* data states */
	.dataStates
	{
		.current .contentHdr h2 {.hidden()}
		input.name, .name input {width: 238px}
		input.order, .order input {width: 55px}
	}

/* payment states */
	.paymentStates
	{
		input.name, .name input {width: 271px}
	}

/* payment methods */
	.paymentMethods
	{
		.current, .cancelled, .deleted, .destroyed {overflow: auto}
		.current .contentHdr h2 {.hidden()}
		.current .paymentMethod {margin: 15px 47px 20px 0; float: left}
		.deleted .paymentMethod, .destroyed .paymentMethod {margin: 15px 42px 0 0; float: left}
		.paymentMethod:nth-child(3n+3) {margin: 15px 0 20px 0}
		
		.paymentMethodHdr
		{
			display: table; margin: 0 0 12px 0;
			label {.hidden()}
			* {display: table-cell; vertical-align: middle}
			button.save, button.reinstate {margin: 0 5px 0 10px}
		}

		input.name {width: 170px}
		.order input {width: 30px; margin: 0 10px 0 0}
	}

/* user */
	.user
	{
		.inner div {margin: 20px 0}
		.password button span {.hidden()}
		.password button {position: absolute; margin: 0 -50px; padding: 0; min-width: 50px; border-radius: 0; border-top-right-radius: 3px; border-bottom-right-radius: 3px}
		input.name {width: 200px}
		input.greeting {width: 500px}
		input.email {width: 300px}
		input.password {width: 200px; padding: 9px 49px 9px 10px}
		input.results {width: 55px}
		.save {margin: 10px 0 0 0}
		.error {margin: 0 0 -10px 0}
	}

/* export */
	.export
	{
		select {float: left; margin: 0 15px 0 0}
	}

/* venues */
	.venues
	{
		#addItem
		{
			.checkboxes {margin: 0 0 6px 0}
			#city {width: 165px}
			.room, .name {min-width: 225px}
		}

		.list
		{
			width: auto;
			th.directions {.hidden()}
			.room a span {font-weight: 600}
			.room {.ellipsis(); .td(); min-width: 200px; max-width: 285px}
			.name {.ellipsis(); .td(); min-width: 200px; max-width: 300px}
			.city {.ellipsis(); .td(); min-width: 175px; max-width: 225px}
			.postcode {width: 110px}
			.capacity {width: 85px; text-align: center}
			td.directions {width: 45px; text-align: center}
		}
	}

/* courses */
	.courses
	{
		#addItem
		{
			.name {width: 550px}
		}

		.list
		{
			.name {padding-right: 17px}
			.trainer a span {.ellipsis(); width: 150px}
			td.page {text-align: center; width: 45px}
			.revenue {padding-right: 7px}
		}

		.cards
		{
			.name
			{
				h3 a {height: 90px; width: 260px; -webkit-line-clamp: 3}
			}
			.callout {transform: rotate(50deg); padding: 4px 0 6px 0; margin: 24px 0 0 246px; width: 160px}
			.keyinfo dd {width: 275px}
		}
	}

/* trainers */
	.trainers
	{
		.list
		{
			width: auto;
			.delegates {padding-left: 10px}
			th.name span {.hidden()}
			td.name
			{
				width: 330px;
				&:before {content:" "; border: 2px solid var(--photoBorder); border-radius: 50%; position: absolute; width: 75px; height: 75px; margin: -2px}
				a
				{
					position: relative; display: table; table-layout: fixed; width: 100%;
				 	span {display: table-cell; vertical-align: middle}
					.name {padding: 0 0 0 15px; overflow: hidden; text-overflow: ellipsis}
				}
				a.retired {filter: grayscale(100%)}
			}

			.photo
			{
				width: 75px; height: 75px; background-image: url('avatar.png'); background-size: cover; background-repeat: no-repeat; border-radius: 50%; position: unset;
			}
		}
		.cards
		{
			.suffix.missing {color: inherit}
		}

	}

/* organisations */
	.organisations
	{
		#addItem #name {width: 300px}
		.searchQuery, .searchResult button span {width: 430px}
		.searchResult, .searchActions a span {max-width: 450px}

		.list
		{
			td.name a span {max-width: 381px}
		}

		.cards
		{
			.name
			{
				h3 a {height: 60px}
				a.hascredit {width: 260px}
			}
			.callout {transform: rotate(30deg); padding: 4px 0 6px 25px; margin:10px 0 0 215px; width: 145px}
			.stats {padding: 10px 0}
			.stats div {height: 64px}
			.hideNotes span:not(button span) {height: 197px; margin: -175px 0 0 -10px}
			.hideNotes button {margin: -168px 0 0 291px}
}
		
		.orphanedDelegates
		{
			.list
			{
				width: auto;
				td.name {width: 275px; font-weight: 600}
				revenue {padding-right: 7px}
			}
		}
	}

/* credits for organisations */
	.creditsForOrganisations
	{
		.inner.dual h1:not(.missing)
		{
			margin: 10px 0 20px 0; padding: 0 0 15px 60px; font-family: "Rawline Black";
			&:before {content: "\f2aa"; font-size: 1em; margin: 10px 0 0 -53px}
			.organisation {font-size: 0.8em; display: block; font-weight: 300; margin: 0 0 0 -60px; line-height: 100%}
			.conjunction {font-weight: 200; font-family: 'lato', sans-serif; line-height: 110%; text-transform: none; color: inherit}
			a {color: inherit}
		}

		#addItem
		{
			legend {display: block; font-weight: 500; margin: 0 0 6px 0}
			.date {margin: 0 0 20px 0; overflow: auto}
			.date select {display: block; float: left; margin: 0 15px 0 0}
			.radios {padding: 0}
			.radios div {float: left; margin: 0 0 5px 0; min-width: 85px}
			.radios div.custom {float: none; clear: both}
			input[type="number"] {margin: 0 0 15px 6px; width: 55px}
		}

		.date label {.hidden()}

		.list
		{
			width: auto;
			.date, .amount, .days {padding-right: 20px}
			.course a {font-weight: 500}
			.course span {.ellipsis(); width: 348px}
			.delegate a {.ellipsis(); width: 170px}
			.cancel {padding: 10px 3px}
		}
		.side
		{
			.pricing dt:last-of-type {font-weight: 700}
		}
	}

/* delegates */
	.delegates
	{
		#addItem
		{
			.name {width: 225px}
			.searchQuery, .searchResult button span {width: 430px}
			.searchResult, .searchActions a span {max-width: 450px}
			.search {margin: 0 0 20px 0}
		}
		
		.searchQuery, .searchResult button span {width: 280px}
		.searchResult, .searchActions a span {max-width: 300px}

		.list
		{
			td.name {padding-right: 15px}
			td.name a span {min-width: 190px; max-width: 350px}
			td.organisation {max-width: 328px}
			th.email, td.email {padding-right: 13px}
		}
		
		.cards
		{
			.name
			{
				padding: 12px 20px 15px 20px;
				a {.ellipsis()}
			}
			.keyinfo dd {width: 285px}
			stats div {width: 50%}
		}
	}

/* events */
	.events
	{
		#addItem
		{
			.conjunction {margin: 10px 0 4px 0; display: block; width: 600px; text-align: center; font-weight: 700; font-style: italic; font-size: 1.5em}
			.searchResult, .searchActions a span {max-width: 670px}
			.searchResultReturned button {margin: -30px 0 0 -3px; font-weight: 500; padding: 0 20px; z-index: 2; color: var(--textOverBase)}
		}
		.name:not(.cards .name), .searchQuery, .searchResult button .primary {width: 579px}
		.name.noCta:not(.cards .name) {width: 624px}
		.searchResult, .searchActions a span {max-width: 680px}
		.searchActions span {font-weight: 500}
		button.selectResult span:not(.primary) {padding: 4px 0 10px 0}
		
		.empty {margin: 0; font-style: italic; color: var(--disabled)}
		.today {color: var(--runningTxt)}

		.list
		{
			td {vertical-align: top}
			td.name .capacity, td.name, .notes {max-width: 579px; .ellipsis()}
			td.name.noCta {max-width: 624px}
			td.name .capacity span {font-weight: 400}
			td.name .capacity span.capacityLimits {font-weight: 300; font-style: italic}
			td.name .notes {margin: 0; font-style: italic; color: var(--disabled)}
			td.date {font-weight: 500; width: 120px}
			td.date span.countdown {display: block; font-weight: 300}
			td.logistics span {width: 176px; .ellipsis()}
			td.logistics .trainer {font-weight: 500}
			td.logistics .venue a:not(.missing) {color: var(--defaultText)}
			.bookings .revenue {display: block; font-weight: 700; padding-right: 0; max-width: 130px; overflow: hidden}
			.missing {font-style: italic}
			td.cancel, td.delete, td.destroy, td.nuke {padding-top: 18px}
			td.reinstate {padding-top: 13px}
		}
		
		.cards
		{
			.name
			{
				h3 a {height: 60px}
				.tc {float: right}
				span {font-weight: 200; display: block; margin: 0 0 5px 0; font-size: 1.1em}
				.date a.missing {font-style: italic; color: var(--missing)}
				.iconOnly.about {float: right; color: var(--textOverBase); margin: -3px -10px 0 5px; font-size: 0.7em}
				.info {margin:38px -10px; width: 312px; color: var(--defaultText); padding: 8px 15px 10px 15px; line-height: 130%}
				.info:before {margin: -8px 301px}
			}
			.keyinfo
			{
				padding: 7px 20px 12px 20px; min-height: 50px;
				.capacityLimits {font-weight: 300; font-style: italic}
			}
			.content {box-shadow: 0 0 10px 0 var(--shadow)}
			dl.detail
			{
				dt {min-width: 60px}
				dd a {font-weight: 300}
				dd a:not(.missing) {width: 270px; .ellipsis()}
			}
		}
	}


/*********************** detail pages ***********************/

/* layout */
	.inner.dual
	{
		display: table; padding: 0;
		h1 {border-bottom: 1px solid var(--defaultText); padding: 0 0 10px 0}
		.main, .side {display: table-cell; padding: 20px; vertical-align: top}
	}
		
	.main
	{
		width: 800px;
		p.missing {font-style: italic; color: var(--disabled)}
		.eventsHdr
		{
			display: table; border-bottom: 1px solid var(--border);  margin: 10px 0 14px 0; padding: 2px 0 6px 0;
			h2, h3 {display: table-cell; width: 99%}
			h3 {font-weight: 300; text-transform: uppercase; padding: 0 0 0 2px}
		}

		.eventsList
		{
			.eventsHdr {margin: 25px 0 2px 0; border: 0}
			.eventsHdr:first-child {margin: 0 0 2px 0}
			table {font-size: 0.95em; border-collapse: collapse; width: 100%}
			th:first-child {border-top-left-radius: 3px}
			th:last-child {border-top-right-radius: 3px}
			th {.ellipsis(); display: inline-block; padding: 5px 5px 5px 10px; background: var(--body); line-height: 1.75em}
			td {.ellipsis(); display: inline-block; padding: 5px 5px 5px 10px; line-height: 1.75em; border-top: 1px solid var(--borderLightest)}
			p {margin: -5px 0 6px 10px; font-style: italic; color: var(--disabled)}
			p.group {font-weight: 600}
			span.free, span.group {font-style: italic}
			.event {width: 255px}
			.event a span {font-weight: 600}
			.date {width: 110px}
			.venue {width: 160px}
			.trainer {width: 165px}
			.bookings {width: 105px; text-align: right}
			.cancelledBookings .bookings {padding: 5px 10px 5px 5px}
			.revenue {width: 95px; padding: 5px 10px 5px 5px; text-align: right}
			td.revenue {font-style: italic}
			.revenue span {font-style: normal}
			.status {width: 155px}
			span.paid, span.group, span.free {color: var(--runningTxt)}
			
			.delegates
			{
				h4 {.hidden()}
				ol {margin: -4px 0 10px 35px; padding: 0; line-height: 1.75em}
				li span:not(li li span, .credits) {font-style: italic}
				li span.priceToUpdate, li span.credits {margin: 0 0 0 6px; font-style: normal; font-weight: 400}
				li span.credits span {font-weight: 300; font-style: italic}
				
				.alsoTaught
				{
					border-radius: 3px; padding: 8px 10px; background: var(--body); margin: 2px 0 10px -30px; font-size: 0.95em;
					ol {margin: 0 25px}
					li .id {font-weight: 500}
					h5 {margin: 0 0 3px 0; font-size: 0.95em; padding: 0 0 0 6px; border-bottom: 1px solid var(--borderLight)}
					li .event {display: table-cell; width: auto}
					li .event a {max-width: 600px}
					li .date{display: table-cell; padding: 0 0 0 4px; white-space: nowrap}
				}
			}
		}

		.write
		{
			input, select, textarea {margin: 0 0 15px 0}
			.checkboxes {margin: 5px 2px}
			.checkboxes label {margin: 7px 55px 7px 2px}
			.room:not(h1 .room), .name:not(h1 .name), .email {width: 320px}
			.postcode {width: 100px}
			.capacity {width: 60px}
			.days, .minDelegates {width: 50px; margin-right: 3px}
			.notes, .url, .page, .files, .teamsChannel {width: 550px}
			.radios div {float: left; margin: 0 30px 0 0}
			legend {margin: 0 0 6px 0}
			select:not(.main .list .write select, .main .cards .write select) {max-width: 750px; margin-right: 10px}
			.cost input {padding: 10px 10px 10px 21px; width: 60px}
			.cost:before {content: '£'; position: absolute; display: block; margin: 11px; font-weight: 700}
			.max {width: 70px}
		}
	}

	.side
	{
		width: 320px; background: var(--pageBg2);
		.ctas {margin: 10px 0 20px 0}
		h2 {font-size: 1em; padding: 0 25px 5px 0; margin: 0; border-bottom: 1px solid var(--border)}
		h2 a { color: inherit}
		dl {margin: 5px 0 20px 0; width: 100%; overflow: auto}
		dt {float: left; clear: left; margin: 0 0 5px 0}
		dd {float: right; text-align: right; margin: 0}
		dd span {font-weight: 700}
		ul {margin: 5px 0 20px 0; padding: 0; list-style: none}
		li {margin: 10px 0; line-height: 1.35em}
		p {margin: 5px 0 25px 0}
		a.button.full, button.full {margin: 0 0 12px 0}
		a.button.full:not(.page), button.full:not(.reinstate, .cancel, .page, .teamsChannel)
		{
			overflow: hidden;
			span {max-width: 250px; overflow: hidden; text-overflow: ellipsis}
		}
		.graphs {margin: 0 0 20px 0}
		.graphs > div {display: block; width: 285px}
		.countdownLink span {padding-bottom: 6px}
		button.files.missing {color: var(--textOverBase)}
		.presenter
		{
			border-radius: 5px; border: 0; margin: 0 0 20px 0;
			.name {border-top-left-radius: 5px; border-top-right-radius: 5px}
		}
		.info {margin: 15px -365px}
		.completionOuter
		{
			background: var(--body); border-radius: 5px; margin: 0 0 20px 0; padding: 15px 20px; text-align: center;
			p {margin: 0; text-align: left}
		}
		.completion
		{
			margin: 20px 0 10px 0; width: 200px; height: 200px; display: inline-block;
			&:after {left: auto; top: auto; width: 180px; height: 180px; margin: 100px 0}
			span {font-size: 3.5em; letter-spacing: -3px; position: absolute; width: 200px; font-weight: normal; font-family: 'Rawline Thin'; margin: 35px 0}
		}

		dd.organisation span {.ellipsis(); width: 170px}
		.organisation h2 span {.ellipsis(); width: 290px}
		.summary h2 span {.ellipsis(); width: 290px}
		.notes h2 span {.ellipsis(); width: 290px}

		dd.venue span {.ellipsis(); width: 240px}
		.map {width: 100%; margin: -15px 0 20px 0; border: 1px solid var(--borderLight); border-radius: 3px}

		.dietary
		{
			h2 span {.ellipsis(); width: 295px}
			dd, dt {margin: 0; float: none; text-align: left}
			dd {margin: 0 0 10px 0}
			dd:last-of-type {margin: 0}
			.name span {.ellipsis(); width: 280px; float: left}
			.email
			{
				float: right; width: 25px; height: 25px;
				&:before {margin: -3px 0 0 0}
				span {.hidden()}
			}
			.missing {color: var(--defaultText)}
		}

		div.pricing dt span {.ellipsis(); width: 170px}

		dd.advice
		{
			a span.name {.ellipsis(); display: inline-block; margin: 0 0 -4px 0; width: 165px}
			.iconOnly
			{
				height: 25px; width: 25px;
				&:before {margin: 0 0 0 2px; line-height: 0.7}
			}
			.dm:before {width: 23px; margin: -7px 0 0 0}
		}

		.courses div.missing
		{
			color: var(--defaultText); margin: 0 0 25px 0;
			button {margin: 10px 0}
			button span {padding: 8px 0 6px 0}
		}
	}


/* venue */
	.venue
	{
		.read .side {background: none}

		h1:not(.missing)
		{
			border: 0; padding: 0; width: 800px; line-height: 100%; font-family: 'Rawline Black';
			.room {display: block}
			.conjunction {font-family: 'lato', sans-serif; font-weight: 100; text-transform: lowercase; display: inline-block; font-size: 0.85em; margin: 3px 5px 0 0}
			.room + .name {display: inline-block; font-size: 0.85em; font-family: 'Rawline Thin'; line-height: 105%}
		}

		.details
		{
			.ellipsis(); display: inline-block;
			.city {.ellipsis(); min-width: 250px; max-width: 350px}
			.postcode {min-width: 125px}
			.capacity {text-align: center; padding: 5px 50px 5px 5px; width: 75px}
		}

		.map
		{
			margin: 0 20px;
			iframe {width: 100%; margin: 0 0 15px 0; height: calc(100vh - 450px); min-height: 300px; border-radius: 5px}
		}

		.write
		{
			.checkboxes {disply: inline-flex; flex-direction: column; flex-wrap: wrap; overflow: visible; max-height: 250px}
		}
	}

/* trainer */
	.trainer
	{
		.photo
		{
			margin: 30px 0 0 25px; width: 140px; height: 140px; position: absolute; background-size: cover; background-image: url('avatar.png'); border-radius: 50%; border: 2px solid var(--photoBorder);
			&.retired {filter: grayscale(100%)}
		}
		
		.inner.dual
		{
			h1
			{
				border: 0; padding: 0; margin: 30px 0 35px 0;
				span {display: block; padding: 0 0 0 170px; line-height: 90%}
				.firstname {font-size: 1.65em}
				.lastname {font-size: 1.1em; margin: 0 0 20px 0}
			}
			h1.missing {margin: 60px 0 0px 195px}
			h1.missing + .message {margin: 0 20px 0 195px}
		}

		.main
		{
			.details
			{
				margin: 30px 0 25px 0;
				.email a {.ellipsis(); max-width: 360px}
				.dm, .linkedIn {text-align: center}
				td.dm:not(.missing.dm) {padding-top: 0}
				td.linkedIn:not(.missing.linkedIn) {padding: 0}
				td.dm.missing, td.linkedIn.missing {color: inherit}
			}

			h2 {.hidden()}

			.eventsList
			{
				.name {width: 255px}
				.cancelledBookings .name {width: 365px}
				.name span {font-weight: 600}
				button.iconOnly.taught {position: absolute; margin: 2px -30px; background: var(--pageBg); color: var(--cta); min-width: 30px; padding: 0; min-width: auto; width: 25px; height: 25px}
			}
			
			.write
			{
				p {margin: -4px 0 10px 0; font-style: italic}
			}
		}
		
		.side
		{
			.advice
			{
				&:before {content: "\f442"; font-family: "IonIcons"; font-size: 1.1em; position: absolute; margin: 1px 0 0 0}
				a {margin: 0 0 0 25px}
				.missing {font-style: italic; color: var(--defaultText)}
				span {.hidden()}
			}
		}
	}

/* course */
	.course
	{
		h1 {border-bottom: 1px solid var(--border); padding: 0 0 8px 0}
		.main
		{
			h2 {.hidden()}
			.eventsList
			{
				.name {width: 65px}
				.name a span {font-weight: 600}
				.venue {width: 170px}
				.cancelledBookings .venue {width: 280px}
			}
			.write
			{
				.checkboxes
				{
					display: inline-flex; flex-direction: column; flex-wrap: wrap; overflow: visible; max-height: 400px;
					input:checked + span .missing {font-weight: 300}
				}
				.name:not(h1 .name) {width: 550px}
			}
		}
		
		.side
		{
			.trainers li {margin: 5px 0}
		}
	}

/* organisation */
	.organisation
	{
		.search
		{
			.selectResult .email {padding: 0; color: var(--disabled); font-style: normal}
			.searchQuery, .searchResult button span {width: 380px}
			.searchResult, .searchActions a span {max-width: 400px}
			.searchActions a {margin: 0 0 0 -93px; background: none; color: var(--cta)}
			.searchActions button {position: absolute; margin: -45px -3px; z-index: 2; border-top-left-radius: 0; border-bottom-left-radius: 0}
		}
		
		.main
		{
			.list
			{
				.name a {width: 160px; .ellipsis()}
				.date.missing {color: inherit}
				td.fire, td.rehire {padding: 0}
			}
			.eventsList
			{
				.event {width: 255px}
				.cancelledBookings .event {width: 365px}
			}
		}
		.side
		{
			.summary h2 span {width: 290px}
		}
	}

/* delegate */
	.delegate
	{
		h1
		{
			padding: 0 0 4px 0; width: 800px; line-height: 100%;
			a {color: inherit}
			.organisation {.ellipsis(); width: 800px; color: var(--disabled); font-style: italic; display: block; text-transform: none; font-weight: 100; margin: -10px 10px 0 0; line-height: 130%}
			.orphaned {font-size: 0.7em; text-transform: capitalize}
			.organisation a {font-size: 0.75em; color: var(--defaultText); text-transform: uppercase; font-weight:200; font-style: normal}
			.conjunction {font-size: 0.75em; font-family: 'lato', sans-serif; line-height: 1.1; font-style: normal; color: var(--defaultText)}
		}
		
		.main
		{
			h2 {.hidden()}

			.eventsList
			{
				.name {width: 245px}
				.cancelledBookings .name {width: 345px}
				.name span {font-weight: 600}
				.venue {width: 130px}
				.revenue {width: 85px}
			}
			
			.write
			{
				.searchQuery, .searchResult button span {width: 460px}
				.searchResult, .searchActions a span {max-width: 480px}
				.search .searchResult {margin: -17px 0 0 0}
			}
		}

		.side
		{
			.detail .email a {width: 239px}
		}
	}

/* event */
	.event
	{
		.main
		{
			h1
			{
				margin: 12px 0 10px 0; border: 0;
				.date
				{
					float: right; font-weight:700; font-family: "Lato"; font-size: 0.8em; text-transform: none; letter-spacing: -0.04em;
					span {font-weight: 200; color: var(--defaultText)}
					sup {font-weight: 300; font-size: 0.65em; letter-spacing: -0.03em}
					button {color: var(--missing); font-style: italic; font-weight: 300; text-decoration: none}
					button:hover {text-decoration: underline}
				}
				.name {display: block; line-height: 1em; font-size: 0.9em; font-family: 'Rawline Black'}
				.prefix, .id {line-height: 0.95em; font-size: 1.5em}
				.prefix {font-family: 'Raleway'; font-weight: 100}
				.id {font-family: 'Rawline ExtraBold'}
				a {color: inherit}
			}

			.attendance
			{
				display: table; width: 800px; padding: 0 0 0 35px; margin: 0 0 25px -35px; height: 82px;
				&:before, &:after {content: ''; width: 0; height: 0; border-style: solid; position: absolute}
				&:before {border-width: 0 0 7px 15px; margin: -7px 0 0 -35px}
				&:after {border-width: 41px 15px 41px 0; border-color: transparent var(--pageBg) transparent transparent; margin: 0 0 0 -15px}
				.countdown {display: table-cell; padding: 0 35px 0 0; text-align: right; width: 210px; vertical-align: middle}
				.countdown span {display: block; margin: 4px 0 0 0; font-weight: 900; font-size: 1.6em; text-transform: uppercase; line-height: 0.9em}
				.dial {display: table-cell; vertical-align: middle; width: 60px}
				.dial.missing, .completion.alert {color: inherit}
				.dial.noMinMaxDelegates {padding: 0}
				.completion {width: 60px; height: 60px}
				.completion span {font-size: 0.9em; padding: 18px 0 0 1px}
				.capacity {display: table-cell; vertical-align: middle; padding: 0 0 0 10px}
			}
			
			.search
			{
				.searchQuery, .searchResult button span {width: 330px}
				.searchResult, .searchActions a span {max-width: 350px}
				.searchActions a {margin: 0 0 0 -93px; background: none; color: var(--cta)}
				.searchActions button {position: absolute; margin: -45px -3px; z-index: 2; border-top-left-radius: 0; border-bottom-left-radius: 0}
			}
			
			.contentHdr
			{
				h2 {width: 325px; font-size: 1.5em}
				.tabs {width: 180px}
			}
			
			.list
			{
				width: auto;
				tr {vertical-align: top}
				td {padding: 5px 7px 5px 3px}
				td span {display: block}
				.ctas:not(.write .ctas) {width: 150px; text-align: right; padding: 3px 0}
				.booked {width: 105px}
				.booked span {.ellipsis()}
				.price {width: 160px}
				.price span {font-weight: 700}
				.price span.option {font-weight: 300; width: 140px}
				.name {width: 174px}
				.name a {.ellipsis(); max-width: 174px}
				.name.noStatus {width: 365px}
				.name.noStatus a {max-width: 365px}
				.name.noCost.noStatus {width: 555px}
				.name.noCost.noStatus a {max-width: 555px}
				.name .organisation a {font-weight: 300}
				.status {width: 171px}
			}

			.cards
			{
				li {width: 381px; overflow: initial}
				.info
				{
					margin: 37px -11px; width: 362px;
					h3 {color: var(--defaultText); font-size: 1em; margin: 5px 0 0 0}
					a {color: var(--cta)}
				}
				.name
				{
					height: 52px; padding: 12px 20px 15px 20px; border-top-right-radius: 5px; border-top-left-radius: 5px;
					span a {width: 305px; .ellipsis()}
					.delegate a {font-weight: 700; font-size: 1.2em}
					.about
					{
						background: none; border: 0; color: var(--textOverBase); margin: -10px 317px; paddsing: 0 8px; height: 40px; width: 42px; position: absolute;
						&:before {font-size: 1.75em}
					}
				}
				.actions button.iconOnly:before {font-size: 1.65em}
				.booked {padding: 10px 20px; background: var(--body)}
				.booked span {.ellipsis(); display: inline-block; vertical-align: bottom; max-width: 124px}
				.booked span span {.ellipsis()}
 				.content {box-shadow: unset}
				.stats 
				{
					min-height: 59px;
					div {padding: 5px 15px}
					span:nth-child(2) {font-size: 0.9em; margin: 3px 0 0 0}					
				}
				.stats.groupPayment {height: 35px}
			}
			
			li.write , div.write:not(h1 + .write) {background: var(--pageBg); padding: 15px 20px 20px 20px; border: 0}
			.cards li.write {width: 740px; margin: 10px 10px 15px 10px}
			.cards .write .notes:not(.booking .notes) {width: 714px}
			.list .write .notes:not(.booking .notes) {width: 734px}
			.list div.write {margin: 10px 0 15px 0; box-shadow: 0 0 8px 0 var(--shadowIntense) ;border-radius: 3px}
			.cards .write h3 button, .list .write h3 button {background: none; color: var(--defaultText); margin: 0 -8px; float: right; min-width: 0}
			.list .write select, .cards .write select {max-width: 740px}

			.write
			{
				.searchQuery, .searchResult button span {width: 560px}
				.searchResult, .searchActions a span {max-width: 580px}
				.search .searchResult {margin: -17px 0 0 0}
				.radios legend, .date label {.hidden()}
				.radios div {margin: 0 18px 0 0}
				.id {width: 75px}
				
				.booking
				{
					.search
					{
						.searchResult {max-width: 365px}
						.searchResult button span {width: 343px}
					}
				}

				h3
				{
					font-size: 1.5em; font-weight: 800; padding: 0; margin: 0 0 15px 2px;
					.conjunction {font-weight: 200}
					a {color: var(--defaultText)}
					button.cancel {font-size: 0.5em}
					button.cancel:before {content: "\f405"}
				}

				.pricing, .booking {border: 1px solid var(--borderLight); border-radius: 3px; background: var(--pageBg2); padding: 10px 18px 0 18px; margin: 25px 0 15px 0; overflow: auto}

				.initial_cost {margin: 0 0 12px 0}
				.one-off {margin: 0 0 12px 0}
				select + .initial_cost, select + .one-off {margin: -3px 15px; position: absolute; display: inline-block}
				.initial_cost dd, .total dd, .one-off dd, select + .one-off dd {margin: 0; display: block}
				.initial_cost span, .total dd, .one-off dd, select + .one-off dd {font-weight: 700}

				.cost input {padding: 10px 10px 10px 21px; width: 85px}
				.cost:before {content: '£'; position: absolute; display: block; margin: 11px; font-weight: 700}

				.discount
				{
					margin: 5px 0 10px 0; padding: 10px 0 0 0; border-top: 1px solid var(--borderLight); ; border-bottom: 1px solid var(--borderLight);
					div {display: inline-block}
					div:first-child {margin: 0 15px 0 0}
					.percentage {width: 60px}
					.pounds {width: 66px}
					.pricing {margin: 0 0 20px 0}
					.total
					{
						margin: 27px 0 0 15px; position: absolute; display: inline-block;
						dd {margin: 0}
					}
				}

				.method, .state
				{
					float: left; margin: 0;
					dd, dd {margin: 0}
					dt, dt {margin: 0 0 5px 0}
				}
				.method {margin: 0 20px 0 0}
				.state dd span span {position: absolute; margin: 10px 0; font-weight: 600; font-style: italic}

				.notes {display: block; height: 80px}

				.about
				{
					padding: 0 2px;
					label {display: block; clear: both}
					dl {float: left; min-width: 50%; margin: 0 0 15px 0}
					dd {margin: 0; font-style: italic; font-weight: 400}
				}

				.booking
				{
					input {width: 345px}
					.notes {width: 680px}
					.date select {margin-right: 10px}
					.date label {.hidden()}
				}

				.ctas button:first-child {float: left; margin: 0 15px 0 0}
			}
		}

	/* reschedule a delegate */
		#returnRescheduleContent {display: none}
		#returnRescheduleContent:before {content: ""; position: fixed; top: 0; left: 0; background: rgba(0,0,0,0.65); height: 100vH; width: 100vW}
		#returnRescheduleContent #rescheduleDelegateSearch label {font-size: 1.05em}

		.returnRescheduleContent {
			position: absolute; top: calc(50% - 93px); left: calc(50% - 375px); width: 750px; background: var(--defaultBg); border-radius: 4px;
			h2 {font-size: 1.2em; padding: 0 1em; margin: 1em 0 0 0}
			button.cancel {font-size: 0.75em; padding: 0; float: right; margin: 1em 1em 0 0}
			button.cancel:before {content: "\f405" !important}
			.search {
				padding: 15px 20px 20px 20px; margin: 15px 0 0 0; border-top: 1px solid var(--borderLightest);
				.searchResultReturned {
					display: block;
					button {float: left; display: inline-block; padding: 8px 20px 10px 20px; margin: 20px 0 0 0}
					button span {padding: 8px 0 10px 0; display: inline; font-weight: 600}
					a {float: left; margin: 30px 0 0 15px; background: none; color: var(--cta); padding: unset}
				}
				.searchActions a span:not(.events .searchActions a span) {display: inline}
			}
			.searchQuery {width: 690px}
			.searchResult {width: 710px}
		}		
	}

/* reporting */
	.reporting
	{
		.help
		{
			border: 1px solid; overflow: auto; font-size: 0.9em; padding: 10px 20px; margin: 0 0 20px 0; border-radius: 5px;
			div {float: left; width: 50%}
			h2 {font-size: 1.2em; margin: 10px 0 0 0}
			h3 {font-size: 1em; margin: 10px 0 0 0}
			ul {margin: 10px 0 0 0; padding: 0 0 0 20px}
			li {padding: 0 0 5px 0}
		}
        table {width: 100%}
		th {padding: 0 3px 3px 3px; text-align: right}
		td {vertical-align: top; padding: 0 3px 12px 9px; text-align: right; min-width: 65px}
		th.total {font-weight: 300}
		td.total {font-weight: 700}
		th.year {width: 21px; background: var(--slightBgEmphasis)}
		th.year span {display: block; transform: rotate(-90deg); clip: unset; clip-path: unset; height: auto; width: auto; position: absolute; margin: -17px 0 0 -12px; font-size: 1.05em}
		th.type {vertical-align: top; width: 77px; font-weight: 300; font-style: italic}
		td:not(.group-bookings td) span {clip: unset; clip-path: unset; height: auto; width: auto; position: unset; margin: unset}
		.wholeyear
		{
			border-top: 1px solid var(--border);
			th {padding: 3px}
			td {padding: 3px 3px 3px 11px}
		}

        .group-bookings {
            margin: 1rem 0;
            tr:has(td) {border-top: 1px solid var(--borderLight)}
            tr:nth-of-type(2) {border-top: 1px solid var(--border)}
            td, th {
                padding: 6px 3px 6px 9px;
                &:first-of-type {
                    width: 440px; white-space: nowrap;
                    a {white-space: nowrap}}
                &:not(.number) {text-align: left}
            }
            tr:last-of-type {
                border-top: 1px solid var(--border);
                td {font-weight: 700}
            }
        }
        .payment-methods {
            margin: 1rem 0;
            tr:nth-of-type(2) {border-top: 1px solid var(--border)}
            td, th {
                padding: 6px 3px 6px 9px;
            }
        }
    }

/* scrollable table */
    .scrollable-content {
        overflow: scroll; max-width: 1200px; padding: 0 0 2rem 0;
        table {table-layout: fixed; width: unset}
        th {
            position: relative; z-index: 1;
            &.total-trainers, &.lead-trainers, &.trainer {text-align: center; min-width: 4.75rem}
            &.name {position: absolute; background: var(--pageBg2); width: 32rem; z-index: 20}
            &:nth-child(2) {padding-left: 34rem}
        }
        td {
            position: relative; z-index: 1;
            &.total-trainers, &.lead-trainers, &.course-trainer, &.course-leader {text-align: center; min-width: 4.75rem}
            &.course-trainer:not(.missing) {background: rgba(0,225,75,0.1)}
            &.course-leader {background: rgba(0,165,55,1); color: rgba(255,255,255,1)}
            &.name {position: absolute; background: var(--pageBg2); width: 32rem; z-index: 20}
            &:nth-child(2) {padding-left: 34rem}
            .flexellipsis {table-layout: unset}
        }
    }

/* breakpoints 

    @media (min-width: @tabletPortrait) {
		.outer {width: @tabletPortrait;}
    }
    @media (min-width: @desktopSmall) {
		.outer {width: @desktopSmall;}
    }
    @media (min-width: @desktopLarge) {
		.outer {width: @desktopLarge;}
    }
*/