@charset "UTF-8";
/* CSS Document */

/* color chart turquoise #3cb9fa grey #dadee0 lightgrey #f2f2f2  ecriture grey #8d8d99;*/


* {
	margin: 0;
	box-sizing: border-box;         /* For IE and modern versions of Chrome */
	-moz-box-sizing: border-box;    /* For Firefox                          */
	-webkit-box-sizing: border-box;
}
*:focus {
    outline: none;
}

p {
margin-bottom:10px;
 }
a, .color { text-decoration:none;color:#fff; }
a img { border:0; }
hr {	border:0; border-top:1px solid #dadee0; }
body { 
	background: #333;
	overflow: hidden;
	text-align: right;
}
html, body {
	position: relative;
	width: 100%;
	overflow-x: hidden;
	height: 100%;
}
body, table, p,td,div, li,input {
	font-family: 'Montserrat', sans-serif;
	font-size: 1.2vw;
	color: #333;
	line-height: 1em;
	font-weight: 300;
}
@media only screen AND (orientation : portrait) {
	body, table, p,td,div, li {
		font-size: 1.2vh;
	}
}
.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;  /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;

  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;

  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;

  /* Support for IE. */
  font-feature-settings: 'liga';
}



div.objets {
	position: absolute;
	left: 0;top: 0;
	width: 100%;
	height: 100%;
	bottom: 0;
	background-repeat:no-repeat;
	background-position: center center;
	background-size: cover;
	text-align: right;
	overflow: hidden;
}
div.objets.hidden {
	left: 100%;
}
div.objets#objets1 {
	background-image: url(../images/voeux_2018_light.jpg);
}
div.objets#objets2 {
	background-image: url(../images/voeux_2018_dark.jpg);
}
div.objets div.verbes,
div.objets div.adverbes,
div.objets div.sujets,
div.objets div.complements
 {
	position: absolute;
	width: 23%;
	bottom: 90px;
	height: 100%;
	margin: 0 1%;
}
div.objets > div > div {
	position: absolute;
	display: inline-block;
	padding: .7em 1.2em;
	background: #fff;
	text-transform:uppercase;
	box-shadow:  0px 0px 10px 0px rgba(0, 0, 0, .2);
	white-space:nowrap;
	text-align: center;
    transition: rotate 2s ease-in-out;
    -webkit-transition: rotate 2s ease-in-out;
    margin-left: -50%;
    font-size: 1.4vw;
}
div.objets > div.verbes {
	left: 0%;
	width: 18%;
}
div.objets > div.adverbes {
	left: 20%;
}
div.objets > div.sujets {
	left: 45%;
}
div.objets > div.complements {
	width: 28%;
	left: 70%;
}

.pointer {
    cursor: pointer;
}
.grabbable {
    cursor: move; /* fallback if grab cursor is unsupported */
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}

 /* (Optional) Apply a "closed-hand" cursor during drag operation. */
.grabbable:active { 
    cursor: grabbing;
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
}



div#buttons {
	position: absolute;
	bottom: 0px;
	left: 0;
	height: 65px;
	width: 100%;
	text-align: center;
}
div#buttons span {
	position: relative;
	display: inline-block;
	margin: auto;
	height: 65px;
}
a.button {
	position: relative;
	display: inline-block;
	float: left;
	width: 49px;
	height: 49px;
	background: rgba(256,256,256,.3);
	border-radius: 50%;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	color: #fff;
	padding: 12px;
	margin: 0px 10px;
	-webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all  0.2s ease-in-out;
    transition: all  0.2s ease-in-out;
}
a.button:hover {
	background: #fff;
	color: #000;
}
a.button:active {
	margin-top: 10px;
}
a.button#random,a.button#invert {
	position: absolute;
	width: 100px;
	height: 100px;
	top: 50%;
	left: 50%;
	padding: 24px;
}
a.button#random i,a.button#invert i{
	font-size: 50px;
	font-weight: 300;
}
a.button#random {
	margin-left: -110px;
}
a.button#invert {
	margin-left: 10px;
}
a.button#ranger {
}
a.button#email {
}
a.button#aide, a.button#fb {
	font-size: 24px;
	line-height: 1em;
	font-weight:400;
}
a.button#fb:after {
	content: "f";
}
a.button#fb.success:after {
	content: "\2714";
}

h1 {
	position: relative;
	display: inline-block;
	float: left;
	left: 25px;
	top: 25px;
	line-height: 9vw;
	font-size: 12vw;
	padding-right: 20px;
	margin-right: 20px;
	float: left;
	color: #fff;
	font-weight: 600;
	z-index: 3;
}
h2  {
	position: relative;
	display: inline-block;
	margin-right: 25px;
	margin-top: 25px;
	font-size: 2vw;
	color: #fff;
	font-weight: 400;
	text-transform: uppercase;
	z-index: 3;
}
h3 {
	position: relative;
	display: inline-block;
	margin-right: 25px;
	margin-top: .6vw;
	font-size: 1.2vw;
	color: #fff;
	font-weight: 400;
	z-index: 3;
		}
h4 {
	position: relative;
	display: block;
	margin-right: 25px;
	margin-top: .6vw;
	font-size: 1vw;
	color: #fff;
	font-weight: 300;
	z-index: 3;
}
h5 {
	position: absolute;
	display: block;
	width: 100%;
	padding: 0 10%;
	top: 20vH;
	left: 0;
	font-size: 2.2vh;
	line-height: 2.5vh;
	color: #fff;
	font-weight: 300;
	text-align: center;
	z-index: 3;
}
h5 a {
	color: #fff;
	font-weight: 300;
}

/*-------------- FORM -----------*/
div#send {
	position: absolute;
	top: 0;
	width: 100%;height: 100%;
	background: rgba(0,0,0,.7);
	padding: 3%;
	z-index: 9999;
	display: none;
}
div#send a {
	color: #50d0e1;
}
div#send .wrapper {
	position: relative;
	display: block;
	background: #fff;
	width: 100%;height: 100%;
	text-align: center;
}
div#send .wrapper a.close {
	display: inline-block;
	position: absolute;
	right: 5px;top: 5px;
	color: #000;
	text-align: right;
	width: 24px;
}
div#send form {
	position: absolute;
	top: 25px;
	display: block;
	background: #fff;
	width: 100%;
	margin: 0;
	padding-bottom: 50px;
	text-align: center;
}
form legend {
	text-align: center;
	font-size: 5vh;
	text-transform:uppercase;
	font-weight: 400;
	padding: 40px 0;
}
form fieldset  {
	border: 0 none;
	with:100%;
	text-align: left;
}
form fieldset div{
	position: relative;
	width:100%;
	margin:5vh 0;
}
form label {
	text-align: right;
	display: inline-block;
	width: 30%;margin-right: 2%;
	font-weight: 300;
	text-transform: uppercase;
}
form input[type=text],
form input[type=email]
 {
	width: 60%;
	padding: 5px 0;
	font-weight: 300;
	color: #333;
	border: 0 none;
	border-bottom: 1px solid #ddd;
}
form input.error {
	border-bottom: 1px solid #cc0000;
}
form input[type=submit] {
	position: absolute;
	left: 32.5%;
	margin: 5vh 0;
	width: auto;
	padding: 15px 50px;
	background: #50d0e1;
	color: #fff;
	border: 0 none;
	text-transform:uppercase;
	cursor: pointer;
	-webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all  0.2s ease-in-out;
    transition: all  0.2s ease-in-out;
}
form input[type=submit]:hover {
	background: #000;
}
div.success  {
	font-size: 2em;
	line-height: 2em;
	text-align: center;
	padding: 1%;
}
div.success p {
	line-height: 2em;
}
div.success i {
	font-size: 30vh;
	width: 30vh;
	color: #50d0e1;
	margin: 10vh auto;
}

/*-------------- HELP -----------*/
div#help {
	position: absolute;
	width: 80%;height: auto;
	top: 2%;left: 10%;
	z-index: 999;
	text-align: center;
	display: none;
}
@media only screen AND (max-height:500px) {
	div#help {
		top: 5%;
	}
}
div#help  a.close {
	display: inline-block;
	position: absolute;
	right: 5px;top: 5px;
	color: #000;
	width: 24px;
}
div#help div.wrapper {
	display: inline-block;
	position: relative;
	width: auto;
	height: auto;
	text-align: center;
	margin: 0 auto;
	background: rgba(256,256,256,.2);
	padding: 3% 6% 1.5% 3%;
}
div#help.set2 div.wrapper {
	background: rgba(256,256,256,.75);
}
div#help ul {
	list-style: none;
	margin: 0 auto;padding: 0;
	
	width: auto;
	
	display: inline-block;
	text-align: center;
}
div#help li {
	display: block;
	width: auto;
	clear:both;
	padding: 1%;
	text-align: left;
	white-space:nowrap;
}
div#help i {
	vertical-align: middle;
}
