#devis{
    background-color: rgba(0,0,0,0.65);
    display: -webkit-box;
display: flex;
    justify-content: center;
-webkit-box-pack: center;
    align-items: center;
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 1000000;
    font-family: "Montserrat";
}

input.no_adm{
    border: none!important;
    pointer-events: none;
}

#loading_gif {
    height: 40px;
    width: 100%;
    background-image: url(/media/img/loading.gif);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.price_editable{
    text-align: center;
}

#open-devis{
    cursor: pointer;
    margin-bottom: 15px;
    border: 0;
}

#devis p{
    margin: 0;
}

#content-devis{
    width: 65%;
    max-width: 1000px;
    background-color: white;
    position: relative;
}

#footer-devis{
    max-height: 200px;
    overflow: auto;
}

.uppercase{
    text-transform: uppercase;
}

.bold{
    font-weight: bold;
}

#header-devis{
    background-color: #1d1d1d;
    color: white;
    padding: 10px 20px;
}

#myModal-devis{
    z-index: 1000001;
    background-color: rgba(0,0,0,0.85);
}

#myModal-devis.show{
    display: flex!important;
    justify-content: center;
    align-items: center;
}

#desc-devis{
    line-height: 125%;
    font-weight: 300;
    color: white;
    font-size: 14px;
}

#desc-devis *{
    color: white;
    line-height: 125%;
}

#close-devis{
    position: absolute;
    left: 0px;
    top: 0px;
    cursor: pointer;
    z-index: 10;
}

#stocks{
    margin: 5px auto;
    max-width: 80%;
    display: -webkit-box;
display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.stock{
    color: white;
    padding: 0;
    margin: 0;
    font-size: 0.9em;
    width: 50%;
}

.orange{
    color: #e89655;
}

.green{
    color: #6BB253;
}

.title_pieces{
    color: black;
    padding: 15px 0px;
    text-align: center;
    width: 100%;
    background-color: #F5F5F5;
}

#qty-devis{
    padding: 20px;
    max-width: 80%;
    margin: 0px auto;
    display: -webkit-box;
display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

#qty-devis input{
    border: 1px solid #717171;
    color: black;
    padding: 8px 16px;
    min-width: 40%;
    margin: 20px 0px;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9em;
}

        #qty-devis {
            padding: 10px 0px;
            max-width: 100%;
            margin: 0px auto;
            display: flex;
            justify-content: center;
        }
        #qty-devis input {
            min-width: 75%;
            margin: 10px 0px;
        }

.red{
    color: red;
}

#qty-devis input::placeholder{
    color: #7a7a7a;
}

.title_categ_devis {
    font-size: 1.1em;
    /* text-transform: uppercase; */
    font-weight: 600;
    color: #4d504d;
}

#footer-devis{
    padding: 10px;
    background-color: #F5F5F5;
    display: -webkit-box;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.column_devis.detail:not(.title_table_devis){
    font-weight: 500;
    color: #474747;
}

.none{
    display: none!important;
}

#footer-devis .btn{
    background-color: #EA8739;
    border-radius: 0;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    color: white;
    font-size: 16px;
    padding: 6px 30px;
    -webkit-transition: all .2s ease-out;
    -moz-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    -ms-transition: all .2s ease-out;
    transition: all .2s ease-out;
}

#email-envoyer-devis, #btn-close-devis{
    background-color: #EA8739;
    border-radius: 0;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    color: white;
    font-size: 16px;
    padding: 6px 30px;
    -webkit-transition: all .2s ease-out;
    -moz-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    -ms-transition: all .2s ease-out;
    transition: all .2s ease-out;
    border:  0;
}

#form-devis .modal-footer{
    justify-content: space-around;
}

#btn-close-devis{
    margin-right: 15px;
}

#devis .btn:hover, #email-envoyer-devis:hover, #btn-close-devis:hover{
    background-color: black;
    color: white;
    border:  0;
}

#preview-devis{
position: absolute;
    top: 0px;
    right: 100%;
    margin-right: 10px;
    height: 100%;
    width: auto;
    display: -webkit-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.container_preview_devis{
    margin: 0px;
    margin-bottom: 10px;
    width: 125px;
    height: 75px;
    background-color: white;
    display: -webkit-box;
display: flex;
    justify-content: center;
-webkit-box-pack: center;
    align-items: center;
}

.container_preview_devis img{
    max-width: 100%;
    max-height: 100%;
}

#options-devis{
    width: 100%;
    padding: 0px 20px;
}

#container-opt-devis{
    width: 100%;
}

.row_devis{
    width: 100%;
    display: -webkit-box;
display: flex;
    border-bottom: 1px solid #F5F5F5;
   -webkit-transition: all .2s ease-out;
   -moz-transition: all .2s ease-out;
   -o-transition: all .2s ease-out;
   -ms-transition: all .2s ease-out;
   transition: all .2s ease-out;
}

.column_devis{
    width: 33.33%;
    text-align: center;
    padding: 10px;
    border-right: 1px solid #F5F5F5;
}

.container_row_categ{
    border: 1px solid #F5F5F5;
}

.column_devis:first-of-type, .column_devis:last-of-type{
    border-right: 0;
}

.title_table_devis{
    line-height: 130%;
    color: #444444;
}

.row_devis:last-of-type{
    border-bottom: 0;
}

.column_devis.checkbox{
    width: 50px;
}

#container-opt-devis{
    padding: 25px 0px;
}

.container_step{
    max-height: 45vh;
    overflow: auto;
}

#row-titles-devis{
    position: sticky;
    left: 0px;
    top: 0px;
    background-color: white;
}

.categ_devis{
    display: -webkit-box;
display: flex;
    justify-content: flex-start;
    align-items: center;
}

.picto_devis{
    width: 25px;
    height: 25px;
    display: -webkit-box;
display: flex;
    justify-content: center;
-webkit-box-pack: center;
    align-items: center;
    margin-right: 10px;
}

.picto_devis svg{
    max-width: 100%;
    max-height: 100%;
}

.picto_devis svg path{
    fill: #4d504d;
}

.column_devis:not(.title_table_devis):not(.checkbox), .column_devis input{
    cursor: pointer;
}

.row_devis:not(.title):hover{
    background-color: #f8f8f8;
}

.column_devis input{
    width: 15px;
    height: 15px;
    min-width: 15px;
    min-height: 15px;
    outline: none;
}

.categ_devis{
    margin: 30px 0px 15px 0px;
}



/* STEP 3 */


.row_prix_devis{
    line-height: 125%;
    font-size: 12px;
}

.column_prix_devis{
    text-align: center;
    padding: 10px;
    background-color: white;
}

.column_prix_devis{
    font-weight: 500;
}

.title_prix_devis .column_prix_devis{
    font-weight: bold;
    color: black;
}

.row_prix_devis .label{
    font-weight: bold;
    color: black;
    font-size: 12px;
}

#title-pdf{
    text-align: center;
    font-size: 18px;
    margin-bottom: 5px;
    line-height: 125%;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
}

#title-pdf.black{
    font-weight: 700;
    font-size: 1.8em;
    max-width: 75%;
    margin: 0px auto;
}

#logo-pdf-devis{
    height: 75px;
    position: absolute;
    left: 10px;
    top: 5px;
}

.marge_input{
    text-align: center;
}

.column_prix_devis{
    width: 150px;
    min-width: 150px;
    min-height: 30px;
}

.column_prix_devis.qty{
    width: 85px;
    min-width: 85px;   
}

#table-prix-devis{
    margin: 10px 25px;
    padding: 15px;
}

#table-prix-devis .label{
    text-align: left;
    width: 250px;
    min-width: 250px;
}

.line_prix_devis .smaller{
    font-size: 10px;
    font-weight: 400;
}

.column_prix_devis input{
    padding: 5px;
    max-width: 100%;
    border: 0;
    width: 75px;
    border-bottom: 1px solid black;
    background-color: transparent;
}

.back_grey{
    background-color: #F5F5F5;
}

#table-prix-unitaire .label, #table-prix-achat .label{
    background-color: #ea8738;
    color: white;
}

#reset-devis.none, #precedent-devis.none{
    display: flex!important;
    visibility: hidden;
}


#table-prix-unitaire .column_prix_devis, #table-prix-achat .column_prix_devis{
    font-weight: bold;
}

#table-prix-achat .label{
    border-top: 1Px solid white;
}

.title_prix_devis .column_prix_devis{
    text-transform: uppercase;
}

#table-prix-devis th:first-child{
    white-space: nowrap;
}

#indic-devis{
    font-size: 12px;
    color: black;
    padding: 10px;
    line-height: 130%;
    font-weight: bold;
}

.row_prix_devis.title_prix_devis{
    background-color: white;
    position: sticky;
    left: 0px;
    top: 0px;
}

#bottom-part-devis{
    position: static;
    bottom: 0px;
    left: 0px;
    background-color: white;
}



/* SIDEBAR */

#sidebar-devis{
    position: absolute;
    left: 100%;
    top: 0px;
    background-color: #F5F5F5;
    width: 200px;
    height: 100%;
    border-left: 1px solid #d7d7d7;
}

#limit-side-devis{
    height: 1px;
    width: 75%;
    border-top: 1px solid #4d504d;
    margin: 0px auto;
}

.sidebar_devis{
    height: 50%;
    display: -webkit-box;
display: flex;
    flex-direction: column;
    justify-content: center;
-webkit-box-pack: center;
    align-items: center;
    padding: 20px;
}

#devis .sidebar_devis .title{
    margin-bottom: 25px;
    color: #1d1d1d;
    line-height: 125%;
    text-align: center;
    font-weight: 700;
}

.sidebar_devis .btn{
    display: -webkit-box;
display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: #EA8739;
    border-radius: 0;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    color: white;
    font-size: 10px;
    padding: 6px 12px;
    -webkit-transition: all .2s ease-out;
    -moz-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    -ms-transition: all .2s ease-out;
    transition: all .2s ease-out;
    max-width: 100%;
    width: 100%;
}

.sidebar_devis .btn .material-icons{
    color: white;
    margin-right: 6px;
    font-size: 18px;
}

.sidebar_devis .btn:first-of-type{
margin-bottom: 15px;
}


#table-prix-devis{
    display: table;
}

.row_prix_devis{
    display: table-row;
}

.column_prix_devis{
    display: table-cell;
    vertical-align: middle;
}


#stocks{
-webkit-box-pack: center;
    display: -webkit-box;
display: -webkit-flex;
width: 100%;
flex-wrap: wrap;
}

#stocks .stock{
-webkit-box-pack: center;
    display: -webkit-box;
display: -webkit-flex;
max-width: 50%;
}

.stock .number{
    margin-left: 5px;
}


@media screen and (max-width: 1350px) {

#close-devis {
    position: absolute;
    right: 10px;
    top: 0px;
    cursor: pointer;
}

}

@media screen and (max-width: 1250px) {

#preview-devis{
    display: none;
}
#content-devis {
    width: 85%;
    max-width: 800px;
}

#desc-devis{
    font-size: 12px;
}

}

@media screen and (max-width: 1150px) {

#content-devis {
    max-width: 750px;
}

}

@media screen and (max-width: 1100px) {
#desc-devis{
    display: none;
}

#close-devis {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
}

#sidebar-devis {
    position: static;
    left: 100%;
    top: 0px;
    background-color: #F5F5F5;
    width: 200px;
    height: 100%;
    display: flex;
    border-left: none;
    width: 100%;
    justify-content: space-around;
    align-items: center;
    left: inherit;
    top: inherit;
    height: auto;
    border-top: 1px solid #d7d7d7;
}
.sidebar_devis{
    width: 40%;
        height: 100%;
}
#limit-side-devis{
    width: 1px;
    height: 75px;
    margin: 0px 5px;
    border-left: 1px solid #4d504d;
}

#content-devis{
max-height: 100%;
overflow: auto;

}

}

@media screen and (max-width: 767px) {

        #content-devis {
            max-width: 100%;
            max-height: 90%;
            overflow: auto;
        }

        #stocks{
            max-width: 95%;
            flex-direction: column;
        }

        #stocks .stock{
            width: 100%;
            font-size: 11px;
        }

        #sidebar-devis{
            flex-direction: column;
        }

        #limit-side-devis{
            display: none;
        }

        .sidebar_devis{
            width: 80%;
        }

        #reset-devis.none, #precedent-devis.none{
            display: none!important;
            visibility: visible;
        }


#ref-devis, #desc-devis {
    font-size: 12px;
    text-align: center;
}

#title-pdf.black {
    font-weight: 700;
    font-size: 1.3em;
    max-width: 90%;
    margin: 0px auto;
    margin-bottom: 10px;
}
.sidebar_devis .btn{
    justify-content: center;
}
#sidebar-devis {
    position: static;
    left: inherit;
    top: inherit;
    background-color: #F5F5F5;
    width: 100%;
    height: auto;
    border-left: none;
}
        #desc-devis{
            white-space: nowrap;
            text-overflow: ellipsis;
            max-width: 100%;
            overflow: hidden;
        }
.column_devis {
    width: 33.33%;
    text-align: center;
    padding: 4px;
    font-size: 10px;
    border-right: 1px solid #F5F5F5;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 130%;
}
.title_pieces {
    color: black;
    padding: 10px;
    line-height: 130%;
    text-align: center;
    width: 100%;
    background-color: #F5F5F5;
    font-size: 12px;
}

#table-prix-devis {
    margin: 10px 0px;
    padding: 0;
}
.title_table_devis {
    font-size: 9px;
}
#options-devis{
    padding: 0px 5px;
    }
#footer-devis .btn {
    font-size: 12px;
    padding: 6px 10px;
    width: 100%;
    margin-bottom: 10px;
}
#desc-devis{
    display: none;
}
#footer-devis {
    flex-direction: column;
}

}



