/*
Theme Name: St. Anthony's Custom
Theme URI: 
Description: A custom Wordpress theme for St. Anthony's Parish
Version: 1.0
Author: Russell McWhae
Author URI: none yet
Notes: #tinymce styles are so that front-end styles are visible inside the WordPress visual editor. This is done by the function tdav_css in functions.php
*/
/* Basic Elements
----------------------------------------------- */
* {
	margin:0;
	padding:0;
}
body#stanth {
	background:#fff url(images/tile.gif);
}
body {
	font-size: 62.5%;
}
a {
	color:#386b4f;
	text-decoration:none;
	outline:none;/*applies to all links*/
}
a:hover {
	color:#5d9a77;
}
img {
	border: none;
	outline: none;
}
p, ul, table td, ol, small, .meta {
	font:1.2em/1.6em Verdana, Geneva, Tahoma, Arial, sans-serif;
}
p, form, small, ul, ol {
	color:#383838;
	margin-bottom:1em;
}
.centering {
	width:800px;
	margin:0 auto;
}/*this "centers" the above named DIVs*/
#main {
	margin:0 auto;
	background:#fff;
}
#tinymce {
	background: #fff;
}
#main .centering {
	background:#fff;
	padding:20px 0;
}
table.bordered {
	border-color: #000;
	border-width: 0 0 1px 1px;
	border-style: solid;
	margin:0 0 1em 0;
}
table.bordered td {
	border-color: #000;
	border-width: 1px 1px 0 0;
	border-style: solid;
	margin:0;
	padding: 5px;
}
.clear {
	clear:both;
	overflow:hidden;
	height:0px;
}
.alignright {
	float: right;
	padding:10px 0 10px 10px;
}
.alignleft {
	float: right;
	padding:10px 10px 10px 0;
}
.search-excerpt {
	background: #fff79a;
}
#main .archivetitle {
	color: #888;
}
.marginal {
	margin-top:15px !important;
}
acronym, abbr {
	border-bottom: 1px dotted #808080;
	font-size: 0.9em;
}
code {
	font: 1em monospace, Courier New, Courier;
	color: #804000;
}
blockquote {
	margin: 1em 1em 1em 1.6em;
	padding: 0 1em;
	border-left: 0.4em solid #cdcdcd;
}



/* Multiple Columns
----------------------------------------------- */
.threecol {
	float:left;
	width:250px;
	margin-right:25px;
}
.twothirdscol {
	float:left;
	width:525px;
	margin-right:25px;	
}
.twocol {
	float:left;
	width:385px;
	margin-right:30px;
}
.last {
	margin-right: 0;
}



/* Banner and homepage
----------------------------------------------- */
#headbg {
	background:url(images/header.gif) center 0px repeat-x;
}
.bannertxt {
	margin-top:13px;
}
.bannerimg {
	margin-top:2px;
	width: 800px;
	height: 60px;
	background: url(images/banner.png) 0 0 no-repeat;
}
#banner .centering {
	height: 154px;
	text-align: center;
}



/* div#main, incl links, headings, para, etc.
----------------------------------------------- */
#main a[href $='.pdf'], #tinymce a[href $='.pdf'] { 
   padding-right:30px;
   background:transparent url(images/pdf.gif) no-repeat center right;
}
#main a[href $='.pdf']:hover, #tinymce a[href $='.pdf']:hover { 
   background:url(images/pdf.gif) no-repeat center right;
}
#main a.bulletinlink, #main a.bulletinlink:hover {
	background-image: none;
}
#main a .latestpdf {
   padding-right:30px;
   background:transparent url(images/pdf.gif) no-repeat bottom right;
}
#main a:hover .latestpdf {
   background:transparent url(images/pdfgreen.gif) no-repeat bottom right;
}
h1, h2, h3, h4, h5 {
	color: #292929;
	font-family: Helvetica, Arial, sans-serif;
	font-weight: bold;
}
h1 {/*not used anywhere, bad I know*/
	font-size:3.2em;
	line-height: 1.5em;
	margin:0;
}
h2 {
	font-size: 2em;
	font-weight: normal;
	line-height: 1.5em;
	margin:0 0 0.6em 0;
}
h3 {
	font-size: 1.8em;
	line-height: 1em;
	font-weight: normal;
	margin:0 0 1em 0;
}
.newsitem h3 {
	font-size: 1.4em;
	font-weight: bold;
}
h4 {
	font-size: 1.4em;
	line-height: 1em;
	margin:0 0 1em 0;
	padding-top: 0.4em;
	/*color: #666;*/
}
h5 {
	font-size:1.2em;
	line-height: 1em;
	margin:0 0 0.3em 0;
	text-transform: uppercase;
	color:#444;
}
#main ul {
	list-style:none;
}
#main ul li, #tinymce ul li {
	background: url(images/bullet.gif) 1em 8px no-repeat;
	padding:0 0 0 2.5em;
	margin-bottom:5px;
}
#main ul ul, #tinymce ul ul {
	list-style-type: square;
}
#main ul ul li, #tinymce ul ul li {
	background: none;
	padding:0;
	margin-bottom:5px;
}
#main ul ul, #main ul ul ul, #main ul ul ul ul, #tinymce ul ul, #tinymce ul ul ul, #tinymce ul ul ul ul {
	font-size:1em;/*necessary for nested lists to have same font-size as parent lists*/
	padding:0.5em 0 0 2em;/*remove padding-bottom for nested lists*/
}
ol li {
	margin-left: 2.5em;
	margin-bottom: 5px;
}



/* Main Menu
----------------------------------------------- */
#mainmenu ul {
	font: 1.4em/1.4em Arial, Helvetica, sans-serif;/*font-size = 14px*/
}
#mainmenu ul {
	margin:0;
	list-style:none;
	float:left;
	padding:0;
}
#mainmenu li {
	display:inline;
}
#mainmenu li a {
	float:left;
	color:#FFF;
	text-decoration:none;
	background:#386b4f;
	padding:5px 15px;
	margin:0 6px 0 0;
	border-top-left-radius: 3px 3px;
	border-top-right-radius: 3px 3px;
}
#mainmenu li a:hover {
	background:#378058;
}
#mainmenu li.current_page_item a, #mainmenu li.current_page_parent a {
	background:#FFF;
	color:#777;
}
#mainmenu li.current_page_item a:hover, #mainmenu li.current_page_parent a:hover {
	color:#000;
	background:#FFF;
}



/* Submenu
----------------------------------------------- */
#submenu {
	background:#FFF url(images/submenu.gif) center top repeat-x;
	clear:left;/*necessary*/
	height: 34px;
}
#submenu ul {
	list-style-type:none;
	background:#FFF url(images/submenu.gif) center top repeat-x;/*repeated intentionally*/
	font:1.2em/1em Arial, Helvetica, sans-serif;
	float: left;
}
#submenu li {
	float:left;
}
#submenu ul a {
	text-decoration:none;
	display:block;
	float:left;
	padding:10px 30px 11px 0;
	color:#386b4f;
}
#submenu a:hover {
	color:#000;
	text-decoration: underline;
}
#submenu li.current_page_item a {
	font-weight: bold;
}



/* date badge styles
----------------------------------------------- */
.newsitem {
	padding:22px 0 10px 58px;
}
.newsitem, .lowerborder {
	border-bottom: 1px solid #cdcdcd;/*also in forms*/
}
.datebadge {
	float: left;
	padding-bottom: 1em;
	clear: left;
	margin-top: 22px;
}
.badgemonth {
	font:normal 1.2em/1.2em Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #fff;
	width: 44px;
	padding: 2px 0;
	background:#386b4f;
	text-align: center;
}
.badgeday {
	font:1.8em/1.4em Helvetica, Arial, sans-serif;
	color:#4F4F4F;
	width:44px;
	height:28px;
	text-align: center;
	background: #e0e0e0 url(images/datebadge.gif) left bottom no-repeat;
	padding-bottom:3px;
	/*background:#e0e0e0;
	border-bottom-left-radius: 5px 5px;
	border-bottom-right-radius: 5px 5px;
	border-bottom: 1px solid #B8B8B8;*/
}
#main .meta {
	color: #888;
	padding: 0.2em 0 1em 0;
}
#main .newsitem h3, #main #commentsection h3 {
	padding-top:2px;
	margin-bottom: 0.5em;
}
#main .reply a, #reply-title small a {
	background: #e0e0e0;
	text-transform: uppercase;
	font-size:0.9em;
	border-bottom-left-radius: 2px 2px;
	border-bottom-right-radius: 2px 2px;
	border-top-left-radius: 2px 2px;
	border-top-right-radius: 2px 2px;
	color: #4F4F4F;
	padding: 3px 8px;
}
#reply-title small, .reply {
	float: right;
	margin-bottom: 0.4em;
}
h3 small {
	font-size: 0.857em;
}
#main a.post-edit-link:hover, #main .reply a:hover, #reply-title small a:hover {
	background: #666;
	color: #fff;
}



/* Link block
----------------------------------------------- */
ul.blogroll, .topborder,  ul#commentsection, .topborderposts {
	border-top: 1px solid #cdcdcd;
}
.topborder {
	padding-top: 22px;
}
#main ul.blogroll {
	list-style:none;
	padding: 0;/*overrides #main ul*/
	margin: 0 0 2.5em 0;
}
#main ul.blogroll li {
	border-bottom: 1px solid #cdcdcd;
	padding: 0;/*overrides #main li*/
	margin: 0;
	background: none;
}
#main ul.blogroll a {
	border:none !important;
	display: block;
	padding:5px 5px;
}
#main ul.blogroll a:hover, #main ul.blogroll a:hover span.dateblock, #main a.bulletinlink:hover {
	color: #fff !important;
	background-color: #386b4f;
}
#main ul.blogroll .current_page_item a {
	color: #000;
}
#main ul.blogroll span.dateblock {
	font-size: 0.9em;
	text-transform: uppercase;
	color: #888;
}



/* Footer
----------------------------------------------- */
#footer {
	padding-top:25px;
}
#footer div, #footer p {
	color:#ccc;
}
#footer p {
	margin:0 0 1em 0;
	font-family: Helvetica, Arial, sans-serif; 
}
#footer a {
	color:#fff;
	text-decoration:none;
}
#footer a:hover {
	color:#ccc;
	text-decoration: underline;
}



/* Forms
----------------------------------------------- */
#main form label{
	cursor:pointer;
}
#main form legend {
	display:none;
}
#main form fieldset {
	border:none;
}
span.required {
	color:red;
}
textarea, input, select {
	font: 1em Verdana, Tahoma, Arial, sans-serif;
}
#main textarea {
	height:150px;
}
#main input[type=text], textarea {
	border: 1px solid #cdcdcd;
	background: #f6f6f6;
	padding:3px;
	display: block;
	width: 375px;
	margin: 5px 0;
}
select {
	margin: 5px 0 0 8px;
}
#main input[type=text]:focus, textarea:focus {
	border: 1px solid #5C5C5C;

}



/* Comments
----------------------------------------------- */
#main #commentsection {
	padding: 0 0 0 0;/*overrides #main li*/
	margin: 0;
	background: none;
}
#main .comment {
	border: 1px solid #cdcdcd;
	/*border-top-left-radius: 5px;
	border-top-right-radius: 5px;*/
	padding: 12px 0 0 15px;
	margin: 0 0 15px 0;
}
#commentsection .comment .bypostauthor, #commentsection .bypostauthor {
	/*background: #fffef2;*/
	background: #fff url(images/authorpost.gif) 0 0 repeat-x;
}
#commentsection .avatar {
	float: left;
	margin-right: 14px;
}
#commentsection .depth-2, #commentsection .depth-3 {
	margin-right: 15px;
}
#commentsection .depth-2 {
	background: #f6f6f6;
	padding-left: 15px;
}
#commentsection .depth-3 {
	background: #eeeeee;
	padding-left: 15px;	
}
.comment-wrapper {
	/*padding: 0 0 10px 58px;*/
	/*float: left;*/
	padding: 0 15px 0 0;
}
#respond {
	margin-top: 22px;
}
#main h3#comments {
	margin: 30px 0;
}
