@viewport {
   width: device-width; /* largeur du viewport */
   zoom: 1; /* zoom initial à 1.0 (et clin d'oeil aux fans d'IE6/7) */
}
#login-buttons{
	top:10px;
	right:10px;
	float:right;
	vertical-align: middle;
}
.login-link-text{
	font-size: 22px;
	width: 22px;
	background: url(iconUser.png) right top no-repeat;
	margin-right: 9px;
	margin-top: 9px;
	text-indent: -9999px;
	display: inline-block;
}
.login-dropdown-list{
    top: 45px;
}

body{
    margin:0px;
    /*overflow: hidden;*/
    position: fixed;
    height:100%;
	width:100%;
	background-color: #444;
	font-size:16px;
}

.cardcircle:hover{
    text-decoration:none;
	color:white;
}
.cardcircle:visited{
    text-decoration:none;
	color:white;
}

#memoroyaletitle{
	color:white;
	text-decoration:none;
}

.navbar{
	position:fixed;
	top:0;
	background-color:DarkBlue;
	color:white;
	padding:0px;
	min-height: 35px;
	line-height: 45px; /*to center vertically*/
	font-size:20px;
	font-family:arial;
	width:100%;
	vertical-align: middle;
	text-align:center;
	border-radius:0px;
	z-index:9999;
}
#menusets{
	padding-left:18px;
}

/* The side navigation menu */
.sidenav {
    height: 100%; /* 100% Full-height */
	left:-250px;
    width: 250px;
    position: fixed;
    z-index: 300; /* Stay on top */
    top: 35px;
    background-color: DarkBlue;
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 35px; /* Place content 35px from the top */
    transition: 0.4s; /* transition effect to slide in the sidenav */
}

/* The navigation menu links */
.inactivemenu{
    padding: 8px 8px 8px 14px;
    text-decoration: none;
    font-size: 20px;
    color: #777;
    display: block;
    transition: 0.2s;
    font-family:Arial;
}
.sidenav a {
    padding: 8px 8px 8px 14px;
    text-decoration: none;
    font-size: 20px;
    color: #bbbbbb;
    display: block;
    transition: 0.2s;
    font-family:Arial;
}
/* When you mouse over the navigation links, change their color */
.sidenav a:hover, .offcanvas a:focus{
    color: #f1f1f1;
}
/* Position and style the close button (top right corner) */
.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}
.js-checkdeck{
	font-size:20px;
	margin-left:32px;
	-webkit-transform: scale(1.8);
}
.sidenav .checkboxlabel{
	display:inline;
    font-size: 20px;
    color: #777;
    font-family:Arial;
	font-weight:normal;
}
/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
}

/* PLAY
   ---- */
   
#decktitle{
	position: relative;
    top: 65px;
    height: 40px;
    text-align: center;
    font-size: 18px;
    color: lightgray;
    text-shadow: 2px 3px 3px rgba(0,0,0,0.6);
	animation-duration: 0.5s;
}
#gamearea{
  /*display:none;*/
}
#carddisplay{
  padding-left:10%;
  padding-top:60px;
  padding-bottom:10px;
  width:90%;  
  table-layout:fixed; /*for wordwrap*/
  border-collapse: separate;
  border-spacing: 2px;
  animation-duration: 0.5s;
  /*animation-name: flipout;*/
}
@keyframes flipout {
    0%   {transform:scale(1,1);}
    100%   {transform:scale(0,1);}
}
@keyframes flipin {
    0% {transform:scale(0,1);}
    100%   {transform:scale(1,1);}
}

#playtemplate td {
  border: 2px solid lightgray;
  background:ivory;
  height:48px;
  font-size:20px;
  padding-left:5%;
  word-wrap: break-word;
}

.playbutton{
	display: block;
	font-size:20px;
	height:55px;
	color:white;
}

#introtext{
	top:35px;
	position:absolute;
	width:100%;
	display:block;
	text-align:center;
	top:50%;
	font-size:28px;
	color:yellow;
	font-weight: 999;
	text-shadow: 4px 6px 6px rgba(0,0,0,0.6);
}

.progress {
	margin-top:10px;
    height: 12px;
    font-size: 10px;
    color: white;
    background-color: #333;
}
#progressbar{
	background-color: gold;
}
.score{
	position:absolute;
	width:100%;
	display:block;
	text-align:center;
	padding-top:2%;
	font-size:24px;
	color:Gold;
	font-weight: 999;
	text-shadow: 4px 6px 6px rgba(0,0,0,0.6);
}

.addscore{
	pointer-events:none; /*transparent to clicks*/
	position:relative;
	width:80%;
	left:10%;
	display:block;
	text-align:center;
	margin-top:-70px;
	/*padding-top:1%;*/
	font-size:30px;
	color:Gold;
	font-weight: 999;
	text-shadow: 4px 6px 6px rgba(0,0,0,0.6);
	animation-duration:1.5s;
	background-color:grey;
	border-radius:20px;
	box-shadow: 0px 0px 60px black; /*0px 0px 38px rgba(30,30,30,1);*/
	line-height:20px;
	padding:10px;
	opacity:0;
}
#finaladdscore{
	top:150px;
	z-index:999;
}
@keyframes scoreanim {
    0%   {transform:scale(0.1,0.1); opacity:0.2;}
    20%   {transform:scale(1,1); opacity:1;}
    85%   {transform:scale(0.9,0.9); opacity:1;}
    100%   {transform:scale(4,4); opacity:0;}
}

.hiddenvideocontainer{
  position: absolute;
  top:210px;
  /*width:640px; height:480px;
  top:26%;*/
    z-index: -100;
}
.videocontainer{
  position: absolute; 
  top:210px;
  width:100%; /*640px*/
  /*height:480px;
  top:26%;*/
  /*z-index: -100;*/
}
.hiddenvideo{
  /*position:absolute; left:0; top:50px;*/
    width: 1px;
    height: 1px;
 }
.video{
  /*position:absolute; left:0; top:50px;*/
    position: absolute; 
    left:0; top:0; 
    min-width: 100%;
	max-width:100%;
    width: auto; 
    height: auto;
    background-size: cover;
    overflow: hidden;
 }
#videoshadow{
  position:absolute; left:0; top:0;
  width:100%;
  /*height:30%;*/
  /*width:320px; height:240px;*/
  box-shadow:inset 0 0 60px 40px #444;
  border-color:#444;
}
#finalscore{
	top:88px;
}
#byebye{
	position:absolute;
}
