/*
 * Globals
 */

/* Links */
a,
a:focus,
a:hover {
  color: #000;
  text-shadow: none;
  text-decoration: none;
}

/* Custom default button */
.btn-default,
.btn-default:hover,
.btn-default:focus {
  color: #fff;
  text-shadow: none;
  background-color: #000;
  border: 1px solid #333;
}


/*
 * Base structure
 */

html,
body {
  height: 100%;
  background:#fff url(../images/bg.png) repeat-x;
}
body {
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
}

/* Extra markup and styles for table-esque vertical and horizontal centering */
.site-wrapper {
  display: table;
  width: 100%;
  height: 100%; /* For at least Firefox */
  min-height: 100%;
  -webkit-box-shadow: inset 0 0 100px rgba(0,0,0,.5);
          box-shadow: inset 0 0 100px rgba(0,0,0,.5);
}
.site-wrapper-inner {
  display: table-cell;
  vertical-align: top;
}
.cover-container {
  margin-right: auto;
  margin-left: auto;
}

/* Padding for spacing */
.inner {
  padding: 30px;
}

/*Jumbotron override*/
.jumbotron {
  padding-top: 40px;
  padding-bottom: 15px;
  color: #fff;
  text-shadow: none;
  border-radius: 5px;

  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#e5e5e5+0,e13423+30,e13423+100&0+0,0.7+30,1+100 */
  background: -moz-linear-gradient(top,  rgba(229,229,229,0) 0%, rgba(225,52,35,0.7) 30%, rgba(225,52,35,1) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top,  rgba(229,229,229,0) 0%,rgba(225,52,35,0.7) 30%,rgba(225,52,35,1) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom,  rgba(229,229,229,0) 0%,rgba(225,52,35,0.7) 30%,rgba(225,52,35,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00e5e5e5', endColorstr='#e13423',GradientType=0 ); /* IE6-9 */
}

.row{
  margin: 0;
}

/*
 * Header
 */
.masthead-brand {
  margin-top: 25px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 3px solid #fff;
}

.masthead-logo {
  height: 65px;
}


@media (min-width: 768px) {
  .masthead-brand {
    float: right;
  }
  .masthead-logo {
    float: left;
  }
}

/*
 * Cover
 */

.cover {
  border: 0.5px solid #e0e0e0;
  margin: auto;
  padding-bottom: 20px;
  border-radius: 5px;
}

.cover:hover {
  border: 0.5px solid #e0e0e0;
  margin: auto;
  padding-bottom: 20px;
  border-radius: 5px;
  background-color: #f1f1f1;
}


/*
 * Footer
 */

.mastfoot {
  padding: 20px;
  margin-bottom: 20px;
}


/*
 * Affix and center
 */

@media (min-width: 993px) and (min-height: 800px){
  /* Pull out the header and footer */
  .masthead {
    position: fixed;
    top: 0;
  }
  .mastfoot {
    position: fixed;
    bottom: 0;
    margin-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: 1024px) {
  .masthead,
  .mastfoot,
  .cover-container {
    width: 1024px;
  }
}