/*
Theme Name:		LDHS
Theme URI:		http://www.ldhs.org
Description:	A custom child theme for the Longstanton & District Heritage Society
Author:			Lee Theobald
Author URI:		http://www.ltheobald.co.uk
Version:		0.1 

Table Of Contents:
[LND]   Landing Page
[BRD]   Branding
[NAV]   Navigation
[PIC]   Picture Banner
[FTR]   Footer
[CON]   Main Content
[SDB]   Sidebar

*/

/** Reset stylesheet for a good baseline **/
@import url('css/reset.css');

/** The 960 grid system **/
@import url('css/960.css');

/** A good starting point for text **/
@import url('css/text.css');

/**
  * Landing Page [LND]
  */
body.landing { background: white; padding: 20px; }
#frontpageholder { margin: 0px auto; width: 600px; text-align: center; }
#frontpageholder p { margin-top: 1em; font-size: 2em; line-height: 1em; text-align: center; }

/**
  * Branding [BRD]
  */
body { font-family: verdana;background-color: white; font-size: 0.9em !important; line-height: 1.2em; }
#wrapper { border: 3px solid rgb(0,0,255); padding: 2px;}
#branding { height: 80px; overflow: hidden; background-color: rgb(151,204,255); }
#branding h1 { float: left; width: 40%; text-align: center; font-weight: bold; }
#branding h1 a, #branding h1 a:hover, #branding h1 a:visited, #branding h1 a:active { color: rgb(0,0,255); text-decoration: none; }
#branding h2 { float: right; width: 60%; color: rgb(255,0,0); margin-top: 5px;}

/**
  * Navigation [NAV]
  */
#navigation { height: 45px; background-color: rgb(0,0,255) }
#navigation ul { text-align: center; }
#navigation ul li { text-align: center; display: inline; list-style: none; line-height: 45px; }
#navigation ul li a { color: white; text-decoration: none; font-weight: bold; padding: 0px 1em; font-size: 0.9em; }
#navigation ul li a:hover { text-decoration: underline; color:#404040;}

/**
  * Picture Banner [PIC]
  */
#picturebanner  { position: relative; margin-bottom: 10px; }
/** TODO Find out where this 4px is coming from **/
#picturebanner span { color: #FFF; padding: 0.25em 0.5em; background: transparent url('images/opacity_60.png') repeat; position: absolute; bottom: 3px; right: 0px; font-size: 0.8em; font-weight: bold; letter-spacing: 1px;}
#picturebanner img { width: 960px; }
#picturebanner img { width: auto; }

/**
  * Footer [FTR]
  */
#footer { background-color: rgb(151,204,255); font-size: 0.75em; text-align: center; color: #404040; padding: 0.5em; line-height: 1em; }

/**
  * Main Content [CON]
  */
#content_wrapper { background-color: #FFF; margin-bottom: 10px; overflow: hidden; }

/**
  * Headings
  */
h2,h3,h4,h5,h6 { color: #B3173C; line-height: 1.3em; }
h2.intro { text-align: center; }
#content h2 a { color: #B3173C; text-decoration: none; font-weight: bold; }
#content h2 a:hover { text-decoration: underline; }
#content .district {color:#B3173C; font-size:1.4em;}
#content .wp-caption { text-align: center; border: 1px solid #CCC; background-color: #F6F6F6; padding-top: 3px; margin-right: 10px; }
#content .wp-caption.alignleft { float: left; }
.of_auto { overflow: auto; }
.wp-caption-text { font-size: 0.85em; text-align: center; margin-bottom: 0px;}
.supportedby { background-color: rgb(151,204,255); padding: 5px 0px; }
.supportedby h3 { padding-left: 5px; font-size: 1.3em; }
.howitbegan { padding-bottom: 10px; }

/**
  * [SDB] Sidebar
  */
#latestevents #wp-calendar caption { margin: 0px; }
#calendar_wrap { margin-bottom: 1em; }
#sidebarnav { list-style: none; margin: 15px 0px; border-bottom: 1px solid #CCC; background-color: #F6F6F6; }
#sidebarnav li { padding: 4px 8px; }
#sidebarnav li.navtitle { color: #00F; background-color: rgb(151,204,255); font-weight: bold; font-size: 1em; }
img.frontpagemap { width: 290px; }

a:link {
    color: #3F3F3F;
  	text-decoration : none;
	text-transform : none;

}
a:visited {
    color: #3F3F3F;
   	text-decoration : none;
	text-transform : none;
}

a:active {
    color: #3F3F3F;
}
a:hover {
    color: #202020;
    text-decoration : underline;
    background-color : #C0C0C0;   	

}
