/* Cymnet Grey: Top menu + 2 columns */

* {
margin: 0px;
padding: 0px;}

body {
margin: 0px;
padding: 0px;
color: #333333;
background: #f4f4f4 url(http://www.opg.org.uk/uploads/cymnetgrey/body.png) repeat-x left top;
text-align: left;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 75.01%;
line-height: 1em;}

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

img {border: 0px;}

a, a:link a:active {
text-decoration: none;
font-weight:bold;
background-color: inherit;  /* required for validation */
color: #4B639A;}

a:visited {
text-decoration: none;
background-color: inherit;
color: #4B639A;}

a:hover {
text-decoration: underline;
background-color: inherit;
color: #B60A05;}

div#pagewrapper {
max-width: 95%;
min-width: 60%;
margin: 0px auto;
background-color: #fefefe;
color: black;}

div#header {
height: 100px;
margin: 0px;
padding: 0px;
background: #f4f4f4 url(http://www.opg.org.uk/uploads/cymnetgrey/right_bg_banner.png) repeat-x left top;
border-bottom: 1px solid #D9E2E6;}

div#header h1 a {
background: url(http://www.opg.org.uk/uploads/cymnetgrey/left_bg_banner.png) no-repeat left top;
display: block;
height: 100px;
text-indent: -999em;
text-decoration: none;}

div#header h1 {
margin: 0px;
padding: 0px;
line-height: 0px;
font-size: 0px;
background: url(http://www.opg.org.uk/uploads/cymnetgrey/left_bg_banner.png) no-repeat left top;
}

div#header h2 {
float: left;
line-height: 1.2em;
font-size: 1.5em;
margin: 35px 65px 0px 22px;
color: #f4f4f4;}

div.crbk {
margin: 0px;
padding: 0px;
background: url(http://www.opg.org.uk/uploads/cymnetgrey/mainrtup.gif) no-repeat right bottom;}

div.breadcrumbs {
padding: 1em 0em 1em 1em;
font-size: 90%;
margin: 0px;
background: url(http://www.opg.org.uk/uploads/cymnetgrey/mainleftup.gif) no-repeat left bottom;}

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

div#search {
float: right;
width: 27em;
text-align: right;
padding: 0.5em 0 0.2em 0;
margin: 0 1em;}

input.search-button {
border: none;
height: 22px;
width: 53px;
margin-left: 5px;
padding: 0px 2px 2px 0px;
cursor: pointer;
background: url(http://www.opg.org.uk/uploads/cymnetgrey/search.gif) no-repeat center center;}

div#content {
margin: 1.5em auto 2em 0;
padding: 0px;}

/* outside calls used previously on the div#main before */
div.back1 {
margin-left: 29%;
margin-right: 2%;
background: url(http://www.opg.org.uk/uploads/cymnetgrey/mainrt1.gif) no-repeat right top;}

/* IE6 hack */
* html div.back1 {
float: right;
width: 69%;
margin-left: 0%;
margin-right: 10px;
background: url(http://www.opg.org.uk/uploads/cymnetgrey/mainrt1.gif) no-repeat right top;}

div.back2 {background: url(http://www.opg.org.uk/uploads/cymnetgrey/mainleft1.gif) no-repeat left top;}

div.back3 {background: url(http://www.opg.org.uk/uploads/cymnetgrey/wbtmleft.gif) no-repeat left bottom;}

div#main {
/* last inside div set padding to keep content away from the edges of images/box */
padding: 10px 15px;
background: url(http://www.opg.org.uk/uploads/cymnetgrey/rtup.gif) no-repeat right bottom;}

div#sidebar {
float: left;
width: 26%;
/* FIX IE double margin bug */
display: inline;
margin: 0px 0px 20px;
padding: 0px;
background: url(http://www.opg.org.uk/uploads/cymnetgrey/mainrt.gif) no-repeat right top;}

div#sidebarb {  /* sidebar with content and no menu */
padding: 10px 15px 10px 20px;
background: url(http://www.opg.org.uk/uploads/cymnetgrey/mainrtup.gif) no-repeat right bottom;}

div#sidebarb div#news {margin: 2em 0 1em 0em;}

div#sidebara {   /* sidebar with menu and no content */
padding: 10px 15px 15px 0px;
background: url(http://www.opg.org.uk/uploads/cymnetgrey/mainrtup.gif) no-repeat right bottom;}

div.footback {
clear: both;
padding: 0px 10px 0px 0px;
background: url(http://www.opg.org.uk/uploads/cymnetgrey/wfootrt.gif) no-repeat right top;}

div#footer {
padding: 0px 0px 0px 10px;
color: #595959;
background: url(http://www.opg.org.uk/uploads/cymnetgrey/wtopleft.gif) no-repeat left top;}

div.leftfoot {
float: left;
width: 30%;
margin-left: 20px}

div#footer p {
font-size: 0.8em;
padding: 1.5em;
text-align: center;
margin: 0px;}

div#footer p a {color: #595959;}

/* hr for accessibility so create new hr with div class="hr" element */
div.hr {
height: 1px;
padding: 1em;
border-bottom: 1px dotted black;
margin: 1em;}

/* relational links under content */
div.left49 {width: 70%;}

div.right49 {
float: right;
width: 29%;
text-align: right;}

/* CONTENT STYLING */

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

div#content h2 {
color: #4B639A;
font-size: 1.5em;
text-align: left;
padding-left: 0.5em;
padding-bottom: 1px;
border-bottom: 1px solid #899092;
border-left: 1.1em solid #899092;
line-height: 1.5em;
margin: 0 0 0.5em 0;}

div#content h3 {
color: #4B639A;
font-size: 1.3em;
line-height: 1.3em;
margin: 0 0 0.5em 0;}

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

div#content h5 {
color: #4B639A;
font-size: 1.1em;
line-height: 1.3em;
margin: 0 0 0.25em 0;}

h6 {
color: #4B639A;
font-size: 1em;
line-height: 1.3em;
margin: 0 0 0.25em 0;}

/* TEXT */
p {
font-size: 1em;
margin: 0 0 1.5em 0;
line-height: 1.4em;
padding: 0px;}

blockquote {
border-left: 10px solid #dddddd;
margin-left: 10px;}

strong, b {font-weight: bold;}

em, i {font-style: italic;}

/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {
/* css-3 */
white-space: pre-wrap;
/* Mozilla, since 1999 */
white-space: -moz-pre-wrap;
/* Opera 4-6 */
white-space: -pre-wrap;
/* Opera 7 */
white-space: -o-pre-wrap;
/* Internet Explorer 5.5+ */
word-wrap: break-word;
font-family: "Courier New", Courier, monospace;
font-size: 1em;}

pre {
border: 1px solid #000000;
background-color: #dddddd;
margin: 0 1em 1em 1em;
padding: 0.5em;
line-height: 1.5em;
font-size: 90%;}

/* Separating the divs on the template explanation page */
div.templatecode {margin: 0 0 2.5em;}

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

/* definition lists topics on bold */
div#main dl {
margin-bottom: 2em;
padding-bottom: 1em;
border-bottom: 1px solid #c0c0c0;}

div#main dl dt {
font-weight: bold;
margin: 0 0 0 1em;}

div#main dl dd {margin: 0 0 1em 1em;}
