html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    width: 100%;
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

#dashboard {
	display: grid; 
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	grid-column-gap: 10px;
	grid-row-gap: 10px;
}

#dashboard a {
	text-decoration: none;
	color: #222222;
}

#dashboard .box {
	text-align: center;
	border-radius: 10px;
	background: #ffffff;
	padding: 10px;
}

#dashboard .box:hover {
	background: #E5E5E5;
	color: #1E90FF;
}

.amount {
    text-align: right;
    min-width: 100px; 
}

.negative {
    background-color: #FFC0CB;
}

.amount.header {
    text-align: left;
}

.grid_footer {
    background-color: #7F7F7F;
    color: #FFFFFF;
    font-weight: bold;
}

.narrow_column {
    width: 20px;
}

.advanced_view {
    display: none;
}

.disabled_link {
    cursor: default;
    pointer-events: none;        
    text-decoration: none;
    color: #800080;
}

.alert-info:before {
    content: '💡 ';
}

.radio {
    padding-left: 20px;
    margin-bottom: 5px;
}

.radio input[type="radio"] {
    margin-left: -20px;
    position: relative;
    top: 2px;
}

.checkbox {
    padding-left: 20px;
    margin-bottom: 5px;
}

.checkbox input[type="checkbox"] {
    margin-left: -20px;
    position: relative;
    top: 2px;
}

/* Styles for JSON Pretty Print with Coloring */
.json-display-container {
    background-color: #f8f8f8; /* Light background for the code block */
    padding: 15px;
    border-radius: 5px;
    font-family: 'Fira Code', 'Cascadia Code', 'Consolas', 'Monaco', monospace; /* Use a monospace font for code */
    font-size: 0.9em;
    line-height: 1.4;
    overflow-x: auto; /* Enable horizontal scrolling for long lines */
    white-space: pre-wrap; /* Allows wrapping of long lines while preserving indentation */
    
    border: 1px solid #eee; /* Light border */
    word-break: break-all; /* Optional: Breaks words if they are too long and don't fit */

}

.json-key {
    color: #92207b; /* Purple for object keys */
    font-weight: bold;
}

.json-string {
    color: #2a6a38; /* Green for string values */
}

.json-number {
    color: #1a0dab; /* Blue for number values */
}

.json-boolean {
    color: #880000; /* Red for boolean values (true/false) */
}

.json-null {
    color: #808080; /* Grey for null values */
}

.json-brace,
.json-bracket {
    color: #00008b; /* Dark blue for curly braces {} and square brackets [] */
    font-weight: bold;
}

.json-comma,
.json-colon {
    color: #333; /* Dark grey for commas and colons */
}

a.navbar-brand {
    color: #ffe500 !important;
}
