/* basic elements */
body {
  text-align: center;
  margin: 0 auto;
  padding: 0;
  font: 75%/1.5 "Verdana", "Tahoma", "Arial", "Helvetica Neue", Helvetica, sans-serif;
  background: #f2f2f2 url('../images/body_bg.png') repeat-x top;
}
body#popup {
  background: none;
}

/********************************* Typo & html elements ****************************/
p {
  margin: 0.5em 0;
}

a {
  text-decoration: underline;
  color: #045a7a;
}

a:hover {
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  padding: 0;
  margin: 0.5em 0;
  color: #AF054F;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  color: #045a7a;
}

h1 {
  font-size: 200%;
}

h2 {
  font-size: 180%;
  font-weight: bold;
  margin-top: 0.25em;
}

h3 {
  font-size: 140%;
}

h4 {
  font-size: 120%;
}

h5 {
  font-size: 100%;
}

h6 {
  font-size: 100%;
  color: #000;
}

a img {
  border: 0px solid #fff;
}

acronym, abbr {
}

fieldset{
  border: 1px solid #D2D1D1;
  padding: 1em;
  margin: 0 0 2em 0;
}

body[id] fieldset {
  width:auto;
  -moz-border-radius: 0;
  margin: 0 0 1em 0;
}

legend{
  padding:0 0.5em;
  font-size:140%;
  font-weight:bold;
  color: #000;
}

pre {
  font-family: courier;
  font-style: normal;
}

hr {
  height:1px;
}

.width_auto {
  width: auto;
}

.width_max {
  width: 99%;
}

.width_680 {
  width: 680px;
}

.width_550 {
  width: 550px;
}

.width_450 {
  width: 450px;
}

.width_400 {
  width: 400px;
}

.width_350 {
  width: 350px;
}

.width_250 {
  width: 250px;
}

.width_200 {
  width: 200px;
}

.width_150 {
  width: 150px;
}

.width_100 {
  width: 100px;
}

.width_100 input {
  width: 96px;
}

.width_50 {
  width: 50px;
}

.width_25 {
  width: 25px;
}

.width_15 {
  width: 15px;
}

.width_33 {
  width: 33%;
}

.width_full {
  width: 100%;
}

.width_20p {
  width: 20%;
}

.width_50p {
  width: 50%;
}

fieldset label span {
  display: block;
  width: 15em;
  float: left;
}

fieldset label.checkbox span {
  display: inline;
  width: auto;
  float: none;
  padding-left: 0.5em;
}

input, textarea, select {
  font-family: Verdana, "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: none repeat scroll 0 0 #E7F3F5;
  border: 1px solid #94BAC1;
  padding: 3px;
}


/* layout */
#all {
  margin: 0 auto;
  width: 960px;
  text-align: left;
  background: #fff;
  color: #000;
}

.cleaner {
  clear: both;
  height: 1px;
  font-size: 1px;
  border: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  visibility: hidden;
  display: block;
}

.strong {
  font-weight: bold;
}

.r, .r input {
  text-align: right;
}

.small {
  font-size: 0.85em;
  color: #666;
}

.hidden {
  display: none;
}

root {
  display: block;
}

.newDataBlock {  /*TODO*/
  width: 500px;
  height: auto;
  margin: 10px auto;
  overflow: auto;
}
.newDataBlock table { /*TODO*/
  text-align: left;
}
#longTimeWarning { /*TODO*/
  display: none;
}

.btn {
    text-transform: none;
  border: 1px solid #F8B302;
  background: #F8B302;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  padding: 2px 5px;
  background-image: linear-gradient(top, #F8CC02, #F8B302);
  background-image: -o-linear-gradient(top, #F8CC02, #F8B302);
  background-image: -moz-linear-gradient(top, #F8CC02, #F8B302);
  background-image: -webkit-linear-gradient(top, #F8CC02, #F8B302);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#F8CC02', endColorstr='#F8B302',GradientType=0 );
  display: inline-block;
  font-family: Verdana, sans-serif;
  font-size: 100%;
}

/* header */
#header {
  background: url('../images/hd_bg.png') no-repeat;
  height: 145px;
  position: relative;
}

#header h1 {
  font-weight: normal;
  position: absolute;
  left: -9999px;
  color: #A5C0DE;
}
#header .header-right {
  /*float: right;
  width: 400px;
  text-align: right;
  padding: 5px 15px;*/
  position: absolute;
  top: 11px;
  right: 0px;
  width: 800px;
  text-align: right;
}

#header .header-right .uname {
  color: #F8CB02;
}

#header .header-right a.logout{
  color: #fff;
  font-weight: bold;
  border: 1px solid #91c34a;
  padding: 4px 7px 4px 7px;
  text-decoration: none;
  backgroud-color: #71a02d;
  margin-left: 15px;
  background-image:  linear-gradient(top, #91c34a, #71a02d);
  background-image:  -o-linear-gradient(top, #91c34a, #71a02d);
  background-image:  -moz-linear-gradient(top, #91c34a, #71a02d);
  background-image: -webkit-linear-gradient(top, #91c34a, #71a02d);
}

#header #helpdesk {
    position: absolute;
    color: #fff;
    top: 105px;
    left: 357px;
}

#header #helpdesk a{
    color: #fff;
}

#header #helpdesk ul {
    margin: 0;
    padding: 0;
}

#header #helpdesk ul li {
    list-style: none;
    display: inline;
}

#header #helpdesk ul li.helpdesk {
    text-transform: uppercase;
    color: #A5C0D8;
    font-weight: bold;
    margin-right: 10px;
    float: left;
}

#header #helpdesk ul li.mail {
    background: url('../images/helpdesk_mail.png') no-repeat 0 -2px;
    padding-left: 25px;
    height: 25px;
    display: block;
    float: left;
}

#header #helpdesk ul li.phone {
    background: url('../images/helpdesk_phone.png') no-repeat 0 -2px;
    padding-left: 25px;
    margin-right: 10px;
    height: 25px;
    display: block;
    float: left;
}

#logout {
     position: absolute;
     top: 101px;
     right: 0;
}

#logout a {
    background: url("../images/gray_btn_center.png") repeat-x scroll 0 0 transparent;
    color: #000000;
    display: block;
    float: left;
    height: 26px;
    line-height: 220%;
    padding: 0 10px;
    text-decoration: none;
}

#logout a:hover {
    background-position: 0 -26px
}

/* main */
#main {
  padding: 15px;
}
.demo #main {
  background: url('../images/demo-bg.png') repeat 0 0;
}
.test #main {
  background: url('../images/test-bg.png') repeat 0 0;
}
.breadcrumb {

}
.error, .warning {
  padding: 10px;
  font-weight: bold;
  margin-bottom: 1em;
}
.error {
  border: 5px solid #b61803;
  background: #fef3f1;
  color: #b61803;
}
.warning {
  border: 5px solid #b61803;
  background: #fef3f1;
  color: #b61803;
}

.warning_info_user {
  padding: 10px;
  font-weight: bold;
  border: 1px solid #ccc;
  margin-bottom: 1em;
  color: #006400;
  border-color: #006400;
  background: #90ee90;
  display: none;
}


table {
  width: 100%;
  border-collapse: collapse;
}
table th {
      background: #d8e8ee;
    background-image: linear-gradient(top, #f4fcff, #d8e8ee);
    background-image: -o-linear-gradient(top, #f4fcff, #d8e8ee);
    background-image: -moz-linear-gradient(top, #f4fcff, #d8e8ee);
    background-image: -webkit-linear-gradient(top, #f4fcff, #d8e8ee);
 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f4fcff', endColorstr='#d8e8ee',GradientType=0 );
  border: 0;
  padding: 6px 5px;
  border-right: 1px solid #fff;
}

td {
  border: 1px solid #e2e2e2;
  padding: 6px 5px;
  line-height: 1.2em;
}
#criteriaList td input,
#criteriaList td select {
  width: 60px;
}

#main h2 {
  color: #045a7a;
  font-weight: normal;
}

/* login */
#login { /*TODO*/
  margin: 0 auto;
  width: 500px;
  border: 1px solid #ccc;
  background: #e6e6e6;
  padding: 10px;
}
#login label { /*TODO*/
  font-weight: bold;
  display: block;
  width: 120px;
}
#login table,
#login table td { /*TODO*/
  border: 0;
}
#login table td input { /*TODO*/
  background: #fff;
}
#login table td input.submit { /*TODO*/
  font-weight: bold;
  border-style: outset;
  background: #eee;
}

/* board */
.board ul { /*TODO*/
  list-style: none;
  padding: 0;
  margin-left: 0;
}
.board ul li { /*TODO*/
  margin: 0.5em 0;
  background: url('../images/li.png') no-repeat 3px 5px;
  padding-left: 18px;
}

.board .small { /*TODO*/
  display: block;
  background: #ececec;
  color: #000;
  padding: 2px 3px;
}

.board table td {
  border: 0;
  padding: 6px 3px;
}

.board table td a{
  text-decoration: none;
}

.board table td a:hover{
  text-decoration: underline;
}

.board table tr {
  border-bottom: 1px solid #E2E2E2;
}

/* auction */
.auction-user img {
  vertical-align: bottom;
}
#auction table td {
  border: 0;
  padding: 6px 3px;
}

#auction table tr {
  border-bottom: 1px solid #E2E2E2;
}

#auction table .e td {
  background: #F8F8F8;
}
#auction table .first td {
  background: #dbefce;
}
#auction table .second td { 
  background: #f0f9ea;
}

#auction table tr.my {
  border: 2px solid #045a7a;
}

#auction table .my td { 
  font-weight: bold;
}
#auction table .empty td {
  height: 20px;
  border: 0;
}
fieldset.auction-companies { /*TODO*/
  border: 1px solid #E2E2E2;
}
fieldset.auction-companies legend { /*TODO*/
  color: #d40000;
  border-left: 5px solid #eee;
  border-right: 10px solid #eee;
}
fieldset.auction-companies p { /*TODO*/

}

.auction-left {
  /*float: left;
  width: 270px;*/
}
.auction-right {
  /*float: right;
  width: 650px;*/
}

.auction-left-bg {
  background: #eaeddd;
  padding: 5px 10px;
}

#info-table,
#info-table td {
  border: 0;
  padding: 4px 0;
}
#info-table td {
  line-height: 2em;
}

#info-table td.r {
    padding-right: 10px;
}

#info-table .table-label {
  font-weight: bold;
  color: #000;
}
#info-table .member-count {
  font-size: 1.6em;
  font-weight: bold;
  color: #AF054F;
}
#remainingTime {
  white-space: nowrap;
  width: 125px;
  display: block;
}
.time-h, .time-m, .time-s { 
  display: block;
  float: left;
  /*background: #000 url('../images/num-bg.png') no-repeat 0 0;*/
  background: #AF054F;
  /*width: 27px;*/
  text-align: center;
  color: #fff;
  font-size: 1.3em;
  font-weight: bold;
  border-radius: 3px;
  /*letter-spacing: 7px;*/
  /*padding-left: 2px;*/
  padding: 3px 5px;
  margin-right: 6px;
}
.time-h { /*TODO*/
  /*background: #000 url('../images/num-h-bg.png') no-repeat 0 0;*/
  /*width: 42px;*/
  /*letter-spacing: 6px;*/
}
.time-s {
  margin-right: 0;
}

.settings {
  padding-left: 20px;
  /*background: url('../images/settings.png') no-repeat 0 0;*/
  display: block;
  text-align: right;
}

.settings-list {
  padding-left: 20px;
}

h3.ended {
  background: #a00 url('../images/ended.png') no-repeat 10px 50%;
  color: #fff;
  padding: 5px;
  font-weight: normal;
  margin-top: 43px;
}

/* footer */
#footer {
  padding: 15px 10px;
  margin: 15px 15px;
  text-align: right;
  border-top: 1px dotted #d4d1d1;
}

.nowrap {
  white-space: nowrap;
}

.board table .e td {
  background: #F8F8F8;
}

.board table th.aname {
  /*width: 40%;*/
}

.spec_row {
  background-color: #dbefce; /*TODO*/
}

/*breadcrumb*/
.breadcrumb {
    display: none;
}

.breadcrumb em {
  font-style: normal;
}

.loading {
  background: url('../images/loading.gif') no-repeat;
  margin-left: 50%;
  width: 50px;
  height: 50px;
}

select {
  border: 1px solid #AAA;
  color: #555;
  font: inherit;
}


/*** CHAT ***/
ul {
  margin: 0;
  padding: 0;
}

a {
  color: #d40000;
  text-decoration: underline;
  cursor: pointer;
}

a:hover {
  text-decoration: none;
}

#chat {
  width: 310px;
  border: 1px solid #b2b2b2;
  font-size: 13px;
  position: fixed;
  bottom: 5px;
  right: 5px;
}

a.minimize {
  display: block;
  width: 21px;
  height: 21px;
  background: url('../images/minimize.png') no-repeat;
  float: right;
  margin: 4px 4px 0 0;
}

a.minimize span {
  position: absolute;
  left: -9999px;
}

#head_area {
  background-color: #e1e1e1;
  background-image: linear-gradient(to bottom, #E1E1E1 0%, #CCCCCD 100%);
  background-image: -webkit-linear-gradient(top, #E1E1E1 0%, #CCCCCD 100%);
  background-image: -webkit-gradient(linear, top, bottom, color-stop(0, #E1E1E1), color-stop(1, #CCCCCD));
  background-image: -o-linear-gradient(top, #E1E1E1 0%, #CCCCCD 100%);
  background-image: -moz-linear-gradient(top, #E1E1E1 0%, #CCCCCD 100%);
  background-image: -ms-linear-gradient(top, #E1E1E1 0%, #CCCCCD 100%);
  height: 30px;
  line-height: 180%;
  font-size: 120%;
  font-weight: bold;
  padding-left: 5px;
  cursor: pointer;
}

#chat_window {
  border-top: 1px solid #b2b2b2;
  background-color: white;
}

.title {
  float: left;
}

#chat #head_area .notification {
  margin-left: 10px;
  margin-top: 6px;
  float: right;
  display: block;
  width: 24px;
  height: 16px;
  background: url('../images/new_msg.gif') no-repeat;
}

#messages_area {
  height: 300px;
  overflow-y: scroll;
}

#messages_area ul li {
  border-bottom: 1px dotted #b2b2b2;
  padding: 6px 0 6px 25px;
  padding: 6px 0 6px 25px;
  word-wrap: break-word;
}

#messages_area ul li.in {
  background: url('../images/msg_in.png') no-repeat 6px 8px;
}

#messages_area ul li.unread {
  font-weight: bold;
}

#messages_area ul li.e {
  background-color: #f9f9f9;
}

#messages_area ul li.last {
  border-bottom: 0;
}

#messages_area ul li .info {
  font-weight: bold;
  margin-bottom: 3px;
}

#messages_area ul li cite {
  display: block;
  margin-bottom: 3px;
  color: #595959;
}

#messages_area ul li p {
  margin: 0;
  padding: 0;
}

#send_area .txtarea_in {
  border-top: 1px solid #b2b2b2;
  border-bottom: 1px solid #b2b2b2;
  padding: 5px;
}

#send_area textarea {
  width: 100%;
  border: 0;
}

#send_area {
  width: 310px;
}

#send_area #options {
  background: #e0e0e0;
  padding: 5px;
}

#send_area #options input.btn {
  color: #fff;
  font-weight: bold;
  background: #5b5b5b;
  border: 0;
  padding: 4px 10px;
  float: right;
  cursor: pointer;
}

#send_area #options input.btn:hover {
  background: #d40000;
}

#send_area #options select {
  float: left;
  padding: 4px 5px;
  border: 1px solid #b2b2b2;
  width: 200px;
}

.cl {
  clear: both;
  height: 1px;
}

#description {
  font-weight: bold;
}


