
/* Reset webkit search input styles */
input[type=search] {
    -webkit-appearance: none;
    outline: none;
}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button {
    display: none;
}


/* Field errors */
.error {
    background: #faeda2;
    border: none;
    padding: 10px;
    border-radius: 5px;
    color: #b91701;
}


.errorlist {
    padding: 0px;
    list-style: none;
    margin: 0px;
}

.errorlist > li {
    background: ;
    border: none;
    font-style: italic;
    color: #bd3434;
    margin: 5px 0px;
}

/* Form Defaults */
form fieldset
{
    padding: 20px 30px;
    border-radius: 10px;
    border: none;
    background: #eeeeee;
}

form fieldset p
{
    display: inline;
    padding: 5px;
    margin: 0px;
    color: #333333;
    position: relative;
    bottom: 3px;
}

/* Top level inputs & labels */
form ul
{
    padding-left: 0;
    list-style: none outside none;
}

form ul li
{
    clear: left;
    margin-bottom: 25px;
}

form label
{
    min-width: 80px;
    display: block;
    margin: 5px 0px 10px 0;
    color: #666;
    font: normal 16px 'Helvetica Rounded Bold', 'Arial', sans-serif;
}

form select {
    padding: 2%;
    width: 100%;
}

form input,
form textarea
{
    display: block;
    padding: 2%;
    width: 95.65%;
    margin: 4px 0px;
    border-radius: 3px;
    border: 1px solid #999999;
}

form textarea {
    height: 100px;
}

input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus {
    border: 1px solid #98C6F2;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) inset, 0 0 6px rgba(54, 137, 219, 0.4);
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) inset, 0 0 6px rgba(54, 137, 219, 0.4);
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) inset, 0 0 6px rgba(54, 137, 219, 0.4);
    outline: none;
}

input[type="submit"].button
{
    width: 100%;
    padding: 15px;
}


/* Second level inputs */
form ul li ul li
{
    clear: none;
}


/* the referral form */

form#referral-form ul li ul li {
    float: left;
    margin-bottom: 5px;
    margin-right: 3%;
}

form#referral-form ul li.referred-to ul li,
form#referral-form ul li.patient-review ul li {
    width: 30%;
}

form#referral-form ul li ul li label {
    font-size: 14px;
}

form#referral-form ul li ul li input {
    width: auto;
    float: left;
    margin-right: 5px;
}

form#referral-form ul li input[type="radio"],
form#referral-form ul li input[type="checkbox"] {
    margin-top: 1px;
}

form#referral-form ul li select {
    width: 32%;
    float: left;
    margin-right: 1%;
    padding: 1%;
}



/* brochure order form */

form#order-brochures li.brochure {
    float: left;
    clear: none;
    width: 31%;
    margin-right: 2%;
}

form#order-brochures li.brochure img {
    width: 100%;
    height: auto;
}
