body {
    background: #f6f8fa;
    color: #24313d;
    font-family: "Microsoft JhengHei"
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 100%;
}

/* styles for validation helpers */
.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}

.navbar-inverse {
    background-color: #24494a;
    border-color: #1e3d3e;
}

.body-content {
    background: #fff;
    min-height: calc(100vh - 70px);
    padding-top: 24px;
}

.hero {
    background: #e6f2f1;
    border-left: 6px solid #3d7e80;
}

.page-header {
    margin-top: 0;
    color:#6a6a6a;
}

.action-grid {
    margin-bottom: 28px;
}

.action-card {
    display: block;
    min-height: 150px;
    padding: 22px;
    margin-bottom: 16px;
    color: #24313d;
    background: #f4fdf7;
    border: 1px solid #d8e1e3;
    border-radius: 6px;
    text-decoration: none;
}

.action-card:hover,
.action-card:focus {
    color: #24313d;
    border-color: #3d7e80;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(36, 73, 74, 0.12);
}

.action-card .glyphicon {
    display: block;
    margin-bottom: 14px;
    color: #3d7e80;
    font-size: 28px;
}

.action-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
}

.action-card small {
    display: block;
    color: #6c7782;
    line-height: 1.6;
}

.tool-panel {
    border-radius: 6px;
}

    .tool-panel .panel-heading {
        font-weight: 700;
        font-size: 1.2em;
        background: #cadde1
    }

.messages {
    margin-top: 10px;
}

.search-bar {
    margin-bottom: 18px;
    padding: 16px;
    background: #ecf1f1;
    border: 1px solid #d8e1e3;
    border-radius: 6px;
}

.search-actions {
    padding-top: 25px;
}

.login-page {
    margin-top: 20px;
}

.label-success {
    background-color: #5cb85c;
}


.record-detail-toolbar,
.record-export-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.record-detail-toolbar {
    justify-content: space-between;
    margin: 16px 0 12px;
    background-color: #d1d1d1;
    padding: 1px;
    border-radius: 5px;
}
.record-detail-toolbar h4,
.record-export-form label { margin: 0; }
.record-export-form .form-control {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    max-width: 100%;
}
.record-export-form {
    flex-wrap: nowrap;
    min-width: 0;
    max-width: 100%;
}
.record-export-form label,
.record-export-form .btn {
    flex: 0 0 auto;
    white-space: nowrap;
}
