/*
Theme Name: The John Petropoulos Memorial Fund Template
Theme URI: http://jpmf.ca/
Description: The theme for The John Petropoulos Memorial Fund web site.
Version: 1.0
Author: ElbowRoomDesign
Author URI: http://elbowroomdesign.com/
Tags: blue, gray
*/

body {
	font-size: 62.5%; /* Resets 1em to 10px */
	font-family: 'Trebuchet MS', Verdana, Arial, Sans-Serif;
	background: #d9dada;
	color: #000;
	text-align: center;
	margin: 0 0 20px 0;
	padding: 0;
	}


#page {
	background-color: white;
	text-align: left;
	margin: 0 auto 0 auto;
	padding: 0;
	width: 700px;
	}

#content {
	font-size: 1.3em;
    line-height: 20px;
	width: 700px;
    margin: 0 0 20px 0;
    float: left;
    }

#footer {
	background: #636363;
	height: 50px;
	width: 700px;
	padding: 0;
	margin: 0 auto;
	clear: both;
	}
	
.post {
	float: left;
	width: 450px;
    text-align: justify;
	padding: 0 20px 20px 30px;
	margin: 20px 0 40px 0px;
    border-right: 1px solid #cecece;
    }


/* FONT FORMATTING */
h1, h2 {
	font-family: 'Trebuchet MS', Verdana, Arial, Sans-Serif;
	font-size: 1.2em;
	color: #ff0000;
	}

h3 {
	font-family: 'Trebuchet MS', Verdana, Arial, Sans-Serif;
	font-size: 1.1em;
	color: #000000;
	}
	
.headlink {
	margin-bottom: 0px;
	}

.small {
	margin-top: 0px;
	font-size: .8em;
	}

.article p {
	margin-top: 0px;
	margin-bottom: 0px;
	}
	
a, a:link, a:visited, a:active {
	color: #528be2;
	text-decoration: none;
	}

a:hover {
	color: #ff0000;
	text-decoration: none;
	}

/* ALIGNMENT */	
.center {
	text-align: center;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}


/* IMAGE FORMATTING */
img {
	border: 0px;
	}
	
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;
	}

.wp-caption {
	background-color: #a0bbd9;
	text-align: center;
	padding-top: 5px;
	margin-right: 10px;
	}
.wp-caption-text {
	font-size: .9em;
	}
		

/* LAYOUT FORMATTING */
.form {
    width: 275px;
    border: solid 1px #528be2;
    }

.justify td {
	text-align: justify;
	}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform textarea {
	width: 450px;
	padding: 2px;
	}

#commentform #submit {
	margin: 0;
	float: right;
	}

/* HEADER AREA */

#adspace {
height: 50px;
width 175px;
padding-top: 15px;
}

#header {
	background-color: #a0bbd9;
	background-image: url(images/header_bg.gif);
	background-repeat: no-repeat;
	margin: 20px auto 0px auto;
	padding: 0;
	height: 57px;
	width: 700px;
	}
	
#header_logo	{
	margin: 0;
	height: 57px;
	width: 305px;
	float: left;
	}

#header_date {
    float: right;
    color: #fff;
    font-size: 1.3em;
    margin-top: 20px;
    margin-right: 20px;
    }


/* QUICK LINKS AREA */
#quicklinks {
	margin: 0 auto 0 auto;
	width: 700px;
    color: #fff;
	}
	
#quicklinks_menu {
	background: #fff;
	float: right;
	width: 240px;
	height: 102px;
	}

#quicklinks_menu .bar {
	background: #636363;
	width: 100%;
	height: 25px;
	}

#quicklinks_menu .title {
	position: relative;
	top: 5px;
	left: 15px;
	color: #fff;
	font-size: 1.2em;
	font-weight: bold;
	text-align: left;
	}

#quicklinks_menu .links {
	position: relative;
	top: 10px;
	left: 15px;
	color: #636363;
	font-size: 1.2em;
	text-align: left;
	}

#quicklinks_menu .subscription {
	position: relative;
	top: 20px;
	left: 15px;
	color: #636363;
	font-size: 1.2em;
	text-align: left;
	}
	
#quicklinks_menu .subscription img {
	margin-left: 13px;
	}
		
#quicklinks_img {
	float: left;
	}

#quicklinks a, #quicklinks a:visited {
	color: #636363;
	text-decoration: none;
	} 

#quicklinks a:hover {
	color: #a0bbd9;
	text-decoration: underline;
	}



/* NAVIGATION AREA */
#navigation {
    width: 700px;
    height: 40px;
    background: #636363;
    margin: 0 auto;
    padding: 0;
    clear: both;
    text-align: center;
    }
    
#navigation #tabbar {
    float: left;
    list-style-type: none;
    margin-top: 10px;
    margin-right: auto;
    margin-left: auto;
    padding: 0;
    text-align: center;
    }

#navigation #tabbar li {
	float: left;
	display: inline;
	margin: 0px 1px 0px 1px;
	padding: 0;
	font-size: 1.2em;
	line-height: 30px;
	text-decoration: none;
	}
		
#navigation .tab {
	color: #fff;
	}
	
#navigation .tabselected {
	color: #636363;
	background: #fff;
	}
	
#navigation .tabselected a, #navigation .tabselected a:visited, #navigation .tabselected a:active {
	display: block;
	color: #636363;
	padding: 0px 7px 0px 7px;
	text-decoration: none;
	}	

#navigation a, #navigation a:visited {
	display: block;
	color: #fff;
	padding: 0px 7px 0px 7px;
	text-decoration: none;
	}	

#navigation a:hover {
	display: block;
	color: #636363;
	background: #fff;
	padding: 0px 7px 0px 7px;
	text-decoration: none;
	}	


/* SIDEBAR AREA */
.sidebar {
	position: relative;
	top: 20px;
	padding: 0 0 10px 0;
	margin-left: 525px;
	width: 155px;
	font-size: .9em;
	}
	
.sidebar p {
	margin-top: 3px;
	}

.sidebar h2 {
	font-size: 1.1em;
	color: #ff0000;
	}
	
.sidebar a, .sidebar a:visited {
    color: #000;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    }
    
.sidebar a:hover {
    color: #a0bbd9;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    }
