﻿/* Body Styling */
body {
    padding-top: 50px;
    padding-bottom: 20px;
    font-size: small;
    /*font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;*/
    border-style: solid;
    border: 1px solid lightgray;
}

/* Body Content Padding */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Header Styling */
h2 {
    font-size: 27px;
    margin-top: 8px;
}

h3 {
    font-size: 21px;
}

h4 {
    font-size: 17px;
}

/* Container Styling */
.container {
    max-width: 1200px;
    width: 1200px;
}

/* Dropdown Menu */
.dropdown-menu {
    list-style: none;
    font-size: 13px;
    text-align: left;
}

/* Panel Styles */
.panel-heading {
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    background-color: #337ab7;
    color: white;
    font-weight: bold;
}

.panel-body {
    padding: 5px;
}

.panel-default {
    border: 1px solid lightgray;
    margin-bottom: 18px;
}

/* Badge Styling */
.badge-primary {
    color: #fff;
    background-color: #337ab7;
}

/* Form Inline */
.form-inline > * {
    margin: 5px 3px;
}

/* Button Styling */
.btn {
    font-size: small;
}

.btn-primary {
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
}

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

/* Navbar Override */
.navbar-dark .navbar-nav .nav-link {
    color: #f8f9fa;
}

    .navbar-dark .navbar-nav .nav-link:hover {
        color: #ffffff;
    }

.navbar-brand {
    font-size: 17px;
}

/* Table */
.table {
    margin-bottom: 5px;
}

    .table td, .table th {
        padding: 8px;
    }

/* Form Control */
.form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

/* Description List */
.dl-horizontal dt {
    white-space: normal;
}

/* Max width for form-control */
.form-control-maxlength {
    max-width: 220px;
}

/* Jumbotron Styling */
.jumbotron-transparent {
    padding-top: 30px;
    padding-bottom: 30px;
    margin-bottom: 30px;
    color: inherit;
    background-color: transparent;
}

/* Label Override */
label {
    font-weight: normal !important;
}

/* Warning Indicators */
div.warningprobate, div.warningrefresh, div.warningbankruptcy {
    width: 10px;
    height: 10px;
    display: inline-block;
    padding: 5px;
}

div.warningprobate {
    background-color: purple;
}

div.warningrefresh {
    background-color: red;
}

div.warningbankruptcy {
    background-color: blue;
}

/* Collapsible Styling */
.collapsible {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
}

    .active, .collapsible:hover {
        background-color: #ccc;
    }

/* Collapsible Content */
.content {
    padding: 0 18px;
    display: none;
    overflow: hidden;
    background-color: #f1f1f1;
}

/* Modal */
.modal-lg {
    max-width: 50% !important;
}

/* Table Styling (specific to .mvc-grid-table) */
/*.mvc-grid-table .table-dts {*/
/* Custom table style for DTS with striped rows */
/* Custom table style for DTS with striped rows */
/* Basic Table Grid Style */
/* Basic Table Grid Style */
/* Custom table style with higher specificity to override mvc-grid.css */
.mvc-grid-table .table-dts {
    width: 100%; /* Make the table take the full width */
    border-collapse: collapse; /* Ensures borders collapse properly */
}

    /* Remove Borders from Table Rows and Cells */
    .mvc-grid-table .table-dts td, .mvc-grid-table .table-dts th {
        border: none; /* No borders for both table rows and cells */
        padding: 8px; /* Add some padding inside the cells */
        text-align: left; /* Left-align text inside cells */
    }

    /* Add Borders Only to Header Cells */
    .mvc-grid-table .table-dts th {
        border-bottom: 1px solid #000; /* Bold bottom border for header */
        background-color: #faf9fa; /* Optional: Light background color for header */     
    }

    /* Striped Rows */
    .mvc-grid-table .table-dts tr:nth-child(even) {
        background-color: #f9f9f9; /* Light gray for even rows */
    }

    .mvc-grid-table .table-dts tr:nth-child(odd) {
        background-color: #ffffff; /* White for odd rows */
    }

.table {
    --bs-table-bg: transparent !important; /* Force transparent background */
}

/*.form-control.specific-textarea {
    height: 100% !important;
    resize: both;
}*/

.form-control.specific-textarea {
    resize: vertical; /* Allow vertical resizing */
    min-height: calc(1.5em * 5); /* Adjusts for 5 rows (1.5em per row approx.) */
    max-height: 500px; /* Optional: Set a maximum height */
    height: auto; /* Ensures it can expand */
}


/* Custom style for card header */
.card-header-dts {
    background-color: #337ab7; /* Change this to your desired color */
    color: white; /* Text color */
    padding: 10px; /* Padding for better spacing */
    border-bottom: 1px solid #007bff; /* Optional: border color */
}

/* Add margin to the card elements */
.card {
    margin-bottom: 10px; /* Adjust the value as needed */
}

/* Custom style for reducing table cell padding in the Property Information card */
.table-no-padding td, .table-no-padding th {
    padding: 0rem; /* Adjust the value as needed */
}

/* Badge Styling */
.bg-primary {
    color: #fff;
    background-color: #337ab7 !important;
}

.checkbox-container label {
    margin-right: 2px; /* Adjust the value as needed */    
}