
html {
    scroll-behavior: smooth;
    min-height: 100%;
}

body {
    /*    margin-bottom: 60px;
*/
}

main {
    margin-top: -1rem;
    min-height: calc(100vh - 207px);
    padding: 1rem;
    background-color:#fdfbec;
}

/*html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}
*/

h2 {
    color: #993300;
    font-size: 1.0em !important;
}


@media (min-width: 1200px) {
    h1 {
        font-size: 2.0rem !important;
    }
}

h1 {
    color: #993300;
}

@media (min-width: 1200px) {
    h2 {
        font-size: 1.3rem !important;
    }
}

footer {    
    text-align: center;
    padding: 4px 0 4px 0;
    font-size: 16px;
    width: 100%;
    color: white !important;
    border: thin solid #000000;
    background: linear-gradient(to bottom right, rgba(20, 51, 18, 1), rgba(37, 157, 33, 1), rgba(4, 37, 6, 1)); /* Standard syntax */
    box-sizing: border-box;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}


.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

nav {
    margin: 0 !important;
    color: white !important;
    width: 100% !important;
    padding: .5rem 1rem;
}

.navbar {
    color: white !important;
    background: -webkit-linear-gradient(left top, redrgba(36, 135, 8, 0.82), blue); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(bottom right, rgba(36, 135, 8, 0.82), blue); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(bottom right, rgba(20, 51, 18, 0.82), rgba(20, 51, 18, 0.82)); /* For Firefox 3.6 to 15 */
    background: linear-gradient(to bottom right, rgba(20, 51, 18, 1), rgba(37, 157, 33, 1), rgba(4, 37, 6, 1)); /* Standard syntax */
}

.navbar-brand {
    color: white !important;
    width: 70%;
    max-width: 395px;
    display: inline-block;
}

.navbar-nav {
    color: white !important;
}

    .navbar-nav .nav-link {
        color: white !important;
    }

.navbar > li {
    /*padding-top: 0px;
padding-bottom: 0px;*/
    color: white !important;
}

.navbar-collapse {
    border: none;
}

.nav > li > a {
    padding-top: 5px;
    padding-bottom: 10px;
    color: white;
    text-decoration: none;
    /*background-color:black*/
}

.nav-tabs .nav-link {
    background-color: green !important; /* Bootstrap blue */
    color: white;
    color: rgb(255, 255, 255, 1.55) !important;
    border: 2px solid #6c757d !important;
    margin-right: 4px;
}

    .nav-tabs .nav-link:hover {
        background-color: darkgreen !important; /* Darker blue on hover */
        color: white !important;
    }

    .nav-tabs .nav-link.active {
        background-color: darkgreen;
        color: white;
        font-weight: bold;
    }

.tab-title {
    color: darkred;
    font-family: proxima_nova_rgregular,Helvetica,Arial,sans-serif;
    font-size: 1.5em;
    font-weight: 500;
    line-height: 2;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.item-heading_group {
    color: #113850;
    display: inline-block;
    font-family: proxima_nova_rgregular,Helvetica,Arial,sans-serif;
    font-size: 1.125em;
    line-height: 1.66667;
    position: relative;
    text-transform: uppercase;
}

    .item-heading_group:after {
        background-color: #113850;
        bottom: -3px;
        content: "";
        display: inline-block;
        height: 3px;
        left: 0;
        position: absolute;
        width: 115%;
    }

.panel-group_header {
    /*    border-bottom: 3px solid rgba(232, 232, 232, 0.92);
*/ margin-bottom: 1.125em;
}

#myInfoTabs {
    border-bottom: 2px solid rgba(108, 117, 125, .5) !important;
    margin-right: 1rem;
}

/* Force collapsible sections to stack vertically */
.navbar .navbar-collapse {
    flex-direction: column !important;
    width: 100%;
}
/* Keep nav items horizontal inside each row */
.navbar .navbar-nav {
    flex-direction: row;
}


.gridspacing {
    padding: 30px !important;
}

.headerlogo {
    background: url("/images/ClarkeFarmLogo.png") no-repeat;
    height: 49px;
    width: 49px;
    display: inline-block;
}

.headerlogotext {
    background: url("/Images/LogoText.png") no-repeat;
    background-size: 100%;
    color: #000000;
    font-family: 'Tiranti Solid LET Plain', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 20px;
    font-weight: 600;
    display: inline-block;
    /*min-width:450px;*/
    clear: left;
    z-index: 800;
}

.list-group-item.active {
    background-color: #f0f0f0 !important;
    color: #212529 !important;
    border-color: #d0d0d0 !important;
}

.settings-wide {
    max-width: 600px;
}

.settings-medium {
    max-width: 400px;
}

.settings-small {
    max-width: 200px;
}

.form-label {
    font-weight: 500;
}
/* Heavier borders for all text inputs, selects, and textareas */
.form-control {
    border: 2px solid #6c757d; /* Bootstrap gray-600 */
    box-shadow: none;
    max-width: 350px;
}
    /* Heavier borders on focus */
    .form-control:focus {
        border-color: #495057; /* Bootstrap gray-700 */
        box-shadow: 0 0 0 0.15rem rgba(0, 0, 0, 0.1);
    }
/* Heavier borders for checkboxes */
.form-check-input {
    border: 2px solid #6c757d;
}
    /* Checkbox focus state */
    .form-check-input:focus {
        border-color: #495057;
        box-shadow: 0 0 0 0.15rem rgba(0, 0, 0, 0.1);
    }
/* Heavier borders for dropdowns */
.form-select {
    border: 2px solid #6c757d; /* Bootstrap gray-600 */
    box-shadow: none;
    max-width: 350px;
}
    /* Heavier borders on focus */
    .form-select:focus {
        border-color: #495057; /* Bootstrap gray-700 */
        box-shadow: 0 0 0 0.15rem rgba(0, 0, 0, 0.1);
    }

.form-floating > label {
    font-weight: 700
    /*background-color: rgb(231, 241, 255, 0) !important;*/ /* visually matches #e7f1ff */
    /*color: red !important;*/
}
/* No selection made (placeholder selected) */
.form-select:has(option[value=""]:checked) {
    background-color: white;
}
/* User has selected a real value */
.form-select:has(option:not([value=""]):checked) {
    background-color: #e7f1ff;
}

.card {
    background-color: #feffff !important;
}

    .card .card-homepage {
        background-color: #FCFED6 !important;
    }
    
    .card.poll-closed {
        background-color: #f7f6f2 !important; /* soft gray */
        border-color: #ddd;
        opacity: 0.95;
    }


.list-group-item-custom {
    border: 1px solid #6c757d; /* Bootstrap gray-600 */
    box-shadow: none;
    background-color: #FCFED6;
}


.news-body {
    border: 1px solid #6c757d; /* Bootstrap gray-600 */
    box-shadow: none;
    background-color: #FCFED6;
}

.scheduled-article {
    background-color: #fff8d6;
    border-left: 4px solid #e0b100;
}

/************************************************************************
* 
* Custom Buttons
*
************************************************************************/


.btn {
    white-space: nowrap;
}

.grnbtn {
    display: inline-block;
    border-radius: 6px;
    border: 1px ridge black;
    padding: .2em 1em;
    white-space: nowrap;
    line-height: 21px;
    font-size: 13px;
    color: #FFFFFF;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-weight: 200;
    text-decoration: none !important;
    background-image: linear-gradient(to bottom, #487c07, #659727, rgba(4, 37, 6, 1));
}

    .grnbtn:hover {
        background-image: linear-gradient(to bottom, #487c07, #487c07, rgba(4, 37, 6, 1));
        color: #FFFFFF;
    }

/* blue example */
.bluebtn {
    /* same base styles as above */
    display: inline-block;
    border-radius: 6px;
    border: 1px ridge black;
    padding: .2em 1em;
    white-space: nowrap;
    line-height: 21px;
    font-size: 13px;
    color: #FFFFFF;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-weight: 200;
    text-decoration: none !important;
    background-image: linear-gradient(to bottom, #007bff, #3395ff, #004a99);
}

    .bluebtn:hover {
        background-image: linear-gradient(to bottom, #007bff, #007bff, #003f80);
        color: #FFFFFF;
    }


/* Gray example */
.graybtn {
    /* same base styles as above */
    display: inline-block;
    border-radius: 6px;
    border: 1px ridge black;
    padding: .2em 1em;
    white-space: nowrap;
    line-height: 21px;
    font-size: 13px;
    color: #FFFFFF;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-weight: 200;
    text-decoration: none !important;
    background-image: linear-gradient(to bottom, #6e6e6e, #8a8a8a, #4a4a4a);
}

    .bluebtn:hover {
        background-image: linear-gradient(to bottom, #6e6e6e, #6e6e6e, #4a4a4a);
        color: #FFFFFF;
}




.file-selected {
    background-color: #e7f1ff; /* your light blue */
    border-color: #86b7fe; /* optional: matches Bootstrap focus blue */
}

/* Pagination Wrapping */
/* Allow wrapping like WordPress */
.wp-pagination .pagination {
    flex-wrap: wrap !important;
    justify-content: center;
    row-gap: 0.25rem; /* small vertical spacing between rows */
}
/* Make each page link behave like a WordPress page button */
.wp-pagination .page-item {
    margin: 2px; /* WordPress-like spacing */
}
    /* Optional: tighten the look of active page */
    .wp-pagination .page-item.active .page-link {
        z-index: 1;
        font-weight: 600;
    }
/* Custom Panel */
.custompanel {
    border: 2px solid #6c757d;
    border-radius: 6px;
    max-width: 450px;
    background-color: white;
    padding: 1rem;
}

.thumb {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 1px solid #ccc;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

    .thumb.selected-thumb {
        border: 2px solid black;
    }

.avatar-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 1px solid #ccc;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.photo-filename {
    max-width: 165px;
    margin: 0 auto;
    font-size: 0.75rem;
    line-height: 1.1;
    text-align: center;
    overflow-wrap: break-word;
    white-space: normal;
}

/* Container for the alpha filter */
/*.alpha-filter a,
.alpha-filter span {
    display: inline-block;
    width: 1.3rem;*/ /* Gives each letter a consistent box */
/*text-align: center;*/ /* Centers the letter horizontally */
/*position: relative;*/ /* Needed for the shadow effect */
/*padding-bottom: 2px;*/ /* Slight breathing room above underline */
/*}*/
/* Soft background shadow behind each letter */
/*.alpha-filter a::before,
    .alpha-filter span::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: .6rem;
        height: 1.2rem;
        background-color: #6c757d;*/ /* Very subtle shadow */
/*border-radius: 4px;
        transform: translate(-50%, -50%);
        z-index: -1;*/ /* Sits behind the letter */
/*}*/
/* Default letter sizing */

.alpha-filter a,
.alpha-filter span {
    display: inline-block;
    width: 1.0rem; /* Tight for letters */
    margin-right: 2px;
    text-align: center;
    position: relative;
    z-index: 1;
    padding-bottom: 1px;
}
    /* Background shadow */
    .alpha-filter a::before,
    .alpha-filter span::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 1rem;
        height: 1rem;
        background: rgba(0,0,0,0.06);
        border-radius: 4px;
        transform: translate(-50%, -50%);
        z-index: -1;
    }

/* Underline for clickable letters */
.alpha-filter a {
    text-decoration: underline;
    text-underline-offset: 3px;
}
/* SPECIAL CASE: the first <a> = "Show All" */
.alpha-filter > a:first-of-type {
    width: auto; /* Let it size naturally */
    padding: 0 8px; /* Give it breathing room */
    margin-right: 8px; /* Space before the A–Z letters */
}


/* Disabled letters */
.alpha-filter span {
    color: #aaa;
    text-decoration: none;
}

/* Highlight the selected letter */
.alpha-filter a.fw-bold {
    font-weight: 700 !important;
    color: var(--bs-primary) !important;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    --bs-table-striped-bg: #f7f7e6; /* light yellow */
    --bs-table-striped-color: #000; /* text color */
}

/* Override Bootstrap table cell styles */
.resident-table > :not(caption) > * > * {
    background-color: #ffffff54 !important;
    color: #333 !important;
    padding: 0.5rem 0.75rem;
}

/* Style your building header rows */
.resident-table .building-header {
    background-color: #e8f1ff !important;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Style resident rows */
.resident-table .resident-row {
    background-color: #ffffff !important;
    height: 60px;
}

    /* Hover effect */
    .resident-table .resident-row:hover {
        background-color: #f0f7ff !important;
    }


/************************************************************************
* 
* Forums
*
************************************************************************/

.thread {
    padding-top: 5px;
}

    .thread h3 {
        font-size: 1em;
        font-weight: bold;
        margin: 0;
        padding: 3px 1px 3px 1px;
        display: block;
    }

.forumrow {
    background-color: #FFFFCC;
    width: 100%;
}

.sectionrow td {
    border-bottom: solid 1px #feed9e;
    padding-top: 10px;
    font-size: 110%;
}

.forumrow .forumleftcell {
    border-left: solid 1px #feed9e;
}

/* the cells where edit\reply\quote are */
.threadcontrols {
    /*    border-bottom: solid 1px #CCCCCC;
*/ padding: 5px;
    vertical-align: bottom;
    text-align: center;
}

.topicdesc {
    margin: 2px 2px 6px 2px;
}

.postbody {
    /*    max-width: 560px;
*/ width: 80% !important;
    overflow: auto;
    padding: 10px;
    border: solid 1px #DDDDDD;
    margin-top: 5px;
    background-color: #FFFFFF;
}

.threadlistitem {
    color: #666666;
}

.threadlistlink {
    font-size: 105%;
    font-weight: bold;
}

.stickygrid caption {
    color: Teal;
    padding: 4px;
    font-weight: bold;
    border-top: solid 1px #FFFFFF;
    border-bottom: solid 1px #808080;
    border-left: solid 1px #FFFFFF;
    border-right: solid 1px #808080;
    text-align: left;
    margin-bottom: 2px;
}

.forumuser h3 {
    font-weight: bold;
    font-size: 1em;
}

.reply {
    margin-top: .5rem;
    border: 2px solid #ccc;
    border-radius: .6rem;
    padding: .5rem;
}

.reply-depth-0 {
    background-color: #feffe8;
}

.reply-depth-1 {
    background-color: #fffbd8;
}

.reply-depth-2 {
    background-color: #fbf5c4;
}

.reply-depth-3 {
    background-color: #f9e896;
}


#confirmDeleteButton:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#confirmDeleteButton:not(:disabled) {
    opacity: 1;
    cursor: pointer;
}

/*.breadcrumbs {
    align-items: center;
}
*/
.breadcrumbs {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.2;
    display: flex;
    height: .5em !important ;
}

    .breadcrumbs a {
        color: #0073e6;
        text-decoration: none;
    }

        .breadcrumbs a:hover {
            text-decoration: underline;
        }

.crumb-sep {
    font-size: 1.1rem !important;
    color: blue !important;
    font-family: Arial, sans-serif !important;
    display: inline-block !important;
}



/* END OF FILE MARKER */
