#leadformModal .leadform-mt{
    margin-top: 32px;
}
.leadform-close-btn{
    background: url(/themes/custom/trugreen/assets_akqa/images/close-btn.svg) no-repeat;
    border: 0;
    width: 40px;
    height: 40px;
    background-position: center;
    margin: 0;
    box-shadow: none;
    position: absolute;
    top: 24px;
    right: 24px;
    padding: 0 !important;
    opacity: 1 !important;
}
#leadformModal .modal-content{
    padding: 24px 24px 40px 24px;
    border-radius: 16px;
    border: none;
}
#leadformModal .modal-title{
    color: #222;
    font-family: "DM Sans", sans-serif;
    font-size: 48px;
    font-weight: 500;
    line-height: 110%;
    letter-spacing: normal;
}
#leadformModal .modal-header{
    padding: 40px 3rem 0 2rem;
    border-bottom: 0;
}
#leadformModal .modal-body{
    padding: 1rem 3rem 1rem 2rem;
}
.modal-body .lead-subtxt{
    color:  #222;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
}
.modal-body .text-muted{
    color: #666 !important;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
}
#leadformModal .lead-form .form-label{
    color: #222;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 19.6px;
}
#leadformModal .lead-form .form-control{
    border-left: 0;
    border-right: 0;
    border-top: 0;
    border-radius: 0;
    padding: 0;
    border-bottom-color: #8C8C8C;
}

#leadformModal .lead-form .form-control:invalid{
    background-image: unset;
}

.lead-form .form-control:focus{
    box-shadow: none;
}
#leadformModal .checkbox-section .checkbox-txt{
    color: #222;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 150%; /* 24px */
    margin-bottom: 24px;
}
.checkbox-section label{
    color: #222;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 140%; /* 24px */
}
.checkbox-section .form-check-input{
    border: 1px solid #222222;
    border-radius: 3px;
    height: 18px;
    width: 18px;
}
#leadformModal .terms{
    color:#414141;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 150%; /* 18px */
    margin-bottom: 0;
}
#leadformModal .terms a {
    color: #00B140;
    text-decoration: underline;
}
.checkbox-group {
    margin-bottom: 20px;
}

#leadForm .submitBtn,#leadFormCustomeSupport .submitBtn {
    font-family: "Inter",sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 19.2px;
    text-align: center;
    color: #000000;
    background: #1EE576;
    max-width: 214px;
    width: 100%;
    border: none;
    border-radius: 40px;
    height: 48px;
}

.vertical-line {
    height: 100px;
    border-left: 1px solid rgba(202,202,202,1);
    position: relative;
    width: auto;
}
h3.or-txt {
    font-family: "Inter",sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 19.36px;
    letter-spacing: normal;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-50%,-50%);
    background: #fff;
    padding: 5px 0;
    color: #222222;
}

.call-details h3 span {
    color: #222222;
    font-family: "Inter",sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    text-align: center;
}
.call-hours{
    margin: 0;
}
.call-details .call-hours span.heca{
    color: #222;
    font-weight: 600;
}

.call-details .call-hours span{
    color: #414141;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 19.6px;
    text-align: left;
}

.call-details .call-hours span.lead-hours {
    font-weight: 600;
}

#leadformModal .invalid-fname-feedback,
#leadformModal .invalid-lname-feedback,
#leadformModal .invalid-bname-feedback,
#leadformModal .invalid-feedback-req,
#leadformModal .invalid-email-other,
#leadformModal .invalid-feedback-other,
#leadformModal .invalid-jobtitle-feedback
{
    color: #d1002f;
}

.invalid-fnamecs-feedback,.invalid-lnamecs-feedback,
.invalid-bnamecs-feedback,.invalid-feedback-req,
.invalid-emailcs-other,.invalid-feedback-other,
.invalid-jobtitlecs-feedback,.invalid-zipcodecs,
.invalid-addresscs,.invalid-zipcodecs-req,
.invalid-zipcodecs-other,.invalid-phonecs-req,
.invalid-phonecs-other,.invalid-mphonecs-req,
.invalid-mphonecs-other
{
    color: #d1002f;
}

.col-md-7.call-details.form-text p.call-hours span.heca {
    margin-top: 4px;
    margin-bottom: 4px;
    display: inline-block;
}
.col-md-7.call-details.form-text p {
    margin-bottom: 0;
}
.col-md-7.call-details.form-text h3 {
    margin-bottom: 0;
}

#leadformModal .modal-body::-webkit-scrollbar {
    width: 0;
    height: 0;
}
#leadformModal .modal-body p:has(.text-muted) {
    margin-bottom: 0;
    line-height: 18px;
}
#leadformModal .leadform-mt p {
    margin-bottom: 0;
}

.checkbox-group.checkbox-section .d-flex {
    gap: 16px;
}

.checkbox-group.checkbox-section .form-check.form-check-inline {
    display: flex;
    margin-right: 0;
    gap: 8px;
    align-items: flex-end;
}
#leadformModal .checkbox-section .checkbox-txt{
    margin-bottom: 24px;
}
.call-details .call-hours span.day {
    font-weight: 600;
}

#leadForm .submitBtn:hover,
#leadFormCustomeSupport .submitBtn:hover,
#leadFormCustomeSupport .submitBtn:focus,
#leadSuccessForm #btnDone:hover,
#leadForm .submitBtn:focus,
#leadSuccessForm #btnDone:focus {
    background-color:  #17B35C;
}

#leadformModal .call-now-mob.d-block:focus, 
#leadformModal .call-now-mob.d-block:hover {
    background-color: #292929;
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0; 
}

#block-trugreen-commercial-leadformpoup #leadformModal .btn-close {
    width: 40px;
    height: 40px;
}

@media screen and (min-width: 768px) {
    #leadformModal .lead-form .vertical-line .or-txt {
        left:-10% !important;
    }

    #leadformModal .lead-form .row.form-last-section {
        display: flex;
        align-items: center;
    }
    .form-last-section .col-md-1{
        width: 6%;
        padding: 0 24px;
    }
}
/* Media Queries for Mobile View */
@media screen and (max-width: 767px) {
    .leadform-mt {
        margin-top: 24px;
    }
    #leadformModal .modal-header{
        
        padding: 40px 1rem 0;
    }
    #leadformModal .modal-body{
        padding: 1rem 1rem 0;
    }
    #leadformModal .leadform-close-btn{
        right: 3vh;
        padding: 5px;
        top: 4vh;
    }
    .leadform-close-btn{
        right: 16px;
        padding: 5px !important;
    }
    #leadformModal .modal-content{
        padding: 24px 0;
    }
    #leadformModal .modal-body{
        height: 62vh;
        overflow-y: scroll;
        scrollbar-width: thin;
    }
    #leadformModal .call-now-mob.d-block {
        background: #000000;
        color: #fff;
        width: 100%;
        display: block !important;
        padding: 16px 0;
        border-radius: 40px;
        text-align: center;
        text-decoration: none;
        margin-bottom: 26px;
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: 19.2px;
        text-transform: capitalize;
        font-family: "Inter", sans-serif;
    }
    #leadForm .submitBtn,#leadFormCustomeSupport .submitBtn{
        max-width: 100%;
    }
    #leadForm .call-hours{
        text-align: center;
    }
    #leadForm .form-last-section .vertical-line{
        height: auto;
        border-top: 1px solid rgba(202, 202, 202, 1);
        border-left: none;
        margin: 26px auto !important;
        width: calc(100% - 77px);
    }
    #leadForm .form-last-section .vertical-line .or-txt{
        left: 50%;
        padding: 0 8px;
    }
    #leadForm .call-details h3{
        display: none !important;
    }

    #leadformModal .modal-content p {
        margin-bottom: 0;
    }
    #leadformModal .modal-body p:has(.text-muted) {
        margin-top: 16px;
        margin-bottom: 24px !important;
    }
    #leadformModal .leadform-mt{
        margin-top: 30px;
    }
    form#leadForm .col-md-6.leadform-mt:first-child {
        margin-top: 0;
    }
    #leadformModal .row.leadform-mt.form-last-section{
        margin-top: 24px;
    }
    #leadformModal .checkbox-section .checkbox-txt{
        margin-bottom: 24px;
    }
}
@media only screen and (min-width: 600px) and (max-width: 767px) {
    .service-lawn-care-page form#leadSuccessForm .default-btn .primary-btn {
        width: 158px !important;
    }
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
    #block-customersupportblock div#customerSupportForm label.form-label[for="phonecs"], 
    #block-customersupportblock div#customerSupportForm label.form-label[for="mphonecs"] {
        height: 37px;
    }
    #block-customersupportblock .lead-form input[type="text"], 
    #block-customersupportblock .lead-form input[type="email"], 
    #block-customersupportblock .lead-form input[type="number"] {
        font-size: 15px;
    }
    #leadformModal .modal-dialog{
        max-width: 600px !important;
    }
    #block-customersupportblock .ThankYou .thanks-btn button {
        width: 158px;
    }

    #leadformModal .row.leadform-mt.form-last-section {
        flex-wrap: nowrap;
    }
}

@media only screen and (max-width: 991px){
    span.get-free, span.get-no {
        display: block;
    }
}

@media only screen and (max-width: 600px){
    form#leadForm ul.typeahead.dropdown-menu {
        top: 570px !important;
    }
    #leadformModal .modal-title{
        font-size: 36px;
        line-height: 38.52px;
    }
}