/* Start of CMSMS style sheet 'hugsoc : layout' */
/*****************
hugsoc styles
******************/

* {
margin:0;
padding:0;
}

/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 75.01%;
   line-height: 1em;
}

/*
set font size for all divs,
this overrides some body rules
*/
div {
   font-size: 1em;
}

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 0;
}

/*
default link styles
*/
/* set all links to have underline and bluish color */
a,
a:link 
a:active {
   text-decoration: underline;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
   background-color: inherit; 
   color: #18507C; 

}

a:visited {
   text-decoration: underline;
   background-color: inherit;
  color: #18507C;                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
   text-decoration: none;
   background-color: #C3D4DF;
   color: #385C72;
}

/* styling for PDF links (some break onto two lines so need block) */
.pdfLink{
padding-left:22px;
background:url(/uploads/images/pdf18.png) no-repeat 0px 1px;
}
.pdfLinkBlock{
display:block;
padding-left:22px;
background:url(/uploads/images/pdf18.png) no-repeat 0px 1px;
}

/* in the right hand col they're too short- need smalelr image */
ul.rightColList .pdfLink{
padding-left:0px;
background-image:none;
}


/*****************
basic layout 
*****************/
body {
   background-color: #fff;
   color: #333;
   margin:0em; /* gives some air for the pagewrapper */
}

/* center wrapper, min max width */
div#pagewrapper {
   margin: 0 auto;
  width: 940px; 
   background: #fff url(uploads/layout/shadow940.png) repeat-y 0px 0px; 
   color: black;
}

div#header {
   background: #fff ;  
}

div#header h1  {
/* you can set your own image here */
   background: #fff url(uploads/layout/header940.png) no-repeat 0px 0px; 
   display: block; 
   height: 100px;             /* adjust according your image size */
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}

div#header h1 a {
/* you can set your own image here */
   background: #fff url(uploads/layout/header940.png) no-repeat 0px 0px; 
   display: block; 
   height: 100px;             /* adjust according your image size */
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}

div#search {
   float: right;
   width: 27em;     /* enough width for the search input box */
   text-align: right;
   padding: 0;
   margin: -13px 30px 0px 0px;
color: #fff;
}

div.breadcrumbs {
   padding: 1em 0 1.2em 0; /* CSS short hand rule first value is top then right, bottom and left */
   font-size: 90%;             /* its good to set fontsizes to be relative, this way viewer can change his/her fontsize */
   margin: 0 1em;              /* css shorthand rule will be opened to be "0 1em 0 1em" */
   border-bottom: 1px dotted #000;
display: none;
}

 div.breadcrumbs span.lastitem { 
   font-weight:bold; 
 }


div#content {
   margin: 1.5em 20px 20px 0; /* some air above and under menu and content */
   width: 890px;
}

div#main {
   margin-left: 220px; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   margin-right: 0px; 
border-left: 1px solid #ddd;
padding-left: 10px;
width:450px;
}

div#rightCol{
width:180px; 
float:right;
border:0px dotted pink;
padding-top:40px;
padding-left:10px;
}

div#main img {
padding: 0 5px;
margin: 0 -10px;

}

div#content div#main ul li {
margin-bottom: 10px;
margin-right: 40px;

}

img#bannerimg {float: right;}


div#sidebar {
   float: left;  /* set sidebar on the left side. Change to right to float it right instead. */
   width: 180px;    /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX ie doublemargin bug */

   margin: 2px 0px 0px 30px;
background-color: #fff;
padding: 0px;

}

/* if sidebar doesnt include menu but content add class="hascontent" */
div#sidebar.hascontent {
   padding: 0 0;
   width: 200px;  /* make width smaller if there's padding, or it will get too wide for the floated divs in IE */
}

div#footer {
   clear:both;       /* keep footer below content and menu */

   background: #fff url(uploads/layout/devratings-footer940.png) no-repeat 0px 0px; 
height: 80px;

}

div#footer p {
   font-size: 0.72em;
   padding: 1.5em;      /* some air for footer */
   text-align: left; /* centered text */
   margin:0 0 0 25px;
   color: #636363;
line-height: 1.6em;
}

div#footer a {
   color:  #a1a1a1; text-decoration: none; 
}

.sitedesign {color: #a1a1a1; }

div#footer a:hover {
   color:  #000;
}


/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   margin: 1em 0em 1em 0em;
   border-bottom: 1px dotted transparent;
}

/* relational links under content */
div.left49 {
  float: left;
  width: 49%;  /* 50% for both left and right might lead to rounding error on some browser */
display: none;
}

div.right49 {
  float: right;
  width: 49%;
  text-align: right;
display: none;
}

div#print {padding:9px;border:0;}
div#print a{border:0;}

div#mainhome {
  width: 800px; 
}



div.bluebox {background-color: #bcc7db;  border: 1px solid #90a2c3 ; padding: 10px; margin: 0 0 10px 0;}


/********************
CONTENT STYLING
*********************/
div#content {

}


div#reportsbutton {
margin-right: 10px; 
margin-top: 32px; 
float: right;
color: transparent;
}

a#homebutton:hover {
  background: transparent url(uploads/layout/reports-button.png) no-repeat 0px 0px;
display: block;
  height: 50px;
width: 100px;
border: 0px solid #fff;
color: transparent;
text-indent: -9999px;


}

a#homebutton {
  background: transparent url(uploads/layout/reports-button.png) no-repeat 0px -50px;
display: block;
  height: 50px;
width: 100px;
border: 0px solid #fff;
color: transparent;
text-indent: -9999px;

}

/* HEADINGS */


div#content h1, h2, h3, h4, h5, h6 {
      font-family: Georgia, serif;
}

div#content h1 {
   font-size: 2em;  /* font size for h1 */
   line-height: 1em;
   margin: 0;
}

div#content1home h2 {display: none;}


div#content h2 {
   color: #08317b; 
   font-size: 20px; 
   text-align: left; 
   line-height: 24px;
   margin: 0 0 0.5em 0;
}

div#content .NewsSummary h3 {
font-size: 14px;

}

div#content h3 {
   color: #8399c3; 
   font-size: 18px;
   line-height: 20px;
   margin: 20px 0 20px 0;
}


div#content h4 {
   color: #8399c3; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}

div#content2home h4, div#content3home  h4 {
   color: #8399c3; 
   font-size: 18px;
   line-height: 20px;
   margin: 0 0 0.5em 0;
}


div#content h5 {
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/* TEXT */
div#main{
   line-height:1.5em;
   font-size: 1.1em;
}

p {
    margin: 5px 0 15px 0;  /* some air around p elements */
   padding: 0;
}

.redBox{
	border:1px solid red;
	background-color:#FFE5E5;
	padding:10px;
display:block;

}

div.block{
	border: 1px solid #bbb;
	padding: 5px;
	background: #fafafa;
}



blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
pre {
   font-family: monospace;
   font-size: 1.0em;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}


#rightCol{
font-size:0.9em;
line-height:1.2em;
}
div#rightCol a{text-decoration:none;}

div#rightCol h2 {
   color: #fff; 
   font-size: 1em;
line-height:1em;
   text-align: left;
padding:3px; 
margin:0;
background-color:#08317b; 
}
div#rightCol p{margin:0;}

.blueBox{
	border:1px solid #08317b; 
	background-color:#e7ebf2;
	padding:5px;
display:block;

}


/* END TEXT */

/* LISTS */
div#main ul,
div#main ol,
div#main dl {
  font-size: 1.0em;
   line-height:1.4em;
   margin: 0 0 1.5em 0;
}
div#main ul li,
div#main ol li {
   margin: 0 0 0.25em 3em;
}

div#dl dt {
   font-weight: bold;
   margin: 0 0 0.25em 3em;
}
div#dl dd {
   margin: 0 0 0 3em;
}


ul.rightColList{list-style:none;}
ul.rightColList li{line-height:1.2em;margin-bottom:8px;}

/* END LISTS */

/* CONTACT FORM */

div.contactform {margin: 10px 10px 10px 10px; width: 540px;}

.contactform fieldset {padding: 10px 0 10px 0; background-color: transparent; border: 0;} 
.contactform fieldset legend {font-weight: bold; display: none;} 
.contactform div {width: 100%; padding: 0.25em 0 0.25em 0;} 
.contactform div label {display: block; width: 140px; text-align: right; float: left; margin-right: 8px; height: 22px; line-height: 22px;} 
.contactform div.required {color: #111;} 
.contactform div.required input, textarea {width: 300px;} 
.contactform div.submit { 
   margin: 0px 0px 10px 120px;
   padding: 10px 0px 10px 0px;
   width: 220px; 
text-align: right;

} 

/*archive search results */


div#zoomForm{

}


		.highlight { background: #FFFF40; }
		.searchheading { font-size: 130%; font-weight: bold; }
		.summary { font-size: 80%; font-style: italic; }
		.suggestion { font-size: 100%; }
		.results { font-size: 100%; }
		.category { color: #999999; }
		.sorting { text-align: right; }

		.result_title { font-size: 100%; }		
		.description { font-size: 100%; color: #008000; }
		.context { font-size: 100%; }
		.infoline { font-size: 80%; font-style: normal; color: #808080;}

		.zoom_searchform { 
font-size: 100%;
padding:5px;
border:1px dotted #999;
background-color:#fafafa;

 }
		.zoom_results_per_page { 
font-size: 80%; 
margin-top: 8px;
 display:block;
 }
		.zoom_match { font-size: 80%; margin-left: 10px;}				
		.zoom_categories { font-size: 80%; }
		.zoom_categories ul { display: inline; margin: 0px; padding: 0px;}
		.zoom_categories li { display: inline; margin-left: 15px; list-style-type: none; }
		
		.cat_summary ul { margin: 0px; padding: 0px; display: inline; }
		.cat_summary li { display: inline; margin-left: 15px; list-style-type: none; }		
		
		input.zoom_button {  }
		input.zoom_searchbox {  }		
		.results{ background-color:white; }
		.result_image { float: left; display: block; }
		.result_image img { margin: 10px; width: 80px; border: 0px; }

		.result_block { margin-top: 15px; margin-bottom: 15px;}
		.result_altblock { margin-top: 15px; margin-bottom: 15px;}
		
		.result_pages { font-size: 100%; }
		.result_pagescount { font-size: 100%; }
		
		.searchtime { font-size: 80%; }
		
		.recommended 
		{ 
			background: #DFFFBF; 
			border-top: 1px dotted #808080; 
			border-bottom: 1px dotted #808080; 
			margin-top: 15px; 
			margin-bottom: 15px; 
		}
		.recommended_heading { float: right; font-weight: bold; }
		.recommend_block { margin-top: 15px; margin-bottom: 15px; clear: left; }		
		.recommend_title { font-size: 100%; }
		.recommend_description { font-size: 100%; color: #008000; }
		.recommend_infoline { font-size: 80%; font-style: normal; color: #808080;}
		.recommend_image { float: left; display: block; }
		.recommend_image img { margin: 10px; width: 80px; border: 0px; }


.filesize{ font-size: 80%; font-style: normal; color: #808080;}


/*login gubbins */
#loginBar{
text-align:right;
height:50px;
}

#loginBar {font-weight:bold;}

#loginBar a{
	background:transparent;
	font-weight:normal;
}

#loginBox{
	width:160px;
	border:1px solid #cccccc;
	background-color:#ffffff;
	padding:5px 10px 10px 10px;
	margin-bottom:20px;
	margin-top:20px;
}


div#loginBox h3{
	padding-top:2px;
	padding-bottom:3px;
	border-bottom:1px solid #cccccc;
}

div#loginBoxInputs input{
	width:160px;
	border:1px solid #ccc;
}

div#loginBoxInputs{
	padding-bottom:5px;
}

div#loginBox label{
	font-family: Arial, Helvetica, sans-serif;
	display:block;
	padding-top:7px;
	padding-bottom:4px;
	color:black;
}

span.white{
	color:black;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 75.01%;
}

div#loginBox a{
	padding:3px 2px 2px 2px;
	margin:0;
	display:block;
	font-family: Arial, Helvetica, sans-serif;
	margin-top:10px;
	border-top:1px solid #cccccc;
}


div#loginBox a:hover{


}

table{
	border-collapse:collapse;
}

td{border:1px dotted #ccc;padding:3px;
font-size:0.8em;
line-height:1em;
}

div#contentsFilterDiv{
padding:5px;
border:1px dotted #999;
background-color:#fafafa;
margin:8px 0px;
}
/* End of 'hugsoc : layout' */

