
html,body {
  text-size-adjust: none;
  -webkit-text-size-adjust: none;
  -ms-text-size-adjust: none;
  -moz-text-size-adjust: none;
}

html {
    width: 100%;
    height: 100%;
}

body {
	background: rgba(100,100,100,1);
	background: url(../../images/texture-tissu.png);
	overflow: hidden; /* ce qui sort de l'écran n'est pas accessible (pas de scrollbar) */
	height: 100%;
}

@font-face {
	font-family: Arial;
}

label {
	font-family: Arial;
	color: lightblue;
}

label.bigblack {
	color: black;
	font-size: 20px;
	font-weight: bold;
}
.initcompteur {
  counter-reset: cpt;
}
.compteur {
  vertical-align: 250%;
} 
.compteur:before {
  counter-increment: cpt;
  content: counter(cpt) " ";
}

h1 {
	font-family: Arial;
	color: lightblue;
	text-shadow: 2px 2px 0 grey;
	font-size: 30px;
	margin-top: 0px;
}

p.titre {
	font-family: Arial;
	color: lightblue;
	text-shadow: 2px 2px 0 grey;
	font-size: 20px;
	margin-top: 0px;
}

p.cptcar {
	font-family: Arial;
	color: lightblue;
	font-size: 13px;
	margin-top: 0px;
	margin-right: 20px;
	float: right;
}

#menu {
	display: flex;
	position: absolute;
	top: 0;
	right: 0;
	height:40px;
	text-align: center;
}
#menuAvant{
	margin-top: 15px;
	width:100px;
	height:40px;
}
#menuMain{
	width: 200px;
	height: 30px;
	margin: 9px;
	z-index: 1;
}
#menuConnect{
	width: 200px;
	height: 30px;
}
#menuDisconnect{
	width: 200px;
	height: 30px;
	background-color: lightgrey;
	border-radius : 10px;
	border: 1px solid darkorange;
}
#menuConnect p{
	margin-top: 7px;
}
#menuDisconnect p{
	margin-top: 3px;
	margin-bottom: 10px;
}
#menuApres{
	margin-top: 15px;
	width: 100px;
	height: 40px;
}

div.popup {
	
	z-index: 100;
	
	background-color: rgba(50,50,50,1) ;
	background-clip: padding-box;
	display:inline-block;
	
	/* bordures */
	border-style: solid;
	border-width: thin;
	border-color: rgba(255,255,255,0.5);
	border-radius : 10px;
	
	/* marges */
	/*margin: 2.5vmin;*/
	padding: 3vh 1% 1% 1%;
	
	position: absolute;

    box-shadow: 6px 6px 0px rgba(0,50,50,0.3);

}

div.popupConnect {

    margin: auto;
    top: -200px;
    right: 0;
    bottom: 0;
    left: 0;
    width: 380px;
    height: 300px;
}

div.popupNewAccount {

	background-color: rgba(145,50,50,1) ;
	
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 380px;
    height: 300px;
	
	visibility: hidden;
	Opacity:0;
	
	/* Animation */
	transition: all .5s ;
	transform: scale(0.25);
}

div.popupNewAccount.zoom {
	
	visibility: visible;
	Opacity:1;
	
	/* Animation */
	/*transform: scale(1) translate(-40px,-130px);*/
	transform: scale(1);
}

div.popupChangePassword {

	background-color: rgba(145,50,50,1) ;
	
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 380px;
    height: 300px;
	
	visibility: hidden;
	Opacity:0;
	
	/* Animation */
	transition: all .5s ;
	transform: scale(0.25);
}

div.popupChangePassword.zoom {
	
	visibility: visible;
	Opacity:1;
	
	/* Animation */
	/*transform: scale(1) translate(110px,-85px);*/
	transform: scale(1);
}

div.popupActivateAccount {

	background-color: rgba(150,50,50,1) ;
	
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 380px;
    height: 300px;
}


/* Main */

div.main {
    width: 100%;
    height: calc(100% - 50px);
	display:inline-block;
}

div.cadre {
	position: relative;
	background-color: rgba(230,230,230,0.8) ;
	
	display:inline-block;
 	
    width: 40px;
    height: 100%;
	border-radius : 10px;
	/* Animation */
	transition: width .5s ;
	
	height:  calc(100% - 10px);
}
div.cadre.extend {
	width: calc(100% - 40px - 40px - 40px - 15px);
}
div.cadre.edit {
	position: absolute;
	background-color: rgba(230,230,230,1) ;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
}
div.cadre img.icone{
	margin: 5px;
}
img.imageWarning{
	position: relative;
	left: -14px;
	top: -7px;
	width: 25px;
	height: 25px;
}
div.cadre table {
	border-spacing:0;
}
div.cadre div.titre  {
	overflow: hidden; 
	white-space:nowrap;
}
div.cadre div.titre p {
	font-family: Arial;
	color: lightblue;
	text-shadow: 2px 2px 0 grey;
	font-size: 20px;
	margin-top: 10px;
}

div.cadre div.contenu{
	height:  calc(100dvh - 115px);
	overflow-x: hidden; 
	overflow-y: hidden; 
}
div.cadre.extend div.contenu{
}
div.cadre div.contenu td.largeur{
	width:  calc(100vw - 40px - 40px - 40px - 15px - 80px);
}

div.recherche{
	width:  calc(100% - 40px);
	height:  calc(100dvh - 155px);
	background-color: rgba(230,230,230,0.8) ;
	border-radius : 10px;
	border: 1px solid darkorange;
	padding: 10px;
	overflow-x: hidden; 
	overflow-y: auto; 
}


div.itemResultat{
	width:  calc(100% - 40px);
	height:  calc(100dvh - 155px);
	background-color: rgba(230,230,230,0.8) ;
	border-radius : 10px;
	border: 1px solid darkorange;
	padding: 10px;
	overflow-x: hidden; 
	overflow-y: auto; 
}

div.itemRecette{
	width:  calc(100% - 40px);
	height:  calc(100dvh - 155px);
	background-color: rgba(230,230,230,0.8) ;
	border-radius : 10px;
	border: 1px solid darkorange;
	padding: 10px;
	overflow-x: hidden; 
	overflow-y: auto; 
}

td {
	vertical-align: middle;
}
td p.labelRecherche  {
	font-family: Arial;
	color: orange;
	text-shadow: 1px 1px 0 grey;
	font-size: 20px;
	margin-top: 10px;
	margin-bottom: 5px;
}

td p.labelEditeur  {
	font-family: Arial;
	color: orange;
	text-shadow: 1px 1px 0 grey;
	font-size: 20px;
	margin-top: 5px;
	margin-bottom: 5px;
}
td p.labelEditeur.droite {
	margin-right: 10px;
	text-align: end;
}

td p.titreRecette  {
	font-family: Arial;
	color: orange;
	font-size: 20px;
	margin: 0 0 0 0;
	text-shadow: 1px 1px 0 grey;
}
td p.infosRecette {
	font-family: Arial;
	color: gray;
	font-size: 15px;
	margin: 0 0 0 0;
	text-shadow: none;
}
td p.infosRecette.right {
	display: flex;
    justify-content: flex-end; /*requiert style="display: flex;" aussi sur le parent dans le html (pb sur mobile)*/
	white-space: nowrap;
	overflow: hidden;
}
td p.infosPasAPasEntete {
	font-family: Arial;
	color: gray;
	font-size: 15px;
	margin: 0px 5px 0px 0px;
	text-shadow: none;
	text-align: left;
	vertical-align: top;
}
td p.infosPasAPas {
	font-family: Arial;
	color: gray;
	font-size: 25px;
	margin: 10px 15px 0px 15px;
	text-shadow: none;
	text-align: left;
	vertical-align: top;
}
p {
	font-family: Arial;
	color: darkgrey;
}

span.info {
	font-family: Arial;
	color: grey;
	font-size: 20px; 
} 

span.infoLight {
	font-family: Arial;
	color: lightgrey;
	font-size: 20px; 
} 

span.infoMini {
	font-family: Arial;
	color: white;
	font-size: 15px; 
} 

span.infoPlus {
	font-family: Arial;
	color: white;
	background-color: peru;
	border-radius: 3px;
	font-size: 20px; 
	margin: 3px;
	padding: 2px;
} 

span.infoPlus.right {
	float: right; 
}  
 
img.imageMiniatureRecette {
	width: 90px;
	height: 60px;
	object-fit: contain;
}
img.imageDetailRecette {
	width: 360px;
	height: 240px;
	object-fit: contain;
}

img.bouton {
	margin: 5px 10px 5px 10px !important;
	vertical-align:middle;
	width: 20px;
	height: 20px;
	object-fit: contain;
}

img.bigbouton {
	margin: 5px 20px 10px 0 !important;
	vertical-align:top;
	width: 40px;
	height: 40px;
	object-fit: contain;
}


table {
	border-spacing: 10px;
	table-layout: fixed;
    width: 100%;
}
table.resultat {
	table-layout: auto;
}
table.resultat td {
	vertical-align: top;
}

table.photo {
	border-spacing: 10px;
	table-layout: auto;
}

input {
	width: 80%;
	font-family: Arial;
	font-size: 15px;
	border: solid white;
	background-color : white;
}
input.saisie {
	font-family: Arial;
	font-size: 20px;
	border: solid white;
	background-color : lightgrey;
}
input.saisie:read-only {
	border: none;
	background-color : transparent;
}

textarea {
	width: 95%;
	resize: none;
}
textarea.saisie {
	font-family: Arial;
	font-size: 20px;
	border: solid white;
	background-color : lightgrey;
}



blockquote {
	padding: 5px;
	background: ghostwhite;
	border-radius: 5px;
	margin: 0;
	font-family: Arial;
	color: black;
	font-size: 14px;
	opacity: 0.5;
	position: relative;
	left: -5px;
}
select.saisie {
	font-family: Arial;
	font-size: 20px;
	border: solid white;
	background-color : lightgrey;
	width: 100%;
}

a { 
	font-family: Arial;
	color: grey;
	text-decoration: none;
	text-shadow: 1px 1px grey;
	
	transition: all 0.5s ease-in-out; /*défini une transition ... */
	transition-property: color, opacity; 

}

a.bouton { 
	font-family: Arial;
	/*color: rgba(180,50,0,1);*/
	color: darkorange;
	font-size: 20px;
	border: 3px solid rgba(200,100,100,0.5);
	border-radius: 5px;
	background-color : rgba(100,100,100,1);
	margin-top: 10px;
	margin-bottom: 10px;
	margin-right: 10px;
	padding-left: 10px;
	padding-right: 10px;
	display:inline-block;

}

a.bouton.go { 
	float: right;
}

a.boutonFermer { 
	position: absolute;
	top: 20px;
	right: 20px;
	font-size: 20px;
}

div.pasapas {
	height:  calc(100dvh - 205px);
	overflow-y: auto; 
}

div.pasapasIngredients {
	height:  calc(100dvh - 160px);
	overflow-y: auto; 
}
div.boutonBas{
	justify-content: space-between;
	display: flex;
}

div.boutonGauche{
	float: left;
}

div.boutonDroit{
	float: right;
}

div.boutonCentre{
	text-align:center;
}	

a.boutonEffacerMotCle { 
	margin-left: 10px;
	font-size: 17px;
	vertical-align: middle;
}

a:hover {
	color: darksalmon;
	cursor: pointer;
}
a:focus { 
	outline:none; /* pas de cadre pointillé*/
}
a.disabled {
	color: lightgrey;
	cursor: not-allowed;
}
 
 
/*** custom checkboxes ***/

div.pasapas div.checkboxType1 {
	position: absolute;
	left: 50%;
	bottom:40px;
}

div.checkboxType1 input[type=checkbox] + label {
	  display: block;
	  cursor: pointer;
	}

div.checkboxType1 input[type=checkbox] {
	  display: none;
	}

div.checkboxType1 input[type=checkbox] + label:before {
	  content: "\2714";
	  font-size: 15px;
	  border: 3px solid LightBlue;
	  border-radius: 5px;
	  display: inline-block;
	  width: 15px;
	  height: 15px;
	  margin-right: 10px;
	  padding-left: 5px;
	  padding-bottom: 5px;
	  /*vertical-align: bottom;*/
	  background-color: gray;
	  color: transparent;
	  transition: .2s;
	}

div.checkboxType1 input[type=checkbox] + label:active:before {
	  transform: scale(0);
	}

div.checkboxType1 input[type=checkbox]:checked + label:before {
	  background-color: MediumSeaGreen;
	  border-color: LightBlue;
	  color: #fff;
	}

div.checkboxType1 input[type=checkbox]:disabled + label:before {
	  transform: scale(1);
	  border-color: #aaa;
	}

div.checkboxType1 input[type=checkbox]:checked:disabled + label:before {
	  transform: scale(1);
	  background-color: #bfb;
	  border-color: #aaa;
	}

/* type 2 */

div.checkboxType2 input[type=checkbox] + label {
	font-family: Arial;
	font-size: 20px;
	border: 1px solid darkorange;
	border-radius: 10px;
	padding-left: 10px;
	padding-right: 10px;
	cursor: pointer;
	white-space:nowrap;
}

div.checkboxType2 input[type=checkbox] {
	visibility: hidden;
	width:0px;
	margin-right: -8px;
	margin-bottom: 10px;
}
	
div.checkboxType2 input[type=checkbox] + label {
	background-color: lightgrey;
	color: grey;
}

div.checkboxType2 input[type=checkbox]:checked + label {
	background-color: darkorange;
	color: white;
}

div.checkboxType2 input[type=checkbox]:disabled + label {
	background-color: lightgrey;
	color: darkgrey;
	border-color: lightgrey;
	cursor: default;
}

span.emoji {
	font-family: "Segoe UI Symbol","Noto Color Emoji";
	color: transparent;
	margin-right: 20px;
	font-size: 25px;
}
span.emoji.right {
	text-shadow: 1px 1px lightgrey;
	float: right;
}
span.emoji.lien {
	text-shadow: 1px 1px cyan, 0 0 20px grey, 0 0 5px grey;
}
span.emoji.favori {
	text-shadow: 1px 1px red, 0 0 20px grey, 0 0 5px grey;
}
span.emoji.auteur {
	text-shadow: 1px 1px green, 0 0 20px grey, 0 0 5px grey;
}
span.emoji.prive {
	text-shadow: 1px 1px blue, 0 0 20px grey, 0 0 5px grey ;
}
span.emoji.aumenu {
	text-shadow: 1px 1px yellow, 0 0 20px grey, 0 0 5px grey;
}
span.emoji.robot {
	text-shadow: 1px 1px #2196F3, 0 0 20px orange, 0 0 5px grey;
	font-size: 30px;
	float: left;
}
span.emoji.livre {
	text-shadow: 1px 1px black, 0 0 20px grey, 0 0 5px grey;
}
span.emoji.allume {
	text-shadow: 1px 1px yellow, 0 0 20px grey, 0 0 5px grey;
}
span.emoji.sonore {
	text-shadow: 1px 1px black, 0 0 20px grey, 0 0 5px grey;
}


/* zone chargement en cours...*/
#spinner {
	
	background-color: rgba(50,50,50,0.5);
	background-clip: padding-box;
	display:inline-block;
	background-image:url('../images/loading.gif');
	background-size: 100px;
	
	/* bordures */
	border-style: solid;
	border-width: thin;
	border-color: rgba(255,255,255,0.5);
	border-radius : 10px;
	
	position: absolute;
	
	/* centrage*/
	margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 100px;
	
	visibility: hidden;
	opacity: 0;
	z-index: 10;
}

#spinner.show {
	
	z-index: 600;
	
	visibility: visible;
	opacity: 1;
	transition: opacity 0.5s ease-in-out;
	transition-delay: 0.5s;
}


/* zone de notification*/
#notification {

  z-index: 500;
	
  position: fixed;
  bottom: 0;
  right: 0;
  width: 100%;
  
  z-index: 5;
}

/* notifications */
div.message{
	
	position: relative;

	opacity: 0.85;

	overflow: hidden;
	padding: 30px;
	
	margin: 20px;
	left:10%;
	width:60%;
	
	background-clip: padding-box;
	display:inline-block;
	
	/* bordures */
	border-style: solid;
	border-width: thin;
	border-color: rgba(255,255,255,0.5);
	border-radius : 10px;
	
    box-shadow: 6px 6px 0px rgba(0,50,50,0.3);
	
	z-index: 4;
	
}
div.message.niveau0{
	background: green;
}
div.message.niveau1{
	background: darkorange;
}
div.message.niveau2{
	background: orangered;
}
div.message.niveau3{
	background: red;
}
div.message span.msg{
	font-family: Arial;
	color: white;
	font-size: 20px; 
}
div.message a.btnFermerMsg{
	position: absolute;
	top: 10px;
	right: 10px;
	font-size: 20px;
}
div.message a.btnFermerMsg:hover{
	color: white;
}

div.minimessage{
	
	position: relative;
	left:0;
	opacity: 0.85;
	margin-bottom: 2px;
	overflow: hidden;
	padding-left: 10px;
}
div.minimessage span.msg{
	font-family: Arial;
	color: darkorange;
	margin-left: 5px;
	font-size: 30px;
}

#modal{
	display: none;
	position: absolute;
	z-index: 1;
	background-color: rgba(0,0,0,0.5);
	margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
	overflow:hidden;
	z-index: 6;
}
#modal div.confirmation{
	
	position: absolute;
	overflow: hidden;
	padding: 20px 20px 50px 20px;
	margin:5px;
	top:10%;
	left:30%;
	width:30%;
	min-width:225px;
	background-clip: padding-box;
	display:inline-block;
	background-color: grey;
	/* bordures */
	border-style: solid;
	border-width: thin;
	border-color: rgba(255,255,255,0.95);
	border-radius : 10px;
	
    box-shadow: 6px 6px 0px rgba(0,50,50,0.3);
	
	font-family: Arial;
	color: white;
	font-size: 20px;

}

#modal div.confirmation.large{
	left: 10%;
	width: 80%;
}

#modal div.confirmation.largeEtHaute{
	left: 10%;
	width: 80%;
	height: 70%;
}

#modal div.confirmation div.haute{
	height: 90%;
	overflow-y: auto;
}


#modal a.btnOuiConf{
	position: absolute;
	bottom: 10px;
	right: 120px;
	font-family: Arial;
	color: darkorange;
	font-size: 20px;
	border: 3px solid rgba(200,100,100,0.5);
	border-radius: 5px;
	background-color : rgba(100,100,100,1);
	text-align: center;
	padding-left: 10px;
	padding-right: 10px;
}
#modal a.btnOuiConf:hover{
	color: white;
}
#modal a.btnNonConf{
	position: absolute;
	bottom: 10px;
	right: 10px;
	font-family: Arial;
	color: darkorange;
	font-size: 20px;
	border: 3px solid rgba(200,100,100,0.5);
	border-radius: 5px;
	background-color : rgba(100,100,100,1);
	text-align: center;
	padding-left: 10px;
	padding-right: 10px;
}
#modal a.btnNonConf:hover{
	color: white;
}

#modal a.btnConfDroite{
	position: absolute;
	bottom: 10px;
	left: 10px;
	font-family: Arial;
	color: darkorange;
	font-size: 20px;
	border: 3px solid rgba(200,100,100,0.5);
	border-radius: 5px;
	background-color : rgba(100,100,100,1);
	text-align: center;
	padding-left: 10px;
	padding-right: 10px;
}
#modal a.btnConfDroite:hover{
	color: white;
}

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

/* onglets */

.menu1 { /* boite qui contient le menu (les onglets) */
	border-bottom: solid 2px darkgrey;
	padding-top: 12px; 
	padding-bottom: 6px;
}

.menuPasAPas { /* boite qui contient le menu (les onglets du mode pas à pas) */
	padding-top: 26px; 
}

.onglet { /* style des onglets inactifs */
	background-color: lightgrey; 
	border-radius: 8px 8px 1px 1px;
	margin: 5px 5px 0px 5px;
	padding: 7px 7px 7px 7px;
}

a.onglet { /* style des liens se trouvant dans un onglet inactif */
	color: white;
	text-decoration: none;
}

.onglet.actif { /* style de l'onglet de la page active */
	color: black;
	border: solid 2px darkgrey; 
	border-bottom: solid 2px rgb(230,230,230);
	margin: 5px 5px 0px 5px; 
	background-color: rgb(230,230,230);
}


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