/* The Modal (background) */
.signup-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  /* Modal Content */
  .modal-content {
    position: absolute;
    right: 10%;
    top: 110px;
    background-color: #fefefe;
    margin: auto;
    padding: 60px 50px;
    border: 1px solid #888;
    width: 40%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.2s;
    animation-name: animatetop;
    animation-duration: 0.2s;
    border-radius: 10px;
  }
  
  /* Add Animation */
  @-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
  }
  
  @keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
  }
  
  /* The close-btn Button */
  .close-btn {
    color: #2a0000;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close-btn:hover,
  .close-btn:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }
  
  .signup-modal { 

}
.eye-close{
    display: flex;
    align-items: center;
    background-color: #F9F9F9;
    margin-top: 15px;
    padding: 0 17px;
}
.eye-close input[type=password]{
    margin: unset;
}
#password-field{
    width: 100%;
    color: #6f6d6d;
    font-size: 14px;
    padding: 17px 0;
}
.signup-modal .modal-content { 

}
.intl-tel-input.allow-dropdown .flag-container, .intl-tel-input.separate-dial-code .flag-container {
    top: 15px !important;
}
#email_password .flag-container, .intl-tel-input.separate-dial-code .flag-container {
    top: 0px !important;
}
#id_phone_number_2_auto.txtbox  {
    margin-top: 15px !important;
}
.signup-modal .modal-content .close-btn { 
    position: absolute;
    right: 6px;
    top: 0;
}

.signup-modal .modal-content .sign-logo { 
    margin-bottom: 40px;
}

.signup-modal .modal-content .sign-logo img { 
    display: block;
    width: 125px;
}

.signup-modal .modal-content .modal-body .button-box { 
    display: flex;
    align-items: center;
}
.signup-modal .modal-content .modal-body{
    
}
.signup-modal .modal-content .modal-body h4 { 
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
}

.signup-modal .modal-content .modal-body .patient-btn { 
    border: 2px solid #A81364;
    margin-right: 10px;
    color: #A81364;
}

.signup-modal .modal-content .modal-body button { 
    padding: 20px 5px;
    border-radius: 5px;
    width: 50%;
    font-size: 20px;
    height: 91px;
}

.signup-modal .modal-content .modal-body .hospital-btn { 
}

.signup-modal .modal-content .modal-body .hospital-btn { 
    border: 2px solid #2D4D9C;
    color: #2D4D9C;
}

.signup-modal .modal-content .modal-footer { 
    margin-top: 10px;
}

.signup-modal .modal-content .modal-footer p { 
    font-size: 14px;
    color: #999;
    text-align: center;
}

.signup-modal .modal-content .modal-footer p small { 
    color: #2D4D9C;
    font-size: 16px;
    cursor: pointer
;}

/* country code */
#id_phone_number_auto{
    padding-top: 15px;
    padding-bottom: 15px;
    background: #F9F9F9;
    border: 1px solid #2D4D9C;
    border-radius: 5px;
    font-size: 17px;
    width: 100%;
}
.intl-tel-input{
    width: 100%;
}
/* end country code */

/* submit-btn  */
#btnSubmit{
    background-color: #2D4D9C;
    color: #fff;
    width: 100%;
    border-radius: 5px;
    padding: 16px 20px;
    margin-top: 25px;
    font-size: 17px;
    height: auto;
}
/* end submit-btn  */

/* form-content */
.form-content{
    margin-bottom: 20px;
}
.form-content p{
    color: #999;
    font-size: 14px;
}
.form-content p small{
    color: #000;
}

/* otp-form   */
.otp-form{
    position: relative;
}
.email-otp{
    display: none;
    margin-top: 30px;
}
.otp-form p{
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}
.otp-form input{
    display: inline-block;
    width: 85px;
    height: 40px;
    text-align: center;
    border: 1px solid #2D4D9C;
    border-radius: 5px;
    font-size: 20px;
}
.resend{
    position: absolute;
    right: 0;
    margin-top: 3px;
    top: 38px;
}
.resend a{
    font-size: 12px;
    color: #2d4d9c;
}
.intl-tel-input.separate-dial-code .selected-dial-code {
    color: #999;
}
.intl-tel-input.separate-dial-code .selected-flag{
    background-color: unset !important;
}

/* normal-input */
.normal-form { 

}

.normal-form form small.with-otp { 
    display: block;
    text-align: right;
    margin-top: 10px;
    font-size: 12px;
    color: #2D4D9C;
}

.normal-form form .normal-input { 

}

.normal-input input { 
    width: 100%;
    background-color: #F9F9F9;
    color: #6f6d6d;
    font-size: 14px;
    padding: 17px 15px;
}
.normal-input input:nth-child(n+2){
    margin-top: 15px;
}
.normal-input input::placeholder{
    color: #a9a9a9;
}
@media all and (max-width: 1130px) {
    .otp-form input {
        width: 65px;
    }
}
@media all and (max-width: 1000px) {
    .modal-content {
        width: 50%;
    }
    .signup-modal .modal-content .modal-body button {
        font-size: 16px;
        height: 81px;
    }
    .otp-form form input:nth-child(n+2){
        margin-left: 5px;
    }
    .otp-form form input {
        width: 71px;
    }
}
@media all and (max-width: 768px) {
    .otp-form input {
        width: 55px;
    }
    .otp-form form input {
        width: 55px;
    }
    .modal-content {
        padding: 30px;
    }
    .signup-modal .modal-content .modal-body .patient-btn {
        margin-right: 0;
        margin-bottom: 15px;
    }
    .signup-modal .modal-content .modal-body button{
        width: 100%;
        height: unset;
    }
    .signup-modal .modal-content .modal-body .button-box {
        flex-direction: column;
    }
    .signup-modal .modal-content .modal-body h4 {
        font-size: 18px;
        margin-bottom: 10px;
    }
}
@media all and (max-width: 640px) {
    .modal-content {
        width: 65%;
    }
}
@media all and (max-width: 500px) {
    .otp-form form input {
        width: 47px;
    }
    .form-content p {
        font-size: 12px;
    }
    #id_phone_number_auto {
        padding-top: 10px;
        padding-bottom: 10px;
        font-size: 14px;
    }
    #btnSubmit {
        padding: 12px 10px;
        margin-top: 15px;
        font-size: 13px;
    }
    .normal-input input {
        font-size: 13px;
        padding: 12px 10px;
    }
    .signup-modal .modal-content .modal-body h4 {
        font-size: 16px;
    }
    .modal-content {
        width: 80%;
        right: 13%;
    }
    .signup-modal .modal-content .modal-footer p {
        font-size: 12px;
    }
    .signup-modal .modal-content .sign-logo {
        margin-bottom: 30px;
    }
    .signup-modal .modal-content .modal-footer p small {
        font-size: 14px;
    }
    .otp-form input {
        width: 50px;
        height: 34px;
    }
    .email-otp {
        margin-top: 10px;
    }
    .resend {
        top: 29px;
    }
}