html {
  height: 100%;
  /*position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);*/
}

body {
  height: 100%;
  /*position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%*/
	background-color:#ECFFFF;
	font-family: sans-serif;
	font-size: 1em;
	color: #2356ff;
  text-align: center;
  line-height: 1.15 !important;
}

::selection {
	color : #2356ff;
	background-color: #00CCFF;
}

::-moz-selection {
  color : #2356ff;
  background-color: #00CCFF;
}

.etape {
	font-weight: bold;
	font-size: 1.5em;
	color: #2356ff;
	display: block;
	width:100%;
	text-align:center;
	margin-bottom: 4px;
}

.divEtape {
 	border: 2px solid #00CCFF;
 	box-sizing: border-box;
	padding:12px;
	border-radius: 4px;
  width: fit-content;
  margin: auto;
}

.divEtape table {
  width: fit-content;
  margin: auto;
}

div.logo {
	visibility: hidden;
}

.messagePosition {
	text-align:center;
	margin-bottom:6px;
}

.titrePage {
	font-size: 1.2em;
	color:#0099FF;
}

.messageErreur {
	color: #FF0000;
	font-weight: bold;
	font-size: medium;
}

.messageInfo {
	color: #00CCFF;
	font-weight: bold;
	font-size: medium;
}

.messageNonAffiche {
	color: #0033FF;
	font-size: small;
}

.champ {
  padding:2px;
  border:1px solid #2356ff;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}

.champ:focus {
  border-color: #00CCFF;
}

.btn {
  padding:5px 15px;
  cursor:pointer;
  background:#2356ff;
  border:0 none;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  color: #FFFFFF;
}

.btn-secondary {
  background: #6c757d;
  border: 0 none;
  color: #FFFFFF;
}

.btn:active {
  background-color: #00CCFF;
}

.btnReset {
  padding:5px 15px;
  cursor:pointer;
  background:#c10000;
  border:0 none;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  color: #FFFFFF;
}

.btnReset:active {
  background-color: #ff0000;
}

.btnImportFichier {
  padding: 2px 2px;
  border:1px solid #2356ff;
  margin-bottom: 4px;
  cursor:pointer;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  color: #000000;
}

.btnImportFichier:focus {
  border-color: #00CCFF;
}

.listeSelection {
	padding:2px;
  border:1px solid #2356ff;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}

.listeSelection:focus {
  border-color: #00CCFF;
}

#texteQuestion {
	font-weight: bold;
	padding-top: 10px;
	color: #0099FF;
  text-align: right;
}

.texteImportant {
	font-weight: bold;
	color: #00CCFF;
}

.zoneDeTexte {
	padding:2px;
  border:1px solid #2356ff;
  -webkit-border-radius: 4px;
  border-radius: 4px;
	width: 380px;
	resize: none;
}

.zoneDeTexte:focus {
  border-color: #00CCFF;
}

.celluleTableau {
	padding-top: 10px;
	white-space: nowrap;
  text-align: left;
}

.info {
	font-size:small;
	font-style:italic;
	color:#2356ff;
}

.etoile {
	color:#2356ff;
	font-weight:bold;
}

.piedDePage {
	bottom: 0;
	text-align:center;
  margin: auto;
	margin-top:25px;
  max-width: 850px;
}

.lien {
	font-size:small;
	color:#2356ff;
}

.lien:visited {
	color:#2356ff;
}

.lien:active {
	color:#00CCFF;
}

.etape1 {
	font-size: small;
  max-width: 850px;
  text-align: left;
}

.txtInfo5 {
  display: inline;
  cursor: pointer;
}
.icInfo {
  width: 25px;
  cursor: pointer;
}

/*.modal-dialog{
	margin: auto;
  overflow-y: initial !important
}
.modal-body{
  max-height: 80vh;
  overflow-y: auto;
}*/
.vertical-alignment-helper {
  display:table;
  height: 100%;
  width: 100%;
  pointer-events:none;}
  
  .vertical-align-center {
  /* To center vertically */
  display: table-cell;
  vertical-align: middle;
  pointer-events:none;}
  
  .modal-content {
  /* Bootstrap sets the size of the modal in the modal-dialog class, we need to inherit it */
  width:inherit;
  max-width:inherit; /* For Bootstrap 4 - to avoid the modal window stretching 
  full width */
  height:inherit;
  /* To center horizontally */
  margin: 0 auto;
  pointer-events:all;}
.modal-backdrop {
  left: -50% !important;
  top: -50% !important;
  width: 1000vh;
  height: 1000vh;
}

.specimen-image {
  width: 70%;
  display: block;
  margin: auto;
}

/* Style pour la modal de Besançon */
.modalBesancon {
    display: none; 
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto;
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.4); 
    padding-top: 60px;
}

.modalBesancon-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
}

.closeModalBesancon {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.closeModalBesancon:hover,
.closeModalBesancon:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.button-container {
    text-align: center;
    margin-top: 20px;
}

.checkbox-container {
    margin-top: 10px;
}

/* CSS applique aux petits ecrans */
@media (max-width: 900px) {

  html {
    height: auto;
    position: absolute;
    top: 0; left: 0;
    transform: translate(0, 0);
  }

  body {
  	min-height: auto;
  }

  .messagePosition {
  	text-align:center;
  	margin-bottom:0px;
  }

  .divEtape {
   	border: 0px solid #00CCFF;
   	box-sizing: border-box;
  	padding:0px;
  	border-radius: 0px;
  }

  .formulaire {
    width: 100%;
    padding: 1px 0px 0px 0px;
  }

  .celluleTableau {
  	padding-top: 0px;
    display: block;
  	white-space: normal;
  }

  .formulaire .question {
    width: 100%;
    display: inline-block;
    margin: 0px 0px 0px 0px;
  }

  .formulaire label {
    width: 100%;
    font-weight: bold;
    float: none;
    padding-top: 8px;
    padding-right: 0px;
  }

  .formulaire .question > span {
    width: 100%;
    font-weight: bold;
    float: none;
    padding-top: 8px;
    padding-right: 5px;
  }

  #texteQuestion {
  	font-weight: bold;
  	padding-top: 0px;
    text-align: left;
  	color: #0099FF;
  }

  .info {
  	text-align: center;
    width: 100%;
  }

  .codeValidation {
    width: 100%;
  }

  .zoneDeTexte {
  	width: 100%;
  }

  .autresPieces input {
    display: block;
  }

  .listeDelais {
    text-align: left;
  }

	.modal {
		margin-right: 0 !important;
	}

}
