* {
    margin:0;
    font-family: sans-serif;
}

html, body {
    height:100%; 
}

#textqinsert {
  font-weight:bold;
  color:red;
  font-size:25px;
  text-align:center;
}

.h1titleform {
  font-size:20px;
  text-align:center;
  margin:20% 0%;
  color:black;
  font-family:copperplate;
}

#registration-page {
    height:100%;
    background:white; /*#78a7ba*/
    display:flex;
    justify-content: center;
    align-items: center;
    overflow:scroll;
}

.signup-form {
  flex: 1;
  max-width: 800px;
  border-radius: 10px;
  background-color: rgba(229, 255, 251, 0.2); /*rgb(230, 230, 255,0.2)*/
  border: 1px solid #999;
  margin-top: auto;
  margin-bottom: auto;
}

.signup-form-small {
  flex: 1;
  border-radius: 10px;
  background-color: rgba(184, 228, 216, 0.2); /*rgb(230, 230, 255,0.2)*/
  border: 1px solid #999;
  margin-top: 20px;
  margin-bottom: auto; 
  max-width:600px;
}

@media only screen and (max-width: 400px) {
    .signup-form-small {
  		max-width:285px;
	}
}

.form-header {
    padding:15px 0;
    border-bottom:1px solid #cccccc;
}

.form-body {
    background:rgb(230, 230, 255,0.2);
    padding:5px 10px;
}

.form-footer {
    background:rgb(230, 230, 255,0.2);
    display:flex;
    justify-content: center;
}

.form-header h1 {
    font-size: 28px;
    text-align:center;
    color:#666;
}

.row {
    display:flex;
    flex-direction:row;
}

.input-group {
    flex:1;  
    display:flex;
    flex-direction:column; 
    margin: 10px 5px;
}

.input-group-big {
    flex:3;  
    display:flex;
    flex-direction:column; 
    margin: 10px 5px 5px 5px;
}

.input-group-small {
    flex:1;  
    /*max-width: 500px;*/
    /*max-width: 500px;*/
    display:flex;
    flex-direction:column; 
    /*margin: 10px 5px 5px 5px;*/
    margin-top:10px;
	margin-left:5px;
	margin-right:5px;
    margin-bottom:auto; /* pour que les deux column divs cote a cote n aient pas la meme taille (taille min pour chaque) */
}

.input-group-filter-big {
    flex:3;  
    display:flex;
    flex-direction:column; 
    margin: 10px 5px 5px 5px;
}

/*.input-group-filter-big {
    flex:1;  
    display:flex;
    flex-direction:column; 
    overflow-wrap: break-word;
    max-width:1000px;
}
*/
.input-group-text-big { 
    display:flex;
    flex-direction:column; 
    margin: 10px 5px 5px -200px;
    overflow-wrap: break-word;
    max-width:500px;
    overflow: auto;
}

@media only screen and (max-width: 1250px) {
    .input-group-text-big{
      max-width:400px; 
    }
}

@media only screen and (max-width: 1100px) {
    .input-group-text-big{
      max-width:300px; 
    }
}

@media only screen and (max-width: 1000px) {
    .input-group-text-big{
      max-width:250px; 
    }
}

@media only screen and (max-width: 950px) {
    .input-group-text-big{
      max-width:200px; 
    }
}

@media only screen and (max-width: 900px) {
    .input-group-text-big{
      max-width:500px; 
    }
}

@media only screen and (max-width: 875px) {
    .input-group-text-big{
      max-width:400px; 
	  margin: 10px 5px 5px 5px;
    }
}

@media only screen and (max-width: 775px) {
    .input-group-text-big{
      max-width:300px; 
	 margin: 10px 5px 5px 5px;
    }
}

@media only screen and (max-width: 680px) {
    .input-group-text-big{
      max-width:600px; 
	 margin: 10px 5px 5px 5px;
    }
}

.input-group-filter-small {
    width: 300px;
    /*flex:1;*/
    display:flex;
    flex-direction:column; 
    margin: 10px 5px 5px 5px;
    /*border-width: thin; 
    border-style: solid; 
    border-color: rgba(93, 101, 120, 0.87); 
    border-radius: 5px;*/
}

label {
    color:black; /*#1BBA93*/
    font-size: 15px;
    font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="file"],
input[type="number"] {
  font-size: 16px;
  height: 34px;
  padding-left: 10px;
  padding-right: 10px;
  color: #666;
  border: 1px solid #003366;
  border-radius: 4px;
  background: white;
  outline: none;
}
select {
  width: 100%;
  font-size: 16px;
  height: 34px;
  padding-left: 10px;
  padding-right: 10px;
  color: #666;
  border: 1px solid #003366;
  border-radius: 4px;
  background: white;
  outline: none;
}
textarea {
  resize: none;
  height:100px;
  /*width: 100%;*/
  font-size: 16px;
  padding-left: 10px;
  padding-right: 10px;
  color: #666;
  border: 1px solid #003366;
  border-radius: 4px;
  background: white;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  outline: 0;
  border: 1px solid #aaa;
}

::-webkit-input-placeholder {
  color: #888;
}

:-moz-placeholder {
  color: #888;
}

::-moz-placeholder {
  color: #888;
}

:-ms-input-placeholder {
  color: #888;
}

.radio-group, .checkbox-group {
  display:flex;
}

.radio-group div, .checkbox-group div {
  flex:1;
}

.radio-group label, .checkbox-group label  {
  color:black; /*#666*/
  cursor:pointer;
}

.range-group {
  display: flex;
}

.range-group input {
  flex: 1;
}

.range-group label {
  margin-left: 10px;
  background-color: #1BBA93;
  color: white;
  border-radius: 5px;
  padding: 5px;
  font-size: 17px;
  text-align: center;
}

.form-btn {
    padding:10px 20px;
    margin:10px;
    background-color: #146c6b; /*#1BBA93*/
    font-size:16px;
    border:none;
    border-radius:20px;
    color:#FFF; /*#bcf5e7*/
    cursor:pointer;
    text-align:center;
    width: 300px;
}

.form-btn:hover {
  background: #4c885a;
  -webkit-transition: background 0.3s ease-in-out;
  -moz-transition: background 0.3s ease-in-out;
  transition: background-color 0.3s ease-in-out;
}

.form-btn:active {
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

.form-btn-side {
    padding:10px 20px;
    margin:10px;
    background-color: #003366; /*#1BBA93*/
    font-size:16px;
    border:none;
    border-radius:20px;
    color:#FFF; /*#bcf5e7*/
    cursor:pointer;
    text-align:center;
    width: 150px;
}

.form-btn-side:hover {
  background: #22034b;
  -webkit-transition: background 0.3s ease-in-out;
  -moz-transition: background 0.3s ease-in-out;
  transition: background-color 0.3s ease-in-out;
}

.form-btn-side:active {
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}


@media only screen and (max-width: 680px) { /* 500px */
    .row{
      flex-direction:column; 
    }

    .form-btn {
        flex:1;
    }
  
    .form-btn-side {
        flex:1;
    }
  
    .input-group-big {
	    flex:1;
    }
  
    .input-group-filter-small {
	    width:auto;
	    flex:1;
	    /*border-style:none;*/
    }
}
