/* ----------------------------------------
Theme Name: Minoritech (Dufay-based)
Theme URI: http://minoritech.com
Description: Theme for Minoritech site based on Dufay, a basic CMS-oriented Wordpress theme geared towards greater focus on pages, less focus on blog, for non-blog sites.
Version: 1.0
Author: Paulo Ordoveza / modified by J Ignacio
Author URI: http://jopogo.com
Last Modified: 2006.05.03
Provides: Theme definition file for WordPress 2.x
---------------------------------------- */

/* COMMON */
a img  { border: 0; }
.clear { clear: both; height: 0; line-height: 0; margin: 0; }
.hide { visibility: hidden; } /* dark matter: hidden but still takes up space */
.none { display: none; } /* phased matter: hidden and takes up no space */
.floatleft { float: left; margin-right: 5px; }
.floatright { float: right; margin-left: 5px; }

body {
	font: 80% Verdana, Arial, Helvetica, sans-serif;
	background: #fff url(images/body-bg.gif) repeat-x;
	color: #00319C;
	text-align: center;
	margin: 0; padding: 0;
}

a:link { color: #185fa0; text-decoration: none; font-weight: bold; }
a:visited { color: #5f18a0; text-decoration: none; font-weight: bold; }
a:hover { color: #c00; text-decoration: none; font-weight: bold; }

#container {
	text-align: left;
	margin: 0 auto;
	width: 760px;
	padding: 0px;
}

#header {
	margin: 0;
	padding: 0px;
	text-align: center;
	height: 125px;
}
	#header h1, #header img { margin: 0; }

#main {
	padding: 3px 20px;
}
	#main p { margin-top: 0; margin-bottom: 1em; }

#content {
	line-height: 1.5em;
	padding: 3px;
}
	#content h2 {
		font-size: 1.5em;
		margin-top: 0;
		margin-bottom: 5px;
	}

	#content h3 {
		font-size: 1.3em;
		margin: 0;
	}

	#content h4 {
		font-size: 1.1em;
		margin: 0;
	}


	#welcome, #news {

		padding: 3px;
		margin-bottom: 3px;
	}

	#welcome {
		font-size: 1.3em;
		line-height: 1.7em;
		font-family:  Verdana, Arial, Helvetica, sans-serif;
		font-style: italic;
		font-weight: bold;
	}
		#welcome p { margin: .5em 0; }
		#welcome h2 {font-size: 1.6em; font-weight: bold; line-height: 1.2em;  margin: .2em;}
		#welcome img {float:right;}

#sidebar {
	margin-right: 570px;
	line-height: 1.4em;
	font-size: 11px;
	border: 1px solid #ddd;
	padding: 3px;
}
	#sidebar form, #sidebar ul {
		padding: 0;
		margin-top: 0;
		margin-bottom: 1em
	}
		#sidebar form input#s { width: 90%; }

	#sidebar h4, #sidebar h2 {
		margin: 0;
		font-size: 1.1em;
		}

	#sidebar ul {
		list-style: none outside;
		margin: 0; padding: 0;
		margin-bottom: 1em;
		}

	#sidebar ul#pages {
		font-size: 1.4em;
		line-height: 1em;
		border: 1px solid #ddd;
		border-bottom: 0;
	}
		#sidebar ul#pages li {
			border-bottom: 1px solid #ddd;
			padding: 5px;
			background: white;
			}
		#sidebar ul#pages li a { display: block; }

#footer {
	margin: 0;
	padding: 25px 0;
	font-size: 11px;
	line-height: 1.4em;
	color: #333;
}
	#footer1 {
		float: left;
		width: 49%;
	}

	#footer2 {
		margin-left: 50%;
		text-align: right;
		color: #900;
	}

#wpmeta { position: absolute; top: 5px; right: 5px; font: normal 11px Verdana; }
	#wpmeta a:link, #wpmeta a:visited { color: #380101; text-decoration:none; }
	#wpmeta a:hover { color: #999; }

/* POST */
.post {
	padding-bottom: 5px;
	margin-bottom: .5em;
}
	.post .postinfo {
		margin-bottom: 3px;
		font-size: 11px;
		}

/* j ig additions */
#menu {
	background: url(images/nav-bg.gif) repeat-x center top;
	height: 30px;
	font: bold 11px/30px Verdana, Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	color: #ffffff;
	vertical-align: middle;
	padding-top: 2px;
}

#menu a:link, #menu a:visited {color: #ffffff; text-decoration: none; }
#menu a:hover { color: #ffffff; text-decoration: underline; }

ul#nav li {
	float: left;
	position: relative;
	height: 30px;
	vertical-align: middle;
	text-align: center;
	margin-right: 15px;
}

	ul#nav li ul {
		display: none;
		position: absolute;
		top: 1em;
		left: 0;
	}

ul#nav li > ul { top: auto; left: auto; }
ul#nav li:hover ul, #menu li.over ul { display: block; }

#nav, #nav ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none outside;
	line-height: 1em;
}
#nav li > ul {
	top: auto;
	left: auto;
}

#nav a {
	display: block;
	width: auto;
}

#nav li { /* all list items */
	float: left;
	width: 8em;
}

#nav li ul { /* second-level lists */
	position: absolute;
	left: 0px;
	background: #185fa0 url(images/nav-bg.gif) center top;
	margin-left: -30px;
	margin-top: 16px;
	width: 15em;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
	line-height: 1.5em;
}

#nav li ul li {
	padding-left: 5px;
	line-height: 1em;
}

#nav li ul ul { /* third-and-above-level lists */
	margin: -1em 0 0 12em;
}

#nav li ul li a {
	display: block;
	width: 15em; text-align:left; text-transform: none;
	padding: 3px;
}

#nav li:hover ul ul, #nav li.sfhover ul ul {
	left: -999em;
}

#nav li:hover ul, #nav li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
}

#content #column1 { float: left; width: 40%; padding: 10px;  }
	#content #column1 ul { list-style:none; padding: 0; margin:0; }
		#content #column1 ul li {display: block; margin-left: 5px; font-size: 1.4em;}
#content #column2 { float: left; width: 20%; padding: 10px;}
#content #column3 { float: left; width: 30%; padding: 10px;}
#content #column1 h3, #content #column2 h3, #content #column3 h3 { font-size: 1.9em ;font-weight: normal; line-height: 1.3em;}
