/*
| Cascading Style Sheet for Crystal Web Solutions website
+------------------------------------------------------------
| Theme Name: Crystal Web Solutions
| Description: Crystal Web Solutions - London Web Design studio
| Author: London Web Design studio
| Copyright (c) 2008 Crystal Web Solutions
| Author URI: http://www.crystal-web.co.uk
+------------------------------------------------------------ */

html, body { 
 	margin:0; 
 	padding:0; 
 	text-align:left; 
 	background: url(images/bodybg.jpg) left top #dfeafe repeat-x;
 	height: 100%;
 	min-height: 300px; } 

p, br { 
	margin: 0;
	line-height: 1.3; 
	font-weight: normal;} 

#pagewidth { 
 width:998px; 
 text-align:left;  
 margin: 0 auto;  
 border-left: 1px solid #99ccff;
 border-right: 1px solid #99ccff;
 background: transparent; } 

#wrapper {
	background: transparent;
	font: normal 12px Arial, Verdana, Helvetica, sans-serif;
	color:#003366;
	text-align: left;
	margin: 0;
	display: block;
	line-height: 1;
	clear:both; }

	
/* -- HYPERLINKS -- */
a, a:link { 
	color: #0099cc;
	outline: none;
	text-decoration: none; }
	
a:visited {
	text-decoration: none; }
	
a:hover {
	color:#bedefd;
	text-decoration: underline; }
	
a:active, a:focus {
	text-decoration: underline; 
	outline: none; } 

	
/* -- TYPHOGRAPHY -- */
h1 {
	font: bold 22px Arial, Verdana, Helvetica, sans-serif;
	color:#003366; } 

#maincol h1 {
	margin: 20px 0 7px 0;}
	
h2 {
	font: bold 16px Arial, Verdana, Helvetica, sans-serif;
	color:#0099cc; } 
	
h2 a {
	font: bold 16px Arial, Verdana, Helvetica, sans-serif;
	color:#003366; } 
	
h2.bullet, h3.bullet {
	display: list-item;
	height:24px;
	padding-left: 30px;
	list-style: none;
	margin:0; }
	
#maincol h2 {
	margin-left: 5px; }
	
#leftcol h2 {
	margin-top: 30px; }

h3, h3 a {
	font: bold italic 12px Arial, Verdana, Helvetica, sans-serif;
	color:#0099cc; 
	text-decoration: none;} 
	
h3 a:hover {
	color:#003366; 
	text-decoration: none;} 

#maincol h3 {
	margin-top: 30px; }
		
h4 {
	font: bold 22px Arial, Verdana, Helvetica, sans-serif;
	color:#003366; } 
	
h4 a, h4 a:link, 
h4 a:active, h4 a:visited {
	font: bold 22px Arial, Verdana, Helvetica, sans-serif;
	color:#0099cc;
	text-decoration: none; } 
	
h4 a:hover {
	text-decoration: none;
	color:#99ccff; }
	
#maincol h4 {
	margin: 0;
	padding: 0;}


/* -- HEADER -- */ 
#header{
 position:relative; 
 height:298px; 
 background-color:#003466; 
 width:998px;
 margin: 0 auto;
 display: block; 
 float: left;} 

#header_top{
 position:relative; 
 height:48px; 
 background-color:#003466; 
 display: inline;
 clear: both;
 float: left; } 

#header_top img {
 position:relative; 
 background:#003466;
 height:30px; 
 float:left;
 margin-left: 35px;
 padding-top: 9px; } 

#header_top p {
	float: right;
	padding-right: 20px;
	margin-top:20px;
	font: bold 13px Tahoma, Arial, Verdana, sans-serif;
	color:#bedefd; }

#headerbtm {
	position:relative;
 	height:250px; 
 	width:998px;
	display: inline;
	float: left;
	margin: 0;
	padding: 0;
	clear: both; }
	
#picture {
	position:relative;
 	height:250px; 
 	width:660px;
	float: right;
	display:block;
	margin: 0;
	padding: 0;
	clear: right; }

#picture img {
	margin: 0;
	padding: 0;
	position: relative;
	float: right; }

	
/* -- MAIN MENU -- */ 
#menu {
	background: url(images/menu_bg.jpg) top left no-repeat;
	position: relative;
	display: block;
	float: left;
	clear: left;
	width: 337px;
	height:250px;
	margin:0; 
	padding: 0; }

#menu ul {
	position: relative;
	margin:0;
	padding:0;
	display: block;
	width: 333px;
	height: 140px;
	padding-top: 95px;
	list-style: none;
	float: left; }  

#menu li {
	position: relative;
	display:block;
	line-height:28px;
	height:28px;
	width: 330px;
	padding: 0;
	float: right;
	font: normal 18px Arial, Verdana, Helvetica, sans-serif;
	color:#0099cc;
	text-align: right;	
	text-decoration: none; }

#menu li a {
	position: relative;
	display:block;
	vertical-align: middle;
	line-height:28px;
	height:28px;
	width: 330px;
	float: right;
	padding-top: 2px;
	font: normal 18px Arial, Verdana, Helvetica, sans-serif;
	color:#0099cc;
	text-decoration: none;}

#menu a:link, #menu a:visited {
	background: transparent;
	color:#0099cc;
	text-decoration: none; }

#menu a:active, #menu a:focus,
#menu a:hover {
	background: url(images/hover.jpg) repeat-y;
	color:#bedefd;
	text-decoration: none;
	width: 330px;
	height: 28px;
	margin-right: -4px;}

/* -- mainmenu color lines -- */
#menu .lilac a:hover, #menu .lilac a:active {border-right: solid 4px #c4b8db;}
#menu .orange a:hover, #menu .orange a:active {border-right: solid 4px #f5c598;}
#menu .yellow a:hover, #menu .yellow a:active {border-right: solid 4px #fbe690;}
#menu .green a:hover, #menu .green a:active {border-right: solid 4px #d1fa8a;}
#menu .pink a:hover, #menu .pink a:active {border-right: solid 4px #f4bcd6;}


/* -- LEFT COLUMN -- */ 
#leftcol, .ftr_left {
 	float:left; 
	position:relative; 
 	background: transparent;
 	clear: left;
 	width:338px; 
 	height:100%;}

#leftcol .leftcol {
	padding: 0 10px 30px 15px;}

#kare {
	position: relative;
	float: left;
	display: block;
	width: 338px;
	height: 100%;
	margin:0;
	padding-left: 10px;
	padding-bottom: 30px;
	margin-top: 2px;}

#lilac .leftcol, #orange .leftcol,
#yellow .leftcol, #green .leftcol, #pink .leftcol { 
	padding-top: 80px; }

.kare#lilac, .kare#orange, 
.kare#yellow, .kare#green, .kare#pink {
	width: 325px;
	height: 100%;
	min-height: 75px;	 
	padding-bottom: 10px; }

.kare#lilac {
	background: url(images/kare_lilac.jpg) 0 0 no-repeat;}
.kare#orange {
	background: url(images/kare_orange.jpg) 0 0 no-repeat;}
.kare#yellow {
	background: url(images/kare_yellow.jpg) 0 0 no-repeat;}
.kare#green {
	background: url(images/kare_green.jpg) 0 0 no-repeat;}
.kare#pink {
	background: url(images/kare_pink.jpg) 0 0 no-repeat;}
.kare#yellow_portfolio {
	background: url(images/kare_yellow_portfolio.jpg) 0 0 no-repeat;}
.kare#orange_services {
	background: url(images/kare_orange_services.jpg) 0 0 no-repeat;}
.kare#green_other {
	background: url(images/kare_green_other.jpg) 0 0 no-repeat;}
.kare#pink_contacts {
	background: url(images/kare_pink_contacts.jpg) 0 0 no-repeat;}
	
/* -- portfolio frames -- */  
#leftcol #frame {
	padding: 0 10px 20px 15px;} 

#frame {
	position: relative;
	float: left;
	display: block;
	width: 338px;
	height: 100%;
	margin:0;
	padding-left: 10px;
	padding-bottom: 30px;
	margin-top: 2px; }

.kare#yellow_portfolio .leftcol,
.kare#orange_services .leftcol,
.kare#green_other .leftcol,
.kare#pink_contacts .leftcol {
	padding-top: 80px;}
	
.kare#yellow_portfolio,
.kare#orange_services,
.kare#green_other,
.kare#pink_contacts {
	width: 325px;
	height: 100%;
	min-height: 75px;	}
	
.imgframe {
	background: url(images/imgframe.jpg) top left no-repeat;
	height: 170px;
	width: 220px;
	display: block;
	float: right;
	padding-right: 50px;
	padding-bottom: 20px; }

.imgframe img.thumbnail {
	display: inline;
	float: right;
	padding-left: 20px;
	padding-top: 20px;}


/* -- MAIN COLUMN -- */ 
#maincol {
 	background-color:transparent; 
 	float: right; 
 	display:block; 
 	position: relative; 
 	width:660px; 
	height:100%;
	clear: right; 
	padding-bottom: 30px; }

#maincol .content {
	padding: 20px 15px 0 35px; 
	margin: 0;}

.content  {
	float: left;
	position: relative;
	margin:0;
	padding: 0;}	

#maincol .projects {
	padding-bottom: 20px; 
	margin: 0;}
	
#projects {
	position: relative;
	display: inline;
	float: left;
	height:100%;
	padding-bottom: 30px;
	margin: 60px 15px 0 0;}
	
.projects {
	height: 100%;
	display: block;
	float: left;} 
	
#projects .projects {	
	margin: 0;
	padding-bottom:65px;}	

#maincol img.toptitle {
	padding-bottom: 28px; }

/* -- bottom page navigation -- */
#paging {
 	background:transparent; 
 	position: relative;
 	display: inline;
 	clear:both; 
 	margin: 0 auto;
 	width: 998px;
  	height:75px; }

.paging_next {
	float: right; 
	clear: right;	
	padding-bottom: 2px;
	padding-right: 15px; }
	
.paging_goback {
	position: relative;
	float: left; 
	clear: left;
	padding-bottom: 2px;
	padding-left: 10px; }
	
	
/* -- FOOTER -- */ 
.ftr_right {
 	background-color:transparent; 
 	float: right; 
 	display:block; 
 	position: relative; 
 	width:660px; 
 	clear: right; }
	
#footer_bg {
 	background: url(images/ftrbg.jpg) top left #6195C7 repeat-x; 
 	clear:both;
 	width: 100%;
 	height:auto; 
 	min-height:49px;
 	float:left; } 

#footer {
 	background:transparent; 
 	clear:both;
 	position: relative;
 	margin: 0 auto;
 	width: 998px;
 	height: auto;
 	min-height:49px;  
 	border-left: 1px solid #99ccff;
 	border-right: 1px solid #99ccff;
 	font: normal 11px Arial, Verdana, Helvetica, sans-serif;
 	color:#99ccff; } 

.ftr_left, .ftr_right {
	text-align: center; }


/* -- OTHER ELEMENTS -- */
.bullet {
	background: url(images/bullet.jpg) left top no-repeat;
	min-width: 23px;
	display: block; 
	line-height: 16px;
	margin: 0;
	padding:0; }

.bckgr {
	background: url(images/gallery_bg.jpg) top left repeat-x;
	height: 220px;
	width: 570px;
	position: relative;
	display: block; }
	
#leftcol .address {
	margin-left: 30px; 
	padding-bottom: 20px;}
	
/* BEGIN CONTACT FORM
---------------------------- */
#contactform {
	float: left;
	text-align: left;
	margin: 0;	
	padding-bottom: 30px;
	padding-top: 20px; }

#contactform form#form1 {
	text-align: left;
	float: left;
	font: bold 12px Arial, Verdana;
	color:#3399cc; }

#contactform form select.myform option {
	background: #dfeafe;
	margin: 0;
	border: none;
	width: 100%;
	height: 100%;
	display: block;
	line-height: 18px;
	padding: 0 0 5px 5px; } 

#contactform form select.myform,
#contactform form input.personaldate {	
	outline: none;
	border: 1px solid #006699;
	font: normal 11px Verdana, Arial;	
	color: #002e58; }
	

#contactform form textarea#message {	
	border: 1px solid #006699;
	font: normal 11px Verdana, Arial;
	padding-left: 3px;
	color: #002e58; } 

#contactform form input.personaldate {
	background: url(images/sbox_bg.jpg) transparent repeat-x;
	padding-left: 3px; }
	
#contactform form select.myform {
	background: url(images/sbox_bg.jpg) transparent repeat-x;
}
#contactform form textarea#address {
	background: url(images/sbox_bgmid.jpg) repeat-x; }
	
#contactform form textarea#message {
	background: url(images/sbox_bgbig.jpg) repeat-x; 
	outline: none;}

#contactform form input.personaldate {
	width: 220px;
	height: 16px;
	padding-top:4px; }
	
#contactform form select.myform {
	width: 220px;
	height: 20px;
	padding-top:0; }
	
#contactform form input#address {
	width: 250px;
	height: 70px; }
	
#contactform form textarea#message {
	width: 400px;
	height: 140px;
	padding-top:2px; }

#contactform form div#buttons {
	position: relative;
	display: inline;
	clear:both;
	float: left;
	width: 220px;
	height: 100%; }
	
#contactform form input.button_left {
	float: left;
	margin-right: 10px; }
	
#contactform form input.button_right {
	float: right; }
	
#contactform form input.button_left,
#contactform form input.button_right {
	background: url(images/btn_bg.jpg) repeat-x; 
	width: 80px;
	height: 24px;
	font: bold 11px Verdana,Arial;
	color: #dfeafe;
	text-align: center;
	border: 1px solid #002e58;
	margin-top: 20px; 
	float: left;
	cursor: auto; }
	
#contactform form div.warning {
	color:#002e58; 
	font: bold 11px  Arial, Verdana;
	float:left; }
	
#contactform form div.notes {
	color: red; 
	font: normal 11px Verdana, Arial;
	float:left;
	margin-top:10px; } 


 /* *** Float containers fix:
 http://www.csscreator.com/attributes/containedfloat.php *** */ 
.clearfix:after {
 content: "."; 
 display: block; 
 height: 0; 
 clear: both; 
 visibility: hidden; }
 
.clearfix{display: inline;}

/* Hides from IE-mac \*/
* html .clearfix{height: 1%;}
.clearfix{display: block;}
/* End hide from IE-mac */  


 
 /*printer styles*/ 
 @media print{ 
/*hide the left column when printing*/ 
#leftcol{display:none;} 
#twocols, #maincol{width:100%; float:none;}
}

