body {
	font-family: "Lucida Grande", "Trebuchet MS", Verdana, sans-serif;
	font-size: small;
	text-align: center;
	color: #333;
	background-color: #E3EAD8;
}

.clear {
    clear: both;
    height: 1px;
    margin: -1px 0 0;
    font-size: 1px;
}

@media screen and (min-width: 820px) {

#page {
	width: 760px;
	height: 100%;
	text-align: left;
	background-image: url(images/bgmain.png);
	background-repeat: repeat-y;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
}
}

@media screen and (max-width: 820px) {
#page {
	width: 90%;
	height: 100%;
	text-align: left;
	background-color: white;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
        border: #333 solid;
}

#content >img {
  width:100%;
}
}

#content {
	float: left;
	text-align: left;
	padding: 0;
	line-height: 1.5em;
	margin-top: 48px;
	margin-right: -30px;
	margin-bottom: 0;
	margin-left: 32px;
	font-size: medium;
	width: 90%;
}

#footer {
       text-align: center;
       margin: 30px 0 30px 0
}


/* Header
------------------------------------------------------------------------- */
@media screen and (min-width: 820px) {

#header-container {
  background-image: url(images/border-top.png);
  background-repeat: x-repeat;
	height: 130px;
	width: 720px;
	margin-left: 21px;
}

#header {
	position: relative;
	background-color: #3E84B8;
	background-image: url(images/header1.png);
	background-repeat: no-repeat;
	background-position: left top;
	height: 130px;
	width: 720px;
}
}

@media screen and (max-width: 820px) {
#header-container {
}
#header {
	position: relative;
	background-color: #3E84B8;
	background-image: url(images/header1.png);
	background-repeat: no-repeat;
	background-position: left top;
	height: 130px;
	width: 100%;
}

#border-top {
  display:none;
}
}
#header h1 {
	margin: 0;
	color: #41A3FA;
	text-shadow: #81A75B 2px 2px 2px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	padding-top: 30px;
	padding-right: 10px;
	padding-bottom: 5px;
	padding-left: 100px;
}

#header h1 a {
    text-decoration: none;
    border-bottom: none;
    color: #42A4FB;
}
#header h1 a:hover {
    color: #61DC19;
    text-shadow: #fff 0 0 4px;
}

@media screen and (min-width: 820px) {
#border-top{
  height: 18px;
  background-image: url(images/border-top.png);
  background-repeat: x-repeat;
  margin-left: -20px;
  margin-right: -19px;
}

#border-top-left{
  float:left;
  height: 18px;
  width: 18px;
  background-image: url(images/border-top-left.png);
  background-repeat: no-repeat;
}

#border-top-right{
  float: right;
  height: 18px;
  width: 18px;
  background-image: url(images/border-top-right.png);
  background-repeat: no-repeat;
}

#border-bottom{
  height: 18px;
  background-image: url(images/border-bottom.png);
  background-repeat: x-repeat;
  margin-left: 1px;
}

#border-bottom-left{
  float:left;
  height: 18px;
  width: 18px;
  background-image: url(images/border-bottom-left.png);
  background-repeat: no-repeat;
}

#border-bottom-right{
  float: right;
  height: 18px;
  width: 18px;
  background-image: url(images/border-bottom-right.png);
  background-repeat: no-repeat;
}

#border-menu{
  height: 4px;
  background-image: url(images/border-menu.png);
  background-repeat: x-repeat;
}
}
.hide {display: none;}

#shortLogin {
  text-align: right;
  padding-right: 10px;
  color: darkred;
}

#shortLogin  a{
  color: white;
}

#wlpeLogin input, textarea, select{
  display: block;
  width:200px;
}

#wlpeUser input, textarea, select{
  display: block;
  width:200px;
}

#wlpeNewUser input, textarea, select{
  display: block;
  width:200px;
}

#searchText {
  width: 250px;
}

.menuSearch {
  width: 105px;
  float: left;
  padding-left: 22px;
  padding-bottom: 0px;
  margin-bottom: 0px;
}

.menuSearch input, label {
  width: 100px;
}

.menuSearch fieldset {
  width: 105px;
}

#ajaxSearch_submit {
  visibility: hidden;
  display: none;
}

#cadetForm,
#depositForm,
#pointsForm {
  padding-bottom: 35px;
  margin-left: 50px;
}

.cadetTable form.rowForm{
  padding-bottom: 0px;
  margin-left: 0px;
  display: inline;
}

.cadetTable form.rowForm checkbox{
  text-align:center;
}

.cadetTable fieldset,
#depositForm fieldset,
#pointsForm fieldset{
  width: 350px;
  border: 0px;
}

.cadetTable label{
  font-weight: bold;
  width: 180px;
}

table.trackingTable,
table.cadetTable,
table.teamTable {
  width: 100%;
}

table.trackingTable .headerCell {
  text-align:center;
}

#pagination {
  width: 100%;
  text-align: center;
}

#pagination ul li a.currentPage {
 	text-decoration: none;
	color: black;
}

#pagination ul li {
	position: relative;
	float: left;
  display: block;
	text-decoration: none;
	text-align: center;
	padding: 10px 5px 10px 5px;
}

#homeSideBar {
  float: left;
  width: 28%;
  padding-right: 8px;
}

#homeSideBar h4{
  margin-bottom: 4px;
}

#homeContent {
  text-align: left; 
  font-size: medium; 
  float: left;
  width: 70%;
}

.ajaxSearch_highlight {
  background-color: #00FFFF;
}

.small {
  font-size: x-small;
}

.bold {
  font-weight: bold;
}

.smallbold {
  font-size: x-small;
  font-weight: bold;
}

.calendar {
  font-size: small;
}

.services {
  padding-right: 10px;
}

.ajaxSearch_hiddenField {
  position:absolute;
  text-decoration:underline;
  background-color:#CC0000;
  left:0px;
  top:-500px;
  width:1px;
  height:1px;
  overflow:hidden;
}

/* VbsManager css rules */
a img {
  border-style: none;
}

.submitBtn {
  width: 90px;
}

#searchForm {
  border: 1px solid black;
}
#searchForm fieldset {
  border-style: none;
  display: inline;
}
#searchForm fieldset label input {
  width: 220px;
}
#searchForm .submitBtn {
  position: relative;
  margin: 5px 0px 10px 5px;
}

#ajaxSearch_form {
float:right;
}

#ajaxSearch_form fieldset {
  border: 0;
}

#ajaxSearch_input {
  width:125px;
}

#menu-container {
  padding: 5px;
}