/* RESET */
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,
,
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;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
* {
  box-sizing: border-box;
}
body {
  line-height: 1;
}
a {
  text-decoration: none;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
.img {
  width: 100%;
  height: auto;
  display: block;
}
/* LAYOUT */
body {
  font-family: sans-serif;
  font-size: 16px;
  color: #2a4841;
}
h1 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #2a4841;
}
h1 .user {
  display: inline;
  color: #2a4841;
}
.rosso {
  color: #eb552e;
}
.grande {
  font-size: 1.1rem;
  font-weight: bold;
}
strong {
  font-weight: bold;
}
.container {
  margin: 10px auto 0 auto;
  width: 100%;
  max-width: 980px;
  padding: 0 10px;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.header {
  font-size: 0;
}
.header .banner,
.header .panel {
  display: inline-table;
  vertical-align: top;
  font-size: 1rem;
}
.header .banner {
  width: 40%;
}
.header .banner img {
  width: 160px;
}
.header .panel {
  width: 60%;
  border-bottom: 2px solid #eb552e;
  padding: .5rem 0;
  font-size: 0;
  text-align: right;
  position: relative;
}
.header .panel .user_box {
  position: absolute;
  top: 20px;
  left: 0;
  font-size: .8rem;
  padding-bottom: .8rem;
  border-bottom: 2px dotted #e2e8ef;
  border-bottom: 2px dotted #bfd1e4;
}
.header .panel .user_box img {
  width: 22px;
  display: inline;
  margin-right: .5rem;
  vertical-align: bottom;
}
.header .panel .user_box .user {
  display: inline;
}
.header .panel .item {
  display: inline-table;
  margin-left: 2rem;
}
.header .panel .item a {
  font-size: .8rem;
  text-align: center;
  padding: .2rem .3rem;
  border-radius: 4px;
  color: #2a4841;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.header .panel .item a img {
  width: 22px;
  display: block;
  margin: 0 auto .5rem auto;
  opacity: 1;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.header .panel .item a:hover {
  color: #eb552e;
}
.header .panel .item a:hover img {
  opacity: .4;
}
.header .panel .item span div {
  display: inline;
}
.header .panel .item:first-child {
  margin-left: 0;
}
/* LOGIN */
.login-form {
  width: 350px;
  border: 1px solid #bfd1e4;
  margin: 3rem auto;
  padding: 1rem 1.5rem;
}
.login-form input {
  width: 100%;
  border: 1px solid #bfd1e4;
  background-color: #f5f8fb;
  box-sizing: border-box;
  border-radius: 3px;
  padding: .5rem .5rem .5rem 2.5rem;
  margin: .5rem 0;
  font-family: sans-serif;
  font-size: 1rem;
  color: #2a4841;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.login-form input:focus {
  border-color: #2a4841;
  background-color: #fff;
  outline: none;
}
.login-form input[value=User] {
  background-image: url(../images/i_user.svg);
  background-repeat: no-repeat;
  background-size: 22px auto;
  background-position: .5rem 50%;
}
.login-form input[value=Password] {
  background-image: url(../images/i_password.svg);
  background-repeat: no-repeat;
  background-size: 22px auto;
  background-position: .5rem 50%;
}
.login-form input[type=submit] {
  background: #eb552e;
  border-radius: 6px;
  border-color: #eb552e;
  color: #fff;
  letter-spacing: 1px;
  padding: .5rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.login-form input[type=submit]:hover {
  cursor: pointer;
  color: #eb552e;
  background: #fff;
}
.content {
  margin: 3rem 0;
  font-size: 0;
}
.content p {
  line-height: 1.4;
  padding-bottom: .5rem;
}
.content .colsx,
.content .coldx,
.content .full
{
  display: inline-table;
  vertical-align: top;
  font-size: 1rem;
}
.content .colsx {
  width: 60%;
  margin-right: 10%;
}
.content .coldx {
  width: 30%;
  padding-top: 2.5rem;
}
.content .full {
  width:100%;
  margin-right: 10%;
  margin-left: 10%;
}
.content .profili {
  font-size: 0;
  margin: 1rem 0 2rem 0;
}
.content .profili .profilo {
  width: 22%;
  margin-right: 4%;
  display: inline-table;
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
  font-size: .6rem;
  letter-spacing: .03em;
}
.content .profili .profilo:last-child {
  margin-right: 0;
}
.content .profili .profilo img {
  border: 1px solid #bfd1e4;
  padding: 3px;
  margin-bottom: .5rem;
  width: 100%;
  height: auto;
  display: block;
}
.content .profili .profilo .percentuale {
  color: #eb552e;
  font-size: 1.4rem;
  font-weight: bold;
  margin-top: .3rem;
}
.content .link_gioco,
.content .link_risultati,
.content .link_pdf {
  text-align: center;
}
.content .link_gioco a,
.content .link_risultati a,
.content .link_pdf a {
  display: block;
  border: 1px solid #2a4841;
  color: #2a4841;
  padding: 1rem;
  margin-bottom: 1rem;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.content .link_gioco a span,
.content .link_risultati a span,
.content .link_pdf a span {
  display: block;
  font-weight: bold;
}
.content .link_gioco a:hover,
.content .link_risultati a:hover,
.content .link_pdf a:hover {
  background: #1da894;
  color: #fff;
}
.content .link_gioco img,
.content .link_risultati img,
.content .link_pdf img {
  padding-top: 1rem;
  width: 50%;
  display: block;
  margin: 0 auto;
}
.content .link_risultati img {
  width: 100%;
  height: auto;
  display: block;
}
.content .link_pdf img {
  width: 100px;
}
.content .icone {
  text-align: center;
}
.content.backend .colsx a {
 color: #eb552e;
 border-bottom: 1px solid #ddd;
 padding-bottom: .5rem;
 display: block;
}
. {
  width: 100%;
  border-top: 2px solid #eb552e;
  padding: .5rem 0;
  text-align: center;
  font-size: .75rem;
  line-height: 1.4;
}
/* GIOCO */
/* DESKTOP */
.mazzo_desktop {
  width: 100%;
  height: 470px;
  font-size: 1rem;
  display: block;
}
.fila1,
.fila2 {
  position: relative;
}
.fila1 {
  top: 100px;
}
.fila2 {
  top: 200px;
}
.carta {
  width: 134px;
  height: 198px;
  position: absolute;
  background-image: url(../images/retro.png);
  background-size: 134px auto;
  border-radius: 10px;
  top: 0;
  opacity: 1;
  transform: rotate(0deg);
  box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.4);
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.carta img {
  width: 100%;
  height: auto;
}
.carta p {
  color: #666;
  padding: 5px;
  font-size: .8rem;
}
.carta:hover {
  top: -25px;
  transform: rotate(-3deg);
  box-shadow: -3px 0 10px rgba(0, 0, 0, 0.3);
}
.bg {
  background: rgba(255, 255, 255, 0.5);
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 5;
  display: none;
}
.carta_dettaglio {
  width: 268px;
  height: 396px;
  left: 50%;
  top: 50vh;
  display: none;
  margin: -198px 0 0 -134px;
  position: fixed;
  z-index: 10;
  -webkit-perspective: 800;
  -moz-perspective: 800;
  -ms-perspective: 800;
  perspective: 800;
}
.carta_dettaglio .carta_dettaglio_box {
  width: 100%;
  height: 100%;
  position: absolute;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  transition: all 0.5s ease;
  -moz-transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
.carta_dettaglio .carta_dettaglio_box > div {
  margin: 0;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 22px;
  text-align: center;
}
.carta_dettaglio .carta_dettaglio_box > div.back {
  background-image: url(../images/retro.png);
  background-size: 268px auto;
/*  z-index: 2;*/
}
.carta_dettaglio .carta_dettaglio_box > div.front {
  background: #f5f5f5;
  border: 1px solid #aaa;
  padding: 0 1.5rem 1rem 1.5rem;
  -webkit-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  transform: rotateY(180deg);
}
.carta_dettaglio .carta_dettaglio_box > div.front p {
  color: #eb552e;
}
.carta_dettaglio .carta_dettaglio_box > div.front p.domanda_numero {
  background: #eb552e;
  color: #fff;
  font-weight: bold;
  padding: .8rem 1rem;
  display: inline-block;
  font-size: 1rem;
	
}
.carta_dettaglio .carta_dettaglio_box > div.front p.domanda {
  font-size: 1.1rem;
  line-height: 1.3;
  margin: 2rem 0 0 0;
}
.carta_dettaglio .carta_dettaglio_box > div.front .risposte {
  font-size: 0;
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
}
.carta_dettaglio .carta_dettaglio_box > div.front .risposte .risposta {
  font-size: 1rem;
  display: inline-table;
  text-transform: uppercase;
  border: 1px solid #eb552e;
  padding: .6rem;
  color: #eb552e;
  border-radius: 3px;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.carta_dettaglio .carta_dettaglio_box > div.front .risposte .risposta.vero {
  margin-right: 10px;
}
.carta_dettaglio .carta_dettaglio_box > div.front .risposte .risposta:hover {
  background: #eb552e;
  color: #fff;
  cursor: pointer;
}
.carta_dettaglio .carta_dettaglio_box > div.front .risposte .logo_ip {
  background-image: url(../images/logoSylvie_scritta bianca_formecolore.png);
  background-size: 80px auto;
  width: 100px;
  height: 50px;
  margin: 30px auto;
}
.carta_dettaglio .carta_dettaglio_box.flipped {
  -moz-transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
}
/* GIOCO */
/* MOBILE */
.mazzo_mobile {
  width: 100%;
  height: 470px;
  font-size: 1rem;
  margin: 1rem 0;
  text-align: center;
  position: relative;
  display: none;
}
.mazzo_mobile .shuffle {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  position: absolute;
  top: 0;
  left: 50%;
  font-size: 1.5rem;
  transform: translateX(-50%);
  width: 260px;
  height: 385px;
  cursor: pointer;
  z-index: 4;
}
.mazzo_mobile .shuffle p {
  color: #2a4841;
  line-height: 1.2;
  top: 50%;
  position: absolute;
  transform: translateY(-50%);
  width: 100%;
}
.mazzo_mobile .card,
.mazzo_mobile .firstcard,
.mazzo_mobile .lastcard {
  width: 260px;
  height: 385px;
  background-image: url(../images/retro.png);
  background-repeat: no-repeat;
  position: absolute;
  float: left;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 20px;
  z-index: 1;
}
.mazzo_mobile .firstcard {
  z-index: 3;
}
.mazzo_mobile .lastcard {
  z-index: 0;
  box-shadow: -5px 5px 10px rgba(0, 0, 0, 0.5);
}
@media screen and (max-width: 480px) {
  .header .banner,
  .header .panel {
    width: 100%;
    margin-right: 0;
    display: block;
  }
  .header .banner {
    text-align: center;
    margin-bottom: 1rem;
  }
  .content .colsx,
  .content .coldx {
    width: 100%;
    margin-right: 0;
    display: block;
  }
  .content .profili .profilo {
    font-size: .55rem;
  }
  .mazzo_desktop {
    display: none;
  }
  .mazzo_mobile {
    display: block;
  }
  
}



.content.backend .colsx {
width: 100%;
margin-right: 0;
}
.content.backend .colsx table td {
padding:.3rem 0;
border-bottom:1px solid #ddd;
}


.content.backend .colsx table td a {
border-bottom:0;
}
.content.backend .colsx table th {
  padding: .3rem 0;
  border-bottom: 1px solid #ddd;
}
.content.backend .colsx table th a {
  border-bottom: 0;
}