/* CSS Document */
/* for all devices */
*{
	margin: 0;
	padding: 0;
	list-style-type: none;
	box-sizing: border-box;
	text-decoration: none;
}
input, button{
    -webkit-appearance: none;
}
body{
    width: 100%;
    font-size: 16px;
    background-color: #3C3C3B;
    text-align: center;
    padding: 0 5%;
    font-family: verdana;
}
header{
    padding: 10px 0;
}
div.logo img{
    height: 150px;
    
}
h1{
    padding: 20px 0;
    color: #F39200;
}
input{
    height: 40px;
    border: 3px solid;
    border-color: #F39200;
    border-radius: 5px;
}
input.scanField{
    margin: auto;
}
.info{
    display: flex;
    flex-direction: column;
}
.info h1.error{
    color: red;
}
.info span{
    color: white;
    font-size: 2em;
    padding: 10px 0;
}
.info span em{
    color: #F39200;
}
.info span.name{
    font-size: 2.5em;
}



/*BAR PAGE*/
div.mainContainer, form{
    display: flex;
    width: 100%;
    height: calc(100vh - 190px);
}
div.barCounter{
    width: 70%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    
}
div.itemCounter{

   


    
    
}
div.itemButton{

    
}
div.itemButton button{
    text-decoration: none;
    font-size: 2em;
    background-color: rgb(186, 186, 186);
    height: 100px;
    width: 100px;
    border: solid;
    border-radius: 15px;
}
div.itemButton input{
    text-align: right;
    font-size: 2em;
    height: 125px;
    width: 175px;
    margin: auto;
    
}
div.itemButton input.redoutable{
    background-image:url('/img/Redoutable.png');
    background-repeat:no-repeat;
    background-size: contain;
    padding-left:20px;
}
div.itemButton input.jupiler{
    background-image:url('/img/Jupiler.png');
    background-repeat:no-repeat;
    background-size: contain;
    padding-left:20px;
}
div.itemButton input.fruitee{
    background-image:url('/img/Fruitee.png');
    background-repeat:no-repeat;
    background-size: contain;
    padding-left:20px;
}
div.itemButton input.vin{
    background-image:url('/img/Vin.png');
    background-repeat:no-repeat;
    background-size: contain;
    padding-left:20px;
}
div.itemButton input.pain{
    background-image:url('/img/Pain.png');
    background-repeat:no-repeat;
    background-size: contain;
    padding-left:20px;
}
div.itemButton input.chips{
    background-image:url('/img/Chips.png');
    background-repeat:no-repeat;
    background-size: contain;
    padding-left:20px;
}

div.actionButton{
    width: 30%;
    
    border-left: solid;
    border-color: #F39200 ;
}
div.infoSolde{
    
    display: flex;
    flex-direction: column ;
    
}
div.infoSolde span{
    font-size: 2em;
    display: block;
    color: #F39200;
    padding :0;
}
div.infoSolde input.barIndex{
    font-size: 2em;
    text-align: center;
    width: 130px;
    font-size: 1em;
    border: none;
    background: none;
    color:#F39200 ;
    height: auto;
    line-height: normal;
    padding: 10px 0;
}
div.infoSolde input.negative{
    color: red;
}
div.barButton, div.ipadButton{
    -webkit-appearance: none;
    display: flex;
    flex-direction: column ;
    width: 100%;
    align-items: center;
    
}
div.barButton a, input, div.infoCommande a, div.ipadButton a{
    color: black ;
    text-decoration: none;
    font-size: 2em;
    background-color: rgb(186, 186, 186);
    height: 85px;
    line-height: 85px;
    width: 250px;
    border: solid;
    border-radius: 15px;
    margin: 5px 0;
}
/* PAGE CONFIRMATION*/
div.confirmation{
    display: flex;
    padding: 100px 50px;
}
table.confirmationTable{
    width: 50%;
}
table.confirmationTable img{
    width: 100px;
}
table.confirmationTable tbody{
    font-size: 48px;
    color: orange;
}
div.infoCommande{
    display: flex;
    flex-direction: column;
    width: 50%;
    border-left: solid;
    border-color:#F39200;
    align-items: center;
    
}
div.infoCommande span{

    color: orange;
    font-size: 48px;
}

/* PAGE RECHARGE*/
span.success{
    display: block;
    position: fixed;
    color: green;
    font-size:48px;
    text-transform: uppercase;
    background-color: rgba(0, 0, 0, 0.87);
    padding: 20px;
    width: 100%;
    height: 100vh
    
    
    
}
div.recharge{
    display: flex;
    width: 100%;
    
}
div.clavier{
    width: 40%;
    
    
}
div.row{
    width: 100%;
    height: 100px;
    padding: 10px;
    
}
div.row button{
    text-decoration: none;
    font-size: 2em;
    background-color: rgb(186, 186, 186);
    height: 100%;
    width: 100px;
    border: solid;
    border-radius: 15px;
}
form.montant{
    width: 60%;
}
div.montant{
    width: 50%;
 
    display: flex;
    flex-direction: column ;

    
}
div.montant label{
    color :#F39200;
    font-size: 2em;
    padding: 50px;

}
div.montant input{
    text-align: center;
    font-size: 2em;
    height: 80px;
    width: 90%;

}
span.messageSolde{
    color: red;
    font-size: 36px;
}
div.rechargeButton{
    width: 50%;
}
/*PAGE TRAILER INFOS*/
div.mainContainer{
    display: flex;

}
div.infosBar, div.infosRace{
    width: 50%;
    display: flex;
    flex-direction: column;

    
}
div.infosBar h3, div.infosRace h3{
    color: white;
    background-color: rgba(255, 165, 0, 0.51);
    width: 30%;
    padding: 10px;
    font-size: 24px;
}
div.infosBar table, div.infosRace table{
    text-align: center;
    width: 90%;
    font-size: 22px;
    border: 1px solid orange;
    border-collapse: collapse;

}
div.infosBar table tr, div.infosRace table tr{
    
}
div.infosBar table th, div.infosRace table th{
    color: white;
    padding: 10px;
    border: 1px solid orange;
    border-collapse: collapse;
}
div.infosBar table td, div.infosRace table td{
    color: orange;
    padding: 10px;
    border: 1px solid orange;
    border-collapse: collapse;
}
div.start{
    font-size: 24px;
    color: orange;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
div.start button{
    -webkit-appearance: none;
    width: 150px;
    height: 50px;
    font-size: 25px;
    background-color: black;
}
div.start button a {
    color: orange;
}
/****************/
/*****RESULT*****/
/****************/
div.result{
    margin-top: 30px;
    background: white; 
}
div.result table{
    width: 100%;
    table-layout: fixed;

    border-collapse: collapse ;
}
div.result table caption{
    background: orange;
    color: white;
    font-size: 32px;

}
div.result table thead{
    color: orange;
    
    
}
div.result table th, td {
    border: 1px solid;
    padding: 5px;
    font-size: 14px;
    font-weight: bold ;

}
div.result table tbody tr:nth-child(even) {
    background: rgb(255, 221, 159);
}
div.result table tbody tr:nth-child(odd) {
    background: rgb(255, 243, 221);
}