/* Start of CMSMS style sheet 'theme : dynamo front layout' */
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/
* {
margin:0;
padding:0;
}

/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: candara, Arial, Helvetica, sans-serif;
   font-size: 90%;
   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: none;
/* 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: #E37222; 
}

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


a:hover {
   text-decoration: underline;
   color: #E37222;
}

/*****************
basic layout 
*****************/
body {
   background: #fff url(uploads/theme/background.gif) center repeat-y;
   color: #ccc;
}

/* center wrapper, min max width */
div#holder {
   background: transparent url(uploads/theme/background_top.gif) center 0 no-repeat;
}

/* center wrapper, min max width */
div#pagewrapper {
   margin: 0 auto;       /* this centers wrapper */
   width:1000px;
   color: ccc;
}


/*** header ***
we will hide text and replace it with a image
we need to assign a height for it so that the image wont cut off
*/
div#header {
   float:left;
   margin-top:25px;
   height: 63px;
   width:286px;       
}

div#header h1 a {
/* you can set your own image here */
   background: transparent url(uploads/theme/logo_dynamostol_DK.gif) no-repeat; 
   display: block;
   height: 63px;
   width:286;
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}

div#headeruk {
   float:left;
   margin-top:25px;
   height: 63px;
   width:286px;       
}

div#headeruk h1 a {
/* you can set your own image here */
   background: transparent url(uploads/theme/logo_dynamostol_UK.gif) no-repeat; 
   display: block;
   height: 63px;
   width:286;
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}


div#headerde {
   float:left;
   margin-top:25px;
   height: 63px;
   width:286px;       
}

div#headerde h1 a {
/* you can set your own image here */
   background: transparent url(uploads/theme/logo_dynamostol_DE.gif) no-repeat; 
   display: block;
   height: 63px;
   width:286;
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}

div#topnavigation{
	float:left;
	margin-left:240px;
   	margin-top:20px;
   	line-height:1.5em;
   	font-size:90%;
	width:150px;
	height:85px;
	overflow:hidden;
}

div#topside{
	float:right;
	margin-top:25px;
	}

/* position for the search box */
div#search {
   float: right;
   padding: 0;
   margin: 0;
   width:201px;
}

.searchfield{
   float:left;
   width: 154px;
   height: 15px;
   background-color:#be5c97;
   font-size:70%;
   color:#eee;
   border:0;
}

.searchbut{
   float:left;
   width: 47px;
   height: 15px;
   background: transparent url(uploads/theme/seachbut.gif) 0px 0px no-repeat;
   font-size:70%;
   color:#eee;
   text-align:center;
   text-transform:lowercase;
   border:0;
}

div.breadcrumbs {
   float:left;
   padding: 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;        /* css shorthand rule will be opened to be "0 1em 0 1em" */
   padding:25px 0px 25px 0px;
   background-color:#790047;
   width:100%;
   color:#ccc;
}

div.breadcrumbs img{
	margin-left:25px;
	margin-right:10px;
	margin-top:1px;
}

div.breadcrumbs a{
	text-decoration:none;
	color:#ccc;
}

div.breadcrumbs span.lastitem { 
   color: #E37222;
} 

div#content {
 margin: 0 auto;
 padding:0;
 width:1000px;
}


div#main {
   clear:both;
   float:left;
   width:1000px;
   margin: 88px 0 0 0;
   padding: 0;
}

div#main_text {
	clear:both;
	float:left;
	width:1000px;
	padding:25px 0 25px 0;
	margin:0;
	background: #790047 url(uploads/theme/background_frontpage_extra.gif) center repeat-y;
}

div#introtext{
	float:left;
	margin:0 25px 0 25px;
	width:450px;
}

div#frontpagenews{
	float:left;
	margin:0 25px 0 25px;
	width:450px;
}

div#sidebar {
   float: left;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 26%;     /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX IE double margin bug */
   margin-left: 0;
}

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

div.footercell {
   float: left;
   width:200px;
   margin-left:25px;
   margin-top:25px;
   padding-right:25px;
   line-height:1.5em;
   font-size:95%;
}

div.footercell h2 {
	color: #E37222;
	font-size:1em;
}

div.footercell .NewsSummaryPostdate {
	display:none;
}

div.footercell .NewsSummaryLink{
	font-size:1em !important;
}

div.footercell .NewsSummaryLink a{
	color: #E37222;
	font-size:1em !important;
	padding:0;
}

div.footercell .NewsSummarySummary img{
	margin-bottom:10px !important;
}

div.footercell .NewsSummarySummary {
	font-size:90%;
}

div.footercell .NewsSummaryMorelink{
	padding:10px 0 0 0;
}

div.footercell .NewsSummaryMorelink a{
	color: #E37222;
	font-size:1em;
	padding:0 0 25px 0;
}

div.footercell .NewsSummaryMorelink a:hover{
	text-decoration:none;
}

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





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

}

/* HEADINGS */
div#content h1 {
   color: #ccc;
   font-size: 1.5em;
   line-height: 1.5em;
}
div#content h2 {
	color: #ccc; 
	font-size: 1.3em; 
    line-height: 1.5em;
}
div#content h3 {
   color: #ccc; 
   font-size: 1.2em;
   line-height: 1.5em;
}
div#content h4 {
   color: #ccc; 
   font-size: 1.1em;
   line-height: 1.5em;
}
div#content h5 {
   color: #ccc; 
   font-size: 1em;
   line-height: 1.5em;
}
h6 {
   color: #ccc; 
   font-size: 0.9em;
   line-height: 1.5em;
}
/* END HEADINGS */

/* TEXT */
p {
   font-size: 1em;
   line-height: 1.5em;
}

blockquote {
   border-left: 10px solid #E37222;
   margin-left: 10px;
   padding-left:10px;
   font-style:italic;
   color: #E37222;
   font-size:100%;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}

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

pre {
   margin: 1em;
   line-height: 1.5em;
   font-size: 90%;
}

/* Separating the divs on the template explanation page, with some bottom-border */
div.templatecode {
  margin: 0 0 2.5em;
}

/* END TEXT */

/* LISTS */
/* lists in content need some margins to look nice */
div#main ul,
div#main ol,
div#main dl {
   font-size: 1.0em;
   line-height: 1.5em;
   margin: 1em 0 1em 0;
}

div#main ul li,
div#main ol li {
   margin: 0 0 0 1.5em;
}

/* definition lists topics on bold */
div#main dl dt {
   font-weight: bold;
   margin: 1em;
}
div#main dl dd {
   margin: 1em;
}

div#main dl {
  margin-bottom: 1em;
  padding-bottom: 1em;
}


/* END LISTS */
/* End of 'theme : dynamo front layout' */

