/**
Theme Name: AFSR Theme
Theme URI: 
Description: Theme specifically designed for AFSR WP website
Author: Marcin Struzak
Author URI: 
Template: QuenchMag
Version: 1.0
.
This is the general theme for afsantarosa.org WP installation.  It is mainly 
based on QuenchMag Theme, but it is specifically targeted for a Pages-based
website, with a Page as index, and in allows for two-level menus for the 
pages.
.
*/

/*
 * Base everything on QuenchMag 
 */
@import url('../QuenchMag/style.css');

/*
 * Redefine certain elements
 */
body {
	/* font-size: 14px; */
}

a {
	/* color:#BC1818; */
}

#blog-description-shadow {
	left:390px;
}

/* 
 * Menu revisited to support 2nd level 
 */
#page-menu li {
	float: left; 
	/* width: auto; */
}

#page-menu a {
	/* font-size: 12px; */
	float: none; 
	/* width: auto; */
}

/* The son-of-suckerfish recommends shifting left property from -999px (out 
 * of viewport) to auto, but that creates weird border artifacts in IE */
#page-menu li ul {
	position: absolute;
	/* margin-top: 1px;  makes it hard to hover over the submenu */
	/* width: auto; */
	/* left: -999em; */
	z-index: 100;  /* to avoid overlap from the gallery */
	display: none;
}

#page-menu li:hover ul,
#page-menu li.sfhover ul {
	/* background: transparent url(images/menu-sec-bg.gif) repeat-x 0 0; */
	background: transparent url(../QuenchMag/images/body-in-bg.gif) repeat-x 0 -141px; 
	left: auto; 
	display: block;
}

/** IE has an issue with lists of recent posts and comments **/
.block ul li {
	/* width: 100%; */
	/* overflow: hidden; */
	/* width: auto; */
}

.block ul li a {
	/* display: block; */
	/* height: 16px; */
	/* overflow: hidden; */
}

/** Lists in widgets get double bottom borders on second-level items **/
.widget ul li li {
	border: none;
}

/* 
 * New or enhanced definitions for posts and pages
 */
 
/** Ordered lists **/
.entry ol {
	list-style-type: decimal;
}

/** Headings; SEO rules dictate that highest headings in posts start at h4 **/
.entry h1,
.entry h2,
.entry h3,
.entry h4,
.entry h5,
.entry h6 {
	font: normal 10px Tahoma, Verdana;
}

.entry h4,
.entry h5,
.entry h6 {
	font-size: 12px;
}

.entry h4,
.entry h5 {
	color: #ab1a1f;
}

.entry h4 {
	font-size: 14px;
	border-bottom: 1px dotted #f2f2f2;
}

/** .entry p has a bottom margin of 1em; add other elements here **/
.entry > ul,  /* > prevents ul-in-ul to have the margin */
.entry > ol,
.entry > dl { 
	margin-bottom: 1em;
}

 /** Login items at the right bottom **/
#loginBlock {
	float: right;
}

/** Tables in the posts; make them zebra-rows and a nicer heading **/
.entry > table {
	margin: 1em auto;
}

.entry > table thead tr {
	color: #ab1a1f;
	border-top: 1px solid #f2f2f2;
	border-bottom: 1px dotted #f2f2f2;
	font-weight: normal;
	text-transform: uppercase;
	font-size: 10px;
	line-height: 300%;
}

.entry > table tbody tr.odd {
	background-color: #f2f2f2;
}

/*
.entry > table tbody tr:nth-child(odd) {
	background-color: #dedede;
}
*/

.entry > table tbody tr.last {
	border-bottom: 1px solid #f2f2f2;
}

/* 
.entry > table tbody tr:last-child {
	border-bottom: 1px solid #000;
}
*/

.entry > table td {
	padding-left: 1em;
	padding-right: 1em;
}

/** Definition lists **/
.entry dl {
	padding-left: 3em;
}

.entry dt {
	display: inline;
	clear: left;
	float: left;
	font-weight: bold;
	color: #ab1a1f;
	padding-right: 1em;
}

/** Map **/
.simpleYMap {
	margin: 1em auto;
}

.simpleYMap table {
	margin: 0;
	padding: 0;
}

.simpleYMap td {
	background-color: #fff; 
	margin: 0;
	padding: 0 !important;
}

.simpleYMap tr {
	background-color: transparent;
}

.yMapMarker {
	/* background: #fff; */
	font-family: Verdana, Arial, Helvetica, Sans-serif;
	font-size: 10px;
	line-height: normal;
	padding: 5px ;
}

/** cute icons for PDF and DOC links **/
a.pdf-doc,
a.word-doc {
	background-repeat: no-repeat;
	background-position: center left;
	padding-left: 20px;
}

a.pdf-doc {
	background-image: url('http://wwwimages.adobe.com/www.adobe.com/ubi/template/identity/adobe/screen/icon/pdf.gif');
}

a.word-doc {
	background-image: url('images/word.gif');
}

/** Links page **/
ul.linklist,
ul.linklist ul {
	padding-left: 0;
}

ul.linklist li {
	list-style-type: none;
}

ul.linklist a {
	display: block;
	padding-left: 15px;
	margin: 2px 5px;
}

ul.linklist a:hover {
	background-image: url('http://bits.wikimedia.org/skins-1.5/monobook/external.png');
	background-repeat: no-repeat;
	background-position: center right;
	padding-right: 20px;
}

ul.linklist li ul li.odd {
	background-color: #f2f2f2;
}

/** Event Calendar 3 Lists **/
.ec3_list {
	margin-left: 0 !important ;
	padding-left: 0 !important ;
	background: none !important ;
	/* font: normal 12px Tahoma, Verdana; */ /* same as .widget-title */
	color: #C71313 !important ;                     /* same as .widget-title */
	/* text-transform: uppercase; */         /* same as .widget-title */
}
/* table.ec3_schedule {
	display: none;
} */

/** FB Button **/
a #fbbutton {
	float: right;
	margin-top: -35px;
}
/* EOF */
