body,
html {
    min-height: calc(100vh - 56px);
    height: calc(100% - 56px);
}

body {
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('../img/bg.jpg');
    background-size: cover;
    background-attachment: fixed;
}

.card {
    border-radius: 0;
}

.bg-red {
    background: #E30D19;
}

.border-red {
    border: 1px solid #E30D19;
}

.color-red {
    color: #E30D19;
}

p {
    margin-bottom: 0;
}

/*
.card-active {
    background: #E30D19;
    border-color: #E30D19;
    color: white;
}
*/
.fs-16 {
    font-size: 16px !important;
}

.fw-500 {
    font-weight: 500;
}

a {
    text-decoration: none;
    color: inherit;
}

#box-nav a:hover .card {
    background: #E30D19 !important;
    border-color: #E30D19 !important;
    color: white !important;
    transition: .25s;
}

.card {
    transition: .25s;
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 768px) {
    #box-nav {
        padding-top: 15em;
    }
}

table th,
table td {
    font-size: 12pt;
    font-weight: 600;
}

table.table-invoice th,
table.table-invoice td {
    font-size: 10pt;
    font-weight: 500;
    padding-top: 0.8rem !important;
    padding-bottom: 0.8rem !important;
}

table.table-shadow {
    box-shadow: 0 .25rem .5rem rgba(0, 0, 0, .15) !important;
}

table.color tr:nth-child(even) {
    background-color: #F5F5F5;
}

table.color tr:nth-child(odd) {
    background-color: #FAFAFA;
}

table {
    border: 0;
}

table th,
table td {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

.table>:not(caption)>*>* {
    padding: 0.1rem 0.5rem;
}

span#basic-addon2 {
    background: white;
    border-left: 0px !important;
    border-top: 1px solid rgba(0, 0, 0, 0.175);
    border-right: 1px solid rgba(0, 0, 0, 0.175);
    border-bottom: 1px solid rgba(0, 0, 0, 0.175);
}

.card-input {
    border-left: 1px solid rgba(0, 0, 0, 0.175);
    border-top: 1px solid rgba(0, 0, 0, 0.175);
    border-bottom: 1px solid rgba(0, 0, 0, 0.175);
    border-right: 0px !important;
}

.card-input-reverse {
    border-left: 0px !important;
    border-top: 1px solid rgba(0, 0, 0, 0.175);
    border-bottom: 1px solid rgba(0, 0, 0, 0.175);
    border-right: 1px solid rgba(0, 0, 0, 0.175);
}

span#basic-addon3 {
    background: white;
    border-left: 1px solid rgba(0, 0, 0, 0.175);
    border-top: 1px solid rgba(0, 0, 0, 0.175);
    border-right: 0px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.175);
}

.card {
    border: 0px;
    border-radius: 12px !important;
    box-shadow: 0 .25rem .5rem rgba(0, 0, 0, .15) !important;
}

.custom-table {
    border: 1px solid #dee2e6;
    border-radius: 12px;
    overflow: hidden;
}

.form-range::-webkit-slider-thumb {

    background: black;

}

.form-range::-moz-range-thumb {
    background: black;
}

.form-range::-ms-thumb {
    background: black;
}

.form-range::-webkit-slider-thumb:active {
    background-color: #e30d19 !important;
}

.form-range::-webkit-slider-runnable-track {
    width: 100%;
    height: 0.5rem;
    color: transparent;
    cursor: pointer;
    background-color: #e30d19 !important;
    border-color: transparent;
    border-radius: 1rem;

}

.calc-content {
    min-height: 3em;
}

#minus-btn,
#plus-btn {
    width: 40px;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.form-select:focus {
    border-color: rgba(0, 0, 0, 0.175);
    outline: 0;
    box-shadow: none
}

.form-control:focus {
    border-color: rgba(0, 0, 0, 0.175);
    outline: 0;
    box-shadow: none
}

.stepper-item {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.stepper-item:not(.active) {
    color: black;
}

.stepper-item.active {
    color: #e30d19 !important;
}

.icon {
    margin-right: 1rem;
}

.step-content {
    display: flex;
    flex-direction: column;
}

.step-content small {
    font-size: 0.8rem;
}

.vertical-line {
    width: 1px;
    background-color: black;
    margin: 15px auto;
    height: 2em;
}

.list-group-item.active {
    z-index: 2;
    color: #e30d19 !important;
    background-color: transparent;
    border-color: transparent;
}

.list-group-item {
    border: 0px;
}

@media (min-width: 992px) {
    #stepper {
        position: sticky;
        top: 20px;
        /* Adjust this value if you want a different distance from the top of the viewport */
    }
}

.card-radio {
    cursor: pointer;
}

.card-radio label {
    cursor: pointer;
}

.bg-light {
    background: #dee2e6;
}

@media(max-width: 768px){
    .border-end {
        border: 0px !important;
    }

    .border-start {
        border: 0px !important;
    }
}

.text-danger {
    color: #e30d19 !important;
}

.bg-danger {
    background: #e30d19 !important;
}

.btn-danger {
    background: #e30d19 !important;
}

.custom-checkbox {
    width: 100%;
}
.custom-checkbox input[type="checkbox"] {
    display: none;
}
.custom-checkbox label {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 1px solid #ccc;
    background-color: #fff;
    cursor: pointer;
    border-radius: 4px;
}
.custom-checkbox label::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    background-color: red;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: all 0.2s;
    border-radius: 4px;
}
.custom-checkbox input[type="checkbox"]:checked + label::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
