/* to fix the issut with inputs getting smaller */
input.form-control {
    padding: .375rem .75rem!important;
}

.bms-container {
    margin-bottom: 3rem;
}

.balances-container .dashicons, .project-inv-icons .dashicons, .dash-custom-gray {
    color: #666665;
}

.cl-row, .quote-row, .invoice-row {
    border: 1px solid #e6e4e9;
    box-shadow:  0px 0px 10px 0px rgba(82, 63, 105, 0.1);
}


#list-invoices {
    margin-top: 2rem;
}

.smaller-gray {
    font-size:0.8em;
    color:gray;
}

.light-yellow {
    background-color: #fff8e6!important;
}
.light-blue {
    background-color: #bdd0f9!important;
}
.pelatis {
    font-size: 1.2em;
    font-weight: 500;
    width: 100%;
    display: block;
    margin-bottom: -0.5em;
}

#add-client-block, #add-project-block {
    display: none;
}

.bordered-block {
    border: 1px solid #e6e4e9;
    border-radius: 6px;
    padding: 5px;
}

.cl-row-head, .quote-row-head, .invoice-row-head {
    font-weight: 700;
}

.width-80 {
    width:80%;
}

.show-price {
    border: none !important;
    border-bottom: 2px solid #202020 !important;
    background: none;
    border-radius: unset;
}

#discount-cont {
    display: none;
    margin-top: 10px;
}

/*initial state hidden*/
#add-quote-block, #add-in-block, #add-out-block, #add-invoice-block {
    display: none;
}

/* fix modal top hiding under menu header*/
.modal-dialog {
    margin-top: 10em!important;
}

#dash-nav .dashicons {
    font-size: 60px;
    width: 60px;
    height: 60px;
  }

#balances-table th {
    border-bottom: black 1px solid;
}

/* Custom styles for the BMS dashboard (gtp) */
.dashboard .card-title {
    font-size: 1.25rem;
}

.dashboard .card-text {
    margin-bottom: 0.5rem;
}

.dashboard .btn-block {
    width: 100%;
}

.dashboard .card {
    height: 100%;
}

/* PROJECTS */
.project-details {
    background: #ffedba; 
    font-size:1.25em;
    font-weight:700;
    text-decoration: underline;
}

.project-head-bg {
    background: #ffedba; 
}

/* The custom switch - the box around the slider */
.custom-switch {
    position: relative;
    display: inline-block;
    width: 50px; /* Adjusted width */
    height: 24px; /* Adjusted height */
}

/* Hide default HTML checkbox */
.custom-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 24px; /* Adjusted border radius */
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px; /* Adjusted height */
    width: 18px; /* Adjusted width */
    left: 3px; /* Adjusted position */
    bottom: 3px; /* Adjusted position */
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%; /* Ensure the circle remains round */
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px); /* Adjusted translation */
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 24px; /* Adjusted border radius */
}

.slider.round:before {
    border-radius: 50%;
}

/*new buttons */
.bg-purple {
    background-color: #6f42c1 !important;
    color: #fff !important;
  }
  
  .bg-purple .card-body {
    color: #fff;
  }
  
  .bg-purple .card-title,
  .bg-purple .card-text {
    color: #fff;
  }
  .btn-purple {
    color: #fff;
    background-color: #6f42c1;
    border-color: #6f42c1;
  }
  
  .btn-purple:hover {
    color: #fff;
    background-color: #5a33a8;
    border-color: #5a33a8;
  }
  
  .btn-purple:focus, .btn-purple.focus {
    color: #fff;
    background-color: #5a33a8;
    border-color: #5a33a8;
    box-shadow: 0 0 0 0.2rem rgba(127, 73, 185, 0.5);
  }
  
  .btn-purple:disabled, .btn-purple.disabled {
    color: #fff;
    background-color: #6f42c1;
    border-color: #6f42c1;
  }
  .bg-orange {
    background-color: #fd7e14 !important;
    color: #fff !important;
  }
  
  .bg-orange .card-body {
    color: #fff;
  }
  
  .bg-orange .card-title,
  .bg-orange .card-text {
    color: #fff;
  }
  
  .btn-orange {
    color: #fff;
    background-color: #fd7e14;
    border-color: #fd7e14;
  }
  
  .btn-orange:hover {
    color: #fff;
    background-color: #e36907;
    border-color: #e36907;
  }
  
  .btn-orange:focus, .btn-orange.focus {
    color: #fff;
    background-color: #e36907;
    border-color: #e36907;
    box-shadow: 0 0 0 0.2rem rgba(243, 129, 29, 0.5);
  }
  
  .btn-orange:disabled, .btn-orange.disabled {
    color: #fff;
    background-color: #fd7e14;
    border-color: #fd7e14;
  }
  
/* remove bullets from select2 */
.select2-container--default .select2-results__option {
  list-style: none !important;
}
.select2-results__options {
  padding-left: 0 !important;
  margin-left: 0 !important;
}

/*make font size em:1*/
.em-1 {
  font-size:1em;
}

/*place drag icon on the top left*/
.drag-icon {
  font-size: 0.55rem;
  margin-left:-0.3rem;
  margin-top:-0.7rem;
}

.btn-close-in-item {
  font-size: 0.55rem;
  margin-right:1em;
}