/**
 * System independent reset for always used elements and usability/behavior tweaks.
 * Commented out parts are optional and for inspirational purposes.
 * Parts of this source are collected from the web.
 *
 * Known sources:
 * - http://html5boilerplate.com/
 *
 * ----------------------------------------------------------------------------------------------------- Developer notes
 * - This script is not developed any further.
 *   See Siebert GmbH LESS implementation for latest version.
 *
 * ---------------------------------------------------------------------------------------------------------------------
 * @version 1.5.0
 * @date    2013-04-22
 * @since   2010-08-06
 * @author  Christian Oellers <info@*.de>
 * @author  Christian Hamacher <christianh86@googlemail.*>
 * @link    http://veryshort.de/
 */

/* ------------------------------------------------------------------------------------------------------------ (all) */

* {
	margin:0;
	padding:0;
	-ms-text-size-adjust:100%;
	-webkit-text-size-adjust:100%;
	font-size:100%;
	font-family:"Î¢ÈíÑÅºÚ", verdana;
	font-weight:inherit;
	font-style:inherit;
	vertical-align:baseline;
	-webkit-tap-highlight-color:rgba(0, 0, 0, 0);
	-webkit-touch-callout:none;    /**
     * Box model doesn't work well with:
     * - Some Lightbox scripts.
     * - Google Maps info windows.
     * /
    *behavior:url('/files/Scripts/BoxSizing.htc');
    -moz-box-sizing:border-box;
    -ms-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
    /**/
}

html {
    width:100%;
}

body {
    text-rendering:optimizeLegibility;
    width:100%;
}


/* ---------------------------------------------------------------------------------------------------------- Content */

article, aside, details,
figcaption, figure, footer,
header, hgroup, main, nav,
section, summary {
    display:block;
}

/**
 * Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
 */
audio, canvas, video {
    display:inline-block;
    *display:inline;
    *zoom:1;
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */
audio:not([controls]) {
    display:none;
    height:0;
}

iframe {
    border:none;
}

/** /
iframe::-webkit-scrollbar {
    display:none;
}
/**/

/**
 * Address differences between Firefox and other browsers.
 * Known issue:no IE 6/7 normalization.
 */
hr {
    -moz-box-sizing:content-box;
    box-sizing:content-box;
    height:0;
}

/**
 * Improve readability of pre-formatted text in all browsers.
 */
pre {
    white-space:pre;
    white-space:pre-wrap;
    word-wrap:break-word;
}

/**
 * Address CSS quotes not supported in IE 6/7.
 */
q {
    quotes:none;
}

/**
 * Address `quotes` property not supported in Safari 4.
 */
q:before,
q:after {
    content:'';
    content:none;
}

/*
 * Remove the gap between images and the bottom of their containers.
 * - h5bp.com/i/440
 */
img {
    border:0;
    vertical-align:middle;
    -ms-interpolation-mode:bicubic; /* IE 7 */
}

a {
    text-decoration:none;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */

sub,
sup {
    /** /
    font-size:75%;
    line-height:0;
    /**/
    position:relative;
    vertical-align:baseline;
}

/** /
sup {
    top:-0.5em;
}

sub {
    bottom:-0.25em;
}
/**/

/**
 * Address styling not present in IE 7/8/9, Firefox 3, and Safari 4.
 * Known issue:no IE 6 support.
 */
[hidden] {
    display:none;
}

/**
 * Correct overflow displayed oddly in IE 9.
 */
svg:not(:root) {
    overflow:hidden;
}

:focus {
    outline:none;
}


/* ------------------------------------------------------------------------------------------------------------ Table */

/**
 * Remove most spacing between table cells.
 */
table {
    border-collapse:collapse;
    border-spacing:0;
}


/* ------------------------------------------------------------------------------------------------------------- Form */

form, fieldset, button, input,
textarea, select, option {
    background-color:transparent;
    border:none;
}

/**
 * Correct text not wrapping in Firefox 3.
 */
legend {
    white-space:normal;
}

select {
    -moz-background-clip:padding;
    -ms-background-clip:padding;
    -o-background-clip:padding;
    -webkit-background-clip:padding;
    background-clip:padding-box;
    -moz-appearance:none;
    -ms-appearance:none;
    -o-appearance:none;
    -webkit-appearance:none;
    appearance:none;
}

/**
 * 1. Remove default vertical scrollbar in IE 6/7/8/9.
 * 2. Improve readability and alignment in all browsers.
 */
textarea {
    overflow:auto; /* 1 */
    vertical-align:top; /* 2 */
    resize:vertical;
}

/**
 * 1. Correct font size not being inherited in all browsers.
 * 2. Address margins set differently in IE 6/7, Firefox 3+, Safari 5, and Chrome.
 * 3. Improve appearance and consistency in all browsers.
 */
button, input, select, textarea {
    font-size:100%;
    vertical-align:baseline;
    *vertical-align:middle;
}

/**
 * Address Firefox 3+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */
button, input {
    line-height:normal;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+.
 * Correct `select` style inheritance in Firefox 4+ and Opera.
 */
button, select {
    text-transform:none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type `input` and others.
 * 4. Remove inner spacing in IE 7 without affecting normal text inputs.
 *    Known issue:inner spacing remains in IE 6.
 */
button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
    -moz-appearance:button;
    -ms-appearance:button;
    -o-appearance:button;
    -webkit-appearance:button; /* 2 */
    appearance:button;
    cursor:pointer; /* 3 */
    *overflow:visible;  /* 4 */
}

/**
 * Set default cursor for disabled elements.
 */
button[disabled],
html input[disabled] {
    cursor:default;
}

/**
 * 1. Address box sizing set to content-box in IE 8/9.
 * 2. Remove excess padding in IE 8/9.
 * 3. Remove excess padding in IE 7.
 *    Known issue:excess padding remains in IE 6.
 */
input[type="checkbox"],
input[type="radio"] {
    box-sizing:border-box; /* 1 */
    padding:0; /* 2 */
    *height:13px; /* 3 */
    *width:13px; /* 3 */
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome (include `-moz` to future-proof).
 */
input[type="search"] {
    -moz-appearance:textfield;
    -ms-appearance:textfield;
    -o-appearance:textfield;
    -webkit-appearance:textfield; /* 1 */
    appearance:textfield;
    -moz-box-sizing:content-box;
    -webkit-box-sizing:content-box; /* 2 */
    box-sizing:content-box;
}

input[type="search"]::-webkit-search-decoration {
    -webkit-appearance:textfield;
}

/**
 * Remove inner padding and search cancel button
 * in Safari 5 and Chrome on OS X.
 */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance:none;
    appearance:none;
}

/**
 * Remove inner padding and border in Firefox 3+.
 */
button::-moz-focus-inner,
input::-moz-focus-inner {
    border:0;
    padding:0;
}

/**
 * Untested. Added for inspiration.
 */
input:invalid,
input:-moz-ui-invalid {
}
