﻿html, body {
    height: 100%;
    margin: 0;
}

body {
    color: #336600 !important;
    font-size: 16px !important;

    background-image: url('../images/bg_img.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}
.customs-yesno {
    width: 20px;
    height: 20px;
}
footer {
    padding: 1em 0;
}

.container.body-content {
    background: #FFF;    
}
#header {
    background: #336600;
}
#header h1{
   color: #fff;
}
    #header h3 {
        color: #fff !important;
        font-size: 24px !important;
    }
.hidden{
    display:none;
}
main{
background-color:white !important;

}
.form-group {
    margin-bottom: 1rem !important;
}
.detail-list dt {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.detail-list dd {
    margin-bottom: 0.5rem;
}

#internalButton {
    margin-right: 1rem;
}


/* Home Page Start */
/* Site-ad Background */
.site-ad {
    background-image: url('../images/pastel-green.png');
    background-size: cover;
    background-repeat: no-repeat;
    padding: 15px;
    border-radius: 10px;
}

/* Top Section */
.top-section img {
    max-width: 250px;
    height: auto;
}

.top-section h2 {
    font-weight: bold;
    text-align: center;
}

/* Card Styles */
.main-section .card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    background: none; /* Remove default white background from rows */
    margin-bottom: 1rem;
}

/* Number Column */
.number-col {
    border-radius: 0px 20px 20px 0px;
    background-color: #58575c;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .number-col h1 {
        font-size: 6rem; /* Increased size for taller numbers */
        margin: 0;
        color: #fedf12;
    }

/* Card Title */
.main-section .card .card-title {
    background-color: #58575c; /* Grey background */
    color: white;
    padding: 10px;
    margin: 0; /* Remove all margins */
    font-weight: bold;
    text-align: center;
    display: block; /* Ensure it spans the full width */
    width: 100%; /* Explicitly set to full width */
    box-sizing: border-box; /* Include padding in width calculation */
}

.main-section .card .card-body {
    padding-top: 0 !important; /* Remove extra spacing between title and body */
    padding-left: 0 !important;
    padding-right: 0 !important;
    font-size: 13px;
}

    .main-section .card .card-body a {
        text-decoration: none;
    }

    .main-section .card p {
       padding-top: 4px;
       padding-right: 3px;
       padding-left: 10px !important;
    }

/* Background Colors for Card Text */
.main-section .card:nth-child(1) .card-body {
    background-color: #bfe28e; /* Lime green for the first card */
    color: black; /* Ensure text is visible */
    border-radius: 0 0 10px 10px; /* Rounded corners for the bottom */
    padding: 15px;
}

.main-section .card:nth-child(2) .card-body {
    background-color: #246140; /* Forest green for the second card */
    color: white; /* Ensure text is visible */
    border-radius: 0 0 10px 10px; /* Rounded corners for the bottom */
    padding: 15px;
}

.main-section .card:nth-child(3) .card-body {
    background-color: #bfe28e; /* Lime green for the third card */
    color: black; /* Ensure text is visible */
    border-radius: 0 0 10px 10px; /* Rounded corners for the bottom */
    padding: 15px;
}

/* Bottom Section */
.bottom-section p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-align: center;
    color: black;
}

/* Images in Cards */
.main-section img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Responsive Design */
@media (max-width: 767px) {
    .col-2, .col-3, .col-7 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .number-col {
        margin-bottom: 1rem;
    }
}

/* Home Page End */

/* Sticky bottom action bar */
.sticky-actions {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #e0e0e0;
    padding: 0.5rem 1rem; /* reduced padding for mobile */
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem; /* smaller gap between buttons */
    z-index: 1000;
    justify-content: center; /* center buttons on mobile */
}

/* Buttons inside sticky-actions */
.sticky-actions .btn {
    flex: 1 1 auto; /* buttons take equal space but can shrink */
    min-width: 120px; /* avoids super tiny buttons */
    padding: 0.5rem 0.75rem; /* slightly smaller padding */
    font-size: 0.9rem; /* compact text */
}

/* Desktop: horizontal layout */
@media (min-width: 768px) {
    .sticky-actions {
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 1.5rem;
    }

        .sticky-actions .btn {
            flex: unset;
            min-width: unset;
            padding: 0.65rem 1rem;
            font-size: 1rem;
        }
}