/*http://stackoverflow.com/questions/12694919/cropping-the-image-to-aspect-ratio-in-bootstrap-responsive-grid*/
.ratio {
  position:relative;
  width: 100%;
  height: 0;
  padding-bottom: 100% ; /* % of width, defines aspect ratio*/

  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;

  margin-bottom: 10px;
}

@media (min-width: 992px) {
  .buffer {
    margin-bottom:25px;
  }
  .project-title {
    height: 50px;
  }
}

@media (max-width: 991px) {
  .col-md-3 {
    margin-bottom: 50px;
  }
}



.buffer-top {
  margin-top: 25px;
}
.buffer-bottom {
  margin-bottom: 25px;
}

.header {
  margin-top: 20px;
  margin-bottom: 20px;
}
.main-img {
  margin-bottom: 20px;
}

.full-width {
  width: 100%;
}



.site-wrapper {
  display: table;
  width: 100%;
  height: 100%; /* For at least Firefox */
  min-height: 100%;
}
.site-wrapper-inner {
  display: block;
  vertical-align: middle;
}
.cover-container {
  margin-right: auto;
  margin-left: auto;
}
div.cover-container img {
  width: 100%;
}

/* Padding for spacing */
.inner {
  padding: 30px;
}
.cover {
  padding: 0 20px;
}

@media (min-width: 768px) {
  /* Pull out the header and footer */
  .masthead {
    position: fixed;
    top: 0;
  }
  .mastfoot {
    position: fixed;
    bottom: 0;
  }
  /* Start the vertical centering */
  .site-wrapper-inner {
    vertical-align: middle;
  }
  /* Handle the widths */
  .masthead,
  .mastfoot,
  .cover-container {
    width: 100%; /* Must be percentage or pixels for horizontal alignment */
  }
}

@media (min-width: 992px) {
  .masthead,
  .mastfoot,
  .cover-container {
    width: 700px;
  }
}
