/*---- page layout */

#page {
  margin: 0 2% 0 2%;
}
#page-left {
  float: left;
  width: 67%;
  margin-bottom: 400px;  
}
#page-right {
  float: right;
  width: 28%;
}


/* top-menu -------------*/

#top-menu {
  font-size: 14px;
  background: #005800;
  margin-bottom: 20px;
  padding: 2px;
} 
#top-menu a {
  color: white;
  padding: 0px 4px;
}
#top-menu div {
  display: inline;
}

#logging {  /* signing in and out */
  position: absolute;
  right: 0.5%;
  top: 2px;
}
#my-card-link {
  font-weight: bold;
}



#navbox_background {
  margin:  0 8px;
  margin-bottom: 2px;     
  background: #ffc;        
  
  /* this is already specified in defaults.css, but specifying it again here fixes ie */
  border: 1px solid #aaa;
  border-top: 2px solid #666;
  border-left: 2px solid #666;
}

html>body #navbox_background {
  padding: 2px 0px;
}

/* use both ids otherwise #top-menu a  overrides */            
#navbox_background #navbox_image {
  padding: 2px 8px;
  background: url(/images/search.gif) no-repeat right;
}
html>body #navbox_background #navbox_image { 
  background-image: url(/images/search.png);
}
#navbox_field,
#navbox_field:focus {
  padding: 0px 3px;
  margin: 0px;
  height: 18px;
  width: 30%;
  position: relative;
  z-index: 1;
  font-size: 13px;
  border: 0px;
  background: #ffc;
}
#navbox_field_auto_complete {
  background: #eee
  width: auto;
}
#navbox_field_auto_complete .informal {
  color: #777;
  font-size: 10px;
}
#navbox_field_auto_complete a {
  display: inline;
  padding: 3px 8px;
  margin-right: 4px;

}

/* -------  logo --------- */
#logo {
  text-align: center;
  padding: 10px 0px;
  background: #fff; 
  border: 1px solid #777; 
  -moz-border-radius: 8px; 
}

#logo a, 
#logo a:link,
#logo a:visited { 
  color: #448; 
  text-decoration: none;
  text-align: center;
}



/*---- main card ------*/

.paging-links {
  float:right;
  margin-right: 15px
}




/*----- alerts ----------*/

#alerts {
  padding: 2px 9px;
  -moz-border-radius: 8px;
  color: #555;
  font-weight: bold;
  z-index: 4;
}
html>body #alerts { /* not in IE  (won't do fixed position) */
  position: fixed !important;
  bottom: 0px;
  right: 0px;
  display: block;
  background: #eee;
  -moz-border-radius: 8px 0px 0px 0px;
  border: 1px solid #ccc;
  border-bottom: 0px;
  border-right: 0px;

}
#alerts div {
  display: none;
}

/*----- fieldset tables --------*/

.fieldset { 
  width: 100%; 
}
.fieldset td     { 
  padding: 5px 3px 5px 3px; 
  border-bottom: 1px solid #ddd; 
}
.fieldset .label { 
  text-align: right;  
  white-space: nowrap;
  padding-right: 6px;
  vertical-align: middle;
}
.fieldset .field { 
  width: 25%;
  vertical-align: middle;
  padding: 7px
}
.fieldset .help { 
  padding-left: 6px;
  width: 50%;
}
.fieldset input[type=submit] {
  margin: 6px
}


/* -- instructions ---*/

.help, .instruction {
  background: #eec;
  color: #440;
  font-style: italic;
  text-align: center;
  padding: 2px;
}
.instruction div, 
.instruction p {
  padding: 4px;
}
.edit-instruction {
  margin: 8px 0px;
}
#new-card .main-instruction {
  margin-bottom: 20px;
}


/* --  miscellaneous --- */
/*
#maincontent { 
  padding: 0px 8px 10px 8px;
}

#create-advanced { 
  border: 1px solid #ccc;
  -moz-border-radius: 4px; 
}
*/

.admin-nav {
  margin: 10px 10px 30px 10px;
}

/* -----bottom menu ------*/

#bottom-menu {
  padding: 40px 0px 10px 0px;
  width: 100%;
  clear: both;
}

#credit {
  width: 75%;
  text-align: center;
  color: #999;
}



/*-------- Special Pages --------*/


/*-- sign in page --*/

#sign-in p {
  margin: 5px;
}
#sign-in input#login_field,
#sign-in input#password,
#sign-in input#email {
  width: 50%;
}


/*-- new card page ---*/

#new-editor {
  margin-top: 10px;
}
#new-card-cardtype {
  position: relative;
  top: 15px;
}


/*---- recent changes page ----*/

#recent-list h2 {
  margin: 8px 16px;
}


/* -- permissions page -----*/

#role_task {
  margin-bottom: 2em;
  padding: 3px;
}
.role {
  text-align: center;
  padding: 2px 8px;
}
.task {
  padding: 2px;
}

.exception p {
  margin: 15px;
}

/*-------- auto complete --------*/

div.auto_complete {
  width: 350px;
  background: #fff;
  text-align: left;
  position: relative;
  overflow: visible;
  z-index: 10
}
div.auto_complete ul {
  border:1px solid #888;
  background: #fff;
  margin:0;
  padding:0;
  width:100%;
  list-style-type:none;
}
div.auto_complete ul li {
  margin:0;
  padding:3px;
}
div.auto_complete ul li.selected { 
  background-color: #ffb; 
}
div.auto_complete ul strong.highlight { 
  color: #444; 
  margin:0;
  padding:0;
}

/*------- HACK FIXME------------*/

/*-- options toggle was looking funky in safari.  the pound makes safari ignore it.  MUST be at end of file, or else safari will ignore everything else */
#related #options-toggle { margin: 0px 10px;}
#related #options-toggle { margin: -15px 10px;#}







