.alert {
    margin-bottom: 10px;
    padding: 10px;
}

.alert-dismissible .close {
    right: 0px;
}

.alert-danger {
    color:#a94442;
    background-color:#f2dede;
    border-color:#ebccd1
}

.bg-primary {
    background-color: #72bb53 !important;
    color: #ffffff;
}

.btn-primary {
    color: #fff;
    background-color: #1782c7;
    border-color: #d1ecf1;
}

.btn-primary:hover, .btn-primary:active, .btn-primary:not(:disabled):not(.disabled).active {
    color: #333333;
    background-color: #d1ecf1;
}

a {
    color: #1782c7;
}

.datagrid .records {
    width: 100%
}

.datagrid table.records td, .datagrid table.records th {
    text-align: left;
    padding: 0.2rem 0.4rem;
    font-size: 0.9rem;
    max-width: 300px; /* Ensures notes cols don't squeeze out the rest of the table */
}

.datagrid .edit-link, .datagrid .delete-link {
    transition: all .2s ease-in-out;
    display: inline-block;
    margin: 0 .2em;
    font-size: 1.2rem;
}

.datagrid .edit-link:before {
    content: "\f303";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.datagrid .delete-link:before {
    content: "\f1f8";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: red;
}

.datagrid .delete-link:hover, .datagrid .edit-link:hover {
    text-decoration: none;
    transform: scale(1.5);
}

.navbar-dark .navbar-nav .nav-link {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
}

.hide {
    display: none;
}

/* These readjust some of keg elements default description styles and
placements that we don't want.
 */

.form-row {
    display: block;
}
a[rel="kegel-field-description"] {
    display: none;
}
.description .hide, .description .sr-only {
    display: block;
    color: #6c757d;
    font-size: 90%;
    font-weight: 400;
    font-style: italic;
    position: inherit;
    width: inherit;
    height: inherit;
}

/* ActionButton Styles */
.no-wrap {
    white-space: nowrap;
}
/* ActionButton Styles */

/* SelectGrid Styles */

.custom-control-label::after, .custom-control-label::before {
    height: 1.25rem;
    width: 1.25rem;
}

.select-form-controls {
    border: 1px solid #eeeeee;
    border-radius: 3px;
    padding: 8px;
}

/* End SelectGrid Styles */

/* Mobile Grid Enhancements */

/* Extra small would be @media (max-width: 575.98px) { */
@media (max-width: 767.98px) {
    .datagrid {
        /* The datagrid form controls cause the body to stretch wider than the
        screen, resulting in horizontal scrolling we don't want.
         */
        overflow: hidden;
    }

    .records thead {
        display: none;
    }
    .records tr {
        display: table;
        width: 100%;
        margin-bottom: 12px;
    }
    .records td {
        display: table-row;
        text-align: left;
        width: 100%;
    }
    .records td span {
        display: table-cell;
        /*width: 70%;*/
        text-align: left;
        vertical-align: top;
        padding: 5px;
    }
    .records tr td span:first-child,
    .records tr td.col-pull-left span:first-child,
    .records tr td.col-pull-left span:nth-child(2) {
        /*width: 30%;*/
        display: table-cell;
    }
}

.records td span:first-child {
    /* The label element on mobile only */
    display: none;
}

.records td.col-pull-left span:first-child {
    /* If we're pulling the col value to the left, the order is reversed */
    display: inherit;
}

.records td.col-pull-left span:nth-child(2) {
    /* If we're pulling the col value to the left, the order is reversed */
    display: none;
}

/* End Mobile Grid Enhancements */

.fetch-button:disabled {
    background-color: #6c757d;
    border: none;
    color: #d1ecf1;
}

.mole-report-form-container .radio {
    font-size: 1.2rem;
    padding: 20px 0;
}

/* Call out some form fields so there is less chance someone enters sensitive data in the wrong form */
textarea#internal_notes {
    background-color: #fff3cd;
    color: #856404;
}

textarea#comments {
    background-color: #f2dede;
    color: #a94442;
}

textarea#visit_instructions {
    background-color: #d1ecf1;
    color: #0c5460;
}
