/*
 * This is the layout style sheet for Linuance website.
 * Writtend by Thierry Dulieu (Linuance)
 */

html, body{
	width: 100%;
	height: 100%;
	}
body, div, p, h1, h2, h3, h4, h5, h6, ul, li, form, fieldset {
	margin: 0;
	padding: 0;
	}
ul {
	list-style: none;
	}
h1, h2, h3, h4 {
	font-family: Arial, Helvetica, sans-serif;
	}
input, textarea {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1em;
	color: #425968;
	}
abbr, acronym {
	border-bottom-style: dashed;
	cursor: help;
	}
.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
	}
.clearfix {
	display: inline-block;
	_height: 1%;
	}
/* Hides from IE-mac \*/
.clearfix {
	display: block;
}
/* End hide from IE-mac */


/* Global layout
-------------------------------------------------------------------*/
body {
	font: 62.5% Arial, helvetica, sans-serif;
	color: #425968;
	background: white url(../images/body-bg.gif) repeat-x;
	}
#header {
	width: 930px;
	height: 210px;
	margin: 0 auto;
	background: transparent url(../images/computer.jpg) no-repeat 0 0;
	}
#contents {
	width: 930px;
	margin: 4em auto 0;
	}
#footer {
	position: relative;
	width: 100%;
	color: #283e4d;
	background: #eaedef url(../images/footer.gif) repeat-x 0 0;
	}


/* Columns
-------------------------------------------------------------------*/
.column {
	float: left;
	margin-bottom: 2em;
	padding-left: 30px;
	}
.narrow, .narrow-left, .narrow-right {
	width: 195px;
	}
.narrower {
	width: 115px;
	}
.wide {
	width: 420px;
	}
.wider {
	width: 500px;
	}
.wide .narrow-left, .wide .narrow-right {
	padding: 0;
	}
.wide .narrow-right {
	padding-left: 30px;
	}
.nav-link-left {
	clear: left;
	float: left;
	height: 1.5em;
	}
.nav-link-right {
	clear: both;
	padding-bottom: 2em;
	text-align: right;
	height: 1.5em;
	}


/* Headings and titles
-------------------------------------------------------------------*/
#logo {
	position: absolute;
	margin-left: 248px;
	width: 209px;
	height: 202px;
	background: transparent url(../images/logo.jpg) no-repeat 0 0;
	}
#logo a {
	display: block;
	width: 195px;
	height: 195px;
	margin-left: 7px;
	text-indent: -700em;
	}
#slogan {
	position: absolute;
	top: 140px;
	margin-left: 480px;
	width: 340px;
	height: 35px;
	text-indent: -700em;
	background: url(../images/slogan.jpg) no-repeat 0 0;
	}
h2 {
	padding-bottom: 0.5em;
	font-size: 1.8em;
	font-weight: normal;
	color: #b12032;
	}
h2.subtitle, h3 {
	padding: 0.5em 0;
	font-size: 1.3em;
	font-weight: bold;
	color: #425968;
	}


/* Links
-------------------------------------------------------------------*/
a {
	text-decoration: none;
	color: #b12032;
	background: transparent;
	border-bottom: 1px solid #e5bfbf;
	outline: none;
	}
a:hover {
	color: #36c;
	border-color: #ccd9f2;
	}
a img, a:hover img {
	border: 0;
	}
a.more span {
	display: block;
	float: left;
	width: 9px;
	margin-right: 3px;
	text-indent: -700em;
	background: transparent url(../images/more.gif) no-repeat 0 50%;
	}
a.more:hover span {
	background-position: 100% 50%;
	}
a.feed span {
	display: block;
	float: left;
	width: 12px;
	margin-right: 3px;
	text-indent: -700em;
	background: url(../images/feed.gif) no-repeat 0 50%;
	}
a.feed:hover span {
	background-position: 100% 50%;
	}
h2 a, h3 a {
	border:0;
}
#email {
	position: absolute;
	top: 160px;
	margin-left: 98px;
	height: 14px;
	width: 128px;
	text-indent: -700em;
	}
#header a, #header a:hover {
	border: 0;
	}


/* Navigation
-------------------------------------------------------------------*/
#menu {
	float: right;
	margin-top: 20px;
	padding-right: 3px;
	font-size: 1.2em;
	background: transparent url(../images/menu-bg.gif) no-repeat 100% 0;
	}
#menu li {
	float: left;
	width: 73px;
	height: 48px;
	padding: 48px 10px 0 12px;
	background: transparent url(../images/menu-bg.gif) no-repeat 0 0;
	}
#menu a, #menu span {
	display: block;
	height: 2.4em;
	margin-top: -1em;
	text-align: center;
	color: #425968;
	}
#menu a {
	border: 0;
	}
#menu a:hover {
	color: #425968;
	border-bottom: 3px solid #95a0a9; /*#b32133;*/
	}
#menu li.selected span,
#menu li.selected a {
	border-bottom: 3px solid #b32133;
	}


/* Contents
-------------------------------------------------------------------*/
#contents p {
	line-height: 1.5em;
	margin-bottom: 1em;
	font-size: 1.2em;
	}
#contents p small {
	font-size: 0.91em;
	}
#contents p.center {
	text-align: center;
	}
#contents p.align-right {
	text-align: right;
	}


/* Journal
-------------------------------------------------------------------*/
#contents .post {
	padding-bottom: 2em;
	}
#contents .post-meta {
	font-size: 1em;
	padding-bottom: 1em;
	}
#journal ul, #journal ol {
	font-size: 1.2em;
	line-height: 1.5em;
	padding-bottom: 1em;
	}
#journal ul ul, #journal ol ol {
	font-size: 1em;
	padding-bottom: 0;
	}
#journal ul li {
	padding-left: 1.2em;
	background: url(../images/mdash.gif) no-repeat 0 0.75em;
	}

#journal ul.notes {
	padding-top: 1.5em;
	background: url(../images/notes.gif) no-repeat 0 1em;
}
#journal ul.notes li {
	padding: 0;
	background: transparent;
	}
#journal ul.notes li li {
	padding-left: 1.2em;
}
img.left {
	float: left;
	padding-right: 0.5em;
	}
img.right {
	float: right;
	padding-left: 0.5em;
	}


/* Portfolio
-------------------------------------------------------------------*/
.work-samples {
	margin: 0 -10px 0 -5px;
	padding: 0;
	font-size: 1.2em;
	list-style: none;
	}
.work-samples li {
	width: 189px;
	min-height: 124px;
	padding: 5px 10px 10px 5px;
	background: url(../images/worksample-bg.gif) no-repeat 0 0;
	}
.work-samples a {
	display: block;
	width: 189px;
	height: 124px;
	margin-bottom: 0.5em;
	border: 0;
	overflow: hidden;
	}
.work-samples a:hover {
	border: 0;
	}
.work-samples a:hover img,
.work-samples a.selected img {
	margin-left: -189px;
}
dl.specifications {
	margin-bottom: 1em;
	font-size: 1.2em;
	}
dl.specifications dt {
	float: left;
	width: 5em;
	font-weight: normal;
	}
dl.specifications dd {
	line-height: 1.5em;
	}
.split {
	background: transparent url(../images/line.gif) repeat-y 50% 0;
	}


/* Recent Posts
-------------------------------------------------------------------*/
.links-stack {
	padding-bottom: 0.5em;
	font-size: 1.2em;
	border-top: 1px solid #ccd4d9;
	}
.links-stack li {
	border-bottom: 1px solid #ccd4d9;
	line-height: 1em;
	}
.links-stack a {
	display: block;
	padding: 0.5em 0;
	border: 0;
	}
.links-stack a:hover {
	background-color: #f8f9fc;
	}
#recent-posts a {
	padding-left: 15px;
	background-image: url(../images/post.gif);
	background-repeat: no-repeat;
	background-position: 2px 0.5em;
	}


/* Short news
-------------------------------------------------------------------*/
#short-news {
	margin-bottom: 2em;
	/*border-top: 1px solid #ccd4d9;*/
	}
#short-news li {
	border-top: 1px solid #ccd4d9;
	}
#short-news h3 {
	font-size: 1.1em;
	}


/* VCard
-------------------------------------------------------------------*/
.vcard {
	font-size: 1.2em;
	line-height: 1.5em;
	}
.vcard a {
	color: #425968;
	border-color: #ccd4d9;
	}
.vcard a.org {
	font-weight: bold;
	border: 0;
	}
.vcard a:hover,
.vcard a.org:hover {
	color: #36c;
	border-bottom: 1px solid #ccd9f2;
	}


/* Forms
-------------------------------------------------------------------*/
form {
	margin-bottom: 4em;
	}
fieldset {
	border: 0;
	}
legend {
	padding: 0 0 0.5em;
	font-size: 1.3em;
	font-weight: bold;
	color: #425968;
	}
label span {
	display: block;
	}
.field {
	padding: 2px;
	border: 1px solid #a5acb2;
	background: white;
	}
.field:hover,
.field:focus,
.hover-field {
	border-color: #5c6f7c;
	}
.button {
	color: white;
	font-weight: bold;
	cursor: pointer;
	background: #b32133;
	border: 3px solid;
	border-color: #d37d88 #741521 #741521 #d37d88;
}
.button:hover,
.hover-button {
	background-color: #c33;
	border-color: #e18888 #842121 #842121 #e18888;
	}
#contents form p {
	margin-bottom: 4px;
	}
#contents p.hints {
	font-size: 1.1em;
	line-height: 1em;
	padding-bottom: 1em;
	}
#contents p.buttons {
	margin-top: 0.75em;
	}
#contents p.error {
	color: #900;
	}

	
/* Contact form
-------------------------------------------------------------------*/
#contact-form legend {
	display: none;
	}
#contact_name,
#contact_email {
	width: 207px;
	}
#contact_title,
#contact_text {
	width: 414px;
	}


/* Client authentication form
-------------------------------------------------------------------*/
#client_login,
#client_password {
	width: 190px;
	}


/* Progress meter
-------------------------------------------------------------------*/
.progress-meter {
	padding-top: 3px;
	overflow: hidden;
	font-size: 1em;
	line-height: 1em;
	background: url(../images/progress-meter.gif) no-repeat 0 0;
	}
.progress {
	width: 215px;
	padding-top: 10px;
	text-align: right;
	background: url(../images/progress-bar.gif) no-repeat 100% 0;
	}


/* Footer
-------------------------------------------------------------------*/
#footer p {
	width: 870px;
	margin: 0 auto;
	padding: 0.75em 0;
	font-size: 1.1em;
	line-height: 1.5em;
	text-align: right;
	}
#footer span.legal {
	float: left;
	}
#footer a {
	color: #283e4d;
	border-color: #ccd4d9;
	}
#footer a:hover {
	color: #36c;
	border-color: #ccd9f2;
	}
