/*
   XHTML CSS RESET
   VERSION: 2013.01.01
   Author: Andria Klimov
   License: None (Public Domain)
*/

/* document */
html, body,
/* division and grouping */
div, span,
/* decorations */
hr,
/* containers */
aplet, embed, iframe, img, object,
/* headings */
h1, h2, h3, h4, h5, h6,
/* paragraph */
p,
/* specific */
a, abbr, acronym, address,
/* font-style */
b, big, i, small, tt, u,
/* modification phrases */
del, ins,
/* text phrases */
cite, code, del, dfn, em, kbd, samp, strong, var
/* subscript and superscript */
/* sub, sup, */
/* quotation */
blockquote, q,
/* preformatted text */
xmp, pre, plaintext,
/* definition lists */
dl, dt, dd,
/* ordered and unordered lists */
ol, ul, li,
/* tables */
table, caption, thead, tbody, tfoot, tr, th, td,
/* forms */
form, label, legend {
  border: 0 none;
  margin: 0; padding: 0;
  vertical-align: baseline;
}

/* common */

html{
  width: auto; height: auto;
  *font-size: 100%; /* ie6, ie7 */
  _filter: expression(document.execCommand("BackgroundImageCache", false, true)); /* ie6 */
}

body {
  color: black;
  background-color: white;
  width: auto; height: auto;
}

body,
button, input, select, textarea {
  font: normal normal normal 1em/normal sans-serif;
}

/* links */

a {
  color: blue;
  cursor: pointer;
  text-decoration: underline;
}

/* pseudo-classes */
/*
a:visited {
  color: purple;
}
*/
*:focus {
  -ie-dummy: expression(this.hideFocus=true); /* ie6, ie7 */
  -moz-outline: none;
  outline: none;
}

/* abbreviations */

abbr, acronym {
  border-bottom: 1px dotted;
}

/* headings */

h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
}

h1 { font-size: 1.8em; }
h2 { font-size: 1.6em; }
h3 { font-size: 1.4em; }
h4 { font-size: 1.2em; }
h5 { font-size: 1.1em; }
h6 { font-size: 1.0em; }

/* font-style */

big {
  font-size: 125%;
}

small {
  font-size: 80%;
}

/* modification phrases */

del {
  text-decoration: line-through;
}

ins {
  text-decoration: underline;
}

/* text phrases */

em, dfn, cite, var {
  font-style: italic;
  font-weight: normal;
}

strong {
  font-style: normal;
  font-weight: bold;
}

code, samp, kbd {
  font-style: normal;
  font-weight: normal;
  font-family: monospace;
}

/* long and short quotations */

blockquote {
  margin: 1em;
}

blockquote, q {
  quotes: none;
}

/* preformatted text */

xmp, pre, plaintext {
  display: block;
  font-family: monospace;
  white-space: pre;
}

hr {
  display: block; height: 0px;
  border-bottom: 1px solid gray;
}

/* lists */

ol, ul {
  padding: 0;
  margin: 0 2.5em;
}

html[dir="rtl"] ol, html[dir="rtl"] ul { margin-left: 0; }
html[dir="ltr"] ol, html[dir="ltr"] ul { margin-right: 0; }

li {
  display: list-item;
  padding: 0; margin: 0;
}

/* tables */
table {
  border-collapse: collapse;
}

caption, th, td {
  padding: 0;
  vertical-align: middle;
}

th {
  font-weight: bold;
  text-align: center;
}

/* forms */

button, input, select, textarea {
  margin: 0;
  line-height: normal;
  vertical-align: baseline;
  resize: none; /* webkit, fx10+ */
  *vertical-align: middle; /* ie6, ie7 */
}

input, select, textarea {
  /* box-sizing: border-box; /* chrome1+, fx3+, ie8+, opera8.5+, safari5.1+ */
  /* -moz-box-sizing: border-box; /* fx1+ */
  /* -webkit-box-sizing: border-box; /* safari3+ */
}

textarea {
  overflow: auto; /* ie */
  *vertical-align: top; /* ie6, ie7 */
}

input[type="checkbox"], input[type="radio"] {
  vertical-align: middle;
}

/* ie6, ie7 */
button {
  *width: auto;
  *overflow: visible;
  *padding: 0px 0.5em;
}

/* fx2+ */
button::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="image"]::-moz-focus-inner,
input[type="reset"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner {
  margin:  0 !important;
  padding: 0 !important;
  border: 0 none !important;
}

label,
button,
input[type="button"],
input[type="checkbox"],
input[type="image"],
input[type="reset"],
input[type="radio"],
input[type="submit"] {
  cursor: pointer;
}

fieldset {
  margin: 0; padding: 0 1ex 1ex 1ex;
  *margin: 0 -20px; /* ie6, ie7 */
}
