/* My entry to the "fall"(Autumn) OSWD contest */

body { margin: 0; padding: 0; text-align: center; background: url('images/inox.jpg');}


/* Below:  All these are global styles applied to everything.  However, they can be overwritten later in the CSS */
* {margin: 0; padding: 0; border: 0; text-align: center; font-family: Verdana, Arial, sans-serif; font-size: 13px; line-height: 18px; color: #999 }


/* main nav */


/* Layout */

#container { /* the container contains all the divs and makes sure they are centrally aligned.  Note that IE uses the text-align: center; in the body to align everything centrally */
	margin: 0 auto; 
	width: 770px; 
	/*background: url('images/logoricard2.jpg') no-repeat top left;*/
	
	}

#navarea { width: 770px; height: 50px; background: transparent } /* This div allows an area for the main navigation tabs */

#hdr {  /* header/banner area */
	width: 770px;
	height: 151px;
	background:  transparent;
	margin-top: 5px;
}

#intro {
	width: 100%;
	height:408px;
	margin-top:25px;
}


#lftcol {  /* left column showing the extra info on the left side of the main column */
	float: left;
	width: 200px;
	background:transparent;
}

#maincol {  /* main column where the main text etc is located */
	float: right;
	width: 570px;
	height:408px;
	background:url('images/fonscont3.jpg') no-repeat #ffffff;
}

#legal {  /* quadre dels popups */
	float: center;
}

#legal p {  
    color: #ffffff; 
	margin: 10px 40px 5px 25px; 
	letter-spacing: 0px;
	text-align:justify;
}

#legal h1,h2 {    /* Styles for the main column headers */
	margin: 5px 10px 5px 25px; 
	font-family: Verdana, Georgia, serif; 
	font-size: 19px; 
	font-weight: 100; 
	line-height: 19px; 
	color: #31039A; 
	letter-spacing: 2px;
	 }

#bttmbar {  /* bottom bar houses the copyright information and the bottom navigation */
	margin-bottom: 20px;
	float: right;
	width: 570px;
	height: 30px;
	background: url('images/contentbaix2.gif') no-repeat #ffffff; /* Adds the rounded corner image to the bottom */
	overflow: hidden;
}

#bttmbar span#copyright {   /*styles for the copyright text */
	margin-left: 10px;
	float: left;
	line-height: 30px;
	text-align: right;
	font-size: 9px; 
	color: #6488F7;
}

#bttmbar span#copyright img {   /*styles for the copyright text */
	margin-left: 10px;
	margin-bottom:-9px;
}
/* Text styles */

/* Below is the style for the main site title */


#sitetitle { /* Styles for the main site title */
	position: relative;
	top: 20px;  /* shifts text into exact position */
	left: 445px;  /* shifts text into exact position */
	font-family: Georgia, serif; 
	font-size: 26px; 
	line-height: 40px;
	font-weight: 100;  /* 100 is the thinnest font weight */
	color: #FF9933; /* nice light orange "autumn" type colour */
	letter-spacing: 8px /* spaces out the letters a bit */
	}
	
#subtitle {  /* Styles for the sites subtitle */
	position: relative;
	top: 24px;  /* shifts text into exact position */
	left: 475px;  /* shifts text into exact position */
	font-size: 12px; 
	font-weight: normal;
	line-height: 18px;
	color: #6488F7;
	letter-spacing: 3px /* spaces out the letters a bit */
	}
	
#subtitle a {   /* Styles for any links in the sub title */
	font-size: 12px; 
	font-weight: normal;
	line-height: 18px;
	color: #6488F7;
	letter-spacing: 3px; /* spaces out the letters a bit */
	text-decoration: none;
	border-bottom: 1px dashed #496FE4;
}
	
#subtitle a:hover {   /* Styles for any links in the sub title, hover state */
	color: #FFF000; 
	text-decoration: none;
	border-bottom: 1px dashed #FFF000;
	}

#maincol p { 
    color: #ffffff; 
	margin: 10px 40px 5px 40px; 
	letter-spacing: 0px;
	text-align:justify; }  /* paragraph text in the main column */

#maincol h1,h2 {    /* Styles for the main column headers */
	margin: 5px 10px 5px 25px; 
	font-family: Verdana, Georgia, serif; 
	font-size: 19px; 
	font-weight: 100; 
	line-height: 19px; 
	color: #6488F7; 
	letter-spacing: 2px;
	 }  /* headings in the main column */

#maincol .serveis {    /* These are the styles for the blog dates */
	margin-left: 35px; 
	font-size: 15px; 
	color: #3B0096;
}

#maincol img {
    margin-left:28px;
	margin-top:10px;
	border: 2px solid #E1EBF5;
	}

#maincol a:link, #maincol a:visited {   /* These are the styles for the Main column links */
	color:#ffffff;
	text-decoration: none;
	border-bottom:1px dotted;
}

#maincol a:hover, #maincol a:active {   /* These are the styles for the Main column links */
	color: #370197;
	text-decoration: none;	
}

#lftcol a:link, #lftcol a:visited {   /* These are the styles for the left column links */
	padding-left: 11px;
	font-size:13px;
	color: #ffffff;
	text-decoration: none;
	text-align: left;
	background: url('images/fle1.gif') no-repeat left;
}
	
#lftcol a:hover, #lftcol a:active {    /* These are the styles for the left column links */
	padding-left: 11px;
	color: #370197;
	text-decoration: none;
	text-align: left;
	background: url('images/fle2.gif') no-repeat left;
}
	
	
.leftcolbox h1,h2,h3 {   /* Titles in the left column */
	font-family: Verdana, Arial, sans-serif;
	margin: 9px 15px 3px 25px;
	font-weight: bold;
	color: #3B0096;
	letter-spacing: 0;
	font-size: 14px;
	line-height: 14px;	
}

/* Main Nav */

#nav   /* Main nav */
{
	float: center;
	margin:0 0 0 40px;
	white-space: nowrap;
}

#nav li  /* Main nav list items */
{
	font-size: 10px;
	float: left;
	list-style: none;
	line-height: 21px; /* height of the tab */
	text-align: center
}

#nav a {   /* Main nav styles for all links */
	font-size: 10px;
	padding-left: 5px;
	display: block; /* Although a block suggests a vertical list, the float: right; property under #nav li causes the menu to float to an inline position */
	
	width: 95px; 
	height: 21px;
	line-height: 21px; /* height of the tab */
	text-decoration: none;
	 }

#nav a:link, #nav a:visited  /* Main nav link and visited states */
{
	color: #1C44BC; 
	border-bottom: 2px solid #8599D4;
	background: #E1EBF5; 
}

#nav a:hover, #nav a:active /* Main nav hover and active states */
{
	color: #ffffff; 
	border-bottom: 2px solid #1C44BC;
	background:  #2C0090;
}

/* Other styles */


div.leftcolbox {  /* Use this to create one of the boxes in the left column */
	padding: 0 0 25px 0;
	margin: 0 0 8px 0;
	width: 170px;
	background: url('images/menu2.gif') no-repeat bottom #ffffff;
	overflow: hidden;
	}
	
div.leftcolboxtop { /* This div adds the top rounded corners of the box.  The bottom is included in the leftcolbox div as the background image */
	height: 20px;
	width: 170px;
	background: url('images/menudalt2.gif') no-repeat top #ffffff;
}
	
.leftcolbox p {   /* text style for left col boxes */
	margin: 0 15px 0 25px;
	font-size: 12px;
	line-height: 16px;
	color: #fff;
}

.leftcolbox img { /* Styles for images in the left column boxes */
	margin: 0 auto;
}

acronym {  /* Acronyms are hovered over to reveal their meaning e.g. OSWD = Open Source Web Design */ 
	color: #ccc;
	border-bottom: 1px dashed #ccc;
	cursor: help;  /* To make cursor appear as a help question mark/arrow  */
}

/* Bottom Nav */

#bttmnav { float: right; margin-right: 10px }
#bttmnav li {display: inline; font-weight: normal;}
#bttmnav a {  padding-left: 10px; font-size: 9px; line-height: 30px; }
#bttmnav a:link, #bttmnav a:visited { color: #6488F7; }
#bttmnav a:hover, #bttmnav a:active { text-decoration: none; color: #6488F7; }

/* Normal lists */


#maincol ul {   /* styles main area unordered(bulleted) lists */
	margin-top: 15px; /* This margin is the top margin of the WHOLE list, hence why it is specified in ul and not li */
	margin-bottom: 15px; /* This margin is the bottom margin of the WHOLE list, hence why it is specified in ul and not li */
	margin-left: 30px; /* This margin is the bottom margin of the WHOLE list, hence why it is specified in ul and not li */
	list-style: square; /* This controls the bullet point style. */
}

#maincol li {  /* List items in the main column */
	color: #ffffff;
	margin-left: 10px /* This margin acts as an indent for each list item.  Indenting the whole list doesn't work well in IE. */
}

#maincol ol {   /* styles main area ordered(numbered) lists */
  margin-top: 15px; 
  margin-bottom: 15px; 
  margin-left: 25px;
  list-style-type:  decimal;
 }

