@charset "utf-8";


/***********/
/* GENERAL */
/***********/

*
{
    color: #404040;
}
*::selection
{
	background: #bf202f;
	color: #eeeeee;
}
*::-moz-selection
{
	background: #bf202f;
	color: #eeeeee;
}
html, body
{
	height: 100%;
	margin: 0;
}
html
{
	/* force scrollbar (so the layout doesn't move around from page to page as the height varies) */
    overflow-y: scroll;
}
table
{
	/* default table cellspacing */
	border-spacing: 0;
	border-collapse: collapse;
}
td, th
{
	/* default table cellpadding */
	padding: 0;
}
table *
{
	/* for box-shadow in Internet Explorer ... don't ask */
	border-collapse: separate;
}
input, select
{
	font-family: Gudea, sans-serif;
}
img
{
	border: 0;
}
hr
{
	border: 0;
	border-top: 1px solid #bfbfbf;
	border-bottom: 1px solid white;
}
blockquote
{
	margin: 0 0 0 0;
	padding: 0 1em 0 1.5ex;
	border-left: 3px solid lightgray;
	text-align: justify;
	font-style: italic;
}
a:link, a:link * { color: inherit; }
a:visited, a:visited * { color: inherit; }
a:active, a:active * { color: red; }
a:hover, a:hover * { color: #2130bf; }
h1, h2, h3, h4, h5, h6 { margin-top: 0; margin-bottom: 1em; }
h1 { font-size: 1.6em; }
h2 { font-size: 1.4em; }
h3 { font-size: 1.2em; }
h4 { font-size: 1em; }
h5 { font-size: 0.8em; }
h6 { font-size: 0.6em; }
abbr { cursor: help; }
time { color: inherit; }

div.frame_wrapper
{
	text-align: center; margin: 20px 0;
}
div.frame
{
	display: inline-block;
	background-color: white;
	text-align: center;
}
div.frame img
{
	display: inline-block;
}
.frame
{
	background-color: white;
	padding: 20px;
	box-shadow: 0 0 10px #333;
	
	text-align: center;
	font-size: 15px;
	font-style: italic;
}
.thumbframe
{
	background-color: white;
	padding: 10px;
	box-shadow: 0 0 10px #333;
}

/* interactive frame */
span.hover_button_off
{
	font-style: normal;
	font-size: 13px;
	border: 1px solid lightgray;
	background-color: #f1f1f1;
	cursor: pointer;
	border-radius: 3px;
	padding: 2px 10px 2px 10px;
	white-space: nowrap;
}
span.hover_button_on
{
	font-style: normal;
	font-size: 13px;
	border: 1px solid #f1f1f1;
	box-shadow: 0 1px 3px #333;
	background-color: whitesmoke;
	cursor: pointer;
	border-radius: 3px;
	padding: 2px 10px 2px 10px;
	white-space: nowrap;
}

/*****************/
/* GLOBAL LAYOUT */
/*****************/

body
{
	font-family: Gudea, sans-serif;
	letter-spacing: -.05ex;
	font-size: 11pt;
	text-rendering: optimizeLegibility;
	
	background-image: url('layout/background.png');
	background-repeat: repeat;
	background-color: #7b7b7b;
	background-attachment: fixed;
}

#header_wrapper				{ margin: auto; }
header 						{ background-color: white; position: fixed; top: 0; left: 0; width: 100%; height: 50px; box-shadow: 0 0 20px black; z-index: 100; }
header img					{ display: block; }
header table.wrapper 		{ width: 100%; margin-top: 5px; }
header table.wrapper th 	{ text-align: left; padding-left: 10px; padding-right: 15px; width: 100%; }
header table.navigation		{ margin-left: auto; position: relative; }
#collections_menu
{
	display: none;
	border: 1px solid gray;
	position: absolute;
	top: 45px;
	left: -100px;
	z-index: 3;
	background-color: white;
	padding: 20px 30px;
	box-shadow: 0 3px 3px black;
	border-radius: 1px;
	opacity: 0.9;
	text-transform: uppercase;
	text-align: left;
	white-space: nowrap;
}
#collections_menu a:link
{
	text-decoration: none;
}
#collections_menu td.portfolios
{
	vertical-align: top;
	border-right: 1px solid #ccc;
	padding-right: 30px;
}
#collections_menu td.projects
{
	vertical-align: top;
	padding-left: 30px;
}
#collections_menu h1
{
	margin: 0;
	margin-bottom: 10px;
	font-size: 20px;
	text-shadow: #aaa 0 1px 1px;
	
}
#collections_menu h2
{
	margin: 0;
	margin-top: 5px;
	font-size: 17px;
	font-weight: bold;
}
#collections_menu h3
{
	margin: 0;
	font-size: 17px;
	font-weight: normal;
}
#collections_menu td.portfolios h3 { padding-left: 1em; }
#collections_menu .active_collection
{
	color: #bf202f;
	font-weight: bold;
}

#body_wrapper
{
	width: 100%;
	height: 100%;
	min-height: 100%;
	
	background-image: url('layout/page_gradient_top.png');
	background-position: top;
	background-repeat: repeat-x;
	background-attachment: fixed;
}
#headerPadding { height: 50px; }
#body
{
	background-color: #eee;
	box-shadow: 0 0 20px black;
	margin: auto;
	height: 100%;
	min-height: 100%;
}

footer
{
	padding-top: 10px;
	padding-bottom: 14px;
	text-align: center;
	text-shadow: white 0 0 2px;
	color: #888;
	font-size: 11pt;
}
footer a { text-decoration: none; }


/***************/
/* HOME LAYOUT */
/***************/

#home_photo_table
{
	margin: auto;
	margin-top: 20px;
}
#home_photo_cell
{
	text-align: center;
}
#home_photo
{
	padding: 20px;
	box-shadow: 0 0 10px black;
	background-color: white; /* frame */
	
	display: block;
	margin: auto;
}
#home_photo_overlay
{
	position: absolute;
	z-index: 2;
}


/****************/
/* PHOTO LAYOUT */
/****************/

/* photo/portfolio view */
#photo_navigation_meta
{
	margin: 20px;
	white-space: nowrap;
}
#photo_navigation
{
	margin-right: 25px;
	text-align: center;
}
#photo_navigation th
{
	font-weight: normal;
	width: 75px;
	min-width: 75px;
}
#photo_meta
{
	font-size: larger;
}
#photo_photo_table
{
	margin: 0 auto;
	margin-bottom: 5px;
}

/* project view */
#project_presentation
{
	margin: 0 0 30px 0;
	padding: 0 20px;
	font-size: 19px;
}
div.project_div
{
	margin: auto;
	text-align: center;
}
div.photo_overlay
{
	position: absolute;
	z-index: 2;
}
img.project_photo
{
	max-width: 100%;
	padding: 20px;
	background-color: white;
	box-shadow: 0 0 10px #333;
}
p.project_photo_caption
{
	text-align: center;
	font-size: 16px;
	font-weight: bold;
	margin: 5px 0 0 0;
}

/* thumbnails view */
#grid_view
{
	width: 80%;
	margin: auto;
	table-layout: fixed;
}
#grid_view td
{
	padding: 15px;
	text-align: center;
	width: 25%;
}
#grid_view img.thumbnail
{
	max-width: 100%;
	padding: 10px;
	background-color: white;
	box-shadow: 0 0 10px #333;
}


/***************/
/* BLOG LAYOUT */
/***************/

#blog_layout
{
	margin-top: 20px;
}
#blog_layout td /* each column */
{
	vertical-align: top;
}

/* LEFT COLUMN (CONTENTS) */

#blog_contents_column
{
	border-right: 1px solid #bfbfbf;
	
	vertical-align: top;
	width: 720px;
	padding: 20px;
	padding-top: 10px;
}

/* post title & date */
#blog_post_title { width: 720px; }
#blog_post_title h1 { margin: 0; font-size: 24px; text-transform: uppercase; text-shadow: #ccc 1px 1px 1px; }
#blog_post_title h2 { margin: 0; font-size: 14px; font-weight: normal; color: #888; }


/* post contents specificities */
#blog_post_contents
{
	line-height: 140%;
	font-weight: 400;
	font-size: 16px;
	hyphens: auto;
	-webkit-hyphens: auto;
    -moz-hyphens: auto;
	text-align: justify;
}
#blog_post_contents h1, #blog_post_contents h2, #blog_post_contents h3, #blog_post_contents h4, #blog_post_contents h5, #blog_post_contents h6 { margin-bottom: 0; }
#blog_post_contents li { margin-bottom: 1ex; }
#blog_post_contents table.data
{
	margin: auto;
	background-color: #aaa;
	border-collapse: separate;
	border-spacing: 1px;
}
#blog_post_contents table.data th
{
	background-color: #ddd;
	border: 1px solid white;
	padding: 3px;
}
#blog_post_contents table.data td
{
	background-color: white;
	border: 1px solid white;
	padding: 3px;
}
#blog_post_contents div.note
{
	padding: 1px 1em;
	background-color: #e2e2e2;
	margin-bottom: 1em;
}
#blog_post_contents a.footnote
{
	font-size: 11px;
	vertical-align: super;
	text-decoration: none;
	border-bottom: 1px dotted #404040;
}
#blog_post_contents div.footnotes p
{
	font-size: 14px;
}

/* post categories bullets, at the bottom of the post */
#blog_post_categories
{
	margin-top: 2em;
	margin-bottom: 2em;
	
    font-size: 13px;
	color: #777;
	text-transform: uppercase;
}
#blog_post_categories span, #blog_post_categories a
{
	background-color: #ccc;
	border-radius: 3px;
	box-shadow: 0 0 2px 0 white inset;
	padding: 2px 9px 2px 9px;
	margin-right: 2px;
	color: white;
}
#blog_post_categories a
{
	background-color: #bf202f;
	text-decoration: none;
}
#blog_post_categories a:hover
{
	background-color: #2130bf;
}

/* post navigation links, at the bottom of the post */
#blog_post_navigation
{
    text-align: center;
    margin-left: auto;
}

/* social network connectors */
#blog_post_social
{
	margin-top: 1em;
	width: 100%;
}

/* facebook comment roll */
#blog_post_comments
{
	width: 720px;
	overflow: hidden;
	margin-top: 20px;
}

/* archive/search results page */
#blog_search_title h1 { margin: 10px 0 0 0; font-size: 24px; text-transform: uppercase; text-shadow: #ccc 1px 1px 1px; }
#blog_search_results h1 { clear: both; font-size: 19px; text-transform: uppercase; text-shadow: #ccc 1px 1px 1px; margin: 3ex 0 0 0; }
#blog_search_results h2 { font-size: 14px; color: #888; font-weight: normal; margin: 0; }
#blog_search_results h3 { padding-left: 2em; font-style: italic; font-size: 15px; font-weight: normal; margin: 1em 0 0 0; text-align: justify; }


/* RIGHT COLUMN (META) */

.top_cell		{ border-bottom: 1px solid #bfbfbf; }
.middle_cell	{ border-top: 1px solid white; border-bottom: 1px solid #bfbfbf; }
.bottom_cell	{ border-top: 1px solid white; }

#blog_meta_column
{
	border-left: 1px solid white;
	
	vertical-align: top;
	width: 220px;
	padding: 9px 20px 20px 0;
}
#blog_meta_column h1
{
	font-size: 18px;
	text-transform: uppercase;
}
#blog_meta_column h2
{
	font-size: 17px;
	text-transform: capitalize; margin: 0;
}

/* RSS button */
#blog_meta_rss
{
	width: 200px;
    padding: 0 0 12px 19px;
	font-size: 36px;
}

/* search field */
#blog_meta_search
{
	width: 200px;
    padding: 15px 0 12px 19px;
}

/* recent posts */
#blog_meta_recent_posts
{
	width: 200px;
	padding: 15px 0 12px 19px;
}
#blog_meta_recent_posts h2
{
	font-size: 15px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
#blog_meta_recent_posts h3
{
	font-size: 12px;
	color: #666;
	font-weight: normal;
	text-shadow: none;
}

/* navigation */
#blog_meta_navigation
{
	width: 200px;
	padding: 15px 0 12px 19px;
}
#blog_meta_navigation table { margin-left: 1em; }
#blog_meta_navigation table td { text-align: center; }

/* categories */
#blog_meta_categories
{
	width: 200px;
	padding: 15px 0 12px 19px;
}
#blog_meta_categories h2
{
	font-size: 15px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}


/******************/
/* CONTACT LAYOUT */
/******************/

#contact_layout
{
	width: 940px;
	margin: auto;
	margin-top: 30px;
}
#author_contact
{
	vertical-align: top;
	text-align: left;
	padding-right: 2em;
}
#author_photo
{
	vertical-align: top;
	text-align: right;
	width: 568px;
}
#author_photo img
{
	padding: 14px;
	box-shadow: 0 0 10px black;
	background-color: white;
	display: block;
	margin-left: auto;
	margin-bottom: 1ex;
}
#news
{
	text-align: left;
	padding-bottom: 20px;
}


/****************/
/* ADMIN LAYOUT */
/****************/

div.layout
{
	background-image: url('layout/gradient.png');
	background-repeat: repeat-x;
	background-position: center 152px;
	background-color: white;
	box-shadow: 0 0 20px 0 black;
	
	width: 1280px;
	margin: auto;
	min-height: 100%;
}

table.table
{
    background-color: white;
	border-collapse: separate;
	border-spacing: 1px;
}
table.table th
{
    background-color: #cccccc;
	padding: 3px;
}
table.table td
{
   	background-color: #f1f1f1;
	padding: 3px;
}
table.form
{
    background-color: white;
}
table.form th
{
    text-align: left;
    background-color: #cccccc;
}
table.form td
{
   	background-color: #f1f1f1;
}