
@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;
}

*, *:after, *:before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
body, html { font-size: 100%; padding: 0; margin: 0; height: 100%;}

.clearfix:before, .clearfix:after { content: " "; display: table; }
.clearfix:after { clear: both; }

body {

}

a {
  color: #555;
  text-decoration: none;
  outline: none;
}

a img {
  border: none;
}

/* Header Style */
.container > header {
  margin: 0 auto;
  padding: 2em;
}

.container {
  height: 100%;
  margin: 0 auto;
}

.bb-custom-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  margin: 0 auto;
}

.bb-custom-wrapper .bb-bookblock {
  width: 100%;
  height: 100%;
  -webkit-perspective: 2000px;
  -moz-perspective: 2000px;
  perspective: 2000px;
}

.bb-custom-side {
  width: 50%;
  float: left;
  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;
}



.bb-custom-firstpage, .bb-custom-lastpage {
  width: 100%;
  float: none;
  text-align: center;
}


.bb-custom-wrapper > nav {
  width: 100%;
  height: 30px;
  margin: 1em auto 0;
  position: fixed;
  bottom: 15px;
  z-index: 1000;
  text-align: center;
}

.bb-custom-wrapper > nav a {
  display: inline-block;
  width: 30px;
  height: 30px;
  text-align: center;
  border-radius: 2px;
  background: #172752;
  color: #fff;
  font-size: 0;
  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: 20px;
  line-height: 30px;
  display: block;
  -webkit-font-smoothing: antialiased;
}

.bb-custom-icon-first:before,
.bb-custom-icon-last:before {
  content: "\e002";
}

.bb-custom-icon-arrow-left:before,
.bb-custom-icon-arrow-right:before {
  content: "\e003";
}

.bb-custom-icon-arrow-left:before,
.bb-custom-icon-first:before {
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.page-center{
  text-align:center;
  margin-top:10px;
}

/* No JS */
.no-js .bb-custom-wrapper {
  height: auto;
}

.no-js .bb-custom-content {
  height: 470px;
}

@media only screen and (max-width: 1024px) {
  .container {
    width: 840px;
  }

  img{
    width: 100%;
  }
  .bb-custom-side img{
    width:100%;
  }

  .bb-custom-wrapper > nav{
    width  : 90%;
    top    : 560px;
  }
  .bb-custom-firstpage {
    float  : none;
    margin : 0 auto;
    width  : 100%;
  }

  .bb-custom-firstpage img{
    width:100%;
  }


}

@media only screen and (max-width: 840px) {
  .container {
    width: 756px;
  }

  .bb-custom-wrapper {
    width: 100%;
    height: 100%;
  }



  .bb-custom-firstpage {
    float  : none;
    margin : 0 auto;
    width  : 100%;
  }

  .bb-custom-firstpage img{
    width:100%;
  }

  .bb-custom-wrapper > nav{
    bottom : 30px;
    width  : 756px;
  }

  .bb-custom-side img{
    width:100%;
  }

  img{
    width:100%;
  }


  .bb-custom-side {
    width: 100%;
    float: none;
    height: 100%;
    overflow: hidden;
  }
}


@media only screen and (max-width: 767px) {
  .container {
    width: 480px;
  }

  .bb-custom-wrapper > nav{
    position:absolute!important;
    margin: 0 auto;
    top : 1px!important;
    width  : 100%!important;

  }



}


@media screen and (max-width: 480px){
  .container {
    width: 310px;
  }

  .bb-custom-side{
    float:none;
  }
  img{
    width:100%;
  }

  .bb-custom-side img{
    width:100%;
  }
  .bb-custom-wrapper > nav{
    position:absolute!important;
    margin: 0 auto;
    top : 1px!important;
    width  : 100%!important;
  }



}

