/*
 Style reset for cross-browser compatibility.
 To minimize the inconsistency between browsers.
 */

/*Fonts*/

html,
button,
input,
select,
textarea {
  font-family: arial, tahoma, verdana, sans-serif;
  padding: 3px;
}

body {
  font-size: 15px;
  margin-left: 20px;
  margin-top: 20px;
}

p, pre {
  /*font-size: 13px;*/
  margin: 0; /*IE 6/7*/
}
.contents {
	display: contents;
}
/*
h1 {
  font-size: 40px;
  margin: 11px 0;
}

h2 {
  font-size: 30px;
  margin: 13px 0;
}

h3 {
  font-size: 24px;
  margin: 16px 0;
}

h4 {
  font-size: 16px;
  margin: 21px 0;
}

h5 {
  font-size: 12px;
  margin: 27px 0;
}

h6 {
  font-size: 10px;
  margin: 37px 0;
}
*/

/*Styling*/

abbr[title] {
  border-bottom: 1px dotted;
}

b, strong {
  font-weight: bold;
}

blockquote {
  margin: 16px 40px;
}

dfn {
  font-style: italic;
}

mark {
  background: #ff0;
  color: #000;
}

code, kbd, pre, samp {
  font-family: monospace, serif;
  _font-family: 'courier new', monospace;
  font-size: 14px;
}

pre {
  white-space: pre-wrap;
  word-wrap: break-word;
}

/*tr {
    display: table-row;
    vertical-align: inherit;
    text-align: right;
}
td {
    display: table-cell;
    padding: 5px;
    text-align: left;
    vertical-align: inherit;
}*/

q {
  quotes: '„' '”';
}
q:before {
  content: '„';
}
q:after {
  content: '”';
}

small {
  font-size: 80%;
}

sub {
  bottom: -4px;
}

sup {
  top: -8px;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

/*Links*/
a {
	cursor: pointer;
	color: inherit;
}
a:focus {
  outline: thin dotted; /*Chrome*/
}

/*a:active, a:hover {
  outline: 0;
}
*/
a:link {
  text-decoration: none;
}
a:visited {
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}
a:active {
  text-decoration: none;
}


/*Lists*/

dl, menu, ol, ul {
  margin: 14px 0;
}

dd {
  margin: 0px;
}

menu, ol, ul {
  padding: 0px;
	margin: 0px;
	list-style-type: none;
}

/*
 * Corrects list images handled incorrectly in IE 7.
 */
nav ul, nav ol {
  list-style: none;
  list-style-image: none;
}

/*Figures*/

figure {
  margin: 0;
}

/* ==========================================================================
 Forms
 ========================================================================== */

form {
  margin: 0;
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 5px 10px 11px;
}

legend {
  border: 0;
  padding: 0;
  white-space: normal;
}

button, input, select, textarea {
  /*background: #f5f5f5 none repeat scroll 0 0;*/
  /*background: none repeat scroll 0 0;*/
  border: 2px solid #009688;
  border-radius: 5px;
  font-size: 100%;
  vertical-align: middle;
}

input:disabled {
	background-color: #f5f5f5;
}

/*textarea{
    margin: 50px;
}*/
button, input {
  line-height: normal;
  text-align: left;
}

/*
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Corrects inability to style clickable `input` types in iOS.
 * 3. Improves usability and consistency of cursor style between image-type
 *    `input` and others.
 * 4. Removes 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"] {
  -webkit-appearance: button; /* 2 */
  cursor: pointer; /* 3 */
  *overflow: visible; /* 4 */
}

/*
 * Re-set default cursor for disabled elements.
 */
button[disabled], input[disabled] {
  cursor: default;
}

/*
 * 1. Addresses box sizing set to content-box in IE 8/9.
 * 2. Removes excess padding in IE 8/9.
 * 3. Removes 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 */
	
}

/*hides the spin-button for webkit browsers (have tested it in Chrome 7.0.517.44 and Safari Version 5.0.2 (6533.18.5))*/
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}
/*
 * 1. Removes default vertical scrollbar in IE 6/7/8/9.
 * 2. Improves readability and alignment in all browsers.
 */
textarea {
  overflow: auto; /* 1 */
  vertical-align: top; /* 2 */
}

/*Tables*/

table {
  border-collapse: collapse;
  border-spacing: 0;
}


/*łatki na przeglądarki - DO SPRAWDZENIA*/


/* ==========================================================================
   HTML5 display definitions
   ========================================================================== */
  
  
/*
 * Corrects `block` display not defined in IE 6/7/8/9 and Firefox 3.
 */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
summary {
    display: block;
}

/*
 * Corrects `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
 */

audio,
canvas,
video {
    display: inline-block;
    *display: inline;
    *zoom: 1;
}

/*
 * Prevents modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

audio:not([controls]) {
    display: none;
    height: 0;
}

/*
 * Addresses styling for `hidden` attribute not present in IE 7/8/9, Firefox 3,
 * and Safari 4.
 * Known issue: no IE 6 support.
 */

[hidden] {
    display: none;
}

/* ==========================================================================
   Base
   ========================================================================== */

/*
 * 2. Prevents iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */

html {
    -webkit-text-size-adjust: 100%; /* 2 */
    -ms-text-size-adjust: 100%; /* 2 */
}


/* ==========================================================================
   Embedded content
   ========================================================================== */

/*
 * 1. Removes border when inside `a` element in IE 6/7/8/9 and Firefox 3.
 * 2. Improves image quality when scaled in IE 7.
 */

img {
    border: 0; /* 1 */
    -ms-interpolation-mode: bicubic; /* 2 */
}

/*
 * Corrects overflow displayed oddly in IE 9.
 */

svg:not(:root) {
    overflow: hidden;
}

/* ==========================================================================
   Forms
   ========================================================================== */

/*
 * 3. Corrects alignment displayed oddly in IE 6/7.
 */

legend {
    *margin-left: -7px; /* 3 */
}


/*
 * 1. Addresses `appearance` set to `searchfield` in Safari 5 and Chrome.
 * 2. Addresses `box-sizing` set to `border-box` in Safari 5 and Chrome
 *    (include `-moz` to future-proof).
 */

input[type="search"] {
    -webkit-appearance: textfield; /* 1 */
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box; /* 2 */
    box-sizing: content-box;
}

/*
 * Removes 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;
}

/*
 * Removes inner padding and border in Firefox 3+.
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

.grid-view td {
	font-size: 13px;
}
.grid-view .button-column {
	width: auto;
}