/* Base */
html {
  margin: 0;
  padding: 0;
  border: 0;
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */  
}

body {
  height: 100%;
}

a,
abbr,
acronym,
address,
article,
aside,
blockquote,
body,
caption,
code,
dd,
del,
dfn,
dialog,
div,
dl,
dt,
em,
fieldset,
figure,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
iframe,
img,
input,
label,
legend,
li,
nav,
object,
ol,
p,
pre,
q,
section,
select,
span,
table,
tbody,
td,
textarea,
tfoot,
th,
thead,
tr,
ul {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

article,
aside,
details,
dialog,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1.5;
}

table {
  border-collapse: separate;
  border-spacing: 0;
}

caption,
td,
th {
  text-align: left;
  font-weight: normal;
}

table,
td,
th {
  vertical-align: middle;
}

li,
ol,
ul {
  list-style: none;
  list-style-type: none;
}

a img {
  border: none;
}

input,
textarea {
  vertical-align: middle;
  border: none;
  outline: none;
}

a {
  text-decoration: none;
  color: initial;
}

:focus {
  outline: 0;
}


html {
  height: 100%;
  overflow: hidden;
}

body {
  background: #000000;
}

/* Reset */
button {
  margin: 0;
  padding: 0;
  border: medium none;
  border-spacing: 0;
  text-indent: 0;
  background: none repeat scroll 0 0 transparent;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/* Common */
#loader {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -8px 0 0 -8px;
}

.send,
.start {
  font-family: 'Montserrat';
  font-size: 16px;
  letter-spacing: 2px;
  text-align: center;
  display: block;
  width: 100%;
  max-width: 480px;
  height: 50px;
  line-height: 50px;
  margin: 40px auto 20px;
  position: relative;
  cursor: pointer;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 1);
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
}
.send span,
.start span {
  display: block;
  width: 0;
  height: 100%;
  position: absolute;
  background: #ffffff;
  z-index: 0;
}
.send p,
.start p {
  color: #ffffff;
  z-index: 10;
  display: block;
  position: relative;
}

.startfleche {
  text-align: center;
  display: block;
  margin: 0 auto;
  position: relative;
  cursor: pointer;
  opacity: 0;
  width: 95px;
  padding-top: 0;
  padding-bottom: 5px;
  transition: padding 0.3s ease-in-out;
}
.startfleche:hover {
  padding-bottom: 0;
  padding-top: 5px;
}
.startfleche img {
  width: 47px;
  height: 30px;
}

.alert-landscape {
  display: none;
  position: absolute;
  top: 55px;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.8);
  background-image: url("../img/alert-rotate.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 80px auto;
}

@media (orientation: landscape) and (max-device-width: 640px) {
  .alert-landscape {
    display: block;
  }
}
/* Header */
header {
  display: block;
  position: absolute;
  z-index: 100;
  font-family: 'Montserrat';
  font-size: 25px;
  color: #ffffff;
  letter-spacing: 2px;
  width: 100%;
  min-height: 44px;
  padding: 3px 0 0 0;
  background-color: rgba(0, 0, 0, 1);
  box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.1);
}
header a,
header a:focus,
header a:hover {
  text-decoration: none;
  color: #ffffff;
  font-family:'Oleo Script';
  font-size:23px;
  margin-left:-8px;
}
header div {
  display: block;
  position: relative;
  max-width: 1180px;
  margin: 0px auto 0px;
}
header div .cartes {
  position: absolute;
  width: 40px;
}
header div p {
  font-family: 'Open Sans', sans-serif;
  position: absolute;
  left: 50px;
}
header .burger-white {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 29px;
  height: 19px;
  cursor: pointer;
  z-index: 110;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}
header .burger-black {
  position: absolute;
  right: 0;
  top: 10px;
  width: 29px;
  height: 19px;
  cursor: pointer;
  z-index: 110;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}


footer {
  height: 50px;
  width: 100%;
  display: block;
  background: rgba(0, 0, 0, 1);
  position: fixed;
  bottom: 0;
  z-index: 1000;
}
footer .content {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  display: block;
  padding: 0 20px;
  position: relative;
}
footer .content ul li {
  color: #ffffff;
  font-family: 'Montserrat';
  font-size: 16px;
  float: left;
  margin-right: 15px;
  padding-top: 12px;
}
footer .content ul li a {
  color: #ffffff;
  font-family: 'Montserrat';
  font-size: 16px;
}
footer .content ul:last-child {
  position: absolute;
  right: 0;
}

/* Nav sidebar */
nav {
  display: block;
  position: absolute;
  right: 0;
  top: 44px;
  bottom: 0;
  margin: 0;
  list-style: none;
  background-color: rgba(255, 255, 255, 1);
  width: 280px;
  height: calc(100% - 55px);
  z-index: 99;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
  transform: translateX(110%);
}
nav ul.topnav {
  margin: 0;
  padding: 0;
  display: block;
  list-style: none;
  width: 100%;
}
nav ul.topnav li {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
nav ul.topnav li:first-child {
  border-top: none;
}
nav ul.bottomnav {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
}
nav a {
  display: block;
  padding: 8px 16px;
  transition: background-color 0.3s ease-in-out;
  font-family: 'Montserrat';
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
nav a:hover {
  background-color: #ffffff;
}

.nav-is-open nav {
  transform: translateX(0%);
}

main {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}


/* Blocs question et autres tirages en bas des résulats */

#resultat form {
  margin-bottom: 40px;
}
#resultat form .sep {
  display: block;
  height: 1px;
  width: 200px;
  margin: 0 auto;
  background: #ffffff;
  margin-bottom: 30px;
}
#resultat form .titre {
  color: #ffffff;
  text-align: center;
  font-family: 'bahnhof_regularregular';
  margin-bottom: 15px;
  font-size: 30px;
}
#resultat form .sstitre {
  color: #ffffff;
  text-align: center;
  font-family: 'Montserrat';
  margin-bottom: 15px;
  font-size: 16px;
}
#resultat form span {
  display: block;
  margin-bottom: 15px;
}
#resultat form span label {
  width: 45%;
  text-align: right;
  color: #ffffff;
  display: block;
  float: left;
  margin-right: 10px;
  font-family: 'Montserrat';
  font-size: 16px;
}
#resultat form span select {
  height: 25px;
  width: 40%;
  font-family: 'Montserrat';
  font-size: 16px;
  margin-bottom:15px;
}
#resultat .send {
  margin-top:0px;
}
#resultat form input[type="text"] {
    padding: 10px;
    height: 25px;
}

/* Callback new */

#ajax_question_callback {
  text-align:center;
}

#ajax_question_callback span label {
  width:100% !important;
  text-align:center !important;
  margin-bottom:10px;
}

#ajax_question_callback #phone {
  width:100%;
}

#resultat form #phone {
    padding: 20px 50px !important;
    font-size: 18px;
}

#resultat form span {
  overflow:inherit !important;
}

#resultat .iti__flag-container span {
  display:inline-block !important;
}

#resultat #error-msg {
  color: red;
  text-align:center;
}

#resultat #valid-msg {
  color: #00C900 !important;
  display: inline-block;
}

.iti__flag-box, .iti__country-name, .iti__dial-code {
    vertical-align: inherit !important;
}

#resultat input.error {
  border: 1px solid #FF7C7C;
}

#resultat .hide {
  display: none !important;
}

#resultat form .check label {
  float: right;
  width: 70%;
  text-align: left;
}
#resultat form .check input {
  width: 20px;
  height: 20px;
  margin-left: 25%;
}
#resultat form .cgv {
  color: #ffffff;
  font-family: 'Montserrat';
  font-size: 16px;
  width: 70%;
  margin: 0 auto 15px;
}
#resultat form .cgv a {
  color: #ffffff;
  text-decoration: underline;
}

#resultat .tirage span {
  display: block;
  height: 1px;
  width: 200px;
  margin: 0 auto;
  background: #ffffff;
  margin-bottom: 30px;
}
#resultat .tirage .titre {
  font-family: 'bahnhof_regularregular';
  font-size: 36px;
  text-align: center;
  margin-bottom: 30px;
}
#resultat .tirage ul {
  width: 652px;
  margin: 0 auto;
}
#resultat .tirage ul li {
  background: #ffffff;
  width: 148px;
  height: 212px;
  padding: 4px;
  position: relative;
  margin-left: 20px;
  float: left;
  margin-bottom: 45px;
  cursor: pointer;
}
#resultat .tirage ul li .vignette {
  overflow: hidden;
  pointer-events: none;
  width: 139px;
  height: 107px;
}
#resultat .tirage ul li .vignette img {
  width: 100%;
}
#resultat .tirage ul li .name {
  color: #4d4d4d;
  font-family: 'Open Sans Condensed', sans-serif;
  text-align: center;
  line-height: 17px;
  pointer-events: none;
  padding-top:9px
}
#resultat .tirage ul li .card {
  width: 66px;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  top: 160px;
  pointer-events: none;
}
#resultat .tirage ul li .card img {
  position: absolute;
}
#resultat .tirage ul li .card .back {
  left: 30px;
}
#resultat .tirage ul li .bouton {
  background: #27758c;
  border-radius: 10px;
  display: block;
  width: 90px;
  height: 30px;
  font-size: 11px;
  font-family: 'Montserrat';
  box-shadow: 0px 2px 0px #16294f;
  position: absolute;
  bottom: -15px;
  left: 30px;
  text-align: center;
  padding-top: 7px;
  pointer-events: none;
}
#resultat .tirage ul li:first-child {
  margin-left: 0;
}
#resultat .tirage ul li:nth-child(5) {
  margin-left: 85px;
}

/* RWD Rules */
@media only screen and (max-width: 760px), only screen and (max-width: 760px) and (min-device-pixel-ratio: 2), only screen and (max-width: 760px) and (min-resolution: 192dpi) {
  header {
    padding: 8px 35px;
  }

  .send,
  .start {
    height: 40px !important;
    line-height: 40px !important;
    margin: 20px auto;
  }
  .send img,
  .start img {
    width: 20px !important;
    height: auto !important;
  }

  .is-centered {
    transform: translate(-50%, 0) !important;
  }

  #resultat form .check input {
    margin-left: 0%;
  }
  #resultat form .check label {
    width: 90%;
  }
  #resultat form .cgv {
    width: 100%;
  }
  #resultat .tirage ul {
    width: 100%;
    margin-bottom: 100px;
  }
  #resultat .tirage ul li {
    float: inherit;
    width: 100%;
    margin-left: 0;
  }
  #resultat .tirage ul li .vignette {
    width: 100%;
  }
  #resultat .tirage ul li .vignette img {
    margin-top: -18%;
  }
  #resultat .tirage ul li .name {
    margin-top: 13px;
  }
  #resultat .tirage ul li .bouton, .tarot1 #resultat .tirage ul li .card {
    left: 50%;
    transform: translate(-50%, 0);
  }
  #resultat .tirage ul li:nth-child(5) {
    margin-left: 0;
  }

  
  footer .content ul:nth-child(2){
    position: relative;
  }
  footer .content ul:nth-child(2) li{
    margin-right: 3px;
  }
}
@media only screen and (max-width: 480px), only screen and (max-width: 480px) and (min-device-pixel-ratio: 2), only screen and (max-width: 480px) and (min-resolution: 192dpi) {
  header {
    padding: 4px 10px;
  }


  #resultat form .titre {
    font-size: 22px;
  }
  #resultat form .sstitre {
    font-size: 16px;
    text-align: left;
  }
  #resultat form span label {
    font-size: 16px;
    text-align: left;
    width: 40%;
  }
    #resultat form span select {
    width: 50% !important;
  }
  #resultat form span input, .tarot1 #resultat form span select {
    width: 50%;
  }
  #resultat form .check {
    margin-bottom: 30px;
    display:inline-block !important;
  }
  #resultat form .check input {
    margin-left: 0px !important;
    margin-top:20px!important;
    font-size:13px !important;
  }
  #resultat form .check label {
    width: 83% !important;
    margin-top:20px !important;
  }
  #resultat form .cgv {
    width: 100%;
    font-size: 16px;
  }
  #resultat .tirage .titre {
    font-size: 20px;
  }
  #resultat .tirage ul {
    width: 100%;
  }
  #resultat .tirage ul li {
    float: inherit;
    width: 100%;
    margin-left: 0;
  }
  #resultat .tirage ul li .vignette {
    width: 100%;
  }
  #resultat .tirage ul li .vignette img {
    margin-top: -18%;
  }
  #resultat .tirage ul li .name {
    margin-top: 13px;
  }
  #resultat .tirage ul li .bouton, .tarot1 #resultat .tirage ul li .card {
    left: 50%;
    transform: translate(-50%, 0);
  }
  #resultat .tirage ul li:nth-child(5) {
    margin-left: 0;
  }
}
