/*
Theme Name: Renewable Devices
Theme URI: http://renewabledevices.com
Description: renewabledevices.com theme
Version: 2.8
Author: Rob Howell
Author URI: http://robhowell.com
Tags: renewable devices
*/


/* RESET */
/* ----------------------------------------- */

/* Global reset */
/* Based upon 'reset.css' in the Yahoo! User Interface Library: http://developer.yahoo.com/yui */
*, html, body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, label, fieldset, input, p, blockquote, th, td { margin:0; padding:0 }
table { border-collapse:collapse; border-spacing:0 }
fieldset, img { border:0 }
address, caption, cite, code, dfn, em, strong, th, var { font-style:normal; font-weight:normal }
ol, ul, li { list-style-position: inside }
caption, th { text-align:left }
h1, h2, h3, h4, h5, h6 { font-size:100%; font-weight:normal }
q:before, q:after { content:''}

/* Global reset-RESET */
/* The below restores some sensible defaults */
strong { font-weight:bold }
em { font-style:italic }
a img { border:none } /* Gets rid of IE's blue borders */




/* TYPOGRAPHY */
/* ----------------------------------------- */

body { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif }
h1, h2, h3, h5, h5, h6 { font-weight:bold } /* This helps to identify headings at the initial build stage, so I thought it'd be useful to have it */
.alert { background:red; color:white } /* 'alert' has a basic style, since it's useful to have it standing out for testing purposes.



/* Font stack options

	The following represents a list of font stacks, as recommended by Nathan Ford in
	http://unitinteractive.com/blog/2008/06/26/better-css-font-stacks/

	I've added inverted commas around the relevant family names to ensure compatibility.
	p = balanced for paragraphs or body copy
	t = balanced for headlines or titles

	- - - -

Arial, "Helvetica Neue", Helvetica, sans-serif - p, t

Baskerville, "Times New Roman", Times, serif - p
Baskerville, "Times, Times New Roman", serif - t

Cambria, Georgia, Times, "Times New Roman", serif - p, t
"Century Gothic", "Apple Gothic", sans-serif - p, t

Consolas, "Lucida Console", Monaco, monospace - p, t

"Copperplate Light", "Copperplate Gothic Light", serif - p, t

"Courier New", Courier, monospace - p, t

"Franklin Gothic Medium", "Arial Narrow Bold", Arial, sans-serif - p, t

Futura, "Century Gothic", "Apple Gothic", sans-serif - p, t

Garamond, "Hoefler Text", "Times New Roman", Times, serif - p
Garamond, "Hoefler Text", Palatino, "Palatino Linotype", serif - t

Geneva, "Lucida Sans", "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif - p
Geneva, Verdana, "Lucida Sans", "Lucida Grande", "Lucida Sans Unicode", sans-serif - t

Georgia, Palatino, "Palatino Linotype", Times, "Times New Roman", serif - p
Georgia, Times, "Times New Roman", serif - t

GillSans, Calibri, Trebuchet, sans-serif - p
GillSans, Trebuchet, Calibri, sans-serif - t

"Helvetica Neue", Arial, Helvetica, sans-serif - p
Helvetica, "Helvetica Neue", Arial, sans-serif - t

Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif - p, t

"Lucida Sans", "Lucida Grande", "Lucida Sans Unicode", sans-serif - p, t

Palatino, "Palatino Linotype", Georgia, Times, "Times New Roman", serif - p
Palatino, "Palatino Linotype", "Hoefler Text", Times, "Times New Roman", serif - t

Tahoma, Geneva, Verdana - p
Tahoma, Verdana, Geneva - t

Times, "Times New Roman", Georgia, serif - p, t

Trebuchet, "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif - p
Trebuchet, Tahoma, Arial, sans-serif - t

Verdana, Geneva, Tahoma, sans-serif - p
Verdana, Tahoma, Geneva, sans-serif - t

*/




/* LAYOUT */
/* ----------------------------------------- */

/* These rather presentational classes are generated by WordPress, so it's useful to have some styles for them. Edit as you see fit. More info: http://codex.wordpress.org/CSS */
.aligncenter { display:block; margin:0 auto }
.alignleft { float:left; margin-right:20px; margin-bottom: 20px; }
.alignright { float:right; margin-left:20px; margin-bottom: 20px; }
.wp-caption { border:1px solid #666; text-align:center; background:#ccc; padding:10px; margin:10px }

/* You might find the following useful */
/* div, ul, li { position:relative } This will save you having to declare each div / ul / li's position as 'relative' and allows you to absolutely position elements inside them */
br.clear { clear:both; display:block; height:1px; margin:-1px 0 0 0 } /* Use this br class to clear your floated columns */
li#theme-switcher { background:#fff; border:10px solid red; padding:20px; position:fixed; top:0; right:0 } /* Use this if you have the Theme Switcher Reloaded plugin (http://themebot.com/webmaster-tools/1-wordpress-theme-switcher-reloaded) installed and want to make it nice and obvious */

.clearboth { clear:both }
.clearleft { clear:left }
.clearright { clear:right }

.zeromarginlr { margin-left: 0 !important; margin-right: 0 !important; }


/* CUSTOM RD STUFF */
/* ----------------------------------------- */

body {
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
}

p {
  margin: 5px 0;
}

h1 {
  font-size: 20px;
  font-weight: normal; 
  margin-bottom:15px;
  margin-top:22px;
}

h2 {
  font-size: 20px;
  font-weight: normal;
  margin-top: 5px;
}

h3 {
  font-size: 15px;
  font-weight: normal;
  margin-top: 8px;
}

#pageWrapper {
  margin: 14px auto 0;   
  text-align: left;
  width: 714px;
}

#mainPanel {
  float: right; 
  margin-left: 23px;
  margin-top: 5px;
  position: relative;
  width: 550px;
}

#sidebar {
	float:left;
	height:550px;
	position:relative;
	width:141px;
}

#footer {
  clear: both;
  float: right;
  text-align: center;
  width: 550px;
}

#footer p {
  color: #666;
  font-size: 10px;
  margin: 18px 0 4px;
}

#primaryNav {
  float: left;
}
#primaryNav {
  list-style-position: outside;
  list-style-type: none;
  width: 141px;
}
#primaryNav li {
  list-style-position: outside;
}
#primaryNav ul {
  list-style-type: none;
}
#primaryNav li a {
  border:1px solid #D3D3D3;
  background-color: #EEEEEE;
  background-image: url(/wp-content/themes/renewable-devices/images/RightArrowLight.png);
  background-repeat: no-repeat;
  background-position: 4px 6px;
  color:#3D2C72;
  display:block;
  font-size:13px;
  margin-top:8px;
  padding: 7px 8px;
  position:relative;
  text-align: right;
  text-decoration:none;
  width:125px;
  border-radius: 4px;
  -moz-border-radius:4px;
  -webkit-border-radius:4px;
}

#primaryNav li ul {
  margin-top:10px;
}
#primaryNav li a:hover {
  border:1px solid #999999;
  background-image: url(/wp-content/themes/renewable-devices/images/RightArrowDark.png);
}
#primaryNav .selected a {
  background-image: url(/wp-content/themes/renewable-devices/images/DownArrowDark.png);
}
#primaryNav .selected a:hover {
  background-image: url(/wp-content/themes/renewable-devices/images/DownArrowDark.png);
}
#primaryNav li ul {
	background-color: #EEEEEE;
	padding-left: 30px;
}
#primaryNav li ul li {
	background-color:white;
	padding-left:5px;
}
#primaryNav li ul li a {
  color:#dddddd !important;
  background-color: #6c6a99;
  background-image: none !important;
  border: 0 !important;
  border-bottom: 1px solid white !important;
  /* left:-40px; */
  margin-bottom:0;
  margin-left: 5px solid white;
  margin-top:0;
  position:relative;
  width:auto;
}
#primaryNav li ul li a:hover, #primaryNav li ul li.current_page_item a {
  background-color: #3D2C72;
}
.post-edit-link {
  background-color:#EEEEEE;
  display:block;
  font-size:13px;
  padding:6px;
  position:absolute;
  right:-84px;
  text-decoration:none;
  top:5px;
  width:50px;
}
.post-edit-link:hover {
  background-color:#CCCCCC;
}

.wp-image-90 {
  margin-left: 20px;
}

.homeInfoBox {   
	background-image:url("/wp-content/themes/renewable-devices/images/accessible-renewable-energy.png");
	color:#3D2C72;
	float:left;
	font-size:10px;
	height:11px;
	overflow:hidden;
	text-align:center;
	text-indent:-9999px;
	width:141px;
}

#sidebar {
  margin-top: 8px;
}

.awardList {
  list-style-type: none;
  float: right;
  width: 395px;
}

.awardList li {
  display: block;
  font-size: 17px;
}

.awardList li span {
  background-color:#3D2C72;
  clear:left;
  color: #fff;
  float:left;  
  margin-bottom: 12px;
  padding:5px;
}

.awardList li b {
  background-color:#EEEEEE;
  display:block;
  float:left;
  font-weight:normal;
  margin-bottom:12px;
  padding:5px;
  width:335px;
}

.articleInfo {
  color: #aaa;
  margin-top:0;
}

.extraArticleInfo {
  color: #999;
}

.commentsDiv {
  border: 6px solid #F1F1F1; 
  margin-bottom: 20px;
  margin-top: 15px;
  padding: 15px;
}

.newsRoot .post, .newsRoot .rdes_news {
  background-color: #F1F1F1;
  padding: 10px;
  margin-bottom: 10px;
}

.formWrapper {
  background-color:#F1F1F1;
  float:right;
  border-bottom: 20px solid white;
  /* height: 610px; */
  padding:10px !important;
  width:385px;
}

.companyAddress {
  background-color:#ddd;
  margin:10px;
  padding:10px !important;
}

.greenButton {
  background-color:#44A22B;
  clear:right;
  color:white;
  display:block;
  float: right;
  margin-bottom:10px;
  padding: 5px;
  text-align:right;
  text-decoration: none;
  width:255px;
}

.greenButton:hover {    
  background-color:#24820B;
}

.blueButton {
  background-color:#00F;
  clear:right;
  color:white;
  display:block;
  float: right;
  margin-bottom:10px;
  padding: 5px;
  text-align:right;
  text-decoration: none;
  width:255px;
}

.blueButton:hover {    
  background-color:#00D;
}

.blueTitle {
  color: #008;
}

.downloadsList {
  float: right;
  list-style: none;
  width: 250px;
}

.downloadsList a {
  background-color:#44A22B;
  color:white;
  display:block;
  float: right;
  margin-bottom:10px;
  padding: 5px;
  text-align:right;
  text-decoration: none; 
  width: 220px;
}

.downloadsList a:hover {    
  background-color:#24820B;
}

.wpcf7-response-output  {
  left:205px;
  position:absolute;
  top:358px;
}

#gallery-1 img {
  border: 2px solid #eeeeee !important;
  height: 75px;
  width: 75px;
}

#gallery-1 a:hover img {
  border: 2px solid #CFCFCF !important;
}

#gallery-1 {
  float: left;
  width: 275px;
}

/* Fix IE7 etc */
#sidebar ul, #sidebar li, #sidebar ul a {
  zoom: 1;
}

.newsRoot {
  margin-top: 5px;
}

/* Start Gallery CSS */
div#gallery, div#thumbs {
  margin-top:5px;
}
div#gallery {
	/* The display of content is enabled using jQuery so that the slideshow content won't display unless javascript is enabled. */
	display: none;
	float: right;
	width: 407px; 
}
div.content a, div.navigation a {
	text-decoration: none;
	color: #777;
}
div.content a:focus, div.content a:hover, div.content a:active {
	text-decoration: underline;
}
div.controls {
	margin-top: 5px;
	height: 23px;
}
div.controls a {
	padding: 5px;
}
div.ss-controls {
	float: left;
}
div.nav-controls {
	float: right;
}
div.slideshow-container {
	position: relative;
	clear: both;
	height: 502px; /* This should be set to be at least the height of the largest image in the slideshow */
}
div.loader {
	position: absolute;
	top: 0;
	left: 0;
	background-image: url('loader.gif');
	background-repeat: no-repeat;
	background-position: center;
	width: 405px;
	height: 502px; /* This should be set to be at least the height of the largest image in the slideshow */
}
div.slideshow {

}
div.slideshow span.image-wrapper {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
}
div.slideshow a.advance-link {
	display: block;
	width: 405px;
	height: 502px; /* This should be set to be at least the height of the largest image in the slideshow */
	line-height: 502px; /* This should be set to be at least the height of the largest image in the slideshow */
	text-align: center;
}
div.slideshow a.advance-link:hover, div.slideshow a.advance-link:active, div.slideshow a.advance-link:visited {
	text-decoration: none;
}
div.slideshow img {
	vertical-align:top;
	border: 1px solid #ccc;
}
div.download {
	float: right;
}
div.caption-container {
	
}
span.image-caption {
	display: block;
	position: absolute;
}
div.caption {
	background-color: #000;
	padding: 12px;
	color: #ccc;
}
div.caption a {
	color: #fff;
}
div.image-title {
	font-weight: bold;
	font-size: 1.4em;
}

div.image-desc {
	line-height: 1.3em;
	padding-top: 12px;
}
div.navigation {
	/* The navigation style is set using jQuery so that the javascript specific styles won't be applied unless javascript is enabled. */
}
div#thumbs {
float:left;
width:140px;
}
ul.thumbs {
	clear: both;
	margin: 0;
	padding: 0;
}
ul.thumbs li {
	float: none;
	padding: 0;
	margin: 0;
	list-style: none;
float:left;
margin-bottom: 3px;
}
a.thumb {
	padding: 0;
	display: inline;
	border: none;
float:left;
}
ul.thumbs li.selected a.thumb {
	color: #000;
	font-weight: bold;
}
a.thumb:focus {
	outline: none;
}
ul.thumbs img {
	border: none;
	display: block;
float:left;
height:60px;
margin-right:3px;
width:60px;
}
div.pagination {
	clear: both;
}
div.navigation div.top {
	margin-bottom: 12px;
	height: 11px;
}
div.navigation div.bottom {
	margin-top: 12px;
}
div.pagination a, div.pagination span.current, div.pagination span.ellipsis {
	display: block;
	float: left;
	margin-right: 2px;
	padding: 4px 7px 2px 7px;
	border: 1px solid #ccc;
}
div.pagination a:hover {
	background-color: #eee;
	text-decoration: none;
}
div.pagination span.current {
	font-weight: bold;
	background-color: #000;
	border-color: #000;
	color: #fff;
}
div.pagination span.ellipsis {
	border: none;
	padding: 5px 0 3px 2px;
}
#captionToggle a {
	float: right;
	display: block;
	background-image: url('caption.png');
	background-repeat: no-repeat;
	background-position: right;
	margin-top: 5px;
	padding: 5px 30px 5px 5px;
}
/* End Gallery CSS */

*html #mainPanel {
overflow: hidden;
}

/* RDES Styles */
.accordion {
  margin-bottom:15px !important;
  font-size: 11px;
  font-family: Arial,"Helvetica Neue",Helvetica,sans-serif !important;
}

.accordion div.ui-accordion-content {
  font-size: 11px;
  padding-top: 2px !important;
}

.accordion .sectionTitle, .accordion .sectionTitle a, .accordion .sectionTitle a:active, .accordion .sectionTitle a:visited {
  color: #3D2C72;
  font-size: 12px;
}

.accordion h4.ui-state-active, .accordion h4.ui-state-active a, .accordion h4.ui-state-active a:active, .accordion h4.ui-state-active a:visited {
  color: #ed0189 !important;
}

.outerSectionTitle {
  margin-bottom: 6px;
}

.rdesImageWrapper {
	float:right;
	overflow:hidden;
	padding-bottom:10px;
	padding-left:20px;
	width:150px;
}
	
.rdesImageWrapper img {
  padding-bottom: 10px;
}

.pageSidebarImageWrapper {
	float:right;
	overflow:hidden;
	padding-bottom:10px;
	padding-left:20px;
	width:176px;
}
	
.pageSidebarImageWrapper img {
  padding-bottom: 10px;
}

.rdesForm span.reqtxt, .rdesForm span.emailreqtxt {
  margin-left: 0;
}

#cformsform {
  width: 375px;
}

.rdesForm #cformsform {
  width: 275px;
}

.cform textarea, .cform input {
  width:245px !important;
}

.cform input.backbutton, .cform input.resetbutton, .cform input.sendbutton {
  width: auto !important;
}

.linklove {
  display: none;
}

#post-40 .alignleft {
  margin-bottom:20px;
  margin-right:0;
}
