*, *::after, *::before{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

body{
    background-color:#C5CBE3;
    font-family: 'Poppins', sans-serif;
}

table {
    border-collapse: collapse;
    border-radius: 10px;
}

td, th {
    border-bottom:1px solid #4056A1;
    border-left: #4056A1;
    border-right: #4056A1;
    padding: 8px;
}

th {
    font-weight: bold;
}

textarea {
    resize: none;
    width: 350px;
    height: 50px;
}

/* ********NAVIGATION******** */

nav {

    position: static;
    /* z-index: 12; */
    border-bottom: 1px solid #EBD10D;
    overflow: hidden;


    /* position: fixed; */
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 15%;
    max-height: 15%;
    width: 100%;
    background-color: #4056A1;
}

#nav-logo{
    height: 7%;
    width: 7%;
    display:inline;
    left: 5%;
}

.logo {
    color: #EBD10D;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 30px;
}

.nav-links{
    display: inline-flex;
    letter-spacing: 30px;
    justify-content: space-around;
    width: 40%;
}

.nav-links li{
    list-style: none;
}

.nav-links a{
    color: #EBD10D;
    text-decoration: none;
    letter-spacing: 3px;
    font-weight: bold;
    font-size: 14px;
    transition: font-size 0.5s;
}

.nav-links a:hover{
    color: #CDB609;
    font-size: 18px;
    transition: font-size 0.5s;
}

.burger div{
    display: none;
    width: 25px;
    height: 1px;
    background-color: #EBD10D;
    margin: 4px;
    margin-right: 18px;
}

#active-page {
    font-size: 18px;
    font-weight: bold;
    color: #CDB609;
}

/* **********WEEKLY TABLE********** */

.remaining-table{
    position:absolute;
    top: 18%;
    left:5%;
    width: 23%;
    background-color:#4056A1;
    color:#EBD10D;
    
}

#weekly-table-data{
    color: #4056A1;
    background-color: #EBD10D;
}

#weekly-table-data tr:hover{
    color: #4056A1;
    background-color: #CDB609;
}

.remaining-table .button{
    font-weight: bold;
    color:#EBD10D;
    width: 210px;
    max-width: 100%;
    border-radius: 10px;
    padding: 5px;
    margin: 3px;
    background-color:#4056A1;
    border:1px solid #EBD10D;
    cursor: pointer;
}

/* **********MODAL********** */

.modal{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: 200ms ease-in-out;
    border: 1px solid #4056A1;
    border-radius: 15px;
    z-index: 40;
    background-color:#EBD10D;
    width: 420px;
    max-width: 80%;
    color: #4056A1;
}

.modal.active{
    transform: translate(-50%, -50%) scale(1);
}

.modal-header{
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #4056A1;
}
.modal-header .title{
    font-size: 18px;
    font-weight: bold;
}

.modal-header .close-button{
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    font-size: 18px;
    font-weight: bold;
    color: #4056A1;
}

.modal-footer{
    padding: 10px 10px;
    padding-top: 0px;
    float: left;
}

.modal-footer .button{
    
    color: #4056A1;
    width: 150px;
    border-radius: 15px;
    padding: 5px;
    margin: 3px;
    background-color:#EBD10D;
    border:1px solid #4056A1;
}

.modal-body{
    padding: 10px 15px;
    font-size: 16px;
}

#overlay{
    position: fixed;
    opacity: 0;
    transition: 200ms ease-in-out;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .8);
    pointer-events: none;
    z-index: 15;
}

#overlay.active{
    opacity: 1;
    pointer-events: all;
}

/* **********OVERALL TABLE********** */

.overall-table{
    position:absolute;
    top: 18%;
    left:35%;
    width: 55%;
    color: #EBD10D;
    background-color:#4056A1;  
}

#overall-table-data{
    color: #4056A1;
    background-color: #EBD10D;
}

#overall-table-data tr:hover{
    color: #4056A1;
    background-color: #CDB609;
}


/* **********SUBMIT BETS FORM********** */

.wrapper{
    border-radius: 10px;
    position:absolute;
    top: 62%;
    left:5%;
    max-width: 23%;
    width: 100%;
    background: #4056A1;
    margin: 10px auto;
    padding: 10px;
    
}

.wrapper .title{
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color:#EBD10D;
}

.wrapper .form{
    width: 100%;
}

.wrapper .form .input_field{
    margin-bottom: 3px;
    height: 32px;
    display: flex;
    vertical-align: top;
}

.wrapper .form .input_field label{
    width: 200px;
    color: #EBD10D;
    margin-right: 10px;
    font-size: 16px;
}

.customer_select{
    width: 300px;
    background: #EBD10D;
    padding: 2px;
}
.wrapper .form .input_field .input{
    width:300px;
    background: #EBD10D;
    padding: 2px;
}

.wrapper .form .button{
    width: 211px;
    text-align: center;
    float: right;
    padding: 5px;
    margin: 3px;
    background-color:#EBD10D;
    border:0px;
    margin-left: 50px;
}

.upload{
    width: 400%;
    text-align: center;
    float: right;
    padding: 3px;
    margin: 1px;
    background-color:#EBD10D;
    margin-left: 14.5%;
    margin-right: 1%;
}

.dec-note{
    font-size: 8px;
    color: #EBD10D;
}

.error{
    height: 30px;
    width: 360px;
    text-align: center;
    float: right;
    padding: 5px;
    margin: 3px;
    color:#EBD10D;
    border:0px;
    margin-left: 50px;
}

/* **********OUTSTANDING BETS TABLE********** */

[data-tab-content], [data-name-content], [data-table-content] {
    display: none;
}

.active[data-tab-content], .active[data-name-content], .active[data-table-content] {
    display:block;
}

.tabs {
    display:grid;
    justify-content: space-around;
    list-style-type: none;
    border-bottom: 100px solid #EBD10D;
}

.tab {
    cursor: pointer;
    padding: 10px;
    width: 34%;
    font-size: 18px;
    background-color:#4056A1;
    color: #EBD10D;
    text-align: center;
}

.tab.active {
    background-color: #EBD10D;
    color: #4056A1;
}

.tab:hover {
    background-color: #EBD10D;
    color: #4056A1;
}

.tab-content {
    margin-left: 0px;
    margin-right: 0px;
}

.tab-panel button{
    font-size: 14px;
}

.bets-table{
    width: 100%;
}

.bets-table th{
    color: #EBD10D;
    background-color: #4056A1;
    text-align: left;
}

.bets-table #bet-details-header{
    width: 50%
}

.bets-table #stake-header{
    width: 10%;
}

.bets-table #returns-header{
    width: 10%;
}

.bets-table #won-header{
    width: 10%;
}

.bets-table #lost-header{
    width: 10%;
}

.bets-table #undo-header{
    width: 10%;
}

.won-button, .lost-button, .cancel-button {
    display: inline;
    border: none;
    padding: 2px 30px;
    outline: 1px solid #4056A1;
    margin:auto;
    
    width: 100px;
}

.won-button {
    background-color: #006d09;
    color: #EBD10D;
}

.lost-button {
    background-color: #740000;
    color: #EBD10D;
}

.cancel-button {
    background-color: #EBD10D;
    color: #4056A1;
}

.bet-image{
    height: 40%;
    width: 15%;
    cursor: pointer;
}

/* **********BIGGEST WIN TABLE********** */

.biggest-bet-table {
    
    position:absolute;
    top: 63%;
    left:35%;
    width: 25%;
}

.biggest-bet-table .top-header{
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background-color: #4056A1;
    color: #EBD10D;
    text-align: left;
}

.biggest-bet-table .header{
    background-color: #4056A1;
    color: #EBD10D;
    width: 33%;
}

.biggest-bet-table .value{
    width: 50%;
    color: #4056A1;
    background-color: #EBD10D;
}

.biggest-bet-table .value:hover{
    background-color: #CDB609;
}

/* **********BIGGEST LOSS TABLE********** */

.biggest-loss-table {
    
    position:absolute;
    top: 63%;
    right:10%;
    width: 27%;
}

.biggest-loss-table .top-header{
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background-color: #4056A1;
    color: #EBD10D;
    text-align: left;
}

.biggest-loss-table .header{
    background-color: #4056A1;
    color: #EBD10D;
    width: 33%;
}

.biggest-loss-table .value{
    width: 50%;
    color: #4056A1;
    background-color: #EBD10D;
}

.biggest-loss-table .value:hover{
    background-color: #CDB609;
}



/* DELETE WHEN RESET NO LONGER REQUIRED */
#reset-button{

width: 20%;
text-align: center;
padding: 8px;
margin: 5px;
background-color:#EBD10D;
border: 0px;
color: #4056A1;
margin-left: 35%;
margin-top: 47%;
}

/* PREVIOUS BETS COLLAPSE BAR */
/* Style the button that is used to open and close the collapsible content */
.collapsible {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .collapsible:hover {
  background-color: #ccc;
}

/* Style the collapsible content. Note: hidden by default */
.content {
  padding: 0 18px;
  display: none;
  overflow: hidden;
  background-color: #f1f1f1;
}

/* Historic Bets Tables */
/* **********OVERALL TABLE********** */

.historic-table{
    position:absolute;
    top: 18%;
    left:35%;
    width: 55%;
    color: #EBD10D;
    background-color:#4056A1;  
}

.historic-table-data{
    color: #4056A1;
    background-color: #EBD10D;
}

.historic-table-data tr:hover{
    color: #4056A1;
    background-color: #CDB609;
}







/* MOBILE */

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

/* ********NAVIGATION******** */

body, html{
    overflow-x: hidden;
}

table {
    border-radius: 0px;
    border-collapse: collapse;
}

td, th {
    padding: 6px;
}

/* MOBILE NAVIGATION BAR */

nav {
    position: static;
    z-index: 12;
    border-bottom: 1px solid #EBD10D;
    overflow: hidden;
}

#nav-logo{
    height: 60px;
    width: 60px;
    display:inline;
    padding: 5px;
}

.logo {
    color: #EBD10D;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 16px;
}

.nav-links{
    position: absolute;
    right: 0px;
    height: 100%;
    top: 60px;
    background-color: #4056A1;
    display: none;
    flex-direction: column;
    align-items:flex-start;
    padding-left: 10px;
    width: 50%;
    transform:translateX(100%);
    transition: transform 0.5s ease-in;
    justify-content:flex-start;
}

.nav-links a{
    top: 2px;
    font-size: 10px;
}

.nav-links li{
    opacity: 0 ;
}

.nav-links ul{
    display: flex;
}


.burger div{ 
    display:block;
    cursor: pointer;
}

#active-page {
    top: 2px;
    font-size: 14px;
    font-weight: bold;
    color: #CDB609;
}

/* **********WEEKLY TABLE********** */

.remaining-table{
    position: static;
    width: 100%;
    font-size: 12px;
}

.remaining-table .button{
    font-size: 12px;
    width: 100px;
    max-width: 55%;
}

.remaining-table #new-week-row td {
    border-bottom: 1px solid #EBD10D;
}

/* **********MODAL********** */

.modal{
    border-radius: 10px;
}

.modal-header{
    padding: 8px 10px;
}

.modal-header .title{
    font-size: 12px;
}

.modal-header .close-button{
    font-size: 12px;
}

.modal-footer{
    padding: 8px 10px;
    left: 2px;
    float: left;
}

.modal-footer .button{
    width: 125px;
    border-radius: 10px;
    padding: 3px;
    margin: 2px;
    font-size: 12px;
    border: 1px solid #4056A1
}

.modal-body{
    padding: 8px 10px;
    font-size: 12px;
}

/* BLOCK UNDEEDED TABLES ON MOBILE */
.biggest-bet-table, .biggest-loss-table{
    display: none;
}

/* **********SUBMIT BETS FORM********** */

.wrapper{
    position: static;
    width: 100%;
    max-width: 100%;
    border-radius: 0px;
    padding: 10px;
    margin: 0px;
}

.wrapper .title{
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 10px;
    color:#EBD10D;
}

.wrapper .form{
    width: 100%;
}

.wrapper .form .input_field{
    margin-bottom: 3px;
    height: auto;
    display: flex;
    vertical-align: top;
}

.wrapper .form .input_field label{
    width: 30%;
    color: #EBD10D;
    margin-right: 0px;
    font-size: 12px;
}

.customer_select{
    width: 70%;
    height: auto;
    background: #EBD10D;
    padding: 5px;
    font-size: 12px;
    color: #4056A1;
}
.wrapper .form .input_field .input{
    width: 70%;
    height: auto;
    background: #EBD10D;
    padding: 5px;
    font-size: 12px;
    color: #4056A1;
}

.wrapper .form .button{
    float:none;
    width: 99%;
    padding: 10px;
    margin: 2px;
    font-size: 12px;
    height: auto;
    color: #4056A1;
}

.upload{
    width: 70%;
    height: auto;
    padding: 5px;
    margin: 2px;
    background-color:#EBD10D;
    color: #4056A1;
}

.dec-note{
    font-size: 8px;
}

.error{
height: auto;
background: #4056A1;
width: 100%;
text-align: center;
vertical-align: middle;
padding: 0px;
margin: 0px;
color:red;
border:0px;
margin-left: 0px;
font-size: 12px;
margin-bottom: 0px;
}

/* **********OVERALL TABLE********** */

.overall-table{
    position: static;
    top: auto;
    left:0%;
    right: 0%;
    width: 100%;
    font-size: 12px;
}

#overall-table-data{
    color: #4056A1;
    background-color: #EBD10D;
}

#overall-table-data tr:hover{
    color: #4056A1;
    background-color: #CDB609;
}

/* **********OUTSTANDING BETS TABLE********** */

.tab-panel button{
    font-size: 10px;
}

.bets-table{
    font-size: 10px;
}

.won-button, .lost-button, .cancel-button {
    padding: 1px 10px;
    outline: 1px solid #4056A1;
    margin:auto;
    width: 50px;
    height: 35px;
    margin: 1px;
}

.bet-image{
    height: 80px;
    width: 30px;
    cursor: pointer;
}

/* DELETE WHEN RESET NO LONGER REQUIRED */
#reset-button{
    width: 90%;
    text-align: center;
    font-size: 12px;
    padding: 8px;
    margin: 5px;
    background-color:#EBD10D;
    border: 0px;
    color: #4056A1;
    margin-left: 5%;
    margin-top: 255%;
    }
}

.nav-active{
    transform: translateX(0%);
    display: flex;
}

@keyframes navLinkFade{
    from{
        opacity: 0;
        transform: translateX(50px);
    }
    to{
        opacity: 1;
        transform: translateX(0px);
    }
}

.toggle .line2, .toggle .line3{
    opacity: 0;
}

/* NEW TABLES */

[data-tab-content], [data-name-content], [data-table-content] {
    display: none;
}

.active[data-tab-content], .active[data-name-content], .active[data-table-content] {
    display:block;
}

.tabs {
    display: flex;
    justify-content: space-around;
    list-style-type: none;
    border-bottom: 1px solid #EBD10D;
}

.tab {
    cursor: pointer;
    padding: 6px;
    width: 34%;
    background-color:#4056A1;
    color: #EBD10D;
    text-align: center;
    font-size: 14px;
}

.tab.active {
    background-color: #EBD10D;
    color: #4056A1;
}

.tab:hover {
    background-color: #EBD10D;
    color: #4056A1;
}

.tab-content {
    margin-left: 0px;
    margin-right: 0px;
}

/* HISTORIC TABLES */

#historic-bets-buttons {
    cursor: pointer;
    padding: 6px;
    background-color:#4056A1;
    color: #EBD10D;
    font-size: 14px;
    border-bottom: 1px solid #EBD10D;
}

.historic-table{
    position: static;
    top: auto;
    left:0%;
    right: 0%;
    width: 100%;
    font-size: 12px;
}

.historic-table-data{
    width: 100%;
    color: #4056A1;
    background-color: #EBD10D;
}

.historic-table-data tr:hover{
    color: #4056A1;
    background-color: #CDB609;
}

#charter-container{
    position: static;
    top: 0%;
    padding: 10%;
    background-color: #4056A1;
    font-size: 14px;
    color: #CDB609;
}
