/*
	GYMIES GYM
 	26.07.2010 - DATE FINISH
	VERSION 1.0

    ---CONTENTS -------

	1.GLOBAL
	2.GRID
	3.HEADER
	0.USEFUL BITS
    -------------------


    ---COLOURS --------

    -------------------
    
*/

/* import CSS for compliant browsers */ 
@import url(reset.css);
@import url(typography.css); 
@import url(jquery.fancybox.css); 
@import url(tables.css);

/********************************
1.GLOBAL
********************************/

html, body {margin:0;padding:0;}
body {background: url(../img/display/body-stripes.gif) #fff repeat-x top center;}


/********************************
2.GRID
********************************/

#header, #footer {
	width:920px;
	margin:0 auto;
	padding:0 10px;
}

#content {
	width:920px;
	margin:0 auto;
	padding:0;
}

#header, #footer, #content {
	clear:both;
}

.section:after {content: ".";  display: block; height: 0; clear: both; visibility: hidden;}

.c25, .c40, .c60, .c33, .c33.extended, .c50, .c75, .c100 { display:inline; margin:0 20px; float:left; }

.c33 {width:260px; padding:0 3px;/*Use padding to round number out*/}
.c33:last-child { position:relative; right:-2px;/*deal with the 2pixel shortfall*/}

.c33.extended {width: 280px; margin: 0 10px;}

.c33.extended:last-child { right:0;}

.c40 {width:320px; padding:0 4px;/*Use padding to round number out*/}
.c60 {width:500px; padding:0 6px;/*Use padding to round number out*/}

.c60 + .c40 img {position: relative;left: 4px; /*If there is an image in c40 directly following c60, move it over 4px*/}

.c50 {width:420px;}
.c100 {width:880px; clear: left;}
.c100.padd10 {width: 900px; margin: 0 10px;}

/*Use these together*/
.c25 {width:210px;}
.c75 {width:630px;}


/********************************
3.HEADER
********************************/

#header {
	position:relative;
	padding-bottom: 22px;
	background: url(../img/display/drawnline.png) transparent no-repeat 30px 100%;
}


#logo {
	height: 90px;
	width: 200px;
	position: relative;
	margin-top: 20px;
	left: 10px;
}

#logo a, #logo a:hover, #logo a:focus, #logo a:active {
	display: block;
	text-indent: -999em;
	background: url(../img/display/gymies-logo.png) transparent no-repeat 0 0;
	height: 90px;
	width: 200px;
}


/*--NAVIGATION--------------------------------*/

#nav {
	position: absolute;
	width: 600px;
	right: 10px;
	top:48px;
}

#nav li {
	position:relative;
	display: inline;
}

#nav li a {
	padding: 4px 9px 6px 9px;
	text-decoration: none;
	text-align: center;
	border: 1px solid transparent; 
}

#nav li a:hover, #nav li a:focus, #nav li a:active,
body#about #nav li.na a, 
body#facilities #nav li.nb a, 
body#programs #nav li.nc a,
body#schedule #nav li.nd a,
body#activities #nav li.ne a  {
	border: 1px solid #ddd;
	color:#e4804e;
	-webkit-border-radius: 22px;
	-moz-border-radius: 22px;
	border-radius: 22px;
	background: -webkit-gradient(linear, 0 0, 0 bottom, from(#fff), to(#f2f2f2));
	background: -moz-linear-gradient(#fff, #f2f2f2);
}
      

#register {
	width: 180px;
	height: 48px;
	position: absolute;
	z-index: 2;
	right: 40px;
	top: -20px;
}

#register a {
	width: 180px;
	height: 48px;
	display: block;
	background: url(../img/display/reg-button.png) transparent no-repeat -10px 0;
	text-indent: -999em;
}

#register a:hover, #register a:focus, #register a:active {
	background-position: -190px 0;
}

#utility {
	position: absolute;
	top: -7px;
	right: 175px;
	width: 300px;
}

#utility li {
	display:inline;
	margin-bottom:0;
	font-size: 1.2em;
	border-left: 1px solid #ddd;;
	padding-right: 8px;
	padding-left: 7px;
	text-align: center;
	font-size: 1em;
}

#utility li:first-child {
	padding-left: 0;
	border-left: 0;
}

#utility li a {
	text-decoration: none;
	color:#aaa;
	text-align: center;
}

#newsletter_signup label {
	display: block;
}

#newsletter_signup input {
	display: block;
}

#newsletter_signup input.button {

}


/********************************
CONTENT
********************************/

.section {
	margin-bottom: 20px;
}

#content {
	margin: 20px auto;
}

#content.nomb {
	margin-bottom: 0;
	overflow: hidden;
	background: url(../img/display/line.png) transparent repeat-y 88% 0;
}

#content h2 {
	font-size:3.2em;
	margin:20px 0;
	line-height:30px;
	font-weight: 400;
}

#content h3 {
	font-size: 2.6em;
	line-height: 20px;
	letter-spacing: normal;
	margin: 20px 0;
}

#content p + h2, #content p + h3 {
	margin-top: 40px;
}

#content img {
	display: block;
	-moz-box-shadow:0 3px 3px rgba(0,0,0,0.3);
	-webkit-box-shadow:0 3px 3px rgba(0,0,0,0.3);
	box-shadow:0 3px 3px rgba(0,0,0,0.3);
}

#facilities #content img {
	margin-top: 32px;
}


/*--HOMEPAGE--------------------------------*/

.text_overlay {
	background: #3cb7ca;
	background: rgba(60,183,202,0.9);
	color: #fff;
	font-size: 1.4em;
	padding:5px 25px 15px 25px;
	position: absolute;
	left: 0;
	width: 850px;
	bottom: 0;
	display: block;
	border-top: 1px solid #fff;
	text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.text_overlay cite {
	display: block;
	font-size: 1.8em;
	line-height: 2em;
}

.text_overlay cite em {
	font-size: 0.725em;
}

.text_overlay cite span {
	font-style: italic;
	font-size: 1.4em;
	letter-spacing: -2px;
}


#home #newsletter_signup label {
	display: block;
	color: #fff;
	display: none;
}

#home #newsletter_signup input {
	display: block;
	padding: 6px;
	border: 0;
	margin: 0 0 6px 0;
	width: 220px;
	color: #666;
}

#home #newsletter_signup input.button {
	width: 100px;
	text-align: center;
	padding: 18px;
	font-size: 1.8em;
	position: absolute;
	z-index: 2;
	top:64px;
	right: 20px;
	color: #fff;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	-webkit-box-shadow: #666 0px 2px 3px;
	-moz-box-shadow: #666 0px 2px 3px;
	box-shadow: #666 0px 2px 3px;
	background: #9ECFFA;
	background: -webkit-gradient(linear, 0 0, 0 bottom, from(#9ECFFA), to(#1AA8C7));
	background: -moz-linear-gradient(#9ECFFA, #1AA8C7);
	background: linear-gradient(#9ECFFA, #1AA8C7);
	cursor: pointer;
}

#home #newsletter_signup input.button:hover,
#home #newsletter_signup input.button:focus,
#home #newsletter_signup input.button:active {
	background: #FA9EE9;
	background: -webkit-gradient(linear, 0 0, 0 bottom, from(#FA9EE9), to(#FA0A94));
	background: -moz-linear-gradient(#FA9EE9, #FA0A94);
	background: linear-gradient(#FA9EE9, #FA0A94);
}

#home #newsletter_signup input.button:focus,
#home #newsletter_signup input.button:active {
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow:none;
}

.midtier .split {
	padding: 18px;
	width: 400px;
	margin: 0 10px;
	background: #e07044;
	border:1px solid #ddd;
	float: left;
	position: relative;
}

.midtier .split + .split {
	background: #6bc756;
	position: relative; 
	left: 4px;
}

.midtier .split h4 {
	font-size: 2.2em;
	margin-bottom: 7px;
	color: #fff;
	position: relative;
	top:-6px;
	font-weight: 800;
	/* text-shadow: 0 1px 3px rgba(0,0,0,0.3); */

}

.midtier .split a {
	color: #fff;
	text-shadow: 0 1px 1px rgba(0,0,0,0.3);
	background: url(../img/display/icons/tab.png) transparent no-repeat 0 5px;
	padding-left: 22px;
}

.midtier .split a:hover, .midtier .split a:focus, .midtier .split a:active {
	text-transform: uppercase;
}

.midtier .split ul {

}

.midtier .split li {
	margin-bottom: 7px;
}


/*--SCHEDULE--------------------------------*/

#content .schedule_title {
	text-indent: -999em;
	height: 120px;
	width: 880px;
	margin-bottom: 30px;
	position: relative;
	margin-top:0px;
}

.schedule_title a {
	display: block;
	height: 120px;
	width: 880px;
	background: url(../img/display/schedule-image.jpg) transparent no-repeat 0 0;
}

#schedule h3 {
	text-align: center;
	text-transform: uppercase;
	margin-bottom: 24px;
	font-size: 2.2em;
}


/*--PROGRAMS/ACTIVITIES------------------------*/

#looped {
	position:relative;
	overflow: hidden;
	margin-bottom: 0;
	margin-top: 0px;
}

#looped .loop {
	padding-bottom:19px;
	margin-bottom:30px;
	border-bottom:1px solid #ddd;
}

#looped .loop:last-child {
	border-bottom:0;
	margin-bottom: 0;
}

#looped .c75 {
	width:600px;
	padding-left:5px;
	margin-right:25px;
}

#looped .c25 {
	width:200px;
	padding-left:10px;
	padding-top: 180px;
}

#looped .loop .image {
	width:158px;
	height:98px;
	padding:10px;
	border:1px solid #ddd;
	background:#eee;
	float:left;
	margin-right:30px;
	margin-bottom:0px;
	clear:left;
}

#looped .loop .image img {
	display:block;
	width:158px;
	height:98px;
	-moz-box-shadow:none;
	-webkit-box-shadow:none;
	box-shadow:none;
}

#looped .loop h3 {
	font-size: 3em;
}

#looped #menu_roll {
	position:fixed;
	width:200px;
	z-index:2;
	margin-left:5px;
	margin-top: -160px;
}

#looped #menu_roll li, #looped #menu_roll li a {
	text-align:right;
	display:block;
}

#looped #menu_roll li {
	margin-bottom:6px;
}

#looped #menu_roll li a {
	padding:6px 10px 8px 10px;
	overflow:hidden;
	vertical-align:middle;
	background:url(../img/display/arrow.png) transparent no-repeat 3px 0px;
	color:#fff;
	text-decoration:none;
	text-transform:lowercase;
}

#looped #menu_roll li a:hover, #looped #menu_roll li a:focus, #looped #menu_roll li a:active {
	background-position: 0px -40px;
}

#soft_bottom {
	position: absolute;
	z-index: 6;
	bottom: 0px;
	right: 0;
	width: 260px;
	height: 15px;
	background: -webkit-gradient(linear, 0 0, 0 bottom, from(rgba(255,255,255,0.01)), to(rgba(255,255,255,1)));
	background: -moz-linear-gradient(rgba(255,255,255,0.01), rgba(255,255,255,1));
	background: linear-gradient(rgba(255,255,255,0.01),gba(255,255,255,1));
}


/*--NEWSLETTER--------------------------------*/

body#letter #newsletter_signup {
	margin-top: 24px;
}

body#letter #newsletter_signup label {
	display: block;
	color: #fff;
	display: none;
}

body#letter #newsletter_signup input {
	display: block;
	padding: 8px;
	margin: 0 0 12px 0;
	width: 85%;
	color: #666;
	border: 1px solid #ddd;
}

body#letter #newsletter_signup input.button {
	width: 80px;
	text-align: center;
	padding: 8px;
	margin-top: 16px;
	font-size: 1.2em;
	z-index: 2;
	color: #fff;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	-webkit-box-shadow: #666 0px 2px 3px;
	-moz-box-shadow: #666 0px 2px 3px;
	box-shadow: #666 0px 2px 3px;
	background: #9ECFFA;
	background: -webkit-gradient(linear, 0 0, 0 bottom, from(#9ECFFA), to(#1AA8C7));
	background: -moz-linear-gradient(#9ECFFA, #1AA8C7);
	background: linear-gradient(#9ECFFA, #1AA8C7);
	cursor: pointer;
	border: none;
}

body#letter #newsletter_signup input.button:hover,
body#letter #newsletter_signup input.button:focus,
body#letter #newsletter_signup input.button:active {
	background: #FA9EE9;
	background: -webkit-gradient(linear, 0 0, 0 bottom, from(#FA9EE9), to(#FA0A94));
	background: -moz-linear-gradient(#FA9EE9, #FA0A94);
	background: linear-gradient(#FA9EE9, #FA0A94);
}

body#letter #newsletter_signup input.button:focus,
body#letter #newsletter_signup input.button:active {
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow:none;
}

body#letter img {
	display: block;
	-moz-box-shadow:none;
	-webkit-box-shadow:none;
	box-shadow:none;
	position: relative;
	top: 20px;
}


/*--ABOUT US--------------------------------*/

#content.about_style {
	width: 720px;
	padding: 0 40px;
	border-left: 1px dotted #ddd;
	border-right: 1px dotted #ddd;
}

#story {
	position: relative;
	width: 680px;
	margin: 0 auto;
	margin-top: -10px;
}

#story li {
	width: 680px;
	display: block;
}

#story .inner {
	width: 460px;
	margin: 0 auto;
}

#story li p {
	font-size: 1em;
	margin-bottom: 0;
}

#story li h3 {
	font-size: 2em;
	text-transform: uppercase;
	letter-spacing: 1px;
	text-align: center;
}

#story .inner.first {
	padding-bottom: 36px;/*Extra padding for signature*/
	position: relative;
	left: 20px;
}

#story .sig {
	background: url(../img/display/sig.png) transparent no-repeat bottom center;
	height: 70px;
	margin-bottom: 20px;
}

#story .inner h3 {
	background: url(../img/display/ornations/1.png) transparent no-repeat top center;
	padding-top: 60px;
}

#story .inner h4 {
	text-align: center;
	font-size: 1.6em;
	margin: 22px 0;
	padding: 4px;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}

#story .inner.second h3 {
	background: url(../img/display/ornations/1.png) transparent no-repeat top center;
	padding-top: 60px;
}

#story .inner p {
	margin-bottom: 0;
	text-align: justify;
}

#story .inner p + p {
	text-indent: 14px;
}

#story .inner.first p {
	font-size: 1.1em;
	line-height: 1.9em;
}

#story .inner.first p:first-line {
	font-weight: 800;
	font-variant: small-caps;
	color: #ea8652;
}

#story .inner.first p:first-letter {
	font-size: 10em;
	font-weight: 400;
	float: left;
	margin-left: -110px;
	margin-top: -28px;
	font-style: italic;
	color: #ea8652;
}

#story .inner.first p + p:first-letter {
	font-size: 1em;
	float: none;
	margin: 0;
	float: none;
	font-weight: normal;
	font-style: normal;
	color: #777;
}

#story .inner.first p + p:first-line {
	font-weight: normal;
	font-variant: normal;
	color: #777;
}

/* Easy Slider */

#slider {
	
}
	
#slider ul, #slider li {
	margin:0;
	padding:0;
	list-style:none;
}
	
#slider li { 
	width:680px;
	display: block;
	overflow:hidden; 
}	

#prevBtn, #nextBtn { 
	display:block;
	width:60px;
	height:60px;
	position:absolute;
	left:-90px;
	top:63px;
}	

#nextBtn{ 
	left:710px;
}
														
#prevBtn a, 
#nextBtn a {  
	display:block;
	width:60px;
	height:60px;
	background:url(../img/display/nav-arrows.png) transparent no-repeat 0 0;	
	text-indent: -999em;
	overflow: hidden;
	outline: none;
}
	
#nextBtn a { 
	background:url(../img/display/nav-arrows.png) transparent no-repeat -60px 0;	
}	

#prevBtn a:hover {
	background-position: 0 -61px;
}	

#nextBtn a:hover {
	background-position: -60px -61px;
}										


/*--CONTACT--------------------------------*/

body#contact .c40 {
	padding-top: 14px;
}

body#contact .c40 span {
	display: inline-block;
	width: 50px;
}

body#contact .c40 h4 {
	font-size: 2em;
}

body#contact .c40 li h4 {
	font-size: 1.4em;
	margin-top: 24px;
}

body#contact .c40 li {
	margin-bottom: 0px;
}

body#contact .c60 {
	position: relative;
}

body#contact .c60 img {
	display: block;
	position: relative;
	z-index: 0;
}


/*--GENERIC--------------------------------*/

.generic .section {
	width: 740px;
	padding:22px 64px;
	border: 3px double #ddd;
	margin-left: 25px;
}

.generic .section p {
	text-align: justify;
}

.generic .section h3 {
	margin-bottom: 24px;
	text-align: center;
}

.generic .section h4 {
	text-transform: uppercase;
	font-size: 1.8em;
	text-align: center;
	padding: 6px 0;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	margin: 24px 0;
}


/*--ERRORS-------------------------------*/

#error .section.er  {
	width: 480px;
	margin: 0 auto;
	padding: 0 40px 20px 40px;
}

#error .section.er h3 {
	text-align: center;
	background: url(../img/display/ornations/1.png) transparent no-repeat top center;
	padding-top: 60px;
}

#error .section.er  p {
	text-align: justify;
	margin-bottom: 0;
	font-size: 1.6em;
	line-height: 1.9em;
}

#error .section.er  p + p {
	text-indent: 14px;
}

/********************************
FOOTER
********************************/

#footer {
	position: relative;
	background: url(../img/display/drawnline-divide.png) #fff no-repeat 30px 0;
	padding-top: 17px;
	margin-bottom: 28px;
	z-index:3;
}

#footer .section {
	margin: 40px 0 45px 0;
	position: relative;
}

.vcard li, .vcard a, .vcard span {
	display: none;
}

.vcard {
	text-indent: -999em;
	background: url(../img/display/footer-strapline-braces.png) transparent no-repeat 0 0;
	height: 80px;
	width: 540px;
	margin-left: 20px;
}

#footer .logo {
	background: url(../img/display/footer-logo.png) transparent no-repeat bottom left;
	height: 80px;
	width: 190px;
	position: absolute;
	right: 70px;
	top:0px;
}

#footer ul {
	margin-left: 20px;
}

#footer li {
	font-size: 1em;
	color: #aaa;
	display: inline;
	margin-right: 6px;
}

#footer li span {
	text-transform: lowercase;
	font-variant: small-caps;
}

#footer a {
	color: #aaa;
}

.bs {background:url(../img/display/icons/social/16/blogspot.png) transparent no-repeat 0 0;}
.fb {background:url(../img/display/icons/social/16/facebook.png) transparent no-repeat 0 0;}
.rss {background:url(../img/display/icons/social/16/feed.png) transparent no-repeat 0 0;}

li.icon {
	width:16px;
	height:16px;
	display:block;
	position: absolute;
	text-indent:-999em;
	right: 20px;
}

li.icon.bs {
	right: 42px;
} 

li.icon.rss {
	right: 64px;
} 

li.icon a {
	width:16px;
	height:16px;
	display:block;
	background-color:transparent;
}

/********************************
GALLERY
********************************/

#gallery {
	position:relative;
	left:20px;
	clear:left;
	z-index:1;
}

#gallery li.c33.extended {
	margin:0 5px 10px 5px;
	position:relative;
	z-index:2;
}

#gallery li h4 {
	color:#fff;
	background:#333;
	background:rgba(0,0,0,0.8);
	padding:6px;
	border:1px solid #444;
	position:absolute;
	left:3px;
	bottom:0px;
	z-index:3;
}



/********************************
0.USEFUL BITS
********************************/
a {overflow: hidden;}
.faded { display: none;}
.last {margin-right: 0;}
.hidden {display:none!important;}
.height_fix {height: 1%;}
.block {display: block;}
.inline {display: inline;}
.relative {position: relative;}
.clear_left {clear:left;}
.none {display:none;}
html {image-rendering: -moz-crisp-edges;}
img {image-rendering: optimizeQuality;  -ms-interpolation-mode: bicubic;}
img[src$=".gif"] {image-rendering: -moz-crisp-edges; -ms-interpolation-mode: nearest-neighbor;}/* applies to GIF images only */
