html {
    height: 100%;
    min-height: 700px
}

body {
    height: 100%;
    min-height: 100% !important;
}

main {
    background-color: #f1f4f6;
    min-height: 100%;
}

main {
    width: 100%;
}

.main-content {
    overflow-x: auto;
    max-width: 100%;
    width: 100%;
    padding: 3vh 1.5vw;
}

.homepage-bg {
    background-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    background-size: cover;
    min-height: 100%;
}

.form-box {
    background-color: white;
    border: 1px solid rgba(0,0,0,0.5);
    border-radius: 10px;
    box-shadow: 0 0.76875rem 2.4875rem rgba(52,58,64,0.3);
    margin-left: auto;
    margin-right: auto;
    width: min(500px, 85%);
    margin-top: 5px;
}

.form-box .form-control {
    border-width: 2px;
}

.form-error {
    color: red;
}

.custom-alert {
    padding: 0.5rem 1rem;
}

.flash-messages-container {
    position: fixed;
    top: 38px;
    left: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: none;
    padding: 0 38px;
    box-sizing: border-box;
}

@media (max-width: 991.98px) {
    .flash-messages-container {
        position: fixed;
        top: 5rem;
        left: 0;
        right: 0;
        z-index: 9999;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        pointer-events: none;
        padding: 0 2rem;
        box-sizing: border-box;
    }
}

.flash-message {
    width: 100%;
    max-width: 400px;
    margin-bottom: 0.75rem;
    pointer-events: auto;
    box-sizing: border-box;
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
}

.flash-message-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.flash-message-text {
    margin: 0;
    word-break: break-word;
    padding-right: 1rem;
}

/*.flash-message-text {*/
/*    margin-top: 8px;*/
/*    margin-bottom: 8px;*/
/*}*/

.flash-message .btn-close {
    align-items: center;
    padding: 1rem;
}

.alert .close {
    margin-left: auto;
    font-size: 28px;
}

.menu-signout a {
    padding: .1875rem .5rem;
    margin-left: 20px;
    margin-top: 2px;
}

h1 {
    margin-bottom: 30px;
}

.form-group label {
    margin-bottom: 4px;
    margin-top: 7px;
    margin-left: 2px;
}

.card-active {
    border: #28a745 2px solid;
    min-height: 146px;
}

.entity-card {
    margin-bottom: 20px;
}

.card-header {
    background-color: white !important;
}

.card-header h5 {
    margin-bottom: 7px;
    margin-top: 7px;
}

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

.icon {
    font-size: 21px;
    cursor: pointer;
}

.icon-left {
    margin-left: 5px;
}

.icon-left.align-self-center {
    margin-left: 10px;
}

h6 {
    font-size: 18px !important;
}

.clickable-link {
    text-decoration: none;
}

.clickable-link:hover {
    text-decoration: underline;
}

.card-header-checkbox {
    margin-left: auto;
    font-size: 19px;
    margin-right: 20px;
}

.scrollme {
    overflow-x: auto;
}

.breadcrumb-item a {
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.field-label {
    font-size: 18px;
    margin-top: 10px;
    color: #0d6efd;
}

.field-label-checklist {
    font-size: 18px;
    margin-bottom: 5px;
    margin-top: 10px;
    color: #0d6efd;
}

.filter-row-first {
    margin-left: 1rem;
}

.filter-row-mr {
    margin-right: 1rem;
}

.custom-checkbox {
    padding-left: 0;
}

label.custom-control-label {
    padding-right: 0.5rem;
}

label.custom-control-label::before,
label.custom-control-label::after {
    right: 0;
    left: auto;
}

.checkboxlist-row {
    margin-top: 7px;
}

.card-header {
    font-size: 20px;
    background-color: #f7e5c6 !important;
}

.card-header-top {
    border-top: 1px solid rgba(0, 0, 0, 0.175);
}

.dashboard-button {
    display: block;
    width: 100%;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.widget-content {
    display: flex;
}

.widget-content-left {
    margin-right: auto;
}

.widget-content-right {
    margin-left: auto;
    font-size: 1.25rem;
    color: #495057
}

.quantity-to-pay-input {
    -webkit-appearance: none;
    margin: 0;

    -moz-appearance: textfield;
}

.items-to-pay-cell {
    vertical-align: middle;
    font-size: 1.1rem;
}
