/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * 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.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-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:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

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;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
    font-family:'Roboto Condensed', sans-serif;;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: url(../img/bckg.gif) repeat fixed;
    padding:0;
}
h1 {
    font-weight:200;
    font-style:normal;
    font-size:3em;
    line-height:1.25;
    text-transform:uppercase;
    font-family: 'Roboto Condensed', sans-serif;
    margin:0;
}
h2 {
    font-weight:200;
    font-style:normal;
    font-size:2.25em;
    line-height:1.25;
    text-transform:uppercase;
}
h3 {
    font-family:'Roboto Condensed';
    font-weight:400;
    font-size:0.8em;
}
p {
    margin-bottom:1.4em;
}
a {
  color:red;
  text-decoration:none;
}
a:hover {
  border-bottom: 1px dotted red;
}
ul, li {
  margin:0;
  padding:0;
}
/*┌────────────────────────┐
  │ STANDARDS              │
  └────────────────────────┘*/
.hide {
  opacity:0;

}
.titre {
    font-size:2em;
    line-height:1.2em;
    margin:-5px 0 0.15em -2px;
}
.label {
    font-size:0.85em;
}
.overline {
    border-top: 1px solid #000;
}
.overlinep {
    border-top: 1px dotted #000;
}
.underline {
    border-bottom: 1px solid #000;
}
.underlinep {
    border-bottom: 1px dotted #000;
}
.col2 {
    float:left;
    width:50%;
}
.inset {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
.bblack{
    background-color:#000;
}
.translu{
    opacity:0.8;
}
.right {
    text-align:right;
}
.centered {
    text-align:center;
}
.bigline {
  width:100%;
  height:3px;
}
.date {
  font-size:0.8em;
  font-weight:400;
  margin-top:1em;
  margin-left:-1px;
}
.texte {
  margin-right:2.5em;
}
.icone {
    width:40px;
    height:59px;
    background: url(../img/maison1.png) center no-repeat;
    background-size: 40px 59px;
    padding-bottom:1em;
}
.sup_bottom {
  padding-bottom:96px;
}
.for2col {
  margin-right:-48px;
}
.maj {
  text-transform: uppercase;
}
.cls {
    clear:both;
    width:0px;
    height:0px;
}
.fright {
  float:right;
}
.archive .date, .archive .localisation {
  font-size:0.85em;
  margin-top:0;
}
.archive .localisation {
  margin-bottom:2px;
}
.infos {
  font-weight:400;
  text-transform: uppercase;
  font-size:0.9em;
  margin-bottom:2em;
}
.infos span:after {
  content:' / ';
  font-weight:300;
}
.infos span:last-child:after {
  content:'';
}
.about {
  padding-top:36px;
}
.about .titre {
  margin-bottom:-2px;
  font-size:3em;
}
.about span, .adresse {
  text-transform: uppercase;
  font-size:0.85em;
}
.adresse {
  margin-top:3em;
}
.aboutzone {
  background-color:#ececea!important;
  display:block;
}
.push {
  margin:0 -48px;
}
.gmap {
  height:480px;
  margin-right:-48px;
  display:block;
}
/*┌────────────────────────┐
  │ MENU                   │
  └────────────────────────┘*/
#topmenu {
  position:fixed;
  top:0;
  max-width:1120px;
  margin:0 auto;
  z-index:15000;
  background-color:#fff;
  text-transform:uppercase;
  font-weight:300;
  font-size:14px;
  text-align:center;
  text-align:right;
}
#menu ul li {
  display:inline-block;
  
}
#menu ul a {
  color:#000;
  padding:36px 48px 36px 0px;
  display:inline-block;
  opacity:0.5;
}
#menu ul a:hover {
  opacity:1;
  border:none;
}
/*┌────────────────────────┐
  │ HEADER                 │
  └────────────────────────┘*/

#header {
   text-align:center;
   width:100%;
   z-index:11000;
}
#header .wrapped {
    padding:116px 48px 0px 48px;
}
.show {
  width:100%;
  height:300px;
  position:relative;
  overflow:hidden;
}
.mask {
 position:absolute;
 top:0;
 z-index:10000;
 height:300px;
 width:300px;
 border-left:450px solid #fff;
 border-right:450px solid #fff;
 background-color:transparent;
}
.mask img {
  height:100%;
  width:100%;
}
#infos_home {
  text-align:right;
  margin:64px auto -8px auto;
  font-size:0.85em;
}
#infos_home span {
  padding-left: 1em;
  display:inline-block;
}
#infos_home a {
  color:#000;
  font-weight:400;
}
#infos_home a:hover {
  color:red;
  border:none;
}
/*┌────────────────────────┐
  │ MAIN                   │
  └────────────────────────┘*/
#main {
    font-family:'Roboto Condensed';
    font-weight:300;
    font-size:0.9em;
}
.wrapped {
    max-width:1024px;
    margin:0 auto;
    position:relative;
    background-color:#fff;
    padding:0 48px;
}
.article {
    padding-bottom:48px;
    position:relative;
}
.row_actu {
    margin-bottom: 24px;
    padding-bottom:24px;
}
.section_title {
  padding:64px 0 128px 0;
  position:relative;
  margin-bottom:48px;
}
.page-template-news #news .section_title {
  min-height:64px;
}
#news .section_title, #about .section_title, #projets .section_title {
  min-height:64px;
  padding:128px 0 64px 0;
}
.home #news .section_title, .home #about .section_title, .home #projets .section_title {
  min-height:64px;
  padding:48px 0 64px 0;
}
#single_projet {
  padding-top:64px;
}
#coversingle {
  position:absolute;
  top:0;
  left:0;
  bottom:0;
  right:0;
  opacity:0.1;
  background: center no-repeat;
  background-size: cover;
}
.left_info, .right_info {
  float:left;
  padding-top:0;
}
.left_info {
    width:22%;
    text-transform:uppercase;
    margin-bottom:24px;
}
.left_info > div {
  margin-right:3em;
}
.right_info {
  width:78%;
}
.right_info img {
  width:100%;
  height:auto;
}
.img_ratio {
  overflow:hidden;
  position:relative;
}
.img_ratio img {
  position: absolute;
  top:-100%; left:0; right: 0; bottom:-100%;
  margin: auto;
}
.article .texte p{
  margin-top: 0;
  margin-bottom:0;
}
.article.col2:nth-child(odd) {
  clear:both;
}
.localisation {
  opacity:0.6;
}
.archive, .about {
  margin-right:48px;
  padding-bottom:48px;
}
.apercu {
  margin-top:1em;
}
.coord img {
  width:96px;
  height:96px;
  display:block;
  margin-left:-11px;
  margin-bottom:4px;
}
.description {
  margin-top:48px;
}
.description img {
  margin-bottom:48px;
}
/*┌────────────────────────┐
  │ FOOTER                 │
  └────────────────────────┘*/
#footer {
  width:100px;
  height:100px;
  position:fixed;
  top:24px;
  left:14px;
  z-index:16000;
  display:none;
}
#logo, #logo img {
  width:100%;
  height:100%;
}
/*┌────────────────────────┐
  │ SINGLE-PROJET          │
  └────────────────────────┘*/
#single_projet h2{
  word-spacing:1000px;
  margin-top:0;
  margin-left:0.3em;
}
#single_projet .right_info h1 {
  word-spacing: 0;
  padding:18px 0 48px 0;
  margin-left:-2px;
}
.informations {
  margin-right:48px;
}
.informations p {
  margin-right:0;
}
.datas p {
  margin:0em;
}
.datas {
  margin-top:1.3em;
  font-size:0.85em;
}
.datas p, .datas a {
  margin-right:1em;
}
.datas strong {
  font-weight:400;
}
.datas a {
  font-weight:400;
  color:#000;
}
.datas a:hover {
  color:red;
  border:none;
  list-style:dot;
}
.datas ul {
  padding-left:1.3em;
}
.galerie {
  float:left;
  margin:48px 48px 0px 0px;
}
.galerie img {
  margin-bottom:48px;
}
#logosingle {
  position:absolute;
  top:10px;
  width:72px;
  height:72px;
  z-index:50000;
  left:8px;
}
#logosingle a:hover {
  border:none;
}
#logosingle img {
  width:100%;
  height:100%;
}
#single_projet #infos_home, #projets #infos_home, #news #infos_home{
  text-align:right;
  margin:0px auto -8px auto;
  font-size:0.85em;
  padding-bottom:48px;
}
.tothetop {
  text-align:right;
  cursor:pointer;
  padding-bottom:48px;
}
.tothetop img {
  width:48px;
  heigth:24px;
}
.credits {
  opacity:0.6;
  font-size:0.85em;
  text-align:right;
  margin-bottom:48px;
}
/*┌────────────────────────┐
  │ SINGLE-PROJET          │
  └────────────────────────┘*/
  .removemin {
    min-height:0px !important;
  }
/*┌────────────────────────┐
  │ EFFECTS                │
  └────────────────────────┘*/

.corner {
    position:absolute;
    width:1000px;
    height:1000px;
    bottom:0;
    right:32px;
    -ms-transform: rotateZ(135deg); /* IE 9 */
    -ms-transform-origin: bottom right;
    -webkit-transform: rotateZ(135deg); /* Safari */
    -webkit-transform-origin: bottom right;
    transform: rotateZ(135deg);
    transform-origin: bottom right;
    opacity:0.8;
    background-color: #fff;
}
.grey {
    background-color: #ccc !important;
}
.hover {
    position:absolute;
    left:0;
    right:0;
    top:0;
    bottom:0;
    overflow:hidden;
    cursor:pointer;
}
#news .article .hover {
  right:40px;
}
.plus {
  font-size:2em;
  color:#000;
  opacity:0;
  position:absolute;
  bottom:-15px;
  right:-1px;
  font-family:'Raleway';
  font-weight:300;
}
.hover:hover .corner {
    right:100px;
    opacity:1;
}
#news .article .hover:hover .corner {
    right:120px;
    opacity:0.5;
}
.hover:hover .plus {
    opacity:0.3;
}
.anim {
  -webkit-transition: all 0.25s ease-out;
  -moz-transition: all 0.25s ease-out;
  -o-transition: all 0.25s ease-out;
  -ms-transition: all 0.25s ease-out;
}
.animslow {
  -webkit-transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
  -o-transition: all 0.4s ease-out;
  -ms-transition: all 0.4s ease-out;
}
.animfast {
  -webkit-transition: all 0.1s ease-out;
  -moz-transition: all 0.1s ease-out;
  -o-transition: all 0.1s ease-out;
  -ms-transition: all 0.1s ease-out;
}
.invisible{
  opacity:0;
  -ms-transform: translateY(24px);
  -webkit-transform: translateY(24px);
  transform: translateY(24px);
}
.up{
  -ms-transform: translateY(-40px);
  -webkit-transform: translateY(-40px);
  transform: translateY(-40px);
  opacity:0;
}
.stretched{
  width:0px!important;
}
.animline {
  display:inline-block;
  width:100%;
}
/*┌────────────────────────┐
  │ FOOTER                 │
  └────────────────────────┘*/

#footer {
  overflow:hidden;
}

/*┌────────────────────────┐
  │ MEDIA                  │
  └────────────────────────┘*/
@media only screen and (min-width: 20em) {
    .col2 {
      width:100%;
    }
    .single-projet .col2 {
      width:50%;
    }
    .wrapped {
      padding:0 24px;
    }
    .push {
      margin:0 -24px;
    }
    .galerie {
      margin:48px 24px 0px 0px;
    }
    .gmap {
      height:400px;
      margin-right:-24px;
      margin-left:-24px;
    }
    .for2col {
      margin-right:-24px;
    }
    .archive, .about {
      margin-right:24px;
    }
    #infos_home {
      text-align:center;
    }
    #infos_home span {
      padding-left: 0.5em;
      padding-right: 0.5em;
    }
    .section_title {
      padding:48px 0 48px 0;
      margin-left:-3px;
    }
    h1 {
      font-size:2.6em;
    }
    .sup_bottom {
      padding-bottom:0px;
    }
    .texte {
      margin-right:0em;
    }
    #header .wrapped {
      padding:96px 24px 0px 24px;
    }
    .informations {
      margin-right:24px;
    }
    .left_info {
      width:100%;
    }
    .right_info {
      width:100%;
    }
    .about{
      padding-bottom:0px;
    }
    .galerie img {
      margin-bottom:24px;
    }
    #logosingle {
      
    }
    #news .article .hover {
      right:0px;
    }
    #topmenu {
      font-size:14px;
    }
    #menu ul a {
      padding:36px 24px 36px 0px;
    }
}
@media only screen and (min-width: 32em) {
    .wrapped {
      padding:0 48px;
    }
    .push {
      margin:0 -48px;
    }
    .gmap {
      height:480px;
      margin-right:-48px;
      margin-left:-48px;
    }
    .for2col {
      margin-right:-48px;
    }
    .archive, .about {
      margin-right:48px;
    }
    #infos_home {
      text-align:right;
    }
    #infos_home span {
      padding-left: 1em;
      padding-right: 0;
    }
    .section_title {
      padding:36px 0 128px 0;
      margin-left:0px;
    }
    h1 {
      font-size:3em;
    }
    .sup_bottom {
      padding-bottom:96px;
    }
    .texte {
      margin-right:2.5em;
    }
    #header .wrapped {
      padding:116px 48px 0px 48px;
    }
    .galerie {
      margin:48px 48px 0px 0px;
    }
    .informations {
      margin-right:48px;
    }
    .gmap {
      margin-right:-48px;
      margin-left:-48px;
    }
    #menu ul a {
      padding:36px 48px 36px 0px;
    }
    
}

@media only screen and (min-width: 48em) {
    .col2 {
      width:50%;
    }
    .left_info {
      width:22%;
    }
    .right_info {
      width:78%;
    }
    .gmap {
      height:480px;
      margin-right:-48px;
      margin-left:-48px;
    }
    .about{
      padding-bottom:48px;
    }
    .galerie img {
      margin-bottom:48px;
    }
    #news .article .hover {
      right:40px;
    }
   
}





/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.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:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override 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 print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
/*ROYALSLIDER*/
/* v1.0.6 */
/* Core RS CSS file. 95% of time you shouldn't change anything here. */
.royalSlider {
  width: 100%;
  height: 100%;
  position: relative;
  direction: ltr;
  margin:0 auto;
  text-align: left;
}
.royalSlider > * {
  float: left;
}

.royalSlider img {
    width: 100%;
    height: auto;
    margin: 10px auto;
}

.rsFade.rsWebkit3d .rsSlide,
.rsFade.rsWebkit3d img,
.rsFade.rsWebkit3d .rsContainer {
    -webkit-transform: none;
}
.rsOverflow {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  float: left;
  -webkit-tap-highlight-color:rgba(0,0,0,0);
}
.rsVisibleNearbyWrap {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  left: 0;
  top: 0;
  -webkit-tap-highlight-color:rgba(0,0,0,0);
}
.rsVisibleNearbyWrap .rsOverflow {
  position: absolute;
  left: 0;
  top: 0;

}
.rsContainer {
  position: relative;
  width: 100%;
  height: 100%;
  -webkit-tap-highlight-color:rgba(0,0,0,0);
}

.rsArrow,
.rsThumbsArrow {
  cursor: pointer;
}

.rsThumb {
  float: left;
  position: relative;
}


.rsArrow,
.rsNav,
.rsThumbsArrow {
  opacity: 1;
  -webkit-transition:opacity 0.3s linear;
  -moz-transition:opacity 0.3s linear;
  -o-transition:opacity 0.3s linear;
  transition:opacity 0.3s linear;
}
.rsHidden {
  opacity: 0;
  visibility: hidden;
  -webkit-transition:visibility 0s linear 0.3s,opacity 0.3s linear;
  -moz-transition:visibility 0s linear 0.3s,opacity 0.3s linear;
  -o-transition:visibility 0s linear 0.3s,opacity 0.3s linear;
  transition:visibility 0s linear 0.3s,opacity 0.3s linear;
}


.rsGCaption {
  width: 100%;
  float: left;
  text-align: center;
}

/* Fullscreen options, very important ^^ */
.royalSlider.rsFullscreen {
  position: fixed !important;
  height: auto !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 2147483647 !important;
  top: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  right: 0 !important;
}

.royalSlider .rsSlide.rsFakePreloader {
  opacity: 1 !important;
  -webkit-transition: 0s;
  -moz-transition: 0s;
  -o-transition:  0s;
  transition:  0s;
  display: none;
}

.rsSlide {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  overflow: hidden;
  
  height: 100%;
  width: 100%;
}

.royalSlider.rsAutoHeight,
.rsAutoHeight .rsSlide {
  height: auto;
}

.rsContent {
  width: 100%;
  height: 100%;
  position: relative;
}

.rsPreloader {
  position:absolute;
  z-index: 0; 
}

.rsNav {
  -moz-user-select: -moz-none;
  -webkit-user-select: none;
  user-select: none;
}
.rsNavItem {
  -webkit-tap-highlight-color:rgba(0,0,0,0.25);
}

.rsThumbs {
  cursor: pointer;
  position: relative;
  overflow: hidden;
  float: left;
  z-index: 22;
}
.rsTabs {
  float: left;
  background: none !important;
}
.rsTabs,
.rsThumbs {
  -webkit-tap-highlight-color:rgba(0,0,0,0);
  -webkit-tap-highlight-color:rgba(0,0,0,0);
}


.rsVideoContainer {
  /*left: 0;
  top: 0;
  position: absolute;*/
  /*width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  float: left;*/
  width: auto;
  height: auto;
  line-height: 0;
  position: relative;
}
.rsVideoFrameHolder {
  position: absolute;
  left: 0;
  top: 0;
  background: #141414;
  opacity: 0;
  -webkit-transition: .3s;
}
.rsVideoFrameHolder.rsVideoActive {
  opacity: 1;
}
.rsVideoContainer iframe,
.rsVideoContainer video,
.rsVideoContainer embed,
.rsVideoContainer .rsVideoObj {
  position: absolute;
  z-index: 50;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
/* ios controls over video bug, shifting video */
.rsVideoContainer.rsIOSVideo iframe,
.rsVideoContainer.rsIOSVideo video,
.rsVideoContainer.rsIOSVideo embed {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding-right: 44px;
}

.rsABlock {
  left: 0;
  top: 0;
  position: absolute;
  z-index: 15;
  
}

img.rsImg {
  max-width: none;
  padding:0;
}

.grab-cursor {
  cursor:url(grab.png) 8 8, move; 
}

.grabbing-cursor{ 
  cursor:url(grabbing.png) 8 8, move;
}

.rsNoDrag {
  cursor: auto;
}

.rsLink {
  left:0;
  top:0;
  position:absolute;
  width:100%;
  height:100%;
  display:block;  
  z-index: 20;
  background: url(blank.gif);
}
