:root {
    --purple: #342C6C;
    --purple-dark: #2b2459;
    --purple-100: #F6F5FF;
    --mustard: #FFC415;
    --blue: #3C2C83;
    --text: #4b4b4b;
}

.hero-banner-container-form {
    position: relative;    
    display: inline-block;

}
.arrow-go-out{
    position: relative;    

}

.ehr-form-container {
    position: relative;
    background-image: url('../images/email-form3.svg');
    background-size: 98%;
    background-repeat: no-repeat;
    background-position: center;
    height: 550px;
}

.ehr-demo-form .submitted-message {
    height: 330px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.hero .col-lg-6.col-xl-7.text-lg-end {
    padding-left: 74px;
}

.hbspt-form fieldset.form-columns-2 {
    display: flex;
    max-width: 100%;
    width: 100%;
}
.hbspt-form fieldset.form-columns-2>div {
    flex: 1;
}

select {
    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;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.ehr-form-container::before,
.arrow-go-out::before {
    content: '';
    background-image: url(../images/arrow_outward-going.svg);
    background-repeat: no-repeat;
    background-position: center;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background-color: var(--mustard);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 17px;
    right: 22px;
}
.arrow-go-out.bottom::before {
    top: auto;
    bottom: 13px;
    transform: rotate(90deg);
    right: 11px;
}

/* ---Book EHR Demo------ */
.ehr-demo {
    padding-bottom: 100px;
}

.hs_error_rollup {
    display: none;
}
.ehr-demo-form {
    padding: 35px 30px 35px 35px;
    background-color: var(--bg--blue);
    border-radius: 39px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

label {
    display: block;
    text-align: left;
}

.ehr-demo-form ::placeholder {
    color: var(--body--color);
}

.form-h4 {
    font-size: 15px;
    line-height: 28px;
    font-weight: 400;
    letter-spacing: 0.42px;
    width: 70%;
    padding: 0 0 15px 0px;
    margin-top: 0;
}

.inputs-list {
    margin: 0 0 5px;
    width: 100%;
    padding-left: 5px;
    list-style: none;
    position: absolute;
    bottom: -24px;
    left: 12px;
}

.hs-error-msgs label {
    font-size: 12px;
}

.inputs-list>li {
    display: block;
    padding: 0;
    width: 100%;
    padding-top: 0;
}

.inputs-list label {
    display: block;
    float: none;
    width: auto;
    padding: 0;
    line-height: 18px;
    text-align: left;
    white-space: normal;
    font-weight: normal;
    color: var(--mustard) !important;
}

.hbspt-form .hs-form-field {
    margin-bottom: 20px;
    position: relative;
    width: 100% !important;
    float: initial !important;
}

.hbspt-form .hs-input {
    display: inline-block;
    width: 100% !important;
    border-radius: 50px !important;
    height: 50px;
    padding: 13px 16px;
    font-size: 16px;
    color: #505050 !important;
    font-weight: 500;
    line-height: 22px;
    border: 1px solid var(--bg--light);
    /* border: 1px solid var(--bg--light); */
    order-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    border-radius: 10px;
}

.hs-input::placeholder {
    color: #504e4e;
}

.hs-input:focus,
.hs-input:focus-visible,
.hs-input:active {
    box-shadow: none;
    outline: none;
}

.hs-button {
    padding: 12px 1px !important;
    width: 100% !important;
    background: transparent !important;
    color: #000 !important;
    font-weight: 400;
    font-size: 16px !important;
    height: 100% !important;
    border: 0px;
}
.hs-submit .actions {
    width: 240px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    margin-top: 10px;
    background: #FFC415 !important;
    border-radius: 50px;
}

.containerr {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.hs-form .arrow-icon {
    transition: transform .25s ease;
}

.hs-form .hs-button:hover .arrow-icon {
    transform: translateX(4px);
}

/* Show arrow as background on input submit */
.hs-button.has-arrow {
    background-image: url("./assets/images/arrow.svg");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 30px 30px;
    padding-right: 3rem;
    /* make space for the arrow */
}



.hbspt-form fieldset.form-columns-1 {
    max-width: 100%;
    width: 50%;
}
.hbspt-form fieldset.form-columns-1 .hs-form-field{
    margin-bottom: 0;
}
.hs-form {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
}

.hbspt-form .hs_submit.hs-submit {
    width: 50%;
}

.hbspt-form .hs-submit .actions {
    width: 100%;
}


.instant-badge span {
    font-size: 10.8px;
    color: #fff;

    font-weight: 200;
}

.instant-badge img {
    width: 14px !important;
    height: 14px !important;
}


.LearnMore-popover {
    position: absolute;
    position: fixed;
    top: 0;
    right: 0;
    width: 600px;
    height: 100%;
    padding: 45px 40px 40px 60px;
    border-radius: 28.846px 0 0 28.846px;
    background: var(--grey-white, #FFF);
    box-shadow: 0 9.014px 43.269px 0 rgba(117, 120, 139, 0.10);
    z-index: 999;
    transform: translateX(calc(100%));
    transition: 0.4s ease;
    /*display: none;*/
}
.LearnMore-popover.show{
    /*display: block;*/
    transform: translateX(0px);
}
.LearnMore-popover-mainHeading h5 {
    color: #5957BA;
    text-align: center;
    font-family: Manrope;
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    /* 26.4px */
}

.LearnMore-popover-subHeading h6 {
    color: #000;
    font-family: Manrope;
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    /* 36px */
}

.LearnMore-popover-text p {
    color: #000;
    font-family: Manrope;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 144%;
    /* 25.92px */
}

.LearnMore-popover-subHeading {
    margin-top: 50px;
    margin-bottom: 15px;
}

.LearnMore-popoverClose{
    position: absolute;
    top: 40px;
    left: 30px;
    cursor: pointer;
}
.LearnMore-popover-mainHeading::after {
    content: '';
    border-radius: 23.437px;
    background: radial-gradient(55211.56% 1125.25% at 59.37% -450%, #5957BA 0%, rgba(89, 87, 186, 0.00) 100%);
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: 200px;
    height: 3.606px;
}

.LearnMore-popover-mainHeading {
    position: relative;
}

.overflowHidden{
    overflow: hidden !important;
}

/*...........................................................................................media queries*/

@media (max-width: 1400px) {
    .ehr-form-container {
        background: rgba(255,255,255,0.1);
        border-radius: 15px;
    }

    .ehr-form-container::before, .arrow-go-out::before {
        top: 8px;
        display:none;
    }
    .form-h4{
        width: 100%;
    }

}
@media(max-width:1200px) {
    .hs-form-field {
        margin-bottom: 12px !important;

    }
      .ehr-form-container::before, .arrow-go-out::before {
        top: -15px;
        right: 0px;
    }
}

@media (max-width: 991px) {
    .form-h4{
        /*width: 88%;        */
    }
    .ehr-form-container form fieldset{
        max-width: 100%;
    }
    .LearnMore-popover {
        left: 0;
        right: 0;
        margin-left: auto;
        margin-right: auto;
        height: initial;
        border-radius: 15px;
        top: 30px;
        width: calc(100% - 50px);
        transform: translateX(calc(100% + 7vw));
    }

    body.bg-white.overflowHidden::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        box-shadow: inset 0 0 0 2000px rgb(0 0 0 / 50%);
        filter: brightness(10000%) contrast(200%) saturate(0%) blur(0px) hue-rotate(360deg);
        z-index: 301;
    }
}

@media (max-width: 768px) {
    .LearnMore-popoverClose {    
        top: 10px;
        left: 10px;
    }
    .LearnMore-popover {
        padding: 50px 30px 40px;
    }
    .LearnMore-popover-subHeading h6 {
        font-size: 24px;
    }
    .LearnMore-popover-text p {    
        font-size: 16px;
    }

}
@media(max-width: 600px){
    .ehr-demo-form fieldset.form-columns-2 {
        flex-direction: column;
    }
    .ehr-form-container{
        height: initial;
    }
}

@media(max-width:430px) {
    .form-h4 {
        font-size: 12px;
        line-height: 22px;
        font-weight: 300;
        width: 84%;
        padding-bottom: 18px;
    }

    .ehr-demo-form {
        padding: 40px 21px;
        background-color: var(--bg--blue);
        border-radius: 39px;
        /* margin-top: -327px; */
        /* min-height: 70vh; */
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .ehr-demo-form .hs-input {
        height: 36px !important;

    }

    .ehr-demo-form .input {
        height: 36px !important;
    }

    .ehr-demo-form .hs-button {
        padding: 9px 1px !important;
        font-size: 14px !important;

    }

    .instant-badge span {
        font-size: 9.8px;
    }
}

@media (max-width: 360px) {
    .form-h4 {
        font-size: 10px;
        line-height: 21px;
        font-weight: 300;
        width: 80%;
        padding: 6px 0px;
        margin-top: 31px;
    }
}