/*
Theme Name:Epilepsy-MS
Theme URI: http://wordpress.org/
Description: The 2010 theme for WordPress is stylish, customizable, simple, and readable -- make it yours with a custom menu, header image, and background. Twenty Ten supports six widgetized areas (two in the sidebar, four in the footer) and featured images (thumbnails for gallery posts and custom header images for posts and pages). It includes stylesheets for print and the admin Visual Editor, special styles for posts in the "Asides" and "Gallery" categories, and has an optional one-column page template that removes the sidebar.
Author: the WordPress team
Version: 1.2
License: GNU General Public License
License URI: license.txt
Tags: black, blue, white, two-columns, fixed-width, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style, custom-menu
*/


/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	background: transparent;
	border: 0;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
}
body {
	line-height: 1;
}
h1, h2, h3, h4, h5, h6 {
	clear: both;
	font-weight: normal;
}
ol, ul {
	list-style: none;
}
blockquote {
	quotes: none;
}
blockquote:before, blockquote:after {
	content: '';
	content: none;
}
del {
	text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a img {
	border: none;
}
/*-----------------------------------------------------------------  
							GLOBAL
----------------------------------------------------------------- */
body{
	background:url('newimages/bg.jpg') top left repeat;	
	font:1em 'Josefin Sans', arial, serif;
}
#wrapper{
	width:100%;
	background:url('newimages/wrapperbg_02.jpg') top left repeat-x;	
	min-height:400px;
}
#container{
	width:960px;
	margin:0 auto;
	position:relative;
}
.clearer{
	clear:both;
	width:100%;	
}
.textshadow{
	text-shadow: rgba(0,0,0,0.5) -1px 0, rgba(0,0,0,0.3) 0 -1px, rgba(255,255,255,0.5) 0 1px, rgba(0,0,0,0.3) -1px -2px;
}
.roundcorner{
	border-radius:15px;
	-webkit-border-radius:15px;
	-moz-border-radius:15px;
}
.dropshadow{
	box-shadow:0 2px 12px #000000;
	-webkit-box-shadow:0 2px 12px #000000;
	-moz-box-shadow:0 2px 12px #000000;
}
img.alignleft{
	float:left;
	margin:0 15px 15px 0;	
}
img.alignright{
	float:right;
	margin:0 0 15px 15px;	
}
/*-------------------------------------------------------------- 
							Form Styling
-------------------------------------------------------------- */
form label{
	font-weight:normal;
	font-size:16px;
	color:#545454;
	padding-left:0;
}
form input[type="text"]:focus,form input[type="password"]:focus{
	-moz-box-shadow:0px 0px 3px #000;
	-webkit-box-shadow:0px 0px 3px #000;
	box-shadow:-moz;
	border-color:#d7d7d7;
	background:#FFF;
}
form input[type="text"],form input[type="password"],form input,form textarea#message{
	background:#b5b0a6;
	font-size:15px;
	font-family: 'Josefin Sans', Arial, Helvetica, sans-serif;
	width:150px;
	padding:5px!important;
	margin:5px 0;
	border:0 solid #fff;
	-moz-box-shadow:0px -1px 0px #d7d7d7;
	-webkit-box-shadow:0px -1px 0px #d7d7d7;
	box-shadow:0px -1px 0px #d7d7d7;
	-moz-border-radius:7px;
	-webkit-border-radius:7px;
	border-radius:7px;
}
form input[type="checkbox"]{
	background:none;
	width:15px;
	margin:0 10px 0 0;
	padding:0;
	border:0;
	position:relative;
	top:-2px;
}
input[type="radio"]{
	width:15px;
}


/* Text meant only for screen readers */
.screen-reader-text {
	position: absolute;
	left: -9000px;
}
/*-----------------------------------------------------------------  
							HEADER
----------------------------------------------------------------- */
#header{
	position:absolute;
	top:0;
	right:0;
		
}
#headernav{
}
p a.logo{
	background:url('newimages/logo.png') top left no-repeat;
	display:block;
	width:216px;
	height:341px;
	text-indent:-9999em;
}
/*-------------------------------------------- 
					HEADER NAV
----------------------------------------------- */
div.nav ul.navlist{
	margin:0 0 0 40px;	
	font-size:1.6em;
}
ul.navlist li{
	position:relative;	
}
ul.navlist li a{
	color:#ee4546;
	background:#ddd7ca;
	padding:0px 5px 3px 7px;
	text-decoration:none;
	line-height:1.0em;	
}
ul.navlist li a:hover{
	background:none;
	color:#000;	
}
/* ----------- Hide/Show Div ---------- */

.menu ul.nav{
	list-style:none;
	position:relative;
}
.nav div.megamenu {
	position:absolute;
	left:-999em;
	top:55px;
	margin-top:1px;
	margin-right:15px;
	width:360px;
	padding:0 0 0;
	font-weight:normal;
	text-align:left;
	z-index:99;
	height:auto;
	display:block;
	background:#f5f2ec;
	border:5px solid #f0c8be;
	-moz-box-shadow: 0 0 5px 5px rgba(51,51,51,.5);
	-webkit-box-shadow: 0 0 5px 5px rgba(51,51,51,.5);
	box-shadow: 0 0 5px 5px rgba(51,51,51,.5);
	font-size:.9em;
	min-height:250px;
}
.nav div.megamenu p.arrow{
	background:url('newimages/navarrow.png') top left no-repeat;
	position:absolute;
	top:130px;
	right:-25px;
	width:22px;
	height:45px;	
}
p.menucaption{
	font-size:.65em;
	line-height:1.05em;
	color:#8a8270;
	border-bottom:1px dotted #8a8270;
	padding:15px;
	margin-bottom:5px;	
}

div.subpagelist{
	margin:15px 35px 20px 20px;
}
div.nav ul.subpages li{
	float:none;
	margin:7px 0;
	text-align:right;
	font:.9em 'Josefin Sans', Arial, Helvetica, sans-serif;
}
div.nav ul.subpages li a{
	background:none;
	height:auto;
	padding:0 0 0 30px;	
	display: block;
	line-height: 1.0em;
	text-decoration: none;
	font-size: 1.0em;
	color: #ee4546;
	text-shadow: none;

}
div.nav ul.subpages li a:hover{
	color:#000;
}
.menu ul.nav p.button a{
	background:#f5f2ec;
	text-align:center;
	color:#FFF;
	border-top:1px dotted #8cc63f;
	padding:10px 0;
	line-height:1.0em;	
	font-size:1.0em;
}
.nav li:hover div.megamenu {
	left:-385px;
	top:-145px;
	margin:0 0 0 0;	
}
.nav li:hover a, .nav a:hover{
	background:none;
	color:#000;
}



/*-----------------------------------------------------------------  
							CONTENT
----------------------------------------------------------------- */
#content{
	width:730px;	
}
/*-----------------------------------------------------------------  
							HOMECONTENT
----------------------------------------------------------------- */
.homejumpers{
	border-top:1px solid #ee4546;
	margin:15px 0 25px;
	padding:15px 0 25px;
	clear:both;
}
p.jumpertitle{
	color:#ee4546;
	font-size:1.4em;
}
p.jumpertitle em{
	font-style:normal;
	color:#999999;	
}
div.impresources{
	float:left;	
	width:450px;
	margin-right:15px;	
}
div.upcomingevents{
	float:right;
	width:240px;	
}
ul.resources{
	
}
ul.resources li{
	height:72px;
	margin:5px 0;
	padding:10px 0;
	border-bottom:1px dotted #ee4546;	
}
li a.support, li a.donation, li a.medical{
	height:72px;
	padding:30px 0 0 90px;
	display:block;	
	text-decoration:none;
	color:#403c34;
	font-size:1.4em;
}
li a.support{
	background:url('newimages/resourcesicons-02.png') top left no-repeat;
}
li a.medical{
	background:url('newimages/resourcesicons.png') top left no-repeat;
}
li a.donation{
	background:url('newimages/resourcesicons-03.png') top left no-repeat;
}

/*-----------------------------------------------------------------  
							Innerpage
----------------------------------------------------------------- */
p.innerpageimg{
	border-top: 0px solid #ccc;
	width: 200px;
	float:left;
	z-index:100;
	padding:0px;
	margin:20px 0px 0px 65px;
	height:250px;
	overflow:hidden;
	
}
div.innerpgquote{
	float:left;
	margin-left:15px;
	width:375px;
	font-size:.75em;	
}
.pagewrap{
	border-top:1px solid #ee4546;
	margin:5px 0 25px;
	padding:5px 0 25px;
	clear:both;
}
div.pagewrap a{
	color:#ee4546;	
}
div.pagewrap a:hover{
	color:#000;	
}

	div#crumbs{
		margin:0 0 20px;	
		font-size:.9em;
		color:#afaaa1;
	}
	div#crumbs a{
		color:#575551;
		text-decoration:none;
	}	
	div.pageleftcol{
		float:left;
		width:150px;
		margin-right:20px;
		padding-bottom:45px;
	}
		h3.parentpagetitle{
			color:#ee4546;
			font-size:1.4em;
			margin-bottom:15px;
			padding:45px 20px 0 0;
			color:#f49c96;
		}
		div.innerpagelist ul{
			padding:20px 0;
			border-bottom:1px solid #ee4546;
			border-top:1px solid #ee4546;
			margin-bottom:20px;	
		}
		div.innerpagelist ul li{
			padding:5px 20px 5px 0;
			font-size:.9em;	
		}
		div.innerpagelist ul li a{
			color:#575551;
			text-decoration:none;
			
		}
	div.pagerightcol{
		float:left;
		width:490px;
		border-left:1px dotted #b9b5ab;
		padding-left:40px;	
	}
		div.fb-like{
				
		}
		h1.pagetitle{
			color:#ee4546;
			font-weight:bold;
			padding-bottom:15px;
			margin-bottom:25px;
			border-bottom:1px solid #d9d6d0;
		}
		div.entrycontent{
			line-height:1.6em;	
		}
		div.entrycontent p{
			margin:10px 0;
		}
		div.entrycontent p strong{
			font-weight:bold;	
		}
		div.catentrywrap{
			padding-bottom:25px;
			margin-bottom:25px;
			border-bottom:1px solid #f7c8be;	
		}

/*-----------------------------------------------------------------  
							FOOTER
----------------------------------------------------------------- */
#footerwrapper{
	background:#ee4546;
	-moz-box-shadow: inset 0px 5px 5px #8d2829;
	-webkit-box-shadow: inset 0px 5px 5px #8d2829;
	box-shadow: inset 0px 5px 5px #8d2829;
}
#footer{
	width:960px;
	margin:0 auto;
	padding:25px 0;	
}
.footerleftcol{
	float:left;
	width:590px;	
}
p.footerlogo a{
	float:left;
	background:url('newimages/footerlogo.jpg') top left no-repeat;
	text-indent:-9999em;
	width:165px;
	height:118px;
	display:block;	
}
div.address{
	float:left;
	margin:50px 0 0 15px;
	font-size:1.0em;	
}
.footerfacebook{
	float:right;
	width:292px;
	border:5px solid #f18e8e;
	border-radius:15px;
	-webkit-border-radius:15px;
	-moz-border-radius:15px;
	background:#fff;	
}
	ul.footerlist{
		border-top:1px solid #fff;
		margin-top:15px;
		padding-top:15px;	
		width:590px;
		line-height:1.1em;
	}
	ul.footerlist li{
		width:105px;
		float:left;	
		text-transform:lowercase;
		margin:0 5px;
	}
	ul.footerlist li a{
		color:#000;
		text-decoration:none;	
	}
		ul.footerlist li li{
			float:none;	
			font-size:.8em;
			text-transform:capitalize;
			height:auto;
		}
		ul.footerlist li li a{
			color:#FFF;	
		}
		ul.footerlist ul.subpages{
			margin-top:15px;
		}
		ul.footerlist ul.subpages li{
			margin:5px 0;	
		}
