* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #F0F0F0;
  font-family: verdana;
  color: #000000;
  font-size: 0.8em;
}

h1 {
  color: #1278B9;
  font-family: verdana;
  font-size: 2em;
  text-decoration: underline;
  text-align: center;
  padding: 10px 0;
}

h2 {
  color: #A2A2FA;
  font-family: verdana;
  font-size: 1.5em;
  text-decoration: underline;
}

p:first-child {
  padding-top: 10px;
}

a:link, a:visited {
  color: #BC2A3A;
  text-decoration: none;
}

a:hover, a:active {
  color: #CC8F1C;
  text-decoration: underline;
}

a img {
  border: none;
}

img {
  border: 0px;
}

table {
  width:100%;
  border-width: 1px;
  border-style: solid;
  border-color: #1278B9;
  border-spacing: 0px;
  border-collapse: collapse;
}

table td {
  border: 1px inset #909090;
  padding:2px 5px;
  vertical-align:top;
  text-align: justify;
}

table th {
  font-family: verdena;
  font-size: 1.2em;
  color: #000000;
  border: 1px inset #909090;
  padding: 2px 5px;
}

table th a {
  color: #147BAB !important;
}

table th a:active, a:hover {
  color: #147BAB;
}

table th#bike {
  width: 30%;
}

table th.name {
  width: 10%;
}

table th.phoneno {
  width: 8%;
}

input[type="text"], input[type="password"], input[type="file"] {
  width: 20em;
  border: 1px solid;
  background-color: #FAFAFA;
}

input#Key {
  width: 40em;
}

select {
  width: 400px;
  border: 1px solid;
  background-color: #FAFAFA;
}

.file input {
  color: #000;
  background: #D4D4D4;
  border: 2px outset #000000
}

textarea {
 border: 1px solid;
 background-color: #FAFAFA;
}

div.wrapper {
 margin-left: auto;
 margin-right: auto;
 width: 90%;
 margin-bottom:20px;
}

div.buttons {
  margin-left: 16em;
}

div.buttons input {
  color: #000;
  background: #D4D4D4;
  border: 2px outset #000000;
  width: auto;
  margin-right: 10px;
}

p.generaltext {
 text-align: left;
}

table#group-details {
	width: 50%
}

table#clothing-order-counts, table#clothing-order-details {
  width: 50%
}

fieldset {
  border-width: 0;
  margin-top: 10px;
}

fieldset.fields dt {
  float: left;
  text-align: right;
}

fieldset dl {
  height: 1%;
  overflow: hidden;
  padding: 1px 0 6px;
}

fieldset dt {
  border-right-width: 0;
  width: 15em;
}

fieldset dd {
  margin-bottom: 3px;
  margin-left: 16em;
  padding-bottom: 5px;
}

div#header {
  border-bottom: 2px solid #1278B9;
  height: 190px;
  background-color: #1278B9;
}

div#header-image {
  text-align: center;
}

div#header-links {
/*   border-bottom: 2px solid #DA8103; */
  float: right;
  left: -50%;
  position: relative;
  text-align: left;
  min-height: 10px;
}

ul#nav {
  left: 50%;
  list-style: none outside none;
  position: relative;
}

ul.drop a {
  display: block;
  color: #FFFFFF;
}

ul.drop, ul.drop li, ul.drop ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.drop {
  position: relative;
  z-index: 597;
  float: left;
}

ul.drop li {
  float: left;
  line-height: 1.3em;
  vertical-align: middle;
  zoom: 1;
  padding: 5px 10px;
}

ul.drop li.parent, ul.drop li.parent:hover {
  background: url("./images/drop.png") no-repeat scroll 90% 50% rgba(0,0,0,0);
  color: #BC2A3A;
  padding-right: 20px;
}

ul.drop li:hover, ul.drop li:hover {
  position: relative;
  z-index: 599;
  cursor: default;
}

ul.drop ul {
  visibility: hidden;
  position: absolute;
  top: 1.8em;
  left: 0;
  z-index: 598;
  width: 195px;
  background: #1278B9;
  border: 2px solid #1278B9;
}

ul.drop ul li {
  border-top: 1px solid #FFFFFF;
  float: none;
}

ul.drop ul li:first-child {
  border-top: none;
}

ul.drop ul ul {
  top: -2px;
  left: 100%;
}

ul.drop li:hover > ul, ul.drop li:active > ul {
  visibility: visible;
}

div#list-wrapper {
  margin: 0 auto;
  display: inline;
}

input[type="radio"], input[type="checkbox"] {
  margin-left: 10px;
  margin-right: 2px;
}

input[type="radio"]:first-child, input[type="checkbox"]:first-child {
  margin-left: 0;
}

.red {
  color: red;
}

dl.UserDisplay dt, dl.RideDisplay dt, dl.ClimbDisplay dt, dl.FAQDisplay dt, 
  dl.StringDisplay dt, dl.CommitteeDisplay dt, dl.JerseyOrder dt,
  dl.ContactDisplay dt, dl.GroupDisplay dt, dl.MembershipOrgDisplay dt {
  font-weight: bold;
  float: left;
  text-align: right;
  border-right-width:0;
  width: 15em;
}

dl.UserDisplay dd, dl.RideDisplay dd, dl.ClimbDisplay dd, dl.FAQDisplay dd, 
  dl.StringDisplay dd, dl.CommitteeDisplay dd, dl.JerseyOrder dd,
  dl.ContactDisplay dd, dl.GroupDisplay dd, dl.MembershipOrgDisplay dd {
  margin-bottom: 3px;
  margin-left: 16em;
}

dl#Ride-Details dt, dl#Climb-Details dt {
  font-weight: bold;
  padding: 5px 0;
  border-bottom: 1px solid #1278B9;
  font-size: 1.2em;
  margin-bottom: 5px;
  padding-top: 5px;
  color: #222222;
}

dl#Ride-Details dd, dl#Climb-Details dd {
  margin-left: 50px;
}

#Description-Links {
  list-style: none outside none;
  display: block;
  padding-bottom: 20px;
}

#Description-Links li {
  float: left;
  padding-left: 20px;
}

#Description-Links li:first-child {
  padding-left: 0px;
}

ul.Nested-List-Parent {
  margin-top:10px;
  list-style: none;
}

ul.Nested-List-Parent li {
  margin-top: 5px;
  color: #222222;
  font-family: verdana;
  font-size: 1.5em;
}

ul.Nested-List-Child {
  list-style: none outside none;
  margin-top: 5px;
}

ul.Nested-List-Child li {
  font-size: 0.67em;
  margin-top: 0;
  text-decoration: none;
  color: black;
  margin-left: 20px;
}

.underline {
  text-decoration: underline;
}

ul#Climb-List, ul#Ride-List {
  list-style: none outside none;
}

ul#Climb-List li, ul#Ride-List li {
  margin-top: 2px;
  margin-bottom: 2px;
}

.centretext {
  text-align: center;
}

div#Maps {
  text-align: center;
}

#MapSelector, #RouteMapSelector, #ProfileMapSelector {
  padding-top: 20px;
  padding-bottom: 10px;
}

#RouteMapSelector {
  display: block;
}

#ProfileMapSelector {
  display: none;
}

.display {
  display: block;
}

.hide {
  display: none;
}

#RideTitle, #ClimbTitle {
  width: 50%;
}

#RideDescription, #RouteDescription, #ClimbDescription, #Answer, #Value {
  width: 100%;
  height: 300px;
}

#ContactBody {
  width: 50%;
  height: 300px;
}

#RideMap, #ProfileMap {
  width: 100%;
}

optgroup option {
  padding-left: 50px;
}

select[multiple="multiple"] {
  height: 12.3em;
}

#Strava-Activity, #Strava-Summary {
  overflow: hidden;
  width: 300px;
  height: 454px;
}

#Google-Ride-Calendar {
 border: solid 1px #777;
 width: 800px;
 height: 600px;
}
