/*  

TODO :
- optimiser responsive et dark/light
*/






/* 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: hotpink;
    /* --button-color: hotpink; */
    /* --button-hover-color: pink; */
    /* --button-border-color: black; */
}


/*
*/

html {
	background: #fff;
	}
	
	
body {
	background: #fff;
	font-family: "Trebuchet MS", sans-serif;
	color:#3d3d3d;
	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: 100%;
	border-radius: 10px;
	background: #ff5722;
	color:#fff;
	text-align:right;
	padding-bottom:20px;
	}	
	
#wrapperinstallation p {
	padding: 20px;
	margin:0;
	text-align:left;
	}
	
#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:#ff5722;
	font-size: 18px;
	line-height: 36px;
	margin-right: 20px;
	}
		
#contenuPrincipal{
	margin: 20px;
	}	

#bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    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: #ff5722;
	}


#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;
}

.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;
}