/*
Baseline - a designer framework
Copyright (C) 2009 Stephane Curzi, ProjetUrbain.com
Creative Commons Attribution-Share Alike 3.0 License
version 0.5
*/

/******************** Reset ********************/
html, body, div, span, a, img,
h1, h2, h3, h4, h5, h6, hgroup, p,
dl, dialog, dt, dd, ol, ul, li, 
abbr, acronym, address, b, big, blockquote, 
cite, code, del, dfn, em, i, ins, kbd, pre, q, 
samp, tt, var, small, strong, sub, sup, 
object, iframe, form, fieldset, label, legend, 
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, footer, header, nav, section,
figure, menu, time, mark, audio, video						{ font-family: inherit; font-size: 100%; font-weight: inherit; font-style: inherit; vertical-align: baseline; white-space: normal; text-align: left; margin: 0; padding: 0; border: 0; outline: 0; background: transparent; }
textarea													{ font-family: inherit; font-size: 100%; font-weight: normal; font-style: normal; white-space: normal; text-align: left; margin: 0; padding: 0; }
article, aside, footer, header, nav, section,
dialog, figure, hgroup, menu								{ display: block; }

h1, h2, h3, h4, h5, h6										{ font-size: 100%; font-weight: normal; }
del, ins													{ text-decoration: none; }
ol, ul														{ list-style: none; }
nav ul														{ list-style-type: none; }
table														{ border-collapse: separate; border-spacing: 0; background-color: transparent; width: auto; height: auto; }
:focus														{ outline: 0; }
blockquote:before, blockquote:after, q:before, q:after		{ content: ""; }
blockquote, q												{ quotes: "" ""; }
input														{ margin: 0; }


/********** Deprecated and obsolete elements **********/
applet, basefont, dir, font, isindex, menu, s, strike, u	{ font-family: inherit; font-size: 100%; font-weight: normal; font-style: normal; white-space: normal; vertical-align: baseline; text-decoration: inherit; text-align: left; color: inherit; margin: 0; padding: 0; border: 0; outline: 0; }
dir, menu													{ list-style: none; }
nobr														{ white-space: normal; }
blink														{ text-decoration: none; }
marquee														{ overflow: visible; }

/******************** Base ********************/
body											{ font-family: Corbel, helvetica, arial, sans-serif; line-height: 1.5; background: white; color:#5a5351; }
h1, h2, h3, h4, h5, h6							{ line-height: 1.2; } 
h4, h5, h6										{ font-weight: bold; }
b, strong, caption, th, thead, dt, legend		{ font-weight: bold; }
cite, dfn, em, i								{ font-style: italic; }
code, kbd, samp, pre, tt, var					{ font-family: mono-space, monospace; }
h1, h2, h3, h4, h5, h6							{ word-spacing: 0em; }
p												{ word-spacing: 0.125em; hyphenate: auto; hyphenate-lines: 3; }
p+p												{ text-indent: 0; }
p+p.no-indent									{ text-indent: 0; }
pre												{ white-space: pre; }
del												{ text-decoration: line-through; }
mark											{ background: rgba(255, 255, 0, 0.4); padding: 0 .25em; }
ins												{ color: #f00; }
small, sup, sub									{ font-size: 80%; }
big												{ font-size: 125%; line-height: 80%; }
abbr, acronym									{ font-size: 85%; text-transform: uppercase; letter-spacing: .1em; }
abbr[title], acronym[title], dfn[title]			{ border-bottom: 1px dotted black; cursor: help; }
sup, sub										{ line-height: 0; }
sup												{ vertical-align: super; }
sub												{ vertical-align: sub; }
blockquote										{ padding: 1.5em; }
hr												{ border: none; background: #ddd; width: 100%; }
ul, ol											{ margin-left: 1.5em; }
ul												{ list-style:none; }
ol												{ list-style: decimal outside; }
input, select, button							{ cursor: pointer; }
table											{ font: inherit; width: 100%; }

/* html 5 */
article, aside, header, hgroup,
nav, figure, section, footer					{ display: block; }

/* Baseline grid: 13/18px */
body								{ font-size: 75%; line-height: 1.5; /*12/18*/ }

h1, h2, h3, h4, h5, h6				{ position: relative; }
h1, h2								{ line-height: 36px; margin-bottom: 18px; }
h1, h2, h3, h4						{ margin-top: 18px; }
h3, h4, h5, h6						{ line-height: 18px; }
h1									{ font-size: 36px; top: 5px; }
h2									{ font-size: 28px; top: 8px; }
h3									{ font-size: 22px; top: 1px; }
h4									{ font-size: 18px; top: 2px; }
h5									{ font-size: 17px; top: 4px; }
h6									{ font-size: 17px; top: 5px; }
h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child						{ margin-top: 0; }

p, pre, address						{ font-size: 17px; line-height: 22px; position: relative; top: 5px; }
small								{ font-size: 11px; }
abbr, code, kbd,
samp, small, var					{ line-height: 17px; }
ul, ol, dl, dialog					{ font-size: 17px; line-height: 18px; position: relative; top: 5px; margin-top: 10px; margin-bottom: 18px; }
li ul, li ol, ul ul, ol ol			{ top: 0; margin-top: 0; margin-bottom: 0; }
li h1, li h2, li h3,
li h4, li h5, li h6,
li p								{ top: 0; }
form, legend, label					{ font-size: 17px; line-height: 18px; }
legend								{ position: relative; top: 5px; }
table								{ font-size: 17px; }
caption								{ font-size: 17px; line-height: 18px; position: relative; }
hr									{ position: relative; height: 4px; margin: 18px 0 14px 0; }
/* End Baseline grid: 13/18px */

.clear{
	clear:both;
}

a{
	color:#5a5351;
	text-decoration: none;
	
}

a:hover{
	color:#000;
}

p{
	margin-bottom:15px;
	text-align:justify;
}


/* Center that baby - http://www.jakpsatweb.cz/css/priklady/vertical-horizontal-align-valid-solution-en.html */

body, html {height: 100%;}
#outer {height: 100%; overflow: visible; position: relative; width: 100%; display: table; position: static;} /* or without overflow */

#middle {position: absolute; top: 50%; width: 100%; text-align: center;} /* for explorer only*/
#middle[id] {display: table-cell; vertical-align: middle; position: static;}


#inner {padding:10px; max-width: 1020px; margin-left: auto; margin-right: auto;} /* for all browsers*/
/* optional: #inner[id] {position: static;} */

header{
	position:relative;
}

#logo{
	float:left;
	line-height:0;
}

#about{
	max-width:515px;
	float:right;
	margin-top:50px;
}

#more{
	display:none;
	margin-bottom:20px;
}

#more p,
#more li{
	font-size:14px;
}

#more li{
	list-style-image:url(bullet.png);
}

a#down{
	background-image:url(down.png);
	width:21px;
	height:21px;
	float:left;
	margin-bottom:5px;
}

a#down:hover{
	background-position:left -26px;
}

#gallery .half{
	width:510px;
	float:left;
}

#gallery a{
	margin:0;
	padding:0;
	line-height:0;
}

#gallery li{
	border-top:solid #82c02e 1px;
}

#gallery a{
	border-top:solid #FFF 5px;
	border-bottom:solid #FFF 5px;
	
	float:left;
}

#gallery a:hover{
	border-top:solid #afde76 5px;
}

#gallery ul{
	margin:0;
}

#gallery li{
	float:left;
	padding-right:5px;
}

#gallery li.last{
	
}

#contact_dets{
	float: left;
	width: 40%;
}

h2.foot{
	text-align:left;
	font-size:26px;
	margin-bottom:10px;
}

ul.foot{
	margin:0;

}

.foot li{
	margin-bottom:5px;
}

.foot span{
	color:#82c02e;
}

.foot li span{
	width:17px;
	display:block;
	float:left;
}

#social{
	float: right;
	width: 40%;
	
	text-align: right;
	
	vertical-align: top;
	
	margin-top: 20px;
}

#pwrap{
	
}

#social #pwrap{
	position: relative;
	text-align: right;	
	display: inline-block;
	
	line-height: 45px;
	height: 45px;
	
	margin: 0;
	padding: 0;
}

#social ul{
	padding: 0;
	margin: 0;
	list-style: none;
	
	position: relative;
	display: inline-block;
	
	margin-left: 15px;
}

#social a{
	width: 45px;
	height: 46px;
	
	line-height: 46px;
	
	position: relative;
	
	display: inline-block;
}

#social li{
	width: 45px;
	height: 46px;
	
	line-height: 46px;
	
	position: relative;
	
	display: inline-block;
}

#social li#det{
	width: auto;
	vertical-align: top;
	margin-right: 15px;
	line-height: 50px;
}

#social li a:hover{
	opacity: 0.7;
}

#social #link{
	background-image: url(linked.png);
}

#social #face{
	background-image: url(face.png);
}


.hideme{
	display: none;
}

body {
    -webkit-text-size-adjust: 90%;
}

@media screen and (max-width: 1050px) {
	
	#logo{
		width: 100%;	
	}
	
	#about{
		float: left !important;
		margin-bottom: 20px;
	}
	
	#contact_dets{
		width: 100%;
	}
	
	#middle{
		width: 515px;
		margin: auto;
		display: block !important;
	}
}