

#referral-code-entry {
    text-align: center;
    padding-top: 25px;
    padding-bottom: 25px;
}
#referral-code-entry .icon-lock {
    color: #ececec;
    font-size: 50pt;
}
#referral-code-entry input {
    height: 40px;
    width: 40px;
    text-align: center;
    line-height: 48px;
    font-size: 32px;
    text-transform: uppercase;
}
#referral-code-entry form {
    margin: 0;
}
#referral-code-entry h1 {
    margin-top: 0;
}

#code-input {
    position: relative;
    max-width: 600px;
    margin: 15px auto 10px auto;
}
#more-info {
    max-width: 540px;
    margin: 0 auto 40px auto;
    font-size: 85%;
}
#more-info a {
    float: right;
}
#how-works-desc {
    max-width: 540px;
    text-align: left;
    margin: 0 auto 40px auto;
}
#how-works-desc dl {
    clear: left;
}
#code-input span {
    display: inline-block;
    background: #eeeeec;
    padding: 5px; /* Use padding so the bg color bleeds under the curved borders of the input fields - if we used borders here they would have ugly clipping */
    border-radius: 5px;
}
#code-input input {
    /* merge with sel above*/
    border: 1px solid #d3d7cf;
    border-radius: 3px;
    margin: 0;
}
#code-input #code-validating {
    display: none;
}
#code-input.validating input {
    color: #777;
}
#code-input.validating #code-validating {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(255, 255, 255, .74);
    font-size: 15pt;
    font-weight: bold;
    line-height: 45pt;
}

#referral-reasons {
    background: url('../../img/public/referrals/reasons_doctors_drchrono.jpg') top center no-repeat #77b0cb;
    color: #fff;
}
#referral-reasons-list {
    opacity: 1;
    -webkit-transition: opacity .8s;
    -moz-transition: opacity .8s;
    -ms-transition: opacity .8s;
    transition: opacity .8s;
}
body.slide-down #referral-reasons-list {
    display:none;
}
body.slide-down #referral-reasons {
    height: 0;
}
#referral-reasons h2 {
    color: #fff;
    padding: 40px 0 10px 0;
}
#referral-reasons .container > p {
    /* Lead Text */
    max-width: 550px;
    margin: 0 auto 40px auto;
    text-align: center;
}
.box-image {
    width: 33.3%;
    float: left;
}
.box-image h3 {
    font-size: 13.5pt;
    font-weight: bold;
    padding: 10px 0 0 10px;
}
.box-image p {
    max-width: 85%;
    padding: 10px 10px 30px 10px;x
}
.box-image img {
    background: #babdb6;
    padding: 1px;
    border: 10px solid #fff;
    border-radius: 7px;
}

#code-error, #code-tries-left {
    text-align: left;
    margin: 0;
    float: left;
    clear: left;
    padding: 0 4px;
}
#code-error {
    background: #a40000;
    color: #fff;
}


#pdf-preview {
    display: none;
}
body.show-pdf #pdf-preview {
    display: block;
    position: absolute;
    width: 790px;
    top: 150px;
    left: -395px;
    margin-left: 50%;
}
body.show-pdf .alert {
    margin-bottom: 4px;
}
body.show-pdf #referral-code-entry form {
    visibility: hidden;
}
#pdf-preview iframe {
    width: 100%;
    height: 100%;
    max-height: 470px;
    border: 0;
}

#referral-actions {
    margin-top: 20px;
}
form {
    margin-bottom: 0;
}
