/*  Document   : common.css
    Created on : Jan 7, 2011, 12:10:26 PM
    Author     : Laurentiu Ciucur
    Description: reset styles for visma's HTML template
    Last edited: Oct 20, 2011 */

/* browser reset - normalize css, HTML5doctor.com reset and meyerwer.com reset revisited */

/* HTML5 display definitions */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; }
audio:not([controls]) { display: none; }

/* adds support for the [hidden] attribute in legacy browsers */
[hidden] { display: none; }

/* Global reset of paddings and margins */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, em, img, hr,
ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
    margin:0;
    padding:0;}

/* Force vertical scroll in non-ie browsers; fix text size issues in IE and iOS */
html {
    font-size: 100%;
    overflow-y: scroll;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%; }  
body {
    font-size: 62.5%;
    line-height: 1.6em;
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; }
body, button, input, select, textarea { color: #222; }

/* Remove text-shadow in selection highlight */
::-moz-selection { background: #FFB45C; color: #222; text-shadow: none; }
::selection { background: #FFB45C; color: #222; text-shadow: none; }

/* Links */
a { color: #0085C7; background: transparent; text-decoration: none; }
a:visited { color: #0085C7; }
a:hover { text-decoration: underline; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }

/* Set the values for headings */
h1 { font-size: 2.4em; }
h2 { font-size: 2em; }
h3 { font-size: 1.5em; }
h4 { font-size: 1.2em; font-weight: bold; }
h5 { font-size: 1.1em; font-weight: bold; }
h6 { font-size: 1.1em; }

/* Set consistent cross-browser defaults for lists */
nav ul, #nav ul, #topnav ul { list-style: none; list-style-image: none; }

/* Typography fixes */
abbr[title], dfn[title] { border-bottom:1px dotted; cursor:help; }
b, strong { font-weight: bold; }
dfn { font-style: italic; }
blockquote, q {	quotes:none; }
blockquote:before, blockquote:after, q:before, q:after { content:''; content:none; }
ins { background-color:#fe57a1;	color:#222;	text-decoration:none; }
mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; } 
del { text-decoration: line-through; }

/* Redeclare monospace font family */
pre, code, kbd, samp { font-family: monospace, monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

small { font-size: 85%; }

/* Position subscript and superscript content without affecting line-height */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

/* Table fixes */
table { border-collapse:collapse; border-spacing:0; }
td { vertical-align: top; }

/* Embeded content */
img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
svg:not(:root) { overflow: hidden; }

/* Forms */

fieldset { border: 0; }

/* Indicate that 'label' will shift focus to the associated form element */
label { cursor: pointer; }

button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; }
button, input { line-height: normal; }
button, input[type="button"], input[type="reset"], input[type="submit"] {
    cursor: pointer;
    -webkit-appearance: button; }
    
/* Consistent box sizing and appearance */
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

/* Remove vertical scrollbar in IE6/7/8/9. Do not allow resize */
textarea { overflow: auto; vertical-align: top; resize: none; }

/* Colors for form validity */
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #fff; border: 2px solid #D20000; }

/* clearing methods */
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }

/* image replacement */
.ir {
    display: block;
    border: 0;
    text-indent: -999em;
    overflow: hidden;
    background-color: transparent;
    background-repeat: no-repeat;
    text-align: left;
    direction: ltr; }
.ir br { display: none; }

/* Hide from browser */
.hide, .hidden { display: none !important; visibility: hidden; }

 /* Hide from browser while maintaining layout */
.invisible { visibility: hidden; }
