/* Creative Infusion Stylesheet */
/* Creative Infusion Site Styles */

/* --------------------------------- General Display --------------------------------*/

body{
	background:#BA1F61 url(../images/background.jpg) repeat-x; /* background gradient with colour for below image set darkest gradient*/
	font-family:Geneva, Arial, Helvetica, sans-serif; /* default font family to be inherited for all text including alt tags */
	font-size:12px; /* default font size for all text */
	margin:0; padding:0;
}

hr {display:none;} /* Only display the horizontal rules if CSS is turned off */

#line {
	background-image: url(../images/divider.gif);
	background-repeat: no-repeat;
	margin-top: 2px;
	height: 1px;
	width: 421px;	
}

#longline {
	background-image: url(../images/divider.gif);
	background-repeat: repeat-x;
	margin-top: 5px;
	height: 1px;
	width: 700px;
}

/* -------------------------------- General Structure -------------------------------*/

#container {
	position:relative;
	margin: 0 auto;
	width: 801px; /* width of page content image */
	background:#f8f8f6 url(../images/page_background.jpg) repeat-y; /* main page content with edge effect, colour set to use if images off */
	color:#666666;
}

/* ----------------------------------- Banner: Logo -------------------------------*/

#banner{
	width:801px;
	height: 165px;
	text-align:left; /* for the logo and alt text */
}

#flash_insert{
	position: absolute;
	top: 0px;
	left: 384px;
}

/* ----------------------------------- Quote Box ----------------------------------*/

#quotebox {
	width: 705px;
	height: 83px;
	display: block;
	background-color: #f2f0f2;
	margin: 0px 0px 15px 47px;
	text-align:center;
}

#quote {
	position: absolute;
	top: 180px;
	left: 65px;
	width: 680px;
}

/* --------------------------------- Main Content ---------------------------------*/

#content{
	position:relative;
	width:707px;
	z-index:2; /* positions content over the top of the scroll image from the footer */
	margin:0 auto;
}

.block {
	clear:both;
	padding-top:20px;
}

.main {
	clear:left;
	float:left;
	width:425px;
}

.side {
	clear:right;
	float: right;
}

/* fix clearing in firefox */
#content:after{
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
}

/* --------------------------------- Fonts --------------------------------*/

h1, h2, h3, h4, h5, p {margin:0;padding:0;}

h1 {
	padding: 13px 0px 0px 0px;
	color: #ae0c51;
	font-size: 16px;
}

h1.logo{
	padding: 105px 0px 0px 47px;
}

h2 {
	font-family:"Trebuchet MS", Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6em;
}

h3 {
	font-family:"Trebuchet MS", Helvetica, Arial, sans-serif;
	font-size: 17px;
	padding: 15px 0px 0px 0px;
	color: #AB3567;
	font-weight: normal;
}

h4 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #AB3567;
	padding-top: 15px;
	font-size: 11px;
}

h5 {
	font-size: 11px;
	font-weight: normal;
	padding: 3px 0px 0px 8px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

p {
	padding-top: 5px;
	line-height: 16px;
}

a {
	cursor: pointer;
	text-decoration: none;
	color:#333333; /* colour for link text if images are turned off */
}

a:hover, a:focus, a:active {color:#ae0c51;} /* selected text colour*/

.source {
	color: #666666;
	font-size: 11px;
	font-weight: normal;
	margin-top: -10px;
}

.grey {
	color:#666666;
}

.article_text {
	padding: 8px 5px 5px 8px;
	font-size: 10px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	margin:0;
}

a.border {
	border-bottom: 1px dotted #666666;
}
.picture {
	padding: 8px 0px 0px 6px;
}

.heading {
	display: block;
	height: 20px;
	width: 231px;
	border-bottom: 1px solid #d4d3d2;
	background: #f3f2ee;
}

/* ------------------------------------- Menu -------------------------------------*/

#menubar{
	margin:0; padding:0 0 0 20px;
	float:left;
	width:763px; /*width is necessary for the float*/ 
	height:35px;
	overflow: hidden;
	position:relative;
/*	background-color: #000; /* menu background colour if images are turned off */
	z-index:3; /* firefox needs this to position menu bar over the top of later content allowing links to work*/
}

#menubar ul{ 
	list-style-type:none; /*removes bullets from the list*/ 
	text-align:center; /*aligns the text to what should end up as the center of each graphical button*/
	margin:0; padding:0;
} 
#menubar ul li{ 
	display:inline; /*extra step to get IE to display link list horizontally*/ 
} 
#menubar ul li a{
	display:block; /*makes the anchor fill the list item so clicking any part of the graphical button will work, also allows the anchor to take a width*/
	float:left; /*the key to making the list horizontal*/
	line-height:35px; /*set equal to the height of the navbar image. Using line-height, rather than height, will get the text aligned to the vertical centre of the button*/
	font-size:120%;
	font-weight:bold;
	text-decoration:underline; /* stop text link underlining if images are turned off */
	border-bottom-style: none; /* tidy up later */
} 
#menubar ul li a span {
	position:relative;
	left:0px;
	top:-35px;
	display:block;
	height:35px;
	background-repeat: no-repeat;
	background-position:0 0;
	overflow:hidden;
}

/* Set width and image on each span (if all equal set individual width on anchor instead.
Make sure the combined width doesn't exceed the total width of the menu bar */

#menubar ul li a span#menu_home{
	background-image:url(../images/menu_home.gif);
	width:107px;
}
#menubar ul li a span#menu_about{
	width:131px;
	background-image:url(../images/menu_aboutus.gif);
}
#menubar ul li a span#menu_services{
	width:129px;
	background-image:url(../images/menu_services.gif);
}
#menubar ul li a span#menu_port{
	width:135px;
	background-image:url(../images/menu_portfolio.gif);
}
#menubar ul li a span#menu_articles{
	width:129px;
	background-image:url(../images/menu_articles.gif);
}
#menubar ul li a span#menu_contact{
	width:132px;
	background-image:url(../images/menu_contact.gif);
}

#menubar ul li a:link span, #navbar ul li a:visited span{ background-position: 0 0;} /* image in base position */
#menubar ul li a:hover span, #navbar ul li a:focus span, #navbar ul li a:active span { background-position: 0 -35px;} /* shift image up to selected position */

/* ------------------------------------ Footer ------------------------------------*/

#footer{
	position:absolute;
	width:100%; /* fix opera for footertext */
	bottom:-40px;
	z-index:1;
/*	top:90%; /* position the footer so that the scroll image is moved up behind the content */
	background:#f8f8f6 url(../images/page_background.jpg) repeat-y; /* main page content with edge effect, colour set to use if images off */
}

#footertext{
	position:absolute;
	bottom:15px;
	right:47px;
	text-align:right;
	width:100%; /* fix firefox text align right */
	font-size:9px; /* fix IE spacing on link */
}

.compress{
	font-size:9px;
	line-height:120%;
	color:#999999;
	text-decoration:none;
	padding:0;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

#footerbottom{
	width: 801px;
	height: 160px;
	background: url(../images/bottom.gif) no-repeat; /* main page content with edge effect, colour set to use if images off */
}

