/* Start of CMSMS style sheet 'KLLayout' */
/*****************
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: Tahoma, Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 71.01%;
   line-height: 1em;
}

/*
set font size for all divs,
this overrides some body rules
*/
div, table{
   margin: 0;
   padding: 0;
   vertical-align: baseline;
   font-size: 1em;
}

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 0;
}

.photo-left {
 float: left;
 margin-right: 5px;
 margin-bottom: 5px;
 border: 1px #000 solid;;
}

.photo-right {
 float: right;
 margin-right: 5px;
 margin-bottom: 5px;
 border: 1px #000 solid;
}

.photo {
 border: 1px #000 solid;
 width: 144px;
 height: 108px;

}

.schedule { border-collapse: collapse;}
.schedule td {border-collapse: collapse; border: 1px #CCC solid; padding: 3px;}

/*
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: #000000;
}

a:visited {
   text-decoration: none;
   background-color: inherit;
  color: #000000;                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
   text-decoration: none;
   background-color: transparent;
   color: #CC0000;
}


/*****************
basic layout 
*****************/
body {
   color: #000;
   background: #666;
   margin: 0; /* gives some air for the pagewrapper */
}

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

#container {
   position: relative;
   width: 860px;
   margin: 0 auto 0 auto; 
   padding: 0;
}

.body-background {
   background:#FFF  url(uploads/images/body-background.jpg) repeat-x top center;
}

/* ------------ Footer ------------ */


#footer-wrapper {
       position: relative;
	min-height: 235px;
	height: auto!important;
	height: 235px;
	width: auto;
	margin-top: 0px;
	text-align: center;
	margin-right: 0px;
	margin-left: 0px;
        border-top: 1px #000 solid;
        background:#666;
        padding-top: 0px; 
}
#footer {
	color: #003366;
	font-size: 0.9em;
	min-height: 235px;
	height: auto!important;
	height: 235px;
        width: 860px;
        padding-left: 20px;
}
#footer .block {
        float: left;
	width: 280px;
	margin: 20px 0 0 0;
        border-right: 0px solid #333;
}
#footer .cms {
	text-align: left;
	color: #333;
	margin: 20px 0 0 0;
        border: 0px;
}
/* ------------ Footer Links ------------ */
#footer ul {
	width: auto;
	text-align: left;
	margin-left: 20px;
	color: #333;
}
#footer ul ul {
	margin-left: 0px;
}
#footer ul li a, #footer ul li a:visited {
	color: #333;
	display: block;
	font-weight: normal;
	margin-bottom: 0.7em;
	text-decoration: none;
}

#footer ul li a:hover {
	color: #000;
	display: block;
	font-weight: normal;
	margin-bottom: 0.7em;
	text-decoration: none;
}
#footer a {
	color: #333;
	text-decoration: none;
	font-weight: bold;
}
/* ------------ END LAYOUT ---------------*/

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

div#header {
   height: 250px; /* adjust according your image size */
   background: url(uploads/images/header-background.jpg) no-repeat; 
   margin: 0px;
}


div#search {
   z-index: 30;
   position: absolute;
   top: 15px ;
   right: 50px;
   display: inline;
   float: left;
   width: 150px;     /* enough width for the search input box */
   text-align:left;
   padding: 0;
   margin: 0;
}

div#newsletter {
   z-index: 30;
   position: absolute;
   top: 82px ;
   right: 0px;
   display: inline;
   float: left;
   width: 175px;     /* enough width for the search input box */
   text-align:left;
   padding: 10px 20px 10px 15px;
   margin: 0;
   color: #999;
}

#newsletter input{
   padding: 3px 3px 3px 5px;
   width: 165px; 
   border: 1px #999 solid;
   margin: 2px 0 2px 0px;
   background: transparent;
   color: #FFF;
   font-size: 95%;
}

#newsletter .submit input {
   float: right;
   width: auto;
   padding: 2px 8px 2px 8px;
   border: 1px #999 solid;
   background: #000;
   color: #999;
   font-size: 90%;
   margin: 0;
}

div#search input {
   font-size: 105%;
   width: 180px;     /* enough width for the search input box */
   text-align:left;
   padding: 2px 0 2px 5px;
   margin: 0;
   color: #000;
   background: transparent;
   border: 0;
   font-weight: bold;
}

div.breadcrumbs {
   padding: ; /* 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: 10px 0 5px 0 ;              /* css shorthand rule will be opened to be "0 1em 0 1em" */
   border-bottom: 0px dotted #000;
   height: 10px;
   text-transform: lowercase;
}

div.breadcrumbs a, div.breadcrumbs a:visited {
   color: #FFF;
}

 div.breadcrumbs span.lastitem { 
   font-weight:bold; 
   font-size: 90%; 
 } 

div#content {
   margin: 0; /* some air above and under menu and content */
   padding-top: 20px;
}

.content-background {
   position: relative;
  background: url(uploads/images/content-background.jpg) no-repeat;
   margin: 0; /* some air above and under menu and content */
   padding-bottom: 10px;
}

div#content-header {
   margin: 0; /* some air above and under menu and content */
   height: 75px;
   padding: 5px 0px 0px 220px;
   background: none;
}

div#main-image {
   position: relative;
   background: url(uploads/images/main-image.jpg) no-repeat 0 0;
   margin: 0; /* some air above and under menu and content */
   height: 156px;
   padding: 0;
}

div#main {
   position: relative;
   float: right;
   margin-left: 10px; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   margin-right: 0px; /* and some air on the right */
   margin-top: 0px;
   width: 650px;
   margin-bottom: 10px;
   vertical-align: top;
   padding: 0;
}

div#sidebar {
   float: left;  /* set sidebar on the left side. Change to right to float it right instead. */
   width: 180px;    /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX ie doublemargin bug */
   margin-right: 0;
   margin-top: 0px;
   padding: 0 10px;
}

/* if sidebar doesnt include menu but content add class="hascontent" */
div#sidebar.hascontent {
   padding: 0;
   width: 200px;  /* make width smaller if there's padding, or it will get too wide for the floated divs in IE */
}

div#footer p a {
   color: #333; /* 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: 0;
   border-bottom: 0px dotted black;
}

/* relational links under content */
div.left49 {
  float: left;
  width: 79%;  /* 50% for both left and right might lead to rounding error on some browser */
}

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




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

/* HEADINGS */
div#content h1 {
   font-size: 1.6em;  /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content h2 {
   color: #000000; 
   font-size: 1.4em; 
   text-align: left; 
/* some air around the text */
   padding-left: 0;
   padding-bottom: 1px;
   line-height: 1.3em;
/* and some air under the border */
   margin: 0 ;
}
div#content h3 {
   color: #000000; 
   font-size: 1.3em;
   line-height: 1.2em;
   margin: 0 0 0.5em 0;
   font-weight: bold;
}
div#content h4 {
   color: #000000; 
   font-size: 1.2em;
   line-height: 1.1em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   font-size: 1.1em;
   line-height: 1.0em;
   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: 0 0 0.8em 0;  /* some air around p elements */
   line-height:1.4em;
   padding: 0;
}
blockquote {
   border-left: 10px solid #CCC;
   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;
   list-style: circle;
}

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

#imagefloat {
  position: absolute;
  z-index: 2;
  width: 220px;
  height: 250px;
  top:  80px;
  left: 10px;
}

.cat {border-collapse: collapse; width: 125px ; border: 1px #BBB solid; background: #EEE; margin-bottom: 2px;}
.cat .cat-img {padding: 8px 5px;}
.cat .cat-info {height: 35px; padding: 2px 5px 10px 4px;}

/* End of 'KLLayout' */

