﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.d-none {
    display: none;
}

h4, .h4 {
    font-family: "Poppins", "Helvetica Neue", Arial, sans-serif !important;
    font-weight: 600 !important;
}
/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.PGrid {
    margin: 2%;
    border-collapse: collapse;
    width: 95%;
}

.Header {
    font-weight: bold;
    text-decoration: none;
}

.PGrid th, .PGrid td {
    border: 1px solid #999999;
    padding: 5px;
}

.altRow {
    background-color: #dddddd;
}
.pagebg {
    background-color: #F5EFE7; /*#F1EFE8;*/
}


.form-floating label > span {
    transition: opacity 250ms 0ms ease-in-out;
}

.form-floating > .form-control:not(:placeholder-shown) ~ label > span {
    display: none;
}

input.form-control {
    max-width: 100%;
    min-width: 220px;
}

.short-text {
    max-width: 240px !important;
}

input#UserName, input#Name, input#Size, label {
    max-width: 240px;
}

input#Email {
    max-width: 320px;
}

.w-340 {
    width: 340px !important;
}

.w-260 {
    width: 260px !important;
}

.form-control select {
    max-width: 240px;
    min-width: 200px;
}


table.dataTable {
    background: white;
}

table.dataTable .btn {
    border-radius: 30px;
}

.dt-label {
    display: none;
}

.modal-header {
    background-color: white !important;
}

.modal-body {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

/*
    this .hr-text stuff is for an hr with text embedded and a tapering line on either end of the string
*/
.hr-text {
    line-height: 1em;
    position: relative;
    outline: 0;
    border: 0;
    color: black;
    text-align: center;
    height: 1.5em;
    opacity: .5;
}

    .hr-text::before {
        content: '';
        // use the linear-gradient for the fading effect // use a solid background color for a solid bar background: linear-gradient(to right, transparent, #818078, transparent);
        background: linear-gradient(to right, transparent, #818078, transparent);
        position: absolute;
        left: 0;
        top: 50%;
        width: 100%;
        height: 1px;
    }

    .hr-text::after {
        content: attr(data-content);
        position: relative;
        display: inline-block;
        color: black;
        padding: 0 .5em;
        line-height: 1.5em;
        // this is really the only tricky part, you need to specify the background color of the container element... color: #818078;
        background-color: #fcfcfa;
    }

/* spinner control */
.spinner-container {
    position: fixed;
    width: 100%;
    height: 100%;
    margin: auto;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 10;
    display: none;
}

.spinner-border {
    margin-left: 48%;
    margin-top: 30%;
    color: gray;
}

@media (max-width: 576px) {
    .image-container img {
        width: 100px !important;
    }

    div.dates-div {
        display: none;
    }

    .dataTable thead {
        display: none;
    }

    .dataTable tr { /* Target table rows */
        display: flex; /* Make rows display as flexbox units */
        flex-direction: column; /* Arrange cells vertically */
        border: 1px solid #ddd; /* Optional: add borders for separation */
        margin-bottom: 1em;
    }

    .dataTable td, .dataTable th { /* Target table cells */
        padding: 10px; /* Adjust padding as needed */
        text-align: left; /* Align cell text to the left */
        border-bottom: 1px solid #ddd; /* Optional: add bottom borders */
    }

    .dt-label {
        display: inline;
    }
}

