
html, body {
    padding: 0em;
    margin: 0em;
    height: 100%;
}

html {
  position: relative;
  min-height: 100%;
}

    body ::-webkit-calendar-picker-indicator {
        filter: invert(1);
    }
    body input[type=submit], body input[type=button], body .form-anchor {
        padding: 0.2rem 0.8rem;
        font-weight: 400;
        font-size: 110%;
        min-width: 6rem;
        cursor: pointer;
        max-height: 2em;
    }

        body .form-anchor {
            text-align: center;
        }

body input[type=text], body input[type=date], body textarea, body input[type=email], body input[type=password], body input[type=number], body select {
    background-color: white;
    color: black;
    border: 1px solid #F0F0F0;
}

    body .btn-disabled {
        background-color: #6c6c6c !important;
        cursor: default !important;
    }

    main {
        flex-grow: 1;
        height: 100%;
        overflow: auto;
    }

        main .page-title {
            font-weight: bold;
            padding-top: 0.5rem;
        }

    main .page-title .page-subtitle {
        display: block;
        letter-spacing: 2px;
    }

    main .page-content {
        display: flex;
        flex-direction: row;
        column-gap: 2rem;
        flex-wrap: wrap;
    }

    main .page-content .submit-holder {
        display: flex;
        column-gap: 1rem;
    }

    main .page-content .success-alert{
        font-size: 120%;
        background-color:#c6ebc4;
        padding: 0.3em;
        border-radius: 5px;
        color: green;
        max-width: 35em;
    }
    main .page-content .error-alert{
        font-size: 120%;
        background-color:#ebc4c4;
        padding: 0.3em;
        border-radius: 5px;
        max-width: 35em;
    }
    main .page-content .alert-closebtn {
        line-height: 20px;
        font-size: 20pt;
        font-weight: bold;
        margin-right: 0.5rem;
        cursor: pointer;
    }


.form-container {
    font-weight: 400;
    display: flex;
    flex-direction: column;
    row-gap: 0.8rem;
    font-size: 100%;
    padding-bottom: 2rem;
}

.form-container .flex-container-col {
    display:flex;
    column-gap: 1rem;
}

.form-container .stop-container {
    display: flex;
    column-gap: 1rem;
}

.container {
    display: flex;
    flex-direction: row;
    justify-content: stretch;
    height: 100%;
    column-gap: 1.5rem;
    width: 100%;
}

.sidebar {
    width: 14.5rem;
    background: rgb(212,72,39);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

    .sidebar .logo-holder {
        align-self: end;
        padding-top: 1.5rem;
    }

.sidebar .logo-holder .logo {
    width: 9.4rem;
    height: 9.4rem;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

    .sidebar .menu-items-holder {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        margin-left: 1rem;
        margin-bottom: 1rem;
    }

    .sidebar .menu-items-holder a {
        color: white;
    }

        .sidebar .menu-items-holder a:hover {
            color: rgb(48, 197, 136);
        }

.login-container {
    font-weight: 400;
    font-size: 100%;
}

.admin-note textarea {
    width: 40rem;
    height: 3rem;
}

.validation-error-message {
    color: red;
}

.quote-history-grid {
    display: grid;
    grid-template-columns: repeat(15, auto);
    column-gap: 0.8rem;
    row-gap: 0.1rem;
    align-items: center;
    justify-content: flex-start;
    flex-grow: 1;
    overflow: auto;
    padding-bottom: 0.5rem;
    align-content: flex-start;
}

    .quote-history-grid .first-item {
        grid-column: 1;
    }

    .quote-history-grid .header-item {
        font-size: 110%;
        text-decoration: underline;
    }
        .quote-history-grid .header-item.important {
            text-decoration: none;
        }

    .quote-history-grid a, .quote-history-grid .item.special {
        color: #d44827;
    }

        .quote-history-grid a:hover {
            color: rgb(48, 197, 136);
        }

    .quote-history-grid .important {
        color: yellow;
        font-size: 100%;
    }

    .quote-history-grid .project, .quote-history-grid .trucks, .quote-history-grid .origin, .quote-history-grid .destination, .quote-history-grid .type, .quote-history-grid .special {
        justify-self: center;
        text-align: center;
    }

    .quote-history-grid .weight {
        justify-self: end;
        text-align: end;
    }

    .quote-history-grid .header-item {
        justify-self: stretch;
    }


    .quote-history-grid .header-item {
        position: sticky;
        top: 0px;
        background-color: black;
    }

.history-filter-grid {
    display: grid;
    grid-template-rows: auto;
    row-gap: 0rem;
    column-gap: 1.5rem;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    align-items: center;
    justify-content: start;
}

    .history-filter-grid input {
        width: 6rem;
    }

    .history-filter-grid .submittedby-filter {
        display:none;
    }

.form-container .export-quotes-input {
    display: flex;
    column-gap: 1em;
    align-items:center;
}

.form-container .dropdown-container {
    margin: 0.5rem 0;
}
.form-container .dropdown-container select {
    min-width: 11rem
}

/*.form-container .form-anchor {
    color: #d44827;
    display: 
}

    .form-container .form-anchor:hover {
        color: rgb(48, 197, 136);
    }*/

.user-management-grid {
    display: grid;
    grid-template-columns: repeat(6, auto);
    column-gap: 0.8rem;
    row-gap: 0.1rem;
    align-items: center;
    justify-content: flex-start;
    flex-grow: 1;
    overflow: auto;
    padding-bottom: 0.5rem;
    align-content: flex-start;
    max-width: 50%;
}

    .user-management-grid .header-item {
        font-size: 110%;
        text-decoration: underline;
        position: sticky;
        top: 0px;
        background-color: black;
    }

    .user-management-grid a {
        color: #d44827;
    }
        .user-management-grid a:hover {
            color: rgb(48, 197, 136);
        }

        .user-edit-holder {
            position:relative;
        }

#user-edit-container {
    position: sticky;
    top: 0em;
}