/***** Form css *****/
.anarock-form::before {
    content: "";
    min-height: 1em;
    font-size: 0.7em;
    margin-bottom: 1em;
}

.anarock-form[data-error]::before,
.anarock-form[data-success]::before,
.anarock-form[data-error]::after,
.anarock-form[data-success]::after {
    text-transform: uppercase;
    text-shadow: 0 0 1px #fff;
}

.anarock-form[data-error]::before {
    content: attr(data-error);
    color: red;
}

.anarock-form[data-success]::before {
    content: attr(data-success);
    color: green;
}

.ap-lead-form-cont {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.phone {
    display: flex;
    width: 24%;
}

.phone select {
    width: 118px;
    border-right: 0 !important;
    margin-right: -2px;
}
.phone input {
    margin-left: -2px;
    border-left: 0 !important;
    border-radius: 0 4px 4px 0;
}

#top-form {
/*    box-shadow: 0px 6px 15px #00000029;
    border: 1px solid #d5b87b;
    border-radius: 11px;
    padding: 20px;*/
}

input,
select {
    background-color: #fff !important;
    border: 1px solid gray !important;
    padding: 8px 12px;
}
input:focus-visible,
select:focus-visible {
    outline: none !important;
}

.anarock-btn-container .brown-btn {
    color: #fff !important;
    cursor: pointer;
}

#anarock-signup-form .ap-lead-form-cont {
    display: block;
}
#anarock-signup-form .ap-lead-form-cont .phone {
    width: 100% !important;
}
#anarock-signup-form .ap-lead-form-cont .phone input {
    width: 100% !important;
}
#anarock-signup-form .ap-lead-form-cont .phone select {
    width: 130px;
}

#anarock-signup-form .am-input-container {
    margin: 20px 0;
}

.step2-btn-container {
    padding-top: 20px;
    text-align: right;
}

.logo-header {
    display: block;
    position: relative;
    top: -5px;
}

.form-inner {
    z-index: 99;
}

@media only screen and (max-width: 1440px) {
    .ap-lead-form-cont {
        justify-content: space-between;
    }
    .phone {
        display: flex;
        width: 20%;
    }
}

@media only screen and (max-width: 1366px) {
    .logo-header {
        display: block;
        position: relative;
        top: 0;
    }
}

@media only screen and (max-width: 1024px) {
    .phone {
        display: flex;
        width: 30%;
    }

    .am-input-container {
        margin-right: 15px;
    }
}

/***** Form css *****/
.ap-lead-form-cont {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.phone {
    display: flex;
    width: 24%;
}

.phone select {
    width: 118px;
    border-right: 0 !important;
    margin-right: -2px;
}
.phone input {
    margin-left: -2px;
    border-left: 0 !important;
}

input,
select {
    background-color: #fefbf7 !important;
    border: 1px solid #ccc;
    padding: 8px 12px;
}
input:focus-visible,
select:focus-visible {
    outline: none !important;
}

.anarock-btn-container .brown-btn {
    color: #fff !important;
    cursor: pointer;
}

#anarock-signup-form .ap-lead-form-cont {
    display: block;
}
#anarock-signup-form .ap-lead-form-cont .phone {
    width: 100% !important;
}
#anarock-signup-form .ap-lead-form-cont .phone input {
    width: 100% !important;
}
#anarock-signup-form .ap-lead-form-cont .phone select {
    width: 130px;
}

#anarock-signup-form .am-input-container {
    margin: 20px 0;
}

.step2-btn-container {
    padding-top: 20px;
    text-align: right;
}

.logo-header {
    display: block;
    position: relative;
    top: -5px;
}

.form-inner {
    z-index: 99;
}

@media only screen and (max-width: 1440px) {
    .ap-lead-form-cont {
        justify-content: space-between;
    }
}

@media only screen and (max-width: 1366px) {
    .logo-header {
        display: block;
        position: relative;
        top: 0;
    }
}

@media only screen and (max-width: 1024px) {
    .phone {
        display: flex;
        width: 30%;
    }

    .am-input-container {
        margin-right: 15px;
    }
}

.hidden {
    display: none !important;
}

.step2-btn-container button {
    margin-left: 10px;
}

.HideOnDesktop{
    display: none !important;
}
@media only screen and (max-width: 768px) {
    .HideOnDesktop{
        display: block !important;
        position: relative;
    }
    img.HideOnDesktop{
        margin-left: 15px;
    }
    .logo-header{
        display: flex;
        margin-top: 4px;
    }
 
    .brand-logo a img {
        width: 115px !important;
    }

    .verticalLine::after {
        content:'';
        height: 100%;
        width: 1px;
        background-color: #d5b87b;
        position: absolute;
        left: 7px;
    }
}

#top-form .theme-btn,#anarock-signup-form .theme-btn {
    padding: 5px 15px;
    height:unset;
    gap: 10px;
}

#close {
    display: inline-block;
    float: right;
    cursor: pointer;
    font-size: 1.5rem;
}




















.top-anarock-form-container .ap-lead-form-cont>.am-input-container, .top-anarock-form-container .ap-lead-form-cont>.ap-dropdown-cont {
    margin-bottom: 1.4em;
}

.ap-agree-box-custom {
    display: flex;
    gap: 10px;
}

.ap-agree-box-custom input {
    flex-basis: content;
}

.ap-agree-box-custom .ap-agree {
    font-size: 0.85em;
}

.anarock-form[data-error]::before, .anarock-form[data-success]::before, .anarock-form[data-error]::after, .anarock-form[data-success]::after {
     text-transform: uppercase;
     text-shadow: 0 0 1px #fff;
}
 .anarock-form[data-error]::before {
     content: attr(data-error);
     color: red;
}
 .anarock-form[data-success]::before {
     content: attr(data-success);
     color: green;
}
 @media all and (max-width: 540px) {
     .anarock-form::after {
         content: '';
         font-size: 0.7em;
         margin-top: 1em;
         display: block;
    }
     .anarock-form[data-error]::after {
         content: attr(data-error);
         color: red;
    }
     .anarock-form[data-success]::after {
         content: attr(data-success);
         color: green;
    }
}
 .ap-form-error {
     color: red;
}
 .ap-form-thankyou {
     margin-top: 30px;
     padding: 20px;
     color: #6161ff;
}
 .am-input-container[data-error], .ap-dropdown-cont[data-error], .ap-agree-box[data-error] {
     position: relative;
}
 .am-input-container[data-error]::after, .ap-dropdown-cont[data-error]::after, .ap-agree-box[data-error]::after {
     content: attr(data-error);
     position: absolute;
     top: 100%;
     left: 0;
     width: 100%;
     color: #d32f02;
     text-shadow: 0 0 1px #fff;
     font-size: 0.65em;
     text-transform: uppercase;
     margin-top: 2px;
}

.the-flex{
    display: flex;
    justify-content: end;
    margin-top: 10px;
}

@media all and (max-width:540px) {
    .the-flex{
        flex-direction: column;
        gap: 5px;
        margin-bottom: 0;
    }
}