/*  
Theme Name: OPM
Theme URI: http://www.darrenhoyt.com/2007/08/05/wordpress-magazine-theme-released/
Description: A magazine-style layout for Wordpress
Version: 1.0
Author: Nelson Sanchez
Author URI: http://www.nelsonsanchez.com

The CSS, XHTML and design is released under GPL:
http://www.opensource.org/licenses/gpl-license.php
*/

/*
global styles
============================== */

* {}

body {
	margin: 10px 0 0 0;
	padding: 0;
	color: #000;
	font: 75% Arial, Helvetica, sans-serif;
	background: #FFF url(images/full_bg.jpg) no-repeat top center;
	}
#wrapper{
	/*position: relative;*/
	padding: 0;
	margin: 0 auto;
	width: 820px;
	}
#wrapper:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
	position: relative;
	border: 0;
	}
h1, h2, h3{
	font-weight: bold;
	padding: 10px 0 0 0;
	margin: 0;
	}
h1{
	font-size: 130%;
	color: #3CABE0;
	padding-bottom: 10px;
	margin-bottom: 10px;
	text-transform: uppercase;
	border-bottom: 3px solid #CCC;
	}
h2{
	font-size: 110%;
	color: black;
	padding-bottom: 5px;
	border-bottom: 3px solid #CCC;
	}
h3{
	font-size: 100%;
	color: #80a1cd;
	}
	
p { line-height: 180%; } 
	
a {
	color: #3D82C7;
	text-decoration: none;
    }
a:hover {
	color: red;
	text-decoration: none;
    }
.clear {clear: both;}


/* header styles
============================== */

#header{
	height: 150px;
	background: url(images/header_image.jpg) no-repeat bottom left;
	width: 820px;
	}
#branding {
	float: left;
	width: 143px;
    }
	
#branding a img, #branding a:hover img {
text-decoration: none;
border: none;
    }
#pagedescription{
	float: right;
	width: 503px;
	margin: 0;
	text-align: right;
	line-height: 120%;
    }
#pagedescription h2{
	font-weight: normal;
	color: #FFF;
	border: none;
	font-size: 18px;
	font-style:italic;
	padding: 0;
	margin: 0;
    }
#pagedescription h1, #pagedescription h1 a {
	font-weight: normal;
	font-size: 24px;
	color: #FFF;
	border: none;
	padding: 0;
	margin: 35px 0 10px 0;
	text-transform: uppercase;
    }


/* menu styles
============================== */

#menu{
	margin: 0;
	padding: 0;
	height: 40px;
   background: url(images/bg_menu.png) no-repeat center;
	text-align: center;
	border-top: 1px solid #173D53;
    }
#menu ul {
	margin-top: 10px;
	padding: 0;
    }
	
#menu li, #footer li{
	display: inline;
	padding: 0 6px;
    }
#menu li a{
	display: inline;
	color: #FFF;
	text-decoration: none;
    }
#menu li a:hover, #menu li a:focus {
    color: #3CABE0;
    text-decoration: none;
    }
.active{
    font-weight: bolder;
    }

#sidemenu {
	width: 225px;
	float: left;
	padding: 0;
    }

#sidemenu h2 {
color: #336699;
margin: 0 15px;
font-weight: normal;
font-style: oblique;
text-transform: uppercase;
line-height: 150%;
border-bottom: 2px solid #1F74AD;
text-align: left !important;
font-weight: bold;
width: 185px;
    }

#sidemenu h3 {
color: #336699;
margin: 0 15px;
font-weight: normal;
font-style: oblique;
text-transform: uppercase;
line-height: 150%;
    }

#sidemenu p {
	margin: 10px;
	font-size: 11px;
	font-style: italic;
    }
	
#announcement { font-size:10pt; margin: 10px 25px 15px 15px; text-align: left; color: #006699; }

.sidebarpic { border-bottom: 5px solid #1F74AD; margin: 0; padding: 0;}
.ngg-singlepic {margin: 0 !important; padding: 0 !important; border: none !important; border-bottom: 5px solid #1F74AD !important;}
.entry .ngg-singlepic {margin: 0 0 10px 10px !important; padding: 0 !important; border: none !important; border-bottom: none !important;}
.entry .img {margin: 0 0 10px 10px !important; padding: 10px !important;}

/* content styles
============================== */

#bodywrap{
	width: 820px;
    background: url(images/bg_content.gif) repeat-y left;
	margin-top: 10px;
	border-top: 4px solid #1F74AD;
    }
#bodywrap2{
	width: 820px;
	text-align: center;
    background: transparent url(images/bg_contentfooter.gif) bottom left no-repeat;
	padding: 0 0 25px 0;
	border-top: 1px solid #1F74AD;
	margin: 0;
    }

#contentbody {
	float:left;
	width:560px;
	text-align: left;
	padding-left: 15px; 
	margin-top: 15px;
    }
#contentbody ul, #contentbody ol{
	padding: 3px 0;
	margin: 0 18px;
	list-style: outside;
    }
#contentbody img {
    border: 0;
    /*float: right;*/
	margin: 0 0 15px 15px;
    }
	
blockquote {
    border: 0;
    float: right;
	margin: 0;
	font-size: 16px; 
	border: 1px solid red;
	width: 250;
	display: block;
	
    }

.slideshow {
    border: 0;
    float: right;
	margin: 0 0 15px 0;
	border: 5px solid #FFF !important;
	display: block;
	*width: 200px; 
	*height: 200px;
    }
	
#sidemenu .slideshow {
    border: 0;
    float: left;
	margin: 0 !important;
	border: 0 !important;
	border-bottom: 5px solid #1F74AD !important;
	*width: 225px; 
	*height: 160px;
    }
	
	
.ngg-gallery-thumbnail-box {
	float: left;
	*width: 165px;
}
	
.quote {
	border-top: 1px solid #C6DFE8;
	text-align: left;	
	margin: 0 0 25px 0;
	padding: 0;
	font-family: Georgia, "Times New Roman", Times, serif; 
	background: #FFF url(images/quote.gif) no-repeat top left;
	padding: 10px 35px 0 35px;
}

.casestudy {
	margin-bottom: 20px;
}

.casestudy h3 {
	border-top: 2px solid #C6DFE8;
	text-align: left;	
	margin: 10px 0 15px 0 !important;
	padding: 10px 0 0 0 !important;
	font-family: Georgia, "Times New Roman", Times, serif; 
}

.casestudy a:hover {
text-decoration: underline;
color: #003366;
}

	
.text {
	font-size: 14px;
	color: #325B6D;
	font-style: oblique;
	padding-bottom: 10px;
}

.author {
	font-size: 12px;
	text-transform: capitalize;
	font-style: oblique;
	color: #47849E;
}

.edit a { float: right; margin-right: 25px; padding: 4px 7px; border: 1px solid #CC9900; background-color: #CCCC00; color: #000;  }
.edit a:hover { background-color: #FF9900; }

/* footer styles
============================== */

#footer { margin-top: 10px; height: 40px; background: url(images/bg_footer.gif) no-repeat top center; font-size: 10px; padding-top: 13px; }
#footer p { padding: 0; margin: 0; float: right; margin-right: 25px; color: gray;}
#footer ul{ display: inline; float: left; padding: 0; margin: 0 0 0 25px;}
#footer li{ padding: 0 10px 0 0; display: inline; list-style: none outside; }
#footer a:link { color: #000; text-decoration: none; }
#footer a:visited { color: gray; text-decoration: none; }
#footer a:hover { color: #000; text-decoration: none; }

.entry img { float: right; padding: 7px; }
