/*
Theme Name: OMPA Theme
Theme URI: http://mainstreetopen.com
Description: Custom theme for the OMPA
Version: 0.1
Author: Main Street Open
Author URI: http://mainstreetopen.com

*/

@import url("css/screen.css");
li {line-height:auto;}
html {background: #FFF url(images/bg.gif) repeat-x 50% 18px;padding:0px; margin:0px;}
body {background: transparent url(images/bg.png) no-repeat 50% 0px; padding:0px; margin:0px;}
a {outline: none;}
a {text-decoration:none;}
a:hover {text-decoration:underline;}
a.button {}
.container_outside {width:950px; margin:0 auto; overflow:hidden;}
#featured {background:#FFF url(images/banner.jpg) no-repeat top left; border:1px solid #FFF; height:433px; width:934px; margin: 0em .5em; position:relative;}
#featured_message { display:none; position:absolute; right:1em; width:453px; height:auto; border:1px solid #FFF; background: transparent url(images/wht70.png) repeat top left; top:60px; padding:15px; z-index:3;}
#featured_message h2 {font-weight:bold;}
#header h1 {text-align:center; color:#3d6cb4; font-size:16px; font-weight:bold; margin-top:1.5em; margin-bottom:0px;}
#header h1 a {color:#3d6cb4;}
#header h1 a:hover {text-decoration: none;}
#header .description {text-align:center; color: #8f8f87; font-style:italic; font-size:14px; margin-bottom:.5em;}
#navigation {
	font-size:1em;
	background: transparent;
	display:block;
	width:940px;
	height:54px;
	padding:0px;
	margin:0px auto;
}

/*** ESSENTIAL STYLES ***/
.sf-menu, .sf-menu * {
	margin:			0;
	padding:		0;
	list-style:		none;
	z-index:4;
}
.sf-menu {
	line-height:	1.0;
}
.sf-menu ul {
	position:		absolute;
	top:			-999em;
	width:			10em; /* left offset of submenus need to match (see below) */
}
.sf-menu ul li {
	width:			100%;
}
.sf-menu li:hover {
	visibility:		inherit; /* fixes IE7 'sticky bug' */
}
.sf-menu li {
	float:			left;
	position:		relative;
}
.sf-menu a {
	display:		block;
	position:		relative;
}
.sf-menu li:hover ul,
.sf-menu li.sfHover ul {
	left:			0;
	top:			2em; /* match top ul list item height */
	z-index:		99;
}
ul.sf-menu li:hover li ul,
ul.sf-menu li.sfHover li ul {
	top:			-999em;
}
ul.sf-menu li li:hover ul,
ul.sf-menu li li.sfHover ul {
	left:			10em; /* match ul width */
	top:			0;
}
ul.sf-menu li li:hover li ul,
ul.sf-menu li li.sfHover li ul {
	top:			-999em;
}
ul.sf-menu li li li:hover ul,
ul.sf-menu li li li.sfHover ul {
	left:			10em; /* match ul width */
	top:			0;
}
/*** DEMO SKIN ***/
.sf-menu {
	float: left;
	margin-bottom:	0em;
}
.sf-menu a {
	padding: .4em .6em;
	background: #f9f0c2;
	border: 1px solid #c5c5c5;
	text-decoration:none;
	color: #8f8f87;
	margin:0em .2em;
}
.sf-menu a, .sf-menu a:visited  { /* visited pseudo selector so IE6 applies text colour*/
	color: #3f3f37;
	font-weight: normal;
}
.sf-menu a:hover {
	background: #f3ba22;
	border:1px solid #39558a;
}
.sf-menu li {
	background: transparent;
}
.sf-menu li li {
	font-size: 1em;	
}
.sf-menu li li a {
	background: #f9f0c2;
	border: 1px solid #c5c5c5;
	padding: .5em .8em;
}
.sf-menu li li li {

}
.sf-menu li:hover, .sf-menu li.sfHover,
.sf-menu a:focus, .sf-menu a:hover, .sf-menu a:active {
	color: #000;
	text-decoration:none;
	outline:		0;
}
.sf-menu li li:hover, .sf-menu li li.sfHover,
.sf-menu li li a:focus, .sf-menu li li a:hover, .sf-menu li li a:active {
	color: #000;
	text-decoration: none;
	outline: 0;
}



/*** arrows **/
.sf-menu a.sf-with-ul {
	min-width:		1px; /* trigger IE7 hasLayout so spans position accurately */
}
.sf-sub-indicator {
	position:		absolute;
	display:		block;
	right:			.75em;
	top:			1.05em; /* IE6 only */
	width:			10px;
	height:			10px;
	text-indent: 	-999em;
	overflow:		hidden;
/* 8-bit indexed alpha png. IE6 gets solid image only */
}
a > .sf-sub-indicator {  /* give all except IE6 the correct values */
	top:			.8em;
	background-position: 0 -100px; /* use translucent arrow for modern browsers*/
}
/* apply hovers to modern browsers */
a:focus > .sf-sub-indicator,
a:hover > .sf-sub-indicator,
a:active > .sf-sub-indicator,
li:hover > a > .sf-sub-indicator,
li.sfHover > a > .sf-sub-indicator {
	background-position: -10px -100px; /* arrow hovers for modern browsers*/
}

/* point right for anchors in subs */
.sf-menu ul .sf-sub-indicator { background-position:  -10px 0; }
.sf-menu ul a > .sf-sub-indicator { background-position:  0 0; }
/* apply hovers to modern browsers */
.sf-menu ul a:focus > .sf-sub-indicator,
.sf-menu ul a:hover > .sf-sub-indicator,
.sf-menu ul a:active > .sf-sub-indicator,
.sf-menu ul li:hover > a > .sf-sub-indicator,
.sf-menu ul li.sfHover > a > .sf-sub-indicator {
	background-position: -10px 0; /* arrow hovers for modern browsers*/
}

/*** shadows for all but IE6 ***/
.sf-shadow ul {
	background:	url('../images/shadow.png') no-repeat bottom right;
	padding: 0 8px 9px 0;
	-moz-border-radius-bottomleft: 17px;
	-moz-border-radius-topright: 17px;
	-webkit-border-top-right-radius: 17px;
	-webkit-border-bottom-left-radius: 17px;
}
.sf-shadow ul.sf-shadow-off {
	background: transparent;
}


.sf-navbar {
	background:		#BDD2FF;
	height:			2.5em;
	padding-bottom:	2.5em;
	position:		relative;
}
.sf-navbar li {
	background:		#AABDE6;
	position:		static;
}
.sf-navbar a {
	border-top:		none;
}
.sf-navbar li ul {
	width:			44em; /*IE6 soils itself without this*/
}
.sf-navbar li li {
	background:		#BDD2FF;
	position:		relative;
}
.sf-navbar li li ul {
	width:			13em;
}
.sf-navbar li li li {
	width:			100%;
}
.sf-navbar ul li {
	width:			auto;
	float:			left;
}
.sf-navbar a, .sf-navbar a:visited {
	border:			none;
}
.sf-navbar li.current {
	background:		#BDD2FF;
}
.sf-navbar li:hover,
.sf-navbar li.sfHover,
.sf-navbar li li.current,
.sf-navbar a:focus, .sf-navbar a:hover, .sf-navbar a:active {
	background:		#BDD2FF;
}
.sf-navbar ul li:hover,
.sf-navbar ul li.sfHover,
ul.sf-navbar ul li:hover li,
ul.sf-navbar ul li.sfHover li,
.sf-navbar ul a:focus, .sf-navbar ul a:hover, .sf-navbar ul a:active {
	background:		#D1DFFF;
}
ul.sf-navbar li li li:hover,
ul.sf-navbar li li li.sfHover,
.sf-navbar li li.current li.current,
.sf-navbar ul li li a:focus, .sf-navbar ul li li a:hover, .sf-navbar ul li li a:active {
	background:		#E6EEFF;
}
ul.sf-navbar .current ul,
ul.sf-navbar ul li:hover ul,
ul.sf-navbar ul li.sfHover ul {
	left:			0;
	top:			2.5em; /* match top ul list item height */
}
ul.sf-navbar .current ul ul {
	top: 			-999em;
}

.sf-navbar li li.current > a {
	font-weight:	bold;
}

/*** point all arrows down ***/
/* point right for anchors in subs */
.sf-navbar ul .sf-sub-indicator { background-position: -10px -100px; }
.sf-navbar ul a > .sf-sub-indicator { background-position: 0 -100px; }
/* apply hovers to modern browsers */
.sf-navbar ul a:focus > .sf-sub-indicator,
.sf-navbar ul a:hover > .sf-sub-indicator,
.sf-navbar ul a:active > .sf-sub-indicator,
.sf-navbar ul li:hover > a > .sf-sub-indicator,
.sf-navbar ul li.sfHover > a > .sf-sub-indicator {
	background-position: -10px -100px; /* arrow hovers for modern browsers*/
}

/*** remove shadow on first submenu ***/
.sf-navbar > li > ul {
	background: transparent;
	padding: 0;
	-moz-border-radius-bottomleft: 0;
	-moz-border-radius-topright: 0;
	-webkit-border-top-right-radius: 0;
	-webkit-border-bottom-left-radius: 0;
}

#footer p {color:#777; margin:0px; line-height:1.3em; font-size:.9em;}
#footer a {color:#777; text-decoration:underline;}

.quotescollection_randomquote q:before {content:'"';}
.quotescollection_randomquote q:after{content:'"';}

.thread-alt {
	background-color: #f8f8f8;
border: 1px solid #ddd;
}
.thread-even {
	background-color: white;
border: 1px solid #ddd;
}
.depth-1 {
border: 1px solid #ddd;
}

.even, .alt {

	border-left: 1px solid #ddd;
}

.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;
	}

.commentmetadata {
	font-weight: normal;
	}

code {
	font: 1.1em 'Courier New', Courier, Fixed;
	}

a:hover {
	color: #147;
	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 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 */


.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:left;
	}

select {
	width: 130px;
	}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform {
	margin: 5px 10px 0 0;
	}
#commentform textarea {
	width: 100%;
	padding: 2px;
	}
#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;
	background: #FFF;
	}

.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 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 */

/* 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 */

.nocomments {display:none;}
#outer_footer {background: #FFF url(images/footer.png) no-repeat top center; width:100%; height:130px;padding-top:90px;}
#content .page, #content .post {background:#FFF; padding:1em; border:0px solid #BBB; min-height:500px;}

.post-home {padding:1em 0em;}
#content .post .post-title, #content .page .post-title {margin-left:-1em;}
#content p:after {content:' '; display:block; clear:both;}
.post-title, .page-title {
	background: #3d6cb3 url(images/title_bg.jpg) no-repeat top left; 
	width: auto;
	margin-right:100px;
	height: 64px;
	position: relative;
	margin-top:.5em;
	margin-bottom:1em;
}

.post-title h2, .page-title h2, .post-title h2 a, .page-title h2 a {font-weight:bold; color:#FFF; text-transform:uppercase;}
.post-title h2, .page-title h2 {padding:.5em;}
.post-title:before, .page-title:before {
	content: url(images/title_float.png); 
	position: absolute;
	margin-left: -66px;
}
.post-title:after, .page-title:after{
	content: url(images/title_end.gif);
	position: absolute;
	right: 0px;
	top: 0px;
}

#toolbar {text-align:right;}
#toolbar ul {margin: 2em 1em; padding:0px; float:right;}
#toolbar ul li {float:left; margin:0px 6px; display:inline;}
#toolbar ul li a {font-size:.8em; color: #8f8f87;}
a.rsslink {background: transparent url(images/feedicon.gif) no-repeat top left; width:16px; height:16px; display:block;}
a.rsslink span {display:none;}
.entry {color:#585858; font-size: 1.2em; line-height:1.4em;}

#searchform {position:relative; width:245px; height:34px; margin:0px auto;}
#searchform .screen-reader-text {display:none;}
#searchform #s {display:block; width:194px; height:21px; background: transparent url(images/search_box_bg.gif) no-repeat top left; border:0px; padding:8px 5px 5px 5px; position:absolute; left:0px; margin:0px;}
#searchform #searchsubmit {display:block; width:34px; height:34px; background: transparent url(images/search_btn.gif) no-repeat top left; border:0px; color:transparent; position:absolute; right:0px; margin:0px; overflow:hidden; padding-top:34px;}

#featured_links {position:absolute; bottom:-20px; right:30px; z-index:8;}
.button {padding:8px 14px 8px 20px; text-align:center; font-size:1em; font-weight:bold;display:block;text-transform: uppercase; cursor:pointer}
.button_wrap a {color:#FFF;}
.button_wrap a:hover {color:#FFF; text-decoration: none;}
.button_wrap {background:transparent url(images/button_bg_1.png) no-repeat top left; float:right; margin:2px 5px; display:block; position:relative;}
.button_wrap:after {content: url(images/button_bg_2.png); position:absolute; right:-6px; top:-1px;}
#movieplayer {position:aboslute; height:433px; width:934px; background: transparent url(images/blk80.png) repeat; z-index:9; display:none; text-align:center;}
#movieembed {margin:auto; position:relative; top:30px;}
.widget_title {text-align:right; color:#3f71a4; font-weight:bold; padding:1em 2em 0em 0em; text-transform:uppercase;}
.widget {margin-top:2em;}
#comments {background:#FFF;}
ul.twocolumnlist li {width:50%; float:left;}
ul.twocolumnlist:after {content:" "; clear:both; display:block;}
.page-content {background:white;}

.listed-posts {clear:both; padding-bottom:4em; padding-top:2em; border-bottom:1px dotted silver;}

/* -------------------------------------------------------------- 
  
   link-icons.css
   * Icons for links based on protocol or file type.
   
   See the Readme file in this folder for additional instructions.

-------------------------------------------------------------- */

/* Use this class if a link gets an icon when it shouldn't. */
body a.noicon { 
	background:transparent none !important; 
	padding:0 !important; 
	margin:0 !important; 
}

/* Make sure the icons are not cut */
a[href^="mailto:"], a[href$=".pdf"], a[href$=".doc"], a[href$=".xls"], a[href$=".rss"], 
a[href$=".rdf"], a[href^="aim:"] {
  padding:2px 22px 2px 0;
  margin:-2px 0;
  background-repeat: no-repeat;
  background-position: right center;
  font-weight:bold;
clear:left;
}

/* External links */
a[href^="mailto:"]        { background-image: url(icons/email.png); }

/* Files */
a[href$=".pdf"]   { background-image: url(icons/pdf.png); }  
a[href$=".doc"]   { background-image: url(icons/doc.png); }  
a[href$=".xls"]   { background-image: url(icons/xls.png); }  
 
/* Misc */
a[href$=".rss"], 
a[href$=".rdf"]   { background-image: url(icons/feed.png); }
a[href^="aim:"]   { background-image: url(icons/im.png); }


