/* Overall layout */
#main {
  padding: 10px 6px 6px 6px;
  background-color: #dddddd;
  border: solid 1px black;
  border-width: 0px 2px 2px 0px;
  position: relative;
  margin-top: 98px;
  margin-bottom:0px;
  margin-left: auto;
  margin-right: auto;
/*  width: 100%; */
  width: 760px;
/*  height: 500px;*/
  overflow: hidden;
  z-index: 10;
}

#mainwide {
  padding: 10px 6px 6px 6px;
  background-color: #dddddd;
  border: solid 1px black;
  border-width: 0px 2px 2px 0px;
  position: relative;
  margin: 98px 6px 0px 6px;
  z-index: 10;
}

#mainscroll {
    margin:0px;
    padding: 10px 4px 4px 4px;
    background-color: #dddddd;
    border: solid 1px black;
    position: relative;
    margin-top:  96px;
    overflow: scroll;
}

.headerbox {
    position: absolute;
    top: 2px;
    margin: 0px;
    padding: 0px;
    width: 100%;
}

.header {
    position: relative;
    border: solid 1px black;
  border-width: 0px 2px 2px 0px;
    background-color: #ddeeee;
    width: 760px;
  margin-top: 3px;
    margin-left: auto;
    margin-right: auto;
    padding: 0px 6px 0px 6px; 
    height: 66px;
    text-align: left;
}

.domain {
/*    border: solid 1px black; */
    float: left;
    /*width: 60%;*/
    width: 240px;
    text-align: left;
    padding:  0px;
    margin: 4px 0px 0px 0px;
}
.domain b {
/*    border: solid 1px black;*/
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    z-index: 100;
}

#icon{ 
/*    border: solid 1px red; */
    float: left;
  width: 260px;
  height: 100%;
  margin-left: 10px;
  overflow: hidden;
}
#navbox { 
  position: relative;
  margin-left: auto;
  margin-right: auto;
  padding: 0px;
  padding-top: 3px;
  width: 760px;
}
.nav {
  float: left;
     left: 4px;
    z-index: 0;
    padding: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    width: 450px;
    height: 24px;
}

.status {
  float: right;
    text-align: right;
    margin: 0px;
    top: 75px;
    right: 6px;
    padding: 2px 8px 0px 0px;
    width: 300px;
    height: 24px;
}

.features {
/*    border: solid 1px green;*/
    float: right;
    font-size: 12px;
/*    width: 35%;*/
    width: 240px;
    padding: 6px 0px;
}

fieldset
{
border: 1px solid #781351;
width: 100%;
/*
padding: 1em 2em 1em 2em;
*/
padding: 0px;
background: #e0e0e0;
}

legend
{
color: #fff;
background: #ffa20c;
font-size: 1.2em;
border: 1px solid #781351;
padding: 0.2em 1em
} 
.error {
/*border: 1px solid red;*/
color: red;
font-size:12px;
font-weight:bold;
}

.error h1,
.error h2 { 
font-size:16px;
 }

input { 
  padding: 0px;
  font-size: 1em;
}

.status input {
font-size: 0.8em;
padding:   0px 3px;
}

input.rightalign {
text-align: right;
}

body {
margin: 0;
padding: 0;
/*font-family: verdana,arial,helvetica,sans-serif;*/
font-size:12px;
font-family: 'Trebuchet MS', Verdana, Arial, sans-serif;
color: #4F5155;
/**/
background: #777;
/*
background: #606060;
/*
background: white;
/**/
/*background: url(../Img/0321472667.JPG);*/
}


/* makes all unvisited links blue */
a:link {color:blue;}

/* makes all visited links green */
/*
a:visited {color:green;}
*/
/* makes links red when hovered or activated */
/*a:hover, a:active {color:red;} */

/* makes table rows red when hovered over */
/*tr:hover {background-color: red;}*/

/* makes input elements yellow when focus is applied */
input:focus {background-color:yellow;}

ul {
/*  border: solid 1px brown;*/
  margin-top:  0px;
  margin-bottom:  0px;
}

ul.nav {
/*    border: solid 1px blue;*/
    list-style-type: none;
    font-size: 12px;
    margin: 0;
    padding: 0;
}

ul.nav li {
/*    border: solid 1px black;*/
    display: inline;
    margin: 0px;
    /* force cursor because first tab is onclick */
    cursor:pointer;
/*    padding: 2px 10px;*/
}

ul.nav li a {
    border-right: solid 1px black;
    background-color: #c0c0c0;
    line-height: 24px;
    padding: 2px 5px 2px 7px;
    color: #000;
    text-decoration: none;
    text-align: center;
}
/*
ul.nav li a.first {
    border-left: solid 1px black;
}
*/
ul.nav li.selected a {
    background-color: #dddddd;
    border-bottom: solid 1px #dddddd;
    border-right: solid 2px black;
}

/*
ul.nav li.first a {
    height: 30px;
    line-height: 30px;
}
*/

ul.nav li a:hover {
    background: #7498c9;
    color: #fff;
    margin: 0px;
}

ul.nav li a.first:hover {
    background: #7498c9;
    color: #fff;
    margin: 0px;
}

.code {
font-size: 1em;
font-family: Andale, Mono, 'Courier New', Courier, Monospace;
background-color: #f6f6f6;
border-bottom: 1px solid #D0D0D0;
border-top: 1px solid #A0A0A0;
border-left: 1px solid #A0A0A0;
border-right: 1px solid #D0D0D0;
color: #002166;
display: block;
margin: 2px 0 2px 0;
padding: 2px 10px 2px 10px;
}

th {
font-family: Lucida Grande, Verdana, Geneva, Sans-serif;
color: #000000;
background-color: #CFD4E6;
margin: 2px 2px 2px 2px;
padding: 2px 2px 2px 2px;
/*font-size: 13px;*/
font-weight: bold;
font-style: normal;
}

tr {
background-color: #e0e0e0;
}

tr.alt { 
background-color: #d0d0d0;
}

#inlinelogin {
  font-size: 11px;
/*  border: solid 1px red; */
  padding:   0px;
}

form {
  margin: 0px;
}

#img_sec {
  position: relative;
  float: left;
  width: 200px;
  height: 100%;
}

#seller_loc {
  float: left;
  width: 200px;
  height: 150px;
  border: solid 1px black;
}

#preview_pic {
  float: left;
  width:  190px;
  margin:  10px 0px 0px 0px;
}

#pics {
  /*border: solid 1px green;*/
  margin: 4px 0px 4px 0px;
}

#pics img {
  border: solid 6px #fff;
  margin: 0px;
  padding: 0px;
}

#inventorybox {
/*  border: solid 1px green;*/
  float: right;
  position: relative;
  width: 540px;
  height: 100%;
  margin: 0px;
  padding: 0px;
  overflow: hidden;
}

#inventoryscroll {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: scroll;
}

#inventorycontent {
  overflow: hidden;
}
.scrollcontent {
  margin-right: 0px;
  padding: 2px;
}

#inputloc {
  position: absolute;
  top:   0px;
  right: 210px;
  left:  0px;
  bottom: 0px;
  padding: 6px 0px;
}

#previewloc {
  position: absolute;
  top:   4px;
  right: 6px;
  width: 200px;
  height: 150px;
}

#fade {
  position: absolute;
  z-index:  -1;
  top:      0px;
  left:     0px;
  background-color: #000;
  filter: alpha(opacity=60);
  opacity: 0.3;
  height: 100%;
  width:  100%;
}

#footer { 
  /*border: solid 1px black;*/
  margin-top:  2px;
  margin-left: auto;
  margin-right: auto;
  //margin-bottom: 0.2em;
  width: 760px;
  text-align: center;
}

.status { 
  color: #ccc;
}
.status a,
#footer a { 
  color: #eef;
  font-weight: bold;
}

.status a:hover,
#footer a:hover { 
  background-color: #ccf;
  color: #000;
}

#background {
  position: absolute;
  top: 0;
  z-index:  -100;
  background-color: #777;
  height: 100%;
  width:  100%;
}
