/*
PROJECT: Benoit "LeBen" Burgener Portfolio
VERSION: 2010.1

COPYRIGHT (c) 2010 Benoit Burgener (benoitburgener.ch)
ALL RIGHTS RESERVED
################################################################### */


/* RESET
################################################################### */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}ins{text-decoration:none}del{text-decoration:line-through}table{border-collapse:collapse;border-spacing:0}


/* GLOBAL STRUCTURE
################################################################### */
body {
	font: 87.5% "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #333;
	text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
	background: #989898 url(../../images/bgGrey.gif) repeat;
}

#top {
}
	.blog {
		position: absolute;
		top: 75px;
		right: 0;
	}
		.blog a, .blog a:link, .blog a:active, .blog a:visited {
			display: block;
			width: 60px;
			height: 40px;
			background: transparent url(../../images/blog.png) no-repeat 10px 0;
			border-radius: 0;
			-khtml-border-radius: 0;
			-moz-border-radius: 0;
			-webkit-border-radius: 0;
			-webkit-transition: background-position .2s linear;
		}
		.blog a:hover {
			background-position: 0 0;
		}
		
	#top .content {
		background: transparent url(../../images/bgTopContent.gif) no-repeat top center;
	}

	#header {
		text-align: center;
		padding-top: 50px;
		margin-bottom: 40px;
	}
	
	#projects {
	 	padding: 40px 0;
		/*background: transparent url(../../images/shadow.png) no-repeat;*/
	}
		#projects .medium {
			margin-left: -5px;
		}
	
	.medium .coda-slider-no-js .coda-slider { height: 482px; overflow: auto !important; }
	.medium .coda-slider, .medium .coda-slider .panel { width: 550px; height: 482px }

	.small .coda-slider-no-js .coda-slider { height: 200px; overflow: auto !important; }
	.small .coda-slider, .small .coda-slider .panel { width: 300px; height: 280px }
	
	.coda-slider p.loading { padding: 20px; text-align: center }
	.coda-slider-wrapper { clear: both; overflow: auto }
	.coda-slider { overflow: hidden; position: relative }
	.coda-slider .panel { display: block; float: left }
	.coda-slider .panel-container { position: relative; }
	
	.coda-nav {
		margin-top: 30px;
	}	
		.coda-nav ul {
			float: left;
		}
		.coda-nav li {
			float: left;
			margin-right: 20px;
		}
			.coda-nav li a, #top a.arrow {
				display: block;
				width: 20px;
				height: 21px;
				padding: 0;
				background: transparent url(../../images/dot.png) no-repeat top left;
				-webkit-transition: opacity .2s linear;
			}
			.coda-nav li a.current {
				background-position: center left;			
			}
			.coda-nav li a:hover, #top a.arrow:hover {
				opacity: .6;
			}
			#top a.arrow {
				background-position: bottom left;
			}
	.coda-nav-right {
		width: 20px;
		float: right;
	}

#middle {
	margin: 60px 0 100px 0;
	background: #483A84 url(../../images/bgPurple.gif) repeat;
	color: #E5E5E5;
	text-shadow: 0 1px 0 rgba(0, 0, 0, .6);
	border-top: 2px solid #2D1E5E;
	border-bottom: 2px solid #CBCBCB;
}
	#middle .content {
		padding: 60px 0 40px;
		background: transparent url(../../images/meh.png) no-repeat 0 175px;
	}

#bottom {
	margin-bottom: 100px;
}
	#bottom .content {
		background: url(../../images/arrowBig.png) no-repeat 540px 450px;
	}

#footer {
	padding: 40px 0 20px 0;
	border-top: 2px solid #333;
	background: #4D4D4D url(../../images/bgDarkGrey.gif) repeat;
	color: #1A1A1A;
	font-weight: bold;
	text-shadow: 0 1px 0 rgba(255, 255, 255, .3);
	text-align: center;
}

.content {
	width: 940px;
	padding: 0 10px;
	margin: 0 auto;
}

div.tiny { width: 220px }
div.small { width: 300px }
div.medium { width: 540px }
div.big { width: 620px }

.left { float: left; margin-right: 20px; }
.right { float: right; }

.clear:after, .cols:after, .panel-container:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}


/* TEXT
################################################################### */
h1 {
	font-size: 2.6em;
	font-weight: normal;
	letter-spacing: 8px;
	background: transparent url(../../images/logo.png) no-repeat top center;
	height: 95px;
	text-indent: -9999px;
}

h2 {
	font-size: 4.5em;
	font-weight: bold;
	letter-spacing: -2px;
	margin-bottom: 40px;
	background: transparent url(../../images/titles.png) no-repeat top left;
	line-height: 1em;
	text-indent: -9999px;
}
	#top h2 { height: 70px }
	#middle h2 { height: 75px; background-position: 0 -70px; }
	#bottom h2 { height: 55px; background-position: bottom left; }

h3 {
	font-size: 2em;
	color: #483A84;
	letter-spacing: -1px;
	margin-bottom: 20px;
}

p, dl, li {
	line-height: 1.8em;
	margin-bottom: 20px;
}
	p.big {
		font-size: 1.2em;
		line-height: 1.5em;
		font-weight: bold;
	}

dt {
	float: left;
	font-weight: bold;
}
	#top dt { width: 80px }
	#bottom dt { width: 20px }

a, a:link, a:active, a:visited {
	color: #333;
	text-decoration: none;
	background: #C0C0C0;
	background: rgba(255,255,255,.2);
	padding: 3px 5px;
	border-radius: 5px;
	-khtml-border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-webkit-transition: background .2s linear;
}
	a:hover {
		text-decoration: underline;
		background: #C9C9C9;
		background: rgba(255,255,255,.4);
	}

#middle a, #middle a:link, #middle a:active, #middle a:visited {
    color: #fff;
    background: #7067AB;
    background: rgba(255,255,255,.2);
}
	#middle a:hover {
	    background: #9086b6;
	    background: rgba(255,255,255,.4);
	}
	
.panel a:link, .panel a:visited, .panel a:active, .panel a:hover {
	background: none;
	padding: 0;
	margin: 0;
}

/* CONTACT
################################################################### */
#contact {
	background: url(../../images/bgContact.png) no-repeat top left;
	padding: 110px 60px 0;
	width: 540px;
	height: 600px;
}

input, textarea, select {
	font: 1em "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #666;
	text-shadow: 0 1px 0 rgba(255, 255, 255, .6);
	background: transparent;
	border: 0;
	border-bottom: 1px dotted #333;
	padding-bottom: 5px;
	outline: 0;
}
	textarea {
		border: none;
		background: url(../../images/bgTextarea.gif) repeat;
		padding: 0;
		width: 500px;
		height: 125px;
		line-height: 25px;
		resize: none;
	}
		option {
			background: #fff;
			text-shadow: none;
		}
	select {
		border-bottom: 0;
	}

#url { width:225px }	
#name, #email { width:205px }
#phone { width:165px }

.url {
	display: none;
}

#error {
	display: none;
	font-weight: bold;
	padding: 10px;
	background: #aaa;
	background: rgba(255,255,255,.2);
	border-radius: 5px;
	-khtml-border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

.error {
	border-bottom: 1px solid red;
}

.send {
	margin-top: 195px;
}
	.submit {
		border: 1px solid #483A84;
		padding: 20px;
		color: #fff;
		text-shadow: 0 -1px 0 rgba(0,0,0,.5);
		font-size: 1.3em;
		font-weight: bold;
		background: #483A84 url(../../images/gradient.png) 0 0 repeat-x;
		border-radius: 5px;
		-khtml-border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
		-webkit-box-shadow: 0 1px 0 rgba(255,255,255,.5);
		-moz-box-shadow: 0 1px 0 rgba(255,255,255,.5);
		cursor: pointer;
	}
		.submit:hover, .submit:focus {
			background-position: 0 -70px;
			-webkit-box-shadow: 0 0 10px rgba(255,255,255,.8);
			-moz-box-shadow: 0 0 10px rgba(255,255,255,.8);
		}
		.submit:active {
			background-image: none;
			position: relative;
			top: 1px;
		}


/* OTHERS
################################################################### */
abbr {
	cursor: help;
	border-bottom: 1px dotted;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
 
::-webkit-scrollbar-button:start:decrement,
::-webkit-scrollbar-button:end:increment {
    display: block;
    height: 0;
}
 
::-webkit-scrollbar-button:vertical:increment {
    background-color: #fff;
}
 
::-webkit-scrollbar-track-piece {
    background-color: #ccc;
    -webkit-border-radius: 8px;
}
 
::-webkit-scrollbar-thumb:vertical {
    height: 50px;
    background-color: #483A84;
    -webkit-border-radius: 8px;
}
 
::-webkit-scrollbar-thumb:horizontal {
    width: 50px;
    background-color: #483A84;
    -webkit-border-radius: 8px;
}
