/*
Theme Name: Epilepsy-MS theme
Theme URI: http://epilepsy-ms.org/
Description: The default WordPress theme based on the famous <a href="http://binarybonsai.com/kubrick/">Kubrick</a>.
Version: 1.6
Author: Michael Heilemann
Author URI: http://binarybonsai.com/
Tags: blue, custom header, fixed width, two columns, widgets

	Kubrick v1.5
	 http://binarybonsai.com/kubrick/

	This theme was designed and built by Michael Heilemann,
	whose blog you will find at http://binarybonsai.com/

	The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php

*/



/* Begin Typography & Colors */
body{
	padding:0;
	margin:0;
	background:url(http://www.epilepsy-ms.org/images/bg_repeat.gif) top left repeat;
}
#container{
	width:800px;
	margin: 0 auto;
	padding:0;
	position:relative;
}
/* Header */
#header{
	background:url(http://www.epilepsy-ms.org/images/headerimg_02.gif) top left no-repeat;
	width:800px;
	height:181px;
	margin:0;
	padding:0;
	color:#FFF;
}
#header #nav{
	position:absolute;
	top: 155px;
	margin: 0 0 0 15px;
}
#header h1{
	float:right;
	margin:0;
	padding:145px 40px 0 0px;
	display:inline;
	font:1em Verdana, Arial, Helvetica, sans-serif;
	font-weight:bold;
}
#header h1 a, #header_in h1 a{
	color:#FFF;
	text-decoration:none;
}
#header h1 a:hover, #header_in h1 a:hover{
	color:#FF9900;
	text-decoration:underline;

}
#sidepiece1{
	background: url(http://www.epilepsy-ms.org/images/sidebarpieces_20.gif) top right no-repeat;
	width:39px;
	height:86px;
	position:absolute;
	top:245px;
	margin: 0 0 0 -32px;
}
#fbicon{
	position:absolute;
	top:191px;
	right:-53px;
	width:53px;
	height:53px;
}
#newsletterside{
	width:102px;
	height:77px;
	position:absolute;
	top:245px;
	margin: 0 0 0 800px;
	padding:0;
}
#mailinglist{
	width:102px;
	height:85px;
	position:absolute;
	top:321px;
	margin: 0 0 0 800px;
	padding:0;
}

/* Header inner pages */
#header_in{
	background:url(http://www.epilepsy-ms.org/images/innertopbg_02.gif) top left no-repeat;
	height:63px;
	margin:0 0 0 5px;
	padding:0;
	color:#FFF;
}
#header_in #nav{
	padding: 5px 0 0 10px;
}
#header_in h1{
	float:right;
	margin:0;
	padding:5px 40px 0 0px;
	display:inline;
	font:1em Verdana, Arial, Helvetica, sans-serif;
	font-weight:bold;
}


/* mainContent div */
#mainContent{
	background:url(http://www.epilepsy-ms.org/images/maincontent_repeat_05.gif) top center repeat-y;
	padding:0 0 30px 0;
	margin:0 auto;;
	width:800px;
	height:auto;
}
#mainContent p{
	padding:0;
	margin:0;
}
.mainContentTop{
	background:url(http://www.epilepsy-ms.org/images/maincontent_top_04.gif) top left no-repeat;
	height:34px;
	width:800px;
	margin:0;
}


/* leftsidediv */
#leftside{
	float:left;
	width:250px;
	margin:0;
	padding: 5px 5px 5px 25px;
}
#leftside p{
	font:.8em "Times New Roman", Times, serif;
	line-height:17px;
	margin-top:15px;
}
#leftside p em{
	font:.7em "Times New Roman", Times, serif;
	line-height:15px;
	font-style:italic;
}
#blogdiv{
	width:800px;
	margin: 0 auto;
	padding:0;
	height:auto;
}
#blogcat{
	float:left;
	width: 250px;
	height:auto;
	margin:0 ;
	padding: 0px;
	font:.9em "Times New Roman", Times, serif;
	line-height: 17px;
	color:#333333;
}
#mainCol{
	width: 750px;
	margin:0 auto;
	padding: 5px;
	font:.9em "Times New Roman", Times, serif;
	line-height: 17px;
	color:#333333;
}
#mainCol .post p, #blogcat .post p{
	padding: 15px 5px 0 5px;
}
#blogpostdiv{
	float:right;
	width:400px;
	margin:-175px 0 0 15px;
	padding:15px 0 15px 10px;
}
.simpleviewer, .tiltviewer, .autoviewer, .pcviewer{
	float:right;
	width:500px;
	margin:-75px 0 0 0;
	padding:15px 0 15px 10px;
}
.ngg-singlepic{
	float:right;
	width:auto;
	padding: 0;
	margin: -75px 0 0 15px;
	border: 5px solid #FFFFFF;
}
.pagetitle{
	background: url(http://www.epilepsy-ms.org/images/titlebg_03.gif) top left no-repeat;
	width:274px;
	height:33px;
	margin:15px 0 0 0;
}
.pagetitle h2{
	padding: 7px 0 0 10px;
	margin: 0 0 0 0;
	font:1.2em "Times New Roman", Times, serif;
	color:#b31310;
	display:block;
	text-transform:capitalize;
}
.breadcrumb{
	position:absolute;
	top: 55px;
	left:50%;
	margin: 0 0 0 125px;
	background: url(http://www.epilepsy-ms.org/images/titlebg_03.gif) top left repeat-y;
	width:274px;
	height:auto;
}
.breadcrumbDiv{
	padding: 10px 0 0 10px;
	color:#8b6409;
	
}
.breadcrumbDiv a{
	color:#cdad59;
}
.breadcrumbDiv a:hover{
	color:#8b6409;
}


#newsletter{
	background: url(http://www.epilepsy-ms.org/images/newsletterbg_25.gif) top right no-repeat;
	width:127px;
	height:231px;
	position:absolute;
	top: 250px;
	left:50%;
	margin: 0 0 0 -520px;
}


/* Blog Page */
.blogcat{
	margin: 15px 0 0 5px;
	padding:0;
}
.blogcat ul, .postmetadata ul{
	list-style:none;
	list-style-image: url(http://www.epilepsy-ms.org/images/dblarrow_03.gif);
	color:#666666;
}

.blogcat a{
	color:#b31310;
}
.blogcat a:hover{
	color:#666666;
}
.blogcat h2{
	background: url(http://www.epilepsy-ms.org/images/titlebg_26.jpg) top left no-repeat;
	font:1.1em "Times New Roman", Times, serif;
	padding:5px 5px 10px 25px;
	margin:0 0 0 -25px;
	font-style:italic;
	color:#b31310;
	
}
.blogcat ul li h2{
	list-style-image:none;
}

#rightside{
	width:495px;
	margin:0 0 0 300px;
	padding:0;

}
#rightside p, .blogcat p{
	padding:0;
	margin:0;
}
#homegallery{
	background:url(http://www.epilepsy-ms.org/images/homegallery_06.jpg) no-repeat top left;
	width:452px;
	height:262px;
	margin:0 auto;
	padding:0;
}
#gallery{
	width:452px;
	height:auto;
	margin:0 auto;
	padding:0;
}
/*#homegallery .homegallerywhite{
	width:419px;
	height:232px;
	margin:0 auto;
	padding:11px 0 0 1px;

}
*/.homegallerypost{
	padding:0;
	margin:0;
	border:0;
	width: 452px;
	height:262px;
	overflow:hidden;
	padding:11px 0 0 19px;
	margin:0 auto;
	
}
#forumContainer{
	margin: 0 15px;
	padding:5px;

}
#forumContainer .post{
	margin: 155px 0 0 0;
}
.post {
	padding: 0 10px;
}

.interestedbox{
	background:url(http://www.epilepsy-ms.org/images/interestedbox_15.jpg) no-repeat top left;
	width:452px;
	height:36px;
	margin:10px 0 0 25px;
	padding: 0;

}
#nav_special{
	margin:0 0 0 5px;
	padding:0;
}
#nav_special ul{
	list-style:none;
	margin:0;
	padding:0;

}
#nav_special li{
	float:left;
	padding:10px 0 0 3px;
	margin:0;
}
#footer{
	background:url(http://www.epilepsy-ms.org/images/footer_home_07.gif) top left no-repeat;
	height:41px;
	width:800px;
	clear:both;
	font:.6em Verdana, Arial, Helvetica, sans-serif;
	line-height:15px;
	color:

}
#footer p{
	padding:15px 0 0 0;
	margin: 0 auto;
	text-align:center;
	color:#FFF7DE;
}
#footer p a{
	color:#FFFFFF;
	text-decoration:none;
	border-bottom:1px #FFFFFF dotted;
}
#footer p a:hover{
	color:#000000;
}
.clearfloat{
	clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}
.logo{
	text-align:center;
	margin:0 0 0 25px;
}






#page {
	background-color: white;
	border: 1px solid #959596;
	text-align: left;
	}


.widecolumn .entry p {
	font-size: 1.05em;
	}

.narrowcolumn .entry, .widecolumn .entry {
	line-height: 1.4em;
	}

.widecolumn {
	line-height: 1.6em;
	}

.narrowcolumn .postmetadata {
	text-align: center;
	}

.thread-alt {
	background-color: #f8f8f8;
}
.thread-even {
	background-color: white;
}
.depth-1 {
border: 1px solid #ddd;
}

.even, .alt {

	border-left: 1px solid #ddd;
}


small {
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: 0.9em;
	line-height: 1.5em;
	}



.entry p a:visited {
	color: #b85b5a;
	}

.commentlist li, #commentform input, #commentform textarea {
	font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}
.commentlist li ul li {
	font-size: 1em;
}

.commentlist li {
	font-weight: bold;
}

.commentlist li .avatar { 
	float: right;
	border: 1px solid #eee;
	padding: 2px;
	background: #fff;
	}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
	}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	}

#commentform p {
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

.commentmetadata {
	font-weight: normal;
	}

#sidebar {
	font: 1em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
	color: #777;
	}

code {
	font: 1.1em 'Courier New', Courier, Fixed;
	}

acronym, abbr, span.caps
{
	font-size: 0.9em;
	letter-spacing: .07em;
	}

a, h2 a:hover, h3 a:hover {
	color:#b31310;
	text-decoration: none;
	}

a:hover {
	color:#666;
	text-decoration: underline;
	}

#wp-calendar #prev a, #wp-calendar #next a {
	font-size: 9pt;
	}

#wp-calendar a {
	text-decoration: none;
	}

#wp-calendar caption {
	font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}
/* End Typography & Colors */



/* Begin Structure */

#page {
	background-color: white;
	margin: 20px auto;
	padding: 0;
	width: 760px;
	border: 1px solid #959596;
	}


.post {
	margin: 0 0 40px;
	text-align: justify;
	}

.post hr {
	display: block;
	}

.widecolumn .post {
	margin: 0;
	}

.narrowcolumn .postmetadata {
	padding-top: 5px;
	}

.widecolumn .postmetadata {
	margin: 30px 0;
	}

.widecolumn .smallattachment {
	text-align: center;
	float: left;
	width: 128px;
	margin: 5px 5px 5px 0px;
}

.widecolumn .attachment {
	text-align: center;
	margin: 5px 0px;
}

.postmetadata {
	clear: both;
}

.clear {
	clear: both;
}

/* End Structure */




/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
/* End Images */



/* Begin Lists

	Special stylized non-IE bullets
	Do not work in Internet Explorer, which merely default to normal bullets. */

html>body .entry ul {
	margin-left: 0px;
	padding: 0 0 0 30px;
	list-style: none;
	padding-left: 10px;
	text-indent: -10px;
	}

html>body .entry li {
	margin: 7px 0 8px 10px;
	}

.entry ul li:before, #sidebar ul ul li:before {
	content: "\00BB \0020";
	}

.entry ol {
	padding: 0 0 0 35px;
	margin: 0;
	}

.entry ol li {
	margin: 0;
	padding: 0;
	}

.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}

#sidebar ul, #sidebar ul ol {
	margin: 0;
	padding: 0;
	}

#sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 15px;
	}

#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
	}

#sidebar ul ul, #sidebar ul ol {
	margin: 5px 0 0 10px;
	}

#sidebar ul ul ul, #sidebar ul ol {
	margin: 0 0 0 10px;
	}

ol li, #sidebar ul ol li {
	list-style: decimal outside;
	}

#sidebar ul ul li, #sidebar ul ol li {
	margin: 3px 0 0;
	padding: 0;
	}
/* End Entry Lists */



/* Begin Form Elements */
#searchform {
	margin: 10px auto;
	padding: 5px 3px;
	text-align: center;
	}

#sidebar #searchform #s {
	width: 108px;
	padding: 2px;
	}

#sidebar #searchsubmit {
	padding: 1px;
	}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

select {
	width: 130px;
	}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform {
	margin: 5px 10px 0 0;
	}
#commentform textarea {
	width: 600px;
	padding: 0px;
	}
#respond{
	background: none;
	width: 600px;
}
#respond:after {
		content: "."; 
	    display: block; 
	    height: 0; 
	    clear: both; 
	    visibility: hidden;
	}
#commentform #submit {
	margin: 0 0 5px auto;
	float: right;
	}
/* End Form Elements */



/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 10px;
	padding: 5px 5px 10px 10px;
	list-style: none;

	}
.commentlist li ul li { 
	margin-right: -5px;
	margin-left: 10px;
}

.commentlist p {
	margin: 10px 5px 10px 0;
}
.children { padding: 0; }

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */



/* Begin Sidebar */
#sidebar
{
	padding: 20px 0 10px 0;
	margin-left: 545px;
	width: 190px;
	}

#sidebar form {
	margin: 0;
	}
/* End Sidebar */



/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }
/* End Calendar */



/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

.hidden {
	display: none;
	}


a img {
	border: none;
	}

.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 60px;
	}
/* End Various Tags & Classes*/



/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
/* End captions */


/* "Daisy, Daisy, give me your answer do. I'm half crazy all for the love of you.
	It won't be a stylish marriage, I can't afford a carriage.
	But you'll look sweet upon the seat of a bicycle built for two." */
