/* Start of CMSMS style sheet 'LRL - Kontakt' */
/*****************
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;
   line-height: 1em;
   font:75% Arial,sans-serif;
}

/*
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: #e2001a;
}

/*****************
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-left: 15px;
   width: 80em; /* IE wont understand these, so we will use javascript magick */
   /*min-width: 60em;*/
   background-color: #fff;;
   color: black;
}



#site{
color:#000000;
height:110px;
margin:0;
border-top: 2px solid white;
border-bottom: 3px solid white;
}

#logo_left{
float:left;
display: inline; 
width:190px;
height: 110px;
background-image: url(uploads/LRL-Design1/logo.gif);
border-right: 3px solid white;
}

#logo-center{
overflow: hidden;
}

#logo-center img{
height: 110px;
}

#logo-right{
float: right;
width:150px;
height:110px;
border-left: 3px solid white;
background-image: url(uploads/LRL-Design1/logo-right.gif);
background-repeat: no-repeat;
overflow: hidden;

padding-top: 1em;
text-align: center;

margin-bottom: -1em;
}

#logo-right img{
   border: 3px solid white;
}


div.breadcrumbs forum {
   margin-top: 8px;
   padding: 0.3em; /* 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 1em;        /* css shorthand rule will be opened to be "0 1em 0 1em" */
   border: 1px solid #000;
   background-color: #e3e1c8;
}


div#content {
   margin: 1em auto 1.3em 0; /* some air above and under menu and content */
}

div#main {
   border-right: 1px solid #8e8e8e;
   padding-right: 8px;
   border-left: 1px solid #8e8e8e;
   padding-left: 8px;
   margin-left: 180px; 
   margin-right: 188px;
   padding-bottom: 5px;
}

div#main img {
width: 100px;
height: auto;
float: right;
}

div#main table {
width: 100%;
border: 2px solid #ccc;
}



div#sidebar_left {
   float: left;  /* set sidebar on the left side. Change to right to float it right instead. */
   width: 164px;    /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX ie doublemargin bug */
   padding-right: 8px;
   padding-left: 8px;
   border-right: 1px solid #8e8e8e;
   margin-bottom: 10px;
   padding-bottom: 5px;
}

/* if sidebar doesnt include menu but content add class="hascontent" */
div#sidebar_left.hascontent {
   padding: 0 5px;
   width: 169px;  /* make width smaller if there's padding, or it will get too wide for the floated divs in IE */
   margin-bottom: 10px;
   padding-bottom: 5px;
}

div#sidebar_right {
   float: right;  /* set sidebar on the left side. Change to right to float it right instead. */
   width: 170px;    /* sidebar width, if you change this please also change #main margins */
   padding-left: 10px;
   border-left: 1px solid #8e8e8e;
   margin-bottom: 10px;
   padding-bottom: 5px;
   padding-right: 8px;
}


div#footer {
   clear:both;       /* keep footer below content and menu */
   color: #fff;
   background: url(uploads/LRL-Design1/footer_bg.gif) ;
   background-repeat: repeat-x;
   height: 60px;
   text-align: center; /* centered text */
}

div#footer p {
   font-size: 0.9em;
   padding: 0.5em;      /* some air for footer */
   text-align: center; /* centered text */
   margin:0;
   width: 200px;
   align: center;
}

div#footer p a {
   color: #fff; /* needed becouse footer link would be same color as background otherwise */
}

div#footer a:hover{
color:#e2001a;
}

#designer{
   margin-top: 20px;     /* this centers wrapper */
   text-align: center;
}

#designer a{
color:#000;
}

#designer a:hover{
color:red;
}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   margin: 1em;
   border-bottom: 1px dotted black;
}



/********************
CONTENT STYLING
*********************/


/* TEXT */
p {
   font-size: 1em;
   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: monospace;
   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#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;
}

div#dl dt {
   font-weight: bold;
   margin: 0 0 0.25em 3em;
}
div#dl dd {
   margin: 0 0 0 3em;
}
/* END LISTS */
/* End of 'LRL - Kontakt' */

