/*
 * Globals
 */

/* Links */
a,
a:focus,
a:hover {
  color: rgba(0,0,0,0.75);
}

a.underline {
  text-decoration: underline;
}
.mastfoot a {
  color: rgba(255,255,255,1);
}

.obfuscate { unicode-bidi: bidi-override; direction: rtl; }
.obfuscate span { display: none; }

/* Custom default button */
.btn-default,
.btn-default:hover,
.btn-default:focus {
  color:  rgba(255,255,255,0.8);;
  text-shadow: none; /* Prevent inheritence from `body` */
  background-color: rgba(0,0,0,0.6);
  border: 1px solid #000;
  font-size: 1.3em;
}

.left {
  width:50%;
  float:left;
  overflow:hidden;
}
.right {
  width:50%;
  overflow:hidden;
}

img.circle {
  height:75px;
  width:75px;
  border-radius: 37.5px;
  border: 2px solid #fff;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.6);
}

.fa-light {
  color: rgba(0,0,0,0.4);
}


/*
 * Base structure
 */


html,
body {
  height: 100%;
  background-color: transparent;
}

body {
  color: #000;
  text-align: center;

  background-image: url(../img/bg.png);
  background-repeat: repeat;
  background-attachment:fixed;
}

h1 {
  font-family: 'IM Fell DW Pica SC', serif;
  font-size: 3.5em;
}

h1 small {
  font-family: 'frente', sans-serif;
  color: #000;
  margin: 0px 15px;
}

h2 small {
  color: #000;
}

h2 {
  font-family: 'frente', sans-serif;
  font-size: 2.5em;

}

p {
  font-family: 'frente', sans-serif;
  font-size: 1.4em;
}

p.lead {
  font-size: 1.8em;
}

p.large {
  font-size: 2.2em;
}

p.rsvp {
  margin-top: 40px;
  text-align: center;
}



/* 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%;
  background-image: url(../img/thetree.png);
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: 135% bottom;
}
.site-wrapper-inner {
  display: table-cell;
  vertical-align: top;
}

.cover-container {
  margin-right: auto;
  margin-left: auto;
}

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

.inner.cover.left {
  width: 100%;
  text-align: left;
}


/*
 * Header
 */
.masthead-brand {
  margin-top: 10px;
  margin-bottom: 10px;
  font-family: 'frente', sans-serif;
}

.masthead-nav > li {
  display: inline-block;
}
.masthead-nav > li + li {
  margin-left: 20px;
}
.masthead-nav > li,
.masthead-nav > li > a {
  padding-right: 5px;
  padding-left: 5px;
  font-size: 26px;
  font-family: 'frente', sans-serif;
  color: #000; /* IE8 proofing */
  color: rgba(0,0,0,.75);
  border-bottom: 2px solid transparent;
}
.masthead-nav > li > a:hover,
.masthead-nav > li > a:focus {
  background-color: transparent;
  border-bottom-color: rgba(0,0,0,.25);
}
.masthead-nav > .active > a,
.masthead-nav > .active > a:hover,
.masthead-nav > .active > a:focus {
  color: #fff;
  border-bottom-color: #fff;
}

dl {
  font-size: 1.4em;
}
dt {
float: left;
width: 25%;
}
dd {
float: right;
width: 75%;
text-align: left;
}
@media (min-width: 768px) {
  .masthead-brand {
    float: left;
  }
  .masthead-nav {
    float: right;
  }
}


/*
 * Cover
 */

.cover {
  padding: 0 20px;
}
.cover .btn-lg {
  padding: 10px 20px;
  font-weight: bold;
}


/*
 * Footer
 */

.mastfoot {
  color: #999; /* IE8 proofing */
  color: rgba(255,255,255,.5);
}


/*
 * Affix and center
 */
@media (max-width: 430px) {
  .cover .btn-lg {
    white-space: initial;
  }
  ul.masthead-nav > li:first-of-type {
    display:block;
    margin-bottom: -10px;
    border-bottom: 1px solid rgba(255,255,255,0.5);
  }
  ul.masthead-nav > li,
  ul.masthead-nav > li a {
    color: rgba(255,255,255,0.4);
    padding-right: 0px;
    padding-left: 0px;
  }
  .masthead-nav > li + li {
    margin-left: 10px;
  }
}
@media (min-width: 768px) {
  /* Pull out the header and footer */
  /* Start the vertical centering */
  .site-wrapper-inner {
    vertical-align: middle;
  }
  /* Handle the widths */
  .masthead,
  .mastfoot,
  .cover-container {
    width: 700px; /* Must be percentage or pixels for horizontal alignment */
  }
}

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