/*
 * Globals
 */

/* Links */
a,
a:focus,
a:hover {
  color: #fff;
}

/* Custom default button */
.btn-default,
.btn-default:hover,
.btn-default:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritence from `body` */
  background-color: #fff;
  border: 1px solid #fff;
}


/*
 * Base structure
 */

html,
body {
  height: 100%;
  background-color: #e7e7e7;
}
body {
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
  font-family: 'Josefin Sans', sans-serif;
}

/* 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 {
	background: url('../../assets/img/background-img.png');
	background-repeat: no-repeat;
	background-clip: padding-box;
	background-size: contain;
	background-position: center;
	margin-top: 50px;
  display: table-cell;
  vertical-align: top;
}
.cover-container {
  margin-right: auto;
  margin-left: auto;
}

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


/*
 * Header
 */
.masthead {
	background-color: #333;
	width: 100%;
}

.masthead-brand {
  margin-top: 0;
  margin-bottom: 10px;
}

.brand-name {
	margin-top: 0;
	border-bottom: 1px #fff solid;
}
.brand-sub {
	font-weight: 100;
}
.masthead-nav > li {
  display: inline-block;
}
.masthead-nav > li + li {
  margin-left: 20px;
}
.masthead-nav > li > a {
  padding-right: 0;
  padding-left: 0;
  font-size: 16px;
  font-weight: bold;
  color: #fff; /* IE8 proofing */
  color: rgba(255,255,255,.75);
  border-bottom: 2px solid transparent;
}
.masthead-nav > li > a:hover,
.masthead-nav > li > a:focus {
  background-color: transparent;
  border-bottom-color: #a9a9a9;
  border-bottom-color: rgba(255,255,255,.25);
}
.masthead-nav > .active > a,
.masthead-nav > .active > a:hover,
.masthead-nav > .active > a:focus {
  color: #fff;
  border-bottom-color: #fff;
}

@media (min-width: 768px) {
  .masthead-brand {
    float: left;
  }
  .masthead-nav {
    float: right;
  }
}

/*
* Mobile Image
*/

.mobile-image {
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
}

img {
	width: 100%;
}

/*
 * Cover
 */

.cover {
	color: #262626;
  padding: 0 20px;
}
.cover-heading {
	font-weight: 100;
	margin: auto;
	width: 345px;
	border-bottom: 1px black solid;
}
#cover-sub {
	margin-top: 10px;
	font-weight: 100;
}
/*
.cover .btn-lg {
  padding: 10px 20px;
}
*/
.lead {
	font-style: italic;
}


/*
 * Footer
 */

.mastfoot {
	background-color: #333;
	position: fixed;
	bottom: 0;
	width: 100%;
  color: #999; /* IE8 proofing */
  color: rgba(255,255,255,.5);
}
.badge {
	font-size: 24px;
	width: 45px;
	margin-right: 40px;
}
.last {
	margin-right: 0px;
}

/*
 * Affix and center
 */
@media (max-width: 767px) {
	.brand-name {
		width: 180px;
    	margin: 0 auto;
	}
	.cover-heading {
		width: 240px;
	}
	.site-wrapper-inner {
		background: none;
	}
	.cover { 
		margin-bottom: 100px;
	}
	.cover-heading {
		margin-top: 40px;
	}
	.badge {
		font-size: 18px;
		width: 30px;
		margin-right: 10px;
	}
	.last {
		margin-right: 0px;
	}
	h1 {
		font-size: 24px;
	}
	h3 {
		font-size: 18px;
	}
	h4 {
		font-size: 14px;
	}
}

@media (min-width: 768px) {
  /* Pull out the header and footer */
  .mobile-image {
  	display: none;
  }
  .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 {
  	padding-left: 200px;
  	padding-right: 200px;
  }
}