/****************************************************************
/* BOOTSTRAP TWEAKS
 ****************************************************************/
/*--------------------------------------------------------------*
 * Fixing top navigation bar
 *--------------------------------------------------------------*/
body {
  padding-top: 60px;
  padding-bottom: 40px;
}

/*--------------------------------------------------------------*
 * Sticky footer styles
 *--------------------------------------------------------------*/
html,
body {
  height: 100%;
  /* The html and body elements cannot have any padding or margin. */
}

/* Wrapper for page content to push down footer */
#wrap {
  min-height: 100%;
  height: auto !important;
  height: 100%;
  /* Negative indent footer by it's height */
  margin: 0 auto -20px;
}

/* Set the fixed height of the footer here */
#push,
#footer {
  height: 60px;
}
#footer {
  background-color: #f5f5f5;
}

/* Lastly, apply responsive CSS fixes as necessary */
@media (max-width: 767px) {
  #footer {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }
}



/*--------------------------------------------------------------*
 * Custom page CSS
 *--------------------------------------------------------------*/
/*
.container {
  width: auto;
  max-width: 680px;
}
*/
.container .credit {
  margin: 20px 0;
}

h1 { margin-top: 0px; }


/* Shrink images, iff they don't fit horizontally */
img {
  max-width: 100%;
  height: auto;
}


/*--------------------------------------------------------------*
 * Custom print layout
 *--------------------------------------------------------------*/
.printonly {
  display: none;
}

@media print { 
  a, a:after { content: normal !important; }

  #sublogocontainer {
    display: none;
  }

  #filler {
    display: none;
  }

  #push {
    display: none;
  }

  body {
    height: auto;
  }

  .btn {
    display: none;
  }

  #wrap {
    position: relative;
    top: -100px;
  }

  #footer {
    position: relative;
    top: -20px;
    border-top: 1px solid black;
  }

  h1.printonly {
    margin-bottom: 2ex;
    display: block;
    padding-bottom: 0.1ex;
    border-bottom: 1px solid black;
  }

  span.printonly {
    display: inline;
  }
} /* @media print */
