/* CSS for tuition - Derek Hasted */

/* Common settings for mobile-first display */

/* Basic components */

body {
	margin: 0;
	color: #444;
	font: 14px/18px Verdana, Arial, Helvetica, sans-serif;
	background: #FFF url(../background-image/background.png) repeat-x top;
	text-align: center;
}

h1, h2, h3 {
	font: bold 12px Verdana, Arial, Helvetica, sans-serif;
	margin: 10px 0 0;
	color:#000;
}

h2 {
	font-size: 12px;
	padding-top: 6px;
}
h3 {
	padding: 2px 0;
	font-size: 11px;
}

p {
	margin: 4px 0 7px;
	padding: 0;
}
ul {
	margin: 1px 0 1px 10px;
	padding: 1px 0 1px 10px;
}
li {
	padding: 0;
	margin: 1px 0 6px 10px;
}

blockquote {
	margin: 4px 24px;
	padding: 0;
}
blockquote p {
	margin: 6px;
	padding: 0;
	font-style: italic;
}

img {
	border: none;
}

img.photo {
	border: 1px solid #CCC;
	padding:10px;
	box-shadow: 5px 5px 5px #AAA;
	box-sizing: border-box;
}

a {
	color: #58E;
	text-decoration: none;
}
a:hover {
	color: blue;
	text-decoration: underline;
}

audio {
	display: block;
	margin: 0 auto;
}


/* Basic page */
#container {
	max-width: 1024px;
	margin: 0 auto;
	padding: 0;
	text-align: left;
/*	background:rgba(255,255,255,0.9); */
	background:#F8F8F8;
	background:white;
	overflow:hidden;
}

header, nav {
	margin: 0;
	padding: 0;
	background: #FFF;
}

footer {
	clear: both;
	overflow:hidden;
	border-top: 1px solid #69F;
	padding: 10px 2px 0;
	margin: 0;
	font: 12px Verdana, Arial, Helvetica, sans-serif;
	background-color:white;
}




#title {
	margin: 0;
	padding: 15px 0 1px;
	font: 18px "Times New Roman", Times, serif;
	font-style: italic;
	color: #69f;
	letter-spacing: 0.1em;
	text-align: center;
	font-weight:bold;
}

#title .cgl {
}

#subtitle {
	margin: 0;
	padding: 0 0 10px;
	color: #999;
	text-align: center;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: normal;
}

nav:first-of-type {
	margin-bottom: 15px;
}


/* The two main containers are underneath each other in mobile view */

#container>section, #container>aside {
	padding: 0;
}

@media (max-width: 640px) {
#container>aside {
	background:white;
	border-top: 1px solid #69F;
	margin-top:10px;
}
}
	

#container>section>h1, #container>section>h2, #container>section>h3, #container>section>p {
	margin-left:1px;
	margin-right:1px;
}



#container>aside img, .slideshow-div {
	margin-left: auto;
	margin-right: auto;
	max-width: 250px;
}

/* Footer components are underneath each other in mobile view */

footer>aside, footer>section {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	text-align:center;
}


/* Centering... divs and paragraphs */
.left {
	text-align: left;
}
.right {
	text-align: right;
}
.centre {
	text-align: center;
}
/* Centering tables */
div.centre {
	text-align: center;
}
div.centre table { /* To centre in old IE, wrap table in centred DIV */
	margin-left: auto; /* For some old browsers, can't combine all margins into one */
	margin-right: auto;
	text-align: left;
}
div.centre th { /* Put this one back... */
	text-align:center;
}

.smaller {
	font-size: 10px;
	font-weight: normal;
	color: #666;
}
.italicred {
	font-style: italic;
	font-weight: bold;
	color: #F66;
}
.italicamber {
	font-style: italic;
	font-weight: bold;
	color: #F90;
}
.italicgreen {
	font-style: italic;
	font-weight: bold;
	color: #090;
}
.palepaleblue {
	background: #F0F8FF;
}
.paleblue {
	background: #E8F4FF;
}

/*  */


.christmas-box {
	margin: 1px 1px 25px;
	border: 1px solid red;
	color:white;
	font-weight:bold;
	font-size:18px;
	text-align:center;
	padding: 3px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	background-color: #FFF;
	background-color: red;
	box-shadow: 2px 2px 4px #AAA;
	overflow: hidden;
}
.christmas-box h1 {
	margin: 5px;
	padding: 0;
	text-align:center;
	color: red;
}


.red {
	font-weight: bold;
	color: #F00;
}

img.full-resize { /* For use with no photo frame */
	max-width: 100%;
	height: auto;
	width: auto\9; /* ie8 */
}

/* The basic panel has rounded corners only on big screens */

.panel {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	text-align: left;
	margin: 1px 0 25px;
	padding: 0 0 4px;
	background: #FFF;
	border: 1px solid #69F;
	overflow: hidden; /* Constrain scope of clears to this */
}

.panel h1, .panel h2, .panel p {
	padding: 3px 3px 7px;
	margin: 1px;
}

.panel ul {
	margin-right: 1px;
	padding-right: 3px;
	padding-left: 5px;
}
.panel li {
}

.panel header h2 { /* Disable by wrapping in a div */
	text-align: center;
	padding: 5px;
	margin: 0 0 10px;
	font-weight: bold;
	background: #DDD;
	color: #000;
	box-shadow: 0 5px 6px #BBB;
	font-size: 13px;
}
.panel header h2.red {
	color:red;
}
.panel h3 {
	font-size: 12px;
}

.pale-guitar {
	background-image:url(../../photos/light-guitar-background.jpg);
	background-repeat:no-repeat;
	background-size:cover;
	background-position:center;
}
.pale-facetime {
	background-image:url(../../photos/light-facetime-background.jpg);
	background-repeat:no-repeat;
	background-size:cover;
	background-position:center;
}


/* Display videos */

.youtube-outer-wrapper { /* Forces padding to collapse */
/*	max-width:560px;
	margin: 0; */
	margin:0 auto;
	margin-top:40px;
	width:560px;
	max-width:100%;
	text-align:center;
}

.youtube-wrapper {
	position:relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
}

.youtube-wrapper iframe { /* Add to embed iframe. Style max-width and max-height as well */
	position: absolute;
	top: 0;
	left: 0;
	width:100%;
	height:100%;
	max-width: 560px;
	max-height: 345px;
	border: none;
}


/* In mobile mode, two entities are displayed full-width, vertically */

.float-2-panels, .float-200-left {
	float:none;
	width:auto;
	text-align:center;
	padding:0;
	margin:0;
	overflow:hidden; /* Constrain scope of clears to this */
}

/* SPACERS */
/* Ensure they override any container-specific spacings above */
.vspace {		/* Typically for paragraphs */
	padding-top:20px!important;		/* Margins get subsumed with content above and below */
	padding-bottom: 20px!important;	/* Padding doesn't */
}
.tspace {		/* Typically for paragraphs */
	padding-top:20px!important;		/* Margins get subsumed with content above and below */
}
.bspace {		/* Typically for photo captions */
	padding-bottom:20px!important;		/* Margins get subsumed with content above and below */
}
.hspace {		/* Typically for images */
	margin-left:5px!important;	/* Padding used for photoframe */
	margin-right: 5px!important;
}
.space {		/* Space all round */
	margin:5px!important;
}



/* Forms */
.form-container {
	width: 100%;
	max-width: 750px;
	overflow:hidden; /* Extend colour */
	background-color:#DEF;
	border: 1px solid #999;
	margin: 0 auto;
	padding-top: 1px;
	padding-bottom: 1px;
	box-sizing:border-box;
	text-align:center;
}
.form-line {
	overflow: hidden;
	border-bottom: 1px solid #999;
}
.form-container .form-line.hpot {
	display:none;
}

.form-container .form-left {
	text-align:center;
	float:none;
}
.form-left p { /* Move left & right apart but don't upset percentages */
	margin-right:5px;
}
.form-container .form-right {
	text-align:center;
	float:none;
}

.new-window-link {
	padding-right: 20px;
	background: url(../../furniture/open-in-new-window.png) no-repeat scroll right center;
	background-origin: initial;
	background-clip: initial;
}

.no-iphone {
	/* Hide on mobile device - empty placeholder class for Dreamweaver */
	display:none;
}

.float-graphic-left {
	float: left;
	margin:3px;
}

/* CSS for full-column float (eg News page) */
@media (max-width : 640px) {
.float-graphic-right {
	margin: 3px; /* Centre it and tuck above */
}
.float-graphic-right img {
	display:block;
	margin: 0 auto;
}
}
@media (min-width : 641px) {
.float-graphic-right {
	margin:3px; /* Float on a desktop */
	float:right;
}
}



#slideshow img {
	display: none;
}
#slideshow img.first {
	display: block;
}




/* Scroll to top */
#TopButton {
  display: none;
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 99;
  font-size: 16px;
  border: none;
  outline: none;
	background-color:rgba(255,255,255,0.5);
	border:1px solid #58E;
	color:#58E;
	font-weight:bold;
  cursor: pointer;
  padding: 12px;
  border-radius: 4px;
}

#TopButton:hover {
  background-color: #58E;
	color:white;
}

