/* ALL WEBSITE */

 p {
  margin: 1.5rem 0;
}

hr {
  margin: 2rem 0;
}

.dataTables_wrapper .dataTables_filter input {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/*HOME START*/

/* Quick-links button bar on the home page */
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.quick-links .btn {
  font-size: 0.9rem;
}

/* Back to top link under each section heading */
.back-to-top {
  display: inline-block;
  font-size: 0.8rem;
  color: #6c757d;
  text-decoration: none;
  margin-bottom: 0.5rem;
}

.back-to-top:hover {
  color: #343a40;
  text-decoration: underline;
}
.projects-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.project-card {
  width: 300px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1rem;
  background: #fff;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.project-card img {
  width: 100%;
  border-radius: 4px;
}

/* HOME END */

/* Make the content area wider on desktops */
.wrapper {
  max-width: 1200px; /* You can go up to 1440px if you like */
  margin: 0 auto;
  padding: 1.5rem;
}

/* Still looks nice on tablets */
@media (max-width: 1024px) {
  .wrapper {
    max-width: 90%;
  }
}

/* On phones, take up almost the full screen */
@media (max-width: 768px) {
  .wrapper {
    max-width: 95%;
    padding: 1rem;
  }
}

#dataTable thead th {
  position: sticky;
  top: 0;
  background-color: #f2f2f2; /* Change the background color as needed */
  z-index: 100;
}
  
table {
  border-collapse: collapse;
  width: 100%;
  margin-top: 20px;
}

th,
td {
  border: 1px solid #dddddd;
}

h2 {
  margin-top: 20px;
}

label {
 /* display: block;*/
  margin-top: 10px;
  margin-bottom: .5rem;
}


.checked {
  text-decoration: line-through;
}

td.dataTables_empty {
  text-align: left !important;
}
.dataTables_wrapper .dataTables_filter {
    float: left !important;
    text-align: left !important;
}
.dt-button-collection {
    margin-top: 10px !important;
}

/* Sign up for update form at bottom of each page */

.feedback-section {
  background-color: #f5f5f5;
  padding: 3rem 1rem;
  text-align: center;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.feedback-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.form-wrapper {
  max-width: 720px;
  margin: 0 auto;
}

.form-wrapper iframe {
  width: 100%;
  height: 500px;
  border: none;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.post-content img {
  display: inline;        /* make sure it’s a block-level element */
  margin: 1.5rem auto;   /* 1.5rem top & bottom, auto left & right */
}

/* BEGIN EarlyON Page */
/* Base alert  */
.alert {
  position: relative;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}

/* Danger variant */
.alert-danger {
  color: #842029;
  background-color: #f8d7da;
  border-color: #f5c2c7;
}

/* Margin-top spacing (mt-3) */
.mt-3 {
  margin-top: 1rem !important;
}

/* light grey every other row */
#dataTable tbody tr:nth-child(odd) td {
  background-color: #f9f9f9;
}

/* white on the alternating rows */
#dataTable tbody tr:nth-child(even) td {
  background-color: #ffffff;
}

/* END EarlyON page */

/* START ACRONYM GAME */



.form-control {
    display: block;
    width: 100%;
    padding: 5px 10px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.btn {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.btn-success {
    color: #fff;
    background-color: #198754;
    border-color: #198754;
}

.btn-info {
    color: #000;
    background-color: #0dcaf0;
    border-color: #0dcaf0;
}

.btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-warning {
  color: #212529;
  background-color: #ffc107;
  border-color: #ffc107;
}

.form-select {
    display: block;
    width: 100%;
    padding: .375rem 2.25rem .375rem .75rem;
    -moz-padding-start: calc(0.75rem - 3px);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e);
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.text-info {
    --bs-text-opacity: 1;
    color: rgba(var(--bs-info-rgb), var(--bs-text-opacity)) !important;
}


/* END ACRONYM GAME */

/* START LIA CALCULATOR */

.alert-info {
  color: #0c5460;
  background-color: #d1ecf1;
  border-color: #bee5eb;
}

.btn-primary {
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
}

/*label {
  display: inline-block;
  margin-bottom: .5rem;
}*/

.form-group {
  margin-bottom: 1rem;
}

/* END LIA CALCULATOR */

/* Old Category styling */

/*.project-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.project-card {
  border: 1px solid #ddd;
  padding: 1rem;
  border-radius: 0.5rem;
  background: #fff;
  transition: box-shadow 0.2s;
}

.project-card:hover {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.project-card img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}*/

/* START OF ALL WEBSITES WITH A FORM FOR FILTERS*/


/* — each “row” of label + control — */
.form-group.row {
  display: flex;
  align-items: flex-start;   /* keep items top-aligned */
  margin-bottom: 1.5rem;
}

/* — labels (col-sm-2) — */
.col-form-label {
  flex: 0 0 20%;
  font-weight: 600;
  padding-right: 0.5rem;
}

/* — input container (col-sm-10) — */
.col-sm-10 {
  flex: 1;
  max-width: 80%;
}

/* — date-picker styling — */
input[type="date"] {
  
  width: auto;
  min-width: 140px;    /* never smaller than 140px wide */
  min-height: 40px;  /* about 40px tall */
  
}

/* — stack all checkboxes vertically — */
.col-sm-10 .checkbox {
  display: block;
  margin-bottom: 0.5rem;
}

/* — checkbox label + input alignment — */
.checkbox label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}
.checkbox input[type="checkbox"] {
  margin: 0;
}



/* END OF ALL WEBSITES WITH A FORM FOR FILTERS */

/* START CSPS */

.callout{
  border:1px solid #ccc; 
  padding:1rem; 
  margin-bottom:2rem; 
  background-color:#f9f9f9; 
  border-radius:6px;
}

/* Make the .video container full-width and maintain a 16:9 aspect ratio */
.video {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  /* 56.25% = 9 ÷ 16 × 100 */
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

/* Absolutely position the iframe to fill its parent */
.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Just adding boostrap btn hover code */

.btn:hover {
  /*color: #212529;*/
  text-decoration: none;
}
.btn-primary:hover {
  color: #fff;
  background-color: #0069d9;
  border-color: #0062cc;
}

a.btn-primary:visited {
  color: #fff ;       /* default .btn-primary text color */
}

.btn-warning:hover {
  color: #212529;
  background-color: #e0a800;
  border-color: #d39e00;
}

a.btn-warning:visited {
  color: #212529 ;    /* default .btn-warning text color */
}

.btn-danger:hover {
  color: #fff;
  background-color: #c82333;
  border-color: #bd2130;
}

.btn-success:hover {
  color: #fff;
  background-color: #218838;
  border-color: #1e7e34;
}

a.btn-success:visited {
  color: #fff ;      
}


.btn:focus, .btn:hover {
  text-decoration: none;
}


.btn-danger {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

a.btn-danger:visited {
  color: #fff ;       
}

/* BEGIN ALERT (STYLE GUIDE) */

.admonition {
  border-left: 4px solid #ccc;
  padding: 1em;
  margin: 1em 0;
  background: #f9f9f9;
  border-radius: 6px;
  display: flex;
  align-items: flex-start;
  gap: 0.5em;
}

.admonition-icon {
  font-size: 1.5em;
  line-height: 1;
}

.admonition.note { border-color: #2196f3; }
.admonition.tip { border-color: #4caf50; }
.admonition.important { border-color: #9c27b0; }
.admonition.warning { border-color: #ff9800; }
.admonition.caution { border-color: #f44336; }


/* END ALERT */


/* BEGIN EMAIL EXTRACTOR */

button, textarea{
    font-family: inherit;
}

/* END EMAIL EXTRACTOR */

/* reset for paragraphs in footer columns */
.footer-col p {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

/* START TIME DIFF */

.time-inputs > label {
    display: inline-block;
    margin-bottom: .5rem;
}

.button-group {
  margin-top: 1.5rem;  /* Adjust as needed */
  margin-bottom: 1.5rem;
}


/* END TIME DIFF */

/* BEGIN MAP*/

#map {
    margin-top: 1em;
}

/* END MAP */