/********************************************************************
 *
 * AIDE READER 2018
 *
 ********************************************************************/
@font-face {
    font-family: 'robotoregular';
    src: url('fonts/roboto-regular-webfont.woff2') format('woff2'),
         url('fonts/roboto-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'robotolight';
    src: url('fonts/roboto-light-webfont.woff2') format('woff2'),
         url('fonts/roboto-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/*STYLE*/
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  background-color: #ffffff;
  font-family: 'robotoregular';
  color: #84868b;
  font-size: 18px;
  -webkit-overflow-scrolling: touch;
  user-select: none;
  -webkit-user-select: none;
  overflow: hidden;
  /* Navigation dots */
}
.container {
  width: calc(400vw);
  height: 100%;
  overflow: hidden;
}
.mainAndroid .container{
    position : relative;
}
.container .close {
  height: 36px;
  width: 36px;
  position: fixed;
  right: 7px;
  top: 7px;
  z-index: 1;
  border-radius: 2px;
  background-image: url(images/close.png);
  background-size: 25px;
  background-repeat: no-repeat;
  background-position: center;
}
.container .content {
  margin: 0 auto;
  width: 100vw;
  height: 100%;
  background-color: #FFFFFF;
}
/* Description */
.container .content .comment {
  margin: 4em 1em;
  min-height: 2.6em;
}
.container .content .title{
  color: #a4b0ca;
  font-family: 'robotoregular';
  text-align: center;
  font-weight: normal;
  line-height: 50px;
  font-size: 1.5em;
  margin: 0;
}
.container .content .text{
  font-family: 'robotolight';
  color: #84868b;
  font-weight: normal;
  text-align: center;
  line-height: 1.5em;
  text-shadow: none;
}
/* End description */
/* Image */
.container .content .img {
  width: 75%;
  max-width: 350px;
  margin:8% auto 25px;
}

/* Functionnality */
.container .content.functionality .img{
  position: relative;
}
.container .content.functionality .img .text{
  position: absolute;
  text-align: left;
}
.container .content.functionality .img .text.search{
  top:36%;
  right: -30px;
}
.container .content.functionality .img .text.favoris{
  bottom: -30px;
  right: 10px;
}
.container .content.functionality .img .text.explode-view{
  bottom: -30px;
}
/* End functionnality */
/* Dots */
.dotstyle {
  height: 30px;
  width: 100%;
  position: fixed;
  display: block;
  bottom: 10px;
  z-index:3;
}
.mainAndroid .dotstyle{
    position:absolute;
}
.dotstyle ul {
  text-align: center;
  margin: 0;
  padding: 0;
  list-style: none;
  cursor: default;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.dotstyle li {
  display: inline-block;
  margin: 0 4px;
  width: 12px;
  height: 12px;
  cursor: pointer;
}
.dotstyle li a {
  width: 12px;
  height: 12px;
  outline: none;
  border-radius: 50%;
  background-color: #d2d9e9;
  text-indent: -999em;
  /* make the text accessible to screen readers */
  position: absolute;
  -webkit-transition: -webkit-transform 0.3s ease, background-color 0.3s ease;
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.dotstyle li a:hover,
.dotstyle li a:focus {
  outline: none;
  /*background-color: #84868b;*/
  background-color: #d2d9e9;
}
.dotstyle li.current a{
  background-color: #84868b;
  -webkit-transform: scale(1.5);
  transform: scale(1.5);
}
/* End dots */

/*Media queries*/
@media screen and (max-height: 320px){
  .container .content .img{
    width: 31%;
    margin: 15px auto;
  }
  .container .content.article .img{
    width:40%;
  }
  .container .content.functionality .img{
    margin-bottom: 35px;
  }
  .container .content .title{
    font-size: 1.2em;
    line-height: 1.1em;
  }
  .container .content .text{
    font-size: 0.85em;
    line-height:1.2em;
  }
  .ui-content{
    padding: 0;
  }
}
@media screen and (min-height: 321px) and (max-height: 415px){
  .container .content .img{
    width: 25%;
    margin: 15px auto;
  }
  .container .content.article .img{
    width:31%;
  }
  .container .content.functionality .img{
    margin-bottom: 35px;
  }
  .container .content .title{
    font-size: 1.2em;
    line-height: 1.3em;
  }
  .container .content .text{
    font-size: 0.85em;
    line-height:1.2em;
  }
  .ui-content{
    padding: 0;
  }
}
@media screen and (max-height: 500px){
  .container .content .comment{
    margin:.8em 1em;
  }
}
@media screen and (min-height: 416px) and (max-height: 600px){
  .container .content .img{
    width: 45%;
    margin: 15px auto;
  }
  .container .content.article .img{
    width: 35%;
  }
  .container .content.functionality .img .text{
    font-size:0.8em;
  }
}
@media screen and (max-width: 320px){
  .container .content.functionality .img{
    margin-bottom:20px;
  }
  .container .content.functionality .img .text.search{
    top:27%;
    right:-45px;
  }
  .container .content.functionality .img .text.favoris{
    right:-30px;
  }
}