/* @override 
	http://www.themegacentre.com/wp-content/themes/megacentre/style.css
	http://www.themegacentre.com/liverpool/wp-content/themes/megacentre/style.css
	http://www.themegacentre.com/sheffield/wp-content/themes/megacentre/style.css
	http://www.themegacentre.com/leeds/wp-content/themes/megacentre/style.css
	http://themegacentre.local/wp-content/themes/megacentre/style.css
*/

/* @group Globals */

* {
	margin: 0;
	padding: 0;
}

body {
	background: #b7d9e8 url(img/background.png) repeat-x 0 -269px;
	font: 13px "Lucida Grande", Lucida, Arial, sans-serif;
	width: 1000px;
	margin: 0 auto;
}

h1, h2 {
	font-family: "Century Gothic", Futura, "URW Gothic L", "MgOpen Moderna", Arial, sans-serif;
}

hr {
	visibility: hidden;
	clear: both;
}

a:link { color: #0b476b; }
a:visited { color: #73848e; }
a:active { color: #2d9ade; }
a:hover { color: #2787c2; }

a img {
	border-width: 0;
}

img {
	padding: 2px;
	background: white;
}

.vanish {
	display: none;
}

.content-block {
	box-shadow: 1px 1px 30px rgba(0,0,0,0.2);
	-moz-box-shadow: 1px 1px 30px rgba(0,0,0,0.2);
	-webkit-box-shadow: 1px 1px 30px rgba(0,0,0,0.2);
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
}

/* @end */

/* @group Positioning */

/* Set separately so that it can be changed together easily. */

#header {
	position: relative;
	left: -100px;
}

#businesses {
	position: absolute;
	width: 797px;
	left: 190px;
}

#cities {
	position: absolute;
	right: -100px;
}

#breadcrumb {
	position: relative;
	left: 200px;
}

#header h1 a {
	position: absolute;
	top: 51px;
	left: 181px;
	height: 54px;
	width: 286px;
}

/* @end */

/* @group Header */

#header {
	background: transparent url(img/curves_logo.png) no-repeat -29px -13px;
	width: 922px;
	height: 282px;
}

#cities {
	margin-top: 10px;
}

#cities li, #businesses li {
	display: inline;
	float: left;
}

#cities a, #businesses a {
	display: inline-block;
	color: black;
	text-decoration: none;
	text-align: center;
}

#cities a {
	height: 39px;
	width: 91px;
	background: transparent url(img/cities_buttons.png) no-repeat right top;
	padding-top: 9px;
	margin-right: 2px;
	font-size: 13px;
}

#cities a:hover, #cities a:active, #cities .current {
	background-position: left top;
}

#businesses {
	position: relative;
	top: 160px;
}

#businesses a {
	height: 47px;
	width: 136px;
	background: transparent url(img/business_buttons.png) no-repeat right -2px;
	margin-right: 2px;
	padding-top: 12px;
	font-size: 14px;
}

#businesses a:hover, #businesses a:active, #businesses .current {
	background-position: left -2px;
}

#businesses .two-lines {
	font-size: 12px;
}

/* This CSS puts long tab names on two lines

#businesses .two-lines {
	padding-top: 5px;
}

.two-lines .fragment-1 {
	display: block;
	text-align: left;
	padding-left: 10px;
}

.two-lines .fragment-2 {
	display: block;
	text-align: right;
	padding-right: 10px;
}

*/

#breadcrumb {
	position: absolute;
	font-size: 11px;
	color: #4e4e4e;
	margin-left: 3px;
	margin-top: 5px;
}

#breadcrumb a {
	color: #4e4e4e;
	text-decoration: none;
}

/* @end */

/* @group Slideshow */

#slideshow {
	position: relative;
	border: 2px solid white;
	z-index: 0;
	margin-top: 15px;
}

#slideshow img {
	padding: 0;
	
}

#slideshowtoggler {
	position: absolute;
	top: 226px;
	z-index: 3;
	width: 172px;
	left: 23px;
}

#slideshowtoggler a, #slideshowtoggler span {
	display: block;
	float: left;
	background: rgba(0,0,0,0.44);
	height: 22px;
	margin-right: 5px;
	color: white;
}

#slideshowtoggler span {
	font: 15px "Century Gothic", Futura, "URW Gothic L", "MgOpen Moderna", Arial, sans-serif;
	padding: 4px 10px 1px;
}

#slideshowtoggler a {
	text-decoration: none;
	font-size: 20px;
	padding: 1px 10px 4px;
}

/* @end */

/* @group Body */

#body {
	position: relative;
	left: 91px;
	top: -32px;
	background: #deeaf2 ; /* url(img/content.jpg) no-repeat 0 0 */
	/* Three different declarations for different implementations! */
	border-radius: 2px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 2px;
	width: 795px;
	padding: 20px 15px 15px 15px;
}

/* @end */

/* @group Sidebars */

#sidebars {
	float: right;
	margin-top: 96px;
	padding: 0 20px 0 13px;
	background-color: #fff; /* Fallback for browsers that can't do rgba() */
	background-color: rgba(255,255,255,0.69);
	margin-bottom: 14px;
	width: 200px;
	position: absolute;
	top: -40px;
	left: 579px;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
}

.page-type-Room #sidebars {
	width: 222px;
	padding: 0 0 9px 7px;
}

#sidebars li {
	list-style: none;
	padding-left: 20px;
	background: url(img/bullet_orange.png) no-repeat 3px 0;
	padding-bottom: 6px;
}

.page-type-Room #sidebars li {
	padding-left: 19px;
	margin-left: -10px;
}

#sidebars h2 {
	margin: 10px 0;
}

.sidebar {
	margin-bottom: 13px;
}

/* @end */

/* @group Content */

#content {
	/* Leave these background declarations as they are, since background images are inserted for each post */
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: 550px 0;
	background-image: none;
	float: left;
	width: 910px;
	padding-top: 72px;
	position: relative;
	top: -72px;
}

#post_body {
	background: white;
	padding: 10px;
	border: 5px solid white;
	float: left; /* To make sure it doesn't reach up underneath the main image. */
	width: 373px;
	margin-top: 13px;
	clear: left; /* Keeps the content under the main image when there are no other thumbnails */
}

/*
#body takes a Z index of 0, #content h1:first-child takes -1
This ensures that the background images applied to #content show up
in front of the big header, but behind the sidebar
*/

#body {
	z-index: 0;
}

#content h1:first-child {
	background: white;
	padding: 10px;
	border: 10px solid white;
	border-top-left-radius: 40px;
	border-bottom-left-radius: 40px;
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
	box-shadow: 1px 1px 30px rgba(0,0,0,0.2);
	position: relative;
	margin: -50px 0 15px 0;
	left: -70px;
	width: 876px;
	z-index: -1;
	
	/* Non-standard code stinks. */
	-webkit-border-top-left-radius: 40px;
	-webkit-border-bottom-left-radius: 40px;
	-webkit-border-top-right-radius: 10px;
	-webkit-border-bottom-right-radius: 10px;
	-webkit-box-shadow: 1px 1px 30px rgba(0,0,0,0.2);
	-moz-border-radius-topleft: 40px;
	-moz-border-radius-bottomleft: 40px;
	-moz-border-radius-topright: 10px;
	-moz-border-radius-bottomright: 10px;
	-moz-box-shadow: 1px 1px 30px rgba(0,0,0,0.2);
}

#content blockquote {
	background: white;
	margin: 10px;
	padding: 5px 7px;
	-webkit-border-radius: 6px;
	font: 15px Arial, Helvetica, Geneva, sans-serif;
}

#content blockquote p {
	margin-top: 0;
}

#content p {
	margin-bottom: 10px;
}

#content ol, #content ul {
	margin: 10px 30px;
}

div.wpcf7 {
	margin-bottom: 30px !important;
}

.wpcf7-response-output {
	width: 343px;
	margin-top: 0 !important;
	font-size: 15px;
	border: 0 !important;
	-webkit-border-radius: 7px;
	-moz-border-radius: 7px;
	border-radius: 7px;
	margin-left: -1px !important;
	padding: 10px 14px 10px 35px !important;
}

.wpcf7-validation-errors, .wpcf7-mail-sent-ng {
	background: #f17f7f url(img/exclamation.png) no-repeat 11px 11px;
	font-weight: bold;
	color: #612425;
}

.wpcf7-mail-sent-ok {
	background: #c7f1c0 url(img/accept.png) no-repeat 11px 11px;
	padding: 10px 10px 10px 35px !important;
	color: #004b11;
}

.wpcf7-not-valid-tip {
	background: #fff9cf url(img/bullet_red.png) no-repeat 2px 6px !important;
	border: 0 !important;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	padding: 5px 5px 5px 19px !important;
	color: #39382f;
	font-size: medium !important;
}

.wpcf7-not-valid-tip-no-ajax {
	color: #612425 !important;
	border: 3px solid #f17f7f;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	background-color: #f17f7f;
	position: relative;
	top: -34px;
	left: 270px;
	display: inline-block !important;
}

.text-input, textarea {
	font: 14px "Lucida Grande", Lucida, Verdana, sans-serif;
	padding: 3px;
	width: 350px;
}

#content blockquote.testimonial cite {
	display: block;
	position: absolute;
	bottom: -30px;
	left: -15px;
	color: #333;
	text-align: right;
	width: 100px;
	z-index: 1;
}

#content blockquote.testimonial.even cite {
	text-align: left;
	left: 250px;
}

#content blockquote.testimonial {
	position:relative;
	width:280px;
	padding: 15px 20px;
	margin:30px 50px 50px 20px;
	text-align:center;
	color:#fff;

	-webkit-border-radius:10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	background:-webkit-gradient(linear, left top, left bottom, from(#b8db29), to(#5a8f00));
	background:-moz-linear-gradient(top, #b8db29, #5a8f00);
	background:-o-linear-gradient(top, #b8db29, #5a8f00);
	background:linear-gradient(top, #b8db29, #5a8f00);
}

#content blockquote.testimonial:before, #content blockquote.testimonial:after {
	content:"\00a0";
	position:absolute;
	z-index: 0;
	bottom:-30px;
	right:50%;
	height: 20px;
}

/* creates part of the curve */
#content blockquote.testimonial:before {
	width:0;
	border-right:60px solid #5a8f00;
	background:#5a8f00; /* need this for webkit - bug in handling of border-radius */
	-moz-border-radius-bottomright:90px 50px;
	-webkit-border-bottom-right-radius:90px 50px;
	border-bottom-right-radius:90px 50px;
	-moz-transform:translate(-40px, -12px);
	-webkit-transform:translate(-40px, -12px);
	-o-transform:translate(-40px, -12px);
	transform:translate(-40px, -12px);
}

/* creates part of the curved pointy bit */
#content blockquote.testimonial:after {
	width:60px;
	background: white;
	-moz-border-radius-bottomright:30px 40px; 
	-webkit-border-bottom-right-radius:30px 40px; 
	border-bottom-right-radius:30px 40px; 
	-moz-transform:translate(-60px, -10px);
	-webkit-transform:translate(-60px, -10px);
	-o-transform:translate(-60px, -10px);
	transform:translate(-60px, -10px);
}

#content blockquote.testimonial.even:before {
	width: 0px;
	border-left:60px solid #5a8f00;
	-moz-border-radius-bottomleft:90px 50px;
	-webkit-border-bottom-left-radius:90px 50px;
	border-bottom-left-radius:90px 50px;
	-moz-transform:translate(170px, -11px);
	-webkit-transform:translate(170px, -11px);
	-o-transform:translate(170px, -11px);
	transform:translate(170px, -11px);
}

#content blockquote.testimonial.even:after {
	width: 100px;
	-moz-border-radius-bottomleft:30px 40px; 
	-webkit-border-bottom-left-radius:30px 40px; 
	border-bottom-left-radius:30px 40px; 
	-moz-transform:translate(170px, -11px);
	-webkit-transform:translate(170px, -11px);
	-o-transform:translate(170px, -11px);
	transform:translate(170px, -11px);
}



/* @end */

/* @group Main Home Page */

.no-city.home #content {
	width: 847px;
}

.no-city.home .post {
	width: 795px;
}

.no-city.home #post_body  {
	width: 765px;
	margin-left: 0 !important;
	margin-bottom: 15px;
}

.no-city.home #body {
	top: -68px;
}

.city-front-page {
	background: #f7faff;
	margin-bottom: 15px;
	padding: 10px;
	padding-bottom: 23px;
}

.city-front-page h2 {
	padding-bottom: 0;
	padding-top: 5px;
	padding-left: 7px;
}

.city-front-page h2 a:link {
	text-decoration: none;
}

.city-front-page h2 a:visited {
	color: #333;
	text-decoration: none;
}

.city-front-page h2 a:hover, .city-front-page h2 a:active {
	text-decoration: underline;
}

#sheffield-front-page {
	width: 395px;
	float: left;
}

#sheffield-front-page ul {
	margin: 0 !important;
}

#sheffield-front-page li {
	list-style: none;
	padding: 0;
}

#sheffield-front-page li a {
	width: 110px;
	float: left;
	background: white no-repeat center 4px;
	margin: 20px 15px 5px;
	display: block;
	border-radius: 3px;
	box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
	width: 86px;
	text-align: center;
	padding: 95px 5px 7px;
	
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

#sheffield-front-page .conferencing a {
	background-image: url(img/main_page/conference.jpg);
}

#sheffield-front-page .megalearn a {
	background-image: url(img/main_page/megalearn.jpg);
}

#sheffield-front-page .megakidz a {
	background-image: url(img/main_page/megarelax.jpg);
}

#sheffield-front-page .meganursery a {
	background-image: url(img/main_page/nursery.jpg);
}

#sheffield-front-page .hope-city-enterprise a {
	background-image: url(img/main_page/noh2.png);
}

#leeds-front-page, #liverpool-front-page {
	width: 345px;
	float: right;
}

#leeds-front-page {
	clear: right;
}

#leeds-front-page p {
	padding-bottom: 0;
	padding-left: 7px;
	padding-top: 10px;
	width: 333px;
}

/* @end */

/* @group City Home Pages */

.home #content {
	float: left;
	width: 461px;
}

.home #slideshow {
	margin-top: 49px;
	margin-bottom: 10px;
}

.home #slideshowtoggler {
	top: 311px;
	left: 39px;
}

.home #content #post_body, .home #slideshow {
	margin-left: 33px;
}

.sheffield .city-front-page {
	margin-top: 15px;
	margin-left: 32px;
	padding-right: 0;
}

.sheffield .city-front-page li a {
	margin-right: 15px !important;
	margin-left: 15px !important;
}

#latest {
	background: white;
	float: right;
	width: 315px;
	padding: 2px 0 20px;
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
	box-shadow: 1px 1px 30px rgba(0,0,0,0.2);
	-webkit-border-bottom-left-radius: 20px;
	-webkit-border-bottom-right-radius: 20px;
	-webkit-box-shadow: 1px 1px 30px rgba(0,0,0,0.2);
	-moz-border-radius-bottomleft: 20px;
	-moz-border-radius-bottomright: 20px;
	-moz-box-shadow: 1px 1px 30px rgba(0,0,0,0.2);
	/* So that it pops under the content header (for shadows) */
	position: relative;
	z-index: -3;
	margin-right: 0;
	margin-top: 19px;
	margin-left: 0;
}

#latest h2 {
	padding-top: 10px;
	padding-right: 22px;
	padding-bottom: 21px;
	border-bottom: 1px solid #e8e8e8;
	padding: 20px;
}

#latest .post p {
	margin-bottom: 7px;
	margin-top: 5px;
}

#latest .post, .twitter-message {
	background: #fbfbfb;
	background:-webkit-gradient(linear, left top, left bottom, from(#f2f2f2), to(#fbfbfb));
	background:-moz-linear-gradient(top, #f2f2f2, #fbfbfb);
	background:-o-linear-gradient(top, #f2f2f2, #fbfbfb);
	background:linear-gradient(top, #f2f2f2, #fbfbfb);
	border-bottom: 1px solid #e8e8e8;
	padding: 15px 20px;
	color: #a5a5a5;
}

#latest h3 a {
	text-decoration: none;
	color: black;
}

#latest h3 a:hover {
	text-decoration: underline;
	color: #2d9ade;
}

#latest .excerpt {
	margin: 5px;
	color: #4e4e4e;
}

#latest .excerpt, .twitter-message {
	color: #4e4e4e;
}

#latest a:link, #latest a:visited {
	color: #405b6b;
}

#latest a:hover, #latest a:active {
	color: #2d9ade;
}

.twitter-timestamp {
	display: block;
	color: gray;
	margin-top: 8px;
}

#follow-us a {
	display: block;
	text-align: right;
	padding: 14px 25px 19px 20px;
	font-size: 18px;
	-webkit-border-bottom-left-radius: 20px;
	-webkit-border-bottom-right-radius: 20px;
	-moz-border-radius-bottomleft: 20px;
	-moz-border-radius-bottomright: 20px;
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
	margin-bottom: -21px;
	border-top: 2px solid white;
}

/* @end */

/* @group Megakidz */

.liverpool.megakidz #post_body {
	width: 500px !important;
	margin-top: 27px;
	margin-left: 15px;
}

.parents-question {
	color: gray;
	font-style: italic;
	font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
}


/* @end */

/* @group Hope City Enterprise */

.hope-city-enterprise #post_body {
	width: 613px;
	background: transparent;
	border-width: 0;
}

.hope-city-enterprise #sidebars {
	width: 127px;
	display: none;
}

.hce_project {
	margin-bottom: 13px;
	background: white;
	padding: 5px 20px 0 0;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	display: table;
}

.hce_project h3 {
	margin-bottom: 5px;
	display: none;
}

.hce_project p {
	display: table-cell;
	vertical-align: middle;
	width: 350px;
}

.hce_project .image {
	background: white;
	height: 110px;
	float: left;
	width: 250px;
}

/* @end */

/* @group Ad Bar */

#ad-bar {
	background: #efefef;
	clear:both;
	width: 785px !important;
	position:relative;
	padding: 0;
	margin: 0 0 10px;
	border: 5px solid #b1c0ce;
}

#ad-bar ul {
	list-style:none;
	height: 118px;
	overflow: hidden;
}

#ad-bar ul li {
	float:left;
	width:182px;
	height: 108px !important;
	margin: 5px 5px 5px 0;
	padding: 0 0 0 0;
}

#ad-bar ul li img {
	padding: 0;
	height: 108px;
	width: 182px;
}

#ad-bar .button {
	background: #b1c0ce;
	color: white;
	position:absolute;
	z-index:150;
	height: 128px;
	width: 20px;
	top: -5px;
}

#ad-bar button {
	background: #efefef;
	color: #15314c;
	z-index:150;
	height: 118px;
	width: 20px;
	border: none;
	position: relative;
	top: 5px;
	font-size: 16px;
	text-shadow: #787878 1px 1px 3px;
}

#ad-bar .prev button {
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-bottomleft: 5px;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
}

#ad-bar .next button {
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
	-moz-border-radius-topright: 5px;
	-moz-border-radius-bottomright: 5px;
	-webkit-border-top-right-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
}

#ad-bar .button.next {
	right: 0px;
}

#ad-bar button:hover {
	background: white;
}

#ad-bar button:focus {
	outline:none;
}

/* @end */



/* @group Gallery */

#post_gallery {
	width: 562px;
}

#post_gallery.many-images .gallery-thumb img {
	width: 59px;
	height: 59px;
}

#post_gallery.few-images .gallery-thumb img {
	width: 131px;
	height: 131px;
}

#gallery_thumbs {
	width: 157px;
	float: right;
}

.gallery-image {
	float: left;
	margin-bottom: 0 !important;
}

.gallery-thumb {
	float: right;
	margin: 0 10px 10px 0 !important;
}

/* @end */

/* @group Find Us */

#directions_form {
	position: absolute;
	left: 440px;
	width: 334px;
	top: 114px;
	height: 161px;
}

#directions_form, #map_canvas, #directionsPanel, .title_find-us #post_body {
	background: white;
	border: 10px solid white;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-box-shadow: 3px 3px 10px rgba(69,69,69,0.57);
	-webkit-box-shadow: 3px 3px 10px rgba(69,69,69,0.57);
	box-shadow: 3px 3px 10px rgba(69,69,69,0.57);
}

.title_find-us #post_body {
	margin: 20px 0;
}

#directions_form h2 {
	font: bold 16px "Lucida Grande", Lucida, Arial, sans-serif;
	margin-bottom: 7px;
}

#directions_form #postcode input {
	padding: 2px;
	width: 113px;
	font: 13px "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	margin-top: 5px;
}

#directions_form #postcode, #directions_form #travel_mode {
	margin: 0px 0 10px 0px;
	background-color: #e2e2e2;
	padding: 3px 6px 6px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	width: 267px;
}

#directions_form label {
	width: 114px;
	display: inline-block;
	vertical-align: 4px;
}

#directions_form #submit {
	position: absolute;
	top: 110px;
}

#map_canvas {
	background: transparent;
	margin-bottom: 10px;
	width: 774px !important;
}

#directionsPanel {
	display: none;
	background: #e8edf2;
	border: 10px solid #e8edf2;
	margin-bottom: 10px;
	width: 774px;
}

#submit_message {
	display: none;
	position: absolute;
	top: 110px;
	width: 197px;
	left: 103px;
	padding: 6px 4px 7px 29px;
	border: 1px solid #d3cb8c;
	border-radius: 3px;
	background: #feffbe url(img/information.png) no-repeat 6px 6px;
}

.adp-text, .adp-placemark {
	background: white;
	border-color: #dbdbdb;
}

.adp-placemark td {
	padding: 5px;
}

#directionsPanel table {
	border-collapse: collapse;
}

/* @end */

/* @group Footer */

#footer {
	font-size: 11px;
	position: relative;
	margin-top: 80px;
	text-align: center;
	margin-bottom: 20px;
	clear: both; /* Because of the front page floats */
}

/* @end */



