/* Start of CMSMS style sheet 'Layout: CKdFront' */
/* CKd Front Page Style attributes */


div#main {
background: url('images/CKD_images/image_homepage_background.jpg') top no-repeat;
}

div#news_summery_box {
border-width: 1px;
border-style: solid;
border-color: orange;
float: right;
width: 450px;
height: 11em;
overflow: auto;
}


/* End of 'Layout: CKdFront' */

/* Start of CMSMS style sheet 'Accessibility and cross-browser tools' */
/* accessibility */

/* 
menu links accesskeys 
*/
span.accesskey {
   text-decoration:none;
}

/* 
accessibility divs are hidden by default 
text, screenreaders and such will show these 
*/
.accessibility, hr {
   position: absolute;
   top: -999em;
   left: -999em;
}

/* 
definition tags are also hidden 
these are also used for menu links    
*/
dfn {
   position: absolute;
   left: -1000px;
   top: -1000px;
   width: 0;
   height: 0;
   overflow: hidden;
   display: inline;
}
/* end accessibility */


/* wiki style external links */
/* external links will have "(external link)" text added, lets hide it */
a.external span {
  position: absolute;
  left: -5000px;
  width: 4000px;
}

/* make some room for the image */
a.external {
/* css shorthand rules, read: first top padding 0 then right padding 12px then bottom then right */
  padding: 0 12px 0 0;
}
/* colors for external links */
a.external:link {
  color: #18507C;
/* background image for the link to show wiki style arrow */
  background: url(images/cms/external.gif) no-repeat 100% 0;
}
a.external:visited {
  color: #18507C; /* a different color can be used for visited external links */

/* 
Set the last 0 to -100px to use that part of the external.gif image for different color for active links 
external.gif is actually 300px tall, we can use different positions of the image to simulate rollover image changes.
*/
  background: url(images/cms/external.gif) no-repeat 100% 0; 
}

a.external:hover {
  color: #18507C;
/* Set the last 0 to -200px to use that part of the external.gif image for different color on hover */
  background: url(images/cms/external.gif) no-repeat 100% 0; 
  background-color: #C3D4DF;
}
/* end wiki style external links */


/* clearing */
/* 
clearfix is a hack for divs that hold floated elements. it will force the holding div to span all the way down to last floated item.
We strongly recommend against using this as it is a hack and might not render correctly but it is included here for convenience.
Do not edit if you dont know what you are doing
*/
	.clearfix:after {
		content: "."; 
		display: block; 
		height: 0; 
		clear: both; 
		visibility: hidden;
	}
	* html>body .clearfix {
		display: inline-block; 
		width: 100%;
	}
	
	* html .clearfix {
		/* Hides from IE-mac \*/
		height: 1%;
		/* End hide from IE-mac */
	}

/* end clearing */
/* End of 'Accessibility and cross-browser tools' */

/* Start of CMSMS style sheet 'Layout: CKdCommon' */
/* CKd Style attributes */

/*
style the header.
Accessibility trick for images with text: put the text in one div box and
then put the image in a child box that completely fills the one with text.
This hides the text from browsers that understand images, but lets non-image
browsers display something sensible.

In this case, the text goes in the "header" box, and the image in "hbox".
So header is set to the size of the image, and hbox is 100% of that.

The other trick in the header is to center the header. There is no direct way to do
this in CSS. But you can fake it by setting the left and right margins to auto
*/


body {
background: white;
font-family: "times new roman", serif;
}


#menu_horiz a {
font-family: arial, sans-serif;
font-weight: bold;
font-size: small;
color: white;
text-decoration: none;
}

#page {
width: 800px;
margin: 0px auto;
}

div#header {
height: 75px;
width: 800px;
position: relative;
margin: 0px auto;
padding: 0px;
}

div#header span {
display: block;
position:absolute; left:0; top:0; z-index:1;
background: url('images/CKD_images/image_header.jpg') top no-repeat;
height: 100%;
width: 100%;
margin: 0px;
padding: 0px;
}

div#separator {
background-color: orange;
width: 100%;
height: 10px;
margin: 0px;
padding: 0px;
}

div#box {
width: 100%;
}

div#content {
width: 800px;
position: relative;
margin: 0px auto;
padding: 0px;
}

div#main {
min-height: 342px;
}

div#offset {
height: 130px;
margin: 0px;
padding: 0px;
position: relative;
clear: both;
}

div#menu_horiz {
background-color: orange;
width: 100%;
height: 100px;
bottom: 0px;
margin: 0px;
padding: 0px;
position: absolute;
}

div#wrapper {
width: 800px;
height: 120px;
top: -20px;
margin: 0px auto;
padding: 0px;
position: relative;
}

.bottom_menu {
position: absolute;
width: 126px;
height: 120px;
margin: 0px;
padding: 0;
}

.bottom_menu_pics {
height: 98px;
width: 124px;
position:absolute; left:0; top:0; z-index:1;
margin: 0;
padding: 0;
}

.bottom_menu_text {
position:absolute; left:0; top:99px; z-index:1;
margin: 0;
padding: 0;
text-align: center;
width: 100%;
}

#menu_firm-profile {
left: 35px;
}

#menu_projects {
left: 195px;
}

#menu_news {
left: 354px;
}

#menu_collaboration {
left: 513px;
}

#menu_contact-us {
left: 660px;
}





#menu_firm-profile span {
background: url('images/CKD_images/image_firm_profile.png') top no-repeat;
}

#menu_projects span {
background: url('images/CKD_images/image_firm_projects.png') top no-repeat;
}

#menu_news span {
background: url('images/CKD_images/image_firm_news.png') top no-repeat;
}

#menu_collaboration span {
background: url('images/CKD_images/image_firm_collaborations.png') top no-repeat;
}

#menu_contact-us span {
background: url('images/CKD_images/image_contact_us.png') top no-repeat;
}
/* End of 'Layout: CKdCommon' */

/* Start of CMSMS style sheet 'Module: News' */
div#news {
   margin: 2em 0 1em 1em;  /* margin for the entire div surrounding the news list */
   border: 1px solid #000;
   background: #FFE9AF;
}

div#news h2 {
    line-height: 2em;
    background: #fff;
}

.NewsSummary {
     padding: 0.5em 0.5em 1em; /* padding for the news article summary */
     margin: 0 0.5em 1em 0.5em; /* margin to the bottom of the news article summary */
     border-bottom: 1px solid #ccc;
}

.NewsSummaryPostdate {
   font-size: 90%;
   font-weight: bold;
  }

.NewsSummaryLink {
     font-weight: bold;
     padding-top: 0.2em;
}

.NewsSummaryCategory {
   font-style: italic;
   margin: 5px 0;
  }

.NewsSummaryAuthor {
   font-style: italic;
   padding-bottom: 0.5em;
}

.NewsSummarySummary, .NewsSummaryContent {
   line-height: 140%;
  }

.NewsSummaryMorelink {
   padding-top: 0.5em;
}

#NewsPostDetailDate {
   font-size: 90%;
   margin-bottom: 5px;
   font-weight: bold;
   }

#NewsPostDetailSummary {
    line-height: 150%;
    }

#NewsPostDetailCategory {
   font-style: italic;
   border-top: 1px solid #ccc;
   margin-top: 0.5em;
   padding: 0.2em 0;
}

#NewsPostDetailContent {
   margin-bottom: 15px;
   line-height: 150%;
   }

#NewsPostDetailAuthor {

   padding-bottom: 1.5em;
   font-style: italic;
}


/* to add specific style to the below divs, uncomment them. */

/*
#NewsPostDetailTitle {}
#NewsPostDetailHorizRule {}
#NewsPostDetailPrintLink {}
#NewsPostDetailReturnLink {}
*/


/* End of 'Module: News' */

