/*
Theme Name: Knights Fastpitch
Theme URI: http://www.knightsfastpitch.org/
Description: Custom theme created for Knights Fastpitch
Version: 1.0
Author: Katy Chayka
Author URI: http://www.c-net.us/

	This theme was designed and built by Katy Chayka

*/

/* #F2EBC4; /* gold */
/* #EADE9C; /* darker gold */
/* #937200; /* darkest gold */
/* #155793; /* link blue */


/* layout and default colors */

body {
	background-color: #F2EBC4;
	color: #000;
	margin: 0;
	padding: 0 3%;
	line-height: 1.2;
	font-family: sans-serif;
	font-size: 100%;
}

#page {
	margin: 0 auto;
	width: 99%;
	max-width: 50em;
	background-color: #EADE9C;
	color: #000;
	border: 4px solid #800;
	border-top-width: 0;
	zoom: 1;
}
#page.calendar, #page.open-gym-calendar, #page.board-calendar {
	max-width: 1135px;
}

.midsection {
	background-color: #fff;
	color: #000;
	padding: 10px 0;
	border-left: 280px solid #fff;
}
#content {
	width: 94%;
	float: right;
	padding-right: 5%;
	line-height: 1.35;
}
#sidebar {
	float: left;
	width: 230px;
	display: inline;  /* FIX IE double margin bug */
	margin-left: -260px;
	margin-bottom: 1em;
	font-size: 90%;
}
#footer {
	clear: both;
	padding: 1px 10px;
	border-top: 4px solid #800;
}

/* default links */
a {
	background: transparent;
	color: #0D0D8C; /* link blue */
}
a:visited {
	background: transparent;
	color: #937200; /* darkest gold */
}
a:focus,
a:active,
a:hover {
	background: transparent;
	color: #800;
	text-decoration: underline;
}
/* pathetic IE */
a img {
	border-color: #0D0D8C; /* link blue */
}
a:visited img {
	border-color: #937200; /* darkest gold */
}
a:focus img,
a:active img,
a:hover img {
	border-color: #800;
}

/* default headings and margins */
h2 {
	font-size: 135%;
	font-family: "Arial Black", sans-serif;
	font-weight: normal;
	margin-top: .5em;
	margin-bottom: .5em;
	padding: 5px;
	background: #EADE9C;
	color: #800;

}
h3 {
	font-size: 120%;
	font-family: "Arial Black", sans-serif;
	font-weight: normal;
}
h4 {
	font-size: 100%;
	font-family: "Arial Black", sans-serif;
	font-weight: normal;
}
p, ul, ol {
	margin-top: 1em;
	margin-bottom: 0;
}
h2 + p, h2 + ul, h2 + ol,
h3 + p, h3 + ul, h3 + ol,
h4 + p, h4 + ul, h4 + ol,
p + ul, p + ol,
ul ul, ul ol, ol ol, ol ul {
	margin-top: .5em;
}
li {
	margin-bottom: .3em;
}


/* masthead */

#header {
	padding: 1px 20px;
	position: relative;
	zoom: 1;
	background: #EADE9C url(images/header-bg.png) 275px 0 repeat-x;
	color: #000;
	border-bottom: 4px solid #800;
}
h1 {
	margin: 0;
}
h1 img {
	border-width: 0;
}



/* content area */
#content ul {
	list-style: disc url(images/bullet1.png);
	margin-left: 1em;
	padding-left: 30px;
}
#content ul ul {
	list-style: circle none;
}
#content ul ul ul {
	list-style: square none;
}

#content iframe {
	width: 100%;
	overflow: auto;
	border-width: 0;
}


/* left col/sidebar */

#sidebar {
	font-size: 90%;
}
#sidebar h2 {
	font-size: 110%;
}
#sidebar ul,
#sidebar li {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* navigation links */
#sidebar li.flexipages_widget ul ul {
	margin-left: 25px;
}
#sidebar li.flexipages_widget li {
	margin: 0;
	border-bottom: 1px solid #EEDF8A;
	display: block;
}
#sidebar li.flexipages_widget li li {
	border-width: 0;
}

/* defalut for all links */
#sidebar li.flexipages_widget a {
	text-decoration: none;
	display: block;
	padding: .3em .3em .3em 25px; /* space for icon */
	color: #0D0D8C;
	background: #fff url(images/arrow-right.gif) no-repeat 5px 50%; 
	min-height: 1em; /* Fixes IE7 whitespace bug */ 
	zoom: 1;
}
#sidebar li.flexipages_widget ul li.current_page_item > a {
	background-color: #F8F3DA;
	background-image: url(images/arrow-right-active.gif);
	font-weight: bold;
	color: #000;
}
#sidebar li.flexipages_widget ul ul li.current_page_item > a {
/*	background-color: #fff;
	color: #000;*/
}
#sidebar li.flexipages_widget a:focus,
#sidebar li.flexipages_widget a:hover,
#sidebar li.flexipages_widget a:active {
	background-position: 5px 50%;
}
/* nested list */
#sidebar li.flexipages_widget li li a {
/*	font-size: 90%;*/
}

/* next level links, more padding and smaller font */
#sidebar li.flexipages_widget ul ul a {
	font-size: 90%;
	padding: .4em .4em .4em 25px;
}

/* third level links, more padding */
#sidebar li.flexipages_widget ul ul ul a {
	padding: .5em .5em .5em 25px;
	background-image: url(images/dash.gif); 
}


/* default visited state for all links */
#sidebar li.flexipages_widget a:visited {
	color: #937200;
}
/* hover state for all links */
#sidebar li.flexipages_widget a:focus,
#sidebar li.flexipages_widget a:active,
#sidebar li.flexipages_widget a:hover {
	background-color: #F8F3DA;
	color: #800;
}
#sidebar li.flexipages_widget li.current_page_ancestor > a {
/*	background: #F2EBC4 url(images/arrow-down.gif) no-repeat 5px 50%; */
	background-image: url(images/arrow-down.gif); 
}

/* text widget */
#sidebar li.widget_text p {
	margin: .5em;
	text-align: center;
}
#sidebar li.widget_text a {
	background: #000;
	color: #fff;
}


/* footer */
#footer {
	clear: both;       /* keep footer below content and menu */
	border-top: 4px solid #800;
	padding-top: .5em;
}
#footer a {
}
#footer p {
	font-size: .8em;
	padding: .5em;       /* some air for footer */
	text-align: center;  /* centered text */
	margin: 0;
}
#footer p.kc {
	font-weight: normal;
}


/* images and alignments */
.alignright {
	float: right;
}
.alignleft {
	float: left;
}
.aligncenter {
	display: block;
	text-align: center;
	margin: auto;
}

img.alignright, .alignright img {
	margin-left: 10px;
}
img.alignleft, .alignleft img {
	margin-right: 10px;
}


/* forms */
textarea {
	width: 95%;
}
input[type="text"] {
	max-width: 60%;
}

/* tables */
table.contact {
	margin: 1em 0;
	font-size: larger;
	border-collapse: collapse;
}
table.contact th {
	text-align: left;
	padding: .3em .5em .3em 0;
}
table.contact td {
	padding: .3em 0;
}



/* misc rules */
hr {
	display: none;
}
.split {
	width: 49%;
	float: left;
	margin-bottom: 1em;
}
.split + .split {
	float: right;
}
.split + p {
	clear: both;
}

.hilite {
	font-weight: bold;
	background: #fff;
	color: #800;
}
.clear {
	clear: both;
}

.alt-row {
	background: #F5F1E2; /* pale champagne */
	color: #000;
}

blockquote {
	margin: 0;
	padding: 1px 10px 1em 10px;
	border-top: 1px solid #E0D1A9; /* champagne */
}
blockquote .cite {
	font-style: italic;
}

/* clear floats for non-IE browsers */
.midsection:after {
	content: ".";
	display: block;
	clear: both;
	height: 0;
	overflow: hidden;
	visibility: hidden;
}
.midsection {
	zoom: 1;
}

/* end float clearing */



/* print only rules */
@media print {
#page {
	border-width: 0;
}
.midsection {
	border-left-width: 0;
}
#sidebar {
	display: none;
}



}

