* { padding: 0;  margin: 0; }

a img, img { border: none;}

body {
  font-family: trebuchet ms, helvetica, verdana, monospace;
  font-size: 12px;
  background-image: url('/images/layout/background.gif');
  background-repeat: repeat;
  background-color: #CCC;
}

a,a:link, a:visited {
	color: #9A6916;
	text-decoration: underline;
}

a:hover, a:active {
	color: #142647;
	text-decoration: none;
}


p {
	margin:0;
	padding:0 0 11px 0;
}

h1.page-title { text-align: center; font-weight: bold; color: #9A6916; }

/* Modal Searching Window */
  #block-out{
    position:absolute;
    top:0;
    bottom:0%;
    left:0;
    right:0%;
    background-color:black;
    -moz-opacity:0.5;
    opacity:0.5;
    z-index:300;
    display:none;
    text-align:center;
    width:100%;
    height:500%;
    padding-top:200px;
  }

  #searching, #sorting, #processing, #warning {
    position:absolute;
    top:0;
    bottom:0%;
    border-color:black;
    border-style:solid;
    border-width:3px;
    padding:15px;
    left:50%;
    margin-left:-100px;
    top:30%;
    margin-top:-25px;
    right:0%;
    background:white;
    z-index:301;
    display:none;
    text-align:center;
    width:200px;
    height:50px;
  }

  #warning {
    top: 50px;
    margin-left: -200px;
    width: 400px;
    height: 300px;
  }
  
  #search-block-out{
    position:absolute;
    top:430px;
    bottom:0%;
    background-color:none;
    -moz-opacity:0.0;
    opacity:0.0;
    z-index:300;
    display:block;
    text-align:center;
    width:100%;
    height:2400px;
    padding-top:0px;
  }

#page_wrapper { 
  width: 100%;   
}

#page {
  width: 729px;
  margin: 0 auto;
  border-right: solid 2px #CCC;
  border-left: solid 1px #CCC;
}

#page_header {
  width: 729px;
  height: 80px;
  background-image: url('/images/layout/bluefade_bg.jpg');
  background-repeat: repeat-x;
  background-position: bottom left;
  background-color: #142647;
}

#top_link_line { 
  margin: 5px 5px 0 0;
  text-align: right; 
  font-weight: bold;
  font-size: .95em;
  background-image: url('/images/layout/ims-barter-header-top-gradient.jpg');
  background-repeat: no-repeat;
  background-position: bottom left;
  z-index: 5;
  height: 20px;
}

#top_link_line a {
  color: #FFF;
  text-decoration: underline;
}

#top_link_line, #top_link_line a:hover { color: #9FC3FF; text-decoration: none; }

#page_header img, #page_header a img { float: left; z-index: 2; }

#page_header #logo { float: left; height: 60px; width: 445px; }

#login_box {
  float: right;
  clear: right;
  text-align: right;
  margin-top: 5px;
  margin-right: 5px;
  color: #FFF;
  width: 230px;
}

#login_box a { 
  font-size: .95em;
  color: #FFF;
  text-decoration: underline;
}

#login_box a:hover { color: #9FC3FF; text-decoration: none; }
#login_box a img { float: right; margin-top: 15px; }
/******************/ 
/*  =IMAGE SET=   */

#image_set {
/*  background-image: url('/images/layout/image_set.jpg');
  background-repeat: no-repeat;
  background-position: top center;
*/  
  background-color: #FFF;
  height: 140px;
  text-align: center;
}

#section_heading hr { margin: 5px auto;  width: 85%; border-top: 1px solid #142647; }

/***********************/
/*  =CONTENT WRAPPER=  */

#content_wrapper {
  min-height: 400px;
  background-color: #FFF;
  margin-top: 20px;
  padding: 0 10px;
}

#section_heading { margin: 0 -10px; }

#content_wrapper #main { margin-left: -10px; }
#content_wrapper #sidebar { margin-right: -10px; }

/***************/
/*  =FOOTERS=  */

#content_footer {
  background-image: url('/images/layout/footer_bg.jpg');
  background-repeat: no-repeat;
  background-position: top left;
  height: 23px;
  width: 733px;
  margin: 0 auto;
  font-size: .85em;
  font-weight: bold;
  color: #888;
}

#content_footer span {
  float: right;
  margin: 5px 10px 0 0;
}

#content_footer span a, #content_footer span a:link, #content_footer span a:visited { color: #5A79A8 }
#content_footer span a:hover, #content_footer span a:active { color: #9A6916; }

#footer {
  width: 729px;
  text-align: center;
  margin: 0 auto;
  font-size: .8em;
}

#footer span.redleaf-credit { float: left; }    
#footer span.redleaf-credit a, #footer span.redleaf-credit a:visited { color: #203b6a; }    
#footer span.redleaf-credit a:hover { color:#2B7CB1; }  

