/*
  Stylesheet for the Assemblage Plus Template
  Copyright (c) 2012 Yiannis Chatzikonstantinou
  http://yconst.com
*/

/* fontface inclusion */

@font-face {
    font-family: 'OpenSansRegular';
    src: url('../../fonts/opensans/OpenSans-Regular-webfont.eot');
    src: url('../../fonts/opensans/OpenSans-Regular-webfont.eot?#iefix') format('eot'),
         url('../../fonts/opensans/OpenSans-Regular-webfont.woff') format('woff'),
         url('../../fonts/opensans/OpenSans-Regular-webfont.ttf') format('truetype'),
         url('../../fonts/opensans/OpenSans-Regular-webfont.svg#webfontOM8fITNz') format('svg');
    font-weight: normal;
    font-style: normal;
}

/*  HTML5 Boilerplate  */

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

blockquote, q { quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after { content: ''; content: none; }
ins { background-color: #ff9; color: #000; text-decoration: none; }
mark { background-color: #ff9; color: #000; font-style: italic; font-weight: bold; }
del { text-decoration: line-through; }
abbr[title], dfn[title] { border-bottom: 1px dotted; cursor: help; }
table { border-collapse: collapse; border-spacing: 0; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
input, select { vertical-align: middle; }

body { font:13px/1.231 sans-serif; *font-size:small; }
select, input, textarea, button { font:99% sans-serif; }
pre, code, kbd, samp { font-family: monospace, sans-serif; }

html { overflow-y: scroll; }
a:hover, a:active { outline: none; }
ul, ol { margin-left: 2em; }
ol { list-style-type: decimal; }
nav ul, nav li { margin: 0; list-style:none; list-style-image: none; }
small { font-size: 85%; }
strong, th { font-weight: bold; }
td { vertical-align: top; }

sub, sup { font-size: 75%; line-height: 0; position: relative; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; padding: 15px; }
textarea { overflow: auto; }
.ie6 legend, .ie7 legend { margin-left: -7px; }
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; }
.ie7 input[type="checkbox"] { vertical-align: baseline; }
.ie6 input { vertical-align: text-bottom; }
label, input[type="button"], input[type="submit"], input[type="image"], button { cursor: pointer; }
button, input, select, textarea { margin: 0; }
input:valid, textarea:valid   {  }
input:invalid, textarea:invalid { border-radius: 1px; -moz-box-shadow: 0px 0px 5px red; -webkit-box-shadow: 0px 0px 5px red; box-shadow: 0px 0px 5px red; }
.no-boxshadow input:invalid, .no-boxshadow textarea:invalid { background-color: #f0dddd; }

button {  width: auto; overflow: visible; }
.ie7 img { -ms-interpolation-mode: bicubic; }
h1, h2, h3, h4, h5, h6 { font-weight: bold; }

/*
 Basic Typography
 ________________________________________________________________
*/

body {
  font-family: Helvetica, sans-serif;
  font-weight: normal;
  font-size: 12px;
}

body a {
  text-decoration: none;
}

h2, .big {
  font-family: 'OpenSansRegular', Helvetica, sans-serif;
  font-size:15px;
  font-weight: normal;
}

h3 {
  font-family: 'OpenSansRegular', Helvetica, sans-serif;
  font-size:14px;
  font-weight: bold;
}

h4 {
  font-family: 'OpenSansRegular', Helvetica, sans-serif;
  font-size: 13px;
  font-weight: normal;
  margin-top:8px;
}

h4 p {
  margin:0.5em 0 0 0;
}

h5 {
  font-family: 'OpenSansRegular', Helvetica, sans-serif;
  font-size: 14px;
  font-weight: normal;
}

h6 {
  font-family: 'OpenSansRegular', Helvetica, sans-serif;
  font-size: 12px;
  font-weight: normal;
}

.projectTitle, .projectDate {
  font-weight: normal;
  font-size:12px;
}

/*
 Colors
 ________________________________________________________________
*/

body, select, input, textarea {  color: #2a2a2a; }
a, a:active, a:visited { color: #2a2a2a; }
a:hover { color: #09E; }

body {
  background: #e0e1e2
}

#top-menu li a {
  color: #777;
}

#tags {
  /*background: #f9f9f9;
  background: -moz-linear-gradient(top, #f9f9f9, #f6f6f6) #f6f6f6;
  background: -webkit-gradient(linear, left top, left bottom, from(#f9f9f9), to(#f6f6f6)) #f6f6f6;
  background: linear-gradient(top, #f9f9f9, #f6f6f6) #f6f6f6;*/
}

.tag, .sort-option {
	color: #aaa;
}

.sort-option:hover {
  color: #444;
}

.sorting {
  color: #AAA;
}

.tag.active {
  color: #777;
  color: #000;
}

.tag:hover {
	color: #09E;
}

.current, .current a {
  color:#000 !important;
}

.projectFrame {
  background: #f9f9f9;
  color: #333;
}
.projectTitle:visited {
  color:#bbb
}

.projectDate {
  color:#555;
}

.page-date {
  color: #aaa;
}

pre {
  background:#fff;
}

.page-description {
/*  background: #f6f6f6;*/
  color: #5f5f5f;
}
.page-description a {
  color:#607099;
}

.asset-frame {
    background: #333;
}

.asset-frame, .asset-frame a {
  color:#f2f3f4;
}

.page-description a:hover, .asset-frame a:hover {
  color:#fff;
}

/*
 Outer Margins
 ________________________________________________________________
*/

#outer-container {
  padding: 0;
}

#title, #desc, .page-content, #footer {
  margin-left: 10px;
  margin-right: 10px;
}

#snapshot-container {
  margin-left: 0px;
  margin-right: 0px;
}

.snapshot {
  margin-left: 10px;
  margin-right: 10px;
}

/*
 Dividers
 ________________________________________________________________
*/

.thick-divider {
  clear: both;
  border-top:0;
}

.thin-divider {
  clear: both;
  border-top:0;
}

/*
 Index Page Elements
 ________________________________________________________________
*/

/* Outer Container */

#outer-container {
  min-width:640px;
  max-width: 960px;
  margin: 0 auto;
}

/* Title */

#title {
  position: relative;
  overflow: auto;
  text-align:left;
  margin-top:18px;
  margin-bottom:20px;
}

#title h2 {
  float: left;
  margin-top:22px;
  margin-left:15px;
  margin-bottom:12px;
  font-size:13px;
}

#title-image {
  display: block;
  float: left;
  margin-top:3px;
}

#title a {
    text-decoration: none;
}

/* Top Menu */

#top-menu {
  position: absolute;
  right: 0px;
  top: 50%;
  margin-top: -10px;
}

#top-menu li {
  float: right;
  list-style: none;
  margin-left: 1.5em;
  margin-top: 5px;
}

#top-menu li a {
  font-size: 12px;
}

#top-menu li a:hover {
  color: #333;
}

/* Description (optional) */

#desc {
  text-align:left;
  margin-top:40px;
  padding:40px 0 0 0;
}

/* Tags & Filtering */

#tags, .page-content {
  overflow: auto;
  position:relative;
  text-align:left;
}

#tags {
	border-top: solid 1px #CCCCCC;
	border-bottom: solid 1px #CCCCCC;
	margin-top: 15px;
	margin-right: 10px;
	margin-bottom: 30px;
	margin-left: 10px;
}

.tag, .sort-option {
  display: block;
  padding: 8px 0;
  float: left;
  font-family: 'OpenSansRegular', Helvetica, sans-serif;
  font-size: 11px;
  cursor: pointer;
  text-transform: uppercase;
  text-align: center;
}

#snapshot {
	/*color:#0CF;*/
	}

.tag {
  width: auto;
  padding-right:30px;
  padding-left:30px;
/*  border-right: 1px solid #ccc;*/
}

#snapshot.tag.active {
  display: none;
}

.nest {
  overflow: auto;
  display: none;
  clear: both;
  padding: 8px 0 8px 0;
  width: 100%;
}

.snapshot-nest {
  display: block;
}

/* Sorting Options */

.sorting {
  width: 100%;
  text-align: right;
}

.sort-option {
  display: block;
  float: left;
  width: auto;
  height: 8px;
  opacity: 0.5;
  margin: 0 0 0 20px;
  font-size:18px;
}

.sort-option:hover, .sort-option.current {
  opacity: 1;
  text-decoration: none;
}

#sbc {
   /* background: url('../../images/icon_category.png') top center no-repeat; */
}

#sbd {
	/*  background: url('../../images/icon_date.png') top center no-repeat; */
}

#sbr {
  /* background: url('../../images/icon_shuffle.png') top center no-repeat; */
}

.options {
  position: absolute;
  right: 16px;
  top: 3px;
}

/*
  Snapshots
*/

#snapshot-container {
  position:relative;
  text-align:left;
  margin-top: 6px;
}

.snapshot {
  margin-bottom: 20px;
  float: left;
  cursor: pointer;

     -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.09);
  -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.09);
          box-shadow: 0 1px 2px rgba(0,0,0,0.09);

}

 .snapshot img {
  width: 300px;
  width: auto;
  height:auto;
}


.snapshot.faded {
  opacity: 0.3;
}

.projectThumb {
  display:block;
  margin:0px;
}

.projectFrame {
	border-bottom: 1px solid #eee;
	margin: 0px;
	-moz-background-clip: padding;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
	padding-top: 12px;
	padding-right: 10px;
	padding-bottom: 12px;
	padding-left: 20px;
}

.projectTitle, .projectDate  {
  line-height:14px;
}

.categoryTitle {
  display: block;
  float: right;
  background: url('../../images/icon_category.png') left center no-repeat;
  width: 22px;
  height: 12px;
  position: relative;
  right: 5px;
  top: 2px;
}

.project:hover a {
  text-decoration:none;
}

.link-out {
  display: block;
  float: right;
  background: url('../../images/arrow_right.png') left center no-repeat;
  width: 9px;
  height: 15px;
  position: relative;
  right: 5px;
  top: 2px;
}

/* Snapshot Ribbon */

.snapshot .ribbon-wrapper {
  width: 85px;
  height: 88px;
  overflow: hidden;
  position: absolute;
  top: -3px;
  right: -3px;
  z-index: 9999;
}

.snapshot .ribbon {
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  -webkit-transform: rotate(45deg);
  -moz-transform:    rotate(45deg);
  -ms-transform:     rotate(45deg);
  -o-transform:      rotate(45deg);
  position: relative;
  padding: 7px 0;
  left: -5px;
  top: 15px;
  width: 120px;
  background-color: #f9f9f9;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#f9f9f9), to(#f4f4f4));
  background-image: -webkit-linear-gradient(top, #f9f9f9, #f4f4f4);
  background-image:    -moz-linear-gradient(top, #f9f9f9, #f4f4f4);
  background-image:     -ms-linear-gradient(top, #f9f9f9, #f4f4f4);
  background-image:      -o-linear-gradient(top, #f9f9f9, #f4f4f4);
  color: #333;
  -webkit-box-shadow: 0px 1px 3px rgba(0,0,0,0.2);
  -moz-box-shadow:    0px 1px 3px rgba(0,0,0,0.2);
  box-shadow:         0px 1px 3px rgba(0,0,0,0.2);
  z-index: 9999;
}

.snapshot .ribbon:before, .ribbon:after {
  content: "";
  border-top:   3px solid #89898b;
  border-left:  3px solid transparent;
  border-right: 3px solid transparent;
  position:absolute;
  bottom: -3px;
}

.snapshot .ribbon:before {
  left: 0;
}
.snapshot .ribbon:after {
  right: 0;
}​

/* Footer */

#footer, #footer a {
  text-align:left;
  clear:both;
}

#footer {
  padding: 24px 0;
  border-top: 1px solid #ccc;
  margin-top: 16px;
  margin-bottom: 16px;
}

.atom-rss {
  background: url('../../images/rss.png') 0 0 no-repeat;
  display: block;
  width: 14px;
  height: 13px;
  padding: 3px 0;
}

/* Go to top */

.goto-top {
  display: block;
  float: right;
  position: relative;
  top: -15px;
  cursor: pointer;
  width: 14px;
  height: 10px;
  background: url('../../images/arrow_up.png') top left no-repeat;
}

/*
 Content Page Elements
 ________________________________________________________________
*/

#page-wrapper {
	overflow: hidden;
	position: relative;
	margin-top: 0;
	margin-right: auto;
	margin-left: auto;
}

.page-content {
  overflow: auto;
    /*background: #f6f6f6;*/

	/*-moz-box-shadow: 0 1px 2px rgba(0,0,0,0.07);
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.07);
	box-shadow: 0 1px 2px rgba(0,0,0,0.07);
	border-bottom: 2px solid #ccc;*/

	margin-bottom: 20px;

}

.page-description {
	font-family: Helvetica, sans-serif;
	font-weight: normal;
	font-size: 12px;
	overflow: auto;
/*	-moz-box-shadow: 0 1px 2px rgba(0,0,0,0.07);
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.07);
	box-shadow: 0 1px 2px rgba(0,0,0,0.07);
	margin-bottom: 20px;
	border-bottom: 2px solid #ccc;*/

}

.sweet-justice {text-align:right;}

.page-description h2 {
  padding-bottom: 0.7em;
  margin-bottom: 0.9em;
  border-bottom: 1px solid #c9c9c9;
  font-size: 16px;
  text-shadow: 0 1px #fff;
  -webkit-column-break-after: avoid;
     -moz-column-break-after: avoid;
       -o-column-break-after: avoid;
          column-break-after: avoid;
}

.page-title {
	/*border-bottom: 1px solid #ccc;*/
	/*background: #f6f6f6;*/
	margin-bottom: 5px;
	overflow: auto;
	padding-top: 20px;
	padding-right: 24px;
	padding-bottom: 15px;
	padding-left: 0px;
	/*     -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.07);
  -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.07);
          box-shadow: 0 1px 3px rgba(0,0,0,0.07);*/
}

.page-close {
  display:none;
  position: absolute;
  right:0px;
  top:9px;
  width: 39px;
  height: 39px;
  background: url('../../images/close.png');
  background-position:left top;
  background-repeat: no-repeat;
}

#texte span {
	float:left;
	display:block;
	width:100%;
}

span.page-texte p {
	color:#666;
	text-align:justify;
	width:600px;
	line-height:16px;
}

span.page-texte em, span.page-texte em a {
	font-style:italic;
	line-height:22px;
	color:#666;
}

span.page-texte em a:hover {
	color: #09E;
}

span.page-design {
	margin-top:18px;
	color:#000;
	line-height:18px;
	}

span.page-client {
	margin-top:18px;
	color:#666;}

span.page-photo {
	margin-top:0px;
	color:#666;
	text-align:right;
	font-size:10px;}

/*.page-description pre {
  display: block !important;
}

.page-description p, .page-description pre {
	-webkit-column-break-before: avoid;
	-moz-column-break-before: avoid;
	-o-column-break-before: avoid;
	column-break-before: avoid;
	display: inline-block;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 0em;
	margin-left: 0;
}

.page-description .column > * {
   margin-left: 30px;
   margin-right: 0px;
   min-height:100px;
}

.page-description .column:first-child > * {
   margin-left: 0;
}

.page-description .column:last-child > * {
   margin-right: 0;
}

.page-description ul {
  list-style: none;
  margin-left: 0;
}

.page-description ul li p {
   margin-left: 1.4em;
}

.page-description ul li p:before {
  content: "\2013 \0020";
  margin-left: -1.4em;
}

.page-description pre {
  padding:1em;
  margin-bottom: 2em;
}*/

/* video */

/*.media #video-1 {
	margin-bottom:20px;
	margin-top:0px;
}

.media #video-2 {
	margin:0px;
}
*/

.media video {
	width:940px;
	height:530px;
}

div.media {margin-bottom:20px;
margin-top:20px;}


/* Gallery */

.gallery {
  margin: 0 0 0px 0;
  position: relative;
  overflow: hidden;
}

.image-wrapper {
	overflow: hidden;
	clear: both;
	/*background: #f1f2f3;*/
	border-top-width: 1px;
	border-bottom-width: 1px;
	border-top-style: solid;
	border-bottom-style: solid;
	border-top-color: #999;
	border-bottom-color: #999;
}

.gallery-controls {
  position: absolute;
  top:42%;
  width: 100%;
  overflow: visible;
  z-index: 999;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  display: block;
  padding: 16px 16px;
  width: 10px;
  height: 10px;
       -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.12);
  -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.12);
          box-shadow: 0 1px 3px rgba(0,0,0,0.12);

	opacity: 0.5;
}

.gallery .gallery-image {
  cursor: pointer;
}

.gallery .gallery-image img {
  display: block;
}

.gallery.centered .gallery-image img {
  margin: 0 auto;
}

.gallery-image img {
  max-width: 100%;
  height: auto;
}

.prev {
  left: 0px;
  background: #f7f8f9 url('../../images/arrow_left.png')  center no-repeat;
}

.prev:active, .prev.pressed {
  background: #1589ff url('../../images/arrow_left_white.png')  center no-repeat;
  background: #000 url('../../images/arrow_left_white.png')  center no-repeat;
}

.next {
  right: 0px;
  background: #f7f8f9 url('../../images/arrow_right.png')  center no-repeat;
}

.next:active, .next.pressed {
  background: #1589ff url('../../images/arrow_right_white.png')  center no-repeat;
  background: #000 url('../../images/arrow_right_white.png')  center no-repeat;
}

.gallery-caption {
  width: 100%;
  font-size: 14px;
  color: #444;
  text-align:right;
  /*background: #e9eaeb;*/
}

.gallery-caption div {
	padding-top: 10px;
}

/** Asset Frames */

h4#links-title, h4#downloads-title, h4#comments-title, h4#pdfs-title {
  margin:12px 0;
  text-transform: uppercase;
}

.asset-frame {
  margin: 10px 0 10px 0;
  width:600px;
  background-color:#333;
  /*padding: 18px 16px;
     -moz-box-shadow: inset 0 -1px 3px rgba(0,0,0,0.09);
  -webkit-box-shadow: inset 0 -1px 3px rgba(0,0,0,0.09);
          box-shadow: inset 0 -1px 3px rgba(0,0,0,0.09);*/
}

.asset-frame:last-child {
  margin-bottom: 36px;
}

.asset-frame .item a {
  display: block;
  padding: 10px;
}

#doc-pdf {
	display:block;
	margin-bottom:10px;
	margin-top:10px;
}



/*
 Miscellaneous and Helper Elements
 ________________________________________________________________
*/

.invis1 {
  display:none;
}

.invisibl {
  visibility: hidden;
}

.alert {
  text-align:center;
  padding:32px;
  margin:0px;
  position:relative;
  left:0px;
  right:0px;
  background:#ef4313;
  color:#fff;
}

#ajax-loader {
  display: none;
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  background: #fff url('../../images/ajax-loader-white.gif');
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 1000;
    -moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box;
  border-bottom: 1px solid #fff;
}

#title-loader {
  display: none;
  background: url('../../images/ajax-loader-white.gif');
  width: 16px;
  height: 16px;
  float: left;
  margin: 3px 0 0 8px;
}

.switch {
  background-position: top left;
  background-repeat: no-repeat;
}

.switch:active, .switch:hover {
  background-position: top right;
  background-repeat: no-repeat;
}

.noselect {
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}

/*ipad vertical*/

@media only screen and (max-width: 768px) {
  .prev, .next {
    padding: 14px 24px;
  }

  .media video {
	width:620px;
	height:350px;
  }
}

/*iphone*/

@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px)
and (orientation : landscape)  {
  .media video {
	width:620px;
	height:350px;
  }
}

@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px)
and (orientation : portrait)  {
  .media video {
	width:620px;
	height:350px;
  }
}
