/* 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CSS Document
Project Title : ESRC National Centre for Research Methods Stylesheet
Author : Atelier Studios
URL : http://wwww.atelier-studios.com
Description : Design and layout for ESRC National Centre for Research Methods
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/*Stop background flicker in IE 6 Bug: http://evil.che.lu/2006/9/25/no-more-ie6-background-flicker


html {  
  filter: expression(document.execCommand("BackgroundImageCache", false, true));
}*/ 


body {
		background-color:#e2e1e1;
		text-align:center;
		font-family:Arial, Helvetica, sans-serif;
		line-height:16px;
		margin-bottom:20px;
}

/* 
Reset all browser defaults */
* { 
		margin:0;
		/* padding:1; */
}

	
/* 
Make for consistent list handling across different browsers. http://www.clagnut.com/blog/1287/
NEVER alter these values. Set margin & padding to 0 (or whatever you need) directly on subsequent lists. */
ul, ol {
    	padding-left:2.5em;
    	margin-left: 0;
		font-size:12px;
}

/* 
No boders on images */
img {
		/*border:0;*/
}

table {
	font-size:12px;

	
}



/* Styling HRs across browsers so hide the HR in a div to style */
.siteHR {
		height:2px;
		margin: 10px 0;
		width:100%;
		border-top: 2px solid #747170;
		background: none;
	}	
	.siteHR hr{
		display:none;
}
/* 
TYPOGRAPHY
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */


h1, h2, h3 {
		color:#5b027a;
		font-size:12px;
		margin:8px 0;
}

h1, h1 a, h1 a:hover, h1 a:visited{
	text-decoration: none;
	color: #5b027a !important;
	}

h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited {
	color: #5b027a;
	}
h2 a:hover, h3 a:hover {
	text-decoration: none;	
	color: #669900 !important;
	}

h4, h4 a, h4 a:visited, h5, h5 a, h5 a:visited, h6, h6 a, h6 a:visited {
	color:#3d9ab4;
	font-size:12px;
	margin:8px 0;
	}
h4 a:hover, h5 a:hover, h6 a:hover {
	text-decoration: none;	
	color: #669900 !important;
	}
	


p {
		font-size:12px;
		color:#000;
}

strong {
		color:#669900;
}



/* 
Links: Always implement all four states through-out this stylesheet */
a:link {color:#669900; text-decoration:none; font-size:12px;}
a:visited {color:#669900; text-decoration:none; font-size:12px;}
a:hover {color:#9900cc; text-decoration:underline; font-size:12px;}
a:active {color:#669900; text-decoration:none; font-size:12px;}

/* 
END TYPOGRAPHY
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* 
CLASSES
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.large-navy-title {
		font-size:18px;
		color:#5b027a !important;
		font-weight:normal;
		border-bottom: 1px dotted #747170;
		padding-bottom:10px;
}

.medium-blue-title {
		font-size:13px;
		border-bottom: 1px dotted #0b2b47;
		padding-bottom:10px;
}


.highlight {
		color:#5b027a !important;
}

.button {
		background-color:#f8f8f8;
		border:1px solid #b9bdc1;
		padding: 9px 5px 0 5px;
		background-image:url(../images/sitewide/arrow.gif);
		background-repeat:no-repeat;
		background-position: 95% center;
		margin-bottom:9px;
		}
		.button h3 {
		border-bottom: 1px dotted #0b2b47;
		width:80%;
		padding: 0 0 3px 0;
		margin:0 0 3px 0;
		}
		.button p {
		width:80%;
		color:#9c9b9b;
		text-transform:lowercase;
		}

.curved-box
    {
    width: 200px;
    background-color: #fff;
	background: url(../images/sitewide/curve-side.jpg);
	word-wrap: break-word;
	
}

.curved-box h2
    {
    background: url(../images/sitewide/curve-top.jpg) no-repeat left top;
    padding: 10px 15px 5px 15px;
	font-size:16px;
}

.curved-box p
    {
    background: url(../images/sitewide/curve-bottom.jpg) no-repeat left bottom;
    margin: 0px;
    padding: 5px 15px 10px 15px;
    text-align: left;
}

.curved-box a
    {
    color: #669900;
	line-height: 16px;
	
}

.curved-box a:hover {color:#9900cc; text-decoration:none;}

/* 
END CLASSES
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* 
LAYOUT
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
div#wrapper {
		width:860px;
		text-align:left;
		margin: 0 auto;
		position:relative;
}

div#header {
		background-color:#669900;
		padding: 0px 10px 12px 30px;
		height:100%;
		}
		div#header h1, div#header h2{
		margin:0px 0px 25px 0px;
		}

div#page-title {
		background-color:#5b027a;
		font-size:16px;
		color:#ffffff;
		font-weight:bold;
		padding: 4px 20px 4px 20px;
		}
		div#page-title h1{
		color:white !important;
		font-size:16px;
		margin:3px 0;
		}
		div#page-title p{
		float:right;
		color:white !important;
		margin:3px 0;
		}
		#page-title a:link {color:#fff; text-decoration:none;}
		#page-title a:visited {color:#fff; text-decoration:none;}
		#page-title a:hover {color:#669900; text-decoration:none;}
		#page-title a:active {color:#fff; text-decoration:none;}

div#content {
		background-color:#FFFFFF;
		padding:10px;
		clear:both;
		}

.banner {
		margin-bottom:10px;
		}

#site-header {
		width:860px;
		background-image:url(../images/sitewide/header.jpg);
		overflow:hidden; display:block;
		height: 30px;
}

#site-footer {
		width:860px;
		background-image:url(../images/sitewide/footer.jpg);
		overflow:hidden; display:block;
		height: 30px;
}

#logo {
		width:141px;
		background-image:url(../images/sitewide/rdi_logo.bmp);
		overflow:hidden; display:block;
		padding-top:85px; height: 0px !important; height /**/: 85px;
		
}

#logo-esrc-council {
		width:102px;
		background-image:url(../images/sitewide/ESRC_logo.bmp);
		overflow:hidden; display:block;
		padding-top:85px; height: 0px !important; height /**/: 85px;
		position:absolute;
		top: 30px;
		left:728px;
}

#skip-link {
		display:none;
}



/*DROPDOWN BEGINS*/		
		
#nav_dropdown {
	float:left;
	width:600px;
	margin-top:30px;}
		
#nav, #nav ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size:14px;
}

#nav a {
	display: block;	
	text-decoration:none!important;
	color:#FFFFFF;
}

#nav li { /* all list items */
	float: left;
	display:block;

	 /* width needed or else Opera goes nuts */
	
}

.firstlevel {
	text-transform:uppercase;
	font-size:14px;
	display:block;
	padding:5px 20px 5px 20px;
	border-left:1px solid #FFFFFF;}

#nav li ul a {
	width:147px;
	padding:6px 0px;}

#nav li ul { /* second-level lists */
	position: absolute;
	background-color:#669900;
	width:150px;
	display:block;
	margin-left:22px;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
}

#nav li ul li:hover {
	background-color:#FF3333;
	display:block;
	color:#993399;
}

#nav li ul li:hover, #nav li ul a:hover {
	background-color:#3B84BF;
	color:#669900;}

#nav li ul li {
	border-bottom:1px solid #27699F; 
	padding:3px 3px 3px 3px;	
	width:144px;
	 /* second-level lists */}

#nav li ul ul { /* third-and-above-level lists */
	margin: -1.85em 0 0 147px;
}

#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;
	
}

/*DROPDOWN END*/

#main-column {
		width:620px;
		float:left;
}

#sidebar {
		width:200px;
		border-top:2px solid #747170;
		margin-left:637px;
		}
		#sidebar p {
		word-wrap: break-word;
		margin-bottom:9px;
		}		

/* Homepage Columns*/
.column1, .column2, .column3 {
		border-top:2px solid #747170;
		width: 284px;
		float:left;
}

.column1 h2, .column2 h2, .column3 h2 {
		border-bottom: 1px dotted #0b2b47;
		padding: 6px 0px;
		font-size:16px;
		color:#669900;
		margin:6px 0;
}
.column1, .column2 {
		margin-right:22px;
}

.column-image {
		border-top: 1px dotted #747170;
		border-bottom: 1px dotted #747170;
		padding: 5px 0;
		margin-bottom:10px;
}

.column-list {
		font-size:12px;
		margin:0 0 0 15px;
		padding:0;
		line-height:14px;
		list-style-type:circle;
		
		}
		.column-list li {
		margin-bottom:7px;
		}
		
		.column-list a {
		color:#000066;
		}
		

.column-table a {
		color:#000066;
		font-size:11px;
		}
		
		
		

/* Internal Page */
#internal-content {
		border-top:2px solid #747170;
		font-size:12px;
		}
		#internal-content p{
		margin-bottom:10px;
		}
		#internal-content ul, #sidebar ul{
		font-size:12px;
		margin:0 0 0 17px;
		padding:0;
		line-height:14px;
		list-style-type:circle;
		color:#000000;
		}
		#internal-content ol, #sidebar ol{
		font-size:12px;
		margin:0 0 0 24px;
		padding:0;
		line-height:14px;
		color:#000000;
		}
		#internal-content li, #sidebar li { 
		margin-bottom:7px;
		}

#footer {
		color:#9c9b9b;
		margin-top:5px;
		}
		#footer p{
		color:#9c9b9b;
		}
		#footer a:link {color:#9c9b9b; text-decoration:none;}
		#footer a:visited {color:#9c9b9b; text-decoration:none;}
		#footer a:hover {color:#9c9b9b; text-decoration:underline;}
		#footer a:active {color:#9c9b9b; text-decoration:none;}

/* 
END LAYOUT
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* 
IMAGES
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will 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;
	padding:5px;
	border: 1px solid #d4d4d4;
	clear:both;
	}
	
img.alignright {
	margin: 10px 20px 10px 30px;
	display: inline;
	padding:5px;
	border: 1px solid #d4d4d4;
	clear:right;
	}

img.alignleft {
	margin: 10px 30px 10px 20px;
	display: inline;
	padding:5px;
	border: 1px solid #d4d4d4;
	clear:left
	}

.alignright {
	float: right;
	}
	
.alignleft {
	float:left;
	}
/* 
END IMAGES
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* 
FORM LAYOUT
When creating a form add .formField to any fields, .formLabel to labels 
and proceed labels with a <br class="formBR" />
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

fieldset {
	border: none;
}

fieldset legend {
	padding: 10px 0 10px 0 !important;
	font-size:14px;
	font-weight:bold;
}

form, label input {
	margin: 0;
	padding: 0;
	font-size:12px;
}

input:focus, textarea:focus, label:focus {
	background: #fff;
	border: 1px solid #686868;
}

label.formLabel, input.formField {
		display: block;
		width: 150px;
		float: left;
		margin-bottom: 5px;
		color:#555;
}

label.formLabel {
		text-align: left;
		float:left;
		width: 130px;
		display: block;
}

.formField {
		border:1px solid #bccdf0;
		padding:2px;
		color:#b3b2b2;
}

br.formBR {
		clear: left;
}



/* 
END FORM LAYOUT
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* 
HEADINGS
Refer to site-map for all headers. Ensure consitent casing.
NOTE: Heading naming convention - #heading_human_name_title
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* 
END HEADINGS
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
