/**************************************************************
   Visit FullAhead.org and studio7designs.com for more layouts and downloads for this template!
 **************************************************************/
 
/**************************************************************
   All page content except for footer
 **************************************************************/

#content {
  position: relative;
  height: auto !important;
  height: 100%;
  min-height: 100%;
}

div.Article {
  background:
  url(../images/bg/custom_corners_topleftp.gif)
  top left no-repeat;
  width:100%;
  } 



div.Article h2 {
  background: 
  url(../images/bg/custom_corners_topright.gif)
  top right no-repeat;
  font-size:1.3em;
  padding:9px;
  margin:0;
  position:relative;
  right:-14px;
  padding-left:40px; 
/* Compensation for the 
repositioned box */
  }

div.ArticleBody {
  background:
  url(../images/bg/custom_corners_right.gif)
  top right repeat-y;
  margin:0;
  margin-top:-2em;
  padding:15px;
  position:relative;
  right:-14px;
  padding-left:40px;
  }

div.ArticleFooter {
  background:
  url(../images/bg/custom_corners_bottomleft.gif)
  bottom left no-repeat;
  position:relative;
  top:12px;
  }
	
div.ArticleFooter p {
  background:
  url(../images/bg/custom_corners_bottomright.gif)
  bottom right no-repeat;
  padding:15px;
  display:block;
  margin:-2em 0 0 0;
  position:relative;
  right:-14px;
  padding-left:0;
}

div.ArticleLongContent {
   background: url
	(../images/bg/custom_corners_leftborder.gif)
   top left repeat-y;
  }






/*
  +------------------------------------------------------------------+
  | MikeCherim.com                                                   |
  | CSS: Smart Corners                                               |
  | Cascading Style Sheet                                            |
  | Copyright Aug 2006                                               |
  | Use with attribution by visible link please!                     |
  | Attribute to: <a href="http://green-beast.com/">Mike Cherim</a>  |
  +------------------------------------------------------------------+
*/ 

/* here's the box... the image is the upper-left corner */
#csc {
  background : #669900 url(../images/bg/csc_tl.png) no-repeat;
  width : 20em;
  height : auto;
  position : relative;
  padding : 30px 40px;
}

/* these are the other three spans. classes were used to allow multiuse on a page */
.tr, .bl, .br {
  position : absolute;
  width : 39px;
  height : 39px;  /* corner images are 40x40 */
  display : block;
  margin-bottom : -1px;  /* this is for IE */
}

/* change position and image: top-right */
.tr {
  background : transparent url(../images/bg/csc_tr.png) no-repeat;
  top : 0;
  right : 0;
}

/* change position and image: bottom-left */
.bl {
  background : transparent url(../images/bg/csc_bl.png) no-repeat;
  bottom : 0;
  left : 0;
}

/* change position and image: bottom-right */
.br {
  background : transparent url(../images/bg/csc_br.png) no-repeat;
  right : 0;
  bottom : 0;
}


/* End Styles */

/**************************************************************
   Topbar with newsletter form and theme change buttons
 **************************************************************/

#topbar {
  float: left;
  width: 100%;
  padding: 0.6em 0;

  font-size: 0.9em;
  text-transform: uppercase;

  color: #537baf;/*#CFD9DB I don't know what this does - can't see anything change here */
  background: #FFF url(../images/bg/fur.gif) repeat-x bottom left;
}



/**************************************************************
   Top menu and logo
 **************************************************************/

#header {
	clear: both;
	position: relative;
	height: 105px;
	margin: 0 auto;
	background: #fff url(../images/bg/purpletopbar.jpg) repeat-x bottom left;
	border-bottom: 2px solid #ffffff; /*#48525B;*/
	background-color: #fff;  /*#b0d0f3;  /*#537baf; /*#48525B;  top bar where logo goes*/
}


#header img {
  position: absolute;
  top: 9%; /* was 5%*/
  left: 10px;
}

#header ul {
  margin: 3.5em 1em 0 0 !important;
  margin: 3.5em 0.5em 0 0;
  padding: 0;
  float: right;
}

#header ul li {
  display: inline;
  list-style: none;
}

#header ul li a {
  float: left;
  padding: 0.1em 1em;
  text-decoration: none;
  font: 400 1.1em arial, sans-serif;
  letter-spacing: 0.1em;
  line-height: 0.8em !important;
  line-height: 1em;
  font-weight: bold;

  color: #537baf;  /* top text font color */
  border-right: 1px solid #c400c4;
}

#header ul li a.last {
  padding-right: 0;
  border-right: 0;
}

#header ul li a:hover {
  color: #c400c4;
  text-decoration: underline;
}



/**************************************************************
   Header Image/Flash Movie
 **************************************************************/

#headerImg {
  margin: 0 auto;
  height: 143px;
  background: url(../images/bg/meilingsky.jpg) no-repeat top left;
}

#headerImgsky {
  margin: 0 auto;
  height: 29px;
  background: url(../images/bg/fur.gif) repeat top left;
}



/**************************************************************
   Top Block Menu
 **************************************************************/

#menu {
  margin: 2px auto;
 
}

#menu ul {
  width: 100%;
  float: left;
  margin: 0;
  padding: 0;

  text-align: left;

  background: #ffffff url(../images/bg/menubar.gif) repeat-x top left; /*bottom bar between yellow and content */
}

#menu ul li {
  display: inline;
  margin: 0;
  padding: 0;
  list-style: none;
}

#menu ul li a {
  float: left;
  /*width: 193px;*/
/*  height: 4.5em;*/
  height: 28px;    /*47px; /*ML added*/
 /* font: 400 1.1em arial, sans-serif;*/
  letter-spacing: 0.1em;
  padding:4px 12px 4px 12px;
  color: #505050;
  text-decoration: none;

  
  border-top: 0px solid #ffffff;  /* top bar between yellow menu and mountain gif*/
 border-bottom: 10px solid #FFF;
  border-right:1px solid #fff;
}

#menu ul li a span {
  display: block;
  padding: 2px 7px;
/*  font-weight: bold;*/
 }


#menu ul li a span.desc {
  font-size: 0.8em;
  font-weight: normal;
  color: #c400c4; /* pink*/
 }


#menu ul li a:hover,
#menu ul li a.here {
  background: #ffffff url(../images/bg/menubaron.gif) repeat-x top left; /*bottom bar between yellow and content */
  /*border-top: 7px solid #455660;   no blue border or image when hover on yellow menu*/
  text-decoration: underline;
  color: #505050;
}

#menu ul li a:hover span.desc,
#menu ul li a.here span.desc {
  color: #FFF;
}





/**************************************************************
   Page Content
 **************************************************************/

#page {
  clear: both;
  float: left;
  width: 100%;
  margin-bottom: 6em;
  text-align: left;
}

#columns {
  margin: 0 auto;
}
.rowlist {
  display: inline;
  list-style: none;
}

/* Column widths */
.width {
  width: 776px;
}

.widthFull {
  width:800px;
  }

.widthPad {
  width: 746px;
}
.widthPadwide {
  width: 896px;
}
.width20 {
 width:20%
}

.width25 {
  width: 179px; /*24%;*/
}
.width27 {
  width: 226px; 
}
.width35 {
  width: 250px;
}
.width40 {
  width: 330px;
}

.width50 {
  width: 47%;
}

.width55 {
  width: 51%;
}

.width73 {
  width: 72%;
}

.width75 {
  width: 75%;
}

.width100 {
  width: 100%;
}

.height70 {
   height: 75px;
 }



/**************************************************************
   Footer
 **************************************************************/


#footer {
  clear: both;
  float: left;
  width: 100%;
  height: 5em;
  margin-top: -5em;
}

#footer #bg {
  position: relative;
  height: 63px; /* was 5em*/
  margin: 0 auto;
  background: #537baf;
}

#footer #bg ul {
  float: right;
  margin: 3em 1em 0 0 !important;
  margin: 3em 0.5em 0 0;
  padding: 0;
}

#footer #bg ul li {
  display: inline;
  list-style: none;
}

#footer #bg ul li a {
  float: left;
  padding: 0 1em;

  font: 400 1em arial, sans-serif;
  letter-spacing: 0.1em;
  line-height: 0.8em !important;
  line-height: 1em;

  color:#ffffff;
  border-right: 1px solid #4D5760;
}

#footer #bg ul li a.last {
  padding-right: 0;
  border-right: 0;
}

#footer #bg ul li a:hover {
  color: #c400c4;
}

#footer #bg img {
  position: absolute;
  top: 6%;
  left: 10px;
}



/**************************************************************
   Icons specific to the colour theme
 **************************************************************/

a.lightTheme img,
a.darkTheme img,
a.submitButton img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

a.lightTheme img {
  background: url(../images/icons/light_light_theme.gif) no-repeat center center;
}

a.darkTheme img {
  background: url(../images/icons/light_dark_theme.gif) no-repeat center center;
}

a.submitButton img {
  background: url(../images/icons/light_submit.gif) no-repeat center center;
}


/**************************************************************
   Posts
 **************************************************************/

.post {
  float: left;
  width: 100% !important;
  width: 99%;
  position: relative;

  margin-bottom: 1.5em;

  border-bottom: 1px solid #CCCCCC;
}

.post .date {
  position: absolute;
  top: 0;
  left: 5px;

  width: 2.3em;
  text-align: right;
}

.post .date .month {
  text-transform: uppercase;
  font: 700 1.0em arial, sans-serif;
  color: #888;
}

.post .date .day {
  display: block;
  margin-top: -5px;
  font: 700 2.1em arial, sans-serif;
  color: #888;
}
.post .title {
  display: block;
  padding: 0 0 5px 0;

  font-size: 1.5em;
  font-weight: bold;font: 400 1.6em arial, sans-serif;
  color: #056FDC; /*#537baf; /* color of the header text on the products*/
}

.post .title1 {
  display: block;
  padding: 0 0 5px 30px;

  font-size: 1.5em;
  font-weight: bold;font: 400 1.6em arial, sans-serif;
  color: #056FDC; /*#537baf; /* color of the header text on the products*/
}
.post .title a{
  
  color: #056FDC; /*#537baf; /* color of the header text on the products*/
}
.post .title a:hover{

  color: #c400c4; /* color of the header text on the products*/
}
.post p {
  margin: 0 0 0 3.5em;
  padding:  0 0 1em 1.2em;
  /*border-left: 1px solid #CCCCCC;*/
}



/**************************************************************
   Thumbnail Lists
 **************************************************************/

ul.thumbs,
ul.thumbs li {
  margin: 0;
  padding: 0;
}

ul.thumbs li {
  margin: 0 0 15px 0 !important;
  margin: 0;
  padding: 0px;
  list-style: none;
}

a.thumb img {
  
  border: 5px solid #ccc;  
}

a:hover.thumb img {
  background: #8EB4C6;
  border: 5px solid #668FA3;
}

a:hover.thumb {
  background: none;
}

a.thumb span {
  display: block;
  margin-top: -5px !important;
  margin-top: -2px;
}



/**************************************************************
   Submenu Styles
 **************************************************************/

ul.submenu1,
ul.submenu2 {
  margin: 0 0 20px 0;
  padding: 0;
}

ul.submenu1 li,
ul.submenu2 li{
  margin: 0;
  padding: 0;
  list-style: none;
  list-style-image: url(foo.gif); /* because IE is balls */
}

ul.submenu1 li a,
ul.submenu2 li a {
  display: block;
  height: auto !important;

  /* Start hide from IE Mac \*/
  height: 1%;
  /* End hide from IE Mac */

  padding: 1px 5px 1px 20px;
}

ul.submenu1 li a {
  background: url(../images/bg/submenu1.gif) no-repeat 5px 50%;
}

ul.submenu1 a:hover {
  color: #426F85;
  background: #B3C6C4 url(../images/bg/submenu1.gif) no-repeat 5px 50%;
}

ul.submenu2 li a {
  color: #426F85;
  background: url(../images/bg/submenu2.gif) no-repeat 3px 50%;
}

ul.submenu2 a:hover {
  color: #426F85;
  background: #B3C6C4 url(../images/bg/submenu2.gif) no-repeat 3px 50%;
}






/**************************************************************
   Generic Display 
 **************************************************************/


.block {
  display: block;
}

.clear {
  clear: both;
}

.marginRight {
  margin-right: 15px;
}
.marginLeft {
  margin-right: 15px;
}
.paddingLeft {
  padding-left: 15px;
}

.paddingRight {
  padding-right: 5px;
}

.floatLeft {
  float: left;
}

.floatRight {
  float: right;
}

.alignLeft {
  text-align: left;
}

.alignRight {
  text-align: right;
}

.alignTop {
  vertical-align: top;
}

.alignMiddle {
  vertical-align: middle;
}

.alignBottom {
  vertical-align: bottom;
}

.paddingTop {
  padding-top: 10px;
}
.paddingBottom {
  padding-bottom: 10px;
}



/* ML added*/
.alignCenter{
  text-align:center;}
  
.titleIndexPage
   {  /*  background: #FDE88B;*/
    /*font:  1.6em  arial, sans-serif;*/
  color: #536C71;
  border: 1px solid #ddd;  /* draws a line around a div for debug*/
}

/* ML added*/
IMG.centered {
    display: block;
    margin-left: auto;
    margin-right: auto }

IMG.floatRight {
    float: right;
    margin: 2em;
  }
  
IMG.floatLeftIndex {
    float: left;
    /*margin: 2em;*/
    padding:5px 20px 5px 10px;
    }

IMG.floatRightIndex {
    float: right;
    /*margin: 2em;*/
    padding:5px 20px 5px 20px;
    }

.lightBlueBg {
  background-color: #EAF2F5;
}

.niceBlueBg {
  background-color: #b0d0f3;
}

.whiteBg {
  background-color: #ffffff;
}

.dark {
  color: #056FDC; /*#537baf; /*original dark #353E47;*/
}
.charcoal {
  color: #4f4f4f;
}
.pink {
  color: #c400c4;
}
