/* 
	Lee-Cann Creative - Main Stylesheet
*/

@import url("reset.css");

body {
	background-color: #ddd; /* Keep Pixeldiva happy! */ 
	color: #000; 
	margin: 0;
	padding: 0;  
	font-family: arial, helvetica, sans-serif;   
}               

#header-wrapper {
	background-color: #fff;
} 

#header {
	position: relative;
	width: 960px;
	margin: 0 auto; 
}

	#header h1 {
		background: url(/images/logo.png) no-repeat 20px 50% #fff;
		height: 120px; 
		text-indent: -9999px;   
		font-size: 24pt;
		font-weight: bold;
	}

#content {
	margin: 20px auto;  
	width: 960px;
} 

	#content p {
		margin: 0.5em 0;
		line-height: 140%;
	}
	
	#content ul {
		list-style-type: square;
		margin-left: 1.5em;
	} 
	
	#content img {
		border: 5px #ccc solid;
	} 
		
#footer {
	margin: 5em auto 1em auto;
	text-align: center;
	color: #666; 
	font-size: 80%;
}

.page-title {
	background: url(/images/page-title.jpg) repeat-x 0% 0% #333;
	color: #fff;           
	padding: 2em 0 0 0;  
	margin: 0 auto;
	text-align: center; 
}     

.page-title a {
	color: #fff;
	text-decoration: none;
}

	.page-title h2, .page-title h3 {
		/* font-family: "ff-enzo-web-1","ff-enzo-web-2", helvetica, arial, sans-serif; */
		font-family: "proxima-nova-1","proxima-nova-2", helvetica, arial, sans-serif;
		width: 800px;
		margin: 0 auto;
		line-height: 125%;
		font-weight: normal;
		text-shadow: #000 2px 2px 2px;
	}                     
	
	.page-title h2 {
		font-size: 200%;  
		margin-bottom: 0.25em;
	}           

	.page-title h3 {
		font-size: 150%;
		margin-bottom: 1em;
	}
	
	h4 {
		color: #a00;
		clear: left;
		font-size: 150%; 
		margin-top: 2em;
		text-align: left;
	}
	
#content ul.columns {
	list-style-type: none;
	margin-left: 0;
}                         

	#content .columns li {
		float: left;
		margin-right: 20px;
		text-align: center;
		margin-bottom: 20px;
	}

	#content .columns li.last {
		margin-right: 0;
	}
		
	#content .columns li a {
		color: #666;
		font-weight: bold;
		width: 460px;
		display: block;
	}
	
	#content .columns li img {
		border: 5px #ccc solid;
		display: block;
		margin-bottom: 0.25em;
	}
	
	#content .columns a:hover img, 
	#content .columns a:focus img {
		border-color: #c00;
	}  
	
	#content .columns a:hover,
	#content .columns a:focus {
		color: #c00;
	}
     
/* Navigation */ 
.actions {
	margin: 1.5em 0;
	text-align: center;
}                

.actions a {
	background-color: #df2323;
	background-image: url(/images/actions-bg.png);
	background-position: 0% 50%;
	background-repeat: no-repeat; 
	color: #fff;
	padding: 0.75em 1em;  
	border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px; 
	margin-right: 0.5em;
} 

.actions a:hover, .actions a:focus {
	background-color: #ff1716;
	background-position: 100% 50%;
}

ul.nav {
	list-style-type: none;
	height: 47px;
	padding: 0;
	margin: 0;
	display: block;
	position: absolute; 
	right: 30px;
	bottom: -18px;
}

	ul.nav li {
		float: left;
		margin-right: -12px;
	}        
    
	ul.nav a {
		background-repeat: no-repeat;
		background-position: 0px -47px;
		width: 150px;
		height: 47px;  
		display: block; 
		text-indent: -9999px;
	}                             
		
	ul.nav a:hover, ul.nav a:focus, ul.nav li.selected a {
		background-position: 0 0;
	}
	
	li.nav-home a {
		background-image: url(/images/home-sprite.png);
	} 

	li.nav-about a {
		background-image: url(/images/about-sprite.png);
 	}

	li.nav-projects a {
		background-image: url(/images/projects-sprite.png);
 	}

	li.nav-contact a {
		background-image: url(/images/contact-sprite.png); 
	} 

/* Photographs */
.photo {
	float: left;
    margin-right: 20px;
}

/* Forms */
form {
	margin: 0 auto;       
	width: 650px;
}

	form label {
		font-weight: bold;
	}  

	form p {
		margin-bottom: 0.5em;
	}

	input, textarea {
		font-size: 150%;
	} 

	input#contact_name,
	input#contact_email,
	textarea {
		border: 5px #ccc solid;
		padding: 8px;
		width: 650px; 
	} 

/* Rails Validation & Messages */
#flash_notice, #flash_error {
  padding: 5px 8px;
  margin: 10px 0;
}

#flash_notice {
  background-color: #CFC;
  border: solid 1px #6C6;
}

#flash_error {
  background-color: #FCC;
  border: solid 1px #C66;
}

.fieldWithErrors {
	display: inline;
}

	.fieldWithErrors label {
		color: #c00;
	}

#errorExplanation {
  width: 400px;
  border: 2px solid #CF0000;
  padding: 0px;
  padding-bottom: 12px;
  margin-bottom: 20px;
  background-color: #f0f0f0;
}

	#errorExplanation h2 {
	  text-align: left;
	  font-weight: bold;
	  padding: 5px 5px 5px 15px;
	  font-size: 12px;
	  margin: 0;
	  background-color: #c00;
	  color: #fff;
	}

	#errorExplanation p {
	  color: #333;
	  margin-bottom: 0;
	  padding: 8px;
	}

	#errorExplanation ul {
	  margin: 2px 24px;
	}

		#errorExplanation ul li {
		  font-size: 12px;
		  list-style: disc;
		}      

/* Self-clearing floats */
.group:after {
	content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
    } 

*:first-child+html .group {
	min-height: 1px;
}
