/*
Theme Name: EPRGv2
Theme URI: http://www.caret.cam.ac.uk/
Description: The default WordPress theme for the Electricity Policy Research Group.
Version: 2.0 Feb, 2010
Author: Mike Richardson and Guy Chisholm
Author URI: http://www.caret.cam.ac.uk
Tags: blue, custom header, fixed width, three columns, widgets
*/


/* Begin Main-Layout */

p {
       margin-bottom: 1em;
}
a {
	text-decoration: none;
}
a:link {
	color: #0066CC;
}
a:visited {
	color: #0066CC;
}
a:hover, a:active {
	color: #0066CC;
}
#static-banner,
.banner.container{
	background:#F7F7F7;
	margin-bottom:30px;
}
.banner.container{
	background:#F7F7F7;
	margin-bottom:30px;
	padding-bottom:30px;
}	

.banner.container .inner,
#banner-inner {
        width: 960px;
	position:relative;
        margin:0 auto;
}	
body.home #menu-item-18917 a { color:#666!important; }
.sub-menu { margin-top:10px!important;}
.sub-menu li { list-style:none!important; font-size:1em!important; color:#666!important; border:none!important; margin-bottom:5px!important; }

body {
	background: #fff;
	color:#333333;
	font-size:0.9em;
	font-family: Arial, Helvetica, sans-serif;
}
body h1,
body h2,
body h3,
body h4 { font-family: Georgia, "Times New Roman", Times, serif; }

.page-content { 
	margin:0 auto;
    background: #ffffff;
	text-align:left;
	width:960px;
	padding: 0;
	/*background-image: url(images/background.gif);
    background-position: left;
	background-repeat: repeat-y;*/
	
	}	
	

table#news_table {
	background-color: #BFCCDF;
	border-collapse: collapse;
	padding: 5px;
	margin-bottom: 10px;
}

#news_table th{
	background-color: #0066CC;
	font-weight: bold;
	color: White;
	padding: 5px;
}

#news_table td{
	background-color: #fff;
	font-weight: normal;
	color: Black;
	padding: 5px;
	border-top: 1px solid White;

}

#news_table a, #news_table a:link{
	color: #666;	
}

#news_table p {
	border-bottom:solid 1px #ccc;
	padding-bottom:1em;
}

#news_table a:hover, #news_table a:active {
	color: #0066CC;	
}

table#spotlight_table {
	background-color: #1559BC;
	border-collapse: collapse;
	padding: 5px;
	margin-bottom: 10px;

}

#spotlight_table th{
	background-color: #0066CC;
	font-weight: bold;
	color: White;
	padding: 5px;
}

#spotlight_table td{
	background-color: #fff;
	font-weight: normal;
	color: Black;
	padding: 5px;
	border-top: 1px solid White;
}

#spotlight_table h2{
	margin: 10px 0;
	font-weight: bold;
	color: Black;
	font-size: 120%;
}

#spotlight_table h2 a:hover{
	background-color: inherit;
}

#spotlight_table img {
	margin: 0 0 10px 0;
}


.featuredpost{
	padding: 0;
	margin: 0;
}

table#newsletter_table {
	background-color: #BFCCDF;
	border-collapse: collapse;
	padding: 5px;
	margin-bottom: 10px;

}

#newsletter_table th{
	background-color: #0066CC;
	font-weight: bold;
	color: White;
	padding: 5px;
}

#newsletter_table td{
	background-color: #fff;
	font-weight: normal;
	color: Black;
	padding: 5px;
	border-top: 1px solid White;

}

#header {
        width: 960px;
		position:relative;
        margin:0 auto;
		background:none;
        /*background-image: url(images/header/rotator.php);
        background-position: right;
        background-repeat: no-repeat;
        background-color: white;
        border-bottom: 1px solid #fff;*/
	}


.header-title {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size:28px;
	text-align:left;
    padding-top: 90px;
	}
.header-title a{
	color: #333333;
    padding-left: 65px;
    padding-right: 15px;
    padding-bottom: 5px;
	text-decoration:none;
	}
.header-title a:hover{
	text-decoration:none;
	color:#0066CC;
	border-bottom:none;
	}
.header-title a:visited{
	color: #333333;
	}
.header-description {
	color:#0066CC;
	font-weight:bold;
	font-size:12px;
	text-align:left;
        padding-top: 5px;
		padding-left:120px;
	}
#logo { margin:30px 0;}

#content {
	float:right;
	width:755px;
	padding:0 10px 10px 10px;
	padding-bottom: 20px;
	background-color: white;
        font-size: 11pt;
        line-height: 125%;
	}

#content ol {
  margin-left: 3em;
  margin-bottom: 1em;
}

#content ol li { 
                 list-style: decimal;
                 }

#content ul { 
              margin-top: 10px;
              margin-left: 35px;
              }
	
#sidebar {
	float:left;
	width:180px;
	margin-top: 15px;
	font-size: 130%;
	padding: 0;
	margin: 0;
	background-color: #fff;
	font-size:  14px;
	}

#searchbar {
	background:#fff;
    color: #333;
	clear:both;
	padding-right:5px;
	text-align:right;
	margin-top: -5px;
	padding-bottom: 3px;
	position:absolute;
	right:0;
	top:0;
}



#searchbar input {
	width: 180px;
	border:solid 1px #ccc;
	margin-left: 5px;
	margin-top: 3px;
	padding: 4px;
	padding-left: 24px;
	color: #333333;
	font-size: 100%;
	background-image: url(images/search.gif);
	background-position: 5px 3px;
	background-repeat: no-repeat;
}
	
	
#footer {
	background:#0066CC;
    color: #ffffff;
	clear:both;
	padding:8px 0 8px 0;
	text-align:center;
	}
#footer a, 
#footer a:hover,
#footer a:visited,
#footer a:visited:hover {
                          color: #CCCCCC;
	                  text-decoration:underline;
                          }


ul .enhanced-categories-1 {
	padding-left: 10px;
	line-height: 130%;
	width: 100%;
	background-color: #627b13;
	color: #fff;
}

ul .enhanced-categories-1 li{
    padding-top: 5px;
    padding-bottom: 5px;
	border-bottom: 1px solid #fff;
}

ul .enhanced-categories-1 li a{
    padding-top: 5px;
    padding-bottom: 5px;
	color: #fff;
}


ul .enhanced-categories-1 li li{
    padding-top: 5px;
    padding-bottom: 5px;
	border-bottom: 1px solid #fff;
	background-color: #ececec;
	font-size: 90%;
}

.button is_expanded{
	background-color: #627b13;
}
	
li .current-cat {
	background-color: #fff;
	color: #0066CC;
}

#sidebar ul{
	padding: 0px;
	margin: 0px;
}

#sidebar #menu-main-navigation {
	border-top: 1px solid #ccc;
}

#sidebar #menu-main-navigation li {
	border-bottom: 1px solid #ccc;
	line-height: 1.5em;
	background-color: #fff;
	list-style:none;
	padding:9px 0 9px 0;
}

#sidebar #menu-main-navigation a {
  margin-left: 5px;
	display: block;
	font-family:Georgia, "Times New Roman", Times, serif;
}

#sidebar #menu-main-navigation li a {
  color: #666;
  font-size:1.1em;
}

#sidebar #menu-main-navigation .sub-menu {
	background-color: white;
	line-height: 100%;
}

#sidebar #menu-main-navigation .sub-menu li {
	background-color: white;
	line-height: 130%;
	margin-left: 16px;
	padding: 1px 0;
	list-style-type: disc;
	display: list-item;
}

#sidebar #menu-main-navigation .sub-menu li {
	margin-left: 16px;
	padding: 1px 0;
}

.sub-menu li a {
    color: #404040;
}

.sub-menu li a {
    color: #404040;
}

#sidebar #menu-main-navigation .current-menu-item, .current-menu-parent, .current-menu-ancestor{
  background: #fff;
}

#sidebar #menu-main-navigation .current-menu-item a, .current-menu-parent a{
    color: #0066CC;
}

#sidebar #menu-main-navigation ul li {
    display: inline-block;
}

#sidebar #menu-main-navigation .menu-item .sub-menu {
    display: none; 
}​

#sidebar #menu-main-navigation #current-category-parent
{ color: #0066CC !important; background: #fff; }

#sidebar #menu-main-navigation li a:hover { color:#0066CC;}


p{
    
}

h1{ color:#0066CC;
    margin:0 0 20px 0;
	font-size:18px;
	}

h2{ color:#0066CC;
    margin:0 0 20px 0;
	font-size:16px;
	}

h3{ 
	color:#0066CC;
    font-size:15px;
	margin:20px 0;
}

h4{ 
	color:#333333;
    font-size:14px;
	margin:20px 0;
}

h5{ 
	color:#333333;
    font-size:14px;
	margin:20px 0;
}

h6{ 
	color:#333333;
    font-size:14px;
	margin:20px 0;
}



h2 a:link, h2 a:visited, h2 a:active{
	color:#0066CC;
	text-decoration:none;
}
h2 a:hover{
	background:#FFFFFF;
}

h3 a:link, h3 a:visited, h3 a:active, h3 a:hover{
	color:#0066CC;
	text-decoration:none;
}

.post { 	color:#333;
	text-align:justify;
        background: #f8f8f8;
		margin-top:10px;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 10px;
	border:1px dotted #cccccc;
	}

.postmetadata {
	color:#555;
	font-size:.85em;
	padding:2px 0 0 0;
}

.postmetadata a:link, .postmetadata a:visited, .postmetadata a:active{
	color:#0a8dd1;
	text-decoration:none;
}

.postmetadata a:hover{
	text-decoration:underline
}

.entry, .entrytext{
	line-height:140%;
	margin:2px 0 0 0;
	}
	
.entrytext p{
	margin:0 0 15px 0;
	}


}
/* End Content*/



/* Begin Comments */
.commentlist li, #commentform input, #commentform textarea {
	font-size:0.85em;
        color: #333;
	}
	
.commentlist li {
	font-weight:bold;
	}

.commentlist cite, .commentlist cite a {
	font-weight:bold;
	font-style:normal;
	font-size:1.1em;
	}

.commentlist p {
	font-weight:normal;
	line-height:140%;
	text-transform:none;
        color: #333;
	}

.commentmetadata {
	font-weight:normal;
        color: #333;
	}

.commentlist {
	padding:0;
	text-align:justify;
	}

.commentlist li {
	margin:0px 0 15px 16px;
	padding:5px 10px 0 0;
	list-style:decimal;
	}

.commentlist p {
	margin:10px 5px 10px 0;
	}

#commentform p {
	margin:5px 0;
	}

.commentmetadata {
	margin:0;
	display:block;
	}
/* End Comments */

	

/* Begin Lists */
.entry ul, .entry ol,
.entrytext ul, .entrytext ol{
	margin:5px 0 5px 26px;
	}

/*
#sidebar ul.FoldingCategoryList li {
	list-style:none;
    margin-left: 0px;
	color:#404040;
	}


#sidebar ul.FoldingCategoryList li ul li{
	margin-left: 16px;
	padding:1px 0;
	color:#404040;
    list-style-type: square;
	}


#sidebar ul.FoldingCategoryList li ul li a:link, #sidebar ul.FoldingCategoryList li ul li a:visited, #sidebar ul.FoldingCategoryList li ul li a:active{
	text-decoration: none;
	color:#404040;
}

#sidebar ul.FoldingCategoryList li ul li a:hover{
	text-decoration:none;
}
*/



/* End Entry Lists */



/* Begin Images */
p img {
	padding:0;
	max-width:100%
	}

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 */



/* Begin Form Elements */
#searchform {
	margin:2px 0;
	padding:5px 0;
	}

#sidebar #searchform #s {
	width:100px;
	padding:2px;
	border:1px solid #999999;
    background: #f6f6f6;
    color: #666666;
	}

#sidebar #searchsubmit {
	padding:1px;
    margin-left:3px;
	border:1px solid #999999;
    background: #f6f6f6;
    color: #999999;
	width:50px;
	}

.entry form { 
	text-align:center;
	}

select {
	width:130px;
	}

#commentform input {
	width:170px;
	padding:2px;
	margin:5px 5px 1px 0;
	}

#commentform textarea {
	width:98%;
	padding:2px;
	border:1px solid #ddd;
	}

#commentform #submit {
	margin-right:3px;
	float:right;
	border:1px solid #999999;
        background: #f6f6f6;
        color: #66666;
	}
/* End Form Elements */




/* Begin Various Tags & Classes */
code {
	font:1.1em 'Courier New', Courier, Fixed
	}

acronym, abbr, span.caps
{
	cursor:help;
	font-size:0.9em;
	letter-spacing:.07em;
	}

acronym, abbr {
	border-bottom:1px dashed #333
	}

blockquote {
	border-left:5px solid #f2f2f2;
	margin:15px 0 0 0;
	padding:0 0 0 15px;
	}

blockquote cite {
	margin:5px 0 0;
	display:block;
	}

.center {
	text-align:center;
	}

hr {
	clear: both;
	display: block;
	color: #cccccc;
	background-color: #cccccc;
	border: 0 ;
	height: 1px;
	margin: 0 0 1em 0;
	width: 90%;
	}

hr.search {
	clear: both;
	display: block;
	color: #cccccc;
	background-color: #cccccc;
	border: 0 ;
	height: 1px;
	margin: 8px 0;
}

a img {
	border:none;
	}

.navigation {
	display:block;
	text-align:center;
	margin-top:10px;
	margin-bottom:5px;
	}
	
#top_lt{
width:960px;
height:7px;
background: #0099CC;
}
#top_txt{
margin-left:20px;
font-size:11px;
color:#333333;
}
#top_menu{
width:471px;
background:#0099CC;
text-align:right;
padding-right:10px;
}
#top-menu a{
font-size:11px;
color:#333333;
text-decoration:none;
padding-right:5px;
}
#top-menu a:hover{
color:#ffffff;
}
#top-menu a:active{
color:#08a1dd;
}
/* End Various Tags & Classes*/
/* WP 2.6 FIX */
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

.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-dd {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}

#sidebar #menu-main-navigation .current-menu-item a, .current-menu-parent a
{

}



ul#menu-main-navigation li.current-menu-ancestor > .sub-menu, ul#menu-main-navigation li.current-menu-item > .sub-menu {
    display: list-item!important; list-style-type: none;
}

#menu-main-navigation .sub-menu li a
{ color: #404040 !important; }

#menu-main-navigation .sub-menu .current-menu-item a
{ color: #0066CC !important; }

.current-menu-parent a ul
{ display: list-item; }

#sidebar #menu-main-navigation .current-menu-item ul
{ display: inline; }

/* utility classes */
.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }
.hidden { display: none; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.wp-pagenavi:before, .wp-pagenavi:after,
.inner:before, .inner:after,
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }
.wp-pagenavi:after,
.inner:after,
.clearfix:after { clear: both; }
.wp-pagenavi,
.inner,
.clearfix { zoom: 1; }

.fl { float: left !important; }
.fr { float: right !important; }
.clear {  display: block; clear: both; margin-bottom: 0;}
.cl { clear: left; }
.cr { clear: right; }

.ta_r, .align-right { text-align: right !important; }
.ta_l { text-align: left !important; }
.ta_c, .align-center { text-align: center !important; }

.p_0 { padding: 0 !important; }
.pb_0 { padding-bottom: 0 !important; }

.mb_0 { margin-bottom: 0 !important; }
.mt_0 { margin-top: 0 !important; }

.ml_1 { margin-left: 1em !important; }
.mr_1 { margin-right: 1em !important; }
.mb_1 { margin-bottom: 1em !important; }
.mt_1 { margin-top: 1em !important; }

.lower { text-transform: lowercase; }

.nowrap { white-space: nowrap; }

.w_25 { width: 25%; }
.w_50,.w_half { width: 50%; }
.w_75 { width: 75%; }
.w_auto { width: auto !important; }

.black { color :#FFFFFF; }
.red { color: #FF3333;}
.green { color: #339933; }
.orange {color: #FF6600;}
.black {color :#000000;}


