/* Main Layout */
html {overflow-y: scroll}
body, #outerborder, #container {padding: 0; margin: 0 auto}
body {padding-bottom: 30px}
#outerborder {width: 900px}
#container {width: 880px}
#globalwrap {padding-top: 10px}

/* Main Styles */
body {background: #c98a16 url(/images/resources/millridenew/background.png) repeat-x}
#outerborder {border: 2px solid #aa6f00; background: white; border-top: none;}
body, #container {color: #333333; line-height: 1.4; font-size: 13px}
a {color: #b50024}
a:hover {color: blue}
a img {border: none}

/* Menu */
#topmenu {position: relative; top: auto; left: auto; z-index: 1000}
#topmenu {width: auto; left: -10px;}
#nav {width: 900px}
#nav {background: #b50024}
#nav li a {color: white; font-size: 12px; font-family: Arial; text-transform: capitalize}
#nav li a {padding: 1em 1.5em}
#nav li a:hover {background: #c98a16; }
#nav li ul li a {background: #c98a16; padding: 0.5em 2em}
#nav li:hover a {background: #c98a16}
#nav li ul li:last-child a {padding-bottom: 1em}
#nav li ul li a {border-top: 1px solid #d59423}
#nav li a {text-transform: none}

/* Header */
.header img {display: block; position: relative; left: -10px}

/* Footer*/
.footer {text-align: center}
.footer a {display: block; position: relative; left: -10px}
.footer a img {display: block}
.footer p a {display: inline; color: #dddddd; position: static}
.footer p {position: absolute; color: white; padding-top: 5px; font-size: 10px; width: 100%; text-align: center; left: 0;}
.footer .address {position: absolute; left: 0; padding-top: 10px; z-index: 5; color: white; font-size: 10px; text-align: left; line-height: 1.2em}

/* Text */
#global p {margin: 10px 0}
#global ul {margin: 7px 0}
#global ul + ul li {list-style-image: url("/images/resources/millride/button.png"); font-weight: bold}
#global img[align=left] {margin-right: 10px}

/* Headerus */
h1, h3, h4, h5 {color: #b50024; padding-left: 0 !important}
h2 {color: #000000;}
h1, h2, h3 {font-family: Georgia; font-weight: normal; font-family: "Trebuchet MS", "Helvetica"}
h1 {font-size: 27px}
h3 {font-size: 20px}
#global h4 {margin-top: 1em}
#global h1 + h4 {margin-top: 0.5em}
#global h4 + p strong {display: block; margin-top: -1em; font-size: 11px}
/* Form */
fieldset {padding: 10px; margin: 10px 0; width: auto; border: 1px solid #c98a16}
.formPublic label {display: block; width: auto; text-align: left; float: none} 
.formPublic .putright {margin-left: 0}
.formPublic input, .formPublic select, .formPublic textarea {margin-left: 0; float: none}
.formPublic br {display: none}

.formPublic hr {margin: 1em 0; display: block}
.formPublic input, .formPublic textarea {padding: 3px}
.formPublic form label {margin-top: 1em; padding-right: 1em}
.formPublic fieldset {padding-top: 0; padding-bottom: 0}
.formPublic textarea {width: 608px; height: 100px; margin-bottom: 2em}
.formPublic input[type=text] {width: 40%}
.formPublic label.customnoformat {display: none}
.formPublic input[type=checkbox] {margin-right: 5px; margin-left: 1.5em}
.formPublic br + label + label + input[type=checkbox],  .formPublicA br + label +input[type=checkbox] {margin-left: 0}
.formPublic li {color: red}

.formDays input#custom_21 {margin-left: 0}
.formDays input#custom_25 {width: 4em}
.formPro input#custom_32 {margin-left: 0}
.formPro input#custom_36, .formPro input#custom_37 {width: 4em}
.formConferences input#custom_44, .formConferences input#custom_45, .formConferences input#custom_46, .formConferences input#custom_47 {width: 6em}

/*Siebar */
#sidebar input {margin-left: 0}
#leftsidebody #sidebar {margin-left: -10px}
#leftsidebody #sidebar {width: 215px !important}
#leftsidebody #body {width: 640px !important}
hr {color: #c98a16; border:none; border-bottom: 1px solid #c98a16}
#sidebar p:first-child img {width: 100%; height: auto}
#sidebar h2 + ul {background: #ffdf9b;}
#sidebar h2 + ul li, #sidebar h2 a, #sidebar h2 + ul li a {display: block; margin-left: 0}
#sidebar h2 + ul {margin-top: 5px}
#sidebar h2 a{color: #333333}
#sidebar h2 {padding: 5px 10px 5px 10px !important}
#sidebar h2 + ul {padding: 10px 10px 10px 10px}
#sidebar h2, #sidebar h2 + ul {border: 1px solid #c98a16}
#sidebar .box {width: 193px; margin-top: 5px}
#sidebar .box h2 +ul {border: none; padding: 0; font-size: 13px; margin-right: -1px}
#sidebar ul li {display: block; list-style-type: none; margin-left: 0; padding-left: 0}

#sidebar h2 {border: none}
/* #sidebar h2 {border-bottom: none}
#sidebar h2 + ul {border-top: none} */
#sidebar h2 {background: #c98a16;} 
#sidebar h2 a, #sidebar h2 {color: white; font-family: Arial; font-size: 14px}
#sidebar h2 {background: #b50024; font-size: 16px}
#sidebar .box h2 {color: #b50024; font-size: 20px}
#sidebar ul + p img {width: 100%; height: auto}
#sidebar .showBullet h2 + ul li, #sidebar .showBullet ul li {display: list-item; list-style-type: disc; margin-left: 10px}
.body-class-home #sidebar .boxSmall {font-size: 12px}

/* Boxes */
.box {background: #FFFCEB; border: 1px solid #c98a16; padding: 10px; background: #ffdf9b; }
.box {margin-bottom: 20px}
#sidebar .box h2 {padding: 0 !important; border: none; background: none !important}
.boxSingle a {color: #333333; margin-bottom: -10px; display: block}
.boxSingle a:hover {color: blue}

/* Frpnt List */
.front ul {width: 100%; float: left; margin: 0; padding: 0; margin-bottom: 20px}
.front {width: 660px; padding-bottom: 20px}
#global .front ul {margin-top: 0}
#global .front ul li {margin: 0; margin-right: 20px}
#global .front ul li:last-child {margin-right: 0}
.front li {display: block; width: 145px; float: left; background: #b50024}
.front li a {display: block; padding: 2px}
.front li a img {width: 145px; position: relative; left: -20px; display: block; margin-bottom: 3px}
.front li {margin-bottom: 10px}
.front li a {color: white;}
.front li a:hover {text-decoration: underline}
.front li a {padding-left: 20px}
.front li a {background: url(/images/resources/millride/button.png) no-repeat 7px 107px; font-size: 13px}
.front li a {line-height: 30px}

a.button {background: url(/images/resources/millride/button.png) no-repeat 0 50%; padding-left: 12px; margin-right: 20px}


/*Table */
#global table {margin-left: 0; width: 100%}
table {margin-left:0 !important}
table thead td {background: #b50024; color: white; padding: 5px; font-size: 11px}
table thead td a {color: white; text-decoration: underline}
table thead td:first-child {font-weight: normal}
table thead td a {color: white; text-decoration: underline}
table thead td a:hover {color: #e9e9e9}
table td {padding: 2px 5px}
/* table td:first-child {font-weight: bold} */
table tfoot td:first-child {font-weight: normal}
.elected table td:first-child {padding-left: 0}
#globalwrap table p {margin: 0}

#gallery {border-top: 1px solid #b50024; border-bottom: 1px solid #b50024}
.frontGal #gallery {height: 270px}

span.red {color: red;}

