﻿
html {
    height: 100%
}

body {

	/* Fond : Gradient et image en haut à droite */
	background: rgb(0,253,234); /* Old browsers */
	background: url(./images/texture-tissu.png), -moz-radial-gradient(center, ellipse cover,  rgba(0,253,234,1) 0%, rgba(138,187,215,1) 31%, rgba(6,109,253,1) 100%); /* FF3.6+ */
	background: url(./images/texture-tissu.png) , -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(0,253,234,1)), color-stop(31%,rgba(138,187,215,1)), color-stop(100%,rgba(6,109,253,1))); /* Chrome,Safari4+ */
	background: url(./images/texture-tissu.png) , -webkit-radial-gradient(center, ellipse cover,  rgba(0,253,234,1) 0%,rgba(138,187,215,1) 31%,rgba(6,109,253,1) 100%); /* Chrome10+,Safari5.1+ */
	background: url(./images/texture-tissu.png) , -o-radial-gradient(center, ellipse cover,  rgba(0,253,234,1) 0%,rgba(138,187,215,1) 31%,rgba(6,109,253,1) 100%); /* Opera 12+ */
	background: url(./images/texture-tissu.png) , -ms-radial-gradient(center, ellipse cover,  rgba(0,253,234,1) 0%,rgba(138,187,215,1) 31%,rgba(6,109,253,1) 100%); /* IE10+ */
	background: url(./images/texture-tissu.png) , radial-gradient(ellipse at center,  rgba(0,253,234,1) 0%,rgba(138,187,215,1) 31%,rgba(6,109,253,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c5deea', endColorstr='#066dab',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */

	overflow:hidden; /* ce qui sort de l'écran n'est pas accessible (pas de scrollbar) */

}



h1 {
	font-family: Arial;
	color: orange;
	text-shadow: 2px 2px 0 grey;
	padding-left:  2vmin;
	font-size: 4vmin;
}

h2 {
	font-family: Arial;
	color: orange;
	text-shadow: 2px 2px 0 grey;
	font-size: 3vmin;
}

p, label {
	font-family: Arial;
	color:orange;
	font-size: 3vmin;
}

div .divTrame {
	background: darkgray; 
	border: solid 1px lightgray; /*outline plutot que border car n'impacte pas la taille */
}

div .divPiece {
	background: black; 
	
	transition: all .5s ease-in-out; 
	transition-property: left, top; /*... sur un changement de position */
}

div .divPiece.noTransition {
	/* désactive les animations */
	-webkit-transition:none !important;
	-moz-transition:none !important;
	-o-transition:none !important;
	transition:none !important;
}


#aireDeJeu {
	background: cyan;
	overflow: visible;
	position: relative;
}

footer{
	position:fixed;
	bottom:0;
	left:0;
	padding-left:  2vw;
}

a { 
	font-family: arial;
	color: grey;
	text-decoration: none;
	text-shadow: 1px 1px grey;
	
	transition: all 0.5s ease-in-out; /*défini une transition ... */
	transition-property: color, opacity; 

}
a.discret { 
	font-family: Tintin, arial;
	color: orange;
	font-size: 1.5vmin;
	border: 1px solid grey;
	border-radius: 2px;
	background-color : rgba(50,50,0,0.5);
}
a.bouton { 
	font-family: Tintin, arial;
	color: rgba(180,50,0,1);
	font-size: 3vmin;
	border: 3px solid rgba(200,100,100,0.5);
	border-radius: 50%;
	background-color : rgba(100,100,100,1);
	opacity:0;
	margin-left: 3vmin;
	
}
a:hover {
	color: white;
	opacity:1;
}
a:focus { 
	outline:none; /* pas de cadre pointillé*/
}

div.coulissant{
	position:fixed;
	overflow:visible;
	display:inline;
	z-index:999999;
	top:0;
	
	
	transition: all .5s ease-in-out; 
	transition-property: left, right; /*... sur un changement de position */

}
div.coulissant.droit{
	width:70vw;
}
div.coulissant.gauche{
	width:70vw;
}

div.coulissant::before{
	position:absolute;
	width:9vmin;
	height:9vmin;
	background-color:darkorange;
	top:0;
	
	font-family: Arial;
	text-shadow: 2px 2px 0 grey;
	font-size: 7vmin;
	color: orange;
	
	line-height:8vmin;
	text-align:center;
	border:1px solid #ccc;

	cursor:pointer;

}

div.coulissant.droit::before{
	border-top-left-radius:50%;
	border-bottom-left-radius:50%;
	left:-9vmin;
	content:"i";
}
div.coulissant.gauche::before{
	border-top-right-radius:50%;
	border-bottom-right-radius:50%;
	right:-9vmin;
	content:"▦";
}

div.coulissant::after{
	position:absolute;
	height:9vmin;
	background-color:darkorange;
	top:0;
	
	font-family: Arial;
	text-shadow: 2px 2px 0 grey;
	font-size: 5vmin;
	color: orange;
	
	line-height:9vmin;
	text-align:center;
	
	border:1px solid #ccc;

}

div.coulissant.droit::after{
	width:70vw;
	content:" A propos... ";
}
div.coulissant.gauche::after{
	width:70vw;
	content:" Réglages ";
}

/*
div.coulissant.droit:hover{
	right:0;
}
div.coulissant.gauche:hover{
	left:0;
}
*/
div.coulissant.droit.ferme{
	right:-70%; /*-xxvw marche pas sous ie*/
}
div.coulissant.gauche.ferme{
	left:-70%;  /*-xxvw marche pas sous ie*/
}
div.coulissant.droit.ouvert{
	right:0;
}
div.coulissant.gauche.ouvert{
	left:0;
}


div.contenu_coulissant{
	padding-top: 9vmin;
	padding-left: 3vw;
	padding-right: 3vw;
	height:100vmin;
	/*background-color : red;*/
	background: url(./images/texture-tissu.png), rgba(0,50,50,0.8);

}

table {
  width: 100%;
  margin: 0 auto;
}
td {
  width: 50%;
  vertical-align:top;
}
td.center{
  text-align:center; 
  vertical-align:middle;
}
tr {
  line-height:3vmin;
}





/* bouton */
button {
	width:9vmin;
	height:9vmin;
	cursor:pointer;
	text-transform:capitalize;
	
    transition: all 0.4s ease; 
}

 button:hover {
    text-decoration: none;
    transform: scale(1.25);
}

button:active {
	outline:none !important;
}

button :disabled{
  opacity: 0.5; 
  cursor: not-allowed;
}


.btnPlay{
	position:absolute;
	width:9vmin;
	height:9vmin;
	top:0;
	left:12vmin;
	border-radius:50%;
	background-color:darkorange;
	border:1px solid #ccc;
	
	
	
	z-index:999999;
	
    outline:none;


	line-height:8vmin;
	text-align:center;
	
	transition: all 0.8s ease; 
}

.btnPlay::after{

	Content:"▷";
	font-family: Arial;
	text-shadow: 2px 2px 0 grey;
	font-size: 6vmin;
	color: orange;
	
	line-height:8vmin;
	text-align:center;

}


.btnPlay:hover {
  text-decoration: none;
  transform: rotate(360deg) 
}


.btnFile {
    display:none;
}

.btnFile + label{
	padding:1vmin;
	background:#DCDCDC;
	border-radius:1vmin;
	border:none;
	color:#fff;
	line-height:7vmin;
}
.btnFile  + label:hover{
  background: #C0C0C0;
  text-decoration: none;
}



.btnOk{
	background:url(./images/valider_vert.png) no-repeat;
	background-size: 100%;
	border-radius:50%;
	border:none;
	margin: 1vmin 1vmin;
}


.btnCancel {
	background:url(./images/annuler_rouge.png) no-repeat;
	background-size: 100%;
	border-radius:50%;
	border:none;
	margin: 1vmin 1vmin;
}

.btnRadio {
   display:none; 
}

.btnRadio  + label{
	padding:1vmin;
	background:#DCDCDC;
	border-radius:1vmin;
	border:none;
	color:#fff;
	line-height:7vmin;
}

.btnRadio  + label:hover{
	background:#C0C0C0;
}

.btnRadio:checked  + label {
    background:#90EE90;
}

.btnRadio:checked  + label:hover {
    background:#3CB371;
}





