.container h3{
  font-size: 20px;
}

.red-icon {
  color: red;
}

.square-orange {
  color: #840404e8;
  font-size: 16px; /* Size of the icon */
}

.square-blue {
  color: #3574B2; /* Color of the icon */
  font-size: 20px; /* Size of the icon */
}

.rotated-square {
    display: inline-block;
    transform: rotate(45deg); /* Rotate the icon */
    margin: 10px; /* Spacing around the icon */
}

.container .custom-box {text-align-last:left;background-color: #ebd6d6;position:relative;width:100%;border: 35px solid #ebd6d6;border-top-width:0px;border-radius: 15px;padding: 5px;box-align:center;margin-left:5px; margin-right:5px;justify-content: flex-start;}

.flex-container {
    display: flex;
	flex-wrap: wrap;
	align-items: center;
    justify-content: center;
}

.image-container {
    position: relative;
    margin: 10px;
}

.image-container img {
    width: 300px;
    height: 300px;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
	flex-direction: column; /* Display title and text in a column */
    opacity: 1;
}

.overlay h3 {
    font-weight: bold;
    margin-bottom: 5px;
}

.overlay p {
    margin-left: 5px;
    margin-right: 5px;
}

.container .topBtn {
  display: none;
  position: fixed;
  top: 100px;
  right: -10px;
  width:120px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #840404e8;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 25px;
}

.container .topBtn:hover {
  background-color: #af2c2c;
}

.container .topBtnTop {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #840404e8;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
}

.container .topBtnTop:hover {
  background-color: #af2c2c;
}

.container .topBtnDevis {
  display: none;
  position: fixed;
  top: 230px;
  right: -10px;
  width:100px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #840404e8;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 25px;
}

.container .topBtnDevis:hover {
  background-color: #af2c2c;
}

/*.container #FormDevis {
    border: 1px solid #ccc;
    padding: 20px;
    background-color: #f9f9f9;
    position: fixed; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99;
}*/

.container #FormDevis .signup-form-small {
  flex: 1;
  border-radius: 10px;
  border: 1px solid #999;
  margin-top: 20px;
  margin-bottom: auto; 
  width:600px;
  /**/
  border: 1px solid #ccc;
  background-color: #a5a1a1f2;
  padding: 20px;
  position: fixed; 
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 99;
}

@media only screen and (max-width: 400px) {
    .container #FormDevis .signup-form-small {
  		max-width:265px;
	}
}

.container .form-body {
    padding:5px 10px;
}

.container .form-footer {
    display:flex;
    justify-content: center;
}

.container .flex-container {
  display: flex;
  flex-wrap: wrap; 
  background-color: none;
  align-items: center;
  justify-content: center;
}

.container #display {
  /*border: solid 1px #ccc;
  padding: 20px;*/
  min-height: 20vh;
  color: black;
  font-size: 16px;
  padding-left: 10px;
  padding-right: 10px;
  border: 1px solid #a5a1a1f2;
  border-radius: 4px;
  background: white;
  outline: none;
}

.container .row {
    display:flex;
    flex-direction:row;
    flex-wrap: wrap;
}

.container .input-group {
    flex:1;  
    display:flex;
    flex-direction:column; 
    margin: 10px 5px;
}

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 #a5a1a1f2;
  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 #a5a1a1f2;
  border-radius: 4px;
  background: white;
  outline: none;
}
.quant {
  width: 100px;
  margin-right: 10px;
}
textarea {
  resize: none;
  height:100px;
  /*width: 100%;*/
  font-size: 16px;
  padding-left: 10px;
  padding-right: 10px;
  color: #666;
  border: 1px solid #a5a1a1f2;
  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: #840404e8; /*#1BBA93*/
    font-size:16px;
    border:none;
    border-radius:20px;
    color:#FFF; /*#bcf5e7*/
    cursor:pointer;
    text-align:center;
    width: 300px;
    text-align-last: center;  /* !!! */
}

.form-btn:hover {
  background: #af2c2c;
  -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);
}

.closeform {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
    color: #888;
}

