﻿/* Move down content because we have a fixed navbar that is 50px tall */
body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="select"] {
    max-width: 280px;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .jumbotron {
        margin-top: 20px;
    }
    .body-content {
        padding: 0;
    }
}

/* Sky-Bell light blue panel */
.panel-skybell {
    background: rgba(210, 230, 255, 0.6); /* light Sky-Bell blue with slight transparency */
    border-radius: 12px; /* rounded edges */
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08); /* soft shadow */
    padding: 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.05); /* subtle border */
    backdrop-filter: blur(2px); /* optional glass effect */
}

/* Header inside panel */
.panel-skybell-title {
    font-weight: 600;
    color: #1d40b3; /* darker Sky-Bell blue for contrast */
    margin-bottom: 0.75rem;
}

/* Optional darker variant */
.panel-skybell-dark {
    background: rgba(150, 200, 255, 0.92); /* slightly deeper Sky-Bell blue */
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    padding: 1.25rem;
}

.top-left-dropdown {
    position: absolute; /* fix it to page */
    top: 10px; /* distance from top */
    left: 10px; /* distance from left */
    z-index: 1050; /* above other content */
}

.fixed-top-left-dropdown {
    position: fixed; /* fixed to viewport */
    top: 0; /* flush with top */
    left: 0; /* flush with left */
    z-index: 1050; /* above most content */
    margin: 0; /* remove any margin */
    padding: 5px; /* optional small padding */
}

/* Panel wrapper (optional) */
.gridview-lightblue {
    background-color: rgba(173, 216, 230, 0.2); /* light blue with slight transparency */
    border-radius: 8px; /* rounded corners */
    padding: 10px; /* spacing around table */
    border: 1px solid rgba(173, 216, 230, 0.5); /* subtle border */
    overflow-x: auto; /* scroll if table too wide */
}

    /* Override Bootstrap table colors */
    .gridview-lightblue .table {
        background-color: transparent; /* inherit panel transparency */
        border-radius: 8px;
        overflow: hidden;
    }

        /* Header row */
        .gridview-lightblue .table thead th {
            background-color: rgba(173, 216, 230, 0.6);
            color: #0a3d62; /* dark blue text */
            border-bottom: 1px solid rgba(0,0,0,0.1);
        }

        /* Table body rows */
        .gridview-lightblue .table tbody tr {
            background-color: rgba(173, 216, 230, 0.15);
        }

    /* Hover effect */
    .gridview-lightblue .table-hover tbody tr:hover {
        background-color: rgba(173, 216, 230, 0.35);
    }

    /* Alternating rows (striped) */
    .gridview-lightblue .table-striped tbody tr:nth-of-type(even) {
        background-color: rgba(173, 216, 230, 0.1);
    }

/* Panel styling */
.gridview-lightblue {
    background-color: rgba(173, 216, 230, 0.2); /* light sky-blue with transparency */
    border-radius: 10px;
    padding: 10px;
    overflow: hidden; /* hides extra content outside rounded corners */
}

/* Scrollable GridView wrapper */
.gridview-scroll {
    width: 100%;
    overflow-x: auto; /* horizontal scroll if needed */
    -webkit-overflow-scrolling: touch; /* smooth scroll on mobile */
}

/* Optional: make table at least 600px so it scrolls nicely on small screens */
.gridview-scroll .table {
    min-width: 600px;
    width: 100%;
}

/* Optional: style table headers to match sky-blue theme */
.gridview-scroll .table thead th {
    background-color: #87cefa; /* sky-blue */
    color: #000;
}