/* PARALLAX SCROLLING EXPERIMENT
   Master Styles
   Author: Jonathan Nicol (f6design.com)
*****************************************************************/


/* Global reset
   http://meyerweb.com/eric/tools/css/reset/ 
*****************************************************************/

html, body, div, span, applet, 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%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* Extended base styles (site specific)
*****************************************************************/

html {
	overflow-y: scroll; /* always force a scrollbar in non-IE */
	font-family: 'granville', serif;
}
body {
	background: #fff;
	overflow-x: hidden;
	height: 8100px;
	line-height: 1.5;
	color: #596564;
	font-size: 18px;
}

h1, h2 {
	color: #39676c;
}


a, a:link, a:active, a:visited {
	-webkit-transition: color 0.25s ease-out;
	-moz-transition: color 0.25s ease-out;
	-o-transition: color 0.25s ease-out;
	transition: color 0.25s ease-out;
	color: #8e1f36;
	outline: none;
	text-decoration: none;
}
a:hover {
	color: #FCC019;
}
img {
	display: block;
}
p {
	margin: 0.7em 0;
	font-size: 18px;
	font-family: 'granville', serif;
}

/* Colours and fonts */

.purple {color:#472c66;}
.red {color:#8e1f36;}
.green{color:#84af5b;}
.blue{color:#00919f;}
.yellow{color:#ecbe40;}
.white {color:#fff;}
.black {color:#000;}
.pink{color:#b06b75;}
.orange{color:#eb7923;}
.ltblue{color:#39676c;}
.grey {color:#596564;}
.crackers{font-family:'granville', serif; font-size:1.2em; letter-spacing:1px;}
.crackers2{font-family:'granville', serif; font-size:1.3em; font-weight:strong; margin-left: 2em;}

/* Common shared styles
*****************************************************************/
hr {
	margin: 0;
	border: none;
	border-bottom: 2px dashed #8e1f36;
	height: 3px;
}
/* Page structure
*****************************************************************/
#wrapper {
	position: relative;
}
#branding {
	width: 100%;
	background: #596564;
	position: fixed;
	top: 0;
	z-index: 8;
}
#branding h1 a {
	float: left;
	padding: 1em;
	margin: 0;
	font-size: 120%;
	color: #fff;
}
#branding h1 a:hover {
	color: #8e1f36;
}


#decopatch p
{width:75%;}

/* Nav
*****************************************************************/

nav#primary {
	z-index: 20;
	position: fixed;
	top: 0;
	left: 0;
	background: #fff;
	opacity: 0.9;
	filter: alpha(opacity=96); /* For IE8 and earlier */
	margin: 1em auto;
	padding-top: 2.7em;
	width: 100%;
	float: right;
}
nav#primary ul {
    display: table;
    float: left;
	list-style-type: none;
}
nav#primary ul li {
	float: left;
}

nav#primary ul li:last-child{padding-right:0px;}

nav#primary ul li a {
	margin-top: 1em;
	padding: 10px 30px 30px 60px;
	display:inline-block; 
	transition: all 0.75s ease 0s;
	background: transparent url(../img/button3.png)  no-repeat;
	font-family: 'chauncy-pro', cursive;
	font-size: 18px;
	font-weight:bold;
	color: #8e1f36;
}

nav#primary ul li:last-child{padding-right:0px;}

nav#primary ul li a:hover, nav#primary .b1 a:hover, nav#primary .b2 a:hover, nav#primary .b3 a:hover {color:#00919f; transition: all 0.75s ease 0s;}

nav#primary .b1 a {
	background: transparent url(../img/button1.png) no-repeat;
}
nav#primary .b2 a {
	background: transparent url(../img/button4.png) no-repeat;
}
nav#primary .b3 a {
	background: transparent url(../img/button5.png) no-repeat;
}
nav#primary a:hover, nav#primary a.active {
	color: #00919f;
	background: transparent url(../img/button2.png) no-repeat;
	text-decoration:underline;
}


.toggle-menu ul{display:table; width:25px;}
.toggle-menu ul li{width:100%; height:3px; background-color:#002e5b; margin-bottom:4px;}
.toggle-menu ul li:last-child{margin-bottom:0px;}

input[type=checkbox], label{display:none;}



@media only screen and (max-width: 1440px) {
section{max-width:95%;}
}

@media only screen and (max-width: 1024px) {
#branding {display:none;}
input[type=checkbox] {position: absolute; top: -9999px; left: -9999px; background:none;}
input[type=checkbox]:focus{background:none;}
label {float:right; padding:8px 0px; display:inline-block; cursor:pointer; z-index:100; position: fixed; left:80%; top:10px;  }
input[type=checkbox]:checked ~ nav {display:block;}

nav {display:none; position:absolute; right:0px; top:53px; background-color:#002e5b; padding:0px; z-index:99;}
nav#primary ul{width:auto; list-style-type: none;}
nav#primary ul li{float:none; padding:0px; width:100%; display:table;}
nav#primary ul li a{color:#8e1f36; font-size:15px; padding:10px 20px 10px 60px; display:block; border-bottom: 1px solid rgba(225,225,225,0.1);}
nav#primary a:hover, nav#primary a.active {
	color: #00919f;
	background: transparent url(../img/button2.png) no-repeat;
	text-decoration:underline;
}

}

@media only screen and (max-width: 1024px) {
.content{width:90%;}
}

@media only screen and (max-width: 568px) {
h1{padding:25px 0px;}
h1 span{display:block;}
}

@media only screen and (max-width: 480px) {
section {max-width: 90%;}
}

@media only screen and (max-width: 360px) {
h1{font-size:20px;}
label{padding:5px 0px;}
#logo{font-size: 20px;}
nav{top:47px;}
}

@media only screen and (max-width: 320px) {
h1 {padding: 20px 0px;}
}

nav.next-prev {
	margin: 20px 0 0 0;
}
a.prev, a.next {
	display: block;
	width: 60px;
	height: 25px;
	text-indent: -9999px;
}
a.prev {
	margin: 0 auto 5px auto;
	background: transparent url('../img/scroll-arrow-up.png') 0 0 no-repeat;
	font-family: inherit;
}
a.prev:hover {
	background: transparent url('../img/scroll-arrow-up.png') 0 -27px no-repeat;
}
a.next {
	margin: 5px auto 0 auto;
	background: transparent url('../img/scroll-arrow-down.png') -1px 0 no-repeat;
}
a.next:hover {
	background: transparent url('../img/scroll-arrow-down.png') -1px -27px no-repeat;
}
/* Parallax
*****************************************************************/

/* content */
#content {
	z-index: 4;
	position: relative;
	padding: 0 10px;
	margin: 0 60px;
	line-height: 1.7;
	font-family:'chauncy-pro', cursive;
	max-width: 1200px;
}
#content h1, #content h2 {
	margin: 0 0 25px 0;
	font-size: 140%;
	font-weight: normal;
	line-height: 1.2;
}

#content h2 {
	margin: 0 0 25px 0;
	font-size: 180%;
	font-weight: normal;
	line-height: 1.2;
}

#content article {
	width: 70%;
    background-color: rgba (255, 0, 0, 0.4);
}
#content ul {
	list-style-type:none;
	margin-left: 60px;
	font-family: 'granville', serif;}


#homepage, #decopatch, #about,  #pottery, #enamel,   #contact-us  {padding-top: 12em;}

#homepage p {min-width: 220px; width: 60%;}


@media only screen and (max-width: 1024px) {
#homepage, #pottery, #enamel, #decopatch, #children, #adults, #contact-us, #occasions, #about {
	padding-top: 2em;}
	}


#children, #contact-us{
	padding-top: 12em;
}

#homepage {
	position: absolute;
	top: 0px;
	background-position: left 500px;
}

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

#homepage {

}

}


#pottery {
	position: absolute;
	top: 1460px;
}
#enamel {
	position: absolute;
	top: 2180px;
}
#pottery h3, #enamel h3, #adults h3 {
	color: #951F6B;
	font-size: 16px;
}
#pottery ul li, #enamel ul li, #contact-us ul li, #children ul li {
	list-style-type: disc;
	margin-left: 40px;
}
#pottery a, #enamel a, #contact-us a, #children a {
	color: #8e1f36;
	text-decoration: underline;
}

#pottery a:hover, #enamel a:hover, #contact-us a:hover, #children a:hover {
	color: #1D873B;
}

#decopatch {
	position: absolute;
	top: 3270px;
}

#contact-us {
	position: absolute;
	top: 4260px;
}
#about {
	position: absolute;
	top: 5300px;
}



/* foreground (ballons/landscape) */
#parallax-bg3 {
	z-index: 3;
	position: fixed;
	left: 50%; /* align left edge with center of viewport */
	top: 0;
	width: 940px;
	margin-left: -470px; /* move left by half element's width */
}
/* balloon */
#bg3-1 {
	position: absolute;
	top: 660px;
	left: 445px;
	z-index: 10;
}
#bg3-2 {
	position: absolute;
	top: 2100px;
	left: 10%;
}
#bg3-3 {
	position: absolute;
	top: 3200px;
	left: 500px;
}
#bg3-4 {
	position: absolute;
	top: 4200px;
	left: 35%;
}
#bg3-5 {
	position: absolute;
	top: 680px;
	left: 2%px;
}
/* midground (clouds) */
#parallax-bg2 {
	z-index: 2;
	position: fixed;
	left: 50%; /* align left edge with center of viewport */
	top: 0;
	width: 1200px;
	margin-left: -600px; /* move left by half element's width */
}
#bg2-1 {
	position: absolute;
	top: 120px;
	left: 25%;
}
#bg2-2 {
	position: absolute;
	top: 890px;
	left: 65%;
}
#bg2-3 {
	position: absolute;
	top: 1200px;
	left: 50%;
}
#bg2-4 {
	position: absolute;
	top: 1300px;
	left: 30%;
}
#bg2-5 {
	position: absolute;
	top: 1640px;
	left: 220px;
}
#bg2-6 {
	position: absolute;
	top: 1830px;
	left: 600px;
}

#bg2-7 {
	position: absolute;
	top: 2050px;
	left: 5%;
}
#bg2-8 {
	position: absolute;
	top: 1600px;
	left: 70%;
}
#bg2-9 {
	position: absolute;
	top: 2450px;
	left: 75%;
}
#bg2-10 {
	position: absolute;
	top: 2380px;
	left: 220px;
}
#bg2-11 {
	position: absolute;
	top: 1950px;
	left: 65%;
}
#bg2-12 {
	position: absolute;
	top: 1795px;
	left: 220px;
}
#bg2-13 {
	position: absolute;
	top: 1260px;
	left: 260px;
}
#bg2-14 {
	position: absolute;
	top: 6000px;
	left: 470px;
}
#bg2-15 {
	position: absolute;
	top: 2700px;
	left: 40px;
}
#bg2-16 {
	position: absolute;
	top: 1670px;
	left: -10px;
}
/* background (clouds) */
#parallax-bg1 {
	z-index: 1;
	position: fixed;
	left: 50%; /* align left edge with center of viewport */
	top: 0;
	width: 1200px;
	margin-left: -600px; /* move left by half element's width */
}
#bg1-1 {
	position: absolute;
	top: 885px;
	left: 70%;
}
#bg1-2 {
	position: absolute;
	top: 1150px;
	left: 65%;
}
#bg1-3 {
	position: absolute;
	top: 2000px;
	left: 20%;
}
.dtxt {
	color: #0a0a0a;
}

