#loginError {
	text-align: center;
	color: red;
	font-weight: bold;
}

.instructionalText a,
.instructionalText a:link,
.instructionalText a:hover,
.instructionalText a:active
 {
	font-weight: bold;
	font-size: 0.9em;
	color: #369426;
	text-decoration: underline;
}

#horseAdded {
	text-align: center;
}

#bbLoginForm {
	text-align: center;
}

#submitButtons {
	padding-top: 10px;
	padding-bottom: 10px;
}

table.homeColoured td {
	vertical-align: top;
}

.instructionalText{
	text-align: center;
padding-bottom: 10px;
}

#bbLoginWrap {
	padding: 1em;
	margin: 0 auto;
	text-align: center;
}

.pageHeader {
	font-weight: bold;
	color: #369426;
	padding-bottom: 10px;
}

 label
{
	width: 4em;
	float: left;
	text-align: right;
	margin-right: 0.5em;
	display: block
}

.submit input
{
	margin-left: 4.5em;
}
input
{
	color: #000;
	border: 1px inset #373737;
	background-color: #ffffff;
}

.submit input
{
	color: #fff;
	background: #4F4F4F;
	border: 2px outset #373737;
	padding: 2px 8px;
	margin-left: 0;

}
fieldset
{
	position: relative;
	border: 1px solid #373737;
	width: 20em;
	padding: 1em;
	background-color: #fff;
	margin: 0 auto;
}

.fsWrap {
	margin-top: 20px;
	margin-bottom: 20px;
}

legend
{
	position: absolute;
	top: -1em;
	color: #fff;
	background: #4F4F4F;
	border: 1px solid #373737;
	padding: 2px 6px
}

#bbLoginWrap legend {
	position: absolute;
	top: -1em;
	color: #fff;
	background: #4F4F4F;
	border: 1px solid #373737;
	padding: 2px 6px
}

#bbAddHorse fieldset {
	width: 500px;
	margin: 0;
}

#bbAddHorse label {
	width: 100px;
	float: left;
	text-align: left;
	margin-right: 0.5em;
	display: block;
	font-weight: bold;
}

#bbAddHorse input
{
	color: #000;
	margin: 2px;
	border: 1px inset #373737;
	background-color: #ffffff;
}

#bbAddHorse .submit input
{
	color: #fff;
	background: #4F4F4F;
	border: 2px outset #373737;
	padding: 2px 8px;
	margin-left: 10px;

}

#bbLeft {
	float: left;
	width: 528px;
}

#bbRight {
	float: left;
	width: 240px;
}

#bbAccountFormPanel fieldset {
   width: 700px;
}

/* Definition list layout for forms
---------------------------------------- */
fieldset dl {
	padding: 4px 0;
}

fieldset dt {
	float: left;	
	width: 40%;
	text-align: left;
	display: block;
}

fieldset dd {
	margin-left: 41%;
	vertical-align: top;
	margin-bottom: 3px;
}

/** New stuff - allows the Zurb Foundation classes to be kept but displayed appropriately for this part of the site **/

#zrb {
    font-size: 1.125em;
}

#zrb *, #zrb *:before, #zrb *:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#zrb .row {
    width: 100%;
    margin: 0px auto;
    max-width: 62.5em;
    clear: both;
}

#zrb .row.row {
    width: auto;
    margin: 0px -0.9375em;
    max-width: none;
}

#zrb .columns {
    border: 0;
    padding-left: 0.9375em;
    padding-right: 0.9375em;
    float: left;
}

#zrb .large-12 {
    position: relative;
    width: 100%;
}

#zrb .large-10 {
    position: relative;
    width: 83.3333%;
}

#zrb .large-6 {
    position: relative;
    width: 50%;
}

#zrb .panel {
    border-style: solid;
    border-width: 1px;
    border-color: rgb(217, 217, 217);
    margin-bottom: 1.25em;
    padding: 1.25em;
    background: none repeat scroll 0% 0% rgb(242, 242, 242);
    border-radius: 8px 8px 8px 8px;
}

#zrb .button.small {
    border-style: solid;
    border-width: 1px;
    cursor: pointer;
    font-family: inherit;
    font-weight: bold;
    line-height: 1;
    margin: 0px 0px 1.25em;
    position: relative;
    text-decoration: none;
    text-align: center;
    display: inline-block;
    padding: 0.75em 1.5em 0.8125em;
    font-size: 1em;
    background-color: rgb(66, 154, 52);
    border-color: rgb(50, 116, 39);
    color: white;
    padding: 0.5625em 1.125em 0.625em;
    font-size: 0.8125em;
}

#zrb a.button:visited, #zrb a.button:active, #zrb a.button:hover {
    color: white;
}

#zrb p {
    line-height: 1.6;
    padding: 0;
    margin-bottom: 1.25em;
}

#zrb fieldset {
    width: 100%;
    border: 1px solid rgb(221, 221, 221);
    padding: 1.25em;
    /* margin: 1.125em 0px; */
}

#zrb label {
    width: auto;
    font-size: 0.875em;
    color: rgb(77, 77, 77);
    cursor: pointer;
    display: block;
    font-weight: bold;
    margin-bottom: 0.1875em;
}

#zrb input[type="text"],
#zrb input[type="password"],
#zrb input[type="date"],
#zrb input[type="datetime"],
#zrb input[type="datetime-local"],
#zrb input[type="month"],
#zrb input[type="week"],
#zrb input[type="email"],
#zrb input[type="number"],
#zrb input[type="search"],
#zrb input[type="tel"],
#zrb input[type="time"],
#zrb input[type="url"],
#zrb textarea {
    background-color: white;
    font-family: inherit;
    border: 1px solid rgb(204, 204, 204);
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1) inset;
    color: rgba(0, 0, 0, 0.75);
    display: block;
    font-size: 0.875em;
    margin: 0px 0px 1em;
    padding: 0.5em;
    height: 2.3125em;
    width: 100%;
    -moz-box-sizing: border-box;
    transition: box-shadow 0.45s ease 0s, border-color 0.45s ease-in-out 0s;
}

#zrb button, #zrb input {
    line-height: normal;
}

#zrb span.error, #zrb small.error {
    display: block;
    padding: 0.375em 0.25em;
    margin-top: -1.3125em;
    margin-bottom: 1em;
    font-size: 0.75em;
    font-weight: bold;
    background: none repeat scroll 0% 0% rgb(198, 15, 19);
    color: white;
}

#zrb input.error, #zrb textarea.error {
    border-color: rgb(198, 15, 19);
    background-color: rgba(198, 15, 19, 0.1);
}

#zrb .alert {
    font-weight: bold;
    background: none repeat scroll 0% 0% rgb(198, 15, 19);
    color: white;
}


#zrb .alert-box {
    border-style: solid;
    border-width: 1px;
    display: block;
    font-weight: bold;
    margin-bottom: 1.25em;
    position: relative;
    padding: 0.6875em 1.3125em 0.75em 0.6875em;
    font-size: 0.875em;
    background-color: rgb(66, 154, 52);
    border-color: rgb(50, 116, 39);
    color: white;
}

#zrb .alert-box.success {
     background-color: rgb(93, 164, 35);
     border-color: rgb(69, 122, 26);
     color: white;
 }

#zrb .alert-box.error {
    border-color: rgb(198, 15, 19);
    background-color: rgb(198, 15, 19);
    color: white;}

#zrb button.secondary, #zrb .button.secondary {
    background-color: rgb(134, 134, 134);
    border-color: rgb(109, 109, 109);
    color: white;
}

#zrb button.secondary:hover, #zrb button.secondary:focus, #zrb .button.secondary:hover, #zrb .button.secondary:focus {
    color: white;
}

#zrb button.secondary:hover, #zrb button.secondary:focus, #zrb .button.secondary:hover, #zrb .button.secondary:focus {
    background-color: rgb(109, 109, 109);
}

#zrb .panel > :last-child {
    margin-bottom: 0px;
}

#zrb select {
    width: 100%;
}
#zrb button, #zrb select {
    text-transform: none;
}
#zrb button, #zrb input, #zrb select, #zrb textarea {
    font-family: inherit;
    font-size: 100%;
    margin: 0px;
}

#zrb input[type="file"], #zrb input[type="checkbox"], #zrb input[type="radio"], #zrb select {
    margin: 0px 0px 1em;
}

#zrb [class*="column"] + [class*="column"]:last-child {
    float: right;
}

#zrb h1, #zrb h2, #zrb h3, #zrb h4, #zrb h5, #zrb h6 {
    font-family: "Helvetica Neue","Helvetica",Helvetica,Arial,sans-serif;
    font-weight: bold;
    font-style: normal;
    color: rgb(53, 147, 38);
    text-rendering: optimizelegibility;
    margin-top: 0.2em;
    margin-bottom: 0.5em;
    line-height: 1.2125em;
}

#zrb h1, #zrb h2, #zrb h3, #zrb h4, #zrb h5, #zrb h6 {
    line-height: 1.4;
}

#zrb h3 {
    font-size: 1.6875em;
}

#zrb span.header {
    font-family: "Helvetica Neue","Helvetica",Helvetica,Arial,sans-serif;
    font-weight: bold;
    font-style: normal;
    color: rgb(53, 147, 38);
    font-size: 1.6875em;
}

#zrb ul, #zrb ol, #zrb dl {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 1.25em;
    font-family: inherit;
    list-style-position: outside;
}

#zrb .vcard {
    display: inline-block;
    margin: 0px 0px 1.25em;
    border: 1px solid rgb(221, 221, 221);
    padding: 0.625em 0.75em;
}

#zrb .panel {
    border-color: rgb(193, 193, 193);
    border-radius: 8px 8px 8px 8px;
}

#zrb .vcard .fn {
    font-weight: bold;
    font-size: 0.9375em;
}
#zrb .vcard li {
    display: block;
    margin: 0px;
}

#zrb a.button:visited, 
#zrb a.button:link,
#zrb a.button:active, #zrb a.button:hover {
    color: white;
}