/* Classe optionnelle pour le style */
body
{
	background-image: url("Golfe Morbihan-2.png");
	/*background-repeat: no-repeat;*/
}

#logo_VMR 
{
	position: absolute;
	z-index: 2;
	top: 65px;
	left: 10px;
}

.avectri
{
	margin-top: 5px;
}

.main
{
	position:absolute;
	left:700px; 
	top:330px;
}

.CarteGen
{
	position: absolute;
	font-family: Arial;
	font-size: 24px;
	color: red;
	font-style: normal;
	left: 768px;
	top: 332px;
	width: 190px;
}

.TRelease
{
	font-family: Arial;
	font-size: 14px;
	color: red;
	font-style: italic;
	background : rgba(255,255,255,1);
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 3px;
	padding-bottom: 3px;
	width: 200px;
}

.TResume
{
	font-family: Arial;
	font-size: 16px;
	color: red;
	font-style: normal;
	font-weight: bold;
	text-align: center;
	background : rgba(255,255,255,1);
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 3px;
	padding-bottom: 3px;
	width: 200px;
}

.tr
{
	width: 1000px;
}

@media only screen 
    and (device-width : 375px) 
    and (device-height : 812px) 
    and (-webkit-device-pixel-ratio : 3)
{
	.main
	{
		top:30px;
		background : rgba(255,255,255,0.90);
	}

	.CarteGen
	{
		top: 32px;
		background : rgba(255,255,255,0.90);
	}
}

h1
{
	margin-left: 120px;
	font-family: Arial;
	font-size: 28px;
	font-weight: bold;
	font-style: normal;
	color: black;
	width: 320px;
	background : rgba(255,255,255,0.90);
	padding: 10px;
	border-radius: 12px;
}

h4
{
	margin-left: 120px;
	font-family: Arial;
	font-size: 18px;
	font-weight: normal;
	font-style: italic;
	color: blue;
	line-height : 1.2;
	width: 800px;
	background : rgba(255,255,255,0.95);
	padding: 10px;
	border-radius: 12px;
}

table
{
	width: 1100px;
	font-family: Arial;
	font-size: 14px;
	font-weight: normal;
	border-collapse: collapse;
	border: 1px solid rgb(121,203,223);
	/*border : none;*/
}

/* Classe obligatoire pour les flèches */
.flecheDesc
{
	width: 0; 
	height: 0; 
	float:right;
	margin: 10px;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-bottom: 5px solid black;
}
.flecheAsc 
{
	width: 0; 
	height: 0;
	float:right;
	margin: 10px;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 5px solid black;
}


/* Ligne de titres */
th 
{
	border: 1px solid black;
	text-align:center;
	vertical-align: text-top;
	padding:5px 0 0 5px;
	background-color:rgb(121,203,223);
	color:#444;
	cursor:pointer;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
	font-weight: normal;
}

/* Fait par JS
th.selection 
{
	background-color:rgb(34,121,142);
	color: white;
}
*/

th.selection .flecheDesc 
{
	border-bottom-color: white;
	vertical-align: bottom;
}

th.selection .flecheAsc 
{
	border-top-color: white;
	vertical-align: bottom;
}

/* Fait par JS
th:hover:nth-child(2),
th:hover:nth-child(5)
{
	cursor:auto;
}
*/

/* Ligne du tableau */
tr:nth-child(odd) 
{
	background-color: white;
	border-bottom:1px solid #ccc;
	color:#444;
}

tr:nth-child(even) 
{
	background-color: rgb(210,238,244);
	border-bottom:1px solid #ccc;
	color:#444;
}

tr:hover:nth-child(odd) 
{
	background-color: rgb(153,150,144);
	color:white;
}

tr:hover:nth-child(even) 
{
	background-color: rgb(153,150,144);
	color:white;
}

/* Cellules du tableau */
td 
{
	width:auto;
	padding:.4em;
	text-align:center;
}

/* Alignement */
td:nth-child(1), td:nth-child(2), td:nth-child(11)
{
	text-align:left;
}
/*
td:nth-child(6)
{
	text-align:right;
}
*/

/****** Pour boite Modale ********************/
.modalDialog {
    position: fixed;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.4;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 99999;

    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    transition: opacity 300ms ease-in;
    pointer-events: none;
}

.modalDialog:target {
    opacity: 1;
    pointer-events: auto;
}

.modalDialog > div {
    width: 250px;
    padding: 5px 20px 13px 20px;
    border-radius: 10px;
    background: -moz-linear-gradient(#2edbe8,#02d6e6);
    background: -webkit-linear-gradient(#2edbe8,#02d6e6);
    background: -o-linear-gradient(#2edbe8,#02d6e6);

    position: relative;   /* ← RESTAURE LA CROIX */
}

.close {
    position: absolute;
    right: -12px;
    top: -12px;
    background: #fff;
    color: #000;
    font-size: 28px;      /* ← taille de la croix */
    font-weight: bold;
    text-decoration: none;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    border-radius: 50%;   /* ← rond comme souvent dans les modales */
    box-shadow: 0 0 6px rgba(0,0,0,0.4);
}
.close:hover {
	background: #6ed1d8;
}
