@font-face{
  font-family: "Myriad";
  src:url('fonts/Myriad.ttf');
}
@font-face{
  font-family: "Circular";
  src:url('fonts/Circular_Std.ttf');
}
/* général */
*{
    font-size:14px;
    font-family:Circular;
    font-weight:normal;
    cursor:default;
}

/*  menu */
.menu {
    width: 80%;margin-left: 10%;
    background-color: lightgrey;
    text-align: center;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

body{
    width:100%;
    height:100%;
}

/* Index */
#bandeau{
    width:80%;
    margin-left:10%;
    height:80px;
    background:linear-gradient(gray, white);
}
#bandeau .entete{
    width:95%;
    margin-left:2.5%;
}
.enteteBleu{color:blue;font-size:30px;}
.enteteBlanc{color:white;font-size:30px;}
.enteteRouge{color:red;font-size:30px;}
#corps{
    position:relative;
    width:80%;
    margin-left:10%;
    background-color:white;
    overflow:hidden;
    padding-bottom: 15px;
}
#bas{
    position:relative;bottom:5px;
    width:80%;
    margin-left:10%; 
    background:linear-gradient(white, lightgray);
    overflow:hidden;
}
#bas .adresse{
    border:0;
    display:inline;
    width:15%;
    vertical-align: middle;
    text-align:center;
}
#bas .connectes{
    border:0;
    width:15%;
    display:inline;
    vertical-align: middle;
}
#bas .ministeres{
    border:0;
    width:50%;
    display:inline;
    vertical-align: middle;
    text-align:center;
}
.inrectangle_titregen {
    color: #5c5c5c;
    font-style: italic;
    text-decoration:none; 
    font-size:16px; 
    padding:2px;
}
.inrectangle_dateactu {
    color: #003e78; 
    text-decoration:none; 
    font-weight:bold; 
    padding-left:25px;
    padding-bottom:2px;
}
.edito {
    position:relative;
    display:inline-block;
    width: 57%;
    vertical-align: top;
    top:10px;
}
.agenda {
    position:relative;
    display:inline-block;
    vertical-align: top;
    width: 42%;
    top:10px;
}
@media screen and (max-width: 650px) {
    .menu{width: 97%;margin-left: 0.5%;}
    .enteteBleu{font-size:20px;}
    .enteteBlanc{font-size:20px;}
    .enteteRouge{font-size:20px;}
    #bandeau{width: 97%;margin-left: 0.5%;}
    #corps{width: 97%;margin-left: 0.5%;}
    #bas{width: 97%;margin-left: 0.5%;}
    .edito {width: 97%;margin-left:0.5%;display:initial;top:5px;}
    .agenda {width: 97%;margin-left:0.5%;display:initial;top:5px;}
}

.menu .categorie {
        background: lightgrey;
        position: relative;  /* pour être la «racine» du sous-menu en absolute */
}
.menu .categorie ul {
        max-height: 0;
        overflow: hidden;
        transition: 0;
        position: absolute;
        padding: 0;
        margin: 0;
        list-style: none;
        width: 100%;  /* pour avoir la même largeur que la «racine» */
}
.menu h2{
        font-size: 1em;
        display: block;
        margin: 0;
        padding: .25em 0.5em;
        color: blue;
        background-color: lightgrey;
        text-decoration: none;
        box-sizing: border-box;
}
.menu a {
        font-size: 1em;
        display: block;
        margin: 0;
        padding: .25em .5em;
        color: blue;
        background-color: lightgrey;
        text-decoration: none;
        box-sizing: border-box;
}
.menu .categorie:hover ul {
        max-height: 30em;
        transition: 1s;
}
.menu .categorie:hover h2 {
        font-size: 1em;
        color: white;
        background-color: blue;
}
.menu a:hover {
        font-size: 1em;
        color: white;
        background-color: blue;
}
.menu-dropdown {
  min-width: 100%;
  padding: .25em 0.5em;
  position: absolute;
  background: #ebebeb;
  z-index: 100;
  transition:
    0.5s padding,
    0.5s background;
}
.menu:not(:hover) > .menu-dropdown {
  padding: 0.5em;
  background: #dddddd;
  z-index: 99;
}
.menu-dropdown > * {
  overflow: hidden;
  height: 28px;
  padding: .25em 0.5em;
  background: rgba(0,0,0,0);
  white-space: nowrap;
  transition: 
    0.5s height cubic-bezier(.73,.32,.34,1.5),
    0.5s padding cubic-bezier(.73,.32,.34,1.5),
    0.5s margin cubic-bezier(.73,.32,.34,1.5),
    0.5s 0.2s color,
    0.2s background-color;
}
.menu:not(:hover) > .menu-dropdown > * {
  visibility: hidden;
  height: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin: 0;
  color: rgba(25,25,25,0);
  transition: 
    0.5s 0.1s height,
    0.5s 0.1s padding,
    0.5s 0.1s margin,
    0.3s color,
    0.6s visibility;
  z-index: 99;
}
a:hover {
   text-decoration: none;
   color: #8a6d3b;
   font-style: italic;
}
a {
   text-decoration: underline;
   color: maroon;
   font-style: italic;
   margin-left: 0.5em;
   margin-right: 0.5em;
}
.ptitxt{
    font-size:16px;
    font-family:Myriad;
    margin:0;
    padding:0;
    font-weight:normal;
    cursor:default;
}
.ptitxtBold{
    font-size:16px;
    font-family:Myriad;
    margin:0;
    padding:0;
    font-weight:bold;
    cursor:default;
}
.ptitxtBleu{
    font-size:16px;
    font-family:Myriad;
    margin:0;
    padding:0;
    font-weight:normal;
    cursor:default;
    color:blue;
}
.ptitxtRouge{
    font-size:16px;
    font-family:Myriad;
    margin:0;
    padding:0;
    font-weight:normal;
    cursor:default;
    color:#f00;
}
.ptitxtBleuBold{
    font-size:16px;
    font-family:Myriad;
    margin:0;
    padding:0;
    font-weight:bold;
    cursor:default;
    color:blue;
}
.ptitxtRougeBold{
    font-size:16px;
    font-family:Myriad;
    margin:0;
    padding:0;
    font-weight:bold;
    cursor:default;
    color:#f00;
}
.grdtxt{
    font-size:20px;
    font-family:Myriad;
    margin:0;
    padding:0;
    font-weight:normal;
    cursor:default;
}
.grdtxtBold{
    font-size:20px;
    font-family:Myriad;
    margin:0;
    padding:0;
    font-weight:bold;
    cursor:default;
}
.grdtxtBleu{
    font-size:20px;
    font-family:Myriad;
    margin:0;
    padding:0;
    font-weight:normal;
    cursor:default;
    color:blue;
}
.grdtxtRouge{
    font-size:20px;
    font-family:Myriad;
    margin:0;
    padding:0;
    font-weight:normal;
    cursor:default;
    color:#f00;
}
.grdtxtRougeBold{
    font-size:20px;
    font-family:Myriad;
    margin:0;
    padding:0;
    font-weight:bold;
    cursor:default;
    color:#f00;
}
.grdtxtBleuBold{
    font-size:20px;
    font-family:Myriad;
    margin:0;
    padding:0;
    font-weight:bold;
    cursor:default;
    color:blue;
}
.grdtxtVertBold{
    font-size:20px;
    font-family:Myriad;
    margin:0;
    padding:0;
    font-weight:bold;
    cursor:default;
    color:green;
}
.fondBBR{
   padding:5px;
   border-radius: 5px;
   background-image: linear-gradient(90deg,blue,lightblue,lightblue,white,white,lightcoral,lightcoral,red);
}
.clignotant{
   animation:clignotant-blink 3s ease-in-out infinite;
   animation-fill-mode: forwards; 
}
@keyframes clignotant-blink {
  0%, 15%, 40%, 60%, 80%, 100% { 
    text-shadow:
      0 0 7px SpringGreen,
      0 0 10px SpringGreen,
      0 0 20px SpringGreen,
      0 0 50px SpringGreen,
      0 0 70px SpringGreen,
      0 0 100px SpringGreen;
  }
  30%, 65%, 95% { text-shadow: unset; } /* coupures */
}

/* menu admin */

dl, dt, dd, ul, li {
margin: 0;
padding: 0;
list-style-type: none;
}
#menu {
top: 1px;
left: 1px;
}

#menu dt {
cursor: pointer;
background:#ffcc99;
height: 20px;
line-height: 20px;
margin-left: 2px ;
margin-right: 2px ;
border: 1px solid gray;
text-align: center;
}

#menu dd {
margin-left: 2px ;
margin-right: 2px ;
margin-top: -2px;
background: #ffffcc;
border: 1px solid gray;
}
#menu ul {
padding: 2px;
}
#menu li {
text-align: center;
font-size: 85%;
height: 18px;
line-height: 18px;
}
#menu li a, #menu dt a {
color: Maroon;
text-decoration: underline;
display: block;
}

#menu li a:hover {
text-decoration: none;
}

#mentions {
font-size:20px;
font-family:arial;
font-weight: bold;
text-shadow: 3px 3px 5px #FFFFCC;
bottom : 200px;
left : 10px;
color :blue;
background: lightsalmon;
}
#mentions a {text-decoration: none;
color: #CCCCCC;
}
#mentions a:hover{text-decoration:underline;
}

/*  autre */
#retour{
    border:0;
    width:60px;height:30px;
    background-size:cover;
    background-image: url(img/retour.gif);
}
#retour:hover {
    background-image: url(img/retour_hover.gif);
}
#buttLab {
    background-color:rgba(190,190,190,0.5);
    border-radius:5px;
    border:1px solid;
    padding:2px;
    cursor:pointer;
}
#buttLab:hover{
    background-color:rgba(60,60,255,1);
    color:white;
}
.dossards{
    font-size:18px;
    font-family:Myriad;
    margin:12px;
    padding:2px;
    font-weight:bold;
    cursor:pointer;
    color: #f0f;
}
hr{
    border: 0;
    height: 2px;
    margin:10px;
    background-image: linear-gradient(90deg, lightblue, blue, blue, lightblue);
    opacity:0.5;
}
.enteteTableau {
    color: yellow; 
    font-weight:bold; 
    font-style:italic; 
    font-size:16px; 
    border-radius: 5px; 
    padding:2px 5px 2px;}
input {
    border-radius: 3px;
    padding:2px 4px 2px;
    margin:2px;
    color:#0066FF;
    background-color:lightcyan;
    font-size:12px;
} 
select {
    margin:4px 5px ;
    border-radius: 3px;
    padding:2px;
    color:#0066FF;
    background-color:lightcyan;
    font-size:12px;
}
#tableauPage{
    width:95%;
    border-radius: 5px;
    border-width:1px; 
    border-style:solid;
    margin:5px;  
    background-color:PowderBlue;
}
#tableauPage tr td{
    background-color: white;
    border-radius: 5px;
    border-width:1px; 
    border-style:solid;
    padding:2px 5px 2px;
}
#tableauPage .fond{
    font-size:18px;
    background-image: linear-gradient(90deg, lightblue, blue, blue, blue, lightblue);
    color: white;
    border-color:black;
}

#mentions {
font-size:20px;
font-family:arial;
font-weight: bold;
text-shadow: 3px 3px 5px #FFFFCC;
bottom : 200px;
left : 10px;
color :blue;
background: lightsalmon;
}
#mentions a {text-decoration: none;
color: #CCCCCC;
}
#mentions a:hover{text-decoration:underline;
}

#recap td{
    font: 16px Calibri;
    width:225px;
}
#recap table td {
    font: 16px Calibri;
    font-weight:bold;
}
#bubulle{
    background-color: #fafaff;
    border: 1px solid #aaf;
    width:200px;
    min-height:50px;
}
#bubulle p{
    font-weight:bold;
    text-align:center;
    font-size:small;
    margin:auto;
}
#valid{
	width: 150px;
	position:relative;
	padding:5px;
	border-radius:5px;
	color:Green;
	background-color:#FFFFCC;
	border-color:Lightgrey;
	font-size:16px;
	font-family:arial;
	font-weight: bold;
}
#valid div{
	display: none;
	position:absolute;
	padding:5px 10px 5px 10px;
	left:35px;top:25px;
	width:250px;
	background-color:white;
}
#valid:hover div{
	display: block;
	color:grey;
}
#cancel{
	width: 150px;
	position:relative;
	padding:5px;
	border-radius:5px;
	color:OrangeRed;
	background-color:#FFFFCC;
	border-color:Lightgrey;
	font-size:16px;
	font-family:arial;
	font-weight: bold;
}
#cancel div{
	display: none;
	position:absolute;
	padding:5px 10px 5px 10px;
	left:35px;top:25px;
	width:250px;
	background-color:white;
}
#cancel:hover div{
	display: block;
	color:grey;
}
timing{
    font-family: Arial;
    font-size: 9px;
}
#tableauFiche{
    width:98%;
    border-radius: 5px;
    border-width:1px; 
    border-style:solid;
    margin:5px;  
    background-color:PowderBlue;
}
#tableauFiche tr td{
    background-color: white;
    border-radius: 5px;
    border-width:1px; 
    border-style:solid;
    padding:5px 5px;
}
#tableauCt{
    width:95%;
    border-radius: 5px;
    border-width:1px; 
    border-style:solid;
    margin:5px;  
    background-color:rgba(255,255,255,0.5);
}
#tableauCt tr td{
    background-color: rgba(255,255,255,0.4);
    border-radius: 5px;
    border-width:1px; 
    border-style:solid;
    padding:2px 2px 2px;
}
.listeround{
    display:inline-block;
    border:solid 2px;
    border-color:orange;
    height:18px;
    font:14px Calibri;
    font-weight:bold;
    cursor: help;
    margin-right:2px;
    margin-left:2px;
    margin-top:5px;
    margin-bottom:5px;
    text-align:center;
}