﻿.corpSignUp-card {
    margin: auto;
    width: 340px;
    height: 496px;
    box-shadow: 1px 1px 4px 0px #787878;
    border-radius: 0px 0px 8px 8px;
    background: #FFFFFF;
    margin-top: 160px;
    margin-bottom: 235px;
}

.corpSignupCard #formCorpSignup {
    padding:11px 35px;
}
.corpSignupCard .select2-container--open .select2-dropdown--below {
    border: 1px solid #E5E5E5 !important;
    border-radius: 0 0 8px 8px !important;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.corpSignupCard .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #F1F1F1;
    color: #000000;
}

.corpSignupCard .form-group .form-control {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    border-radius: 0;
    font-weight: 400;
    font-size: 1.125rem;
    color: #000000;
    line-height: 1.5;
}

.corpSignupCard .floating-labels .input-group label {
    font-family: Open-Sans-Regular;
    /* font-size: 21px; */
    color: #B4B4B4;
    position: absolute;
    cursor: auto;
    -o-transition: 0.2s ease all;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
    text-align: left;
}

.corpSignupCard .floating-labels .focused label {
    top: -28px !important;
    margin-left: 0px !important;
    font-size: 12px;
    color: black;
}

.corpSignupCard .custom-input {
    border: unset;
    font-size: 16px !important;
    color: #000000;
    background: transparent;
}

.corpSignupCard .select2-container--default .select2-selection--single {
    height: 38px;
    border: none;
    background: transparent !important;
    border: none !important;
}

.corpSignupCard .form-check {
    padding-left: 0;
    position: relative;
    display: block;
}

.corpSignupCard [type=radio]:checked + label, [type=radio]:not(:checked) + label {
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    display: inline-block;
    height: 25px;
    line-height: 25px;
    font-size: 1rem;
    -webkit-transition: .28s ease;
    -o-transition: .28s ease;
    transition: .28s ease;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.corpSignupCard .agreement-label {
    font-family: Open-Sans-Regular;
    font-size: 12px !important;
    color: #565656 !important;
    line-height: unset !important;
    text-align: -webkit-left;
}

.corpSignupCard [type=radio].with-gap:checked + label:after, [type=radio].with-gap:checked + label:before, [type=radio]:checked + label:after, [type=radio]:checked + label:before, [type=radio]:not(:checked) + label:after, [type=radio]:not(:checked) + label:before {
    border-radius: 50%;
    width: 20px;
    height: 20px;
}

.corpSignupCard [type=radio]:not(:checked) + label:after, [type=radio]:not(:checked) + label:before {
    border: 1px solid #b1b8bb;
}

.corpSignupCard [type=radio] + label:after, [type=radio] + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    margin: 4px;
    width: 16px;
    height: 16px;
    z-index: 0;
    -webkit-transition: .28s ease;
    -o-transition: .28s ease;
    transition: .28s ease;
}

.corpSignupCard [type=radio]:not(:checked) + label:after {
    z-index: -1;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
}

.corpSignupCard [type=radio]:not(:checked) + label:after, [type=radio]:not(:checked) + label:before {
    border: 1px solid #000000 !important;
}

.corpSignupCard [type=radio]:checked, [type=radio]:not(:checked) {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.corpSignupCard [type=radio]:checked + label, [type=radio]:not(:checked) + label {
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    display: inline-block;
    height: 25px;
    line-height: 25px;
    font-size: 1rem;
    -webkit-transition: .28s ease;
    -o-transition: .28s ease;
    transition: .28s ease;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.corpSignupCard [type=radio]:checked + label:before {
    border: 2px solid transparent;
    /*-webkit-animation: ripple 0.2s linear forwards;*/
    /*animation: ripple 0.2s linear forwards;*/
}

.corpSignupCard [type=radio].with-gap:checked + label:after, [type=radio]:checked + label:after {
    background-color: #fcaf18;
    z-index: 0;
}

.corpSignupCard [type=radio]:checked + label:after {
    background: url(../../assets/images/checked.svg) !important;
    background-size: contain !important;
    width: 20px;
    height: 20px;
    border: none !important;
    box-shadow: none !important;
    transform: scale(1.02);
}

.corpSignupCard .custom-btn:disabled {
    background-color: #b4b4b4 !important;
    cursor: not-allowed;
    color: #FFFFFF !important;
}

.corpSignupCard .custom-btn {
    color: #000000;
    font-size: 18px;
    background-color: #38364D;
    border-radius: 8px;
    border: none;
    height: 44px;
    min-width: 96px;
    max-width: 304px;
    /*font-family: Open-Sans-SemiBold;*/
    font-weight: 500;
    box-shadow: unset !important;
    width: 96px;
}

.corpSignupCard [type=radio].with-gap:checked + label:after, [type=radio].with-gap:checked + label:before, [type=radio]:checked + label:after, [type=radio]:checked + label:before, [type=radio]:not(:checked) + label:after, [type=radio]:not(:checked) + label:before {
    border-radius: 7px !important;
    width: 24px !important;
    height: 24px !important;
    margin-top: -10px;
}

.corpSignupCard .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 38px;
    font-size: 16px;
    position:absolute;
    left: 25px;
}

.corpSignupCard .areacodelabel {
    color: #000;
    font-family: "Open-Sans-Regular";
    font-size: 1.125rem;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0px;
    text-align: left;
    display: flex;
    margin-top: 2px;
}

    .corpSignupCard .areacodelabel .areacodeflag {
        width: 28.56px;
        height: 21px;
        align-self: center;
        margin-left: 9px;
        margin-top: 4px;
    }

.signupfloatingbtn {
    position: fixed;
    bottom: 5vh;
    right: 10vw;
}

.floatingbtnlabel {
    color: rgba(255, 255, 255, 1);
    font-family: 'SFPro-Bold';
    font-size: 18px;
    border-radius: 8px;
    /*background-color: #FDD436;*/
    background-color: rgba(255, 163, 0, 1);
    border-radius: 8px;
    width: 234px;
    height: 40px;
    margin: 0px;
    align-content: center;
    padding: 5px 0px 7px 15px;
}

.signuptooltip {
    display: none;
    width: 350px;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.21);
    border-radius: 12px;
    position: fixed;
    bottom: 12vh;
    right: 3vw;
    z-index: 2;
}

.signuptooltip .titlelabel {
    top: 0px;
    color: #FFFFFF;
    font-family: "Open-Sans-SemiBold";
    font-size: 16px;
    /*background: #FCAF18;*/
    background: rgba(255, 163, 0, 1);
    width: -webkit-fill-available;
    padding: .75rem 1rem;
    margin-bottom: 0px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.signuptooltip-body {
    background: linear-gradient(180deg,rgba(255, 163, 0, 1), rgba(254, 194, 89, 1), rgba(254, 194, 89, 1), rgba(255, 255, 255, 1), rgba(255, 255, 255, 1), rgba(255, 255, 255, 1), rgba(255, 255, 255, 1));
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    padding-bottom: 16px !important;
}

.signuptooltip-body::-webkit-scrollbar {
  display: none;
}

.requiredDocDiv {
    background-color: rgba(242, 242, 242, 1);
    border-radius:8px;
    padding:8px 12px 8px 8px;

}

.signuptooltip .select2-container--default .select2-selection--single .select2-selection__arrow b {
    background: url(/assets/images/arrow-orange.png) no-repeat center center !important;
    width: 10px;
    height: 6px;
    border-color: unset;
    border-style: unset;
    border-width: unset;
}

.signupfloatingbtn:hover > .floatingbtnlabel {
    /*background-color: #FFECC8;*/
}

.guidetext {
    position:relative !important;
    color: #000000;
    font-family: "Open-Sans-Regular";
    font-size: 14px;
    text-align: left;
}

.signuptooltip.floating-labels .focused label {
    top: -28px;
    font-size: 12px;
    margin: 10px 0 10px;
    position: absolute;
    font-weight:700;
}

.corpSignupCard .card-title {
    background: linear-gradient(180deg, #D2D2D3, #FFFFFF);
    padding: 14px 11px;
    width: 340px;
    margin-bottom:unset;
}

#btnCorpSignin {
    font-size: 12px;
    color: #000000;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: #FFAC00;
    border-radius: 15px;
}

.corpSignupText1 {
    font-size: 18px;
    letter-spacing: -0.5px;
    font-weight: 400;
    color: #000000;
    text-align: left;
}

.corpSignupText2 {
    font-size: 18px;
    letter-spacing: -0.5px;
    font-weight: 700;
    color: #000000;
    text-align: left;
    margin-top: -5px;
}

/* This line is the page's <h1> (Card/_CorpSignUp.cshtml) - existing on-screen copy promoted in
   place, so /CorpSignUp keeps one real heading without a separate title above the card and
   without anything hidden for crawlers. The rule above already pins font-size/weight/colour;
   these three undo what the h1 element selector would otherwise add on top of a plain <div>:
   Bootstrap's heading bottom margin, its 1.2 line-height and its heading font stack. The sign-in
   card uses .corpSignupText2 as a <div> and is unaffected - this is scoped to h1. */
h1.corpSignupText2 {
    margin-bottom: 0;
    line-height: inherit;
    font-family: inherit;
}

.lblCorpSignup {
    color: #FFAC00;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-align: left;
}

.divCorpSignupBox {
    border-radius: 7px;
    border: 1px solid #FFAC00;
    background-color: #FFFCF7;
    height:47px;
    margin-bottom:12px;
}

#formCorpSignup #btn-signup {
    border-radius: 4px;
    background-color: #B4B4B4;
    width: 271px;
    height: 30px;
    color: #000000;
    font-size: 15px;
    font-weight: 700;
    font-family: Arial, Helvetica, sans-serif;
    border: 0;
    margin-top: 63px;
    margin-bottom: 10px;
}

.corpTnC {
    width: 100%;
    margin-top: 335px;
}

.corpTnC img{
    width: 48px;
    height: 48px;
}

.corpTnCText {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #5C5C5C;
}

.corpTnC .corpPrivacy {
    color: #000000;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.5px;
}

.corpSignupCard [type=checkbox].filled-in:checked + label:after {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    background: #FFAC00;
}

input[type="radio"]
{
    display:none;
}

input[type="radio"]:checked + .agreement-label {
    background: url(../../assets/images/checked.svg) !important;
    background-size: contain !important;
    width: 24px;
    height: 35px;
    border: none !important;
    box-shadow: none !important;
    transform: scale(1.02);
    background-repeat: no-repeat !important;
}
.corpSignupCard .select2-container--default .select2-selection--single .select2-selection__arrow
{
    display:none;
}

.corpSignupCard .chevron-title, .corpSignupCard .chevron-phone {
    position: absolute;
    color: #FFAC00;
    left: 6px;
    top: 14px;
}
/*.corpSignupCard .chevron-title {
    top: 13px;
}
.corpSignupCard .chevron-phone {
    top: 13px;
}*/


.footer {
    background: #FFFFFF;
    margin-top: -225px;
}

/* display:flow-root makes #corpLogin a block formatting context. Without it the card's
   margin-top:160px collapses out through #corpLogin -> <main> -> <body> -> <html> (none of
   them has a border or padding to stop it), pushing the whole document - the fixed navbar
   and the page-anchored hero <video> included - 160px down and leaving a white band across
   the top of the page. The card itself is unmoved either way. */
#corpLogin {
    height: 1060px;
    display: flow-root;
}


/* mobileweb.css is linked at (max-width:1023px) and shrinks #corpLogin to a fixed 75vh, but the
   .footer pull above is measured off the 1060px desktop block, where 225px of unused space sits
   below the card. On a phone that space does not exist, so the pull drags the footer up over the
   card - it covered the Sign up / Sign in button. Let the block grow with its content instead of
   being cut to 75vh, and drop the pull; the video still fills the screen behind it (mobileweb
   sets .bgHeight to 100vh). Desktop is untouched - the query never matches there. */
@media (max-width: 1023px) {
    #corpLogin {
        height: auto !important;
        min-height: 75vh;
    }

    /* The card box is a hard 496px (top of this file). If anything inside grows - the header
       button wrapping to two lines when SFPro falls back to a wider system font, a longer
       localisation, a larger device font setting - the content overflows the box and the
       Sign up / Sign in button is pushed past the card's bottom edge. Let the card grow; 496px
       stays the floor so nothing moves on a normal render. */
    .corpSignUp-card {
        height: auto;
        min-height: 496px;
    }

    /* Keep the pill floating, stacked directly above the Tawk chat launcher rather than in the
       middle of the form. Measured on a phone the launcher iframe sits 20px off the bottom and
       20px off the right and is 64px tall, so 20 + 64 + 12px of clearance puts the pill at 96px
       with the two right-aligned to the same edge. Both properties need !important to beat
       mobileweb.css:3396 (bottom: 8vh; right: 6.5rem), which is what dropped it onto the Sign up
       button in the first place. */
    .signupfloatingbtn {
        bottom: 96px !important;
        right: 20px !important;
        left: auto;
    }

    .footer {
        margin-top: 0;
    }

    /* On a phone _Footer.cshtml renders <div id="footer-mobile"> instead of <footer class="footer">,
       so it never picked up the `background: #FFFFFF` that lets the desktop footer paint over the
       tail of the hero video. The video is 100vh here (mobileweb .bgHeight) and outlives #corpLogin,
       so without a background the first footer rows were drawn over the video. */
    #footer-mobile {
        background: #FFFFFF;
    }
}
