/* Lawyer Referral Request: public form (loaded only on the referral-request page) */
#referral-request-form { margin: 0 0 30px; }
#referral-request-form label { font-weight: bold; display: block; margin-bottom: 4px; }
#referral-request-form input[type="text"],
#referral-request-form input[type="tel"],
#referral-request-form input[type="email"],
#referral-request-form select,
#referral-request-form textarea {
	width: 100%; min-height: 44px; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box;
	font-size: 16px; padding: 8px 10px; margin-bottom: 4px;
}
#referral-request-form textarea { min-height: 180px; resize: vertical; }
#referral-request-form input:focus, #referral-request-form select:focus, #referral-request-form textarea:focus,
#referral-request-form button:focus, #rr-error-list a:focus { outline: 3px solid #1a5fb4; outline-offset: 2px; }

.rr-row { margin: 0 -10px; }
.rr-row:after { content: ""; display: table; clear: both; }
.rr-field { margin-bottom: 18px; }
.rr-half { float: left; width: 50%; padding: 0 10px; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; }
@media (max-width: 767px) { .rr-half { float: none; width: 100%; } }

.rr-req { font-weight: normal; font-size: 0.9em; color: #555; }
.rr-required-note { margin-bottom: 18px; }
.rr-help { display: block; color: #444; font-size: 0.95em; margin: 0 0 6px; }
.rr-counter { display: block; color: #444; font-size: 0.9em; }

.rr-fieldset { border: 1px solid #ccc; padding: 12px 16px 0; margin: 0 0 18px; }
.rr-fieldset legend { font-weight: bold; font-size: 1em; width: auto; border: 0; padding: 0 6px; margin: 0; line-height: 1.6; }

.rr-ack { font-weight: normal !important; padding: 10px 10px 10px 34px; border: 1px solid #ccc; background: #fafafa; line-height: 1.5; }
.rr-ack input[type="checkbox"] { width: 20px; height: 20px; margin: 2px 0 0 -26px; }

/* Errors: icon-free text plus a thick left border, so color is never the only signal */
.rr-error-text { display: block; color: #a4161a; font-weight: bold; }
.rr-error-text:not(:empty):before { content: "Error: "; }
.control-group.error input, .control-group.error select, .control-group.error textarea, .control-group.error .rr-ack { border: 2px solid #a4161a; }
.rr-error-summary { border-left: 6px solid #a4161a; }
.rr-error-summary h2 { font-size: 1.2em; margin: 0 0 8px; }
.rr-error-summary ul { margin-bottom: 0; }
.rr-error-summary a { color: #6b0e10; text-decoration: underline; }

.rr-actions .btn { min-height: 44px; min-width: 200px; font-size: 18px; }
.rr-recaptcha-notice { font-size: 0.85em; color: #444; margin-top: 12px; }

.rr-success { padding: 20px; border: 1px solid #b5d6a7; background: #eef7ea; margin-bottom: 30px; }
.rr-success h2 { margin-top: 0; }

.rr-aside h2 { font-size: 1.3em; }

/* Honeypot: off-screen, not display:none (some bots skip hidden fields) */
.rr-hp { position: absolute !important; left: -10000px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

.rr-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
.referral-example {
    background-color: #f5f7f9;
    border-left: 4px solid #337ab7;
    border-radius: 0 4px 4px 0;
    padding: 14px 16px;
    margin: 15px 0 20px;
}

.referral-example-title {
    color: #333;
    font-size: 14px;
    margin-bottom: 8px;
}

.referral-example p {
    color: #555;
    font-size: 14px;
    font-style: italic;
    line-height: 1.6;
    margin: 0;
}
.referral-help ol > li {
    margin-bottom: 14px;
    padding-left: 3px;
    line-height: 1.5;
}

.referral-help ol > li > strong {
    display: block;
    margin-bottom: 4px;
}
.referral-help {
    font-size: 14px;
    line-height: 1.55;
}
.referral-help h4 {
    font-size: 16px;
    font-weight: 600;
    margin-top: 22px;
    margin-bottom: 10px;
}
.referral-help-expand {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 13px;
    text-decoration: underline;
}

.referral-help-expand .glyphicon {
    margin-right: 5px;
}

.referral-help-large {
    font-size: 17px;
    line-height: 1.7;
    padding: 25px 30px;
}

.referral-help-large li {
    margin-bottom: 16px;
}

.referral-help-large .referral-example {
    margin: 20px 0;
    padding: 18px 22px;
}

@media (max-width: 767px) {
    .referral-help-large {
        font-size: 16px;
        padding: 20px;
    }
}
