/*
Theme Name: MDCA
Description: Custom-designed theme for MDCA.
Version: 1.0
Author: Clever Starfish
Author URI: http: //www.cleverstarfish.com/
*/

body,html { margin: 0; padding: 0; }
body { background: #27343c url(/wp-content/themes/mdca/img/bg.jpg) no-repeat center top; font-family: Arial, Helvetica, sans-serif; font-size: 0.8em; color: #27343c; padding: 0 0 20px 0; }

h1, h2, h3, h4, h5, h6 { font-family: 'MyriadProSemiboldCondensed', Arial, Helvetica, sans-serif; margin: 0; padding: 0; font-weight: normal}

h1 {  }
h2 { font-size: 32px; clear:both }
#sidebar h2 { font-size: 24px; }
h3 { font-size: 1.3em; }
h1 a,h2 a,h3 a { text-decoration: none; }
p { font-size: 1em; line-height: 1.6; }
li { font-size: 1em; line-height: 1.6; }
a { color: #0082c8; }
a:hover { color: #54b2e4; }
a img { border: 0; }

#container { width: 960px; margin: auto; }
#header { height: 310px; width: 960px; position: relative; }
	#banner { background: url(/wp-content/themes/mdca/img/header.jpg) no-repeat 0 0; width: 960px; height: 240px; position: absolute; top: 0px; left: 0px; z-index: 5; }
	#banner h1 { width: 250px; height: 100px; top: 80px; left: 50px; display: block; position: absolute; }
	#banner h1 a { display: block;  width: 250px; height: 100px; font-size: 1px; text-indent: -9999em; overflow: hidden; outline: none; }
	
	#nav { position: absolute; bottom: 0px; left: 0px; width: 960px; z-index: 10; }
	#nav ul,#nav li { margin: 0; padding: 0; list-style-type: none; }
	#nav span { position: absolute; left: -10000em; top: -10000em; overflow: hidden; }
	#nav li { float: left; }
	#nav a { display: block; height: 82px; background-image: url(/wp-content/themes/mdca/img/nav.png); background-repeat: no-repeat; }
	
	#nav-home { width: 124px; background-position: 0 0; }
	#nav-home:hover { background-position: 0 -90px; }
	#nav-home.active { background-position: 0 -180px; }
	
	#nav-news { width: 122px; background-position: -124px 0; }
	#nav-news:hover { background-position: -124px -90px; }
	#nav-news.active { background-position: -124px -180px; }
	
	#nav-centres { width: 138px; background-position: -246px 0; }
	#nav-centres:hover { background-position: -246px -90px; }
	#nav-centres.active { background-position: -246px -180px; }
	
	#nav-members { width: 146px; background-position: -384px 0; }
	#nav-members:hover { background-position: -384px -90px; }
	#nav-members.active { background-position: -384px -180px; }
	
	#nav-about { width: 128px; background-position: -530px 0; }
	#nav-about:hover { background-position: -530px -90px; }
	#nav-about.active { background-position: -530px -180px; }
	
	#nav-supporters { width: 162px; background-position: -658px 0; }
	#nav-supporters:hover { background-position: -658px -90px; }
	#nav-supporters.active { background-position: -658px -180px; }
	
	#nav-contact { width: 140px; background-position: -820px 0; }
	#nav-contact:hover { background-position: -820px -90px; }
	#nav-contact.active { background-position: -820px -180px; }
	
#inner-container { background-color: #FFF; float: left; }
	#content { width: 640px; float: left; background: #FFF; }
		#content li { list-style-image: url(/wp-content/themes/mdca/img/bullet-body.png); }
	#sidebar { width: 320px; min-height: 400px; float: left; background: #FFF url(/wp-content/themes/mdca/img/sidebar-bg.png) left top no-repeat; }
		#sidebar ul { margin: 10px 0 30px 0; padding: 0; }
		#sidebar li { list-style-type: none; }
		#sidebar li ul { margin: 5px 0 20px 20px; padding: 0; }
		#sidebar li ul li { margin: 5px 5px 5px 20px; padding: 0; list-style-image: url(/wp-content/themes/mdca/img/bullet-sidebar.png); }
		#sidebar li a { text-decoration: none; }				
		
		#map { margin: 20px 0; }
		
	body.home #content { width: 540px; }
	body.home #sidebar { width: 420px; }
	
#content .post-meta { color: #888; font-size: 11px; }

#content ul.centre-buttons { list-style: none; margin: 0; padding: 0; }
#content ul.centre-buttons li { list-style: none; margin: 0; padding: 0; float: left; margin: 0 10px 10px 0; }
#content ul.centre-buttons li a { background: url(/wp-content/themes/mdca/img/centre-button.png) no-repeat 0 0; width: 150px; height: 80px; display: block; text-decoration: none; font: 16px/18px 'MyriadProSemiboldCondensed', Arial, Helvetica, sans-serif; text-align: center; padding: 10px 20px; text-shadow: 0 1px 0 #fff; }
#content ul.centre-buttons li a:hover { background-position: 0 -100px; color: #27343c; }

div.navigation{float:left;width:100%;margin-bottom:20px}

#supporters { clear: both; height: 140px; background: #f3f6f8 url(/wp-content/themes/mdca/img/supporters-bg.png) center top no-repeat; text-align: center; padding-top: 10px; letter-spacing: -1px; color: #27343c; text-shadow: 0 1px 0 rgba(255,255,255,0.5); }

#footer { height: 102px; clear: both; background: url(/wp-content/themes/mdca/img/footer-bg.png) center top no-repeat; position: relative; }
	#footer a.mdca { position: absolute; top: 25px; left: 25px; display: block; background: url(/wp-content/themes/mdca/img/mdca.png) no-repeat 0 0; width: 100px; height: 40px; font-size: 1px; text-indent: -9999em; overflow: hidden; }
	#footer a.mdca:hover { background-position: 0 -50px; }
	#footer a.starfish { position: absolute; top: 28px; right: 30px; display: block; background: url(/wp-content/themes/mdca/img/starfish.png) no-repeat 0 0; width: 93px; height: 31px; font-size: 1px; text-indent: -9999em; overflow: hidden; }
	#footer a.starfish:hover { background-position: 0 -40px; }
	#footer-content { position: absolute; left: 151px; top: 16px; color: #6b7d88; font-size: 0.9em; text-shadow: 0 1px 0 rgba(0,0,0,0.33); }
		#footer-content a { color: #6197b4; text-decoration: none; }
		#footer-content a:hover { color: #fff; }
.pad { padding: 20px; }
.right { float: right; margin: 0 0 5px 10px; }

#content .wpcf7-form { display: block; padding: 30px 0 0 0; margin: 10px; position:relative}
#content .wpcf7-form ol,#content .wpcf7-form ol li { padding: 0; margin: 0; list-style-type: none; list-style-image: none; }
#content .wpcf7-form label { display: block; float: left; clear: both; text-align: right; width: 100px; padding: 2px 10px; }
#content .wpcf7-form input { margin: 2px 0; width: 250px; }
#content .wpcf7-form input.button { width: 100px; margin-left: 120px; }
#content .wpcf7-form textarea { width: 250px; height: 150px; }

#content div.wpcf7-response-output{position:absolute;top:0px;margin:0 !important;padding:0 !important;height:30px !important}
#content div.wpcf7-validation-errors{font-weight:bold;border:none !important;background:url(/_inc/img/warning.png) left no-repeat;padding-left:30px !important;line-height:30px}
span.wpcf7-not-valid-tip-no-ajax, span.wpcf7-not-valid-tip{color:#B63838 !important;display:inline !important;border:none !important;left:100% !important;top:0 !important}
div.wpcf7-mail-sent-ok{font-weight:bold;border:none !important;background:url(/_inc/img/done.png) left no-repeat;padding-left:30px !important;line-height:30px}

.alignright { float: right; margin: 0 0 5px 10px; }
.alignleft { float: left; margin: 0 10px 5px 0; }
.size-medium { }

/* wp-typography styling hooks */
sup { vertical-align: 60%; font-size: 75%; line-height: 100%; }
sub { vertical-align: -10%; font-size: 75%; line-height: 100%; }
.amp { font-family: Baskerville, "Goudy Old Style", "Palatino", "Book Antiqua", "Warnock Pro", serif; font-weight: normal; font-style: italic; font-size: 1.1em; line-height: 1em; }
.caps { font-size: 90%; }
.dquo { margin-left: -.40em; }
.quo { margin-left: -.2em; }


.gallery{margin-top:30px !important}

/* lightbox styles */
#lightbox { position: absolute; left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0; }
#lightbox a img { border: none; }
#outerImageContainer { 	position: relative; background-color: #fff; width: 250px; height: 250px; margin: 0 auto; }
#imageContainer { padding: 10px; }
#loading { position: absolute; top: 40%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0; }
#hoverNav { position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; }
#imageContainer>#hoverNav { left: 0; }
#hoverNav a { outline: none; }
#prevLink, #nextLink { width: 49%; height: 100%; background: transparent url(img/blank.gif) no-repeat; /* Trick IE into showing hover */ display: block; }
#prevLink { left: 0; float: left; }
#nextLink { right: 0; float: right; }
#prevLink:hover, #prevLink: visited:hover { background: url(img/prev.gif) left 50% no-repeat; }
#nextLink:hover, #nextLink: visited:hover { background: url(img/next.gif) right 50% no-repeat; }

/*** START : next / previous text links ***/
#nextLinkText, #prevLinkText { color: #FF9834; font-weight: bold; text-decoration: none; }
#nextLinkText { padding-left: 20px; }
#prevLinkText { padding-right: 20px; }
/*** END : next / previous text links ***/
/*** START : added padding when navbar is on top ***/
.ontop #imageData { padding-top: 5px; }
/*** END : added padding when navbar is on top ***/
#imageDataContainer { font: 10px Verdana, Helvetica, sans-serif; background-color: #fff; margin: 0 auto; line-height: 1.4em; min-height:50px }
#imageData { padding: 0 10px; }
#imageData #imageDetails { width: 70%; float: left; text-align: left; }	
#imageData #caption { font-weight: bold; }
#imageData #numberDisplay { display: block; clear: left; padding-bottom: 1.0em; }
#imageData #bottomNavClose { width: 66px; float: right;  padding-bottom: 0.7em; }
#imageData #helpDisplay { clear: left; float: left; display: block; }

#overlay { position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; filter: alpha(opacity=60); -moz-opacity: 0.6; opacity: 0.6; display: none; }
.clearfix: after { content: ".";  display: block;  height: 0; clear: both; visibility: hidden; }
* html>body .clearfix { display: inline-block;  width: 100%; }
* html .clearfix { /* Hides from IE-mac \*/ height: 1%; /* End hide from IE-mac */ ; }	
#lightboxIframe { display: none; }	
/* end lightbox styles */

@font-face { font-family: 'MyriadProSemiboldCondensed'; src: url('/wp-content/themes/mdca/fonts/MyriadPro-SemiboldCond.eot'); src: local('Myriad Pro Semibold Condensed'), local('MyriadPro-SemiboldCond'), url('/wp-content/themes/mdca/fonts/MyriadPro-SemiboldCond.woff') format('woff'), url('/wp-content/themes/mdca/fonts/MyriadPro-SemiboldCond.otf') format('opentype'), url('/wp-content/themes/mdca/fonts/MyriadPro-SemiboldCond.svg#MyriadPro-SemiboldCond') format('svg'); }
