main {
    padding-bottom: 3rem;
}

/*
* Activities 
*/

.activity-photo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.activity-comment {
    height: 1em;
    resize: none;
    overflow: hidden;
}

.activity-comment-view, 
.activity-email-view,
.user-photo {
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.25rem;
}

.activity-email-view {
    background-color: rgba(0, 0, 0, 0.03);
}

.activity-table tr td:first-child,
.email-table tr td:first-child {
    width: 50px;
}

.email-table tr:nth-child(odd) td {
    border-bottom: none;
    padding-bottom: 0;
}

.activity-table td {
    line-height: 1.5;
}

/*
* Colors
*/

.btn-primary, .btn-primary:active {
    background-color: #a0c864;
    border-color: #a0c864;
}

.btn-primary:hover {
    background-color: #145f32;
    border-color: #145f32;
}

.btn-primary:focus {
    background-color: #145f32;
    border-color: #145f32;
    box-shadow: 0 0 0 0.25rem rgba(20, 95, 50, 0.5);
}

.btn-primary:disabled {
    background-color: #d2e8b1;
    border-color: #d2e8b1;
}

a, a:hover, .nav-link, .nav-link:hover {
    color: #145f32;
}

.bg-primary {
    background-color: #a0c864!important;
}

.bg-warning {
    background-color: #145f32!important;
}

.progress-bar {
    background-color: #a0c864;
}

.form-check-input:checked {
    background-color: #a0c864;
    border-color: #a0c864;
}

.form-control:focus,
.form-check-input:focus,
.form-select:focus
 {
    border-color: #a0c864;
    box-shadow: 0 0 0 0.25rem rgba(160, 200, 100, 0.5);
}

.alert-primary {
    color: #145f32;
    background-color: #cfe5af;
    border-color: #a0c864;
}

.text-primary {
    color: #a0c864!important;
}

/*
* Logo and icons
*/

.logo {
    display: block;
    padding: 2rem 0;
    background-color: #2b2e33;
    min-width: 8rem;
}

.logo img {
    width: 8rem;
    display: block;
    margin: 0 auto;
}

h1 .fa-regular, h2 .fa-regular, h3 .fa-regular, h4 .fa-regular, h5 .fa-regular, h6 .fa-regular {
    margin-right: 1rem;
}

.btn .fa-regular {
    margin-right: .5rem;
}



/*
* Sidebar
*/

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100; /* Behind the navbar */
    padding: 0; /* Height of navbar */
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

@media (max-width: 767.98px) {
    .sidebar {
        top: 3.7rem;
    }
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
}

.sidebar .nav-link .feather {
    margin-right: 4px;
    color: #727272;
}

.sidebar .nav-link.active {
    color: #a0c864;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
    color: inherit;
}

.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
}

.sidebar .fa-regular {
    color: #727272;
    width: 1.75rem;
}

.sidebar .active .fa-regular {
    color: #a0c864;
}

.navbar-toggler {
    right: 0px;
    top: 15px;
}

/*
* Helpers
*/

.pointer, .link {
    cursor: pointer;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-error, .form-success {
    display: none;
}

.spacer {
    margin-top: 1rem;
    border-bottom: 1px solid #ced4da;
    margin-bottom: 1rem;
}

.spacer-sm {
    margin-right: 1rem;
    margin-left: 1rem;
}
   
.table .link:hover {
    background-color: #f8f9fa;
}

.table .disabled {
    display: none;
}

.table .disabled td {
    background-color: #f8f9fa;
    color: #6c757d;
    text-decoration: line-through;
}

.user-photo img {
    border-radius: 50%;
}

.template tbody tr {
    display: none;
}

/*
* Accordion
*/

.accordion-button {
    font-weight: 500;
}

.accordion-button:not(.collapsed) {
    background-color: #ecf4e0;
    color: #3c8025;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/*
* Informant Notes 
*/

textarea.note {
    border: none;
    padding: 1rem 1rem;
}

textarea.note:focus {
    box-shadow: none;
}

.hidden-note .note-actions, .hidden-note .note-textarea, .hidden-note .card-body, .hidden-note .card-footer {
    display: none;
}

.hidden-note .card-header {
    border-bottom: none;
}

.draftBackground {
    background-color: rgba(0, 0, 0, 0.1);
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-size: 1rem 1rem;
}