body{
 margin: 0;
 padding:0;
 background: #ffffff;
 min-width: 1000;
}

#wrap {
  margin-top: 0;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
  width:1000px;
}

/* ----- TOP HEADER BOX ------*/

#hdr{
 height: 135px;
 width: 1000px;
 background-image: url("/logo.png");
 background-repeat: no-repeat;
}

#hdrname{
 height: 112px;
 }

#hdrmenu{
 float: none;
 height: 10px;
 }

.menuitem {
  float: left;
  font-family: Tahoma,Verdana,Arial;
  font-size:11px;
  margin:5px 0px 0px 0px;
  color: #FFFFFF;
}


.menuitem a:link {
 color: #FFFFFF;
 text-decoration:none ;
}

.menuitem a:link {
 color: #FFFFFF;
}

.menuitem a:visited {
 color: #FFFFFF;
}

.menuitem a:active {
 color: #FFFFFF;
}

.menuitem a:hover {
 color: #FFFF00;
}

.contact a:link {
 color: #FFFFFF;
}

.contact a:visited {
 color: #FFFFFF;
}

.contact a:active {
 color: #FFFFFF;
}

.contact a:hover {
 color: #FFFF00;
}

.name {
  float: left;
  font-family:Tahoma,Verdana,Arial;
  font-weight:bold;
  font-size:14px;
  margin:0px 3px;
  text-align: center;
 color: #FFFFFF;
}

.customer {
  font-family:Tahoma,Verdana,Arial;
  font-weight:bold;
  font-size:14px;
  margin:0px;
  text-align: center;
  color: #FFFFFF;
}

.contact {
  float: right;
  font-family:Tahoma,Verdana,Arial;
  font-size:11px;
  margin:0px 10px;
  text-align: left;
  color: #FFFFFF;
}

#menu_top{
 float: left;
 width: 180px;
 border: 0px solid gray;
 background: #ffffff;
 color:#000000;
 margin: 0px;
 padding: 0px;
 }

#content_top{
 float: left;
 width: 780px;
 margin: 0px;
 border: 0px solid gray;
 background: #ffffff;
 color:#000000;
 padding: 5px;
 }
/* ----- END OF TOP HEADER BOX ------*/

#menu{
 float: left;
 width: 180px;
 border: 0px solid gray;
 background: #ffffff;
 color:#000000;
 margin: 0px 5px;
 padding: 0px;
 }

#content{
float: right;
 width: 780px;
 margin: 2px;
 border: 0px solid gray;
 background: #ffffff;
 color:#000000;
 padding: 5px;
 }

 h1 {
 font-family: Tahoma,Verdana,Arial;
 font-size: 24px;
 }

 h2 {
 font-family: Tahoma,Verdana,Arial;
 font-size: 22px;
 text-decoration: underline;
}

 h4 {
 font-family: Tahoma,Verdana,Arial;
 font-size: 14px;
 font-weight: bold;
 }

 h5 {
 margin: 0px 0px 5px 0px;
 padding: 0px;
 font-family: Tahoma,Verdana,Arial;
 font-size: 12px;
 /*font-weight: bold;*/
 /*font-style: italic;*/
 }

 p {
 font-family: Tahoma,Verdana,Arial;
 font-size: 12px;
 }

table.style {
  border: 1px solid gray;
    border-spacing: 0px;
    border-style: solid solid solid solid;
    border-color: gray gray gray gray;
    border-collapse: collapse;
    background-color: white;
  font-family: Tahoma,Verdana,Arial;
  font-size: 14px;
}

table.style th {
  border: 1px solid gray;
    padding: 3px 3px 3px 3px;
    background-color: white;
    -moz-border-radius: 0px 0px 0px 0px;
}

table.style td {
  border: 1px solid gray;
    padding: 3px 5px 3px 5px;
    background-color: white;
    -moz-border-radius: 0px 0px 0px 0px;
}

ul {
  font-family: Verdana,Tahoma,Arial;
  font-size: 10px;
  list-style: none;
  margin-left: -10px;
}

ul a {
 text-decoration: none;
}

ul li {
  margin-left: 5px;
  padding-left: 5px;
}

ul li ul {
  margin-left: 5px;
  padding-left: 5px;
}

ul li ul li ul {
  margin-left: 5px;
  padding-left: 5px;
}

/*IE needs extra margin and padding set for the indented li */
/*
* html ul {
    margin-left:10px;
    padding-left: 10px;
}
* html ul li ul {
    margin-left:10px;
    padding-left: 10px;
}
* html ul li ul  li ul{
    margin-left:10px;
    padding-left: 10px;
}
*/
/* end IE hack */

table.borderless {
    border-width: 0px 0px 0px 0px;
    border-spacing: 2px;
    border-style: outset outset outset outset;
    border-color: gray gray gray gray;
    border-collapse: separate;
    background-color: white;
  font-family: Verdana;
  font-size: 10px;
}
table.borderless th {
    border-width: 0px 0px 0px 0px;
    padding: 1px;
    border-style: inset inset inset inset;
    border-color: gray gray gray gray;
    background-color: white;
    -moz-border-radius: 0px 0px 0px 0px;
}
table.borderless td {
    border-width: 0px 0px 0px 0px;
    padding: 1px;
    border-style: inset inset inset inset;
    border-color: gray gray gray gray;
    background-color: white;
    -moz-border-radius: 0px 0px 0px 0px;
  font-family: Verdana;
  font-size: 11px;
}

input {
 font-family: Verdana,Arial;
 font-size: 10px;
}

.tinyfont {
 font-family: Tahoma,Verdana,Arial;
 font-size: 9px;
 color: #00AA00;
}

.smallfont {
 font-family: Tahoma,Verdana,Arial;
 font-size: 9px;
 font-weight: bold;
 color: #999999;
 margin-left: 15px;
}

table.list {
    border-width: 1px 1px 1px 1px;
    border-spacing: 0px;
    border-style: solid solid solid solid;
    border-color: gray gray gray gray;
    border-collapse: collapse;
    background-color: white;
  font-family: Tahoma,Verdana,Arial;
  font-size: 14px;
}

table.list th {
    border-width: 1px 1px 1px 1px;
    padding: 3px 3px 3px 3px;
    border-style: solid solid solid solid;
    border-color: gray gray gray gray;
    background-color: white;
    -moz-border-radius: 0px 0px 0px 0px;
}

table.list td {
    border-width: 1px 1px 1px 1px;
    padding: 3px 5px 3px 5px;
    border-style: solid solid solid solid;
    border-color: gray gray gray gray;
    background-color: white;
    -moz-border-radius: 0px 0px 0px 0px;
}

table.cart {
    border-width: 1px 1px 1px 1px;
    border-spacing: 0px;
    border-style: solid solid solid solid;
    border-color: gray gray gray gray;
    border-collapse: collapse;
    background-color: white;
  font-family: Tahoma,Verdana,Arial;
  font-size: 10px;
  font-weight: normal;
}

table.cart th {
    border-width: 1px 1px 1px 1px;
    padding: 3px 3px 3px 3px;
    border-style: solid solid solid solid;
    border-color: gray gray gray gray;
    background-color: white;
    -moz-border-radius: 0px 0px 0px 0px;
}

table.cart td {
    border-width: 1px 1px 1px 1px;
    padding: 3px 5px 3px 5px;
    border-style: solid solid solid solid;
    border-color: gray gray gray gray;
    background-color: white;
    -moz-border-radius: 0px 0px 0px 0px;
}

.description {
  padding: 15px;
  margin: 5px 40px 5px 40px;
  /*background: #E0E0E0;*/
  font-family: Tahoma,Verdana,Arial;
  font-size: 12px;
  font-weight: normal;
}

.group {
  position:relative; /*this is the key*/
  float: left;
  /*padding: 2px;*/
  display: inline;
  /*border:1px solid #fc0;*/
  margin:2px 2px 2px 2px;
  background: #E0E0E0;
}

.float {
  float: left;
  /*margin: 5px 10px 5px 10px;*/
  padding: 5px;
  text-align: center;
  font-family: Tahoma,Verdana,Arial;
  font-size: 12px;
  font-weight: normal;
}

img { vertical-align: middle; }

.float2 {
  float: left;
  width: 155px;
  height: 200px;
  margin-left: 15px;
  margin-right: 15px;
  padding-top: 15px;
  padding-left: 10px;
  padding-right: 0px;
  padding-bottom: 15px;
  background-image: url('/picture/image_frame.png');
  background-repeat:no-repeat;
  font-family: Verdana,Tahoma,Arial;
  font-size: 11px;
  font-weight: normal;
}

.matching_old {
  float: left;
  height:90px;
  width: 90px;
  /*background-color: gold;*/
  padding: 5px 15px 0px 8px;
  margin: 2px;
  text-align: center;
  background-image: url('/picture/image_frame_sm.png');
  background-repeat:no-repeat;
}

div.matching {
  float: left;
  height:90px;
  width: 90px;
  /*background-color: gold;*/
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
  margin-left: 5px;
  padding-top: 6px;
  padding-right: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
/*  padding: 3px 15px 0px 0px;
  margin: 2px 2px 0px 0px; */
  text-align: center;
  background-image: url('/picture/image_frame_sm.png');
  background-repeat:no-repeat;
  background-position: center, 0px;
}

a:link {
 color: #0000F0;
}

a:visited {
 color: #0000F0;
}

a:active {
 color: #000000;
}

a:hover {
 color: #FF4500;
}

/* ----------------- Image Formatting for Search Results Page----------------- */

.thumbnail {
    position: relative;
    z-index: 0;
    }

.thumbnail:hover{
    background-color: transparent;
    z-index: 50;
    }

.thumbnail .image_large{ /*CSS for enlarged image*/
    position: absolute;
    left: -1000px;
    border: 1px solid #cccccc;
    visibility: hidden;
    color: black;
    text-decoration: none;
    }

.thumbnail:hover .image_large{ /*CSS for enlarged image on hover*/
    visibility: visible;
    top: 0px;
    left: 0px; /*position where enlarged image should offset horizontally */
    position: absolute;
    }

.thumbnail .image_large_top{ /*CSS for enlarged image*/
    position: absolute;
    left: -1000px;
    border: 1px solid #cccccc;
    visibility: hidden;
    color: black;
    text-decoration: none;
    }

.thumbnail:hover .image_large_top{ /*CSS for enlarged image on hover*/
    visibility: visible;
    top: -300px;
    left: 20px; /*position where enlarged image should offset horizontally */
    position: absolute;
    }


a.pages{
    position:relative; /*this is the key*/
    z-index:25; background-color:#FFFFFF;
    color:#000 !important;
    text-decoration:none
}

a.pages:hover {
  z-index:25;
}

a.pages span {
  display: none
}

a.pages:hover span{ /*the span will display just on :hover state*/
    display:block;
    position:absolute;
    top:2em; left:2em; width:18em;
   /* top:8em; left:20em; width:25em; */
    border:1px solid #000000;
    padding: 0.2em;
    background-color:#FFFFFF;
    color:#000000 !important;
    text-align: center;
    font-family: Tahoma,Verdana,Arial;
    font-size: 10px;
    font-weight: bold;
}
