/* Start of CMSMS style sheet 'Globala : Main' */
* {
  margin:0;
  padding:0;
}

body {
   text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 10px;
}

div {
   font-size: 0,9em;
}

img {
   border: 0;
}

a,
a:link 
a:active {
   text-decoration: none;
   background-color: inherit; 
  /* color: #cc6714;  */
   color: #ff6600;
}

a:visited {
   text-decoration: none;
   background-color: inherit;
   color: #ff6600;
}

a:hover {
   text-decoration: none;
   background-color: #f3f3f3;
   color: #ff6600;
}

body {
   background-color: #fff;
   color: #666666;
   margin:1em;
}

/* center wrapper, min max width */
div#pagewrapper {
   position: relative;
   margin: 0 auto;
   max-width: 950px;
   min-width: 950px;
   background-color: #fff;
}

* {
margin:0;
padding:0;
}

/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 0,9em;
   line-height: 1em;
}

/*
set font size for all divs,
this overrides some body rules
*/
div {
   font-size: 0,9em;
}

/*
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;
}

/*****************
basic layout 
*****************/
body {
   background-color: #ccc;
   color: #333;
   margin:1em;    /* gives some air for the pagewrapper */
}

/* center wrapper, min max width */
div#pagewrapper {
   border: 1px solid black;
   margin: 0 auto;       /* this centers wrapper */
max-width: 950px;   /* IE wont understand these, so we will use javascript magick */
   min-width: 950px;
   background-color: #fff;;
   color: black;
}

div#header {
   /* border-bottom: 4px solid #948979; */
   border-bottom: 6px solid #CC0000;
height: 98px;    /* adjust according your image size */
   background: #CC0000
 }

div#header h1 {
      background: #FFFFFF
   url(uploads/images/Globala_header_VII.jpg) no-repeat 0 0px;
   /*display: block;*/
   height: 98px;
   text-indent: -999em;  /* this hides the text */
   text-decoration:none;
}

/*div#slogan {
   padding-left: 30px;
   font-size: 11px;
   color: #cccccc;
   font-family: Arial, Helvetica, sans-serif;
   letter-spacing: 6px;*/
}

div#search {
   width: 20px;  
   padding: 0.6em 0 0.2em 0;
   margin: 0 1em 1.5em 1em;
   color: #666666;
}

div#search input {
   margin: 4px 0 0 0;
   color: #666666;
}

div#content {
   color: #666666;
   margin-left: 190px;
   margin-right: 210px;
   width: 540px; /* minus 6px due to ie6 */
}

div#leftsidebar {
   float: left;
   width: 160px;
   display: inline;  /* FIX IE double margin bug */
   margin-left: 5;
}

div#logos {
   margin-top: 0px;
   width: 100%;  
   text-align: left;
   padding-left: 10px;
   border-bottom: 1px dotted #cccccc;
}

div#logo_right {
   margin-top: 1px;
   width: 100%;  
   text-align: center;
}

div#login {
   margin-top: 0px;
   border-bottom: 1px dotted #cccccc;
   width: 100%;  
   text-align: left;
   margin-left:10px;
   color: #666666;
}

div#kontaktuppgifter {
   border-bottom: 1px dotted #cccccc;
   width: 100%;  
   text-align: left;
   color: #666666; 
   font-size: 0,9em;
   line-height: 1.3em;
   padding-left: 10px;
}

div#links a{
   /*border-bottom: 1px dotted #cccccc;*/
   width: 100%;  
   text-align: left;
   color: #CC0000; 
   font-size: 0,9em;
   line-height: 2em;
   padding-left: 10px;
   text-decoration: none;
}

div#links ul{
   list-style-type:none;
}

div#links h2{
   padding-left: 10px;
}

div#updates a{
   /*border-bottom: 1px dotted #cccccc;*/
   width: 100%;  
   text-align: left;
   color: #CC0000; 
   font-size: 0,9em;
   line-height: 2em;
   text-decoration: none;
}

div#updates ul{
   list-style-type:none;
}

div#updates {
   padding-left: 10px;
   color: #666666;
   border-top: 1px dotted #cccccc;
}

div#logos img {
   padding-top: 20px;
   padding-bottom: 20px;
}

div#webbansvariga {
   border-top: 1px dotted #cccccc;
   border-bottom: 1px dotted #cccccc;
   width: 100%;  
   text-align: left;
   color: #666666; 
   font-size: 0,9em;
   line-height: 1.3em;
   padding-left: 10px;
}

div#rightsidebar {
   float: right;
   width: 180px;
}

div#footer {
   clear: both;
   /* background-color: #575352; */
   background-color: #333333;
   color: #89817f;
}

div#footer p {
   font-size: 0.9em;
   padding: 1em;
   text-align: center;
   margin: 0;
}

div#footer p a {
   color: #89817f;
   /* border-bottom:1px dotted #89817F; */
   border-bottom:1px dotted #564931;
   text-decoration: none;
}

div#footer p a:hover {
   color: #fff;
   /* background-color: #575352; */
   background-color: #3a3429;
   text-decoration: none;
   border-bottom:1px dotted #fff;
}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   /*padding-bottom: 1em;*/
   border-bottom: 1px dotted #c0c0c0;
   margin-top: 15px;
margin-bottom: 15px;
}

h1 {
   color: #333333; 
   font-size: 15px; 
   text-align: left; 
   line-height: 1.5em;
   margin: 0 0 0.5em 0;
}

h2 {
   color: #333333; 
   font-size: 14px; 
   text-align: left; 
   line-height: 1.5em;
   margin: 0 0 0.5em 0;
}

h3 {
   color: #333333; 
   font-size: 12px;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}

h4 {
   color: #333333; 
   font-size: 12px;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}

h5 {
   color: #333333; 
   font-size: 11px;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/* TEXT */
p {
   font-size: 0,9em;
   margin: 0 0 0.8em 0; /* some air around p elements */
   line-height: 1.6em;
   padding: 0;
}

blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
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 {
   border: 1px solid #000;  /* black border for pre blocks */
   background-color: #ddd;
   margin: 0 1em 1em 1em;
   padding: 0.5em;
   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#content ul,
div#content ol,
div#content dl {
   font-size: 11px;
   line-height: 1.6em;
   margin: 0 0 1.5em 0em;
}

div#content ul li,
div#content ol li {
  margin: 0 0 0.25em 3em;
}

/* definition lists topics on bold */
div#content dl dt {
   font-weight: bold;
   margin: 0 0 0 1em;
}
div#content dl dd {
   margin: 0 0 1em 1em;
}

div#content dl {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #c0c0c0;
}


/* END LISTS */
/* End of 'Globala : Main' */

