/* Start of CMSMS style sheet 'Layout: Top menu + 2 columns' */
/*****************
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, Geneva, Arial, Helvetica, sans-serif;
   font-size: 75.01%;
   line-height: 1em;
background: #FFFFFF;
color: #666666;
background-image: url(uploads/images/mel_bcgr.gif);
background-repeat: repeat-x;

}

.searchsubmit {
   width: 5em;     /* enough width for the search input box */
   text-align: center;
   font-size: 100%;  
   color: #E7AB0B;
  background: #DDE4E9;
border-left: 1px solid #A4B97F;
border-right: 1px solid #A4B97F;
border-top: 1px solid #A4B97F;
border-bottom: 1px solid #A4B97F;
}
/*
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: #106EB6; 
}

a:visited {
   text-decoration: underline;
   background-color: inherit;
  color: #106EB6;                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
   text-decoration: none;
   background-color: #E7AB0B;
   color: #FFF;

}

/***************************
   by vaidas
***************************/

a.anchor,
a.anchor:link 
a.anchor:active {
   text-decoration: none;
   color: #106EB6;
  font-weight:bold;
}

a.anchor:hover {
   text-decoration: none;
   background-color: transparent;
   color: #106EB6;

}




/*****************
basic layout 
*****************/
body {
   background-color: #FFFFFF;
   color: #333;
   margin: 0em; /* gives some air for the pagewrapper */

}

/* center wrapper, min max width */
div#pagewrapper {
   border: 0px solid black;
   margin: 0 auto;     /* this centers wrapper */
   
   background: url(uploads/images/bedrum_fonas.gif);
   color: black;
width: 800px;
}


/*** header ***
we will hide text and replace it with a image
we need to assign a height for it
*/


div#main_header {
   height: 88px; /* adjust according your image size */
 width: 800px;
   background: #FFFFFF; 
   position: relative; 
}


div#header {
   height: 88px; /* adjust according your image size */
   width: 180px;
   background: #FFFFFF;     
   position: relative;  
   float:left;     
}

div#header h1 a {
/* you can set your own image here */
   background: #FFFFFF url(uploads/images/logo.gif) no-repeat ; 
   display: block; 
   height: 88px;             /* adjust according your image size */
width: 180px;
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
   text-align: left;
   float:left; 

}


div#main_foto{
   height: 185px; /* adjust according your image size */
   width: 800px;
   background:no-repeat ; 
   display: block; 
}

div.search {
   width: 150px;     /* enough width for the search input box */
   text-align: left;
   font-size: 85%;  
   color: #106EB6;
   float: left;
}

div.breadcrumbs {
   width:475px;
   padding: 0.5em 0em 0.5em 15em ; /* CSS short hand rule first value is top then right, bottom and left */
   font-size: 85%;             /* its good to set fontsizes to be relative, this way viewer can change his/her fontsize */
   margin: 2px;
   border-bottom: 0px dotted #000;
color: #106EB6;
}

 div.breadcrumbs span.lastitem { 
   font-weight:bold; 
color: #106EB6;
 } 

 ndiv#content {
   margin: 1.5em auto 1em 0; /* some air above and under menu and content */
}

div.content div.main {
   width:475px;
   height: 100%; 
   float:left;
   margin: 0 30px 0 10px;
   border:0px solid red;
}

div.content div.sidebarL {
   width: 150px;    /* 26% sidebar width, if you change this please also change #main margins */
   height: 100%; 
   float:left;
   border:0px solid red;
}

/* if sidebar doesnt include menu but content add class="hascontent" */
div#sidebarL.hascontent {
   padding: 0 1%;
   width: 24%;  /* make width smaller if there's padding, or it will get too wide for the floated divs in IE */
}

div.content div.sidebarR {
   width: 120px;    /* 26% sidebar width, if you change this please also change #main margins */
   height: 100%;
   float:left; 
   margin: 0 0 0 0px;
   border:0px solid red;
}

/* if sidebar doesnt include menu but content add class="hascontent" */
div#sidebarR.hascontent {
   padding: 0 1%;
   width: 24%;  /* 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 */
   color: #fff;
   background-color: #6e99dc; /* same bg color as in header */
font-size: 0.8em;
}

div#footer p {
   font-size: 0.8em;
   padding: 1em;      /* some air for footer */
   text-align: center; /* centered text */
   margin:0;
}

div#footer p a {
   color: #6e99dc; /* 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 {
   height: 1px;
   margin-bottom: 1em;
   border-bottom: 1px solid #e7ab0b; 
}

/* relational links under content */
div.left49 {
  float: left;
  width: 49%;  /* 50% for both left and right might lead to rounding error on some browser */
 font-size: 85%;
color: #106EB6;

}

div.right49 {
  float: right;
  width: 49%;
  text-align: right;
 font-size: 85%;
color: #106EB6;

}




/********************
CONTENT STYLING
*********************/
div.content {
  width: 800px;
  border: 0px solid blue;
}

div.content p.NewsCategoryTitle {
   color: #106DB6; 
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
   font-weight:bold;
}

/* HEADINGS */
div.content h1 {
   font-size: 3em;  /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div.content h2 {
   color: #106DB6; 
   font-size: 1.5em; 
   text-align: left; 
/* some air around the text */
   padding-left: 0.5em;
   padding-bottom: 1px;
/* set borders around header */
   border-bottom: 1px solid #e7ab0b; 
   border-left: 0em solid #e7ab0b; 
   line-height: 1.5em;
/* and some air under the border */
   margin: 0 0 0.5em 0;
}
div.content h3 {
   color: #106DB6; 
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
div.content h4 {
   color: #106DB6; 
   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: 0.9em;
   margin: 0 0 1.5em 0;  /* some air around p elements */
   line-height:1.4em;
   padding: 0;
}
blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
pre {
   font-family: verdana;
   font-size: 1.0em;
}
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%;   /* smaller font size, as these are usually not so important data */
}

/* END TEXT */

/* LISTS */
div.content div.main ul,
div.content div.main ol,
div.content div.main dl {
  font-size: 1.0em;
   line-height:1.4em;
   margin: 0 0 1.5em 0;
}
div.content div.main ul li,
div.content 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;
}
/* END LISTS */
/* End of 'Layout: Top menu + 2 columns' */

