html{
    height: 100%;
}

body {
    background-color: #202329;
    font-family: "Arial";
    height: 100%;
}

.page {
    display: flex;
    flex-direction: row;
    /* justify-content: space-evenly;
    align-items: stretch; */
    height: 100%;
}

.content {
    background-color: #5f6673;
    padding: 20px 15px;
    flex-basis: 10px;
    flex-grow: 1;
}
.sidebar {
    flex-basis: 400px;
    display: flex;
    flex-direction: column;
    /* color: #6d7072; */
    background: #fff;
    /* padding: 20px 30px; */
}
.sidebar_two {
    flex-basis: 300px;
    color: #ebeef3;
    background-color: #434750;
    /* padding: 20px 30px; */
}
#info {
    position: absolute;
    top: 0;
    left: 0;
    margin: 8px;
    font-size: 12;
    color: #ebeef3;
}


.th_hidden{
    display:none;
}

.bt_pannier{
    width: 100%;
    color: white;
    font-weight: bold;
    font-size: 2rem;
    text-decoration: none;
    text-transform: uppercase;
    /* padding: 40px 90px; */
    background-color: #7681b9;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    /* transition: transform 500ms $ease-in-out-back, background-position 800ms $ease-in-out-back, box-shadow 500ms linear; */
}

#panier{
    flex-basis: 400px;
    flex-grow: 1;
}

/* #Midnight Blue Flat Button
==================================================*/
.midnight-blue-flat-button {
    position: relative;
    vertical-align: top;
    width: 100%;
    height: 100px;
    padding: 0;
    font-size: 30px;
    color: white;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    background: #2c3e50;
    border: 0;
    border-bottom: 2px solid #22303f;
    cursor: pointer;
    -webkit-box-shadow: inset 0 -2px #22303f;
    box-shadow: inset 0 -2px #22303f;
}
.midnight-blue-flat-button:active {
    top: 1px;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}
/* #Turquoise Flat Button
==================================================*/
.turquoise-flat-button {
    position: relative;
    vertical-align: top;
    /* width: 100%; */
    /* height: 60px; */
    padding: 0;
    font-size: 22px;
    color: white;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    background: #1abc9c;
    border: 0;
    border-bottom: 2px solid #12ab8d;
    cursor: pointer;
    -webkit-box-shadow: inset 0 -2px #12ab8d;
    box-shadow: inset 0 -2px #12ab8d;
  }
  .turquoise-flat-button:active {
    top: 1px;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
  }


#btValPanier{
    flex-basis: 100px;
}

.bt50pPanier{
    width: 50%;
}
  

  /* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #434750;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}


/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 25px;
    background: #3498db;
    font-size: 25px;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    color: white;
}

.modal-body {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    padding: 2px 16px;
}

.modal-footer {
    padding: 25px;
    font-size: 22px;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    background: #e74c3c;
    color: white;
}
.modal-resend {
    padding: 25px;
    font-size: 22px;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    background: #ffa200;
    color: white;
}

.modal-change {
    padding: 25px;
    font-size: 22px;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    background: #ad0707;
    color: white;
}


.modal-footer-flex {
    display: flex;
    height: 78px;
}

.modal-header span{
    color: #C37A47;
}

.m-bt{
    margin: auto;
    height: 150px;
    width: 150px;
}


/** Liste des produits **/  
.item{
    position: relative;
    display: inline-block;
    font-family: "Open Sans";
    
    margin: 1px;
    width: 120px;
    height: 120px;

    color: white;
    background: white;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    border: 0;
    cursor: pointer;
}

.item:hover{
    bottom: 1px;
}

.item:active{
    top: 1px;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.item > p{
    color: black;
    margin: 0px;
}

.item > .id_item {
    font-size: 25px;
    margin-left: 5px;
    font-style: italic;
    display: none;
}

.item > .title_item {
    word-wrap: break-word;
    position: absolute;
    max-width: 110px;
    max-height: 70px;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 25px; 
}

.item > .title_item:first-letter {
    text-transform: uppercase;
    font-size: 55px;
}

.item > .price_item {
    position: absolute;
    right: 5px;
    top: 0px;  
    font-size: 25px;
    font-weight: bold;  
}

.item > .quantite_item {
    position: absolute;
    left: 0px;
    bottom: 0px;  
    font-size: 20px;
    font-weight: bold;
    width:120px;  
}
.item > .val_item {
    position: absolute;
    right: 0px;
    bottom: 0px;  
    font-size: 25px;
    font-weight: bold;
    width:35px;
    height: 35px;
    padding: 0px;

}


/** tableau **/

table{
    width: 100%;
    border-collapse:collapse;
    font-size: 20px;
    border-radius:10px;
}
th{
    background: #6c7ae0;
    font-weight: bold;
}
tr:nth-child(odd){
    background-color: #d9e1f2;
    height:50px;
}
tr:nth-child(even){
    background-color: #b4c6e7;
    height:50px;
}
td:nth-child(4){
    text-align: center;
}
tr:hover{
    background: #c0392b;
}

/** Historique **/
#listHistorique {
    font-size: 15px;
}
#listHistorique td{
    font-size: 15px;
    height: 30px;
}
/* Date */
#listHistorique td:nth-child(3){
    text-align: left;
}
/* prix */
#listHistorique td:nth-child(6){
    text-align: right;
    white-space: nowrap;
}


.tableauStat{
    table-layout: fixed;
}
.tableauStat td{
    text-align: center;
}
.tableauStat td:nth-child(1){
    text-align: left;
    word-wrap: break-word;
}

.tableauStat caption{
    background-color: antiquewhite;
}

.tableauStat tfoot tr{
    background-color: #6c7ae0;
    font-weight: bold; 
}



.logDigit{
    padding: 10px;
    border: 1px solid #ddd;
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 30px;
}

.login-content{
    background-color: #434750;
    width: 500px;
    position: relative;
    margin: auto;
}

.login-footer {
    font-size: 22px;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    background: #f39c12;
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.login-footer > input {
    padding: 25px;
    flex-grow: 1;
}

.login-option {
    margin: auto;
    height: 100px;
    width: 500px;
    font-size: 22px;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.login-option input {
    padding: 25px;
    flex-grow: 1;
}

.s100p{
    width: 100%;
}

#bar {
    width: 100%;
    height: 30px;
    background-color: #2ecc71;
    text-align: center;
    line-height: 30px;
    color: white;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 25px;
    padding-top: 25px; 
  }

.ico-pay{
    height: 100px;
    width: 100px;
}