* {
  padding: 0;
  margin: 0;
}

body {
  color: #000;
  background: #F9FCFC;
  font-family: sans-serif;
  font-size: 12px;
}

h1 {
  font-size: 14px;
  font-weight: bold;
  padding-bottom: 5px;
}

h2 {
  font-size: 13px;
  font-weight: bold;
  margin: 3px 0 2px 0;
}

h3 {
  font-size: 12px;
  font-weight: bold;
}

a {
  color: #005896;
  text-decoration: none;
}
a:link   {
}
a:visited  {
}
a:active  {
}
a:hover  {
  text-decoration: underline;
}

select,
textarea,
input[type=text],
input[type=password],
input[type=submit] {
  font-family: sans-serif;
  font-size: 12px;
  border: 1px solid #ddd;
  margin: 1px 0;
  display: block;
  width: 190px;
}
input.dat {
  width: 170px;
  display: inline-block;
}
input[type=submit] {
  margin-top: 5px;
}
textarea {
  width: 370px;
  height: 260px;
}

label {
  display: block;
}
label.cb {
  display: inline;
  margin-right: 10px;
}

span.red {
  color: red;
}

.clr {
  clear: both;
}
input[type=text].new_value {
  display: none;
}

table {
  width: 100%;
  border-collapse: collapse;
}
table, th, td {
  border: 1px solid #ddd;
}
th, td {
  text-align: left;
  vertical-align: top;
  padding: 2px;
}
th {
  background-color: #eee;
  color: #444;
  font-size: 11px;
}
tr.no_interesting {
  background-color: #ddd;
}
td.bold {
  font-weight: bold;
}
td.imp {
  color: red;
}
tr.archived td a {
  text-decoration: line-through;
}





/* common */
#header {
  height: 5px;
}

#top {
  display: inline-block;
  width: 100%;
}

#wrap {
  padding: 3px 10px;
}

#content {
  vertical-align: top;
}

#footer {
  height: 5px;
}

/* menu */
ul#menu {
  display: block;
  margin-left: -3px;
  margin-bottom: 5px;
}
ul#menu li {
  display: block;
  float: left;
}
ul#menu li a {
  padding: 3px;
  font-weight: bold;
}


/* errors */
ul#errors {
  color: red;
  list-style-type: none;
}

/* user */
div#login {
  text-align: center;
  width: 150px;
  margin: 0 auto;
}
div#login input {
  width: 100%;
  margin-bottom: 5px;
}

div#user_info {
}


/* main */
div#main .field {
  width: 200px;
  height: 38px;
  display: block;
  float: left;
}
div#main .field_plus {
  width: 200px;
  height: 84px;
  display: block;
  float: left;
}

div#main .mid {
  margin-top: 14px;
  height: 24px;
}
div#main .mid label {
  margin-right: 10px;
}
div#main input.company_country_cb {
  margin-top: 5px;
}

/* detail */

div#detail select.comment_mailto {
  width: 140px;
  display: inline-block;
}
div#detail input.comment_mailto {
  width: 40px;
  display: inline-block;
}
div#detail #comment_type {
  font-size: 9px;
}

/* modal */
div.ajax_check {
  margin-left: 20px;
  font-size: 10px;
  font-style: italic;
}

#company textarea {
  width: 370px;
  height: 100px;
}
#comment textarea {
  width: 370px;
  height: 160px;
}
div.f {
  float: left;
}
div.c {
  clear: both;
}


/* report */
div#report .print {
  padding: 5px 0;
}
div#report .t {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}
div#report .tt {
  font-size: 13px;
  font-weight: bold;
  margin: 3px 0;
}
div#report .c {
  font-size: 14px;
  font-weight: bold;
}
div#report .v {
  font-size: 14px;
  min-width: 100px;
  display: inline-block;
  margin: 0 10px;
}

/* mail */
div#mail ul#address {
  list-style-type: none;
}
div#mail ul#address input {
  margin-right: 5px;
}
div#mail ul#address div.comment {
  font-style: italic;
}
div#mail label {
  margin: 2px 0;
}
div#mail textarea,
div#mail input[type=text] {
  width: 500px;
}

/* calc */
div#statistics table,
div#calc table {
  width: auto;
}
div#calc h2.inactive {
  text-decoration: line-through;
}



/* print */
@media print
{

.noprint {
  display: none !important;
}

}
