@import url(http://www.automarket.fi/common.css);

html, body, div, img, form, input, h1, h2, h3, h4, p, label {
  margin: 0; padding: 0; border: none;
}

body, input, select {
  font-family: Arial, Helvetica, sans-serif; font-size: 13px;
  background: white; color: black;
}

input.text {
  border: 1px solid #bbb; padding: 2px;
}

form.inline {
  display: inline; margin: 0; padding: 0;
}

#container {
  width: 777px; margin: 20px auto;
}

body.login #logincont  { width: 264px; float: right; }
body.login #regnfocont { width: 504px; float: left; }

body.regform #topblock { width: 100%; } /* IE bug fix, the block won't show unless a dimension is given */
body.regform #regform { float: left; width: 480px; }
body.regform #reghelp { float: right; width: 240px; }

div.box div.content h2 {
  font-size: 15px; font-weight: bold; text-transform: uppercase;
  padding-bottom: 13px; border-bottom: 1px solid #CCC; margin-bottom: 19px;
}
div.box div.content h3 {
  font-size: 13px; font-weight: bold; margin-top: 15px;
  padding-bottom: 3px; border-bottom: 1px solid #CCC; margin-bottom: 5px;
}
div.box ul {
  margin: 0; padding: 0;
}
div.box li {
  padding: 0; margin: 0;
  padding-bottom: 3px; border-bottom: 1px solid #CCC;
  margin-bottom: 5px; list-style: none;
  background: url(images/bullet_pun.gif) 0 45% no-repeat;
  padding-left: 13px;
}


/*
div.redheadbox h1 {
  height: 31px; margin: 0 0 5px 0;
  background: url(images/rub_k31_bg.gif) top right no-repeat;
}
div.redheadbox div.outer {
  background: white url(images/bg3d_bg_n_r.gif) top right no-repeat;
}
div.redheadbox div div.inner {
  background: transparent url(images/bg3d_l.gif) top left no-repeat;
  padding: 20px 14px;
}

div.redheadbox h2 {
  font-size: 15px; font-weight: bold; text-transform: uppercase;
  padding-bottom: 13px; border-bottom: 1px dotted #bbb; margin-bottom: 19px;
}
div.redheadbox h3 {
  font-size: 13px; font-weight: bold; margin-top: 15px;
  padding-bottom: 3px; border-bottom: 1px dotted #bbb; margin-bottom: 5px;
}

div.redheadbox ul {
  margin: 0; padding: 0;
}
div.redheadbox li {
  padding: 0; margin: 0;
  padding-bottom: 3px; border-bottom: 1px dotted #bbb;
  margin-bottom: 5px; list-style: none;
  background: url(images/bullet_pun.gif) 0 45% no-repeat;
  padding-left: 13px;
}
*/

body.login #fieldblock {
  padding: 0 15px 20px 15px; border-bottom: 1px solid #CCC;
}

/* login page */
body.login label {
  display: block; font-weight: bold;
  font-size: 14px; padding-bottom: 3px;
}
body.login input.text {
  width: 200px; margin-bottom: 10px;
}

body.login div.cbox { margin-bottom: 10px; width: 200px; }
body.login div.cbox div.inpt { float: left; width: 20px; }
body.login div.cbox label { float: right; width: 170px; }

body.login form p {
  border-bottom: 1px solid #CCC;
  padding: 3px 5px; font-size: 12px;
}
body.login form a {
  color: black;
}

body.login div.error {
  color: red; font-weight: bold; margin-bottom: 15px; text-align: center;
}


/* buttons & "link-buttons" */
input.submit, a.button {
  border: 2px outset #bbb; padding: 1px 3px; background: #bbb;
  color: black; text-decoration: none; margin-right: 20px;
}

/* registration & user modification form */
body.regform div.box h3 {
  text-transform: uppercase;
  margin-bottom: 0;
}
div.formblock, div.fldcont {
  background: #FFFDC9;
}
div.formblock {
  padding-bottom: 5px; margin-bottom: 15px;
}
div.formblock a {
  color: black;
}
div.fldcont {
  float: left; width: 200px;
  padding: 7px 20px 0 20px;
}
div.fldcont label {
  display: block;
}
div.fldcont.req label {
  font-weight: bold;
}
div.fldcont input.text, div.fldcont select {
  width: 180px;
}
div.fldcont select {
  font-size: 10px;
}
div.checkbox {
  width: 440px;
}
div.checkbox div.inptcont {
  float: left;
  width: 30px;
}
div.checkbox label {
  float: left;
  width: 405px;
}
div.fldcont.error label, div.fldcont.error label a, span.error, h3.error {
  color: red !important;
}
h3.error {
  margin-bottom: 15px !important;
}

/* regform help block */
#reghelp h4 {
  text-transform: uppercase; font-weight: normal;
  margin: 15px 0 3px 0; font-size: 13px;
}
#reghelp p {
  padding-bottom: 15px; border-bottom: 1px solid #CCC;
}

#reghelp p.nosubhead {
  margin-top: 15px;
}


/* used to force parents of floats to grow-to-fit */
.clear {
  height: 1px; clear: both; overflow: hidden;
}
