/***********************************************************************/
/*    Tony's Plumbing Co. Mobile Page Style 001                        */
/*    https://tonysplumbingco.com/m/css/mStyl001.css                   */
/*    Last Update: 03/11/2025                                          */
/*    Copyright (c) 2021 AUTHOR.Tony V.; Licensed 682234               */
/***********************************************************************/
html {
 background: #dffbff;
}
body, html {
 margin: 0;
 padding: 0;
 font-family: Arial, 'Nunito', sans-serif;
 color: #384047;   
}
a {
 text-decoration: none;
 color: inherit;
 cursor: default;
 background: none;
}
h1 {
 font-family: "Raleway", sans-serif;
 max-width: 600px;
 text-align: center;
 font-size: 2.5rem;
 letter-spacing: 0.1em;
 line-height: 1.1;
 font-weight: 500;
 text-transform: none;
 color: #215071;
 margin: 0 0 30px 0;
}
form {
 max-width: 400px;
 margin: 10px auto;
 padding: 5px 20px;
 background: white; /*#f4f7f8;*/
 border-radius: 8px;
}
input[type="text"], input[type="password"], input[type="date"], input[type="datetime"], input[type="email"], input[type="number"], input[type="search"], input[type="tel"], input[type="time"], input[type="url"], textarea, select {
 background: rgba(225, 225, 225, 0.9);
 border: none;
 font-size: 16px;
 height: auto;
 margin: 0;
 outline: 0;
 padding: 15px;
 width: 100%;
 background-color: #e8eeef;
 color: #8a97a0;
 box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03) inset;
 margin-bottom: 30px;
}
input[type="radio"], input[type="checkbox"] {
 margin: 0 4px 8px 0;
}
textarea{
    height: 200px;
}
select {
 padding: 6px;
 height: 32px;
 border-radius: 2px;
}
button {
 padding: 19px 39px 18px 39px;
 color: #FFF;
 background-color: #2b92c3;
 font-size: 18px;
 text-align: center;
 font-style: normal;
 border-radius: 5px;
 width: 100%;
 border-width: 0;
 margin-bottom: 10px;
}
 .button2{
 padding: 19px 39px 18px 39px;
 color: #FFF;
 background-color: slategray;
 font-size: 18px;
 text-align: center;
 font-style: normal;
 border-radius: 5px;
 width: 100%;
 border-width: 0;
 margin-bottom: 10px;
}
fieldset {
 margin-bottom: 30px;
 border: none;
}
legend {
 font-size: 1.4em;
 margin-bottom: 10px;
}
label {
 display: block;
 margin-bottom: 8px;
}
label.light {
 font-weight: 300;
 display: inline;
}
.header {
 background: #2b92c3;
 color: white;
 padding: .5em;
 text-align: center;
 position: fixed;
 width: 100%;
 font-size: 1.25em;
 z-index: 9999;
}
.GuarStamp {
 position: fixed;
 margin: 0;
 padding: 0;
 z-index: 99999;
 text-align: left;
}
.title-font {
 font-family: "Raleway", sans-serif;
 font-size: 30px;
 letter-spacing: 0em;
 line-height: 1.2;
 font-weight: 600;
 text-transform: none;
 display: block;
 font-style: normal;
 color: #2b92c3;
 text-align: center;
 background-color: #333;
 padding-top: 40px
}
.phoneNostyle {
 color: #2b92c3;
 font-size: 2.8rem;
 font-family: "Arial Black", Gadget, sans-serif;
 letter-spacing: 0em;
 font-weight: 700;
 line-height: 1.5;
}
.lit-box2 {
 font-family: "Raleway", sans-serif;
 color: aliceblue;
 font-size: 1.2rem;
 text-align: center;
 letter-spacing: 0.05em;
 line-height: 1.1;
 font-weight: 300;
 text-transform: none;
 padding: 30px;
 outline: 1px solid rgba(225, 252, 255, 0.5);
 outline-offset: -5px;
 background-color: #333;
}
.txtSty-01{
    color: #00C855;
    font-size: 20px;
    font-weight: 600;
}
.txtSty-02{
    color: #D12E30;
    font-size: 18px;
    font-weight: 500;
}
.p10{
    color: #2b92c3;
    font-size: 1.5rem;
}
.Spacer-1
{
  padding-bottom: 10px;
}
.Spacer-2 
{
  padding-top: 30px;
}

/* Footer */
.footer {
 text-align: center;
 padding: 1em;
 background: #2b92c3;
 color: white;
}
.center {
 display: flex;
 justify-content: center; /* Centers horizontally */
 align-items: center; /* Centers vertically */
 /*min-height: 100vh;  Ensures the viewport height is covered */
 margin: 0;
}
.subcard {
 color: #333333;
 font-family: "Raleway", sans-serif;
 font-size: 0.9rem;
 letter-spacing: 0.05em;
 line-height: 1.6;
 font-weight: 500;
 text-transform: none;
 text-align: left;
 padding: 1em;
 max-width: 600px;
 border-radius: 5px;
 background-color: white;
 outline: 1px solid #ccc;
 outline-offset: -5px;
 padding-left: calc(1.5rem * .75);
 padding-right: calc(1.5rem * .75);
}
.subcard h1 {
 color: #215071;
 font-size: 38px;
 padding: 0;
}
.subcard h2, h3 {
 color: #32a9bb;
 font-size: 24px;
 text-align: left;
 padding-left: 10px;
}
.subcard-Spacer {
 padding-left: calc(1.5rem * .75);
 padding-right: calc(1.5rem * .75);
 padding-top: calc(3.5rem * .75);
 padding-bottom: calc(3.5rem * .75);
}
/*Form Style*/
*, *:before, *:after {
 -moz-box-sizing: border-box;
 -webkit-box-sizing: border-box;
 box-sizing: border-box;
}

.number {
 background-color: #2b92c3;
 color: #fff;
 height: 30px;
 width: 30px;
 display: inline-block;
 font-size: 0.8em;
 margin-right: 4px;
 line-height: 30px;
 text-align: center;
 text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
 border-radius: 100%;
}
@media screen and (min-width: 480px) {
 form {
  max-width: 480px;
 }
}
/*Custom*/
select {
 height: 50px;
}
form-group {
 display: flex;
 flex-direction: column; /* Stacks the form items vertically */
}
.form-item {
 display: flex; /* Aligns each label and input in a row */
 align-items: center; /* Vertically aligns label and input */
 margin-bottom: -5px; /* Adds spacing between each form item */
}
label {
 min-width: 110px; /* Ensures labels are aligned to the left */
 margin-right: 10px; /* Adds space between label and input */
}
input {
 flex: 1; /* Allows the input to expand to fill available space */
}
/* Date picker Java Script Style */
input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    cursor: pointer;
}

#pickdate {
    background: url('https://tonysplumbingco.com/xml/calendarIcon01.svg') no-repeat right 10px center;
    background-size: 28px 28px;
    background-color: #e8eeef;
    padding-right: 40px;
    cursor: pointer;
    height: 50px;
    width: 200px;
    position: relative; /* Needed for overlaying */
}

#pickdate {
    transition: border 0.3s ease, background-color 0.3s ease;
}

/* Error input styling */
.input-error {
    border: 2px solid red;
    background-color: #ffe5e5;
}

/* Error message container */
.error-message {
    color: #D12E30;
    font-size: 1.2em;
    margin-top: 5px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.3s ease;
    height: 0;
    overflow: hidden;
}

/* Show the error smoothly */
.error-message.active {
    opacity: 1;
    height: auto;
}

/* Icon styling */
.error-icon {
    font-size: 1.2em;
}

    @keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}

.shake {
    animation: shake 0.4s ease;
}
/* Footer Style */
.background {
 position: absolute;
 z-index: -1;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
}
.footerUl ul {
 display: flex;
 list-style: none;
 padding: 0;
 margin: 0;
}
.socials {
 gap: 20px;
}
.socials a {
 font-size: 24px;
 color: aliceblue;
}
.legal {
 font-size: 12px;
 margin: 0;
}
footer {
 color: aliceblue;
 position: relative;
 left: 0;
 display: flex;
 width: 100%;
 height: 170px;
 background-color: #2b92c3;/* */
}
section {
 display: flex;
 flex-direction: column;
 justify-content: flex-end;
 gap: 30px;
 padding-bottom: 30px;
 padding-left: 60px;
 width: 100%;
}
@media (min-width: 421px) {
 section {
  align-items: center;
  padding-left: 0;
  gap: 20px;
 }
 .links {
  gap: 20px;
 }
}