/* Start of CMSMS style sheet 'celinius-general' */
/*****************
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, sans-serif, Arial, Helvetica;
 font-size: 75.01%; 
 line-height: 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 {color: #244bf2; }
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: #244bf2; 
}

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


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

/*****************
basic layout 
*****************/
html {overflow-x: hidden;} 
body {
   background-color: #fbfbfc;
   color: #000000;
   margin:0em; /* gives some air for the pagewrapper */
overflow-y: visible;
overflow-x:hidden;

	}
/* #rightimg {
padding-top:10px;
padding-bottom:3px;
height:100%;
width: 100%;

}*/

/* center wrapper, min max width */
div#pagewrapper {
   border: none;
   margin: 0 auto;     /* this centers wrapper */
   max-width: 80em; /* IE wont understand these, so we will use javascript magick */
   min-width: 60em;
   background-color: transparent;
}


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

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

div#header h1 a {
/* you can set your own image here */
   background: transparent; 
   display: block; 
   height: 80px;             /* 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#searcherr { 
	background:url(images/cms/form_back1.gif) no-repeat 0 0;
	width:203px;     /* enough width for the search input box */
	height:54px;
	text-align: left;
	margin-top:30px;
	padding-left: 1.5em; 
}
div#search {
        float: right;
	position: relative;
	z-index:20;
	left:10px;
	background:url(images/cms/form_back.gif) no-repeat 0 0;
	width:203px;     /* enough width for the search input box */
	height:54px;
	text-align: left;
	margin-top:30px;
	padding-left: 1.5em; 
}
 form input {
    position:relative;
	background:none;
	margin-left:0.6em;
	font-size: 14px;
	font-weight: bold;
	color: #e5e5e5;
	text-decoration: none;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}

form input[type="image"] {
   position:relative;
	top: 13px;
	margin-left: 2px;
behavior: url(images/cms/iepngfix.htc);
}


/* Fix up IE6 PNG Support */
img, form input, button, form button, div.breadcrumbs  {
	behavior: url(images/cms/iepngfix.htc);
}


div.breadcrumbs {

   padding: 1em 0 1.2em 0; /* 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" */

}

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


div#content {
   margin: 1.0em auto 1em 0; /* some air above and under menu and content */

}

div#footer {
   clear:both;       /* keep footer below content and menu  */
   color: #05394d;
background-color:#e5e5e5;
}

div#footer p {
   font-size:1.2em;
   padding: 0.5em;      /* some air for footer */
   text-align: center; /* centered text */
   margin:0;
}



/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   margin: 1em;
padding-top:10px;
   border-bottom: 1px dotted black;
}

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

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

/* upper decorations*/
#stripe_l{
	position: absolute;
	top:0px;
    left:0px;
	height: 96px;
	width:100%;
	background-image: url(images/cms/bg_body.gif);
	z-index: -5;
	background-repeat: repeat-x;
}
#stripe_r{
	position: absolute;
	top:0px;
        right:0px;
        z-index: -4;
	height: 96px;
	width:50%;
	background-image: url(images/cms/bg_wrap.gif);
	background-repeat: repeat-x;
margin:0;
}
#stripe_wave{
        right:0;
	height: 96px;
	width:100%;
	background-image: url(images/cms/header.gif);
   margin-bottom:4px;
}

/* flash */
/* space under flash movie*/
#stripe{
position: absolute;
top:130px;
left:0px;
height:200px;
width: 100%;	
background:url(images/cms/breadcrumbs.png) repeat 0 0; 
z-index: -2;
}
/* flash movie*/
#flash-header{
position: absolute;
top:100px;
left:0px;
height:200px;
width: 100%;
z-index: 1;
}

/* bottom decor */
#stripe-b_r{
	position: absolute;
        left:50%;
        margin:0;
	height: 96px;
	width:50%;
	background-image: url(images/cms/bbg_body.gif);
	z-index:2;
	background-repeat: repeat-x;
}

#stripe-b_t{
position: relative;
        z-index:5;
	bottom:0px;
	height: 96px;
	width:100%;
	background-image: url(images/cms/bheader.gif);
	background-repeat:no-repeat;
}
/********************
CONTENT STYLING
*********************/
div#content {

}

/* HEADINGS */
div#content h1 {
   font-size: 2.0em;  /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content h2 {
   color: #1f41d3; 
   font-size: 1.8em; 
   text-align: left; 
/* some air around the text */
   padding-left: 0.5em;
   padding-bottom: 1px;
/* set borders around header */
   border-bottom: 1px solid #fff; 
   border-left: 1.1em solid #fff; 
   line-height: 1.5em;
/* and some air under the border */
   margin: 0 0 0.5em 0;
}
div#content h3 {
   color: #1f41d3; 
   font-size: 1.4em;
   line-height: 20px;
   margin: 0 0 8px 0;
}
div#content h4 {
   color: #1f41d3; 
   font-size: 1.3em;
   font-weight: bold;
   line-height: 18px;
   margin: 0 0 6px 0;
}
div#content h5 {
   font-size: 1.1em;
   line-height: 16px;
   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: 1.2em;
   margin: 0 0 0.8em 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: 14px;
   line-height:1.4em;
   margin: 0 0 1.5em 0;
}
div#main ul li,
div#main ol li {
   margin: 0 0 0.45em 2em;

}

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

div#con-info {
width:98%;
text-align:left;
padding-left:40px;
}

/*contactForm */
#contactform {
width:270px;
color:#35357B;
float:right;
}
div#contactform .mytext {
line-height:16px;
font-size: 14px;
color: #000;
}

.fb_invalid{
  font-size: 13px !important;
  color: red !important;
}

.fb_invalid label {
  font-size: 13px !important;
  color: #000;
margin-top:0;
} 
div#contactform label	 
{ float:left;  width:18em; display:block; clear:both; margin-top:1em; margin-right:1em; text-align:left;  cursor:hand; }


div#contactform fieldset  { 
margin-top: 0;
margin-bottom: 0;
margin-left:0;
margin-right: 0;  
border:none;
 }

div#contactform input { 
margin-top: 5px;
margin-bottom: 0px;
margin-left:0;
margin-right: 0; padding: 0.1em;  
}

div#contactform textarea, select, button, optgroup { 
margin-top:15px; }

div#contactform textarea, div#contactform input[type="text"] {
border: 1px solid #333;
margin-top:5px; 
vertical-align:baseline;
font-weight: bold;
color:#35357B;
 background-color:#DFDFDF;
}
div#contactform textarea:focus, div#contactform input[type="text"]:focus {
 border: 2px solid #000; background-color:#fff;}

div#contactform div.submit {
width:50px;
}

div#contactform div.submit input { 
color:#000;
	 border: 1px solid #333;
cursor:hand;
	margin-left: 10px;

 }
 div#contactform div.submit input:hover { 
color:#003366;
	 border: 2px solid #000;
cursor:hand;
 }
/* End of 'celinius-general' */

