@media print
{
	.no-print, .no-print *, .button, input.submit
	{
		display: none !important;
	}
}

.alternate:nth-child(even) {
    background-color: #EEE;
}

.p-2 {
    padding: 4px !important;
}

.mt-2 {
    margin-top: 8px !important;
}

/* ============================================
   Bootstrap 3-like styling overrides
   ============================================ */

/* Font stack closer to Bootstrap 3 */
body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
}

/* Buttons - Bootstrap 3 style (less rounded, smaller padding) */
.btn {
    border-radius: 4px;
    font-size: 14px;
    font-weight: 400;
    padding: 6px 12px;
}

.btn-sm, .btn-group-sm > .btn {
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 3px;
}

.btn-xs {
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

/* Button colors closer to Bootstrap 3 */
.btn-primary {
    background-color: #337ab7;
    border-color: #2e6da4;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #286090;
    border-color: #204d74;
}

.btn-success {
    background-color: #5cb85c;
    border-color: #4cae4c;
}

.btn-success:hover, .btn-success:focus {
    background-color: #449d44;
    border-color: #398439;
}

.btn-danger {
    background-color: #d9534f;
    border-color: #d43f3a;
}

.btn-danger:hover, .btn-danger:focus {
    background-color: #c9302c;
    border-color: #ac2925;
}

.btn-warning {
    background-color: #f0ad4e;
    border-color: #eea236;
}

.btn-warning:hover, .btn-warning:focus {
    background-color: #ec971f;
    border-color: #d58512;
}

.btn-info {
    background-color: #5bc0de;
    border-color: #46b8da;
}

.btn-info:hover, .btn-info:focus {
    background-color: #31b0d5;
    border-color: #269abc;
}

.btn-secondary, .btn-default {
    background-color: #fff;
    border-color: #ccc;
    color: #333;
}

.btn-secondary:hover, .btn-default:hover {
    background-color: #e6e6e6;
    border-color: #adadad;
    color: #333;
}

/* Tables - more compact like Bootstrap 3 */
.table {
    font-size: 14px;
}

.table > :not(caption) > * > * {
    padding: 8px;
}

.table-sm > :not(caption) > * > * {
    padding: 5px;
}

/* Form controls */
.form-control {
    border-radius: 4px;
    font-size: 14px;
    padding: 6px 12px;
    height: 34px;
}

.form-control-sm {
    height: 30px;
    padding: 5px 10px;
    font-size: 12px;
}

/* Input groups */
.input-group-text {
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 4px;
}

/* Navbar adjustments */
.navbar {
    padding: 0;
    min-height: 50px;
}

.navbar-brand {
    padding: 15px;
    font-size: 18px;
    line-height: 20px;
}

.nav-link {
    padding: 15px;
}

/* Accordion - more compact */
.accordion-button {
    padding: 10px 15px;
    font-size: 14px;
}

.accordion-body {
    padding: 15px;
}

/* Breadcrumb */
.breadcrumb {
    background-color: #f5f5f5;
    padding: 8px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 14px;
}

.breadcrumb li {
    display: inline;
}

.breadcrumb li + li:before {
    content: "/ ";
    padding: 0 5px;
    color: #ccc;
}

/* Alerts */
.alert {
    border-radius: 4px;
    padding: 15px;
}

/* Badges/Labels - Bootstrap 3 style */
.badge {
    font-size: 12px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 10px;
}

/* Cards (panels) */
.card {
    border-radius: 4px;
}

.card-header {
    padding: 10px 15px;
    font-size: 14px;
}

.card-body {
    padding: 15px;
}

/* Dropdowns */
.dropdown-menu {
    font-size: 14px;
    border-radius: 4px;
}

.dropdown-item {
    padding: 3px 20px;
}

/* Modal adjustments */
.modal-content {
    border-radius: 6px;
}

/* Well replacement (card with bg-light) */
.card.bg-light {
    background-color: #f5f5f5 !important;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
}

/* Pagination - Bootstrap 3 style */
.pagination {
    display: inline-flex;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

.pagination > .page-item > .page-link,
.pagination > li > a,
.pagination > li > span {
    position: relative;
    padding: 6px 12px;
    line-height: 1.42857143;
    text-decoration: none;
    color: #337ab7;
    background-color: #fff;
    border: 1px solid #ddd;
    margin-left: -1px;
}

.pagination > .page-item:first-child > .page-link,
.pagination > li:first-child > a,
.pagination > li:first-child > span {
    margin-left: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.pagination > .page-item:last-child > .page-link,
.pagination > li:last-child > a,
.pagination > li:last-child > span {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.pagination > .page-item > .page-link:hover,
.pagination > .page-item > .page-link:focus,
.pagination > li > a:hover,
.pagination > li > a:focus {
    z-index: 2;
    color: #23527c;
    background-color: #eee;
    border-color: #ddd;
}

.pagination > .page-item.active > .page-link,
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
    z-index: 3;
    color: #fff;
    background-color: #337ab7;
    border-color: #337ab7;
    cursor: default;
}

.pagination > .page-item.disabled > .page-link,
.pagination > .disabled > span,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus {
    color: #777;
    background-color: #fff;
    border-color: #ddd;
    cursor: not-allowed;
}

/* Dashboard Due Items - fixed column widths across tables */
.table-fixed-due {
    table-layout: fixed;
    width: 100%;
}

/* Charge report detail rows - alternating stripes */
.table-striped-row:nth-child(odd) {
    background-color: #f9f9f9;
}

.table-striped-row:nth-child(even) {
    background-color: #fff;
}
