@charset 'UTF-8';

/*  
Theme Name: Agame
Description: Agame Yoga and Meditation Center theme
Version: 1.1
Author: Nate Hart
*/



/**
 * @license
 * 
 * The fonts listed in this notice are subject to the End User License
 * Agreement(s) entered into by the website owner. All other parties are 
 * explicitly restricted from using the Licensed Webfonts(s).
 * 
 * You may obtain a valid license at the URLs below.
 * 
 * Webfont: Fertigo Pro Regular
 * URL:http://new.myfonts.com/fonts/exljbris/fertigo-pro/regular/
 * Foundry: exljbris
 * Copyright: Copyright (c) 2008 by Jos Buivenga. All rights reserved.
 * License: http://www.myfonts.com/viewlicense?1056
 * Licensed pageviews: unlimited/month
 * CSS font-family: FertigoPro-Regular
 * CSS font-weight: normal
 * CSS font-style: normal
 * 
 * (c) 2011 Bitstream Inc
 */

@font-face {
	font-family: 'Fertigo Pro';
	src: url('webfonts/fertigo_pro-webfont.eot');
	src: url('webfonts/fertigo_pro-webfont.eot?#iefix') format('embedded-opentype'),
		 url('webfonts/fertigo_pro-webfont.woff') format('woff'),
		 url('webfonts/fertigo_pro-webfont.ttf') format('truetype'),
		 url('webfonts/fertigo_pro-webfont.svg#FertigoProRegular') format('svg');
	font-weight: normal;
	font-style: normal;
}



/* @group reset */

html, body, h1, h2, h3, h4, h5, h6, div, ul, ol, li, p, a, form, fieldset, input, textarea, table {
	margin: 0;
	padding: 0;
}

img {
	border: none;
}

a,
input.submit {
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

small {
	display: none;
}

/* @end reset */



/* @group layout */

html {
	height: 100%;
}

body {
	background-color: #fff7d6;
	background-image: url('images/header-swirl.png'), url('images/header-swirl-2.png');
	background-position: top left, top right;
	background-repeat: no-repeat;
	height: 100%;
}

.no-multiplebgs body {
	background: #fff7d6 url('images/header-swirl.png') no-repeat;
}

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

.clearfix {
	clear: both;
}

ol, ul {
	list-style-position: outside;
}

#wrap {
	background: url('images/swirl-transparent.png') left bottom no-repeat;
	position: relative;
	overflow: hidden;
	min-height: 100%;
}

#main {
	margin: 0 auto;
	padding-bottom: 125px;
	position: relative;
	overflow: hidden;
	max-width: 960px;
}

/* @end layout */



/* @group typography */

html, textarea {
	font: 10px 'Helvetica Neue', Arial, Helvetica, Geneva, sans-serif;
}

h1, h2, h3, h4, h5, h6,
blockquote {
	font-family: 'Fertigo Pro', Palatino, 'Hoefler Text', Times, 'Times New Roman', serif;
	font-weight: normal;
}

#footer {
	font-family: Georgia, Times, 'Times New Roman', serif;
}

h1 {
	font-size: 36px;
	font-size: 3.6rem;
	line-height: 36px;
	line-height: 3.6rem;
}

h2 {
	font-size: 24px;
	font-size: 2.4rem;
	line-height: 27px;
	line-height: 2.7rem;
}

h3 {
	font-size: 21px;
	font-size: 2.1rem;
	line-height: 27px;
	line-height: 2.7rem;
}

.alert,
#footer,
h4 {
	font-size: 18px;
	font-size: 1.8rem;
	line-height: 21px;
	line-height: 2.1rem;
}

label,
table,
h5,
li,
p,
.error,
#menu-navigation li,
#menu-navigation li ul a {
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 18px;
	line-height: 1.8rem;
}

h6,
input,
textarea,
blockquote,
#content .event .header span,
#footer #menu-navigation-1 a,
#footer h3 {
	font-size: 14px;
	font-size: 1.4rem;
	line-height: 18px;
	line-height: 1.8rem;
}

h1,
p {
	margin-bottom: 18px;
}

h2,
h4 {
	margin-bottom: 12px;
}

blockquote,
h3,
h5 {
	margin-bottom: 9px;
}

h6 {
	margin-bottom: 6px;
}

.required .error {
	margin-bottom: 10px;
}

.center {
	text-align: center;
}

blockquote {
	font-style: italic;
}

h1, h2, h3, h4, h5, h6 {
	color: #430303;
}

blockquote,
label,
table,
#content span,
li,
p {
	color: #725555;
}

.error {
	color: #f55;
}

em {
	font-style: italic;
}

a {
	color: #3b6e00;
}

a:visited {
	color: #295c00;
}

a:hover,
a:focus {
	color: #6b9e00;
}

a:active,
input.submit:active {
	position: relative;
	top: 1px;
}

#header a:active,
#menu-navigation a:active,
#menu-navigation-1 a:active {
	top: auto;
}

/* @end typography */



/* @group tables */

table {
	border-collapse: collapse;
	border-spacing: 0;
	margin: 0 0 10px;
	width: 100% !important;
}

td {
	border-top: 1px solid #e6d6b0;
	border-left: 1px solid #e6d6b0;
	padding: 5px;
}

tr:first-child td {
	border-top: none;
}

td:first-child {
	border-left: none;
}

tr:nth-child(2n),
tr.odd {
	background: #fcf2c6;
	background: rgba(0,0,0,0.01);
}

/* @end tables */



/* @group forms */

a#FSContact1 {
	display: none;
}

input, textarea {
	background: #fdfdfd;
	border: 1px solid #ddd;
	border-radius: 3px;
	outline: none;
	padding: 4px 6px;
	margin: 0 0 10px;
	color: #777;
}

textarea {
	height: 100px;
	width: 60ex;
}

input:focus, textarea:focus {
	background: #fff;
	border-color: #97df00;
	box-shadow: rgba(0,0,0,0.1) 0 0 5px;
	color: #000;
}

input.submit {
	background: #87c700;
	background: -webkit-linear-gradient(#87c700, #6b9e00);
	background: -moz-linear-gradient(#87c700, #6b9e00);
	background: -o-linear-gradient(#87c700, #6b9e00);
	background: linear-gradient(#87c700, #6b9e00);
	border: 1px solid #6b9e00;
	border-radius: 4px;
	cursor: pointer;
	margin: 0 5px;
	color: #fff;
	width: auto;
}

input.submit:hover {
	background: #97df00;
	background: -webkit-linear-gradient(#97df00, #7eba00);
	background: -moz-linear-gradient(#97df00, #7eba00);
	background: -o-linear-gradient(#97df00, #7eba00);
	background: linear-gradient(#97df00, #7eba00);
	border-color: #87c700;
	box-shadow: #fff 0 0 5px;
}

/* @end forms */



/* @group alerts */

.alert {
	margin: 10px 0 25px;
	text-align: center;
	font-weight: bold;
	color: #f33;
}

.alert a,
.alert a:visited {
	color: #c00;
}

.alert a:hover,
.alert a:focus {
	color: #600;
}

/* @end alerts */



/* @group header */

#header {
	background-color: #ffffc4;
	background-image: url('images/header-swirl.png'), url('images/header-swirl-2.png');
	background-position: top left, top right;
	background-repeat: no-repeat;
	border-bottom: 1px solid #e7e7bd;
	border-bottom-right-radius: 500px 20px;
	border-bottom-left-radius: 500px 20px;
	overflow: hidden;
}

.no-multiplebgs #header {
	background: #ffffc4 url('images/header-swirl.png') no-repeat;
}

#header div {
	margin: 0 auto;
	max-width: 960px;
}

#header h1 {
	margin: 10px 0 5px -8px;
	text-indent: -9999px;
}

#header h1 a {
	background: url('images/sprite.png') no-repeat;
	margin: 0 auto;
	-webkit-transition: none;
	-moz-transition: none;
	-o-transition: none;
	transition: none;
	display: block;
	height: 140px;
	width: 384px;
}

#header h1 a:hover {
	background-position: -400px 0;
}

#header h1 a:active {
	background-position: -800px 0;
}

#header h2 {
	background: url('images/sprite.png') 0 -140px no-repeat;
	margin: 0 auto 5px;
	text-indent: -9999px;
	height: 49px;
	width: 284px;
}

/* @end header */



/* @group menus */

#menu-navigation,
#menu-navigation-1 {
	position: relative;
	text-align: center;
	list-style: none;
	z-index: 1000; /* Fix for IE7 z-index bug with positioned elements */
}

#menu-navigation > li,
#menu-navigation-1 > li {
	margin-left: 1ex;
	display: inline-block;
	position: relative;
	
	*display: inline; /* IE7 */
	zoom: 1;
}

#menu-navigation li:first-child,
#menu-navigation-1 li:first-child {
	margin-left: 0;
}

#menu-navigation li:hover ul,
#menu-navigation-1 li:hover ul {
	display: block;
}

#menu-navigation a,
#menu-navigation-1 a {
	display: block;
	text-decoration: none;
}

/* @group drop down */

#menu-navigation .sub-menu,
#menu-navigation-1 .sub-menu {
	display: none;
	position: absolute;
	right: 0;
	list-style: none;
	text-align: left;
	width: 150px;
	z-index: 200;
}

#menu-navigation .sub-menu li,
#menu-navigation-1 .sub-menu li {
	list-style-position: outside;
}

#menu-navigation li:first-child ul,
#menu-navigation-1 li:first-child ul {
	left: 0;
}

#menu-navigation .sub-menu li a,
#menu-navigation-1 .sub-menu li a {
	padding: 5px 6px;
	display: block;
}

/* @end drop down */

/* @end menus */



/* @group primary navigation */

#menu-navigation {
	margin: 0 0 30px 30px;
	padding-top: 10px;
}

#menu-navigation .current-menu-item a, #menu-navigation .current-menu-parent a {
	color: #030;
}

#menu-navigation > li > a {
	padding: 4px 6px;
	color: #6b9e00;
}

#menu-navigation li:hover > a {
	background: #a6bf6f;
	color: #ffffc4;
}

#menu-navigation > ul > li:active a {
	background: #809949;
	color: #ffffc0;
}

/* @group drop down */

#menu-navigation .sub-menu {
	background: url('images/dropdown-bottom.png') bottom no-repeat;
	padding-bottom: 10px;
	top: 26px;
}

#menu-navigation .sub-menu li a {
	background: #a6bf6f;
	border-top: 1px solid #90a959;
	color: #fff9d9;
}

#menu-navigation .sub-menu a:hover {
	background: #90a959;
	color: #ffffc4;
}

#menu-navigation .sub-menu a:active {
	background: #809949;
	color: #ffffc0;
}

#menu-navigation .sub-menu li:first-child a {
	border: none;
}

/* @end drop down */

/* @end primary navigation */



/* @group sidebar images */

.sidebar-image {
	border: 5px solid #fff;
	box-shadow: rgba(0,0,0,0.1) 0 0 5px;
	margin: 0 5px 10px -240px;
	float: left;
	clear: left;
	max-width: 220px;
}

.sidebar-image:nth-child(n+1) {
	-webkit-transform: rotate(0.5deg);
	-moz-transform: rotate(0.5deg);
	-o-transform: rotate(0.5deg);
	transform: rotate(0.5deg);
}

.sidebar-image:nth-child(2n) {
	-webkit-transform: rotate(-0.5deg);
	-moz-transform: rotate(-0.5deg);
	-o-transform: rotate(-0.5deg);
	transform: rotate(-0.5deg);
}

.event.sidebar-image {
	-webkit-transform: none;
	-moz-transform: none;
	-o-transform: none;
	transform: none;
}

/* @end sidebar images */



/* @group main content area */

#content {
	margin: 0 5px 0 245px;
	float: left;
	width: 470px;
}

#content .section {
	padding: 0 240px;
	margin: 0 -240px 10px -240px;
	overflow: hidden;
}

/* @end main content area */



/* @group sidebar quotes */

.sidebar-quote {
	margin: 39px -240px 10px 5px;
	float: right;
	clear: right;
	text-align: center;
	width: 230px;
}

/* @end sidebar quotes */



/* @group sidebar */

#sidebar {
	margin: 0 0 0 10px;
	float: right;
	width: 230px;
}

#sidebar blockquote {
	margin: 0;
}

/* @end sidebar */



/* @group half columns */

.half-col {
	width: 470px;
}

.half-col.left {
	margin-right: 10px;
	float: left;
}

.half-col.right {
	margin-left: 10px;
	float: right;
}

/* @end half columns */



/* @group student of the month */

.sotm h3 {
	margin-left: -240px;
}

/* @end student of the month */



/* @group contact form */

.contact-form {
	margin: 0 5px;
	width: 460px;
}

.contact-form input,
.contact-form textarea {
	width: 440px;
}

.contact-form input.submit {
	float: right;
	width: auto;
}

/* @end contact form */



/* @group events */

#content .event {
	margin-top: 60px;
}

#content .event:first-child {
	margin-top: 0;
}

#content .event .flyer {
	margin: 0 5px 10px -240px;
	float: left;
	width: 220px;
}

#content .event .flyer img {
	margin: 0 5px 10px;
}

#content .event .header {
	border-bottom: 1px solid #dfd6b0;
	padding-bottom: 5px;
	margin-bottom: 10px;
	overflow: hidden;
}

#content .event .header h2 {
	float: left;
	*width: 100%;
}

#content .event .header .time {
	margin-top: -10px;
	clear: both;
	float: left;
	*width: 100%;
}

#content .event .header .teacher {
	clear: both;
	float: left;
	*width: 100%;
}

#content .event .header .price {
	float: right;
	
	/* Some IE fixes here because IE7 is acting weird with the floats */
	*float: left;
	*width: 100%;
}

/* @end events */



/* @group footer */

#footer {
	background: #ffffc4;
	border-top: 1px solid #e7e7bd;
	position: absolute;
	bottom: 0;
	color: #7a794c;
	height: 110px;
	width: 100%;
}

/* @group footer navigation */

#menu-navigation-1 {
	margin: 10px 0 0;
}

#menu-navigation-1 > li {
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
	padding: 2px 3px;
	height: 20px;
}

#menu-navigation-1 a {
	color: #aaa98c;
}

#menu-navigation-1 a:hover {
	color: #7a794c;
}

#menu-navigation-1 li:hover {
	background: #fff;
}

/* @group drop down */

#menu-navigation-1 .sub-menu {
	background: #fff;
	border-top-right-radius: 5px;
	border-top-left-radius: 5px;
	padding-top: 5px;
	bottom: 20px;
}

#menu-navigation-1 .sub-menu a:hover {
	background: #f9f9f9;
}

#menu-navigation-1 .sub-menu a:active {
	background: #eee;
	color: #333;
}

/* @end drop down */

/* @end footer navigation */

.email, .phone {
	margin-right: 1ex;
}

#footer address {
	margin: 10px auto;
	text-align: center;
	font-style: normal;
	max-width: 960px;
}

#footer h3 {
	text-align: center;
	color: #aaa98c;
}

/* @end footer */



/* @group iframe */

iframe {
	border: 5px solid #fff;
	box-shadow: rgba(0,0,0,0.1) 0 0 5px;
	margin: 0 5px 10px;
	height: 350px;
	width: 450px;
}

.iframe-footer {
	background: #fff;
	border: 5px solid #fff;
	box-shadow: rgba(0,0,0,0.1) 0 0 5px;
	margin: -10px 5px 30px;
	display: block;
	position: relative;
	width: 450px;
	z-index: 1000;
}

.iframe-footer:active {
	top: 0;
}

/* Covers up the top shadow */
.iframe-footer::before {
	background: #fff;
	content: '';
	display: block;
	position: absolute;
	top: -10px;
	left: -5px;
	height: 5px;
	width: 460px;
}

/* @end iframe */



/* @group slideshow */

.slideshow-container {
	margin: 0 auto 40px;
	overflow: hidden;
	width: 230px;
}

.slideshow {
	background: #fff;
	border: 5px solid #fff;
	box-shadow: rgba(0,0,0,0.1) 0 0 5px;
	margin: 0 auto;
	position: relative;
	overflow: scroll;
	overflow-x: hidden;
	height: 400px;
	width: 220px;
	z-index: 0;
}

.slideshow.js {
	overflow: hidden;
	float: left;
}

.js .viewport {
	position: absolute;
}

.js .item {
	position: absolute;
	top: 0;
	left: 0;
}

.js .item:first-child {
	z-index: 1;
}

/* @group slideshow-controls */

.slideshow-prev,
.slideshow-next {
	-webkit-transition: none;
	-moz-transition: none;
	-o-transition: none;
	transition: none;
	height: 40px;
	width: 115px;
}

.slideshow-prev {
	background: url('images/sprite.png') -290px -158px no-repeat;
	float: left;
}

.slideshow-prev:hover {
	background-position: -430px -158px;
}

.slideshow-next {
	background: url('images/sprite.png') -320px -158px no-repeat;
	float: right;
}

.slideshow-next:hover {
	background-position: -460px -158px;
}

.slideshow-prev:active,
.slideshow-next:active {
	position: relative;
	top: 1px;
}

/* @end slideshow-controls */

/* @end slideshow */
