/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 *
 * Detailed information about this CSS: h5bp.com/css
 *
 * ==|== normalize ==========================================================
 */


/* =============================================================================
   HTML5 display definitions
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }


/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 * 2. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
 */

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

html, button, input, select, textarea { font-family: sans-serif; color: #222; }

body { margin: 0; font-size: 1em; line-height: 1.4; }

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate
 * Also: hot pink! (or customize the background color to match your design)
 */

/*::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }*/


/* =============================================================================
   Links
   ========================================================================== */

a { color: #00e; }
a:visited { color: #551a8b; }
a:hover { color: #06e; }
a:focus { /*outline: thin dotted;*/ outline: 0; }

/* Improve readability when focused and hovered in all browsers: h5bp.com/h */
a:hover, a:active { outline: 0; }


/* =============================================================================
   Typography
   ========================================================================== */

abbr[title] { border-bottom: 1px dotted; }

b, strong { font-weight: bold; }

blockquote { margin: 1em 40px; }

dfn { font-style: italic; }

hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }

ins { background: #ff9; color: #000; text-decoration: none; }

mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }

/* Redeclare monospace font family: h5bp.com/j */
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }

small { font-size: 85%; }

/* Position subscript and superscript content without affecting line-height: h5bp.com/k */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }


/* =============================================================================
   Lists
   ========================================================================== */

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }


/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * 1. Improve image quality when scaled in IE7: h5bp.com/d
 * 2. Remove the gap between images and borders on image containers: h5bp.com/i/440
 */

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

/*
 * Correct overflow not hidden in IE9
 */

svg:not(:root) { overflow: hidden; }


/* =============================================================================
   Figures
   ========================================================================== */

figure { margin: 0; }


/* =============================================================================
   Forms
   ========================================================================== */

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }

/* Indicate that 'label' will shift focus to the associated form element */
label { cursor: pointer; }

/*
 * 1. Correct color not inheriting in IE6/7/8/9
 * 2. Correct alignment displayed oddly in IE6/7
 */

legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }

/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */

button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }

/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 */

button, input { line-height: normal; }

/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 * 3. Correct inner spacing displayed oddly in IE7 (doesn't effect IE6)
 */

button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }

/*
 * Re-set default cursor for disabled elements
 */

button[disabled], input[disabled] { cursor: default; }

/*
 * Consistent box sizing and appearance
 */

input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }

/*
 * Remove inner padding and border in FF3/4: h5bp.com/l
 */

button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

/*
 * 1. Remove default vertical scrollbar in IE6/7/8/9
 * 2. Allow only vertical resizing
 */

textarea { overflow: auto; vertical-align: top; resize: vertical; }

/* Colors for form validity */
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }


/* =============================================================================
   Tables
   ========================================================================== */

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }


/* =============================================================================
   Chrome Frame Prompt
   ========================================================================== */

.chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0; }


/* =============================================================================
   Fonts
   ========================================================================== */

/* http://www.fontsquirrel.com/fontface/generator - http://www.google.com/webfonts*/
@font-face {
    font-family: 'ArialNarrowRegular';
    src: url('_font/arial_narrow/arialnarrow_0-webfont.eot');
    src: url('_font/arial_narrow/arialnarrow_0-webfont.eot?#iefix') format('embedded-opentype'),
         url('_font/arial_narrow/arialnarrow_0-webfont.woff') format('woff'),
         url('_font/arial_narrow/arialnarrow_0-webfont.ttf') format('truetype'),
         url('_font/arial_narrow/arialnarrow_0-webfont.svgz#ArialNarrowRegular') format('svg'),
         url('_font/arial_narrow/arialnarrow_0-webfont.svg#ArialNarrowRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'HelveticaNeue35Thin';
    src: url('_font/helvetica_neue/helveticaneue-thin-webfont.eot');
    src: url('_font/helvetica_neue/helveticaneue-thin-webfont.eot?#iefix') format('embedded-opentype'),
         url('_font/helvetica_neue/helveticaneue-thin-webfont.woff') format('woff'),
         url('_font/helvetica_neue/helveticaneue-thin-webfont.ttf') format('truetype'),
         url('_font/helvetica_neue/helveticaneue-thin-webfont.svgz#HelveticaNeue35Thin') format('svg'),
         url('_font/helvetica_neue/helveticaneue-thin-webfont.svg#HelveticaNeue35Thin') format('svg');
    font-weight: normal;
    font-style: normal;
}


body, select, input, textarea {
  /* #444 looks better than black: twitter.com/H_FJ/statuses/11800719859 */
  color: #A6A6A6;
  /* set your base font here, to apply evenly */
  /* http://www.alsacreations.com/article/lire/631-quelles-polices-pour-un-site-web.html */

  /* font-family: "Times New Roman", Times, "Liberation Serif", FreeSerif, serif; */
  /* font-family: Georgia, "DejaVu Serif", Norasi, serif; */

  font-family: 'ArialNarrowRegular', Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
  /* font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; */
  /* font-family: "Lucida Sans", "Lucida Grande", "Lucida Sans Unicode", "Luxi Sans", sans-serif; */
  /* font-family: Tahoma, Geneva, Kalimati, sans-serif; */
  /* font-family: Verdana, "DejaVu Sans", "Bitstream Vera Sans", Geneva, sans-serif; */
  /* font-family: Impact, "Arial Black", sans-serif; */

  /* font-family: "Courier New", Courier, "Liberation Mono", monospace; */
  /* font-family: Monaco, "DejaVu Sans Mono", "Lucida Console", "Andale Mono", monospace; */
}

h1 { font-size: 16px; }
h2 { font-size: 14px; }
h3 { font-size: 13px; }
h4 { font-size: 12px; }
h5 { font-size: 11px; }
h6 { font-size: 10px; }
p  { font-size: 14px; margin: 14px 0 34px;}
hr { margin: 34px 0; }


/* ==========================================================================
   Generic:
   ========================================================================== */

.load {
    background: url(../public/img/loader-light.gif) no-repeat center center;
    visibility: hidden;
}
.no-js .load {
	visibility: visible;
}

/* @HACK */

.wrapper-valign {
    display: table;
    height: 100%;
    /*display: inline-block;*/
    vertical-align: middle;
}
.cell {
    display: table-cell;
    vertical-align: middle;
}
.hack-valign {
    display: none;
}

.lt-ie8 .wrapper-valign {
    display: inline;
    zoom: 1;
    height: auto;
}
.lt-ie8 .cell {
    display: inline;
    zoom:1;
}
.lt-ie8 .hack-valign {
    display: inline-block;
    zoom: 1;
    height: 100%;
    width: 0px;
    vertical-align: middle;
}

/* @CLOSE */

.close {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 12px;
    height: 11px;
    background: url('../public/img/close-big.gif') no-repeat center center;
    z-index: 2;
}
.lt-ie7 .close {
    background-position: -7px -5px;
    width: 11px;
    height: 13px;
}
.close.big {
	top: 15px;
    right: 15px;
    width: 26px;
    height: 25px;
}
.lt-ie7 .big {
    background-position: center center;
    width: 26px;
    height: 25px;
}


/* ==|== primary styles =====================================================
   Author:
   ========================================================================== */

/* STRUCTURE */
html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

#container {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
}

#header {
    position: relative;
    min-height: 130px;
    overflow: hidden;
}

#portfolio {
  position: absolute;
  left: 0;
  top: 130px;
  bottom: 40px;
  width: 100%;
  overflow-y: auto;
  z-index: 2;
  text-align: center;
  background: #fff;
}

#main {
	position: absolute;
	left: 0;
	top: 130px;
	bottom: 140px;
	width: 100%;
	background: url(../public/img/loader-light.gif) no-repeat center center;
	overflow: hidden;
	z-index: 1;
	text-align: center;
}
#main.no-aside {
    bottom: 40px;
}
#main.full-browser {
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #fff;
	/*overflow: scroll;*/
}
#main.full-browser .wrapper-valign,
#main.full-browser .cell {
    width: 100%;
    text-align: center;
}
.touch #main.full-browser {
	overflow: auto;
}

#main-image,
#main-video {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 100%;
}
#main-image img {
	position: absolute;
	top: 50%;
	left: 50%;
}
#main-video video,
#main-video .video-js {
	width: 100% !important;
	height: 100% !important;
	background: #000;
}

#aside {
    position: absolute;
	left: 0;
    bottom: 40px;
    width: 100%;
    height: 100px;
    /*overflow: hidden;*/
    text-align: center;
    overflow: hidden;
}
.touch #aside,
.no-js #aside {
	overflow-y: hidden;
    overflow-x: auto;
}

#footer {
    position: absolute;
    bottom: 0;
    height: 40px;
    width: 100%;
}

/* HEADER */
#header h1 {
	font-family: 'HelveticaNeue35Thin';
    font-size: 40px;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin: 25px 0 0;
    color: #999;
}

#navigation a {
	text-transform: uppercase;
    text-decoration: none;
    font-size: 14px;
    color: #A6A6A6;
    letter-spacing: 1px;
  -webkit-transition: all 0.4s linear;
     -moz-transition: all 0.4s linear;
      -ms-transition: all 0.4s linear;
       -o-transition: all 0.4s linear;
          transition: all 0.4s linear;
}
#navigation a.active,
#navigation a:hover {
    color: #000;
}

.nav ul,
.nav li {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
.nav li {
    display: inline-block;
    padding: 0 10px;
}
.lt-ie8 .nav li {
    display: inline;
    zoom: 1;
}

#header img {
	vertical-align: text-top;
}

/* PORTFOLIO */
.categorie-wrapper {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}
.cat-box {
    position: relative;
    display: inline-block;
    *display: inline;
    *zoom: 1;
    width: auto;
    height: 115px;
    margin: 20px;
    vertical-align: top;
    box-shadow: 1px 1px 12px #555;
}
.cat-box img {
  display: block;
  width: auto;
  height: 100%;
  opacity: 1;
  -webkit-transition: all 0.2s linear;
     -moz-transition: all 0.2s linear;
      -ms-transition: all 0.2s linear;
       -o-transition: all 0.2s linear;
          transition: all 0.2s linear;
}
.hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  display: block;
  text-decoration: none;
  -webkit-transition: all 0.2s linear;
     -moz-transition: all 0.2s linear;
      -ms-transition: all 0.2s linear;
       -o-transition: all 0.2s linear;
          transition: all 0.2s linear;
}
.hover:after {
  display: inline-block;
  content: '';
  height: 100%;
  vertical-align: middle;
  width: 0;
}
.hover span {
  display: inline-block;
  font-size: 14px;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  letter-spacing: 2px;
  vertical-align: middle;
}
.cat-box:hover img {
  opacity: 0.5;
}
.cat-box:hover .hover {
  opacity: 1;
}

/* MAIN */
#main .close {
    display: none;
}
#main.full-browser .close {
    display: block;
    position: fixed;
}

.full-view-width {
    width: 100%;
    height: auto;
}
.full-view,
.full-view-height {
    height: 100%;
    width: auto;
}

#image-zoom {
	/*cursor: -moz-zoom-in;*/
	cursor: url(zoomIn.cur),url(_css/zoomIn.cur),default;
}
#image-zoom.zoomout {
	/*cursor: -moz-zoom-out;*/
	cursor: url(zoomOut.cur),url(_css/zoomOut.cur),default;
}
.infobulle {
     background-color:#FFFFFF;
     display: none;
     position: fixed;
     top: 2px;
     left: 0;
     height: 18px;
     width: 44px;
     line-height: 18px;
     text-transform: uppercase;
     color: #818181;
     font-size: 9px;
     text-align: center;
}
.infohover:hover .infobulle {
    display: block;
}

.fleche {
	position: absolute;
    top: 0;
    display: block;
    width: 20%;
    height: 100%;
}
#previous {
	left: 0;
	background: url(../public/img/flechegauche.png) no-repeat center center;
}
#next {
    right: 0;
    background: url(../public/img/flechedroite.png) no-repeat center center;
}

/* ASIDE */
.slideshow {
    position: relative;
    display: inline-block;
    padding: 0;
    margin: 12px 0 0;
    list-style-type: none;
    white-space: nowrap;
    height: 88px;
}
.slideshow .slide {
    display: inline-block;
    padding: 0;
    margin: 0 10px;
    height: 80px;
	box-shadow: 1px 1px 12px #555;
}
.lt-ie9 .slideshow .slide {
    border: 1px solid #000;
}
.lt-ie8 .slideshow,
.lt-ie8 .slideshow .slide {
	display: inline;
	zoom: 1;
}
.slide img {
    width: auto;
    height: 100%;
}

/* FOOTER */
#footer {
	line-height: 40px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* POPIN */
.wrapper-popin {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 50;
}
.mask {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #999;
	opacity : 0.5;
    -moz-opacity : 0.5;
    -ms-filter: "alpha(opacity=50)";
    filter : alpha(opacity=50);
}
.popin {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 768px;
	height: 600px;
	margin-left: -384px;
	margin-top: -300px;
	background: #fff;
	border: 1px solid #000;
  overflow: auto;
}
.column-double {
	float: left;
	width: 50%;
	overflow: auto;
}
.info-txt {
	padding: 30px;
	text-align: left;
	color: #000;
}
.no-decoration {
  color: #000;
  text-decoration: none;
}
.no-decoration:hover {
  color: #000;
  text-decoration: underline;
}
.h2 {
  display: block;
  font-weight: bold;
  margin: 0 0 10px;
}
.date {
  float: left;
  padding-right: 20px;
}
.publi {
  float: left;
  width: 85%;
}
.clear {
  clear: both;
}



/* ==|== media queries ======================================================
   EXAMPLE Media Query for Responsive Design.
   This example overrides the primary ('mobile first') styles
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media screen and (max-width: 760px) {
    #main {
	    top: 168px;
	}
}



/* ==|== non-semantic helper classes ========================================
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }

/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden { display: none !important; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Contain floats: h5bp.com/q */
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }



/* ==|== print styles =======================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}
