#toast-container{
    position: fixed;
    bottom: 0;
    right:0;
    margin-bottom: 5px;
    z-index:9999;
}


.title-bar{
    display:flex;
    flex-direction:row; 
    justify-content:space-between;
}
.title-bar div{
        width:auto!important;
}
.title-bar .nav{
        background-color:#0103ac;
        color:white;
}
.title-bar a{
        background-color:#0103ac;
        color:white;
}

.title-bar a:visited{
        color:white;
}
.title-bar ul.dropdown-menu{
     background-color:#0103ac;
    color:white;
}
.confirmed .booking-status-solid{
    background-color:green!important;
}
.confirmed .booking-status-shaded{
    background-color:#00800030!important;
}
.depositrqd .booking-status-solid{
    background-color:#caca16!important;
    color:black;
}

.depositrqd .booking-status-shaded{
    background-color:#caca1630!important;
}
.cancelled .booking-status-solid{
    background-color:#d50e1c!important;
    color:white;
}

.cancelled .booking-status-shaded{
    background-color:#d50e1c30!important;
}

.booking-summary{
    background-color:#EEE;
    padding-top:0.5rem;
    padding-bottom:0.5rem;
    
}

.input-group .form-floating{
    flex-grow:1;
}

#costsModal{
    min-width:500px;
    max-width:1000px;
    width:80vw!important;
}

.costs-form{
    margin-top:1rem;
    background:#91000030;
    padding:0.3rem;
    border:1px solid #777;
    
}

.costs-form .btn {margin-left:0.3rem;}

.costs-form > div{
    display:flex;
    flex-direction: row;
    justify-content:space-around;
    flex-wrap: nowrap;
}

.costs-form .buttons{
    justify-content:flex-end
        
}

.costs-form .form-switch{
        display: flex;
    align-content: center;
    flex-direction: column;
        flex-wrap: wrap;
}

.cost-grid{
    font-size:0.8rem;
    font-weight:500;
    display:grid;    
    grid-template-columns:auto 65px 2fr 20px 1fr 35px auto auto;
  }

.cost-grid > div {
    padding: 3px 0 3px 2px;
}

.cost-grid > div:nth-child(8n+5){
    text-align:center;
}
.cost-grid > div:nth-child(8n+6){
    text-align:center;
}
.cost-grid > div:nth-child(8n+7){
    text-align:center;
}
.cost-grid > div:nth-child(8n+8){
    text-align:right;
}

.cost-grid > div:nth-child(1),
.cost-grid > div:nth-child(2),
.cost-grid > div:nth-child(3),
.cost-grid > div:nth-child(4),
.cost-grid > div:nth-child(5),
.cost-grid > div:nth-child(6),
.cost-grid > div:nth-child(7),
.cost-grid > div:nth-child(8)
{
  background-color:#ccc;  
}

.cost-grid > div:nth-child(16n+17),
.cost-grid > div:nth-child(16n+18),
.cost-grid > div:nth-child(16n+19),
.cost-grid > div:nth-child(16n+20),
.cost-grid > div:nth-child(16n+21),
.cost-grid > div:nth-child(16n+22),
.cost-grid > div:nth-child(16n+23),
.cost-grid > div:nth-child(16n+24){
    background-color:#a3edf987;
}

.cost-item-edit{
    background-color:#ffd40030!important;
    padding: 10px 1px 10px 1px!important;
    border-top:1px solid red;
    border-bottom:1px solid red;
    
}

.costs-form #heading:before{
    content:'Add';
}

.costs-form.edit-mode #heading:before{
    content:'Edit';
}

.costs-form.edit-mode {
   background-color: #ffd40030;
border:1px solid red;
}

.costs-form .add-button:before{
    content:'Add';
}

.costs-form.edit-mode .add-button:before{
    content:'Update';
}

.payments-grid{
    font-size:0.8rem;
    font-weight:500;
    display:grid;
    grid-template-columns:70px 3fr 1fr auto ;
  }

.payments-grid .btn{
    font-size:0.6rem!important;
    font-weight:600;
}

.payments-grid > div{
    padding-left:3px;
    padding-right:3px;
    padding-bottom:2px;
}

.payments-grid > div:nth-child(1),
.payments-grid > div:nth-child(2),
.payments-grid > div:nth-child(3), 
.payments-grid > div:nth-child(4)
{
    background-color:#ccc;
}

.payments-grid > div:nth-child(8n+5),
.payments-grid > div:nth-child(8n+6),
.payments-grid > div:nth-child(8n+7), 
.payments-grid > div:nth-child(8n+8),
.payments-grid > div:nth-child(8n+9),
.payments-grid > div:nth-child(8n+10),
.payments-grid > div:nth-child(8n+11), 
.payments-grid > div:nth-child(8n+12)
{
   
background-color:#ffffff;  
}

.payments-grid > div:nth-child(16n+11),
.payments-grid > div:nth-child(16n+12),
.payments-grid > div:nth-child(16n+13), 
.payments-grid > div:nth-child(16n+14),
.payments-grid > div:nth-child(16n+15),
.payments-grid > div:nth-child(16n+16)

{
     background-color:#a3edf987;
    
}

.bg-edit{
    background-color:#F0000050;
    padding:4px;
}

.booking-log{
    display:grid;
    grid-template-columns:1fr 2fr;
    max-height:310px;
    overflow-y:auto;
}

.booking-log > div{
    padding:3px;
}

.booking-log .entry{
    font-size:0.8rem;
    font-weight:500;

}
.booking-log > div:nth-child(4n+2),
.booking-log > div:nth-child(4n+3){
    background:aliceblue;
}

.log-entry{
    grid-column:1/3;
    display:flex;
    background-color:#ef9a9a30;
    padding:4px;
    flex-wrap: w;
    border:1px solid #999;
}
.log-entry > div{
    padding:5px;
}
.log-entry .form-floating{
    margin-top:0.3rem
}
a{
    text-decoration:none;
}

.test-div{
    height:100px;
    background-color:white;
}

.payments-form .btn {margin-left:0.3rem;}

.payments-form > div{
    display:flex;
    flex-direction: row;
    justify-content:space-around;
    flex-wrap: nowrap;
    margin-bottom:0.4rem;
}


.payments-form .buttons{
    justify-content:flex-end
        
}

.payments-form{
    margin-top:1rem;
    background:#91000030;
    padding:0.3rem;
    border:1px solid #777;
    
}

.booking-summary .input-group span{
    text-align:right;
}

.data-checkbox {
    text-align: center;
    display: flex;
    flex-direction: row;
    align-content: center;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}