﻿@font-face {
    font-family: "headline";
    src: url('../../font/Dirty Headline.ttf');
}

@font-face {
	font-family: "Adler";
	src: url("Adler.ttf") format("truetype");
}

* {
font-family: Verdana, Geneva, sans-serif;
font-size: 12px;
margin: 0px;
font-weight: normal;
}

html { overflow-x: hidden; } 

body {
	text-align:center;
	background-image: url(diag.png);
	background-color: #000000;
	overflow: hidden;
	width:100%;
}

#gradient {
    width: 100%;
    height: 400px;
    display: block;
    position: absolute;
    background: url(gradient-bg.png) repeat-x top;
    -o-background-size: 100% 100%;
    -moz-background-size: 100% 100%;
    -webkit-background-size: 100% 100%;
    background-size: 100% 100%;
    background: -webkit-gradient( linear, left top, left bottom, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)) );
    background: -webkit-linear-gradient( top, rgba(0,0,0,1), rgba(0,0,0,0) );
    background: -moz-linear-gradient( top, rgba(0,0,0,1), rgba(0,0,0,0) );
    background: -o-linear-gradient( top, rgba(0,0,0,1), rgba(0,0,0,0) );
    background: linear-gradient( top, rgba(0,0,0,1), rgba(0,0,0,0) );
}


h1, H2, H3 {
	font-family: headline, "Trebuchet MS", Arial, Helvetica, sans-serif;
}

h1 {
	
padding: 0px;
color: rgb(190, 7, 7);
text-shadow: 1px -1px 1px rgb(0, 0, 0), 2px 3px 6px rgba(0, 0, 0, 0.84), -20px -3px 20px rgb(0, 0, 0);
font-weight: normal;
font-size: 45px;	
}

.cadrelieu {
    background-color: #000;
    text-align: center;
    padding: 5px;
    border: 1px solid #7c0300;
    text-transform: uppercase;
}

.imglieu {
    width:100%;
}

[idobjet].description {
    display: block;
    background-color: #fff;
    color: #000;
    padding: 15px;
    margin: 10px;
    box-shadow: #000 4px 4px 4px;
}


.ficherole h1 {
-ms-transform: rotate(-4deg);
-webkit-transform: rotate(-4deg);
transform: rotate(-4deg);
position: absolute;
top: 31px;
left: 19px;
font-size: 50px;
}

h2 {

padding: 5px 0px 8px 15px;
font-size: 30px;
color: #BE0707;
text-shadow: 1px -1px 1px #000,2px 3px 6px rgba(0, 0, 0, 0.84);
font-weight: normal;
}

.ficherole h2 {
padding: 20px 0px 5px 17px;
}

h3 {
font-weight: normal;
font-size: 20px;
text-shadow: 1px -1px 1px #000,2px 3px 6px rgba(0, 0, 0, 0.84);
}

dfn {

position: relative;
top: -9px;
left: 4px;
letter-spacing: 3pt;
font-size: 12px;
font-family: arial, helvetica, sans-serif;

}

.ficherole dfn {
-ms-transform: rotate(-4deg);
-webkit-transform: rotate(-4deg);
transform: rotate(-4deg);
margin-left: 8px;
top: 2px;
display: block;
left: -2px;
font-weight: normal;

}


h4 {
    color: #880000;
    font-size: 17px;
    padding: 12px;
    text-transform: uppercase;
}



.diapo {
border: 3px solid #DFC612;
box-shadow: 0px 0px 12px #000;
width: 622px;
margin-left: -5px;
height: 278px;
overflow: hidden;
position:relative;
left:0px;
top:0px;
}

.diapo img {
position:absolute;
left:0px;
top:0px;
}



.affiche {
 border: 1px solid #000;
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
margin: 5px;
}

.descaff {
	border-corner-shape: beleved;
	
	display: block;
	color: #FFF;
	background-color: rgba(0, 0, 0, 0.44);
	padding: 8px;
	position:relative;
	left:0;
	top:0;

}

p {

}

label {

margin: 15px 8px 4px 7px;

}

.descaff p {
    float: none;
    margin: 0px;
    border-style: hidden;
    background-color: rgba(0, 0, 0, 0);
    padding: 1px 15px;
}

.descaff form {
    padding: 1px 15px;
}

.editeur p {
	border: 1px solid #F3C87B;
	margin: 3px;
	padding: 0px;
	border-radius: 5px;
	background-color: rgba(211, 189, 28, 0.4);
	margin-bottom: 10px;
	margin-top: 45px;
	position: relative;
	left: 0px;
	top: 0px;
}

.editeur p textarea{
	margin: 0px;
	width: 579px;
	border-style: none;
	border-radius: 0;
	background-color: rgb(254, 255, 244);
	padding: 10px;
}
p.public {
	border: 1px solid #116D8A;
	background-color: rgba(28, 152, 211, 0.4);
}

.editeur span {
	border: 1px solid #349;
	margin: 0px;
	padding: 3px;
	border-radius: 5px;
	background-color: #79F;
	display: inline-block;
	color: rgb(255, 255, 255);
	cursor:pointer;
}

.editeur span.valeur {
border: none;
margin: 0px;
padding: 6px;
border-radius: 2px;
background-color: rgba(253, 255, 232, 0.93);
display: inline-block;
color: #000;
}

.editeur span.gris {
border: 1px solid #4D4D4D;
background-color: #8B8B8B;
display: inline-block;
color: #575757;
}

#content {
margin: 0px auto;

text-align: left;
width: 620px;
padding: 20px;
padding-top: 73px;
border: 1px solid #000;
left: 0px;
top: 158px;
position: relative;
box-shadow: 0px 0px 500px rgba(0, 0, 0, 0.72), 0px 10px 300px rgba(0, 0, 0, 0.25);
border-radius: 0 0 5px 5px;

    margin-bottom: 220px;
    padding-bottom: 33px;

}

#ombrem {
	background-color: #000;
left: 53px;
right: 48px;
position: absolute;
display: block;
height: 161px;
top: -160px;
}


#ombreh {
	background-image: url(./mad-retro/points.png);
	left:0px;
	right:0px;
	top:0px;
	position:absolute;
	display:block;
	height:80px;
}

#visuelg {
background-image: url(../../img/decoMADg.png);
left: -243px;
top: -164px;
position: absolute;
display: block;
width: 356px;
height: 441px;
}

#visueld {
background-image: url(../../img/decoMADd.png);
right: -247px;
top: -157px;
position: absolute;
display: block;
width: 412px;
height: 393px;
}

#visuelm {
background-image: url(../../img/decoMADm.png);
left: 89px;
top: -135px;
position: absolute;
display: block;
height: 123px;
width: 455px;
z-index: 1;
}

.detective_party #visuelm {
background-image: url(../../img/decoDPm.png);
}

.papier {
background-image: url(../../img/papier.png);
display: block;
height: 391px;
width: 630px;
padding: 0px;
}

.papier2 {
background-image: url(../../img/papier.png);
padding: 26px;
padding-right: 259px;
color: rgb(0, 0, 0);
font-family: monospace;
font-weight: bolder;
font-size: 17px;
height: 338px;
overflow: hidden;
}
.imgrole {
	display:block;
	width:100px;
	height:100px;
	margin:7px;
	background-image: url(inspecteur.png);
	background-repeat: no-repeat;
	float:left;
	border:1px solid transparent;
    position:relative;
    left:0px;
    top:0px;
}

[idperso] {
color : rgb(223, 68, 68);
}

#content .ficherole img {
    width: auto;
    margin: 15px auto;
   
    max-height: 411px;
    display: block;
    max-width: 100%;
}

#content .ficherole img[idobjet] {
    box-shadow: 0 0 0 1px hsl(0, 0%, 0%), -1px 2px 7px 3px hsla(34, 10%, 69%, 0.55), 0 0 0 11px hsl(49, 26%, 92%), 0 0 0 13px hsl(0, 0%, 0%), 2px 2px 5px 13px hsla(0, 0%, 0%, 0.73);
}

img.printable, img.presentation { 
 max-width: 100%;
 max-height: 500px;
}

#content li {
padding-bottom: 11px;
}

[type="scientifique"] {
background-image: url(scientifique.png);
} 

[type="avocat"] {
	background-image: url(avocat.png);
}

[type="suspect"] {
	background-image: url(suspect.png);
}

[type="policier"] {
	background-image: url(policier.png);
}

[type="vampire"] {
	background-image: url(vampire.png);
}

[type="photographe"] {
	background-image: url(photographe.png);
}

[type="detective"] {
	background-image: url(detective.png);
}


.inactif {
	
}

.actif {
	background-color: #22FF22;
	border:1px solid #bbFFbb;
}
.nondispo {
	background-color: #BBBBBB;
	border:1px solid #999999;
}
.survol {
	border:1px solid #22FF22;
	background-color: #bbFFbb;
    cursor:pointer;

}
 .infobulle {
	display:none;
     z-index: 5;
}
.survol .infobulle {
	background-color: #fff29c;
	border:1px solid #aca469;
    position:absolute;
    left:0px;
    top:90px;
    display:block;
    width:300px;
}
.inforeserve {
	color:#FF0000;
    position:absolute;
    left:0px;
    bottom:0px;
    display:block;
    width:100px;
}

.button {

	background-image: url("boutonOK.png");
    color: #FFFFFF;
    cursor: pointer;
    display: block;
    height: 39px;
    line-height: 35px;
    margin: 10px auto;
    text-align: center;
    width: 339px;

}

img.illustration {
   margin: 12px auto;
   border:4px solid #000000;
}


img.logo {
float:left;
margin-right:10px;
}

input, textarea, select, option {
 background-color:#FFEBD2;
 }
 
input, textarea, select {
 padding:1px;
 border:1px solid #1B0D0D;
 border-radius:3px;
 box-shadow:1px 1px 2px #363232 inset;
 
 }
 
select {
 margin-top:10px;
}

#nextScenario {
background-image: url(images/bg_pagesnav_next.png);
display: block;
width: 15px;
height: 15px;
position: absolute;
right: 5px;
bottom: 5px;
}
#prevScenario {
background-image: url(images/bg_pagesnav_prev.png);
display: block;
width: 15px;
height: 15px;
position: absolute;
right: 24px;
bottom: 5px;
}

hr {
    margin-top: 3px;
    margin-bottom: 5px;
    border-color: #be0707;
}
.editeur .updiv {
background-color: rgba(60, 99, 221, 0.96);
border-radius: 8px 8px 0 0;
position: absolute;
top: -28px;
border-bottom-style: hidden;
padding: 2px;
height: 22px;
border-color: #111A86;
right:32px;
}

.editeur .action_delete {
background-color: rgba(206, 14, 14, 0.96);
    border-radius: 8px 8px 0 0;
    position: absolute;
    top: -20px;
    border-bottom-style: hidden;
    padding: 2px;
    height: 15px;
    border-color: #111A86;
    right: 6px;
    width: 15px;
    background-image: url(delete_icon.gif);
    background-repeat: no-repeat;
    background-position: center 5px;
	cursor:pointer;
}

.editeur .ficheperso, .editeur .objGroupe {
	padding: 5px;
	margin-top: 15px;
	border-radius: 4px;
	position:relative;
	left:0px;
	top:0px;
}

.active {
	background-color: rgba(152, 23, 23, 0.85) !important
}



.editeur [importance=PNJ] {
	background-color: rgba(70, 70, 70, 0.23);
	border: 1px solid #999;
}

.editeur [importance=forte] {
	background-color: rgba(167, 0, 0, 0.23);
	border: 1px solid #A00;
}

.editeur [importance=moyenne] {
	background-color: rgba(167, 107, 0, 0.23);
	border: 1px solid #974E1E;
}

.editeur [importance=faible] {
	background-color: rgba(154, 167, 0, 0.11);
	border: 1px solid #75971E;
}

.editeur .objGroupe {
	background-color: rgba(167, 107, 0, 0.23);
	border: 1px solid #974E1E;
}

.editeur .removeParent {
	position: absolute;
	right: 2px;
	top: 5px;
}

.editeur .bouthautdroite {
    position: absolute;
    top: 8px;
    right: 7px;
}

.editeur #addPerso,
.editeur #addGroupes,
.editeur #addObjet
 {
	width : 100%;
	margin : 3px;
}

.editeur #leftmenu {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 20%;
	bottom: 0px;
	background-color: rgba(0, 0, 0, 0.5);
	padding-right: 8px;
}

#timeline {
background-color: rgb(223, 240, 255);
position: fixed;
bottom: 0;
top: 0;
border-left: 3px solid rgb(17, 139, 247);
right: 0;
height: 100%;
width: 28%;
color: rgb(0, 0, 0);
overflow-y: auto;
}

#timeline .event {
padding: 5px;
text-align: justify;
border-bottom: 1px solid rgb(154, 191, 255);
border-top: 1px solid rgb(255, 255, 255);
}

.image {
float:right;
padding:10px;
width:145px;
}

.ouinon img.gris {
	filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 3.5+ */
    -webkit-filter: grayscale(100%);
    -moz-filter:    grayscale(100%);
    -ms-filter:     grayscale(100%);
    -o-filter:      grayscale(100%);
    filter: gray; 
    cursor:pointer;
}

footer {
  background-color: rgba(0, 0, 0, 0.21);
  margin: -20px;
  padding: 10px;
  text-align: center;
  margin-top: 20px;
}

input[type="radio"] ~ label img {
    opacity: 0.7;
}
input[type="radio"]:checked ~ label img{
    opacity: 1;
    border:1px solid #0f0;
    margin:-1px;
    

}

input[type="radio"]:disabled ~ label img {
    opacity: 0.1;
}

.actif {
	background-position-x: 5px;
	background-color: #009e4b !important;
    background-image: url("../img/fondbarre.jpg") !important;
	background-repeat: no-repeat;
	
}

.numbers {
    display: block;
    border: 3px solid #F00;
    padding: 5px;
    background-color: #0000008c;
    color: #F00;
    text-align: center;
    box-shadow: 2px 2px 3px 0px #000000c4;
    position: fixed;
    bottom: 10px;
    /* right: 13px; */
    z-index: 100;
}

.numbers span, .numbers span strong {
 font-size:30px;
}

input#text-action-autre {
    width: 100%;
}

button#button-action-autre {
    float: right;
    /* right: 0px; */
}

.button_action {
    width: 47%;
    height: 64px;
    margin: 5px;
	background-repeat: repeat-y !important;
}

p input {
    background: none;
    border: none;
    margin: 3px;
    color: #d6d844;
}

.ui-widget-header {

    background-attachment: fixed !important;
	background-position: top !important;
}

.ui-widget-overlay {
    background: #2d0000d6 !important;
    mix-blend-mode: normal;
    opacity: 1 !important;
	transition: background-color 2s;
}

.ui-dialog-buttonset {
	text-align:right;
}

.ui-selectmenu-open {
    z-index: 200 !important;
}

#dialog-valide {
	overflow:hidden;
}

#dialog-valide h2{
	font-size:30px;
}

#dialog-valide img{
	margin-left: -16px !important;
}

#dialog-valide quote {
    font-style: italic;
}

img.ico-objectif {

	float: left;
    margin: 7px 26px -2px 9px !important;
}

.progress {
width: 100%;
margin: 20px auto;
text-align: center;
}
.progress .circle,
.progress .bar {
display: inline-block;
background: #fff;
width: 38px;
height: 38px;
border-radius: 40px;
border: 1px solid #d5d5da;
}
.progress .bar {
position: relative;
width: 20px;
height: 6px;
top: -33px;
margin-left: -5px;
margin-right: -5px;
border-left: none;
border-right: none;
border-radius: 0;
}
.progress .circle .label {
display: inline-block;
width: 32px;
height: 32px;
line-height: 32px;
border-radius: 32px;
margin-top: 3px;
color: #b5b5ba;
font-size: 17px;
}
.progress .circle .title {
color: #b5b5ba;
font-size: 13px;
line-height: 30px;
margin-left: -5px;
}

/* Done / Active */
.progress .bar.done,
.progress .circle.done {
background: #eee;
}
.progress .bar.active {
background: linear-gradient(to right, #EEE 40%, #FFF 60%);
}
.progress .circle.done .label {
color: #FFF;
background: #000000;
box-shadow: inset 0 0 2px rgba(0,0,0,.2);
}
.progress .circle.done .title {
color: #444;
}
.progress .circle.active .label {
color: #000;
    background: #f3f3f3;
box-shadow: inset 0 0 2px rgba(0,0,0,.2);
}
.progress .circle.active .title {
color: #0c95be;
}

.blockobj {
    margin: 8px;
    padding: 8px;
}

p {
    margin: 8px;
}

.absol {
	position:absolute;

}

/* ===== VADER — BANDE DE POLICE ANIMÉE ===== */

@keyframes vader-stripes {
  0%   { background-position: 0 0; }
  100% { background-position: 62px 0; }
}

@keyframes vader-shine {
  0%          { left: -80%; opacity: 0; }
  4%          { opacity: 1; }
  42%         { left: 130%; opacity: 0.9; }
  42.1%, 100% { left: 130%; opacity: 0; }
}

@keyframes vader-glow {
  0%   { background-position: 0% 0%;   opacity: 0.5; }
  50%  { background-position: 100% 0%; opacity: 0.9; }
  100% { background-position: 200% 0%; opacity: 0.5; }
}

@keyframes vader-shadow {
  0%, 100% {
    box-shadow:
       5px  7px 0 #000,
       0    0  25px rgba(245,200,0,0.55),
       inset 0 -3px 8px rgba(0,0,0,0.45);
  }
  25% {
    box-shadow:
      -5px  7px 0 #000,
       0    0  45px rgba(245,200,0,0.85),
       inset 0  3px 8px rgba(255,255,255,0.12);
  }
  50% {
    box-shadow:
       5px -5px 0 #000,
       0    0  55px rgba(245,200,0,0.65),
       inset 0 -4px 10px rgba(0,0,0,0.55);
  }
  75% {
    box-shadow:
      -5px -7px 0 #000,
       0    0  30px rgba(245,200,0,0.75),
       inset 0  4px 10px rgba(255,200,0,0.18);
  }
}

@keyframes vader-glitch {
  0%, 84%, 100% { transform: none; filter: none; clip-path: none; }
  85% {
    transform: translate(-5px, 1px) skewX(-3deg);
    filter: hue-rotate(70deg) saturate(4) brightness(1.4);
    clip-path: inset(5% 0 82% 0);
  }
  86% {
    transform: translate(5px, -2px) skewX(4deg);
    filter: hue-rotate(-50deg) saturate(3);
    clip-path: inset(55% 0 8% 0);
  }
  87% {
    transform: translate(-2px, 0);
    clip-path: inset(22% 0 48% 0);
    filter: brightness(2) saturate(0.5);
  }
  88% { transform: none; filter: none; clip-path: none; }
  93% {
    transform: translate(4px, 0) scaleX(1.015);
    filter: brightness(1.5) saturate(2) hue-rotate(30deg);
    clip-path: inset(38% 0 38% 0);
  }
  94% { transform: none; filter: none; clip-path: none; }
}

h1.vader {
  background: repeating-linear-gradient(
    -45deg,
    #f5c800 0,  #f5c800 22px,
    #111111 22px, #111111 44px
  );
  background-size: 62px 62px;
  color: #000 !important;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  padding: 12px 28px;
  border-top:    4px solid #000;
  border-bottom: 4px solid #000;
  position: relative;
  overflow: hidden;
  text-shadow:
    0 0 10px rgba(255,230,0,0.95),
    1px 1px 0 rgba(255,255,255,0.5),
    2px 2px 5px rgba(0,0,0,0.7);
  animation:
    vader-stripes 1s linear infinite,
    vader-shadow  2.8s ease-in-out infinite,
    vader-glitch  11s step-start infinite;
  z-index: 0;
}

/* Reflet lumineux qui balaie la bande */
h1.vader::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -80%;
  width: 45%;
  height: 180%;
  background: linear-gradient(
    105deg,
    transparent 15%,
    rgba(255,255,255,0.6) 50%,
    transparent 85%
  );
  transform: skewX(-12deg);
  animation: vader-shine 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

/* Dégradé coloré animé en surimpression */
h1.vader::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255,80,0,0.18)  0%,
    rgba(255,230,0,0.28) 30%,
    rgba(255,255,120,0.12) 60%,
    rgba(255,80,0,0.22)  100%
  );
  background-size: 300% 100%;
  animation: vader-glow 4.5s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 1;
}
