
.modal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 200; /* Sit on top */
	padding-top: 100px; /* Location of the box */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  /* Modal Content */
  .modal-content {
	background-color: #fefefe;
	margin: auto;
	padding: 20px;
	border: 1px solid #888;
	width: 80%;
	border-radius: 20px;
  }
  
  /* The Close Button */
  .close {
	color: #aaaaaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
	color: #000;
	text-decoration: none;
	cursor: pointer;
  }

  .modale-cross {
	cursor: pointer; 
	text-align: right; 
	display: flex; 
	flex-direction: column; 
	width: 100%; 
	font-size: 50px;
  }



/* for w3c templates */
html,body,h1,h2,h3,h4,h5,h6 {font-family: "Roboto", sans-serif;}
		.w3-sidebar {
			z-index: 3;
			width: 250px;
			top: 43px;
			bottom: 0;
			height: inherit;
}



@font-face {
	font-family: 'Material Icons';
	src: url("/src/styles/MaterialIcons-Regular.ttf") format("truetype");
}
.material-icons {
	font-family: 'Material Icons';
	font-weight: normal;
	font-style: normal;
	font-size: 24px;  /* Preferred icon size */
	display: inline-block;
	line-height: 1;
	text-transform: none;
	letter-spacing: normal;
	word-wrap: normal;
	white-space: nowrap;
	direction: ltr;

	/* Support for all WebKit browsers. */
	-webkit-font-smoothing: antialiased;
	/* Support for Safari and Chrome. */
	text-rendering: optimizeLegibility;

	/* Support for Firefox. */
	-moz-osx-font-smoothing: grayscale;

	/* Support for IE. */
	font-feature-settings: 'liga';
}

.w3-sidebar a {font-family: "Roboto", sans-serif}
body,h1,h2,h3,h4,h5,h6,.w3-wide {font-family: "Montserrat", sans-serif;}
/* div {margin-top: 5px; display: block;} */





/* snacks */
@keyframes rightFadeOut {
    0% {
        position: fixed;
        right: -3rem;
        opacity: 0;
    }

    /* 30% {
        position: fixed;
        top: 40px;
        opacity: 1;
    } */

    60% { /* 95*/
        position: fixed;
		opacity: 1;
		right: 20;
	}
	
	80% {
        position: fixed;
		opacity: 1;
		right: 20;
    }

    100% {
		position: fixed;
		right: 40;
        opacity: 0;
    }
}

.snack-ok {
	background: darkolivegreen;
	color: white;
	
	border-radius: 20px;
    
    position: fixed;
    padding: 15px 32px;

    top: 40px; 
    right: 40px;

    animation-name: rightFadeOut;
	animation-duration: 4s;
	
	z-index: 1000;
}

.snack-ko {
    background: firebrick;
	color: white;
	
	border-radius: 20px;
    
    position: fixed;
    padding: 15px 32px;

    top: 40px; 
    right: 40px;

    animation-name: rightFadeOut;
	animation-duration: 4s;
	
	z-index: 1000;
}



.confirm-box {
	display: flex;
	flex-direction: column;

	padding: 5px;

	background-color: black;
	color: white;
	border: 1px solid white;

	position: absolute;

	z-index: 2000;
}


.tip-box {
	display: flex;
	flex-direction: column;

	padding: 5px;

	background-color: #0099A9;
	color: white;
	border-radius: 20px;

	position: absolute;

	z-index: 2000;
}




/* src : https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_tooltip */

.tooltip {
	position: relative;
	display: inline-block;
	/* border-bottom: 1px dotted black; */


	-webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
  
.tooltip:active .tooltiptext {
	visibility: visible;
	opacity: 1;
}


.tooltip .tooltiptext {
	visibility: hidden;
	position: fixed; /* Stay in place */
	z-index: 200; /* Sit on top */
	padding-top: 100px; /* Location of the box */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0, 0.4); /* Fallback color */
  }


  .tooltip .tooltiptext::after {
	visibility: hidden;
	position: fixed; /* Stay in place */
	z-index: 200; /* Sit on top */
	padding-top: 100px; /* Location of the box */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0, 0.4); /* Fallback color */
  }

  .tooltiptext-content {
	background-color: #0099A9;
	color: white;
	margin: auto;
	padding: 20px;
	border: 1px solid white;
	width: 90%;
	border-radius: 20px;
	text-align: center;

	/* margin: 20px; */
  }

