/*! HTML5 Boilerplate v7.0.1 | MIT License | https://html5boilerplate.com/ */
@import url('https://fonts.googleapis.com/css?family=Philosopher:400,700|Tajawal:300,500&display=swap');
/*
font-family: 'Philosopher', sans-serif; - reg400, bold700
font-family: 'Tajawal', sans-serif; - light300 medium500
*/
/* main.css 1.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

 
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

   html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

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

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

q,
blockquote {
  quotes: "“" "”" "‘" "’";
  font-style: italic;
}
/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Styles - Mobile First Styles
   ========================================================================== */
body {
	font-size:16px;
	font-weight:300;
	font-family: 'Tajawal', sans-serif;
	background:#fff;
}
a {
	text-decoration:underline;
	color:#2F5496;
}
a:hover {
	color:#222;
	text-decoration:underline;
}
a:visited {
	color:#2F5496;
}
a:focus {
	padding:2px 4px;
	border:solid 1px #ad003c;
}
a:active {
	text-decoration:none;
}
p {
}
h1, h2, h3, h4, h5, h6 {
	margin:0.6em 0;
	font-family: 'Philosopher', sans-serif;
	color:#253659;
}
h2, h3, h4, h5, h6 {
	font-size:1.4em;
}
h1 {
	font-size:1.6em;
}
#wrapper {
	width:100%;
	max-width:1920px; /*rslide max width is the same as this, see .js settings*/
	height:auto;
	overflow:hidden;
	margin:auto;
	background:#fff;
	-webkit-box-shadow: 0 0 20px 10px #EEEEEE;
	box-shadow: 0 0 20px 10px #EEEEEE;
}
.headWrap {
	display:flex;
	align-items:center;
}
.headWrap .hcol {
	/*Columns*/
	flex:1;
	text-align:center;
}
.headWrap .hcol:first-child, .headWrap .hcol:last-child {
}
.headWrap .hcol:nth-child(2) {
	flex:2;
}
#logoCont {
	display:block;
	width:100%;
	text-align:center;
}
	.logo {
		width:300px;
	}
	.logoText {
		display:block;
		clear:both;
		font-family: 'Philosopher', sans-serif;
		font-size:1.2em;
		letter-spacing:3px;
	}
#headAdd {
	display:block;
	box-sizing:border-box;
	width:100%;
	padding:0.5em 0.4em;
	font-size:1.0em;
	text-align:center;
}
#headTelA, #headTelB {
	display:none;
}
	#headTelA span, #headTelB span {
		display:inline-block;
		width:auto;
		margin:0.2em 0.4em;
		border:solid 1px #2F5496;
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		border-radius: 3px;
		background:#C8D7F1;
		-webkit-transition: background 500ms ease-in-out;
		-moz-transition: background 500ms ease-in-out;
		-ms-transition: background 500ms ease-in-out;
		-o-transition: background 500ms ease-in-out;
		transition: background 500ms ease-in-out;
	}
	#headTelA span a, #headTelB span a {
		display:inline-block;
		padding:0.6em 1.0em;
		font-size:1.0em;
		text-align:center;
		font-weight:400;
		color:#222;
	}
	#headTelA span:hover, #headTelB span:hover {
		background:#FFF;
	}
	#headTelB span {
		/*Hide Landline Number but keep column formats*/
		display:none !important;
	}
nav {
}
.nav { /*Class*/
	position:relative;
	height:auto;
	overflow:hidden;
	padding:0;
	margin:0;
}
.nav ul {
	list-style:outside;
	list-style-type:none;
	padding:0;
	margin:0;
}
.nav ul li {
	display:block;
	float:left;
	width:100%;
	-webkit-transition: background 400ms ease-in-out;
	-moz-transition: background 400ms ease-in-out;
	-ms-transition: background 400ms ease-in-out;
	-o-transition: background 400ms ease-in-out;
	transition: background 400ms ease-in-out;
}
.nav ul li a {
	display:block;
	width:100%;
	padding:0.75em 0;
	font-size:1.1em;
	font-weight:400;
	text-align:center;
	text-decoration:none;
	color:#253659;
	border-bottom:dashed 1px #ccc;
}
.nav ul li:hover {
	background:#DD5182;
}
.nav ul li:hover a {
	color:#fff;
}
.nav-mobile { /*Mobile menu specific*/
	display:none;
	cursor:pointer;
	position:absolute;
	top:5px;
	right:5px;
	height:40px;
	width:40px;
	border-radius:5px;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	background-color: rgba(37,54,89,1.0);
	background-image: url(../img/gfx/nav.svg);
	background-repeat: no-repeat;
	background-position: center center;
}
.banner-container {
	position:relative;
	width:100%;
	max-width:1920px;
	border-top:solid 3px #253659;
}
#page {
	font-size:1.2em;
}
main, footer {
	box-sizing:border-box;
	width:100%;
	padding:0 1.4em;
}
main {
}
footer {
	height:auto;
	overflow:hidden;
	background:#2F5496;
	color:#fff;
	font-size:1.1em;
}
footer a, footer a:visited {
	color:#FFF;
}
footer a:hover {
	color:#FFF;
}
footer a:focus, footer a:active {
	color:#FF9;
}
	.address {
		margin-bottom:1.0em;
	}
	.mapCont {
		text-align:center;
		margin-bottom:2.0em;
	}
	#siteLinks, #credit {
		box-sizing:border-box;
		width:100%;
		padding:0.5em 2%;
	}
	#siteLinks {
		margin-bottom:1.4em;
	}
	#credit {
		margin-bottom:1.4em;
	}
/*----- IMAGE STYLES -----*/
.responsive {
	width:100%;
	height:auto;
}
.banner {
	max-width:1920px;
}
.imgMap {
	width:100%;
	max-width:870px;
}
.sign {
	max-width:300px;
}
/*----- TEXT STYLES -----*/
.pCen {
	text-align:center;
}
.footerName {
	font-family: 'Philosopher', sans-serif;
	font-size:1.6em;
}
.quote {
	font-size:1.4em;
	color:#333;
	text-align:center;
}
.quote q:before {
	content:open-quote;
	font-size:2.0em;
	color:#dd5182;
}
.quote q:after {
	content:close-quote;
	font-size:1.0em;
	color:#dd5182;
}
.quoteName {
	margin:0;
	padding:0.8em 0;
	font-size:0.9em;
	font-style:italic;
	text-align:center;
	color:#DD5182;
	border-bottom:dashed 1px #ccc;
}
.quoteTitle {
	font-family: 'Philosopher', sans-serif;
	font-size:1.8em;
	color:#253659;
	font-weight:400;
}
.tBlockCont {
	display:block;
	clear:both;
	box-sizing:border-box;
	width:100%;
	padding:1.0em 5%;
	height:auto;
	overflow:hidden;
	border:solid 1px #8EAADB;
}
.tBlock {
	/*Testimonial block*/
	display:block;
	box-sizing:border-box;
	margin:2.0em auto;
	font-size:1.1em;
	color:#333;
	text-align:center;
}
.testTitle {
	/*Testimonials title*/
	font-family: 'Philosopher', sans-serif;
	font-size:1.2em;
	font-weight:400;
	color:#2F5496;
}
.title1 {
	font-family: 'Philosopher', sans-serif;
	font-size:1.6em;
	font-weight:bold;
	color:#5b66a8;
}
.title2 {
	font-size:1.6em;
	color:#253659;
}
/*----- LIST STYLES -----*/
.listFees {
	list-style:outside;
	list-style-type:none;
	margin:0;
	padding:0;
}
.listFees li {
	box-sizing:border-box;
	display:block;
	padding:1.0em;
	height:auto;
	overflow:hidden;
	margin-bottom:0.5em;
	border:solid 1px #2F5496;
}
.listFees li span {
	display:block;
	float:left;
	box-sizing:border-box;
	width:100%;
	margin:0.2em 0;
	padding:0.5em;
	border:solid 1px #999;
}
.listFees li span {
	margin-right:1%;	
}
/*----- BANNER OVERLAY STYLES -----*/
.title-banner {
	margin:0;
	padding:0;
	font-family: 'Philosopher', sans-serif;
	font-size:2.0em;
}
.overlayCont {
	display:none;
	width:100%;
	color:#FFF;
	text-align:center;
	background:rgba(37,54,89,1.0);
}
.overlayCont span {
	display:inline-block;
	width:auto;
	padding:0.2em 0.4em;
	background:rgba(47,84,150,0.9);
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-webkit-transition: background 500ms ease-in-out;
	-moz-transition: background 500ms ease-in-out;
	-ms-transition: background 500ms ease-in-out;
	-o-transition: background 500ms ease-in-out;
	transition: background 500ms ease-in-out;
}
.overlayCont span:hover {
	background:#DD5182;
}
/*----- BLOCK STYLES -----*/
.block {
	display:block;
}
.containerRow {
	display:block;
	clear:both;
	width:100%;
	margin:1.0em 0;
}
/*Columns will flex, add as many as required*/
.col, .col2 {
	flex:1;
	box-sizing:border-box;
	background:rgba(255,255,255,0.0);
}
.classTypes {
	display:flex;
	flex-wrap:wrap;
}
.classEntry {
	box-sizing:border-box;
	padding:0.5em;
	margin-bottom:1.0em;
	flex:100%;
	border:solid 1px #ccc;
}
	.classEntry .title2 {
		margin-top:0;
	}
	.classEntry .responsive {
		float:right;
		width:50%;
		padding-left:0.8em;
	}
.colPad {
	padding:0 0.5em;
}
.colLine {
	border-right:solid 0px #253659;
}
.quoteCont {
	box-sizing:border-box;
	margin:30px 0 !important;
	padding:0.8em;
	background:#f8f8ff;
}
.qBlock {
	box-sizing:border-box;
	width:80%;
	padding:2.0em 5%;
	margin:0.5em auto;
	text-align:center;
}
.full {
	box-sizing:border-box;
	width:100%;
	padding:0 1%;
	margin:1.0em 0;
}
.colourA {
	background:#f8f8ff;
}
.colourB {
	background:#fffef7;
}
.cta {
	display:block;
	clear:both;
	padding:1.0em;
	margin-top:1.5em 0;
	border-top:solid 2px #5B66A8;
	font-size:1.2em;
}
.blockShadow {
	-webkit-box-shadow: 0 0 20px 10px #EEEEEE;
	box-shadow: 0 0 20px 10px #EEEEEE;
	background:#FFFFEE;
}
.border {
	border:solid 2px #253659;
}
/*----- TIMRTABLE STYLES ------*/
.ttHeader, .ttHeader2 {
	display:block;
	height:auto;
	overflow:hidden;
	margin-bottom:1.0em;
	padding:0.4em 0;
	background:#253659;
	color:#fff;
}
.ttHeader2 {
	background:#5B66A8;
}
.ttRow {
	width:100%;
	height:auto;
	overflow:hidden;
	margin-bottom:1.4em;
	border:solid 1px #5b66a8;
}
.hDay, .hTime, .hClass, .hFee, .hTeacher, .hBooking, .rDay, .rTime, .rClass, .rFee, .rTeacher, .rBooking {
	box-sizing:border-box;
	display:block;
	float:left;
	width:48%;
	margin:2px 1%;
	padding:0.2em;
	text-align:center;
}
.hDay, .hTime, .hClass, .hFee, .hTeacher, .hBooking {
	background:rgba(240,240,240,0.12);
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
.rDay, .rTime, .rClass, .rFee, .rTeacher, .rBooking {
	background:rgba(91,103,168,0.1);
}
.hClass, .rClass {
	width:98%;
}
	.rClass {
		font-weight:500;
	}
.hBooking, .rBooking {
	width:98%;
}
.rBooking {
	background:#C8D7F1;
	color:#fff;
	-webkit-transition: background 500ms ease-in-out;
	-moz-transition: background 500ms ease-in-out;
	-ms-transition: background 500ms ease-in-out;
	-o-transition: background 500ms ease-in-out;
	transition: background 500ms ease-in-out;
}
.rBooking a {
	display:block;
	color:#222;
}
.rBooking:hover {
	background:#FFF;
}
/*Timetable day colours*/
.Monday {
	background:#F584B380;
}
.Tuesday {
	background:#FFB7B280;
}
.Wednesday {
	background:#FFDAC180;
}
.Thursday {
	background:#E2F0CB80;
}
.Friday {
	background:#B5EAD780;
}
.Saturday {
	background:#C7CEEA80;
}
.Sunday {
	background:#DFB3EA80;
}
.Workshop {
	background:#99CCFF80;
}
/*----- FORM STYLES ------*/
.btn {
	display:inline-block;
	width:auto;
	border:solid 1px #2F5496;
	font-size:1.1em;
	font-weight:400;
	-webkit-transition: all 500ms ease-in-out;
	-moz-transition: all 500ms ease-in-out;
	-ms-transition: all 500ms ease-in-out;
	-o-transition: all 500ms ease-in-out;
	transition: all 500ms ease-in-out;
}
.btn:hover {
	background:#253659;
	transform:scale(1.0);
}
.btn a {
	display:block;
	padding:0.4em 1.0em;
}
.btn:hover a {
	color:#fff;
}
/*----- Teachers -----*/
.teacher {
	display:block;
	clear:both;
	width:100%;
	margin-bottom:0.75em;
	height:auto;
	overflow:hidden;
	border-bottom:solid 1px #ccc;
}
.imgTeacher {
	display:block;
	clear:both;
	margin:auto;
	width:100%;
	max-width:300px;
}
.teacherTitle {
	font-size:1.8em;
	margin-top:0;
	text-align:center;
}
@media (min-width: 1px) and (max-width: 767px) {
	/*mobile specific*/
	nav {
		min-height:45px;
	}
	.nav-list {
		display:none;
	}
	.nav-mobile {
		display:block;
	}
	.nav-active {
		display:block;
	}
	.nav-mobile-open {
		border-radius:5px 5px 0 0;
		-webkit-border-radius:5px 5px 0 0;
		-moz-border-radius:5px 5px 0 0;
	} /*end mobile specific*/
}
@media (min-width:600px) {
	.listFees li span {
		width:49%;
	}
}
@media (min-width: 640px) {
	#headTelA, #headTelB {
		display:block;
	}
	.overlayCont {
		display:block;
	}
	.imgTeacher {
		float:left;
		clear:none;
		padding-right:1.4em;
	}
	.sign {
		max-width:400px;
	}
}
@media (min-width: 669px) {
}
@media (min-width: 768px) {
	h1 {
		font-size:2.0em;
	}
	h2 {
		font-size:1.8em;
	}
	h3, h4, h5, h6 {
		font-size:1.6em;
	}
	/*#headAdd {
		display:block;
		clear:both;
		height:40px;
		overflow:hidden;
	}
	#headTelA {
		position:absolute;
		top:60px;
		right:0;
		width:30%;
		text-align:right;
	}
	#headTelB {
		position:absolute;
		top:60px;
		right:0;
		width:30%;
		text-align:right;
	}*/
	.nav ul li {
		width:20%; /*based on 5 links at 20% each - adjust as required*/
	}
	.nav ul li a {
		border-bottom:none;
		border-right:solid 1px #ccc;
	}
		.nav ul li:last-child a {
			border-right:none;
		}
	.title-banner {
		font-size:2.0em;
	}
		/*.title-banner span { Add inline element such as span to wrap text, allows text background colour
			padding:0.2em 0.5em;
			background:rgba(0,0,0,0.4);
		}*/
	.overlayCont {
		position:absolute;
		top:75%;
		width:100%;
		background:none;
	}
	.hDay, .hTime, .hClass, .hFee, .hTeacher, .hBooking, .rDay, .rTime, .rClass, .rFee, .rTeacher, .rBooking {
		width:23%;
	}
	.hClass, .rClass {
		width:48%;
	}
	.hBooking, .rBooking {
		width:48%;
	}
	.quoteName {
		font-size:1.0em;
	}
	.tBlock {
		float:left;
		width:48%;
		margin:1%;
		height:auto;
		overflow:hidden;
	}
}
@media (min-width:768px) and (orientation:portrait) {
	.logo {
		width:400px;
	}
}
@media (min-width: 1024px) {
	.headWrap .hcol:first-child, .headWrap .hcol:last-child {
		flex:2;
	}
	.headWrap .hcol:nth-child(2) {
		flex:1;
	}
	main {
		padding:0 5%;	
	}
	.logo {
		width:420px;
	}
	.containerRow {
		display:flex;
	}
	.col {
		/*was margin: 1%;*/
		padding:0 1%;
	}
	.col2 {
		margin:0%;
	}
	.classEntry {
		flex:0 0 48%;
		margin:1%;
	}
	.colLine {
		border-right:solid 1px #253659;
	}
	#siteLinks, #credit {
		float:left;
		clear:none;
		width:50%;
	}
	#credit {
		text-align:right;
	}
	.quote {
		border-bottom:none;
		text-align:left;
		font-size:1.3em;
		border-right:none;
	}
	.quoteCont col:last-child {
		border-right:none;
	}
	.quoteName {
		padding-left:15px;
		border-left:solid 3px #DD5182;
		border-bottom:none;
	}
}
@media (min-width: 1200px) {
	#page {
		font-size:1.4em;
	}
	/*#headTel {
		top:85px;
		right:1.0em;
	}*/
	nav {
		max-width:1200px;
		margin:auto;
	}
		.nav {
			margin:auto;
		}
	.nav ul li a {
		font-size:1.2em;
	}
	.title-banner {
		font-size:3.0em;
	}
	.hDay, .hTime, .hClass, .hFee, .hTeacher, .hBooking, .rDay, .rTime, .rClass, .rFee, .rTeacher, .rBooking {
		width:12%;
	}
	.hClass, .rClass {
		width:28%;
	}
	.imgTeacher {
		max-width:400px;
	}
}
@media (min-width: 1440px) {
	/*#headAdd {
		position:absolute;
		top:10px;
		left:10px;
		clear:none;
		width:220px;
		height:auto;
		overflow:hidden;
		font-size:1.1em;
		text-align:left;
	}*/
	/*#headTel {
		top:50px;
	}*/
	main {
		padding:0 8%;
	}
	.sign {
		max-width:540px;
	}
}
@media (min-width:1920px) {
	header {
		position:relative;
	}
}
 /* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

 .hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap; /* 1 */
}

/*
* Extends the .visuallyhidden class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
  white-space: inherit;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}

 
/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

   @media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

 
/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

   @media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}


