/*sass vars */
/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 *
 * Detailed information about this CSS: h5bp.com/css
 *
 * ==|== normalize ==========================================================
 */
/* =============================================================================
   HTML5 display definitions
   ========================================================================== */
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {
  display: block;
}

audio, canvas, video {
  display: inline-block;
  *display: inline;
  *zoom: 1;
}

audio:not([controls]) {
  display: none;
}

[hidden] {
  display: none;
}

/* =============================================================================
   Base
   ========================================================================== */
/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 * 2. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
 */
html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

html, button, input, select, textarea {
  font-family: sans-serif;
  color: #222;
}

body {
  margin: 0;
  padding:  0;
  color: #737373;
  font-family: arial, helvetica, sans-serif;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate
 * Also: hot pink! (or customize the background color to match your design)
 */
::-moz-selection {
  background: #6c408a;
  color: #fff;
  text-shadow: none !important;
}

::selection {
  background: #6c408a;
  color: #fff;
  text-shadow: none !important;
}

/* =============================================================================
   Links
   ========================================================================== */
/* Improve readability when focused and hovered in all browsers: h5bp.com/h */
a:hover, a:active {
  outline: 0;
}

/* =============================================================================
   Typography
   ========================================================================== */
abbr[title] {
  border-bottom: 1px dotted;
}

b, strong {
  font-weight: bold;
}

blockquote {
  margin: 1em 40px;
}

dfn {
  font-style: italic;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

ins {
  background: #ff9;
  color: #000;
  text-decoration: none;
}

mark {
  background: #ff0;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

/* Redeclare monospace font family: h5bp.com/j */
pre, code, kbd, samp {
  font-family: monospace, serif;
  _font-family: 'courier new', monospace;
  font-size: 1em;
}

/* Improve readability of pre-formatted text in all browsers */
pre {
  white-space: pre;
  white-space: pre-wrap;
  word-wrap: break-word;
}

q {
  quotes: none;
}

q:before, q:after {
  content: "";
  content: none;
}

small {
  font-size: 85%;
}

/* Position subscript and superscript content without affecting line-height: h5bp.com/k */
sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* =============================================================================
   Lists
   ========================================================================== */
ul, ol {
  marin: 0;
  padding: 0;
}

dd {
  margin: 0 0 0 40px;
}

nav ul, nav ol, ul, ul li {
  list-style: none;
  list-style-image: none;
  margin: 0;
  padding: 0;
}

/* =============================================================================
   Embedded content
   ========================================================================== */
/*
 * 1. Improve image quality when scaled in IE7: h5bp.com/d
 * 2. Remove the gap between images and borders on image containers: h5bp.com/i/440
 */
img {
  border: 0;
  -ms-interpolation-mode: bicubic;
  vertical-align: middle;
}

/* =============================================================================
   Chrome Frame Prompt
   ========================================================================== */
.chromeframe {
  margin: 0.2em 0;
  background: #ccc;
  color: black;
  padding: 0.2em 0;
}

/* ==|== primary styles =====================================================
   Author: james britton 12
   ========================================================================== */
/* global */
body {
  background: url(../img/back.png);
  font-family: arial, helvetica, sans-serif;
  color: #636363;
  line-height: 22px;
}

footer {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  padding: 100px 0 60px 0;
  clear: both;
}

footer a {
  margin: 0 20px;
}

#wrapper {
  padding: 0 10px;
  width: 960px;
  margin: 0 auto;
  clear: both;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  overflow: show;
}

a, a:visited {
  text-decoration: none;
  color: #6c408a;
}

a:hover, a:active {
  text-decoration: none;
  colour: #737373;
}

h1 {
  width: 255px;
  height: 171px;
  text-indent: -9999px;
  margin: -20px 0 0 0;
}

h1 a {
  display: block;
  width: 255px;
  height: 171px;
  background: url(../img/logo.png);
  -moz-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}


h1.logo2 a {
  display: block;
  width: 255px;
  height: 171px;
  background: url(../img/logo2.png);
  -moz-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

h1.logo3 a {
  display: block;
  width: 255px;
  height: 171px;
  background: url(../img/logo3.png);
  -moz-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
h1.logo4 a {
  display: block;
  width: 255px;
  height: 171px;
  background: url(../img/logo4.png);
  -moz-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}


h1 a:hover {
  -moz-transform: rotate(-3deg);
  -webkit-transform: rotate(-3deg);
  -ms-transform: rotate(-3deg);
  transform: rotate(-3deg);
  -moz-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

h2 {
  text-shadow: 0px 2px 0px #ffffff;
  font-family: "museo-slab",serif;
  font-style: normal;
  font-weight: 500;
  color: #737373;
  text-align: center;
  font-size: 2.3em;
  margin: 50px 0 0 0;
}

h3 {
  text-shadow: 0px 2px 0px #ffffff;
  font-family: "museo-slab",serif;
  font-style: normal;
  font-weight: 500;
  color: #737373;
  text-align: center;
  font-size: 2.3em;
  margin: 90px 0 90px 0;
  width: 100%;
}

h4 {
  text-shadow: 0px 2px 0px #ffffff;
  font-family: "museo-slab",serif;
  font-style: normal;
  font-weight: 500;
  color: #737373;
  text-align: center;
  font-size: 18px;
  margin: 60px 0 40px 0;
}

p {
  color: #737373;
  font-family: arial, helvetica, sans-serif;
  line-height: 24px;
  font-size: 14px;
  text-shadow: 0px 2px 0px #ffffff;
}

p a:active, p a:hover {
  border-bottom: 1px dotted #737373;
  color: #636363;
}

.right {
  float: right;
}

.left {
  float: left;
}

div#mainsection, div#ourengagement, div#registry, div#engagementphotoslist, div#hotels, div#details, div#localinfo, div#vote, div#babyshower, div#expectingphotolist, div#baptism {
  padding: 110px 0 400px 0;
  overflow: show;
}

div#mainsection {
  padding-top: 20px;
}

div#engagementphotoslist, div#ourengagement, div#expectingphotolist {
  overflow: hidden;
}

footer {
  clear: both;
}

#headerBoxGlobal {
  z-index: 9999;
}

/* header stuff */
.headerStick {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0px 5px 8px rgba(50, 50, 50, 0.37);
  -moz-transition: box-shadow 0.5s ease-in-out, background 0.5s ease-in-out;
  -webkit-transition: -webkit-box-shadow 0.5s ease-in-out, background 0.5s ease-in-out;
  -ms-transition: box-shadow 0.5s ease-in-out, background 0.5s ease-in-out;
  transition: box-shadow 0.5s ease-in-out, background 0.5s ease-in-out;
}

.stickypanel {
  border-top: solid 1px #c6c6c6;
  border-bottom: solid 1px #c6c6c6;
  width: 100%;
  height: 80px;
  margin-top: 30px;
  overflow: show;
  -moz-transition: -moz-box-shadow 0.5s ease-in-out, background 0.5s ease-in-out;
  -webkit-transition: -webkit-box-shadow 0.5s ease-in-out, background 0.5s ease-in-out;
  -ms-transition: -webkit-box-shadow 0.5s ease-in-out, background 0.5s ease-in-out;
  transition: box-shadow 0.5s ease-in-out, background 0.5s ease-in-out;
}

.logo {
  width: 255px;
  height: 171px;
  margin: -20px auto 0 auto;
}

/* nav */
nav {
  width: 960px;
  overflow: show;
  margin: 0 auto;
  line-height: 80px;
  font-size: 1.5em;
}

nav a, nav a:visited {
  color: #636363;
  text-decoration: none;
  font-family: "museo-slab",serif;
  font-style: normal;
  font-weight: 300;
  text-shadow: 0px 2px 0px #ffffff;
}

nav a:hover, nav a:active {
  color: #6c408a;
}

nav ul li {
  width: 121px;
  float: left;
  text-align: center;
}

nav ul li#menu-engagement {
  width: 139px;
}

nav ul li#menu-babyshower {
  width: 139px !important;
}

nav ul li#menu-baptism {
  width: 60px ;
}

nav ul li#menu-details {
  width: 139px;
}

nav ul li#menu-vote {
  width: 100px;
}

nav ul li#menu-photos {
  width: 75px;
}

nav ul li#menu-pregnancyphotos {
  width: 70px;
}

nav ul li#menu-registry {
  width: 85px;
}

nav ul li.logo {
  width: 255px;
}

nav ul li#menu-hotels {
  width: 175px;
}

nav ul li#menu-localinfo {
  width: 110px;
}

/* home section */
#pictureframe {
  width: 940px;
  height: 577px;
  background: url(../img/picture-feet.jpg) no-repeat center center;
}
#pictureframe2 {
  width: 940px;
  height: 577px;
  background: url(../img/mel.jpg) no-repeat center center;
}
#pictureframe3 {
  width: 940px;
  height: 577px;
  background: url(../img/baby.jpg) no-repeat center center;
}

#pictureframe4 {
  width: 940px;
  height: 577px;
  background: url(../img/will.jpg) no-repeat center center;
}

/* section: wedding details */
h3.details {
  background: url(../img/break-ourengagement.png) no-repeat center center;
}

#timeline {
  height: 146px;
  background: url(../img/timelineback.png) top center repeat-x;
  margin: 0px;
  padding: 0px;
}

#timeline li {
  padding: 0px;
  height: 146px;
  width: 220px;
  background: url(../img/timeline-li-back.png) top left no-repeat;
  float: left;
  margin: 0 10px;
  text-align: center;
  font-size: 1.8em;
  font-family: "museo-slab",serif;
  font-style: normal;
  text-shadow: 0px 2px 0px #ffffff;
  font-weight: 500;
  color: #636363;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  padding: 0 30px;
}

#timeline li:hover {
  background: url(../img/timeline-li-back.png) 0px 146px;
  color: #6c408a;
}

#timeline li:hover .time {
  color: #636363;
}

#timeline li.first {
  margin: 0 10px 0 0;
}

#timeline li.last {
  margin: 0 0 0 10px;
}

#timeline li .time {
  font-weight: 700;
  font-style: italic;
  font-size: 0.8em;
  height: 44px;
}

#timeline li span {
  font-size: 0.7em;
}

#details h4 {
  line-height: 1.6em;
  margin: 70px 0;
}

/* google map */
#mapcontainer {
  height: 370px;
  width: 100%;
  position: relative;
}

#map {
  height: 370px;
}

#mapcontainer .reception {
  background: url(../img/address-reception.png) no-repeat top left;
  width: 340px;
  height: 150px;
  font-family: "museo-slab",serif;
  font-style: normal;
  color: #fff;
  line-height: 1.8em;
  font-size: 1.9em;
  padding-left: 5px;
  position: absolute;
  top: 114px;
  left: 30px;
  z-index: 1001;
}


#mapcontainer .ceremony {
  background: url(../img/address-reception.png) no-repeat top left;
  width: 340px;
  height: 150px;
  font-family: "museo-slab",serif;
  font-style: normal;
  color: #fff;
  line-height: 1.8em;
  font-size: 1.9em;
  padding-left: 5px;
  position: absolute;
  top: 172px;
  left: 560px;
  z-index: 1003;
}
/* section: engagement */
h3.ourengagement {
  background: url(../img/break-ourengagement.png) no-repeat center center;
}

.story {
  width: 450px;
}

.story p.end {
  text-shadow: 0px 2px 0px #ffffff;
  width: 450px;
  font-family: "museo-slab",serif;
  font-style: normal;
  font-weight: 500;
  color: #737373;
  text-align: center;
  font-size: 2.4em;
  margin: 20px auto 0 auto;
}

div.columns {
  column-count: 2;
  -moz-column-count: 2;
  -webkit-column-count: 2;
  column-gap: 40px;
  -moz-column-gap: 40px;
  -webkit-column-gap: 40px;
}

#ourengagement h4 {
  background: url(../img/break-story.png) center center;
}

#ourengagement .story img {
  margin: 100px 0 0 0;
}

/* section: photos */
h3.engagementphotoslist {
  background: url(../img/break-ourengagement.png) no-repeat center center;
}

ul#engagementphotoslist {
  margin: 60px 0 0 0;
}

#engagementphotoslist li {
  float: left;
  width: 120px;
  height: 120px;
  margin: 0 7px;
  list-style: none;
  list-style-image: none;
}

#engagementphotoslist li img {
  border: 6px solid #fff;
  -webkit-box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.2);
  width: 106px;
  height: 106px;
}

#engagementphotoslist first {
  margin: 0 7px 0 0;
}

#engagementphotoslist li.last {
  margin: 0 0 0 7px;
}

/* section: registry */
h3.registry {
  background: url(../img/break-ourengagement.png) no-repeat center center;
}

nav #registrylist {
  margin: 0 auto;
  width:  251px;
}

nav #registrylist .babiesrus {
  background: url(../img/logo-baby.png) no-repeat center top;
  width: 251px;
  height: 69px;
  text-indent: -9999px;
  margin:  0 auto;
}
nav #registrylist .amazon {
  background: url(../img/amazon.png) no-repeat center top;
  width: 250px;
  height: 50px;
  text-indent: -9999px;
  margin:  0 auto;
}

nav #registrylist .babiesrus :hover {
  background: url(../img/logo-baby.png) no-repeat 13px -71px;
}

nav #registrylist .amazon :hover {
  background: url(../img/amazon.png) no-repeat 0px -51px;
}
nav #registrylist .babiesrus a {
  display: block;
  width: 251px;
  height: 69px;
}


nav #registrylist .amazon a {
  display: block;
  width: 250px;
  height: 50px;
}

/* section: localinfo */
h3.localinfo {
  background: url(../img/break-ourengagement.png) no-repeat center center;
}

#attractions li {
  margin: 10px;
  height: 160px;
  width: 220px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  background: #fff;
  float: left;
  list-style-image: none;
  display: block;
  border: 6px solid #fff;
  -webkit-box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.2);
}

#attractions li a {
  display: block;
  color: #737373;
  font-family: arial, helvetica, sans-serif;
  line-height: 24px;
  font-size: 14px;
  text-shadow: 0px 2px 0px #ffffff;
}

#attractions li span {
  font-family: "museo-slab",serif;
  font-style: normal;
  text-shadow: 0px 2px 0px #ffffff;
  font-size: 0.9em;
  #color: #737373;
}

#attractions li img {
  margin-bottom: 4px;
}

#attractions li.first {
  margin: 10px 10px 10px 0;
}

#attractions li.last {
  margin: 10px 0 10px 10px;
}

/* section: accommodations */
p.red {
	color: red;
}
h3.hotels {
  background: url(../img/break-ourengagement.png) no-repeat center center;
}

#cal {
  position: relative;
  height: 146px;
  background: url(../img/timelineback.png) top center repeat-x;
  margin: 0px;
  padding: 0px;
}

#cal li {
  background: url(../img/cal-back.png) top left no-repeat;
  padding: 0px;
  height: 144px;
  width: 240px;
  float: left;
  margin: 0;
  text-align: center;
  font-size: 1.8em;
  font-family: "museo-slab",serif;
  font-style: normal;
  text-shadow: 0px 2px 0px #ffffff;
  font-weight: 500;
  color: #636363;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  padding: 0 30px;
}

#cal li.first {
  width: 230px;
  background: none;
}

#cal li.last {
  width: 230px;
}

#cal li:hover {
  color: #6c408a;
  background: url(../img/cal-back.png) 0 -147px;
}

#cal li:hover .date {
  color: #636363;
}

#cal li .date {
  font-weight: 700;
  font-size: 0.8em;
  height: 44px;
}

#cal li.specialrate {
  position: absolute;
  top: 100px;
  margin-left: -450px;
  left: 50%;
  width: 900px;
  height: 24px;
  background: rgba(94, 49, 124, 0.8);
  border-radius: 12px;
  -moz-border-radius: 20px;
  -webkit-border-radiuds: 20px;
  border-bottom: 1px solid #fff;
  border-right: 1px solid #fff;
  border-left: 1px solid #fff;
  font-size: 1.4em;
  color: #fff;
  text-shadow: none;
}

#cal li.specialrate:hover {
  background: #5e317c;
}

#hotels h4 {
  line-height: 1.6em;
  margin: 70px 0;
}

div.roomrates {
  width: 450px;
  float: left;
}

div.roomrates p span a {
  font-size: 1.4em;
  font-family: "museo-slab",serif;
  font-style: normal;
  text-shadow: 0px 2px 0px #ffffff;
  font-weight: 500;
}

div.roomrates p span {
  font-size: 0.8em;
}

div.roomrates h4 {
  background: url(../img/break-story.png) center center;
}

/* section baby shower */


#babyshower h4 {
  line-height: 1.6em;
  margin: 70px 0;
}

/* section: photos */
h3.expectingphotolist, h3.babyshower, h3.vote, h3.baptism {
  background: url(../img/break-ourengagement.png) no-repeat center center;
}

ul#expectingphotolist {
  margin: 0 auto;
  display: inline-block;
  overflow: hidden; 
}

#expectingphotolist li {
  float: left;
  width: 120px;
  height: 120px;
  margin: 0 7px 7px 0;
  list-style: none;
  list-style-image: none;
}

#expectingphotolist li img {
  border: 6px solid #fff;
  -webkit-box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.2);
  width: 106px;
  height: 106px;
}

#expectingphotolist first {
  margin: 0 7px 0 0;
}

#expectingphotolist li.last {
  margin: 0 0 0 7px;
}

/* link back */
 div#linkback {
	width: 120px;
	height: 132px;
	right:  50%;
	margin-right:  -520px;
	top:  0 !important;
	z-index: 9999 !important;
	position: fixed !important;
}

/* ==|== media queries ======================================================
   EXAMPLE Media Query for Responsive Design.
   This example overrides the primary ('mobile first') styles
   Modify as content requires.
   ========================================================================== */
@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}
/* ==|== non-semantic helper classes ========================================
   Please define your styles before this section.
   ========================================================================== */
/* For image replacement */
.ir {
  display: block;
  border: 0;
  text-indent: -999em;
  overflow: hidden;
  background-color: transparent;
  background-repeat: no-repeat;
  text-align: left;
  direction: ltr;
  *line-height: 0;
}

.ir br {
  display: none;
}

/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden {
  display: none !important;
  visibility: hidden;
}

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

/* Hide visually and from screenreaders, but maintain layout */
.invisible {
  visibility: hidden;
}

/* Contain floats: h5bp.com/q */
.clearfix:before, .clearfix:after {
  content: "";
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  *zoom: 1;
}

/* ==|== print styles =======================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */
@media print {
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    -ms-filter: none !important;
  }

  /* Black prints faster: h5bp.com/s */
  a, a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {
    content: "";
  }

  /* Don't show links for images, or javascript/internal links */
  pre, blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group;
  }

  /* h5bp.com/t */
  tr, img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  @page {
    margin: 0.5cm;
}
}

