/*  

TODO :
- optimiser responsive et dark/light
*/



/*****************
 *   COULEURS    *
 *****************/
 
body {
    --couleur-blanc: 	#FFFFFF;
    --couleur-noir: 	#000000;
	
	/* Gold +24/-55/-2 */
    --couleur-1-dark: 	#AA944F;
    --couleur-1-medium: #bba972;
    --couleur-1-light: 	#d5caa7;
    
	/* Bleu  +25 - 25 */
	/* Bleu  foncé +1 +52 -45 */
	
	--couleur-2-dark: 	#1D4770;
	/* --couleur-2-dark: 	#5e82a2; */
    /* --couleur-2-medium: #6F6F6F; */
    --couleur-2-light: 	#afc1d1;
	
	/* Gris */
	--couleur-3-dark: 	#6B6A69;
    --couleur-3-medium: #908F8F;
    --couleur-3-light: 	#E9E9E9;
	
	--font-size-normal 16px; 

	}



/* It targets only the app used within the browser */
@media (display-mode: browser) {
}
/* It targets only the app used with a system icon in standalone mode */
@media (display-mode: standalone) {
}
/* It targets only the app used with a system icon in all mode */
@media (display-mode: standalone), (display-mode: fullscreen), (display-mode: minimal-ui) {
}


/*
Users expect apps to integrate with the platform, so consider offering dark and light modes using prefers-colors-scheme and honoring prefers-reduced-motion media queries to disable or reduce transitions and animations.
*/



/*
Content is generally selectable with a mouse or pointer, or a press and hold touch gesture. While helpful for content, it doesn't provide the best experience for navigation items, menus, and buttons within your PWA.
Therefore, it's a good idea to disable user selection on these elements using.
User selection is a vital feature of every web app for usability and accessibility. Do not disable user selection on all content, only on UI elements when not doing so creates a poor or unexpected experience.
*/

.unselectable {
   user-select: none;
}


/*
If you want an element, like dialogs or messages, to match the user's default platform font, 
*/

selector {
  font-family: -apple-system, BlinkMacSystemFont,
    "Segoe UI", system-ui, Roboto, Oxygen-Sans, Ubuntu, Cantarell,
    "Helvetica Neue", sans-serif;
}


:root {
	accent-color: #AA944F;
    /* --button-color: hotpink; */
    /* --button-hover-color: pink; */
    /* --button-border-color: black; */
}


/*
*/

html {
	background: #fff;
	}
	
	
body {
	background: var(--couleur-blanc);
	font-family: "Trebuchet MS", sans-serif;
	color:var(--couleur-noir);
	font-size: 18px;
	line-height: 36px;
    overscroll-behavior-y: contain; /* disable mobile pull to refresh */
	  padding: env(safe-area-inset-top, 20px) env(safe-area-inset-right, 20px) env(
		  safe-area-inset-bottom,
		  20px
		) env(safe-area-inset-left, 20px);
	
	}


/* button { */
    /* appearance: none; */
    /* border: 1px solid var(--button-border-color); */
    /* padding: .25rem 1rem; */
    /* background-color: var(--button-color); */
/* } */

/* button:hover { */
    /* --button-color: var(--button-hover-color); */
/* } */


	
#wrapperinstallation{
	display:none;
	width: 100vw;
	background: var(--couleur-1-medium);
	color:#fff;
	text-align:right;
	padding-bottom:20px;
	}	
	
#wrapperinstallation p {
	padding: 20px;
	margin:0;
	text-align:center;
	}
	
#wrapperinstallation #install_no {
	background: none;
	border:none;	
	padding: 0 20px 0 20px;
	color:#fff;
	opacity:0.75;
	font-size: 18px;
	line-height: 36px;
	margin-right: 20px;
	}
#wrapperinstallation #install_yes {
	border-radius: 18px;
	background: #fff;
	border:none;	
	padding: 0 20px 0 20px;
	color:#1D4770;
	font-size: 18px;
	line-height: 36px;
	margin-right: 20px;
	}
		
#contenuPrincipal{
	margin: 20px;
	}	

#bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--couleur-1-dark);
    display: flex;
    justify-content: space-around;
    align-items: center;
}

#bottom-nav a {
    text-decoration: none;
    color: #fff;
    padding: 10px 20px;
	cursor: pointer;
}

.active-button {
    /* background-color: var(--couleur-1-light); */
    color: var(--couleur-noir) !important;
	font-weight:bold;
	}


#tab-content {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.tab-pane {
    flex: 0 0 100%;
    scroll-snap-align: start;
    width: 100%;
	min-height: 100vh;
	text-align:center;
}

.titleBar {
    position: fixed;
    left: env(titlebar-area-x, 0);
    top: env(titlebar-area-y, 0);
    width: env(titlebar-area-width, 100%);
    height: env(titlebar-area-height, 40px);
    -webkit-app-region: drag;
    app-region: drag;
}


table#tableauBaremes {
    border-collapse: collapse;
    width: auto;
    max-width: 90vw;
	margin: 30px auto auto auto;
    text-align: center;
  }
  
table#tableauBaremes tbody{
	margin: auto;
	}
	
  
table#tableauBaremes tr th {
  color:var(--couleur-noir);
  }
  
table#tableauBaremes tr td {
	color:var(--couleur-noir);
    border: 1px solid #000;
    padding: 10px 5px 10px 5px;
  }
table#tableauBaremes tr:nth-child(even) {
    background: #ffffff;
  }
table#tableauBaremes tr:nth-child(odd) {
    background: #f4f4f4;
  }
table#tableauBaremes tr:first-child {
    background: none;
  }  
  
  
 #tab1 p {
	text-align: left; 
	padding-left: 5vw;
	}	 
  
	
input.montantEuros{
	text-align:center;
	font-size: 30px;
	width: 300px;
	max-width: 85vw;
	height: 50px;
	border: 2px solid var(--couleur-noir);
	background :  var(--couleur-2-light);
	border-radius: 5px;
	}	