/* ---------------------------------------------------------
   HTML5 Bones
   This stylesheet contains print styling and a section for 
   you to simply add your own. This is a basic template 
   after all.
   ---------------------------------------------------------*/
/* Default link styling */
a:link {
  color: #0271fb; }

a:visited {
  color: #bd02fb; }

a:hover, a:focus {
  color: #000; }

a:active {
  color: #fb0e02; }

/* ---------------------------------------------------------
   Author's styles
   ---------------------------------------------------------*/
* {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  vertical-align: top; }

img {
  -ms-interpolation-mode: bicubic;
  image-rendering: optimizeQuality; }

.table {
  display: table; }

.tr {
  display: table-row; }

.td {
  display: table-cell;
  vertical-align: middle; }

html {
  display: table;
  text-align: center;
  height: 100%;
  min-height: 100%;
  min-width: 100%;
  background: #fdc10c url(../img/bg-full.jpg) center center repeat; }

body {
  display: table-row; }

#fade {
  /*position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fcad17 url(../img/bg-fade.png) center center no-repeat;*/
  width: 1200px;
  height: 1px; }

#wrap {
  display: table-cell;
  vertical-align: middle;
  position: relative; }

#inner {
  width: 1000px;
  margin: 0 auto;
  position: relative;
  text-align: left;
  height: 500px;
  overflow: visible;
  top: 24px; }

#header {
  position: absolute;
  z-index: 30;
  top: 0;
  left: 0; }
  #header h1 {
    margin: 0;
    padding: 0; }

#nav {
  position: absolute;
  top: 0;
  left: 302px; }
  #nav span,
  #nav a {
    float: left; }

main {
  position: relative;
  z-index: 20;
  top: 66px; }

#footer {
  position: relative;
  z-index: 40;
  top: -1px; }
  #footer a,
  #footer div,
  #footer address,
  #footer img {
    display: inline-block;
    margin: 0;
    padding: 0; }
  #footer address {
    display: inline-block;
    font-style: normal; }
  #footer #contact {
    margin-left: 50px; }
  #footer #phone,
  #footer #address,
  #footer #social {
    margin-left: 30px; }

/* ---------------------------------------------------------
   Print styles
   ---------------------------------------------------------*/
@media print {
  * {
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    background: transparent !important; }

  html {
    background-color: #fff; }

  /* Hide navigation */
  nav {
    display: none; }

  /* Show link destinations in brackets after the link text */
  a[href]:after {
    content: " (" attr(href) ") "; }

  a[href] {
    font-weight: bold;
    text-decoration: underline;
    color: #06c;
    border: none; }

  /* Don't show link destinations for JavaScript or internal links */
  a[href^="javascript:"]:after, a[href^="#"]:after {
    content: ""; }

  /* Show abbr title value in brackets after the text */
  abbr[title]:after {
    content: " (" attr(title) ")"; }

  figure {
    margin-bottom: 1em;
    overflow: hidden; }

  figure img {
    border: 1px solid #000; } }