.contain-add-sale{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #fffb;
    position: absolute;
    top: 0;
    transform: scale(0);
    transition: transform 1s ease;
}

.contain-add-sale-ext.active{
    transform: scale(1);
    transition: transform 1s ease;
}

.contain-add-sale-ext{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #fffb;
    position: absolute;
    top: 0;
    transform: scale(0);
    transition: transform 1s ease;
}

.contain-add-sale.active{
    transform: scale(1);
    transition: transform 1s ease;
}

.contain-form-add-sale{
    width: 900px;
    height: 100%;
    background: #fffb;
    transform: scale(.7);
    margin: 0 auto;
}

.contain-form-add-sale-row{
    width: 900px;
    background: #99bbe8;
}

.groupe-select{
    display: flex;
    justify-content: space-between;
   
}

.contain-form-add-sale
.groupe-select 
.groupe-select-1, 
.groupe-select-2, label{
    width: 90px;
    display: inline-block;
   padding: 7px;

}

.contain-form-add-sale .groupe-select-1 label{
    border: solid .8px rgba(193, 237, 245, 0.774);
    color: #fff;
    font-weight: bold;
}

.contain-form-add-sale .groupe-select-2 label{
    border: solid .8px rgba(193, 237, 245, 0.774);
    color: #fff;
    font-weight: bold;

}
.contain-form-add-sale .payement-1 label{
    color: #fff;
    font-weight: bold;
}

.contain-form-add-sale
.groupe-select-1, 
.groupe-select-2, 
select, input{

    flex: 1;
    outline: rgba(193, 237, 245, 0.774);

}

.contain-form-add-sale
.groupe-select-2
select, input{

    flex: 1;
    border: solid .8px rgba(193, 237, 245, 0.774);
    outline: rgba(193, 237, 245, 0.774);

}

.contain-form-add-sale
.groupe-select-1 
select, input{

    flex: 1;
    border: solid .8px rgba(193, 237, 245, 0.774);
    outline: rgba(193, 237, 245, 0.774);

}

.add-sale fieldset{
    border: solid .8px rgba(193, 237, 245, 0.774);
    padding: 10px;
}

.add-sale legend{
    color: #fff;
    padding: 0 5px;
    font-weight: bold;
}

.contain-form-add-sale
.groupe-select-1-row-1,
.groupe-select-1-row-2, 
.groupe-select-1-row-3,

.groupe-select-2-row-1, 
.groupe-select-2-row-2, 
.groupe-select-2-row-3 
{
    display: flex;
    justify-content: space-between;
    padding: 10px;
}

.contain-form-add-sale .groupe-select-3{
    padding: 10px;
}

.add-sale{
    padding: 20px;
    border: solid 1px rgba(193, 237, 245, 0.774);
}

.group-bottom-select{
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.select-payement{
    display: flex;
    align-items: center;
}

.payement-1{
    display: flex;
    align-items: center;
}

.contain-form-add-sale .btn{
    cursor: pointer;
    display: inline-block;
    padding: 10px;
    background: rgb(23, 127, 76);
    border-radius: 10px;
    color: #fff; 
    border: solid .8px rgba(193, 237, 245, 0.774);
    font-weight: bold;
}

.contain-form-add-sale thead tr th{
    width: 100px;
    padding: 5px 0;
    color: #fff;

}
.contain-form-add-sale thead tr th:nth-child(1){
    width: 150px;
}
.contain-form-add-sale thead tr th:nth-child(2){
    width: 50px;
}

.contain-form-add-sale thead tr th:nth-child(6){
    border-right: none;
}

.row-sale td{
    width: 100px;
    padding: 7px 0;
    border-right: solid .8px rgba(193, 237, 245, 0.774);
}

.row-ext td{
    width: 100px;
    padding: 7px 0;
    border-right: solid .8px rgba(193, 237, 245, 0.774);
}

.row-sale tr td:nth-child(1){
    width: 200px;
}

.row-ext tr td:nth-child(1){
    width: 200px;
}

.row-sale tr td:nth-child(2){
    width: 50px;
}

.row-ext tr td:nth-child(2){
    width: 50px;
}
.row-sale td:nth-child(7){
    text-align: right;
    width: 50px;
}
.row-ext td:nth-child(7){
    text-align: right;
    width: 50px;
}

.contain-form-add-sale thead{
    border: solid 1px rgba(193, 237, 245, 0.774);
}

.contain-form-add-sale thead tr{
    padding-right: 7px;
    display: flex;
    justify-content: space-between;
    border: solid 1px rgba(193, 237, 245, 0.774);
    text-align: left;
}
.contain-form-add-sale tbody tr{
    display: flex;
    justify-content: space-between;
    border: solid 1px rgba(193, 237, 245, 0.774);
}

.contain-form-add-sale table{
    width: 100%;
}

.contain-form-add-sale tbody tr:nth-child(even){
    background: #ddd;
}


.row-sale input{
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
}

.row-ext input{
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
}

.row-sale{
    background: #f1f1f1;
}
.row-ext{
    background: #f1f1f1;
}
.row-sale td span{
    background: #dc3545;
    padding: 5px;
    color: #fff;
    cursor: pointer;
}
.row-ext td span{
    background: #dc3545;
    padding: 5px;
    color: #fff;
    cursor: pointer;
}
.form-contain-article{
    width: 100%;
    height: 200px;
    overflow-y: scroll;
    overflow-x: hidden;
    scrollbar-width: thin;

}

.contain-form-article{
    background: #fff;
    border: solid 1px rgba(193, 237, 245, 0.774);
    position: relative;
    height: 250px;
    width: 100%;
    overflow-x: hidden;
}

.group-btn-form-sale{
    position: absolute;
    bottom: 0;
    left: 0;
    background: #99bbe8;
    padding: 10px 20px;
    width: 100%;
    border: solid 1px rgba(193, 237, 245, 0.774);
    
}

.input-sale span{
    display: inline-block;
    background: #000;
    width: 100px;
   padding: 10px;
   color:#fff;
}

.input-sale{
    display: none;
}

.td-hidden{
    display: none;
}

.add-sale-message-error.active{
    background: transparent;
    width: 100%;
    height:100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 100;
}
.add-sale-message-error{
    display: none;
}

.add-sale-sub-message-error-contain{
    max-width: 500px;
    width: 100%;
    background: #99bbe8;
    border: #fff solid 1px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    box-shadow: 10px 5x;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.hidde-add-sale-error-message{
    display: flex;
    align-items: center;
    justify-content: center;
    display: inline-block;
    padding: 10px;
    background: rgb(23, 127, 76);
    color: #fff;
    margin: 10px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
}

.grid-sale{
    position: relative;
}

.groupe-input-sum label{
    border: solid 0.8px rgba(193, 237, 245, 0.774);
    color: #fff;
    font-weight: bold;
    background: #99bbe8;
    width: 50px;
    align-items: center;
}
.groupe-input-sum{
    border: solid 0.8px rgba(193, 237, 245, 0.774);
    font-weight: bold;
    background: #f1f1f1;
    width: 200px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -50%;
    transform: translateY(50%);
    left: 47%;
}
.groupe-input-sum input{
    border: none;
    outline: none;
    width: 100%;
    padding: 10px;
    height: 30px;
    text-align: center;
    background: transparent;
}
.sub-group-btn-form-sale{
    position: relative;
    width: 100%;
    overflow: hidden;

}

.remove-xmark{
    color: #fff;
}

label.label-comptable-date-sale{
    width: 130px;
    background: #99bbe8;
    border: solid 0.8px rgba(193, 237, 245, 0.774);
    color: #fff;
    font-weight: bold;
}

.row-operation-sale{
    background: #fff;
    display: inline-block;
    margin: 10px;
}

input.comptable-date-sale-model{
    background: transparent;
    border: none;
    padding: 5px
}