* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {

}
ul, ol, li {
    list-style: none;
}

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    transition: all .4s;
    border-radius: 5px;
}
a:hover {
    color: #EFEFEF;
    background-color: #7B41A4;
}
img {
    width: 100%;
}
body {
    font-family: 'Arvo', serif;
    font-size: 17px;
    line-height: 1.5;
    background-color: whitesmoke;
    margin: 0;
    overflow: hidden;
}

#masterhead .navi{
    margin: 2rem;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
}

#masterhead a{
    color: #EFEFEF;
    background-color: #be64f6;
    padding: 0.5rem;
}

#masterhead a:hover {
    background-color: #7B41A4;
}

.facture-iframe{
    width: 100%;
    height: 100vh;
    border: none;
    margin: 0;
}

.control-facture{
    height: 100vh;
    width: 380px;
    position: absolute;
    top: 0;
    left: -350px;
    transition: all 0.75s;
    overflow-y: auto;
}
.control-facture-open-close{
    height: 90px;
    width: 30px;
    position: absolute;
    left: 350px;
    top: 50%;
    transform: translateY(-50%);
    background-color: ghostwhite;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}
.control-facture .div-overflow{
    background-color: ghostwhite;
    width: 350px;
}
.control-facture::-webkit-scrollbar {
    display: none;
}
.control-facture-open-close:hover{
    cursor: pointer;
}
.control-facture-open-close i{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.div-client{
    margin-bottom: 55px;
}

h2{
    padding: 35px 15px 10px 15px;
}

input[type=checkbox]{
    margin: 10px 8px 10px 35px;
}

label{
    font-size: 18px;
}

.client-ajout{
    width: 95%;
    height: 150px;
    border: 1px black solid;
    border-radius: 15px;
    position: relative;
    margin: 0 auto 15px auto;
    padding: 12px 10px;
}
.client-ajout a{
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
}
.client-ajout span{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bolder;
    font-size: 35px;
}
.client-ajout a:hover{
    cursor: pointer;
}
.client-ajout-hover:hover{
    cursor: pointer;
}

#product-contnaire div{
    display: flex;
    width: 95%;
    border: 1px black solid;
    border-radius: 15px;
    padding: 5px 10px;
    margin: 0 auto 15px auto;
    position: relative;
}
#product-contnaire div input{
    width: 30px;
    border: 0;
}
#product-contnaire div span{
    margin-left: 15px;
}
#product-contnaire div a{
    position: absolute;
    right: 15px;
}
#product-contnaire div .prix-produit{
    position: absolute;
    right: 40px;
}
#product-contnaire div .nom-produit{
    width: 60%;
    padding-left: 15px;
}
#div-product-ajout{
    width: 95%;
    border: 1px black solid;
    border-radius: 15px;
    padding: 15px 10px;
    margin: 0 auto 15px auto;
    position: relative;
}
#div-product-ajout a{
    width: 100%;
    padding: 5px 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: black;
    font-size: 20px;
    font-weight: bolder;
    text-align: center;
}
#div-product-ajout:hover{
    cursor: pointer;
}

.lien-vers-deals div{
    width: 575px;
    border-radius: 15px;
    border: 2px solid black;
    padding: 8px 5px;
    text-align: center;
    margin: 15px auto;
    color: black;
    background-color: ghostwhite;
}

body{
    overflow: initial;
}

/* css table */
#document {
    margin: 5rem;
    display: flex;
    flex-flow: column wrap;
    gap: 2rem;
}

table.purpleTable {
    border: 1px solid #121212;
    background-color: #EEEEEE;
    width: 50%;
    text-align: left;
    border-collapse: collapse;
}
table.purpleTable td, table.purpleTable th {
    border: 1px solid #121212;
    padding: 3px 2px;
}
table.purpleTable tbody td {
    padding: 0.2rem;
    font-size: 13px;
    color: #121212;
}
table.purpleTable tr:nth-child(even) {
    background: #EFEFEF;
}
table.purpleTable td:nth-child(even) {
    background: #EFEFEF;
}
table.purpleTable thead {
    background: #B753F5;
    background: -moz-linear-gradient(top, #c97ef7 0%, #be64f6 66%, #B753F5 100%);
    background: -webkit-linear-gradient(top, #c97ef7 0%, #be64f6 66%, #B753F5 100%);
    background: linear-gradient(to bottom, #c97ef7 0%, #be64f6 66%, #B753F5 100%);
    border-bottom: 2px solid #7B41A4;
}
table.purpleTable thead th {
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    color: #FFFFFF;
    border-left: 2px solid #733580;
}
table.purpleTable thead th:first-child {
    border-left: none;
}

table.purpleTable tfoot {
    font-size: 11px;
    font-weight: bold;
    color: #FFFFFF;
    background: #B753F5;
    background: -moz-linear-gradient(top, #c97ef7 0%, #be64f6 66%, #B753F5 100%);
    background: -webkit-linear-gradient(top, #c97ef7 0%, #be64f6 66%, #B753F5 100%);
    background: linear-gradient(to bottom, #c97ef7 0%, #be64f6 66%, #B753F5 100%);
    border-top: 2px solid #733580;
}
table.purpleTable tfoot td {
    font-size: 11px;
}
table.purpleTable tfoot .links {
    text-align: right;
}
table.purpleTable tfoot .links a{
    display: inline-block;
    background: #7B41A4;
    color: #FFFFFF;
    padding: 2px 8px;
    border-radius: 5px;
}

#document a {
    color: #efefef;
    background-color: #be64f6;
    padding: 0.5rem;
    border-radius: 5px;
}

#document a:hover {
    background-color: #7B41A4;
}

/*formulaire adddoc.php*/
#form label {
    display: block;
}
#form input, textarea, select  {
    width: 100%;
    padding: 1rem;
    margin-bottom: .6rem;
    border-radius: 9px;
    border:none;
}
#form textarea {
    height: 120px;
    resize: vertical;
}


#form input[type=submit] {
    background-color: #be64f6;
    color: #EFEFEF;
    cursor: pointer;
    transition: all .4s;
}
#form input[type=submit]:hover  {
    background-color: #7B41A4 ;
    color: #EFEFEF;
}

#form {
    margin: 5rem;
    display: flex;
    justify-content: center;
}

#form .wrap{
    display: flex;
    flex-flow: column wrap;
    gap: 2rem;
}

#form .box{
    display: flex;
    flex-flow: column wrap;
}

