@charset "utf-8";

:root {--nav-bg-color: #533F7D;}
:root {--nav-color: #FFFFFF;}
:root {--nav-bg-hover-color: #624D92;}
:root {--nav-hover-color: #FFFFFF;}
:root {--panel-bg-color: #F3F2F1}
:root {--panel-color: #000000}
:root {--table-border-color: #B1B4B6}
:root {--button-color: #FFFFFF}
:root {--button-bg-color: #555658}
:root {--button-bg-hover-color: #747576}
:root {--link-color: #1D70B8}

body {
	background-color: #FFFFFF;
	color: #000000;
}
footer {
	background-color: #555658;
	color: #FFFFFF
}
footer a {
	color: #FFFFFF;
}
a {
	color: rgb(0, 0, 238);
}

#navbar, #menu li, #menu li a, ul li:hover ul.subNav, ul li:focus ul.subNav {
	background-color: #533F7D;
	color: #FFFFFF;
}
#mobile-main-menu, .chevron {
	background-color: #533F7D;
	color: #FFFFFF;
	margin-left: 0 !important;
}
th, td {
	border-bottom: 1px solid #B1B4B6;
}
main#container a:hover {
	color: #4C2C92
}
input[type=button], input[type=submit] {
	border: 0;
	padding: 10px;
	color: var(--button-color);
	background-color: var(--button-bg-color);
}
input[type=button]:hover, input[type=submit]:hover {
	background-color: var(--button-bg-hover-color);
	color: var(--button-color);
}
.logo {
    background-image: url(https://www.swqr.org.uk/images/ELC/ELC-logo.jpg);
    background-repeat: no-repeat;
    text-indent: -300%;
    height: 48px;
    width: 527px;
    display: block;
}
#footer-col-1 {
	float: left;
	margin-right: 10px;
}
#footer-col-2 {
    float: left;
    margin-left: 10px;
}
#logos {
	float: right;
}
#logos li {
	display: inline;
}
h1 {
	font-size: 1.5em;
	font-weight: bold;
}
h2 {
	font-size: 1.2em;
	font-weight: bold;
}
h3 {
	font-size: 1.1em;
	font-weight: bold;
	margin-top: 0;
	margin-bottom: 0;
}
h4 {
	font-size: 1em;
	font-weight: bold;
}
header {
	max-width: 1140px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
}
footer {
	font-size: 16px;
	line-height: 1.5;
	max-width: 1110px;
	padding: 15px;
	width: 100%;
	margin: 0px;
	min-height: 200px;
	clear: both;
}
footer ul {
	padding-left: 0;
}
.footerPanel {
	font-size: 1.25em;
	font-weight: bold;
	margin-top: 0;
	margin-bottom: 0;
}
a.downloadXls, a.downloadXlsx, a.downloadPps, a.downloadPpt, a.downloadPptx, a.downloadDoc, a.downloadDocx, a.downloadPdf, a.downloadMsAccess {
	background-color: #fff;
	position: relative;
	cursor: pointer;
	display: inline;
	height: 16px;
	width: 16px;
	margin-bottom: -2px;
	margin-left: 4px;
	margin-top: 0;
	padding-left: 20px;
	color: rgb(0, 0, 238);
}
a.downloadPdf {
	background: #fff url("https://www2.sqa.org.uk/images/2016/icon8/PDF-16.png") no-repeat scroll 0 0;
	background-color: #fff;
}
a.downloadDoc, a.downloadDocx {
	background: #fff url("https://www2.sqa.org.uk/images/2016/icon8/MS-Word-16.png") no-repeat scroll 0 0;
}
a.downloadXlsx, a.downloadXls {
	background: #fff url("https://www2.sqa.org.uk/images/2016/icon8/MS-Excel-16.png") no-repeat scroll 0 0;
}
#logo {
	width: 150px;
	height: 85px;
}
.skiplink {
	display: inline-block;
	margin: 10px 0 0 0;
	left: -9999em;
	z-index: -1;
	position: absolute;
}
.skiplink:focus {
	left: 0;
	z-index: 1;
	position: static;
}
main form {
	border: 1px solid #999;
	background-color: var(--panel-bg-color);
	padding: 10px;
}
.error-summary {
    border: 5px solid #D4351C;
    padding: 10px;
    margin-bottom: 25px;
}
fieldset {
	border: none;
}
textarea, select, input[type=text], input[type=email], input[type=password], input[type=date], input[type=number] {
	padding: 10px;
}
textarea, select, input[type=text], input[type=email] {
	width: 80%
}
input[type='radio'], input[type='checkbox'] {
	width: 18px;
	height: 18px;
	float: left;
}
.required {
	vertical-align: top;
	font-size: 150%;
	color: red
}
.normal {
	font-weight: normal;
}
body {
	font-family: "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	margin: 0;
	text-align: left;
	margin: 0 auto;
	width: 1140px;
}
.menu-item a, .spanMenu {
	cursor: pointer;
	text-decoration: none;
}
#menu li {
	list-style: none;
	text-align: left;
	/*background-color: var(--nav-bg-color);*/
	color: var(--nav-color);
	margin: 0;
	padding: 15px;
	cursor: pointer;
}
ul ul {
    margin-top: 20px;
}
li {
    margin-bottom: 20px;
}
#navbar {
	clear: right;
}
.visuallyhidden {
	border: 0;
	clip: rect(0, 0, 0, 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: fixed;
	width: 1px;
}
.subNav {
	display: none;
}
input[type="button"], input[type="submit"] {
	border: 0;
	padding: 10px;
	color: var(--button-color);
	background-color: var(--button-bg-color);
}
input[type="button"]:hover, input[type="submit"]:hover {
	background-color: var(--button-bg-hover-color);
	color: var(--button-color);
}
#topleft a, #topright a {
	color: #000;
	text-decoration: none;
}
#topleft a:hover, #topright a:hover {
	text-decoration: underline;
}
#container {
	max-width: 1140px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}
#q {
	padding: 8px;
}
#panel1, #panel2, #panel3, #panel4, #panel5, #panel6, #panel7, #panel8, #panel9, #panel10, #panel11, #panel12 {
	padding-left: 15px;
	padding-right: 15px;
}
img {
	width: 100%;
	height: 100%;
}
.fab {
	margin: 5px;
	list-style: none;
	display: inline-block;
}
.fab img {
	width: auto;
	height: auto;
}
.introImg {
	float: right;
	width: auto !important;
	margin-bottom: 16px;
	margin-left: 16px;
}
/*#grid {
	display: flex;
	flex-wrap: wrap;
}*/

#panels {
	display: flex;
}
.purple {
	background-color: #DB2785;
	margin-top: -7px;
	margin-bottom: 15px;
	padding: 15px;
}
.red {
	background-color: #E2112D;
	margin-top: -7px;
	margin-bottom: 15px;
	padding: 15px;
}
.blue {
	background-color: #3C6DE1;
	margin-top: -7px;
	margin-bottom: 15px;
	padding: 15px;
}
.green {
	background-color: #557424;
	margin-top: -7px;
	margin-bottom: 15px;
	padding: 15px;
}
#videoHolder {
	position: relative;
}
iframe {
	width: 100%;
	border: 1px solid #000;
}
#grid a {
	color: #FFF;
	font-weight: bold;
	text-decoration: none;
}
#grid a:hover {
    color: #FFF !important;
}
@media only screen and (min-width: 1021px) {
	ul li ul.subNav.opened {
		display: block !important;
	}
	#menu {
		height: 50px;
	}
	#menu li {
		z-index: 999;
	}
	#menu>li {
		height: 20px !important;
	}
	#menu>li a {
		font-size: 18px !important;
	}
	/*section {width:75%; float:left;}*/
	/*#grid {width:100%; margin:20px 0;}*/
	aside {
		width: 23%;
		float: right;
		margin-left: 1%;
		margin-top: 20px;
		margin-bottom: 20px;
	}
	#container {
		max-width: 1140px;
		margin-left: auto;
		margin-right: auto;
		margin-top: 20px;
		z-index: 0;
		position: relative;
	}
	.general #container {
		max-width: 1140px;
		width: 50%;
		margin-left: auto;
		margin-right: auto;
		z-index: 0;
		position: relative;
	}
	#searchform {
		display: inline;
	}
	#topleft {
		width: 50%;
		float: left;
		padding: 10px 0;
	}
	#topright {
		width: 50%;
		float: right;
		padding: 15px 0;
	}
	#mobile-main-menu {
		display: none;
	}
	#navbar, #top {
		clear: both
	}
	#navbar {
		background-color: var(--nav-bg-color);
	}
	nav {
		flex-direction: column;
	}
	nav ul {
		display: flex;
		justify-content: space-around;
		padding: 0;
		font-size: 18px;
		margin: 0;
	}
	.spanMenu {
		width: 100%;
	}
	.showSubNav {
		z-index: 1;
	}
	.showSubNav li {
		font-size: 16px;
		text-align: left;
	}
	ul li ul.subNav {
		display: none;
	}
	.menu-item {
		padding: 10px;
	}
	#menu li:hover, #menu li:hover a {
		background-color: var(--nav-bg-hover-color);
		height: 100%;
	}
	#menu li a, #menu li:hover .subNav a {
		color: var(--nav-color);
		background-color: var(--nav-bg-color);
		text-decoration: none;
	}
	#menu li:hover .subNav a:hover, #menu li:hover .subNav li:hover a {
		background-color: var(--nav-bg-hover-color) !important;
		text-decoration: underline;
	}
	#menu li span a:hover {
		color: var(--nav-hover-color) !important;
		background-color: var(--nav-bg-hover-color) !important;
		text-decoration: underline;
	}
	#menu .current {
		background-color: var(--nav-bg-hover-color) !important;
		color: var(--nav-hover-color) !important;
		margin: 0;
	}
	#menu .subNav li:hover {
		height: 100%;
	}
	ul li:hover ul.subNav, ul li:focus ul.subNav {
		display: block;
		background-color: var(--nav-bg-color);
		z-index: 1;
		position: absolute;
		padding-right: 10px;
	}
	.notcurrent {
		padding: 8px;
	}
	#grid {
		display: flex;
		flex-wrap: wrap;
	}
	#grid h1 {
		margin-top: 10px;
	}
	#news, #panel0, #panel1, #panel2 {
		flex: 1;
		/*border-right: 15px solid #FFFFFF;*/
	}
	#panel3 {
		flex: 1;
	}
	details {
		border: 2px solid var(--panel-bg-color);
		border-radius: 2px;
		margin-bottom: 10px;
	}
	details>p, details>li, details>div {
		padding: 10px;
	}
	details>li {
		margin-left: 10px;
	}
	summary {
		padding: 10px;
		background-color: var(--panel-bg-color);
		cursor: pointer;
	}
	th, td {
		border-bottom: 1px solid var(--table-border-color);
		padding: 10px 20px 10px 0;
		text-align: left;
		vertical-align: top;
	}
	table {
		width: 100%;
	}
}
@media only screen and (max-width: 1020px) {
	main, section, aside {
		width: 100%;
		float: none;
	}
	#searchform {
		width: 100%;
		margin: 20px 0;
	}
	#q {
		width: 74%;
	}
	#mobile-main-menu {
		background-color: var(--nav-bg-color);
		color: var(--nav-color);
		padding: 2px 0;
		display: block;
		height: 50px;
		position: relative;
		text-align: center;
		width: 100%;
		font-size: 18px;
	}
	#mobile-main-menu i {
		float: right;
		padding: 8px;
	}
	#mobile-main-menu span {
		line-height: 3;
	}
	#menu {
		display: block;
		font-size: 1.3em;
		padding: 0;
		margin: 0;
	}
	#bars {
		float: right;
		margin: 5px;
	}
	.chevron::before {
		border-style: solid;
		border-width: 0.25em 0.25em 0 0;
		content: '';
		display: inline-block;
		height: 0.45em;
		left: 0.15em;
		position: relative;
		top: 0.25em;
		vertical-align: top;
		width: 0.45em;
		transform: rotate(135deg);
		float: right;
		transition: 0.2s;
	}
	.opened.chevron::before {
		top: 0.15em;
		transform: rotate(-45deg);
		transition: 0.2s;
	}
	#menu .current {
		background-color: var(--nav-bg-color) !important;
	}
	.navHide {
		opacity: 0;
		max-height: 0;
		transition: opacity .1s linear;
		display: none;
	}
	.navShow {
		opacity: 1;
		max-height: 100%;
		transition: opacity .5s linear;
		display: block;
	}
	.bar1, .bar2, .bar3 {
		width: 35px;
		height: 5px;
		background-color: #FFFFFF;
		margin: 6px 0;
		transition: 0.4s;
	}
	.close .bar1 {
		transform: rotate(-45deg) translate(-9px, 6px);
	}
	.close .bar2 {
		opacity: 0;
	}
	.close .bar3 {
		transform: rotate(45deg) translate(-8px, -8px);
	}
	#grid {
		flex-wrap: wrap;
		padding-bottom: 5px;
	}
	#grid img, #hero, #container picture {
		display: none;
	}
}
@media only screen and (min-width: 769px) and (max-width: 1020px) {
	body {
		width: 96% !important;
		margin-top: 20px;
	}
	main, section, aside {
		width: 100%;
		float: none;
	}
	#grid {
		width: 100%;
		margin: 20px 0;
	}
	#searchform {
		float: right !important;
		margin-top: 15px !important;
		margin-bottom: 15px !important;
	}
	#menu li a {
		margin-left: 0px;
	}
	.subNav li {
		margin-left: -20px;
	}
	footer {
		min-height: 250px;
	}
	#nav, #top, #container, footer {
		margin: 0 auto;
		width: 100%;
	}
	#container {
		max-width: 760px;
		width: 100%;
		padding: 15px 0 15px 20px;
		margin-left: auto;
		margin-right: auto;
	}
	.chevron {
		padding-left: 10px;
		background-color: var(--nav-bg-color);
		color: var(--nav-color);
	}
	#menu .subNav li {
		padding-left: 40px;
	}
	.showSubNav {
		display: block;
		padding-left: 0;
		margin-left: 0;
	}
	#grid img, #hero, #container picture {
		display: none;
	}
}
@media only screen and (min-width: 577px) and (max-width: 768px) {
	body {
		width: 95% !important;
		margin-top: 20px;
	}
	main, section, aside {
		width: 100%;
		float: none;
	}
	aside {
		padding-top: 10px;
	}
	#grid {
		width: 100%;
		margin: 20px 0;
	}
	#searchform {
		float: right !important;
		margin-top: 15px !important;
		margin-bottom: 15px !important;
	}
	#menu li a {
		margin-left: 0px;
	}
	.subNav li {
		padding-left: 0;
		margin-left: -20px;
	}
	#nav, #top, #container, footer {
		margin: 0 auto;
		width: 95%;
	}
	footer {
		min-height: 250px;
	}
	#container {
		/*padding: 15px;*/
		margin-left: auto;
		margin-right: auto;
	}
	.showSubNav {
		display: block;
	}
	#grid img, #hero, #container picture {
		display: none;
	}
}
@media only screen and (max-width: 576px) {
	.logo {
		background-image: url(https://www.swqr.org.uk/images/ELC/ELC-logo-mob.jpg);
		background-repeat: no-repeat;
		text-indent: -300%;
		height: 30px;
		width: 333px;
		display: block;
	}
	body {
		width: 92% !important;
		margin: 0 auto;
	}
	header {
		margin-top: 20px;
	}
	aside {
		padding-top: 10px;
	}
	#searchform {
		margin-top: 15px !important;
		margin-bottom: 20px !important;
	}
	#q {
		width: 260px;
		padding: 8px 2px;
	}
	#menu li a {
		margin-left: -10px;
	}
	#menu li:hover {
		background-color: var(--nav-bg-color)!important;
	}
	#menu li .subNav li a {
		margin-left: -20px !important;
	}
	#nav, #top, #container {
		margin: 0 auto;
		width: 100%;
	}
	footer {
		width: 92%;
		min-height: 400px;
		margin: 20px 0;
	}
	footer ul {
		padding: 0;
	}
    #footer-col-1 {
	    margin-right: 0;
	    width: 100%;
    }
    #footer-col-2 {
        margin-left: 0;
        width: 100%;
    }
	#container {
		margin-left: auto;
		margin-right: auto;
	}
	#submit {
		float: right;
	}
	#menu li.menu-item.chevron {
		padding: 12px;
	}
	.menu-item a, .spanMenu {
		padding: 12px;
		text-decoration: none;
	}
	#grid section {
		padding: 10px 0;
		margin: 20px 0;
	}
	.showSubNav {
		display: block;
	}
	#grid img, #hero, #container picture {
		display: none;
	}
}