* {
  margin: 0;
  padding: 0;
}
input { padding: .3em; }
input.delete { color: red; }

.clear { clear: both; }

body {
  width: 1000px;
  margin: 0 auto;
  font-family: Corbel, Andalus, "Trebuchet MS", Tahoma, sans-serif;
  font-size: 14px !important;
  font-size: .8em;
  line-height: 1.4;
}

#header h1 {
  text-align: center;
  height: 175px;
  background: url('../images/bannerl-175.png') no-repeat top center;
}
#header h1 span { display: none; }
#header a { background: none; }

a:link, a:visited {
  background: url('../images/scrollstatic.gif') repeat-x bottom left;
  text-decoration: none;
  color: #045b8a;
}

a:hover, a:active {
  background: url('../images/scroll.gif') repeat-x bottom left;
  color: #bd003c;
}

#navigation { position: relative; padding-left: 5px; list-style-type: none; height: 100px; }
#navigation li { display: inline; }
#navigation li a {
  color: black;
  background: none;
  border-top: 10px solid #ffa800; 
  display: block;
  float: left; 
/*  width: 140px; */
  padding: 10px 0;
  text-align: center;
  font-weight: bold;
}
#navigation a:hover, #navigation a:active {
  border-top: 10px solid #BD003C;
  background: none;
  color: #bd003c;
}
/*
.lotsOfText {
  font-size: smaller;
}
*/
#navigation .external {
  padding-right: 15px;
  background: url('../images/external.png') no-repeat center right;
}
li.drop1 div { position: absolute; bottom: 0; right: 0; float: right; background: #eee;}
li.drop1 div a {
  height: 10px;
  position: relative;
  bottom: 0;
  bottom: .3em !important;
  padding: 0 .5em;
  margin: auto auto;
  background: none; 
  border: none !important;
}

#wrapper {
  border: 1px solid black;
  min-height: 500px;
  height: auto !important;
  height: 500px;
}
#wrapper h1, #wrapper h2 {
  color: #ffa800;
  border-bottom: 3px double black;
  margin-bottom: 13px;
}

#primary {
  float: left;
  width: 700px;
  min-height: 600px;
  height: auto !important;
  height: 600px;
  padding: 15px;
  padding-top: 0;
  background-color: white;
  border-left: 2px solid #ffa800;
}
#primary p { margin-bottom: 1em; }
#primary ul, #primary ol { margin-left: 2em; }
#primary img { margin: 3px; padding: 3px; border: 1px solid #BD003C }
#admin #primary img { border: none; }

#index #primary p span { display: block; text-align: center; font-size: 250%; color: #bd003c; }

#secondary {
  width: 200px;
  float: left;
  padding: 0 20px;
  margin: 4px 0;
}
#secondary p { margin-bottom: 2em; }
#secondary img { border: 1px solid black; }
/* #secondary h2 { font-size: 20px; color: #eff8fc; padding-left: 37px; background: url('../images/h2.png') no-repeat 0 0; }*/
#secondary select { width: 140px; }

#footer { text-align: center; padding: 13px; }


a.toTop:link, a.toTop:visited, a.jump:link, a.jump:visited { background: none; padding-right: 20px; }
a.toTop:hover, a.toTop:active { background: url('../images/arrow-up.gif') no-repeat center right; }
a.jump { position: relative; left: 15px; padding-left: 20px; }
a.jump:link, a.jump:visited { background: url('../images/arrow-down-gray.gif') no-repeat center left; }
a.jump:hover, a.jump:active { background: url('../images/arrow-down.gif') no-repeat center left; }

.orders { list-style-type: none; }
.orders li { font-size: 130%; }
a.pdf {
  padding-left: 25px;
  background: url('../images/pdf.gif') no-repeat center left!important;
}

.success, .fail, .warning, .info {
  min-height: 75px;
  height:auto !important;
  height: 75px;
  padding-left: 75px;
  background-repeat: no-repeat;
  background-position: 0 8px;
  text-align: center;
  font-weight: bold;
  font-size: 1.2em;
  list-style-type: none;
}
.success { background-image: url('../images/success.gif'); }
.warning { background-image: url('../images/alert.gif'); }
.fail { background-image: url('../images/error.gif'); }
.info { background-image: url('../images/info.gif'); }

ul ul { list-style-type: inherit; }

span.grad { margin: 4px 0; display: block; height: 1px; background: url('../images/grad.gif') no-repeat center 0; }

#pan { width: 60px; color: black; }
#pan caption { display: none; }
#pan td, #pan a { width: 20px; height: 20px; margin-left: -23px; }
#decrease, #increase, #up, #right, #down, #left { display: block; padding-left: 23px; height: 23px; cursor: pointer; }
#decrease { background: url('../images/decreaseblue.gif') no-repeat; }
#increase { background: url('../images/increaseblue.gif') no-repeat; }
#up, #right, #down, #left { background: none; }

table {
  position: relative;
  width: 100%;
  margin-bottom: 2em;
  color: #77735F;
  border-width: medium;
  font-size: larger;
}

tr { position: relative; border: 1px solid black; }

thead th { border-bottom: 2px solid black; }

tbody th {
  text-align: left;
  font-weight: normal;
}

#contacts th { font-weight: bold; }

td, th { border-collapse: collapse; border-spacing: 0; }
td.status { width: 31px; }
#primary tr:hover { background-color: #eff8fc; color: black; }

#order table td {
  border: 1px solid black;
  padding: 1em 3px;
  font-weight: bold;
  font-size: 110%;
}

#order table table td {
  padding: 3px;
  font-weight: normal;
  font-size: 60%;
}
#order table table td input { width: 90%; }

#print #order table td { padding: .2em 3px; }
#order tr, #order tr:hover, #profile tr, #profile tr:hover { color: black; background: none; }
tr.necessary { color: #5b95b4!important; }
#order .error { color: red!important; }
#order table.error td { color: red!important; }
#order .fieldName {
  font-style: italic;
  font-weight: normal;
  font-size: smaller;
  color: #77735F;
}
#order address.addr { text-align: right; float: right; }
#order div.fail address { text-align: inherit; position: static; }
#order address + table { clear: right; }

a.button:link, a.button:visited {
  display: block;
  float: left;
  width: 400px;
  height: 28px;
  padding: 0 5px;
  margin: 5px 0;
  background: #f5f5f5;
  border: 1px solid #dedede;
  font-size: large;
  line-height: 1;
}
a.button span { position: relative; bottom: 8px; }
a.button img { border: none!important; }
a.button:hover, a.button:active {
  background: #eff8fc;
  border-color: #5b95b4;
}
a.b-sidebar:link, a.b-sidebar:visited {
  border-color: #bd003c;
  background: #fff1d7;
  width: 180px;
  font-size: 100%;
}
a.b-sidebar:hover, a.b-sidebar:active {
  border-color: #5b95b4;
  background: #eff8fc;
}
a.b-sidebar span, a.b-sidebar img  { position: relative; bottom: 0; top: 4px; }
a.b-sidebar img { top: 6px; margin-right: 3px; }
#admin #primary a.button, #order #primary a.button {float: none; margin: 1em auto;}

#fees tbody td { text-align: right; }
#admin table input[type=text] { width: 100%; text-align: right; }
#admin table { max-width: 730px; }
#admin table.private input[type=text] { width: auto; }
#admin .private thead {font-size: smaller; }
#admin .private thead tr { width: 70px; }
#admin th + td { text-align: right; padding-right: 5px; }
#admin th + td + td { padding-left: 1em; }


a.new:hover, a.new:active, a.drop:hover, a.drop:active { background: none; }

#credits tr:hover { background-color: white; }
#credits td, #credits th { text-align: center; }
