/* Mobile-specific styles for the header */
@media (max-width: 768px) {
    .site-header {
        background-color: #000000;
        color: white;
        text-align: center;
        padding: 0px 0;
	height: auto!important;  /* Increase height for mobile */
    }

    .header-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: auto;
    }

    .logo-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .logo {
        max-height: 60px;
        margin-bottom: 10px;
    }

    .tagline {
        font-size: 1em;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .contact-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 1em;
    }

    .contact-container i {
        margin-bottom: 5px;
    }

 
}


.form-control {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    box-sizing: border-box;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    outline: none;
}

select.form-control {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%235F6369" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 40px;
}


.error-message {
            color: red;
            font-size: 14px;
            margin-top: 10px;
        }



.button-primary {
    background-color: #007BFF; /* Bootstrap primary color */
    color: white; /* White text */
    padding: 10px 15px; /* Padding */
    border: none; /* No border */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    width: 100%; /* Full width for mobile visibility */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Consistent shadow with the form */
}

.button-primary:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

/* Mobile-specific styles */

html, body {
  width: auto;
  overflow-x: hidden;
  color: #5F6369;
}

body {
  background-color: #f0f0f1;
}

.logos img {
  width: 100%;
  height: auto;
}

@media screen and (max-width: 600px) {
  .logo img {
    width: 85%;
    height: auto;
  }
}

/* Contact Number */
.contact-number a {
  text-align: center;
  width: 100%;
  font-family: Roboto, sans-serif;
  font-weight: bolder;
  font-size: 130%;
   
  text-decoration-thickness: 0.001em;
          color: yellow!important;
        text-decoration: none;
        font-weight: bold;
}

.contact-number a:hover {
  color: #999999!important;
}

/* Text Styles */
.qtext {
  font-size: 18pt;
  color: #5F6369;
}

h1, .h1

{
  font-size: 1.5em!important;
  padding-right: 33px;
  margin-top: -33px;
  line-height: 1.2;
  color: #000;
  font-family: "Roboto Slab", sans-serif;
  font-weight: 700 !important;
}

h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  line-height: 1.2;
  color: #000;
  font-family: "Roboto Slab", sans-serif;
  font-weight: 700 !important;
}

/* Header and Footer */
.site-header, .site-footer {
  width: 100vw;
  background-color: #003987;
  color: white;
  text-align: center;
  position: relative;
  margin: 0;
  left: 50%;
  right: 50%;
  transform: translateX(-50%);
}

.site-header {
  height: 110px;
  line-height: 40px;
}

.site-footer {
   background-color: #D8D9DB!important;
  height: auto;
  
}

.header-container, .contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px;
}

/* Container */
.container, .main-and-detail {
  width: 100%;
  padding: 0 10px;
  margin: 0 auto;
}

/* Appointment Header */
.appointment-header {
  padding: 15px;
  font-size: 18px;
  font-weight: bold;
  width: 100%;
  text-align: center;
}

/* Progress Bar */
.progress-and-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
}

.empty-area {
  width: 100%;
  background-color: #f0f0f1;
}

.pb-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.pb-section {
  width: 100%;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pb-checked-content, .pb-active-content, .pb-inactive-content {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 17px;
}

.pb-checked-content {
  color: #276EF1;
}

.pb-inactive-content {
  color: #5F6369;
}

.pb-checked-underline, .pb-active-underline, .pb-inactive-underline {
  width: 100%;
  height: 6px;
}

.pb-checked-underline {
  background-color: #276EF1;
}

.pb-inactive-underline {
  background-color: #CFD1D2;
}

.pb-separator {
  padding: 0 5px;
}

/* Main and Detail Panels */
.main-and-detail {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 0;
}

.main-content-area, .detail-panel {
  background-color: #fff;
  padding: 20px;
  width: auto;
  margin-bottom: 20px;
}

.main-content-area img {
  width: 100%;
  height: auto;
}

.detail-panel {
  width: 100%;
  background-color: #fff;
  padding: 15px;
  order: 2;
  position: relative;
  top: 0;
  align-self: flex-start;
  height: fit-content;
}

.detail-panel::before {
  content: "";
  display: block;
  height: 13px;
  background-color: #276EF1;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.service-details {
  display: flex;
  color: #276EF1;
  font-size: .99em;
  align-items: left;
  text-align: left;
  margin-top: 10px;
}

.service-info .label {
  font-size: 12px;
  color: #9FA2A5;
  margin-bottom: 5px;
}

.service-info .value {
  font-size: 16px;
  color: #333333;
  margin-bottom: 15px;
}

/* Spacers */
.AddRow105 {
  height: 105px;
}

.AddRow10 {
  height: 10px;
}

.AddRow35 {
  height: 35px;
}

/* Form Styles */
.zip-form, .dropbox-selection select, button[type="submit"] {
  width: 100%;
  max-width: 300px;
  margin: 10px 0;
}

button[type="submit"] {
  max-width: 200px;
}

.zip-form input[type="text"], .zip-form button, .dropbox-selection select {
  padding: 12px 20px;
  box-sizing: border-box;
  margin-bottom: 10px;
  width: 100%;
}

.zip-form button {
  background-color: #276EF1;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.zip-form button:hover {
  background-color: #1C4FB0;
}

.dropbox-selection label {
  display: block;
  margin-bottom: 5px;
  width: 100%;
}

.dropbox-selection select {
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
  background-color: white;
  color: #5F6369;
}

/* Service Selection */
.service-selection .button-group {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-button {
  padding: 10px;
  background-color: #276EF1;
  color: white;
  border: none;
  border-radius: 4px;
  text-align: center;
  text-decoration: none;
  margin-bottom: 10px;
  cursor: pointer;
  width: 100%;
}

.service-button:hover {
  background-color: #1C4FB0;
}



/* Back Button */
.back-button {
  text-transform: none !important;
  font-size: 12px;
  color: #000000;
  text-decoration: none !important;
  padding: 5px 1px;
  display: inline-flex;
  align-items: center;
  border-radius: 5px;
}

.back-button i {
  margin-right: 5px;
}

i.fas.fa-arrow-left + a.back-button {
  text-transform: none !important;
}

.footercstext
{
	font-size: 14pt;
	color: #5F6369;

}


/* Mobile-specific styles */
@media (max-width: 768px) {
    body, html {
        margin: 0;
        padding: 0;
        width: 100%;
        overflow-x: hidden;
    }

    form {
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }

    fieldset {
        width: 100%;
        box-sizing: border-box;
    }

    legend {
        width: 100%;
        text-align: left;
    }

    label {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    input[type="radio"] {
        margin-right: 10px;
    }

    /* Ensure buttons take full width on mobile */
    button, .button-primary {
        width: 100%;
        box-sizing: border-box;
    }

    .emergency-container, .non-emergency-container {
        width: 100%;
        padding: 10px;
        box-sizing: border-box;
    }

    .emergency-info, .emergency-message, .emergency-button {
        width: 100%;
        box-sizing: border-box;
        text-align: left;
    }

    .emergency-info > div, .non-emergency-container > div {
        display: flex;
        flex-direction: column;
        width: 100%;
        box-sizing: border-box;
    }

    .input-date, .select-time {
        width: 100%;
        padding: 10px;
        box-sizing: border-box;
        margin-bottom: 10px;
    }

    .emergency-header {
        text-align: center;
        font-weight: bold;
    }
}


