article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
dialog{
  display:block;
}

html{
  height:100%;
  font-size:100%;
  -webkit-text-size-adjust:100%;
      -ms-text-size-adjust:100%;
          text-size-adjust:100%;
}

body{
  margin:0;
  min-height:100%;
}

body,
button,
input,
select,
textarea{
  font:16px/1.625 Georgia, serif;
  *font-size:1em;
  color:#222;
}

p,
blockquote,
q,
pre,
address,
hr,
code,
samp,
dl,
ol,
ul,
form,
table,
fieldset,
menu,
h4,
h5,
h6,
img{
  margin:0 0 1.625em;
}

h1,
h2,
h3,
h4,
h5,
h6{
  font-family:Palatino, 'Palatino Linotype', 'Book Antiqua', FreeSerif, serif;
  font-size:1em;
  font-weight:800;
}

h1{
  margin:0 0 0.3824em;
  line-height:1.1471em;
  font-size:4.25em;
}

h2{
  margin:0 0 0.619em;
  line-height:1.2381em;
  font-size:2.625em;
}

h3{
  margin:0 0 1em;
  line-height:1em;
  font-size:1.625em;
}

small{
  margin:0 0 2.6em;
  font-size:0.625em;
}

pre{
  white-space:pre;
  white-space:pre-wrap;
  word-wrap:break-word;
}

pre,
code,
kbd,
samp{
  font:1em/1.625em Menlo, Consolas, 'DejaVu Sans Mono', Monaco, monospace;
}

table{
  border-collapse:collapse;
  border-spacing:0;
}

th{
  text-align:left;
}

tr,
th,
td{
  border-bottom:1px solid #333;
  padding-right:1.625em;
}

form{
  margin:0;
}

fieldset{
  border:0;
  padding:0;
}

textarea{
  overflow:auto;
  vertical-align:top;
}

legend{
  *margin-left:-7px;
}

button,
input,
select,
textarea{
  vertical-align:baseline;
}

button,
input{
  line-height:normal;
}

button,
input[type='button'],
input[type='reset'],
input[type='submit']{
  cursor:pointer;
  appearance:button;
}

input[type='checkbox'],
input[type='radio']{
  box-sizing:border-box;
}

input[type='search']{
  appearance:textfield;
  box-sizing:content-box;
  box-sizing:content-box;
  box-sizing:content-box;
}

input[type='search']::-webkit-search-decoration{
  appearance:none;
}

button::-moz-focus-inner,
input::-moz-focus-inner{
  border:0;
  padding:0;
}

blockquote,
q{
  quotes:none;
}

blockquote::before,
blockquote::after,
q::before,
q::after{
  content:'';
  content:none;
}

blockquote,
q,
cite{
  font-style:italic;
}

blockquote{
  border-left:3px solid #ccc;
  padding-left:1.625em;
}

blockquote > p{
  padding:0;
}

ul,
ol{
  list-style-position:inside;
  padding:0;
}

li ul,
li ol{
  margin:0 1.625em;
}

dl dd{
  margin-left:1.625em;
}

a{
  text-decoration:none;
}

a:hover{
  text-decoration:underline;
}

a:focus{
  outline:thin dotted;
}

a:hover,
a:active{
  outline:none;
}

figure{
  margin:0;
}

img,
object,
embed,
video{
  max-width:100%;
  width:100%;
}

img{
  border:0;
  interpolation-mode:bicubic;
}

abbr[title],
dfn[title]{
  border-bottom:1px dotted #333;
  cursor:help;
}

ins,
mark{
  text-decoration:none;
}

mark{
  background:#ff0;
}

ins{
  background:#ff9;
}

del{
  text-decoration:line-through;
}

strong,
b,
dt{
  font-weight:800;
}

dfn{
  font-style:italic;
}

var,
address{
  font-style:normal;
}

sub,
sup{
  position:relative;
  line-height:0;
  font-size:0.625em;
  vertical-align:baseline;
}

sup{
  top:-0.5em;
}

sub{
  bottom:-0.25em;
}

.cf::before,
.cf::after{
  content:'';
  display:table;
}

.cf::after{
  clear:both;
}

.cf{
  *zoom:1;
}

body{
  width:92%;
  margin:0 auto;
}

@media print{
  *{
    background:transparent !important;
    color:black !important;
    text-shadow:none !important;
    filter:none !important;
  }

  a,
  a:visited{
    color:#222 !important;
    text-decoration:underline;
  }

  a[href]::after{
    content:' (' attr(href) ')';
  }

  abbr[title]::after{
    content:' (' attr(title) ')';
  }

  a[href^='javascript:']::after,
  a[href^='#']::after{
    content:'';
  }

  thead{
    display:table-header-group;
  }

  tr,
  img{
    page-break-inside:avoid;
  }

  @page{
    margin:0.5cm;
  }

  p,
  h2,
  h3{
    orphans:3;
    widows:3;
  }

  h2,
  h3{
    page-break-after:avoid;
  }
}
