/* 2018 (c) cedricmure.fr */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

html{-webkit-text-size-adjust: 100%}
html, body{position: relative}
header, nav, footer, section, article, aside, video, figure, figcaption {display: block}
html {font-size: 62.5%}

body{
	font-family: 'Roboto', Arial, sans-serif;
	font-size: 2.5rem;
	font-weight: 100;
	line-height: normal;
	letter-spacing: normal;
	color: #FFF;
	background: #368a8a;
}
a{
	color: #000000;
	text-decoration: underline;
}
a:hover{
	color: inherit;
	text-decoration: none;
}

audio#son{
	position: relative;
	z-index: 99;
	left: 0;
	bottom: 36px;
}
body { /* supp scroll */
    overflow:hidden;
}

/* Slide --- */
.cell{
	width: 100%;
	margin-right: 0px;
	
	background-size: cover;
	background-repeat: no-repeat;
}
.cell:nth-child(1){
	background-image: url('img/slide1.jpg');
	background-position: right bottom;
}
.cell:nth-child(2){
	background-image: url('img/slide2.jpg');
	background-position: left bottom;
}
.cell:nth-child(3){
	background-image: url('img/slide3.jpg');
	background-position: right center;
}
.cell:nth-child(4){
	background-image: url('img/slide4.jpg');
	background-position: center bottom;
}
.cell:nth-child(5){
	background-image: url('img/slide5.jpg');
	background-position: right center;
}
.cell:nth-child(6){
	background-image: url('img/slide6.jpg');
	background-position: right bottom;
}
.cell:nth-child(7){
	background-image: url('img/slide7.jpg');
	background-position: center center;
}

/* position dots up a bit */
.flickity-page-dots {
  bottom: 22px;
}
/* dots are lines */
.flickity-page-dots .dot {
  height: 4px;
  width: 40px;
  margin: 0;
  border-radius: 0;
  background: #FFF;
}

.displaynone{display: none}

/* Width Error --- */
#width-error{
	display: none;
	background: #368a8a;
	text-align: center;
	font-size: 1.5rem;
}
#width-error.open{display: block}

/* LOADING --- */
#loading-mask{
    position: fixed;
	z-index: 99;
	top: 0;
	left: 0;
    width: 100%;
    height: 100%;
	background: #368a8a;
}
#loading-txt,
#loading-ok{
    display: block;
    position: absolute;
    width: 100%;
    top: 40%;
    margin-top: 20px;
    text-align: center;
}
#loading-ok{
	display: none;
}
@media (max-width: 800px){
	#loading-txt,
	#loading-ok{top: 35%}
}

/* http://tobiasahlin.com/spinkit/ */
.sk-cube-grid {
	width: 40px;
	height: 40px;
	margin: 0 auto 20px;
}

.sk-cube-grid .sk-cube {
  width: 33%;
  height: 33%;
  background-color: #FFF;
  float: left;
  -webkit-animation: sk-cubeGridScaleDelay 1s infinite ease-in-out;
          animation: sk-cubeGridScaleDelay 1s infinite ease-in-out; 
}
.sk-cube-grid .sk-cube1 {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s; }
.sk-cube-grid .sk-cube2 {
  -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s; }
.sk-cube-grid .sk-cube3 {
  -webkit-animation-delay: 0.4s;
          animation-delay: 0.4s; }
.sk-cube-grid .sk-cube4 {
  -webkit-animation-delay: 0.1s;
          animation-delay: 0.1s; }
.sk-cube-grid .sk-cube5 {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s; }
.sk-cube-grid .sk-cube6 {
  -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s; }
.sk-cube-grid .sk-cube7 {
  -webkit-animation-delay: 0s;
          animation-delay: 0s; }
.sk-cube-grid .sk-cube8 {
  -webkit-animation-delay: 0.1s;
          animation-delay: 0.1s; }
.sk-cube-grid .sk-cube9 {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s; }

@-webkit-keyframes sk-cubeGridScaleDelay {
  0%, 70%, 100% {
    -webkit-transform: scale3D(1, 1, 1);
            transform: scale3D(1, 1, 1);
  } 35% {
    -webkit-transform: scale3D(0, 0, 1);
            transform: scale3D(0, 0, 1); 
  }
}

@keyframes sk-cubeGridScaleDelay {
  0%, 70%, 100% {
    -webkit-transform: scale3D(1, 1, 1);
            transform: scale3D(1, 1, 1);
  } 35% {
    -webkit-transform: scale3D(0, 0, 1);
            transform: scale3D(0, 0, 1);
  } 
}