/* --------------- HTML5 Element Display --------------- */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio[controls], canvas, video { display: inline-block; *display: inline; *zoom: 1; }


/* --------------- Base --------------- */

html { font-size: 100%; overflow-y: scroll; -webkit-overflow-scrolling: touch; -webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

::-moz-selection { background: #ccc; color: #fff; text-shadow: none; }
::selection { background: #ccc; color: #fff; text-shadow: none; }

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


/* --------------- Main styles --------------- */

body {
  margin: 0;
  background-color: #fbfbfb;
  text-rendering: optimizeLegibility;
  font: 18px/26px minion-pro-1, minion-pro-2, Georgia, "Times New Roman", Times;
}

#container {
  max-width: 380px;
  min-width: 260px;
  margin: 60px 0 0 60px;
}

h1 a:link, h1 a:visited {
  display: block;
  height: 40px;
  width: 40px;
  background: url(../img/h.png) no-repeat 0px 0px;
  text-indent: -9999px;
}

h1 a:hover {
  background-position: -48px 0px;
}

a {
  color: #999;
  text-decoration: none;
}

a:visited {
  color: #999;
  text-decoration: none;
}

a:hover {
  color: #000;
}

.out:link, .out:visited {
  background: url(../img/h.png) no-repeat right -68px;
  padding-right: 18px;
}

.out:hover {
  background-position: right -97px;
}

.mailto:link {
  color: #000;
}

.mailto:hover {
  color: #999;
  background: url(../img/h.png) no-repeat right -39px;
  padding-right: 20px;
}

.at {
  position: relative;
  top: .1em;
}

.plus {
  position: relative;
  top: -.1em;
}

.lonelyone {
  position: relative;
  left: -.06em;
}


/* --------------- Media Queries --------------- */

@media only screen and (max-width: 480px) {

#container {
  margin: 0px 20px 0 20px;
}

}

/* --------------- Print styles --------------- */
 
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: sanbeiji.com/archives/953 */
  a, a:visited { color: #444 !important; text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3{ page-break-after: avoid; }
}
