:root{
    --color-secondary : #b08e23;
}

#totalDevis {
    position: fixed;
    bottom: 5rem;
    right: 1rem;
    /* position: sticky!important;
    top:5rem;
    right:unset!important; */
    display: inline-block;
    background-image: linear-gradient(
        90deg,
        rgba(var(--color-secondary), 0.6) 0%,
        rgba(var(--color-secondary), 0.8) 70%
    );
    color: white;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    z-index: 5;
}

.error {
    background-color: red;
    padding: 10px;
    color: white;
    border-radius: 5px;
    font-weight: bold;
}

#mp-devis-form {
    user-select: none;
    input[type="checkbox"] {
        accent-color: var(--color-secondary); /* ta couleur (rouge par ex) */
      }
    h3{
        /* position: sticky;
        top:3.5rem; */
        display: flex;
        align-items: center;
        background-color: white;
    }
    .etape {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-shrink: 0;
        /* text-align: center; */
        line-height: 2rem;
        color: var(--color-secondary);
        border: 1px solid var(--color-secondary);
        border-radius: 100%;
        width: 2rem;
        height: 2rem;
        margin-right: 0.5rem;
        font-size: 0.8rem;
        font-weight: bold;
    }
    .mb20 {
        margin-bottom: 20px;
    }
    hr {
        display: block;
        margin: 50px 0;
        border: 0;
        border-top: 1px solid #eee;
    }
    .checkbox-grid{
        display: flex;
        flex-wrap: wrap;
    }
    .field {
        display: flex;
        align-items: center;
        flex-wrap: wrap;        
        margin-bottom: 15px;
        &.checkbox {
            display: flex;
            flex-wrap: wrap;
            div {
                display: flex;
            }
            label {
                flex: 1;
                color: #555;
                font-weight: normal;
                margin: 0 1rem 0 0.5rem;
                &:hover {
                    cursor: pointer;
                }
            }
        }
    }
    label {
        display: inline-block;
        max-width: 100%;
        margin-bottom: 5px;
        font-weight: 700;
        &::first-letter {
            text-transform: uppercase;
        }
        .required {
            color: #ee0000;
        }
    }
    input {
        width: 100%;
        padding: 6px 12px;
    }
    input,
    select,
    textarea {
        /* padding: 6px 12px; */
        border: 1px solid #ccc;
        border-left: 1px solid var(--color-secondary);
        border-radius: 5px;
        color: #555;
        &[type="checkbox"],
        &[type="radio"] {
            width: auto;
            margin-bottom: 0;
            padding: 0; /*Les checkboxes n'ont pas besoin de padding*/
            border-radius: 0; /*Enlever le border-radius pour les checkboxes*/
        }
        &::placeholder {
            font-size: 0.8rem;
        }
        &:focus {
            border-color: #b08e23;
        }
    }
    textarea {
        display: block;
        width: 100%;
        padding: 6px 12px;
        resize: none;
    }
    .radio {
        input {
            width: auto;
        }
    }



 /* center the blockquote in the page */
.blockquote-wrapper {
    /* display: flex; */
    /* height: 100vh; */
    /* padding: 0 20px;  */
    /* margin-bottom: 2rem; */
  }
  
  /* Blockquote main style */
  .blockquote {
    position: relative;
    /* font-family: "Barlow Condensed", sans-serif; */
    /* max-width: 620px;
    margin: 80px auto;
    align-self: center; */
  }
  
  /* Blockquote header */
  .blockquote .border {
    /* font-family: "Abril Fatface", cursive; */
    position: relative; /* for pseudos */
    color: var(--color-secondary);
    /* font-size: 2.8rem;
    font-weight: normal;
    line-height: 1; */
    /* margin: 0; */
    /* border: 2px solid #fff; */
    border: solid 2px;
    border-radius: 20px;
    padding: 25px;
    p, ul{
        margin-bottom: 0;
    }
  }
  
  /* Blockquote right double quotes */
  .blockquote .border:after {
    content: "";
    position: absolute;
    border: 2px solid var(--color-secondary);
    border-radius: 0 100% 0 0;
    width: 40px;
    height: 40px;
    bottom: -40px;
    left: 40px;
    border-bottom: none;
    border-left: none;
    /* z-index: 1; */
  }
  
  .blockquote .border:before {
    content: "";
    position: absolute;
    width: 80px;
    border: 6px solid white;
    bottom: -3px;
    left: 40px;
    /* z-index: 2; */
  }
  
 
  /* Blockquote subheader */
  .blockquote h4 {
    position: relative;
    /* color: #ffffff; */
    /* font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.2; */
    margin: 0;
    padding-top: 15px;
    z-index: 1;
    margin-left: 90px;
    padding-left: 12px;
  }
  
  .blockquote h4:first-letter {
    margin-left: -12px;
  }

@media screen and (min-width:640px) {
    .blockquote .border:after {
        width: 60px;
        height: 60px;
        bottom: -60px;
        left: 50px;
      }
    .blockquote .border:before {
        left: 50px;
      }
    .blockquote h4 {
        margin-left: 150px;
    }
}
  

}

#mp-devis-message a {

    display: inline-block;

}
