/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html {
    font-family: 'Roboto';
    font-weight: 400;
  }

.bold, b {
	font-family: 'Roboto';
    font-weight: 700;
}

.light {
	font-family: 'Roboto';
    font-weight: 300;
}

a.retour {
	position: absolute;
	top : 15px;
	left: 20px;
	color: #31332d;
	font-size: 13px;
	font-weight: 300;
	text-decoration: none;
}

a.retour:hover { font-weight: 400; }

#bloc_page {
	
}

.header {
	background-image: url(img/px_bg.png);
	background-repeat: no-repeat;
	background-size : 100% 200px;
	margin-bottom: 20px;
}

#titre_principal { clear: both; width: 700px; margin:auto; position: relative; }

#titre_principal::before {
	content: "";
	position: absolute;
	right: -25px;
	top : 24px;
	background-image: url(img/fauteuil_dubuisson.png);
	background-repeat: no-repeat;
	width: 160px;
	height: 194px;
}

#titre_principal h1 {
	font-family: 'Roboto';
    font-weight: 300;
	padding: 100px 0 50px 50px;
	margin: 0;
}

#nav {
	clear: both; width: 700px; margin:auto;
}

#nav ul {
	display: inline-block;
	list-style: none;
	margin: 10px 0;
	padding: 0;
}

#nav li {
	font-size: 18px;
	font-weight: 300;
	float: left;
	margin: 1px 10px;
	position: relative;
}

#nav li::before {
	content: "-";
	position: absolute;
	left: -12px;
}

#nav li:first-child {
	margin-left: 0;
}
#nav li:first-child::before {
	content: "";
}

#nav li a {
	color: #31332d;
	text-decoration: none;
	display: block;
	border-bottom: 5px solid #fff;
}

#nav li a:hover, #nav li a.active {
	border-bottom: 5px solid #e5f0d4;
}

#main {}

#wrapper {clear: both; width: 700px; margin:auto;}

#content { text-align: justify; font-size: 15px; position: relative; }

#liste_objets {
	list-style: none;
	margin: 10px 0;
	padding: 0;
	width: 330px;
	float: left;
}

#liste_objets a {
	text-decoration: none;
	color: #111F00;
	font-weight: 300;
	font-size: 14px;
}

#liste_objets a em { font-size: 15px; }

#liste_objets a::before {
	content: "+";
	padding-right: 6px;
}

#vignettes {
	list-style: none;
	margin: 10px 0;
	padding: 0;	
	width: 370px;
	float: right;
	display:flex;
  	flex-direction:row;
	flex-wrap:wrap;
	justify-content: space-between;
	position: relative;
}

#vignettes li:first-child {
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: rgba(46,29,29,0.82);
	z-index: 15;
	display: none;
}

#vignettes li {
	position: relative;
	z-index: 10;
}

#vignettes li.vide { width: 68px; height: 93px; background-color: #413200;border: 3px solid #fff; }

#vignettes li.active {
	z-index: 20;
}
#vignettes img {
	border: 3px solid #fff;
}

#zoom { list-style: none; padding: 0; margin: 0; }

#zoom li {
	background-color: rgba(255,255,255,0.80); padding: 20px; position: absolute; clear: both; z-index: 50;
	display: none;
	align-items: center;
	height: 95%;
	width: 660px;
	left: 100%;
	opacity: 0;
}

#zoom li > div {
	display: flex;
    flex-direction: row ;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: flex-end;
	padding: 15px;
	background-color: #FFF;
	width: 630px;
	position: relative;
}

#zoom li a.close {
	display: block;
	position: absolute;
	right: -10px;
	top: -10px;
}

#zoom div.texte {
	text-align: left;
	padding-right: 25px;
}

#zoom div img {
	
}

#zoom div.texte h3 { margin: 0; }

#zoom div.texte p { margin-top: 10px; font-size: 14px; }

#zoom div.texte p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   Media Queries for Responsive Design.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

