/* Start of CMSMS style sheet 'WebMania' */
/********************

LAYOUT STYLING

*********************/


* {
margin:0;
padding:0;
}


body {
   text-align: left;
   font-family: Verdana, Arial, Helvetica, sans-serif;
   font-size: 75.01%;
   line-height: 1em;
}

div {
   font-size: 1em;
}

img {
	border-width: 1px;
	border-style: dashed;
	border-color: #999999;
	padding: 3px;
}

a,
a:link 
a:active
a:visited {

   background-color: inherit; 
	color: #429f00;
	text-decoration: none;
	border-bottom-color: #429f00;
	border-bottom-style: dashed;
	border-bottom-width: 1px;
}

a:hover {
	color: #347e00;
	text-decoration: none;
	border-bottom-color: #474526;
	border-bottom-style: dashed;
	border-bottom-width: 1px;
}

/*****************
basic layout 
*****************/
body {
   background-color: #fff;
   background-image:url(http://www.kirstyjay.com/style-web-site-website-design-hosting-tenerife/bg.gif);
   background-repeat: repeat-y;
   background-position: center;
   color: #666666;
   margin:0;    /* gives some air for the pagewrapper */
}

div#pagewrapper {
   margin: 0 auto;
   width: 760px;
   background-color: #fff;;
   color: black;
}


/*** header ****/
div#header {
   height: 243px;    /* adjust according your image size */
   background: url(http://www.kirstyjay.com/style-web-site-website-design-hosting-tenerife/header.gif) no-repeat 0 0px;    
   border-top: solid 30px #fff;
   border-bottom: solid 5px #fff;
}

div#header h1 a, div#header h1 {
   padding: 100px 0px 0px 20px;
   color: #eeebdd;
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}

/* position for the search box */
div#search {
   float: right;
   width: 23em;    /* enough width for the search input box */
   text-align: right;
   padding: 0.6em 0 0.2em 0;
   margin: 0 1em;
}

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" */
   border-bottom: 1px dashed #666;
}

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

 div#content {
   margin: 1.5em auto 2em 0;   /* some air above and under menu and content */
}


div#main {
   margin-left: 2%; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   margin-right: 32%; /* and some air on the right */
}

div#sidebar {
   float: right;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 29%;     /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX IE double margin bug */
   margin-left: 0;
   background-color: #f2fff7;
}

div#footer {
   clear: both;
   color: #b0b0b0;
   background-color: #fff;
   background-image:url(http://www.kirstyjay.com/style-web-site-website-design-hosting-tenerife/footer-bg.gif);
   background-repeat: repeat-y;
   background-position: center;
}

div#footer p {
   font-size: 0.8em;
   padding: 1.5em;
   text-align: center;
   margin: 0;
}

div#footer p a:link, div#footer p a:active, div#footer p a:visited {
   color: #b0b0b0;
   border-bottom-color: #b0b0b0;
}

div#footer p a:hover {
   color: #666;
   border-bottom-color: #666;
}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   padding: 1em;
   border-bottom: 1px dashed #7c783a;
   margin: 1em;
}

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

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






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

}

/* HEADINGS */
div#content h1 {
   font-size: 2em; /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content h2 {
	color: #56d000; 
	font-size: 1.5em; 
	text-align: left; 
	padding-left: 0.5em;
	padding-bottom: 1px;
	border-bottom: 1px solid #56d000;
        line-height: 1.5em;
        margin: 0 0 0.5em 0;
}
div#content h3 {
   color: #56d000; 
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
div#content h4 {
   color: #56d000; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   color: #56d000; 
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   color: #56d000; 
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/*SIDEBAR*/

div#sidebar h3 {
	font-size: 1.25em;
	color: #81aa64;
	border-bottom: 1px solid #81aa64;
        padding: 5px 10px 5px 10px;
	clear: both;
}

#sidebar ul {
	margin-left: 1em;
	padding-left: 0px;
        padding-bottom: 5px;
}

#sidebar li {
        padding-bottom: 5px;
	list-style-type: none;
}

#sidebar p
{
	margin-bottom: 8px;
	color: #666666;
        padding: 5px 10px 5px 10px;
}

/* 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 #dcdaaa;
   margin-left: 10px;
}
strong, b {
   font-weight: bold;
}
em, i {
   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 #474526;  /* black border for pre blocks */
   background-color: #eeebdd;
   margin: 0 1em 1em 1em;
   padding: 0.5em;
   line-height: 1.5em;
   font-size: 90%;


}

/* Separating the divs on the template explanation page, with some bottom-border */
div.templatecode {
  margin: 0 0 2.5em;
}

/* END TEXT */

/* LISTS */
/* lists in content need some margins to look nice */
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;
}

/* definition lists topics on bold */
div#main dl dt {
   font-weight: bold;
   margin: 0 0 0 1em;
}
div#main dl dd {
   margin: 0 0 1em 1em;
}

div#main dl {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #c7c277;
}


/* END LISTS */



/********************

END LAYOUT STYLING

*********************/





/********************

MENU STYLING

*********************/

#nav

{
	width: 760px;
	color: white;
	background-color: #ffffff;
	opacity: 0.8;
	-moz-opacity: 0.8;
	filter:progid:DXImageTransform.Microsoft.Alpha(opacity=80);
	position: fixed;
	top: 0px;
	margin-left: -380px;
	left: 50%;
	margin-top: 0px;
	padding: 0px;
	z-index: 99;
	_position: absolute;
	_top: expression((dummy = document.documentElement.scrollTop) + "px");
}

/* Horizontal menu for the CMS CSS Menu Module */
/* by Alexander Endresen */

#menu_vert {
   margin-left: 1px;
   margin-right: 1px;
}

/* The wrapper clears the floating elements of the menu */

/* Fix for Opera 8 */
.clearb { clear: both; }
#menuwrapper { 
   /* Fix for Opera 8 */ 
   /*   overflow: hidden;  */ 
   background-color: #fff;
   border-bottom: 1px solid #fff;
   width: 100%;
}

/* Set the width of the menu elements at second level. Leaving first level flexible. */
#primary-nav li li { 
   width: 200px; 
}


/* Unless you know what you do, do not touch this */ 
#primary-nav, #primary-nav ul { 
   list-style: none; 
   margin: 0px; 
   padding: 0px; 
}
#primary-nav ul { 
   position: absolute; 
   top: auto; 
   display: none; 
}
#primary-nav ul ul { 
   margin-top: 1px;
   margin-left: -1px;
   left: 100%; 
   top: 0px; 
}
	
#primary-nav li { 
   margin-left: -1px;
   float: left; 
}
#primary-nav li li { 
   margin-left: 0px;
   margin-top: -1px;
   float: none; 
   position: relative; 
}

/* Styling the basic apperance of the menu elements */
#primary-nav a { 
   display: block; 
   margin: 0px; 
   padding: 5px 10px; 
   text-decoration: none; 
   color: #000;
   font-weight: bold;
   border-bottom: none;
}
#primary-nav li a { 
   border-right: 1px solid #fff;
   border-left: 1px solid #fff;
   border-bottom: none;
}
#primary-nav li li a { 
   border: 1px solid #fff;
   border-bottom: none;
}	
#primary-nav li, #primary-nav li.menuparent { 
   background-color: #fff; 
   border-bottom: none;
}

/* Styling the basic apperance of the active page elements (shows what page in the menu is being displayed) */

#primary-nav li.menuactive { 
   background-color: #fff; 
}


/* Styling the basic apperance of the menuparents - here styled the same on hover (fixes IE bug) */
#primary-nav ul li.menuparent, 
#primary-nav ul li.menuparent:hover, 
#primary-nav ul li.menuparenth { 
/* arrow for menuparents */
   background-image: url(images/cms/arrow.gif); 
   background-position: center right; 
   background-repeat: no-repeat; 
}


/* Styling the apperance of menu items on hover */

#primary-nav li:hover, 
#primary-nav li.menuh, 
#primary-nav li.menuparenth, 
#primary-nav li.menuactiveh { 
   background-color: #ddd; 
}


/* The magic - set to work for up to a 3 level menu, but can be increased unlimited */

/* 
just add 
#primary-nav li:hover ul ul, 
#primary-nav li.menuparenth ul ul ul,
for fourth level 
*/
#primary-nav ul, 
#primary-nav li:hover ul, 
#primary-nav li:hover ul ul, 
#primary-nav li.menuparenth ul, 
#primary-nav li.menuparenth ul ul { 
   display: none; 
}

/* add 
#primary-nav ul ul ul li:hover ul, 
#primary-nav ul ul ul li.menuparenth ul,
for fourth level
*/
#primary-nav li:hover ul, 
#primary-nav ul li:hover ul, 
#primary-nav ul ul li:hover ul, 
#primary-nav li.menuparenth ul, 
#primary-nav ul li.menuparenth ul, 
#primary-nav ul ul li.menuparenth ul { 
   display: block; 
}


/* IE Hacks */
#primary-nav li li { 
   float: left; 
   clear: both; 
}
#primary-nav li li a { 
   height: 1%; 
}




/********************

END MENU STYLING

*********************/






/********************

NEWS STYLING

*********************/


div#news {
  margin: 2em 0 1em 1em;  /* margin for the entire div surrounding the news list */
  border: 1px solid #000; 
  background: #fffddd; 
}

div#news h2 {
   line-height: 2em;
   background: #fffddd;
}

.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 #e9e498; 
}

.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 #e9e498;
  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 NEWS STYLING

*********************/
/* End of 'WebMania' */

