
/*******************************************************************************************/
/* codes pour les div's pour page convertkmtomifr et ne pas utiliser la balise html <table> */
/*******************************************************************************************/

#bar, #psi, #kpa {
	height: 32px;
	width: 100px;
	border: 2px solid #1746AC;
	font-size: 16px;
	padding: 5px;
	border-radius: 7px;
}

#bar:focus, #psi:focus, #kpa:focus {
	background-color: #E1F1F9;
	border: 2px solid #0020BE;
	box-shadow: 0px 0px 7px #0020BE;
}

/***************************************************/
/*     id's des balises pour sortie résultats      */
/***************************************************/

#bar1, #psi1, #kpa1, 
#bar2, #psi2, #kpa2	{	
	width: auto;
	height: auto;
	background-color: #F0F0F0;
	text-align: left;
	border: 2px solid #0066CC;
	font-size: 16px;
	word-break: break-word;
	word-wrap: break-word;
	color: #1746AC;
	padding: 0px 5px;
}

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

@media only screen and (max-width: 700px) {
	#bar1, #psi1, #kpa1,
	#bar2, #psi2, #kpa2 {
	font-size: 14px;
	margin-top: 2px;
	margin-bottom: 2px;
  }
}

/******************************************************************/
/* enlever la double flèche haut/bas pour introduire les chiffres */
/******************************************************************/

/* Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Firefox */
input[type=number] {
	-moz-appearance: textfield;
}

/********************************************************************/
/* codes pour les div's pour ne pas utiliser la balise html <table> */
/********************************************************************/

.contourtableau {
	float: right;
	width: 100%;
	border: 1px solid #0000FF;
	margin-bottom: 10px;
	padding: 1px 2px;
}

.separediv {
	float: left;
	width: 100%;
	margin-top: 0px;
	padding: 0px;
}

/********************************************************************/
/*     div pour introduction des chiffres dans l'input à gauche     */
/********************************************************************/

.divinput6c {
	float: left;
	display: flex;		  /* utiliser ensemble avec align-items pour centrer verticalement dans un div */
	align-items: center;  /* utiliser ensemble avec display: flex; pour centrer verticalement dans un div */
	border: solid 1px #001BD5;
	width: 49.7%;
	height: auto;
	margin-top: 1px;
	margin-bottom: 1px;
	padding: 10px;
	overflow: hidden;
}

/*********************************************************************************/
/*     div que contient les autres div's d'affichage du résultat des calculs     */
/*********************************************************************************/

.divdonnees4 {
	float: right; /*left;*/
	border: solid 1px #001BD5;
	width: 49.7%;
	height: auto;
	margin: 1px;
	padding: 7px 7px !important;
	word-break: break-word;
	word-wrap: break-word;
	overflow: visible;
}

/**********************************************************************************/
/*     les trois div's suivants sont pour l'affichage du résultat des calculs     */
/**********************************************************************************/

.divconvdira {
	float: left;
	position: relative;
	width: 100%;
	height: auto;
	margin-top: 6px;
	margin-bottom: 6px; 
	margin-left: 0px;
	margin-right: 0px;
	padding: 1px 2px;
	line-height: 1.7;
	word-break: break-word;
	word-wrap: break-word;
	color: #1746AC;
	background-color: transparent;
	border: 1px solid transparent !important;
}

.divconvdira span {
	display: block;
	width: 100%;
	word-break: break-word;
	overflow: visible;
	overflow-wrap: break-word;
	white-space: normal;
}

/********************************************************/
/*     code @media des div's pour les petits écrans     */
/********************************************************/

/*     div sortie résultats à droite     */
@media only screen and (max-width: 700px) {
	.divdonnees4 {
	max-width: 49.6%;
	height: auto;
	padding: 10px 2px 0px;
	margin-top: 1px;
	margin-bottom: 1px;
	word-break: break-word;
	word-wrap: break-word;
  }
}
  
/********************************************************************************************************/
/********************************************************************************************************/

@media only screen and (max-width: 700px) {
	.divconvdira {
	padding: 0px 2px;
	width: 99.9999%;
	margin-top: 4px;
	margin-bottom: 4px;
	word-break: break-word;
	word-wrap: break-word;
  }
}

@media only screen and (min-width: 701px) {
	.divconvdira {
	padding: 0px 2px;
	width: 99.9999%;
	margin-top: 6px;
	margin-bottom: 6px;
	word-break: break-word;
	word-wrap: break-word;
  }
}

/**********************************************/
/**********************************************/
#convertfdt {
	width: 80%;
	background: #ECECEC;
	margin-left: auto;
	margin-right: auto;
	margin-top: 30px;
	padding: 0px;
}

#convertfdt1 {
	width: 65%;
	background: #ECECEC;
	margin-left: auto;
	margin-right: auto;
	margin-top: 30px;
	padding: 0px;
}

#convertfdt2 {
	width: 50%;
	background: #ECECEC;
	margin-left: auto;
	margin-right: auto;
	margin-top: 30px;
	padding: 0px;
}

.separbox {
	float: left;
	width: 100%;
	height: 15px;
	margin-top: -9px;
	background-color:#D5D5D5;
}

@media only screen and (max-width: 600px) {
	#convertfdt {
	width: 69.9999%;
	margin-left: auto;
	margin-right: auto;
  }
}

@media only screen and (max-width: 600px) {
	#convertfdt1 {
	width: 69.9999%;
	margin-left: auto;
	margin-right: auto;
  }
}

@media only screen and (max-width: 600px) {
	#convertfdt2 {
	width: 69.9999%;
	margin-left: auto;
	margin-right: auto;
  }
}

.trait {
	float: left;
	width: 100%;
	height: auto;
	border: solid 1px #001BD5;
	margin-top: 2px;
	margin-bottom: 2px;
}


.titre1 {
	float: left;
	display: flex;		  		/* utiliser ensemble avec align-items et justify-content pour centrer verticalement et horizontalement dans un div */
	align-items: center;  		/* utiliser ensemble avec display: flex; pour centrer verticalement dans un div */
	justify-content: center;	/* utiliser ensemble avec display: flex; pour centrer horizontalement dans un div */
	border: solid 2px #001BD5;
	width: 49.6%;
	height: 26px;
	margin-top: auto;
	margin-bottom: auto;
	padding: 0px;
	text-align: center;
}

.titre6 {
	float: right;
	display: flex;		  		/* utiliser ensemble avec align-items et justify-content pour centrer verticalement et horizontalement dans un div */
	align-items: center;  		/* utiliser ensemble avec display: flex; pour centrer verticalement dans un div */
	justify-content: center;	/* utiliser ensemble avec display: flex; pour centrer horizontalement dans un div */
	border: solid 2px #001BD5;
	width: 49.6%;
	height: 26px;
	margin-left: 2px;
	padding: 0px;
	text-align: center;
}
/**/
@media only screen and (max-width: 700px) {
	.titre1 {
	font-size: 13px;
  }
}

@media only screen and (max-width: 700px) {
	.titre6 {
	font-size: 11px;
  }
}

.divconvert {
	position: relative;
	width: 500px;
	height: auto;
	margin-top: 30px;
	margin-left: 27.5%;
	margin-right: 27.5%;
	padding: 10px;
}

@media only screen and (max-width: 700px) {
	.divconvert  {
	width: 99.99999%;
	margin-top: 35px;
	margin-left: auto;
	margin-right: auto;
	padding: 0px;
  }
}

@media only screen and (min-width: 701px) {
	.divconvert  {
	width: 84.99999%;
	margin-top: 35px;
	margin-left: auto;
	margin-right: auto;
	padding: 0px;
  }
}

@media only screen and (min-width: 768px) {
	.divconvert  {
	width: 74.99999%;
	margin-top: 35px;
	margin-left: auto;
	margin-right: auto;
  }
}

@media only screen and (min-width: 992px) {
	.divconvert  {
	width: 59.99999%;
	margin-top: 35px;
	margin-left: auto;
	margin-right: auto;
  }
}

/************************************************************************************/
/*     class pour cacher texte pour tourner smartphone sur écrans taille normal     */
/************************************************************************************/

.cacherdiv {
	display: none;
}

@media only screen and (max-width: 700px) {
	.cacherdiv  {
	display: block;
  }
}
