/* Start of CMSMS style sheet 'Layout: NUMER 9 v 2008' */
/*****************
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: Verdana, sans-serif;
   font-size: 10px;
   line-height: 1.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;*/
}

/*****************
basic layout 
*****************/
body {
background-color: #539dc2;
background-image:url('uploads/images/numer9_2008/body_bg.gif');

color: #000;
margin: 0px;
padding: 0px
}

/* -------------------------------------------------------------------- */
#top_bg_l, #top_bg_r {
  position: absolute; 
  z-index: 0;
  width: 49%;
  height: 149px;
  margin: 0;
  padding: 0;
}

#top_bg_l {
  top: 0;
  left: 0;
  float: left;
  background: url(uploads/images/numer9_2008/top_bg_l.png) repeat-x 0 35px;
}

#top_bg_r {
  top: 0;
  right: 0;
  float: right;
  background: url(uploads/images/numer9_2008/top_bg_r.png) repeat-x 0 35px;
}

#footer_bg_l, #footer_bg_r {
  position: absolute; 
  top: 556px;
  z-index: 0;
  width: 49%;
  height: 27px;
  margin: 0;
  padding: 0;
}

#footer_bg_l {
  left: 0;
  float: left;
  background: url(uploads/images/numer9_2008/footer_bg_l.png) repeat-x left top;
}

#footer_bg_r {
  right: 0;
  float: right;
  background: url(uploads/images/numer9_2008/footer_bg_r.png) repeat-x left top;
}

/* -------------------------------------------------------------------- */

/* center wrapper, min max width */

div#pagewrapper {
   padding: 0px;
   width: 980px;
   margin: 0 auto;     /* this centers wrapper */
   color: black;
}


/*** header ***
we will hide text and replace it with a image
we need to assign a height for it
*/

div#header {
   height: 115px; /* adjust according your image size */
   width: 980px;
   background-color: #539dc2;
   background-image:url('uploads/images/numer9_2008/top_01.png');
   background-repeat:no-repeat;

/* for testing */
clear:both;


}

div#header h1 a {
/* you can set your own image here */
   background-color:blue;
   display: block; 
   height: 115px;             /* 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#content {
   background-image:url('uploads/images/numer9_2008/content_bg.png');
   background-repeat: repeat-y;
background-position: center;
   width:980px;
   margin:0px;
   padding:0px;
border: 0px solid green;
/* for testing */
clear:both;

}

div#content_inner{
   width:922px;
   margin:0px;
   padding: 0px 0px 0px 29px;
}

div#sidebar {
   float: left; /*  set sidebar on the left side. Change to right to float it right instead. */
   width: 350px;    /* 412 !!!! sidebar width, if you change this please also change #main margins */
   height: 317px;
   display: inline;  /* FIX ie doublemargin bug */
   margin: -2px 0px 0px -4px;
   padding: 0px;
  position: relative;
}

div#sidebar #flag_pl a,
div#sidebar #flag_eng a {
  position: absolute;
  z-index: 100;
  left: 10px;
  bottom: 10px;
  display: block;
  width: 48px;
  height: 32px;
  padding: 0;
margin: 0;
}

div#sidebar #flag_pl a {
  background: url(uploads/images/numer9_2008/flag_pl.png) no-repeat left top;
}

div#sidebar #flag_eng a {
  background: url(uploads/images/numer9_2008/flag_eng.png) no-repeat left top;
}

div#main {
  margin:0px;
  padding: 0px 0px 0px 15px;
  height: 320px;
  width: 550px;
  overflow-x: hidden;
}

div#content_footer {
clear:both;       /* keep footer below content and menu */
color: #000;
background-color: transparent; /* same bg color as in header */
width:980px;
height:46px;

background-image: url('uploads/images/numer9_2008/content_bottom.png');
background-repeat: no-repeat;   
background-position: center;
text-align: center;
}


/* -------------------------------------------------------------------- */
div#footer {
  position: relative;
  z-index: 10;
margin-top: 0px;
   clear:both;       /* keep footer below content and menu */
   color: #000;
   background-color: transparent;
   width: 980px;
   height: 27px;
   background-image:url('uploads/images/numer9_2008/footer_01.png');
   background-repeat:no-repeat; 

text-align: center;  

}

div#footer a,
div#footer a:visited,
div#footer a:link {
   color: #000;
   background-color: transparent;
}

div#footer a:hover {
   color: #333;
   background-color: transparent;
}

/* -------------------------------------------------------------------- */

div#footer p {
height: 20px;
font-size: 0.8em;
padding: 7px 0px 0px 0px;
}

div#footer p a {
   color: #eee; /* needed becouse footer link would be same color as background otherwise */
}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
clear: both;
   height: 7px;
   margin: 0.4em 1em;
   /*border-bottom: 1px dotted black;*/
  background: url(uploads/images/numer9_2008/hr.png) repeat-x left center;
}

/* relational links under content */
div#relational_links {
  width: 290px;
  float: left;
  padding-top: 6px;
}

div.left49 {
  width: 49%;
  float: left; 
  text-align: left;
}

div.left49 p {
  padding-left: 8px;
  /*background: url(uploads/images/numer9_2008/arrow_prev.png) no-repeat left center;*/
}

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

div.right49 p {
  padding-right: 18px;
  /*background: url(uploads/images/numer9_2008/arrow_next.png) no-repeat right center;*/
}


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

/* HEADINGS */
div#content h1 {
  padding: 10px 0 10px 20px;
   font-size: 1.6em;  /* font size for h1 */
   line-height: 1em;
   margin: 0;
  color: #000;
   background:url(uploads/images/numer9_2008/point_01.png) no-repeat 0 50%;
}
/* -------------------------------------------------------------------- */
div#content h2 {
  margin: 0 0 0.5em 0;
  padding: 0 0 0 20px;
  font-size: 14px;
  text-align: left; 
  color: #000; 
  background:url(uploads/images/numer9_2008/point_01.png) no-repeat 0 50%;
/* some air around the text
   padding-left: 0.5em;
   padding-bottom: 1px;
  set borders around header
   border-bottom: 1px solid #e7ab0b; 
   border-left: 1.1em solid #e7ab0b; */
   line-height: 1.5em;
/* and some air under the border */
  
}
/* -------------------------------------------------------------------- */
div#content h3 {
  color: #000;
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
div#content h4 {
  color: #000;
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 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 */
p {
  font-size: 1em;
  margin-bottom: 1em; /*  some air around p elements */
  line-height:1.2em;
  padding-right: 0.5em;
}
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;
}

/* 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 2em;
   list-style: none;  
   list-style: url(uploads/images/numer9_2008/arrow1_small.gif);
}

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

div#main ul ul {
  margin-left: 2em;
  margin-bottom: 0;
  list-style: url(uploads/images/numer9_2008/arrow2_small.gif);
}

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




/* by NUMER 9 */

/* -------------------------------------------------------------------- */
#flashcontent {
  position: relative;
  z-index: 10;
}
/* -------------------------------------------------------------------- */

div#flash_here{
/* margin:50px 0px 0px 50px; */
margin:0px;
padding:0px;
}


div#header_upper {
height: 115px; /* adjust according your image size */
width: 980px;
background-color: #539dc2;
background-image:url('uploads/images/numer9_2008/top_01.png');
background-repeat: no-repeat;
}


div#menu_conteiner_horizontal {
margin: 0 auto;
text-align: center;
width: 980px;
}

div#menu_horizontal {
text-align: center;
}


div#content_top {
height: 51px; /* adjust according your image size */
width: 922px;
background-color: #539dc2;
background-image:url('uploads/images/numer9_2008/content_top.png');
background-repeat: no-repeat;
}
/* End of 'Layout: NUMER 9 v 2008' */

