@font-face {font-family: 'Segoe script';font-weight: 400;src: url('/inc/fonts/segoesc.ttf') format('truetype')}
@font-face {font-family: 'Segoe script';font-weight: 700;src: url('/inc/fonts/segoescb.ttf') format('truetype')}

html {
  margin: 0;
  padding: 0;
  height: 100%;
  min-height: 100%;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

/* En plein écran, ne pas réserver le couloir de barre de défilement :
   sinon l'élément plein écran (carte, width:100%) est ~15px trop étroit
   et laisse apparaître le fond noir du plein écran à droite (Chrome). */
html:has(:fullscreen) {
  scrollbar-gutter: auto;
}

body {
position: absolute;
left: 0px;
width: 100%;
font-family: 'Inter', Helvetica, Arial, sans-serif;
margin: 0px;
padding: 0;
transition: left .3s ease;
display: flex;
min-height: 100%;
flex-direction: column;
overflow-x: hidden;
background-color: #fff;
}



#bandeauSpecialVisu {
	overflow: hidden;
	margin-top: 60px;
	margin-bottom: 10px;
}

#bandeau_invite, #bandeau_mbr {
	overflow: hidden;
	margin-top: 60px;
	margin-bottom: 10px;
}

#bandeau {
	overflow: hidden;
	margin-top: 60px;
}

#bandeauSpecial img {
	width: 100%;
	margin-top: 60px;
}

@media screen and (min-width: 1400px) {
	
body {font-size: 16px;}

#bandeau img  {
	width: 100%;
}

#bandeauSpecialVisu img, #bandeau_invite img, #bandeau_mbr img {
	width: 100%;
}

#activites_home {
	display: block;position: absolute; top: calc(4vw + 60px); right: calc(17.5vw - 75px);width: 20vw;
}

#ul_home {
	width: 42vw;
}

#btn_inscr {
	margin-left: 25vw;
	margin-top: 20px;
}

#desc2 {order: 3;}
#im2 {order: 4;}
#desc4 {order: 7;}
#im4 {order: 8;}
#desc6 {order: 11;}
#im6 {order: 12;}

#tutos > div { flex-direction: line;}

.tab_accueil > div {width: 50%;}

.mmm {display: none;}
.www {display:inline-block;}
.www_table {display:table-cell;}
.www_b {display:block;}
.www2 {display:inline-block;}
.www_flex {display:flex;}

main {float:left;width: calc(100% - 490px);}
aside {width: 480px;margin-left: calc(100% - 480px);}

.degrade {position: absolute;top: 60px;width: 100vw;height:35vw;background: linear-gradient(180deg, rgba(255,255,255, 0.9) 0px, rgb(255,255,255, 0) 50px);}

.menu_outils > span {top: 60px;left: -1px;box-shadow: 0 1px 1px #999;}

.featurePremium {float: left; width: 50% !important; max-width: 400px;margin: 0 10px 10px 0;}

#gridAffichage {display: grid;grid-template-columns: 320px calc(100vw - 320px);margin: 0 -10px -15px -10px;grid-template-areas: "liste carte";}
#btnActualiser {left: calc(50vw - 210px);}
}


@media screen and (min-width: 1024px) and (max-width: 1400px) {

body {font-size: 15px;}

#bandeau img {
	width: 100%;
}

#bandeauSpecialVisu img, #bandeau_invite img, #bandeau_mbr img {
	width: 100%;
}

#activites_home {
	display: block;position: absolute; top: calc(4vw + 60px); right: calc(17.5vw - 75px);width: 20vw;
}

#ul_home {
	width: 42vw;
}

#btn_inscr {
	margin-left: 25vw;
	margin-top: 20px;
}

#tutos > div { flex-direction: line;}

#desc2 {order: 3;}
#im2 {order: 4;}
#desc4 {order: 7;}
#im4 {order: 8;}
#desc6 {order: 11;}
#im6 {order: 12;}
.tab_accueil > div {width: 50%;}

.mmm {display: none;}
.www {display:inline-block;}
.www_table {display:table-cell;}
.www_b {display:block;}
.www2 {display:inline-block;}
.www_flex {display:flex;}

main {float:left;width: 65%;}
aside {width: calc(35% - 10px);margin-left: calc(65% + 10px);}

.degrade {position: absolute;top: 60px;width: 100vw;height:35vw;background: linear-gradient(180deg, rgba(255,255,255, 0.9) 0px, rgb(255,255,255, 0) 50px);}

.menu_outils > span {top: 60px;left: -1px;box-shadow: 0 1px 1px #999;}

.featurePremium {float: left; width: 50% !important; max-width: 400px;margin: 0 10px 10px 0;}

#gridAffichage {display: grid;grid-template-columns: 320px calc(100vw - 320px);margin: 0 -10px -15px -10px;grid-template-areas: "liste carte";}
#btnActualiser {left: calc(50vw - 210px);}
}

#bandeau_vide_petit {height: 70px;}


@media screen and (min-width: 768px) and (max-width: 1024px) {

body {font-size: 14px;}

#bandeau img {
	margin-left:calc(50vw - 512px);
	height: 183px;
}

#bandeau_invite img {
	margin-left:calc(50vw - 512px);
	width: 1024px;
	height: 575px;
}

#bandeau_mbr img {
	margin-left:calc(50vw - 512px);
	width: 1024px;
	height: 205px;
}

#bandeauSpecialVisu img {
	margin-left: calc(40vw - 410px);
	width: 1024px;
	height: 399px;
}

#activites_home {
	display: block;position: absolute; top: calc(224px - 12vw); right: calc(17.5vw - 75px);height: calc(228px + 16vw);
}

#ul_home {
	width: 42vw;
}

#btn_inscr {
	margin-left: 25vw;
	margin-top: 20px;
}

#tutos > div { flex-direction: line;}

#desc2 {order: 4;}
#im2 {order: 3;}
#desc4 {order: 8;}
#im4 {order: 7;}
#desc6 {order: 12;}
#im6 {order: 11;}
.choix_accueil {margin: 20px;}
.tab_accueil > div {width: 100%;}


.mmm {display:inline-block;}
.www {display: none;}
.www_table {display:none;}
.www_b {display:none;}
.www2 {display:inline-block;}
.www_flex {display:flex;}

main {float:left;width: calc(100% - 358px);}
aside {width: 348px ;margin-left: calc(100% - 348px);}

.degrade {position: absolute;top: 60px;width: 100vw;height:35vw;}

.menu_outils > span {top: -1px;right: 180px;box-shadow: 0 0 1px #ddd;}

.featurePremium {float: left; width: 50% !important; max-width: 300px;margin: 0 10px 10px 0;}

#gridAffichage {display: grid;margin: 0 -10px -15px -10px;grid-template-areas: "carte" "liste";}
#btnActualiser {left: calc(50vw - 50px);}
}


@media screen and (max-width: 768px)  {

/* Menu « Créer une trace » sur mobile : une ligne simple (icone + nom), sans la sous-ligne. */
.sousmenu_creer a { height: auto; }
.sousmenu_creer .tx_creer small { display: none; }

body {font-size: 14px;}

#bandeau_vide_petit {height: 35px;}

#bandeau img {
	margin-left:calc(22vw - 297px);height: calc(106px + 10vw);
}

#bandeau_invite img {
	margin-left:calc(50vw - 512px);
	width: 1024px;
	height: 575px;
}

#bandeau_mbr img {
	margin-left:calc(50vw - 512px);
	width: 1024px;
	height: 205px;
}

#bandeauSpecialVisu img {
	margin-left: calc(40vw - 410px);
	width: 1024px;
	height: 399px;
}

#activites_home {
	display: none;
}

#ul_home {
	width: 92vw;
}

.home_pages {
	flex-direction: column;
}

.home_pages_reverse {
	flex-direction: column-reverse;
}

#btn_inscr {
	margin-left: 50vw;
	margin-top: 50px;
}


#tutos > div { flex-direction: column;}

#desc2 {order: 4;}
#im2 {order: 3;}
#desc4 {order: 8;}
#im4 {order: 7;}
#desc6 {order: 12;}
#im6 {order: 11;}
.choix_accueil {margin: 20px;}
.tab_accueil > div {width: 100%;}


.mmm {display:inline-block;}
.www {display: none;}
.www_table {display:none;}
.www_b {display:none;}
.www2 {display:none;}
.www_flex {display:none;}

main {width: 100%;margin-bottom: 10px;}
aside {width: 100%}

.degrade {position: absolute;top: 60px;width: 100vw;height:35vw;}

.menu_outils > span {top: -1px;right: 180px;box-shadow: 0 0 1px #ddd;}

.featurePremium {display: block; width: 100% !important; margin: 10px 0;}

#gridAffichage {display: grid;margin: 0 -10px -15px -10px;grid-template-areas: "carte" "liste";}
#btnActualiser {left: calc(50vw - 50px);}
}

main > p, aside > p, #main > p {
text-align: justify;
margin-bottom: 10px;
margin-top: 0px;
}


.tab_accueil {
	overflow: hidden;
}

#cont_map {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

#box_coo {
	z-index: 9999;
	display: none;
	position: fixed;
	left: 50%;transform: translateX(-50%);
	max-width: 500px;
	width: calc(100% - 20px);
	box-shadow: 0 0 5px #555;
	background-color: #fff;
	color: #555;
	padding: 20px;
	border-radius: 5px;
	overflow-y: auto;
}


#box_new, #box_inscr, #box_login, #box_message  {
	position: absolute;
	top: -800px;
	left: 50vw;
	transform: translateX(-50%);
	width: 420px;
	max-width: calc(100vw - 20px);
	padding: 28px;
	box-shadow: 0 20px 60px rgba(33,29,26,.18);
	background-color: #fff;
	transition: top .8s ease, left .3s ease;
	border-radius: 16px;
	z-index: 2002;
	font-family: 'Inter', Helvetica, Arial, sans-serif;
}

/* Habillage des boîtes de connexion/inscription/import (#box_login, #box_inscr, #box_new) */
.box-close { cursor: pointer; width: 16px; position: absolute; top: 18px; right: 18px; opacity: .5; transition: opacity .15s ease; }
.box-close:hover { opacity: 1; }
.box-title { font-family: 'Inter', Helvetica, Arial, sans-serif; font-weight: 800; font-size: 21px; color: #211D1A; letter-spacing: normal; margin-bottom: 6px; }
.box-subtitle { font-size: 13.5px; color: #6B655D; letter-spacing: normal; line-height: 1.5; margin-bottom: 18px; }
.box-input, .box-select {
	display: block; width: 100%; box-sizing: border-box;
	color: #211D1A; background: #FAF7F2;
	padding: 12px 14px; margin: 0 0 10px 0;
	border: 1px solid #ECE6DC; border-radius: 8px;
	font-size: 14px; font-family: 'Inter', Helvetica, Arial, sans-serif; letter-spacing: normal;
}
.box-input:focus, .box-select:focus { outline: none; border-color: #DB4316; background: #fff; }
.box-btn {
	display: block; width: 100%; box-sizing: border-box;
	margin: 14px 0 0 0; padding: 13px;
	cursor: pointer; background-color: #DB4316; color: #fff;
	border: none; border-radius: 8px;
	font-size: 14px; font-weight: 700; font-family: 'Inter', Helvetica, Arial, sans-serif; letter-spacing: normal;
	transition: background-color .15s ease;
}
.box-btn:hover { background-color: #C93B12; }
.box-link-row { text-align: center; margin-top: 18px; font-size: 13px; letter-spacing: normal; color: #6B655D; }
.box-link-row a { color: #DB4316; text-decoration: none; font-weight: 600; }
.box-link-row a:hover { text-decoration: underline; }
.box-divider { display: flex; align-items: center; gap: 10px; margin: 18px 0; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: #948C82; }
.box-divider::before, .box-divider::after { content: ""; flex: 1; height: 1px; background: #ECE6DC; }
.box-social-row { display: flex; gap: 10px; align-items: center; justify-content: center; margin: 4px 0; }
.box-dropzone {
	display: flex; align-items: center; gap: 10px;
	border: 1px dashed #DDD4C6; border-radius: 8px;
	padding: 12px 14px; cursor: pointer; color: #948C82;
	font-size: 13.5px; background: #FAF7F2; transition: border-color .15s ease, background-color .15s ease;
}
.box-dropzone:hover { border-color: #DB4316; background: #fff; }

/* #box_message doit rester au-dessus des panneaux type .boxes (parametres/
   enregistrement, z-index 5000 sur cartes/) : c'est un message ponctuel
   (ex: explication au clic sur l'indicateur de persistance) qui peut
   s'ouvrir alors qu'un de ces panneaux est deja affiche. Meme registre que
   #etat (6000), deja au-dessus de .boxes pour la meme raison. */
#box_message {
	z-index: 6000;
}

#masque, #masque_photo {
	z-index: 2001;
	position: fixed;
	top: -100vh;
	left: 0;
	width: 100%;
	min-height: 100vh;
	background-color: #050000;
	opacity: 0;
	transition: opacity 0.5s;
}

#etat {
	cursor: pointer;
	opacity: 0;padding: 0;max-height: 0;
	position: fixed;top: 10px; left: 50%;transform: translateX(-50%);
	background-color: rgba(60,60,60,0.9);color: #fff;
	z-index: 6000;
	transition: opacity .5s;
	text-align: center;
}

.arrow, .arrow_close  {
	z-index: 2000;
	cursor: pointer;
	position: absolute;
	top: calc(50% - 3vw);
	width: 6vw;
	opacity: 0.10;
}

#arrow_suiv {
	right: 3vw;
}

#arrow_prev {
	left: 3vw;
}

#prev:hover #arrow_prev, #suiv:hover #arrow_suiv {
	opacity: 0.5;
}

#tutos, #vtutos {
	position: absolute;
	width: 80vw;
	
	top: 10vh;
	left: 10vw;
	display: none;
	background-color: #fff;
	box-shadow: 0 0 2px rgba(50,50,50,1);
	z-index: 2000;
}

#surface > div, #extraInfo > div, #pente > div  {
	display: inline-block;
	cursor: help;
	height: 10px;
}

 #tutos {
	 padding: 10px;
	 max-height: 88vh;
	overflow-y: scroll;
 }
 
 #vtutos_iframe {
	 margin-bottom: -4px;
	 width: 80vw;
	 height: 45vw;
 }

#tutos > div {
	margin-bottom: 20px;
	padding: 10px;
	text-decoration: none;
	display: flex;
	background-color: #f7f7f7;
	transition: background-color 0.3s;
	cursor: pointer;
}

#tutos > div:hover {
	background-color: #e0e0e0;
}

#tutos > div > img {
	width: 200px;
	
	max-width: 100%;
	
}

#tutos > div > div {
	padding: 10px;
}

#tutos > div > div > p {
	font-weight: bold;
	margin-bottom: 10px;
}

.grey {
	background-color: #f9f9f9;
	transition: background-color 0.3s;
}
.grey:hover {
	background-color: #e0e0e0;
}

.tab_accueil {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	align-items: center;
	width: 100%;
}

.tab_accueil > div {
	text-align: center;
	vertical-align: middle;
	letter-spacing: 0.1em;
	color: #555;
}

.choix_accueil img {
	cursor: pointer;
	width: calc(20px + 6vw);
	max-width: 80px;
	min-width: 25px;
	transition: all 0.2s;
}

.choix_accueil img:hover {
	transform: scale(1.1) rotate(15deg);
}

.choix_accueil > div {
	font-size: calc(1.2em + 1.3vw);
	margin: 5px;
	padding: 5px 15px;
}

.choix_accueil span {
	padding: 10px;
}

.raccourcis_accueil img {
	cursor: pointer;
	width: calc(50px + 4vw);
	height: calc(50px + 4vw);
	margin: 4vw;
	border-radius: 50%;
	border: 10px solid rgba(0,0,0,0.3);
	transition: all 0.2s;
}

.raccourcis_accueil img:hover {
	transform: scale(1.1) rotate(15deg);
}

.bigOnOver {
	transition: transform 0.2s;
}

.bigOnOver:hover {
	transform: scale(1.05);
}

#apparenceTrace {
	display: inline;
}

#grandephoto {
	position: absolute;
	z-index:9999;
	transform: translate(-50%,-50%);
	margin: 50vh 0 0 50%;
	opacity: 0;
	transition: opacity 0.5s 0.5s;
}

#grandephoto > img {
	max-width: 100vw;
	max-height: 100vh;
}
	
#prev, #suiv {
	position: absolute;
	width: 30%;
	height: 100%;
	cursor: pointer;
}

#suiv {
	right: 0;
}

#btn_inscr {
	font-size: calc(1em + 1vw);
	background-color: #DA3F11;
	padding: 8px 15px;
	border-radius: 5px;
	display: inline-block;
	color: #fff;
	cursor: pointer;
	transform: translateX(-50%);
	transition: background-color 0.3s
}

#btn_inscr a {
	color: #fff;
}

#btn_inscr:hover {
	background-color: #EF4B1F;
}


#txt_accueil {
	font-size: calc(1em + 1vw);
	margin: 40px 20px 30px 20px;
	text-align: center;
	letter-spacing: 0.1em;
	color: #555;
	font-weight: normal;
}

#txt_accueil div {
	background-color: #3c3c3c;
	margin: 20px;
	padding: 8px 15px;
	border-radius: 5px;
	display: inline-block;
	color: #fff;
	cursor: pointer;
}

#txt_accueil div a {
	color: #fff;
}

#txt_accueil div:hover {
	background-color: #5c5c5c;
}


#test_premium {
	width: 100%;
	margin-bottom: 20px;
	text-align: center;
	font-size: 1.3em ;
	letter-spacing: 0.1em;
	color: #555;
	font-weight: normal;
}


#test_premium a {
	background-color: #3c3c3c;
	margin-right: 10px;
	padding: 8px 15px;
	border-radius: 5px;
	display: inline-block;
	color: #fff;
	cursor: pointer;
}

#test_premium a:hover {
	background-color: #5c5c5c;
}


#bouton_menu {
	cursor: pointer;
	border-right: 1px solid #eee;
}

#bouton_menu_img {
	width: 30px;
}

#tabpremium td {
	padding: 20px 5px;
	border: 1px solid #fff;
	background-color: #fafafa;
	vertical-align: middle;
	text-align: center;
	font-size: 1.05em;
	letter-spacing: 0.05em;
}

#tabpremium img {
	width: calc(30px + 2vw);
}

ul, ol {
list-style: none;
margin: 0;
padding: 0;
}

li {
margin: 0;
padding: 0;
}


.carre {
margin: 0.4em 0;
list-style-image : url(/img/puce.png);
list-style-position:inside;
}

#page {
flex: 1;
padding: 0 10px 10px 10px;
background-color: #fff;
margin-right: 5px;
}

#cadenas {
-webkit-touch-callout: none !important; 
-webkit-user-select: none !important;
}

#menu_mobile {
z-index: 2000;
position: fixed;
top: 0px;
right : -180px;
width: 180px;
height: 100%;
margin: 0;
padding: 0;
background: #fff;
transition: right .3s ease;
user-select: none;
}

#menu_mobile li {
color: #fff;
transition: background .2s ease;
height: 60px;
line-height: 60px;
border-bottom: 1px solid #eee;
cursor: pointer;
}

#menu_mobile li:hover {
background: #F9F4F1;

}

#menu_mobile li > a, #menu_mobile li > span {
text-decoration: none;
display: block;
width: 100%;
height: 100%;
padding: 0 10px;
font-size: 0.9em;
letter-spacing: 0.05em;
white-space: nowrap;
color: #000;
}

.active {
background-color: #F9F4F1 !important;
}

#bandeau_top {
	z-index: 2000;
	position: fixed;
	width: 100%;
	height: 60px;
	border-bottom: 1px solid #eee;
	background-color: #FFF;
}

.lien_menu {
	text-decoration: none;
	font-size: 0.8em;
	letter-spacing: 0.04em;
	color: #333;
	border-left: 1px solid #eee;
	padding: 0 15px;
	line-height: 60px;
	cursor: pointer;
}

.lien_menu:hover {
	background-color: #F9F4F1;
}

.cols .cadre {
	display: inline-block;
}

#menu_login {
	z-index: 2002;
	padding: 5px;
	border-radius: 0 0 3px 3px;
	box-shadow: 0 0 5px #000;
	position: absolute;
	top: 0;
	right: 10px;
	background-color: rgba(255, 255, 255, 1);
	overflow: hidden;
	text-align: right;
	font-size: 1.1em;
}

#menu_login_plus {
	
	max-width: 0;
	max-height: 0;
	transition: max-width, max-height;
	overflow: hidden;
	text-align: left;
}

#main_menu {
	font-size: 1.1em;
	margin-bottom: 10px;
}

#main_menu a {
	margin-left: 10px;
	text-decoration: none;
	border-bottom: 5px solid #ddd;
	transition: border-bottom .8s ease;
}

#main_menu a:hover {
	border-bottom: 5px solid red;
}

#main_menu .menu_actif {
	border-bottom: 5px solid red;
}

#footer {
	padding: 20px;
	padding-bottom: 10px;
	width: 100%;
	background-color: #333333;
	color: #ccc;
	font-size: 1em;
	letter-spacing: 0.05em;
	position: relative;
}

#footer p {
	text-align: center;
	margin: 1.5em;
	line-height: 1.4em;
}

.footer-tagline { color: #bbb; }
.footer-stats { color: #999; font-size: .9em; }

/* bouton "haut de page" : main.js (basdepage()) reecrit l'attribut style du
   DIV #btnPageUp au scroll pour le faire passer en position:fixed en bas
   d'ecran -> on ne style que le <a>/<img> a l'interieur, jamais le DIV
   lui-meme, pour ne pas entrer en conflit avec ces ecritures JS */
#btnPageUp img {
	width: 50px;
	margin: -10px 0;
	opacity: 0.35;
	transition: opacity .2s;
}
#btnPageUp a:hover img { opacity: 0.8; }

.footer-stores img {
	width: 120px;
	opacity: .9;
	transition: opacity .2s;
}
.footer-stores a:hover img { opacity: 1; }

#reseaux_footer {
	white-space: nowrap;
	width: 100%;
	text-align: center;
}
#reseaux_footer img {
	width: 30px;
	margin: 5px;
	opacity: .8;
	transition: transform .15s, opacity .15s;
}
#reseaux_footer a:hover img,
#reseaux_footer img#icon_notif:hover {
	opacity: 1;
	transform: scale(1.12);
}

.footer-admin-chip {
	position: absolute;
	bottom: calc(2px + env(safe-area-inset-bottom, 0px));
	right: 5px;
	color: #fff;
	text-decoration: none;
	font-size: 0.6em;
}
.footer-admin-chip-2 { right: auto; left: 5px; }

#footer a {
	color: #ccc;
	transition: color .15s;
}
#footer a:hover { color: #fff; }

.im_profil {
	width: 1.8em;
	margin: 0.5em;
}

a {
color: #000;
}

a:hover {
text-decoration: none;
}

p {
text-align: justify;
margin: 5px 0;
}

p.alt_form {
text-align: center;
}

label {
	margin-right: 10px;
	letter-spacing: 0.1em;
}

*, *::before, *::after {
  box-sizing: border-box;
}

h1 {
letter-spacing: 0.1em;
font-size: 1.4em;
}

h2 {
background: linear-gradient(90deg, #f8f9fa, #e9ecef);
border-left: 5px solid #D93D09;
color: #343a40;
padding: 15px 20px;
font-size: 1.5em;
margin-bottom: 20px;
font-weight: bold;
border-radius: 5px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
letter-spacing: 0.05em;
}



h3 {
padding: 5px;
font-size: 1.4em;
margin-bottom: 10px;
letter-spacing: 0.05em;
}

h4 {
letter-spacing: 0.05em;
font-size: 1.2em;
}

.titrebb {
background: linear-gradient(90deg, #f8f9fa, #e9ecef);
color: #343a40;
padding: 5px;
font-size: 1.1em;
margin-bottom: 15px;
border-radius: 5px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
letter-spacing: 0.05em;
}


.small {
font-size: 0.8em;
}

.droite {
margin: 0 0 5px 0;
text-align: right;
}

.centre {
text-align: center;
}

img {
vertical-align: middle;
}

iframe {
max-width: 100%;
}

a img {
border: 0;
}


hr {
clear: both;
visibility: hidden;
margin : 0;
}

.alerte {
font-weight: bold;
margin: 10px 0;
color: #f00;
}

.cadre {
background-color: #fff;	
border: 1px solid #E4D7D2;
border-radius: 5px;
padding: 0 15px 15px 15px;
margin: 15px;
}

.cadre h2 {
	background-color: #fff;
	border: none;
	margin: 10px -10px;
}

.color {
margin-top: 5px;
padding: 2px;
background-color: #3c3c3c;
color: #fff;
}

.color2 {
background-color: #eee;
}

abbr, acronym {
cursor: text;
border-bottom: 1px dotted black;
}

.float_r {
position: relative;
float: right;
}

.float_l {
position: relative;
float: left;
margin: 0 5px 5px 0;
}

.blue {
color: #9AB2CA;
}

.new {
font-size: 0.8em;
color: #f00;
}

#flash {
	position: absolute;
	top: 35px;
	z-index: 999;
	background-color: rgba(250,250,250,0.95);
	border-radius: 2px;
	max-height: 200px;
	width: 250px;
	display: none;
	overflow: auto;overflow-x: hidden;
	text-align: left;
}

#flash div {
	border-top: 1px solid #ccc;
	padding: 5px;
	cursor: pointer;
}

#flash div:first-child {
	border: none;
}

#flash div:hover {
	background-color: rgba(240,240,240,0.95);
}



/* FORUM */

.letter_avatar {
	font-weight: bold;
	line-height: 24px;
	text-align: center;
	color: #F9F4F1;
	display: inline-block;width: 24px;height: 24px; border-radius: 12px; font-size: 14px;
}

.im_avatar {
	width: 24px;
	height: 24px;
	border-radius: 12px;
}

.forum {
width: 100%;
border-collapse: separate;
margin-bottom: 30px;
}

.titre_forum {
vertical-align: middle;
color: #fff;
text-align: left;
font-size: 1.2em;
line-height: 1em;
}

.titre_forum a {
padding: 5px;
display: block;
text-decoration: none;
color: #fff;
}

.forum td {
vertical-align: middle;
padding: 2px;
}


.cont_f {
	border-top: 1px solid #c8c8c8;
	background-color: #f5f5f5;
	padding: 4px;
	margin: 5px 0;
}
.cont_f img {
	max-width: 100%;
}

.head {
margin: 5px 0;
padding: 5px;
background-color: #da461a;
font-weight: bold;
font-size: 1.3em;
color: #fff;
}

input, textarea {
	user-select: text !important;
}

input[type=checkbox], .custom_radio {
position: absolute;
left: -9999px;
}

.leaflet-control-layers-overlays input[type=checkbox] {
	position: static;
}

.leaflet-control-layers-expanded {
	z-index: 1000;
}

input[type=submit] {
cursor: pointer;
}

input[type=checkbox]:checked + .ckb::after {
  background: center/120% url("/img/menuX.png");
}

.custom_radio:checked + .rdo::after {
  background: center/120% url("/img/menuO.png");
}

input[type=submit] {
color: #fff;
background-color: #555;
border: none;
}

.verticalSlider {
z-index: 2000;
transform: rotate(270deg);
transform-origin: center;
position: absolute;
bottom: 280px;
width: 200px;
height: 4px;
padding: 0;
cursor: pointer;
opacity: .7;
appearance: none;
-webkit-appearance: none;
display: none;
outline: none;
user-select: none;
}

.verticalSlider:hover {
opacity: 1;
}

.verticalSlider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 30px;
  height: 30px;
  border-radius: 3px;
  background: #fff;
  background-image: url('/img/leftright.png');
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  box-shadow: 0px 0px 0px 2px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.verticalSlider::-moz-range-thumb {
  width: 30px;
  height: 30px;
  border-radius: 3px;
  background: #fff;
  background-image: url('/img/leftright.png');
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  box-shadow: 0px 0px 0px 2px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}


.ckb::after {
display: inline-block;
position: relative;
top: 5px;
width: 18px;
height: 18px;
margin-left: 5px;
content: '';
outline: 1px solid #555;
transition: background-color .2s;
}

.rdo::after {
display: inline-block;
position: relative;
top: 2px;
width: 18px;
height: 18px;
margin-right: -5px;
content: '';
border-radius: 9px;
border: 1px solid #555;
transition: background-color .2s;
}

.ckb, .rdo {
cursor: pointer;
}

.button_style {
	min-width: 40px;
	cursor: pointer;
	margin-right: 5px;
	background-color: #fcfcfc;
	font-size: 0.8em;
	transition: 0.5s ease background-color;
}
.button_style:hover {
	background-color: #e8e8e8;
}

/* ADSENSE */

#adsense {
position: relative;
float:right;
margin-left: 5px;
border: 1px solid #9DB3CB;
background-color: #C1D2E1;
}

#ads_t {
position: relative;
float:right;
margin-left: 5px;
border: 1px solid #9DB3CB;
background-color: #C1D2E1;
}

#ads_f {
margin: 20px auto;
padding: 5px;
height: 60px;
width: 468px;
border: 1px solid #9DB3CB;
border-radius: 10px;
background-color: #C1D2E1;
}

#ads_im {
margin: 20px;
height: 90px;
width: 728px;
border: 5px solid #FFF;
}

/* PHOTO */

#cadre_photo {
border: 10px solid #fff;
margin: 2px 0;
}

#vote_ajax {
text-align: right;
}

#vote_ajax span {
padding: 0 2px;
background-color: #999;
}

.photo_sortie {
position: relative;
float : left;
background-color: #9DB3CB;
height: 160px;
width: 120px;
margin: 10px 0 0 10px;
padding: 10px;

}

.ph {
border: 0;
padding: 0;
position: relative;
float : left;
height: 138px;
width: 202px;
margin: 5px 20px 10px 10px;
}

.ph .vignette {
position: absolute;
height: 100px;
width: 100px;
padding: 4px;
text-align: center;
background-color: #A8BED4;
}

.ph .com {
position: absolute;
top: 0;
left: 110px;
height: 88px;
width: 106px;
padding: 2px;
background-color: #A8BED4;
}

.ph .vu {
position: absolute;
top: 94px;
left: 110px;
width: 110px;
height:14px;
background-color: #A8BED4;
text-align: center;
}

.ph .titre {
position: absolute;
top: 110px;
width: 220px;
height:28px;
background-color: #A8BED4;
text-align: center;
}

/* FORMULAIRES */

form {
margin: 0;
padding: 0;
}

textarea,
input,
select {
border: none;
font-family: Helvetica, Arial, sans-serif;
font-size: 1em;
z-index: 50;
letter-spacing: 0.05em;
color: #333;
padding: 5px 10px;
margin: 3px 0;
background-color: #fff;
vertical-align: middle;
border: 1px solid #ccc;
}

textarea {
	max-width: 100%;
}

.go {
position: relative;
top: 3px;
border: 0;
}

/* ACCUEIL */

#image_accueil {
position: absolute;
top: 0px;
left: 0px;
height: 135px;
width: 180px;
}

#col_droite,
#col_gauche,
#col_centre {
margin: 0;
padding: 0;
}

#col_droite {
position: relative;
float:right;
width: 180px;
}

#col_gauche {
position: relative;
float: left;
padding: 145px 0 0 0;
width: 180px;
}

#col_centre {
margin: 0 190px 0 190px;
}

/* BOITES */

dl,
dt,
dd {
margin: 0;
padding: 0;
position: relative;
}

dl table, tr, td {
font-size:14px;
vertical-align: top;
}

dt a {
text-decoration: none;
}

dt a:hover {
color: #f00;
}

tr {height: 2em;line-height: 1.5em;}
tr:nth-child(even) {background-color: #eaeaea;}
tr:nth-child(odd) {background-color: #FFF}
tr:first-child {background-color: #686868;color: #fff;}


.petit {
font-weight: normal;
font-size: 0.8em;
text-decoration: underline;
}

.petit:hover {
color: #000;
text-decoration: none;
}



/* RSS */

.rss {
position: relative;
float: left;
width: 180px;
margin: 0 5px;
}

.quote_aut {
display: block;
margin: 10px 0 -10px 30px;
font-weight: bold;
}

.quote {
background: url('/img/q.png') no-repeat;
background-size: 20px 20px;
background-position: top 5px left 5px;

background-color: #eee;
display: block;
margin: 10px 0 0 30px;
padding: 25px 25px 25px 40px;
}

.signature {
background: url('/img/q.png') no-repeat;
background-size: 15px 15px;
background-position: top 5px right 5px;
background-color: #ECE0D8;
display: block;
font-size: 1.3em;
margin: 10px 125px 10px 0;
padding: 5px 60px 5px 5px;
border-radius: 3px;
}

/* STATS */


.stats table {
font-size:14px;
position: relative;
float: left;
border: 1px solid #9DB3CB;
background-color: #C1D2E1;
padding: 5px;
margin: 2px 5px 5px 0;
}

.stats caption {
border: 1px solid #9DB3CB;
background-color: #C1D2E1;
padding: 5px;
margin: 0 5px 2px 0;
}

.stats img {
border: 1px solid #000;
height: 10px;
}

#menu_blog {
float: right;
width: 245px;
}

#contenu_blog {
margin-right: 265px;
}

.selected_blog {
border: 1px solid #f00;
}

.auteur_blog, .commentaire_blog {
margin: 5px 0 0 25px;
font-style: italic;
}

.billet_blog {
margin: 10px 0 0 25px;
}

#menu_blog h3 {
font-size: 1.2em;
border-bottom: 1px dotted #000;
margin: 10px 0 5px 0;
}

.souligne {
padding-top: 10px;
border-bottom: 1px dotted #000;
}

.dst2time {
margin: 0;
padding: 0;
width: 100px;
height: 20px;
position:absolute;
display: block;
z-index: 4;
right: 0px;
bottom: 0px;
cursor: pointer;
}

.item_dossier {
	margin-bottom : calc(10px + 1vw);
	min-height: 60px;
	background-color: #f9f9f9;
}

.item_dossier:hover {
	background-color: #eee;
}


.theienu {
margin: 0;
padding: 6px;
width: 36px;
height: 36px;
position:absolute;
display: block;
z-index: 1;
background-color: rgba(255, 255, 255, 1);
border-radius: 4px;
box-shadow: 0px 0px 0px 2px rgba(0, 0, 0, 0.2);
overflow: hidden;
}

.theienu:hover {
height: auto;
width: auto;
}

#switchGraph {
margin: 0;
padding-top: 20px;
width: 150px;
height: 30px;
position:absolute;
left: 50px;
display: block;
z-index: 4;
background-color: rgba(255, 255, 255, 0);
overflow: hidden;
cursor: pointer;
}

.dosdept {
margin: 0;
padding: 0;
width: 40px;
max-height: 40px;
position:absolute;
display: block;
background-color: rgba(255, 255, 255, 0.95);
border-radius: 2px;
overflow: hidden;
box-shadow: 0 0 2px rgba(100,100,100,0.8);
transition: max-height 1s ease, width 1s ease;
transition-delay: .5s;
}

.dosdept:hover {
max-height: 800px;
width: 800px;
}

*{
	word-wrap: break-word; 
}


.box_courbes {
white-space: nowrap;
display: inline-block;
margin: 5px 5px 5px -2px;
padding: 2px 2px 7px 0px;
cursor: help; 
}

.box_courbes label {
	font-size: 0.8em;
}

.item {
min-height: 60px;
min-width: 80px;
display: inline-block;
font-size: 1.4em;
margin: 0 0 15px 20px;
padding: 0;
cursor: help;
}

.item_int {
display: inline-block;
vertical-align: middle;
height: 60px;
line-height: 25px;
text-align: center;
} 

.item img {
	vertical-align: middle;
	margin-right: 10px;
	height: calc(25px + 2.5vw);
	min-height: 25px;
	max-height: 50px;
	
}

.nom_dossier {
	position: relative;
	cursor: pointer;
	display: inline-block;
}

.cld {
	z-index: 100;
    width: max-content;
    color: black;
    border: 1px solid grey;
    display: none;
    cursor: pointer;
    position: absolute;
    background-color: #fff;
    padding: 10px 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
}

#liste_sous_dossiers {
	display: flex;
	width: 100%;
	flex-wrap: wrap;
}

#liste_sous_dossiers a {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	color: #333;
	font-size: 1em;
	padding: 4px 8px; background-color: #FFFEFB;
	margin: 5px;
	border: 1px dotted #bbb;
	border-radius: 5px;
	white-space: nowrap;
}

#liste_sous_dossiers a:hover {
	background-color: #f2f2f2;
}

#liste_sous_dossiers a img {
	width: 16px;
	margin-right: 6px;
	vertical-align: middle;
}

#liste_sous_dossiers a img.icone_visi_dossier {
	width: 13px;
	margin: 0 0 0 5px;
	cursor: help;
}

/* arborescence des dossiers façon Windows (vue desktop) */
#arbre_dossiers_wrap {
	display: none;
}

#contenu_dossier {
	min-width: 0;
}

@media screen and (min-width: 768px) {
	.dossier_layout {
		display: flex;
		align-items: flex-start;
		gap: 25px;
	}

	#arbre_dossiers_wrap {
		display: flex;
		flex: 0 0 auto;
		align-self: flex-start;
		position: sticky;
		top: 70px; /* 60px bandeau_top fixe + 10px de marge, sinon les premiers dossiers passent dessous */
	}

	#arbre_dossiers {
		width: 240px;
		min-width: 120px;
		max-width: 480px;
		max-height: calc(100vh - 80px); /* 70px (bandeau + marge) + 10px de marge en bas */
		overflow-y: auto;
		overflow-x: hidden;
		padding-right: 10px;
	}

	#resize_arbre {
		flex: 0 0 6px;
		width: 6px;
		margin-left: -3px;
		cursor: col-resize;
		border-right: 1px solid #eee;
		position: relative;
		z-index: 1;
	}

	#contenu_dossier {
		flex: 1 1 auto;
	}
}

#arbre_dossiers ul {
	list-style: none;
	margin: 0;
	padding-left: 16px;
}

#arbre_dossiers > ul {
	padding-left: 0;
}

#arbre_dossiers .noeud_arbre > ul {
	display: none;
}

#arbre_dossiers .noeud_arbre.ouvert > ul {
	display: block;
}

#arbre_dossiers .ligne_arbre {
	display: flex;
	align-items: center;
	min-width: 0;
}

#arbre_dossiers .toggle_arbre {
	display: inline-block;
	flex: 0 0 auto;
	width: 14px;
	font-size: 0.7em;
	color: #999;
	cursor: pointer;
	user-select: none;
	transition: transform .15s ease;
}

#arbre_dossiers .noeud_arbre.ouvert > .ligne_arbre > .toggle_arbre {
	transform: rotate(90deg);
}

#arbre_dossiers .toggle_arbre.vide {
	cursor: default;
}

#arbre_dossiers .racine_arbre {
	margin-bottom: 4px;
}

#arbre_dossiers .racine_arbre a,
#arbre_dossiers .lien_arbre {
	display: inline-flex;
	align-items: center;
	min-width: 0;
	padding: 4px 8px;
	text-decoration: none;
	color: #333;
	border-radius: 5px;
	white-space: nowrap;
}

#arbre_dossiers .nom_arbre {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	min-width: 0;
}

#arbre_dossiers .racine_arbre a:hover,
#arbre_dossiers .lien_arbre:hover {
	background-color: #f2f2f2;
}

#arbre_dossiers .racine_arbre.arbre_actif > a,
#arbre_dossiers .lien_arbre.arbre_actif {
	font-weight: bold;
	background-color: #f0eee9;
}

#arbre_dossiers .drop_hover {
	background-color: #DC4B20 !important;
	color: #fff;
}

#arbre_dossiers .drop_interdit {
	cursor: not-allowed;
	outline: 2px dashed #bbb;
	outline-offset: -2px;
}

#arbre_dossiers .icone_arbre {
	width: 16px;
	flex: 0 0 auto;
	vertical-align: middle;
	margin-right: 6px;
}

#arbre_dossiers .icone_visi_arbre {
	width: 13px;
	flex: 0 0 auto;
	vertical-align: middle;
	margin-left: 5px;
	cursor: help;
}

#arbre_dossiers .lien_arbre[draggable="true"] {
	cursor: grab;
}

#arbre_dossiers .lien_arbre.dragging {
	opacity: 0.4;
}

.item_dossier[draggable="true"] {
	cursor: grab;
}

.item_dossier.dragging {
	opacity: 0.4;
}

.search_window {
	padding: 10px;
	margin: 10px 0 20px 0;
	border: 1px solid #ccc;
	width: 100%;
}

.puce {
	display: inline-block;
	border-radius: 2px;
	margin: 0 5px 0 0;
	padding: 0;
	height: 1em;
	width: 1em;
}

.vhome {
	display: inline-block;
	background-color: #fff;
	border: 1px solid #000;
	border-radius: 5%;
	overflow: hidden;
	margin: 0 10px 10px 0;
	width: 60px;
	height: 60px;
}

.vhome > img {
	width: 40px;
	padding: 10px;
	background-color : #fff;
	transition: width .5s ease, padding .5s ease;
}

.vhome > img:hover {
width: 60px;
padding: 0;
}

.vbestof {
	width: 25px;
	padding: 3px;
	margin-right: 5px;
}

.vbestof_small {
	width: 18px;
	padding: 2px;
	filter: opacity(50%);
}


.classPhoto {
	display: inline-block;
	position: relative;
	padding-bottom: 0;
	overflow: hidden;
	text-align: center;
	margin: 0 10px 10px 0;
}

.imgClassPhoto {
	box-shadow: 0 0 2px rgba(100,100,100,0.8);
	border-radius: 2px;
	width: 340px;
	max-width: calc(100vw - 20px);
}

.cadrePhotos {
	display: flex;
	flex-wrap: wrap;
	background-color: #fff;	
	border: 1px solid #E4D7D2;
	margin: 15px;
	justify-content: space-between;
	overflow: hidden;
}

.boxPhoto {
	cursor: pointer;
	display: block;
	position: relative;
	margin: 2px;
	overflow: hidden;
	border-radius: 2px;
}

.titrePhoto {
	position: absolute;
	left: 0;bottom: -20px;
	width: 100%;
	height: 0;
	background-color: rgba(255,255,255,0.7);
	z-index: 10;
	font-size: 13px;
	color: #000;
	line-height: 18px;
	transition: height .5s ease;
	padding: 5px;
	text-align: center;
}


.boxPhoto:hover .titrePhoto {
	height: 65px;
}

.boxPhoto:hover .titrePhoto:hover {
	height: 150px;
}

#options_suivi a:hover,#options_suivi div:hover  {
	background-color: #606060;
}

.leaflet-left .leaflet-control-rotate { 
    margin-top: 15px;
}

#alert_pos, #btnCalibration  {
	position: absolute;
	left: -245px;
	top: 230px;
	line-height: 45px;
	width: 240px;
	text-align: center;
	letter-spacing: 0.1em;
	padding: 0 10px;
	background-color: yellow;
	opacity: 0.9;
	transition: left .5s ease;
	z-index: 2000;
	cursor: pointer;
	box-shadow: 0 0 3px #555;
	border-radius: 0 5px 5px 0;
	
}

#alert_acquisition {
	position: absolute;
	left: -245px;
	top: 230px;
	line-height: 40px;
	width: 240px;
	text-align: center;
	letter-spacing: 0.1em;
	padding: 0 10px;
	background-color: #ccc;
	opacity: 0.9;
	transition: left .5s ease;
	z-index: 2000;
	cursor: pointer;
	box-shadow: 0 0 3px #555;
	border-radius: 0 5px 5px 0;
	
}

#alert_acquisition img {
	width: 2em;
	margin-right: 8px;
	animation: blinker 2s infinite;
}

#alert_record {
	display: none;
	z-index: 2000;
	position: absolute;
	left: 0px;
	bottom: 0px;
	line-height: 45px;
	height: 45px;
	width: 100vw;
	letter-spacing: 0.1em;
	padding: 0 10px;
	background-color: #000;
	color: #fff;
	text-align: center;
	cursor: pointer;
	white-space: nowrap;
    justify-content: center;
    gap: 20px;
    white-space: nowrap;
	transition: background-color 0.3s ease, color 0.3s ease;
}

#alert_record img {
	filter: invert(1);
	width: 20px;
	margin-right: 5px;
	transition: filter 0.3s ease;
}

#alert_record.pauseAuto {
	background-color: orange;
	color: #000;
}

#alert_record.pauseAuto img {
	filter: none;
}

.move {
	cursor: move;
}

.optionsImg {
	width: 25px;height: 25px;
	position: absolute;top: 3px;right: 3px;
	padding: 3px;
	background-color: #fff;
	cursor: pointer;
	border-radius: 2px;
	display: none;
}

.boxPhoto:hover .optionsImg {
	display: inline;
}

.imLoad {
	position: absolute;
	top: calc(50% - 10px);
	left: calc(50% - 10px);
	display: none;
}

.opacity {
	box-shadow: unset;
}

.opacity:hover {
    box-shadow: 0 2px 4px rgba(100,100,100,0.8);
}

.trans_bottom {
	transition: bottom .5s ease, height .5s ease;
}

.ide {
	display: inline-block;
	background-color: #A0A0A0;
	border-radius: 2px;
	color: white;
	font-size: 0.77em;
	padding: 2px 5px;
}

.ide_black {
	background-color: #000;
}

.ide span {
	margin-left: 2px;
	display: inline-block;
	background-color: white;
	border-radius: 50px;
	color: grey;
	font-size: 1.2em;
	padding: 2px 5px;
}

.ide_black span {
	color: black;
}

/* *******************************

           EDITGPX
		   
**************************** ****/

.form_edit {
		border: 0;
		background-color: #eee;
		outline: 0;
		padding: 5px;
		color: #757575;
	}
	
.icon_edit {
		box-shadow: 0px 0px 0px 2px rgba(0, 0, 0, 0.2);
		background-color: #fff;
		border-radius: 5px;
		position: absolute;
		display: inline-block;
		cursor: pointer;
		width: 30px;height: 30px;
	}

.icon_edit_tools_inside {
	border-radius: 5px;
	display: inline-block;
	cursor: pointer;
	width: 30px;
	margin-right: 5px;
}

.icon_edit_tools_inside_plus {
	display: inline-block;
	float: right;
	width: fit-content;
	padding: 5px;
	background-color: #fff;
	cursor: pointer;
	border: 1px solid #ccc;
	margin-left: 5px;
	background-color: #fff;
	line-height: 10px;
	margin-top: 4px;
}

.icon_edit_tools_inside_plus:hover {
	background-color: #ddd;
}



.icon_edit_tools_inside_plus_img {
	width: 26px;
	float: right;
	cursor: pointer;
	margin: 0 0 3px 5px;
	transition: all 0.2s ease;
}
	
.icon_edit_tools_inside_plus_img:hover {
	background-color: #fff;
	transform : scale(1.1);
}	


.boiteEdit {
	position: absolute;
	display: none;
	width: calc(100vw - 100px);max-width: max-content;min-width: 280px;
	top: 50px;
	
	right: calc(50vw - 5px);  
	
	background-color: rgb(255, 255, 255);
	padding: 10px;
	color: rgb(117, 117, 117);
	font-size: 1.2em;
	z-index: 10;
	box-shadow: rgb(85, 85, 85) 0px 0px 4px;
	border-radius: 4px;
	max-height: calc(100vh - 200px);
	overflow-y: auto;
	pointer-events: auto;
}

#boiteEditOutils, #boiteEditActions {
	position: absolute;
	display: none;
	top: 37px;
	color: rgb(117, 117, 117);
	font-size: 1.2em;
	z-index: 11;
	box-shadow: 0px 0px 0px 2px rgba(0, 0, 0, 0.2);
	background-color: #fff;
	border-radius: 5px;
	cursor: pointer;
	width: max-content;
}

#boiteEditOutils div, #boiteEditActions div {
	padding: 3px 6px 3px 2px;
	width: 100%;
}

#boiteEditOutils div:hover, #boiteEditActions div:hover {
	background-color: #eee;
}

#boiteEditOutilsPatch {
	display: block;
	width: 30px; height: 2px;background-color: #fff;
	position: absolute;
	top: -2px; right: 105px;
}

#boiteEditActionsPatch {
	display: block;
	width: 30px; height: 6px;background-color: #757575;
	position: absolute;
	top: -6px; right: 140px;
}

.boiteEditOpened > img {
	padding-bottom: 20px !important;
	height: 50px !important;
	
}

.boiteEditOpened > div {
	display: block !important;
	
}


/* ******************************* */

.button {
	display: inline-block;
	padding: 5px;
	cursor: pointer;
    background: #757575;
	border-radius: 5px;
	color: #fff;
	margin-right: 10px;
	border: 3px solid #f5f5f5;
	text-decoration: none;
}

.button img {
	width: 25px;
}

.button_disabled {
	display: inline-block;
	padding: 5px;
	cursor: pointer;
    background: #a5a5a5;
	border-radius: 5px;
	color: #fff;
	margin-right: 10px;
	border: 3px solid #f5f5f5;
	cursor: pointer;
}

.button_disabled img {
	width: 25px;
	filter: brightness(140%);
}



.coord {
	position: relative;
	bottom: -10px; left: -10px;
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #000;
	white-space: nowrap;
	background-color: #fff;
	opacity: 0.8; 
	padding: 1px 5px;
	margin: 0 1px;
}

.this_url {
	position: relative;
	bottom: -50px; left: -200px;
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #000;
	white-space: nowrap;
	background-color: #fff;
	opacity: 0.8; 
	padding: 1px 5px;
	margin: 0 1px;
}

#menu_edit {
	position: absolute;
	top: 0px;
	right: 0px;
	z-index: 1;
}

.crosshair {
	cursor: crosshair;
}

.capture {
	width: 60px; height: 60px;float: left; margin: 0 5px 5px 0;
}

.capture_big {
	width: 120px; height: 120px;float: left; margin: -10px 5px 2px 0;
}

@keyframes blinker {
    0%, 50% { opacity: 1; }  /* 1s pleine opacité */
    75% { opacity: 0; }      /* 0.5s pour fade out */
    100% { opacity: 1; }     /* 0.5s pour fade in */
}

#coo_aut {
	position: absolute;
	position: fixed;
	bottom: 0;
	width: 100%;
	background-color: rgba(240,240,240,0.9);
	z-index: 10;
	display: none;
	letter-spacing: 0.1em;
	color: #555;
}

#coo_aut > img {
	float:right;
	width: 35px;
	cursor: pointer;
	padding: 10px;
}

#coo_aut > div {
	display: inline-block;
	cursor: pointer;
	padding: 10px;
}

.div_circle1 {
	width: 26px !important;
	height: 26px !important;
	margin-left: -13px !important;
	margin-top: -13px !important;
	padding-top: 4px !important;
	border-radius: 13px;
	border: 1px solid #0000dd;
	text-align: center;
	color: #0000dd;
	background-color: rgba(255,255,255,.85);
	font-size: 11px;
}

.div_circle2 {
	width: 30px !important;
	height: 30px !important;
	margin-left: -15px !important;
	margin-top: -15px !important;
	padding-top: 6px !important;
	border-radius: 15px;
	border: 1px solid #0000dd;
	text-align: center;
	color: #0000dd;
	background-color: rgba(255,255,255,.85);
	font-size: 11px;
}

.div_circle_big1 {
	width: 44px !important;
	height: 44px !important;
	margin-left: -22px !important;
	margin-top: -22px !important;
	padding-top: 9px !important;
	border-radius: 22px;
	border: 1px solid #0000dd;
	text-align: center;
	color: #0000dd;
	background-color: rgb(255,255,255);
	font-size: 16px;
	opacity: 0.6;
}

.div_circle_big2 {
	width: 50px !important;
	height: 50px !important;
	margin-left: -25px !important;
	margin-top: -25px !important;
	padding-top: 12px !important;
	border-radius: 25px;
	border: 1px solid #0000dd;
	text-align: center;
	color: #0000dd;
	background-color: rgb(255,255,255);
	font-size: 18px;
	opacity: 0.6;
}



 /* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.tag {
	margin-bottom: 30px;
	padding: 10px;
	display: none;
	border-left: 5px solid pink;
	
	user-select: none;          /* empêche la sélection de texte */
    -webkit-user-select: none;  /* variante spécifique Safari iOS */
    -webkit-touch-callout: none;/* empêche le menu contextuel iOS (copier/coller) */
}

.tag .item_tag {
	display: inline-block;
	padding: 5px; margin: 0 5px 5px 0;
	border: 1px dotted #999;
	background-color: #eee;
	border-radius: 5px;
	cursor: pointer;
	user-select: none;
}

.tag .item_tag:hover, .tag .tag_selected {
	background-color: #d5d5d5;
}

.tag .tag_selected {
	background-color: #d5d5d5;
    border: 3px solid #ff8484;
    padding: 3px;
    
}

.tag .tag_excluded {
	background-color: #d5d5d5;
    border: 3px solid #ff8484;
    padding: 3px;
    text-decoration: line-through;

}


/* DOUBLE SLIDER */
.range-slider {
	display: block;
    position: relative;
	top: 10px;
    width: 200px;
    height: 35px;
	margin-bottom: 10px;
	color: #555;
}

/* general + webkit appearance */
.range-slider input[type=range] {
	-webkit-appearance: none; 
	width: 170px; 
	pointer-events: none;
	background-color: rgba(0, 0, 255, 0);
    position: absolute;
	margin: 0;padding: 0;border: none;
}

/* webkit */
.range-slider input[type=range]::-webkit-slider-thumb {
	-webkit-appearance: none;
	z-index: 10;
    pointer-events: all;
    position: relative;
	top: -7px;
	border: 1px solid #969696;
	border-radius: 8px;
    height: 16px;
    width: 24px;
    background-color: #F0F0F0;
}

.range-slider input[type=range]::-webkit-slider-runnable-track {
	pointer-events: none;
	position: relative;
	top: 7px;
    height: 2px;
    background-color: #969696;
}

.range-slider input:last-of-type[type=range]::-webkit-slider-runnable-track {
    background-color: rgba(0, 0, 255, 0);
    border: 0;
}
	
.range-slider input[type=range]:focus {
    outline: none;
}

/* moz */
.range-slider input[type=range]::-moz-range-track {
	pointer-events: none;
    position: relative;
    z-index: -1;
    background-color: #969696;
	height: 2px;
    border: 0;
	}
.range-slider input[type=range]::-moz-range-thumb {
    pointer-events: all;
    position: relative;
    z-index: 10;
    width: 20px;
	}

.range-slider input:last-of-type[type=range]::-moz-range-track {
    background-color: rgba(0, 0, 255, 0);
    border: 0;
}

/* END DOUBLE SLIDER */

#timeSlider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border: none;
  outline: none;
  margin: 0;
  cursor: pointer;
}

/* WebKit (Chrome, Safari) */
#timeSlider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background: #555;      /* thumb gris foncé */
  border-radius: 50%;
  margin-top: -4px;      /* centrer sur la track */
  transition: background 0.2s;
}


#timeSlider::-webkit-slider-runnable-track {
  background-color: #ddd;
  height: 8px;
  border-radius: 4px;
}

/* Firefox */
#timeSlider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: #555;
  border-radius: 50%;
  border: none;
  transition: background 0.2s;
}

#timeSlider::-moz-range-track {
  background: #ddd;
  height: 8px;
  border-radius: 4px;
}

#timeSlider::-moz-range-progress {
  background-color: #555;
  height: 8px;
  border-radius: 4px;
}



.btnZone {
	background-color: #fff;
	padding: 4px 8px; margin: 3px 5px 0 0;
	border: 1px solid #ccc;
	cursor: pointer;
	display: inline-block;
}

.btnZone img {
	width: 20px;
	margin-right: 5px;
}

.menu_outils {
	position: relative;
}

.menu_outils:hover > span {
	display: block;
}

.menu_outils > span {
	position: absolute;
	display: none;
}

.menu_outils span a {
	white-space: nowrap;
	border: 1px solid #eee;
	border-top: none;
	padding: 0 15px;
	line-height: 60px;
	cursor: pointer;
	background-color: rgba(255,255,255,.95);
	text-decoration: none;
	letter-spacing: 0.04em;
	color: #333;
	display: list-item;
	list-style-type: none;
}

.menu_outils span a:hover {
	background-color: #F9F4F1;
}

/* Sous-menu « Créer une trace » : icône + titre + sous-ligne (sans toucher aux autres menus_outils).
   On garde la hauteur de 60px des options (comme Communauté) : l'icône et le texte s'empilent dedans. */
.sousmenu_creer a {
	display: flex !important;
	align-items: center;
	gap: 10px;
	height: 60px;
	box-sizing: border-box;
}
.sousmenu_creer .ic_creer {
	width: 22px;
	height: 22px;
	flex: 0 0 auto;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	opacity: 0.85;
}
/* Étincelles MagicGPX : formes pleines, pas en contour */
.sousmenu_creer .ic_magic {
	fill: currentColor;
	stroke: none;
}
.sousmenu_creer .tx_creer {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}
.sousmenu_creer .tx_creer strong {
	font-weight: normal;
	letter-spacing: 0.04em;
}
.sousmenu_creer .tx_creer small {
	font-size: 0.78em;
	color: #888;
	letter-spacing: 0;
	margin-top: 1px;
}
.sousmenu_creer a:hover .tx_creer small {
	color: #666;
}

.btnPlus {
	width: 18px !important;
	transform: rotate(180deg);
	transition : transform 250ms ease;
	cursor: pointer;
}

.btnPlusOpened {
	transform: rotate(360deg) !important;
}

.divPlus {
	max-height: 0;
	text-align: left;
	overflow: hidden;
	transition : max-height 300ms cubic-bezier(0, 0, 0, 1) 100ms;
}

.divPlus > div {
	background-color: #f8f9fa;
	padding: 10px;
}


.exportedTooltip {
	display: block;
	padding: 15px;
	background-color: #fff;
	border-radius: 10px;
	width: max-content !important;
	max-width: 200px;
	height: auto !important;
	z-index: 1000 !important;
	box-shadow: 0 0 15px #555;
}

/* popup marqueur (visu) et infobulle détachée (visu, editgpx) */
.wpt-popup h3,
.exportedTooltip h3 {
	font-size: 1.1em;
	letter-spacing: 0;
	margin: 0;
	padding: 0;
}

.leaflet-container .wpt-popup p { /* .leaflet-container : passe devant .leaflet-popup-content p */
	margin: 10px 0 0;
}

.exportedTooltipprint {
	display: block;
	padding: 15px;
	background-color: #fff;
	border-radius: 10px;
	width: max-content !important;
	max-width: 400px;
	height: auto !important;
	z-index: 1000 !important;
	box-shadow: 0 0 15px #555;
}

.exportedTooltipprint h3 {
	padding: 5px 2px;
	margin-bottom: 8px;
	white-space: nowrap;
	overflow: visible;
}



.exptImg {
	filter: grayscale(1);
	opacity: 0.5;
	position: absolute;
	top: 8px;
	display: inline-block;
	width: 9px;
	cursor: pointer;
	margin-left: 5px;
}

.itemsBibli a img {
	width: 40px;
	border-radius: 3px;
	margin: 3px;
	padding: 3px;
}

#poigneeCard {
	display: none;
	max-height: 0;
	max-width: calc(100vw - 20px);
	z-index: 2000;
	position: fixed;
	transition : max-height 500ms cubic-bezier(0, 0, 0, 1);
	bottom: -2px;left: 10px;
}

#poigneeCard > span:first-child {
	position: absolute;
	height: 50px;
	top: -50px;
	left: 20px;
	font-size: 30px;
	cursor: pointer;
	background-color: #fff;
	border-radius: 5px 5px 0 0;
	padding: 5px 20px 5px 20px;
	box-shadow: 0 -5px 5px -2px rgba(30,30,30,0.5);
}

#poigneeCard > span:first-child > span {
	font-size: 14px;line-height: 15px;
}

#poigneeCard:hover {
	max-height: 50vh;
}

.card {
	background-color: #fff;
	display: flex;
	flex-wrap: wrap;
	overflow-y: scroll;
}

.cardPin {
	border-top: 40px solid #fff;
	padding: 10px;
	overflow-y: scroll;
	box-shadow: 0 0 10px #333;
	max-height: 50vh;
	border-radius: 5px 5px 0 0;
}

.card > div {
	width: 250px;max-width: 500px;margin: 0 5px 5px 5px;padding: 5px;border: 2px solid; border-color: #ddd;flex-grow: 1;font-size: 0.9em;position: relative;cursor: pointer;
	transition : border-color 150ms ease;
}
.card > div:hover {
	border-color: #f00;
}

.niceInput {
	border: 0;
	border-bottom: 2px solid #ddd;
	padding-left: 0;
	transition : border-bottom 200ms ease;
}

.niceInput:focus {
	border-bottom: 2px solid #888;
	outline: none;
}

#ou {margin: 20px 0;width: calc(20vw + 150px);padding: 15px; border-radius: 30px; border: 1px solid #ddd; background-color: #f5f5f5; }
#ou:hover {border: 1px solid #888;}
#ou:focus {outline: none;border: 1px solid #888;}

#destinationListe {display: none;z-index: 3000;position: absolute;top: 55px;left: 50%; transform: translateX(-50%); box-shadow: 0 0 7px #aaa;padding-top: 25px;background-color:#fff;max-height: 400px;overflow-y: scroll;}
#destinationListe div {cursor: pointer;padding: 15px; border-top: 1px solid #ddd;}
#destinationListe div:hover {background-color:#eee;}

#criteres {
	display: inline-block; cursor: pointer; color: #555; font-size: 1.2em;
}

#chkChoices > div > div {
	color: #555;
	margin-top: 10px;
	width: 270px;
	cursor: pointer;
	display: inline-block;
}

.checked:after {
  content:"✓";
}

.vignetteCritere {
	cursor: pointer;
	display:inline-block;
	padding:3px;
	border-radius: 5px;
	margin-left: 5px;
	border: 1px dotted #ddd;
}

.TxtImpression {
	font-size: 2em;
	padding: 20px;
	box-shadow: rgb(85, 85, 85) 0px 0px 8px;
	border-radius: 10px;
	border: 0;
	background-color: #fff;
	text-align: left;
}

.GrapheImpression {
	padding: 20px;
	box-shadow: rgb(85, 85, 85) 0px 0px 8px;
	border-radius: 10px;
	border: 0;
	background-color: #fff;
	text-align: left;
}

pre {margin: 0; padding: 0;}


.resizable {
	resize: vertical;
}

.btn {
	border-radius: 3px;
	display: inline-block;
	cursor: pointer;
	padding: 5px;
	color: #fff;
	background-color: #555;
	border: none;
	margin: 5px;
}

.btn_white {
	border-radius: 3px;
	display: inline-block;
	cursor: pointer;
	padding: 5px;
	color: #555;
	background-color: #fff;
	border: none;
}

.bk {
  hyphens: auto;
  word-break: break-all;
}

.hidden {
	display: none;
}

.shimmer-placeholder {
	position: relative;
	background: linear-gradient(90deg, #eeeeee 25%, #dddddd 50%, #eeeeee 75%);
	background-size: 1000px 100%;
	animation: shimmer 1.5s infinite;
	border: 2px solid #eee;
	margin-bottom: 10px;
	height: 110px;
}

@keyframes shimmer {
	0% { background-position: -500px 0; }
	100% { background-position: 500px 0; }
}

/* petit placeholder de chargement discret pour une valeur inline (entete distance/denivele/duree) */
.hdr-loading {
	display: inline-block;
	width: 36px;
	height: .85em;
	vertical-align: middle;
	border-radius: 4px;
	background: linear-gradient(90deg, #eeeeee 25%, #dddddd 50%, #eeeeee 75%);
	background-size: 200px 100%;
	animation: shimmer 1.5s infinite;
}

/* entete distance/denivele/duree : icone + unite + valeur revelees ensemble, une fois pretes.
   Le chargement s'affiche sur la pilule hdr-stat entiere (pas sur un petit cadre interne isole) */
.hdr-stat-pending {
	position: relative;
	min-width: 60px;
	overflow: hidden;
}
.hdr-stat-pending > * {
	visibility: hidden !important;
}
.hdr-stat-pending::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(90deg, #eeeeee 25%, #dddddd 50%, #eeeeee 75%);
	background-size: 200px 100%;
	animation: shimmer 1.5s infinite;
}



/* Style modales alert confirm */
#log{white-space:pre-wrap;padding:1em}
.modal-bg{
  position:fixed;inset:0;display:flex;
  align-items:center;justify-content:center;
  background:rgba(0,0,0,.6);
  animation:fadeIn .15s ease;
  z-index:9999;
}
.modal-box{
  background:#1e1e1e;
  border-radius:8px;
  padding:1em 1.2em;
  max-width:80%;
  min-width:220px;
  box-shadow:0 4px 14px rgba(0,0,0,.4);
  color:#eee;
  animation:popIn .15s ease;
}
.modal-box input{
  width:100%;padding:.4em;
  margin-top:.6em;
  background:#2c2c2c;color:#eee;
  border:1px solid #444;border-radius:4px;
}
.modal-box div[role=buttons]{
  text-align:right;margin-top:.9em;
}
.modal-box button{
  border:none;border-radius:4px;
  padding:.4em .8em;
  background:#0078d7;color:#fff;
  cursor:pointer;
  transition:background .15s;
}
.modal-box button:hover{background:#0a84ff}
.modal-box button + button{
  background:#444;color:#ccc;margin-left:.5em;
}
.modal-box button + button:hover{
  background:#555;color:#fff;
}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@keyframes popIn{from{transform:scale(.9);opacity:0}to{transform:scale(1);opacity:1}}
@keyframes fadeOut{from{opacity:1}to{opacity:0}}


.scrollable::after {
  content: "";
  position: sticky;
  bottom: -10px;
  height: 70px;
  pointer-events: none;
  background: linear-gradient(to top, rgba(255,255,255,1), transparent);
  display: block;
  margin: -10px;
}

/* GROUPES DE TRACES */
.trace-group-header {
  user-select: none;
  transition: background-color 0.2s;
}
.trace-group-header:hover {
  background-color: #e8e8e8 !important;
}

.btnEye {
  transition: opacity 0.2s, transform 0.2s;
}
.btnEye:hover {
  opacity: 1 !important;
  transform: scale(1.1);
}

/* ===================================================================
   ENTETE VISU.PHP (au-dessus de la carte) : carte "vh2-card" avec
   auteur/titre/description/barre d'outils. cf. visu.php, section
   "resumé rando" (avant l'inclusion de la carte).
   =================================================================== */

#modifydiv.vh2-card{
	font-size:1.05em;
	background:#fff;
	border:1px solid #eaeaea;
	border-radius:10px 10px 5px 5px;
	padding:14px 16px 2px;
	margin:10px -1px 14px;
	box-shadow:0 1px 3px rgba(0,0,0,.06);
}

/* ---- ligne titre : badge activite + titre a gauche, auteur a droite.
   flex-wrap:nowrap volontaire : l'auteur reste toujours a droite, c'est
   le titre (flex/min-width:0) qui passe sur 2 lignes si la place manque,
   jamais l'auteur qui saute en dessous. ---- */
#modifydiv .vh2-headline{
	display:flex;
	align-items:flex-start;
	flex-wrap:nowrap;
	gap:16px;
}

#modifydiv .vh2-titlewrap{
	display:flex;
	gap:10px;
	flex:1 1 260px;
	min-width:0;
	order:1;
}

#modifydiv .vh2-activity-badge{
	flex:none;
	width:32px;
	height:32px;
	border-radius:50%;
	background:#2b2b2b;
	display:flex;
	align-items:center;
	justify-content:center;
}
#modifydiv .vh2-activity-badge img{
	width:22px !important;
	height:22px !important;
	margin:0 !important;
	filter:brightness(0.85) invert(1);
}

/* icone "trace pas encore enregistree" : affichee telle quelle, pas de cercle */
#modifydiv .vh2-valid-icon{
	flex:none;
	width:35px;
	height:35px;
	margin:0;
}

/* ---- auteur ---- */
#modifydiv .vh2-author{
	float:none;
	order:2;
	display:flex;
	align-items:center;
	margin:2px 0 0 auto;
	text-align:left;
	font-size:.85em;
	color:#777;
	flex:none;
}
#modifydiv .vh2-author a{
	display:flex;
	align-items:center;
	gap:6px;
	color:#777;
	text-decoration:none;
}
#modifydiv .vh2-author a:hover span.www2{text-decoration:underline;}
#modifydiv .vh2-author img{margin:0 !important;width:24px !important;}

/* ---- titre ---- */
#modifydiv h1.vh2-title{
	display:flex;
	align-items:center;
	flex-wrap:wrap;
	gap:6px;
	margin:0;
	font-weight:600;
	letter-spacing:.02em;
	color:#222;
	line-height:1.3;
	min-width:0;
}
#modifydiv h1.vh2-title a{color:#222;}
#modifydiv h1.vh2-title a:hover{text-decoration:underline;}
/* toutes les icones apres le titre (topo/etoiles/cadenas/collab/flux) : reduites */
#modifydiv h1.vh2-title img{width:16px !important;height:16px !important;margin-left:0 !important;}

/* ---- description ---- */
#modifydiv .vh2-desc{
	font-size:.95em;
	color:#444;
	line-height:1.5;
	margin:10px 0 12px;
}

/* ---- barre outils : DEUX groupes seulement (stats / actions), chacun
   son propre conteneur flex -> plus fiable qu'un `order` a plat sur une
   liste d'items heterogenes (chips qui wrappent + boutons). Regles NON
   scopees a #modifydiv : la page peut afficher cette barre hors de la
   carte (cas "trace pas encore enregistree"), elle doit donc rester
   stylee meme sans l'ancetre #modifydiv. ---- */
.vh2-toolbar{
	display:flex;
	flex-wrap:wrap;
	align-items:center;
	justify-content:space-between;
	gap:10px 16px;
	background:transparent;
	padding-top:10px;
	margin:2px 0 0;
	border-top:1px solid #f0f0f0;
	height:auto;
}

/* groupe stats (distance/denivele/duree) : garde les id/classes utilises
   par le JS (hdr_dist, hdr-loading, hdr-stat-pending...), on redessine
   seulement l'apparence -> !important necessaire pour passer devant le
   style inline existant genere par visu.php */
.vh2-stats{
	order:1;
	display:flex;
	flex-wrap:wrap;
	align-items:center;
	gap:8px;
}
.vh2-stats .hdr-stat{
	display:inline-flex !important;
	align-items:center;
	gap:6px;
	margin:0 !important;
	padding:5px 10px !important;
	background:#f6f8fa;
	border-radius:20px;
	font-size:.88em;
	color:#333;
}
.vh2-stats .hdr-stat img{width:16px !important;opacity:.7;}
.vh2-stats .hdr-stat.hdr-stat-pending{color:#999;}

/* groupe boutons + menu Actions, toujours ensemble a droite. flex-wrap:
   nowrap + margin-left:auto : ce groupe ne se disloque jamais et reste
   colle a droite, meme quand il passe seul sur sa propre ligne */
.vh2-toolbar-actions{
	order:2;
	display:flex;
	flex-wrap:nowrap;
	align-items:center;
	gap:8px;
	margin-left:auto;
}

/* boutons secondaires (3D / Enregistrer) : places AVANT (donc a gauche
   de) le bouton Actions dans le groupe de droite */
.vh2-btn{
	order:2;
	float:none;
	display:flex !important;
	align-items:center;
	justify-content:center;
	gap:6px;
	height:34px;
	padding:0 13px;
	background:#f0f2f5;
	color:#333 !important;
	border-radius:17px;
	text-decoration:none;
	white-space:nowrap;
	font-size:.88em;
	transition:background .15s;
}
.vh2-btn:hover{background:#e4e8ee;}
.vh2-btn-3d{font-weight:700;letter-spacing:.03em;}
.vh2-btn-3d svg{width:16px;height:16px;}
.vh2-btn-save{background:#e9f7ee;color:#1f8a4c !important;}
.vh2-btn-save:hover{background:#d9f0e2;}
.vh2-btn-save span{color:#1f8a4c !important;}
.vh2-btn img{width:15px;}
/* bouton 3D : uniquement quand le bouton Actions a la place d'afficher son
   libelle (cf. .www2, meme seuil) - sinon il surchargerait la barre en mobile */
@media screen and (max-width:768px){
	.vh2-btn-3d{display:none !important;}
}

/* groupe declencheur du menu Actions : toujours le plus a droite,
   dernier dans l'ordre de .vh2-toolbar-actions */
.vh2-actions{
	float:none;
	order:3;
	display:flex;
	align-items:center;
	position:relative;
}

.vh2-trigger{
	display:flex;
	align-items:center;
	gap:6px;
	height:34px;
	padding:0 13px;
	background:#2a72c0;
	color:#fff;
	border-radius:17px;
	cursor:pointer;
	white-space:nowrap;
	position:relative;
	float:none;
	font-size:.88em;
	transition:background .15s;
}
.vh2-trigger:hover{background:#235e9e;}
.vh2-trigger svg{color:#fff;}
.vh2-trigger span{color:#fff;}

/* menu deroulant : position absolute par rapport a .vh2-actions, doit
   pouvoir deborder de la carte -> aucun overflow:hidden sur les ancetres */
.vh2-menu{
	background:#fff !important;
	color:#333 !important;
	border-radius:10px;
	border:1px solid #e4e4e4;
	box-shadow:0 10px 30px rgba(0,0,0,.16);
	position:absolute;
	right:0;
	top:42px;
	z-index:1999;
	min-width:230px;
	overflow:hidden;
	padding:6px 0;
}
.vh2-menu a{
	display:flex !important;
	align-items:center;
	gap:10px;
	padding:9px 14px !important;
	color:#333 !important;
	background:transparent;
}
.vh2-menu a span{color:#333 !important;margin-left:0 !important;}
.vh2-menu svg{flex:none;}
/* suivi/cache.php et cache2.php font tourner cette icone (spinner de mise en
   cache) via .style.transform ; sur un <svg> inline le point d'origine de la
   rotation peut differer d'un <img>, on le fixe au centre explicitement */
#offline_img{transform-origin:center;}
/* #options_suivi a:hover{background:#606060} (regle ancien theme sombre, plus haut dans
   ce fichier) a une specificite (id) qui passe devant .vh2-menu a:hover (classes) : on la
   neutralise ici avec un selecteur au moins aussi specifique (id+classe) */
#options_suivi.vh2-menu a:hover,
#options_suivi.vh2-menu div:hover{
	background:#f4f6f9 !important;
}

@media (max-width:640px){
	#modifydiv.vh2-card{padding:12px 14px 2px;border-radius:0;margin:0 0 12px;}
	/* l'auteur reste a droite (voir .vh2-headline), le titre passe sur 2 lignes si besoin */
	#modifydiv .vh2-author{font-size:.8em;}
	.vh2-btn,.vh2-trigger{padding:0 10px;font-size:.84em;}
}

/* #profil2_host : cadre du graphe altimetrique (visu_uPlot.js, buildUI). */
#profil2_host{
	border:1px solid rgb(238, 238, 238);
	border-radius:3px 3px 10px 10px;
	padding:8px;
	margin:0 -1px 0 -1px;
}
