@font-face{
font-family: 'arrows';
	src:url('../fonts/arrows/arrows.eot');
	src:url('../fonts/arrows/arrows.eot?#iefix') format('embedded-opentype'),
		url('../fonts/arrows/arrows.woff') format('woff'),
		url('../fonts/arrows/arrows.ttf') format('truetype'),
		url('../fonts/arrows/arrows.svg#arrows') format('svg');
	font-weight: normal;
	font-style: normal;
}

.bb-custom-wrapper{
  width:100%;
  height:100%;
  position:relative;
}

.bb-custom-wrapper .bb-bookblock{
  width:50%;
  height:100%;
  /*perspective*/
  -webkit-perspective:2000px;
     -moz-perspective:2000px;
      -ms-perspective:2000px;
       -o-perspective:2000px;
          perspective:2000px;
}

.bb-custom-firstpage-haute h1{
  font:300 1.8em/1em 'Montserrat',sans-serif;
}

.bb-custom-firstpage img{
  width:200%;
  /*box-shadow*/
  -webkit-box-shadow:0 3px 7px;
     -moz-box-shadow:0 3px 7px;
          box-shadow:0 3px 7px;
  margin-top:3%;
}

.bb-custom-firstpage-haute img{
  width:75%;
  /*box-shadow*/
  -webkit-box-shadow:0 3px 7px;
     -moz-box-shadow:0 3px 7px;
          box-shadow:0 3px 7px;
  margin: 3% auto;
  display: block;
}

.bb-custom-firstpage-petite img{
  width:50%;
  /*box-shadow*/
  -webkit-box-shadow:0 3px 7px;
     -moz-box-shadow:0 3px 7px;
          box-shadow:0 3px 7px;
  margin: 3% auto;
  display: block;
}

.bb-custom-side{
  width:50%;
  height:100%;
  overflow:hidden;
  /* Centering with flexbox */
  display:-webkit-box;
  display:-moz-box;
  display:-webkit-flex;
  display:flex;
  -webkit-flex-direction:row;
  flex-direction:row;
  -webkit-flex-wrap:wrap;
  flex-wrap:wrap;
  -webkit-box-pack:center;
  -moz-box-pack:center;
  -webkit-justify-content:center;
  justify-content:center;
  -webkit-box-align:center;
  -moz-box-align:center;
  -webkit-align-items:center;
  align-items:center;
  background-color:#fff;
}

.bb-custom-firstpage h1{
  font:normal 1.8em/1em 'Montserrat', sans-serif;
  margin:0;
  font-weight:300;
  text-align:center;
}

.bb-custom-firstpage h1 span{
  display:block;
  font-size:60%;
  opacity:0.3;
  padding:0 0 0.6em 0.1em;
}

.bb-custom-firstpage h2{
  text-align:center;
  font:normal 1.5em/1em 'Montserrat', sans-serif;
}

.bb-custom-firstpage{
  text-align:center;
  width:50%;
  float:left;
  height:100%;
  background-color:#fff;
}

.bb-custom-side p{
  padding:8%;
  font-size:1.8em;
  font-weight:300;
}

.bb-custom-wrapper h3{
  font:normal 1.2em/6em 'Montserrat', sans-serif;
  font-weight:300;
  text-align:center;
  background-color:#fff;
  margin:0;
}

.bb-custom-wrapper > nav{
  width:100%;
  height:40px;
  margin:1em auto 0;
  position:fixed;
  bottom:52px;
  z-index:1000;
  text-align:center;
}

.bb-custom-wrapper > nav a{
  display:inline-block;
  width:40px;
  height:40px;
  text-align:center;
  /*border-radius*/
  -webkit-border-radius:2px;
     -moz-border-radius:2px;
          border-radius:2px;
  color:#fff;
  font-size:01em;
  margin:2px;
}

.bb-custom-wrapper > nav a:hover{
  opacity:0.6;
}

.bb-custom-icon:before{
  font-family:'arrows';
  speak:none;
  font-style:normal;
  font-weight:normal;
  font-variant:normal;
  text-transform:none;
  line-height:1;
  font-size:30px;
  line-height:40px;
  display:block;
  -webkit-font-smoothing:antialiased;
}

.bb-custom-icon-first:before, .bb-custom-icon-last:before{
  content:".";
  background-image:url(../img/fleches.png);
  background-repeat:no-repeat;
  background-position:9px 10px;
  background-color:#009ee0;
  color:#009ee0;
}

.bb-custom-icon-arrow-left:before, .bb-custom-icon-arrow-right:before{
  content:".";
  background-image:url(../img/fleches.png);
  background-repeat:no-repeat;
  background-position:-24px 10px;
  background-color:#009ee0;
  color:#009ee0;
}

.bb-custom-icon-arrow-left:before, .bb-custom-icon-first:before{
  /*transform*/
  -webkit-transform:rotate(180deg);
     -moz-transform:rotate(180deg);
      -ms-transform:rotate(180deg);
       -o-transform:rotate(180deg);
          transform:rotate(180deg);
}

.retour-a{
  width:200px !important;
}

.retour-p{
  color:#009EE0;
  line-height:0px;
  font-size:1em;
  text-shadow:0 0 10px #009EE0;
}

.retour-icon p{
  color:red;
  background-color:#009ee0;
  height:40px;
}

/* No JS */
.no-js .bb-custom-wrapper{
  height:auto;
}

.no-js .bb-custom-content{
  height:470px;
}

/*-------Écran tablette------------------------------------------------------------------------*/
@media screen and (max-width: 768px) {

  .container{
    margin: 2% auto;
    max-width: 750px;
    width: 100%;
  }

  .bb-custom-firstpage{
    width: 100%;
  }

  .bb-custom-firstpage h1, .bb-custom-firstpage-petite h1, .bb-custom-firstpage-haute h1{
    margin:0 0 0 11px;
    font-size: 1.5em;
    font-weight: 300;
    text-align: center;
  }

  .bb-custom-firstpage h2, .bb-custom-firstpage-petite h2, .bb-custom-firstpage-haute h2{
    font-weight: 300;
    font-size: 1.2em;
    text-align: center;
  }

  .bb-custom-firstpage img{
    width: 100%;
  }

  .bb-custom-firstpage-haute img{
    width: 75%;
  }

  .bb-custom-firstpage-petite img{
    width: 50%;
  }

  .bb-custom-wrapper .bb-bookblock{
    width: 90%;
  }
}

/*-------Écran Mobile---------------------------------------------------------------------------*/
@media screen and (max-width: 320px){

  .container{
    max-width: 300px;
  }

 .bb-custom-firstpage-petite img, .bb-custom-firstpage-haute img{
  width: 100%;
  }
}

@media screen and (max-width: 61.75em){
  .bb-custom-side{
    font-size:70%;
  }
}

  @media screen and (max-width: 33em){
  .bb-custom-side{
    font-size:60%;
  }
}