/* Triangle Folk Ensemble Stylesheet

	Author: Christine Olson
	Date: 12/3/2014

*/

/* Reset Browser Styles */

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1.2;
}

* {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

/* Body Styles */

body {
	background-color: #f7c97b;
	color: #240b07;
	font-family: 'Patrick Hand', sans-serif;
	margin-top: 0;
	display: grid;
	grid-template-areas:
	"header"
	"content"
	"footer";
}

h1 {
	color: #501908;
	font-size: 3.5em;
	margin-top: 6%;
	margin-bottom: 15px;
}

h2 {
	color: #501908;
	font-size: 2em;
	margin-bottom: 15px;
}

h3 {
	color: #501908;
	font-size: 1.5em;
	margin-bottom: 15px;
}

a {
	color: #085902;
}

a:hover {
	color: #03488e;
}

/* Header Styles */

header {
	background-color: #f7c97b;
	width: 100%;
	grid-area: header;
	display: grid;
	grid-template-areas:
	"header1"
	"header2";
}

.header1 {
	grid-area: header1
	width: 100%;
	padding: 20px;
	display: grid;
	grid-template-columns: 2fr 3fr;
	grid-template-areas: "title nav";
}

.header1 h1 {
	color: #501908;
	grid-area: title;
	font-family: 'Pacifico', cursive;
	font-size: 2.5em;
	margin-top: 2%;
}

.header1 nav {
	grid-area: nav;
	margin-top: 2%;
}

.header2 {
	grid-area: header2;
}

.header2 img {
	width: 100%;
}

nav ul {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-areas: "nhome ncal nbook nautoharp";
}

nav ul li {
	text-align: center;
	border-top: 3px solid #f7c97b;
	border-bottom: 3px solid #f7c97b;
}

nav ul a {
	color: #501908;
	font-size: 1.7em;
	font-weight: bold;
	text-decoration: none;
	line-height: 1.5em;
}

nav ul li:hover {
	
}

nav ul a:hover {
	color: #085902;
}

.active {
	border-top: 3px solid #085902;
	border-bottom: 3px solid #085902;
}

#nav-home {
	grid-area: nhome;
}

#nav-cal {
	grid-area: ncal;
}

#nav-book {
	grid-area: nbook;
}

#nav-autoharp {
	grid-area: nautoharp;
}

/* Content Styles */

.content {
	grid-area: content;
}

.texthome {
	display: block;
	font-size: 1.8em;
	width: 80%;
	margin: 4% auto;
}

.about {
	width: 90%;
	margin: 2% auto 7% auto;
	display: grid;
	grid-template-columns: 4fr 5fr;
	grid-template-areas: "list tfepicture"
}

figure.group {
	grid-area: tfepicture;
}

.textlist {
	grid-area: list;
	padding-left: 10%;
}

.textlist h2 {
	margin-top: 10%;
}

.textlist ul {
	list-style-type: none;
	font-size: 1.6em;
}

figure img {
	border: 10px double #be641a;
	width: 100%;
}

.subpage {
	width: 90%;
	margin: 0 auto;
}

.programs {
	display: grid;
	grid-template-columns: 3fr 2fr;
	grid-template-areas: "plist ppic";
	margin-bottom: 5%;
}

.proglist {
	grid-area: plist;
	font-size: 1.5em;
	margin: 3%;
}

.progpic {
	grid-area: ppic;
}

.small {
	font-size: .7em;
}

p.info {
	font-size: 1.6em;
	margin-bottom: 4%;
}

.text1 {
	display: block;
	font-size: 1.5em;
	float: left;
	clear: left;
	width: 50%;
	margin-left: 7%;
}

.autoharp {
	display: grid;
	grid-template-columns: 4fr 2fr;
	grid-template-areas:
	"ahtitle ahlogo"
	"ahtext ahlogo"
	"ahsignup ahlogo";
}

#autoharp-title {
	grid-area: ahtitle;
	margin-bottom: 5%;
}

#autoharp-logo {
	grid-area: ahlogo;
}

#autoharp-text {
	grid-area: ahtext;
}

#autoharp-logo img {
	border: none;
	width: 100%;
}

.ahtext {
	font-size: 1.5em;
}

.ahtext p {
	margin-bottom: 3%;
}

/* TAC Signup Form Styles */



#mc_embed_signup {
	grid-area: ahsignup;
	font-size: 1.3em;
	margin-bottom: 15%;
}

.asterisk {
	color: #6d8503;
}

.tacForm {
	background-color: #f7c97b;
	width: 60%;
	line-height: 2em;
}

.mc-field-group {
	display: grid;
	grid-template-columns: 1fr 3fr;
	grid-template-areas: "label box";
	margin-bottom: .5em;
}

.mc-field-group label {
	grid-area: label;
}

.mc-field-group input {
	grid-area: box;
}

#mc-embedded-subscribe {
	background-color: #973f17;
	color: #ffc709;
	font-size: 1em;
	width: 30%;
	border: 2px solid #973f17;
	border-radius: 10px;
	padding: .2em 0;
	margin-top: 2%;
}

#mc-embedded-subscribe:hover {
	background-color: #501908;
}

#mc_embed_signup div.mce_inline_error {
	background-color: #F7C97B !important;
	color: #6B0505 !important;
	letter-spacing: .05em !important;
}


/* Calendar Styles */

.calSec {
	display: block;
	width: 100%;
}

table.calendar {
	width: 80%;
	border: 2px solid #501908;
	border-collapse: separate;
	border-spacing: 5px;
	float: none;
	margin: 3% auto 10% auto;
	z-index: 0;
}

table.calendar caption {
   font-size: 3em;
   padding-bottom: 10px;
}

table.calendar col.same {
	width: 14%;
}

table.calendar th {
	background-color: #973f17;
	color: #ffc709;
	line-height: 30px;
	border-radius: 3px;
	padding: 3px;
}


table.calendar td {
	border: 1px solid #501908;
	font-family: Tahoma, Geneva, sans-serif;
	font-size: .8em;
	min-height: 15%;
	border-radius: 3px;
	padding: 4px;
}


table.calendar tbody tr {
	height: 100px;
}

table.calendar td.pdate:hover {
	-webkit-transform: scale(1.2);
	-moz-transform: scale(1.2);
	-o-transform: scale(1.2);
	-ms-transform: scale(1.2);
	transform: scale(1.2);
	background-color: #f7e2bf;
	z-index: 1;
}

.date {
	display: inline-block;
	font-size: 1.2em;
	font-weight: bold;
	margin-left: 3px;
	margin-bottom: 7px;
}

.text1B {
	display: block;
	font-size: 1.5em;
	width: 55%;
	margin: 5% auto;
}

/* Footer Styles */

footer  {
	grid-area: footer;
	width: 100%;
	background-color: #501908;
	color: #ffc709;
	font-size: 1.4em;
	font-style: italic;
	line-height: 1em;
	padding: 2%;
}


/* Media Queries */

@media only screen and (max-width: 1240px) {

	.header1 {
		grid-template-columns: 3fr 4fr;
	}

	.header1 h1 {
		font-size: 2.2em;
	}

	h2 {
		font-size: 1.8em;
	}

	nav ul a {
		font-size: 1.5em;
	}

	.textlist ul {
		font-size: 1.3em;
	}

	.text1B {
		width: 80%;
	}
	
	.tacForm {
		width: 80%;
	}

}

@media only screen and (max-width: 1030px) {

	.about {
		grid-template-columns: 3fr 4fr;
	}

}

@media only screen and (max-width: 900px) {

	.header1 {
		grid-template-columns: 1fr;
		grid-template-areas:
		"title"
		"nav";
	}

	h2 {
		font-size: 1.5em;
	}

	.about {
		grid-template-columns: 1fr;
		grid-template-areas:
		"tfepicture"
		"list";
	}

	.texthome {
		font-size: 1.6em;
	}

	.textlist {
		width: 60%;
		margin: 0 auto;
	}

	table.calendar {
		width: 90%;
	}

	.autoharp {
		grid-template-columns: 3fr 2fr;
		grid-template-areas:
		"ahtitle ahtitle"
		"ahtext ahlogo"
		"ahsignup ahlogo";
	}

	.mc-field-group {
		grid-template-columns: 1fr;
		grid-template-areas:
		"label"
		"box";
	}

	footer {
		padding: 3%;
	}

}

@media only screen and (max-width: 700px) {

	.textlist {
		width: 90%;
	}

	.text1B {
		width: 95%;
	}

	.programs {
		grid-template-columns: 1fr;
		grid-template-areas:
		"plist"
		"ppic";
	}

	.autoharp {
		grid-template-areas:
		"ahtitle ahtitle"
		"ahtext ahlogo"
		"ahsignup ahsignup";
	}

	.tacForm {
		width: 100%;
	}

}

@media only screen and (max-width: 500px) {

	.header1 h1 {
		text-align: center;
	}

	nav ul {
		grid-template-columns: 1fr;
		grid-template-areas:
		"nhome"
		"ncal"
		"nbook"
		"nautoharp";
	}

	.texthome {
		font-size: 1.4em;
		width: 90%;
	}

	table.calendar {
		width: 99%;
	}

	.autoharp {
		grid-template-columns: 3fr 2fr;
		grid-template-areas:
		"ahtitle ahlogo"
		"ahtext ahtext"
		"ahsignup ahsignup";
	}

	footer {
		padding: 6%;
	}
}
