/******************************************************************************************************
Imports & Utility
******************************************************************************************************/

@import url("https://fonts.googleapis.com/css?family=Dancing+Script:400,700");
@import url("https://fonts.googleapis.com/css?family=Varela+Round");


/******************************************************************************************************
This makes it so that an elemnts padding and border are included in the width and height.
Check this out for more information: http://www.w3schools.com/css/css3_box-sizing.asp
******************************************************************************************************/

* { box-sizing: border-box; }

/******************************************************************************************************
Fonts
******************************************************************************************************/

@font-face {
   font-family: meshitara;
   src: url(Fonts/meshitara-webfont.woff);
}

@font-face {
   font-family: Quincy;
   src: url(Fonts/QuincyCF-Regular.woff);
}


/******************************************************************************************************
Basic Styles
******************************************************************************************************/

html {
  overflow-x:no-content;
}

html, body {
  width:100%;
  height:100%;
  margin:0;
  padding:0;
}
    
section {
  text-align:left;
  display:inline-block;
  font-size:larger;
  line-height:150%;
  margin: 0;
}

p, table {
  margin:0;
  padding:0;
}


/******************************************************************************************************
Body & Header that covers top
******************************************************************************************************/

body {
  text-align:center;
  color:#808080;
  font-family: Quincy, serif;
  font-size:15px;
  background-color:#e9e6dd;
  background-image:url('Images/imgBackground_800.png');
  background-repeat:no-repeat;
  background-attachment:fixed;
  background-size: 100% auto;
  font-size:15px;
}

#header {
  position:fixed;
  top:0px;
  left:0px;
  z-index:1;
  width:100%;
  height:auto;
}

#headerImage {
  position:fixed;
  margin:0; padding:0;
  top:0px; left:0px;
  z-index:1;
  width:100%;
  height:230px;
  background-repeat:no-repeat;
  background-image:url('Images/imgBackground_header_800.png');
  background-size:100% auto;
}

@media only screen and (min-width:580px) {
  body {
    background-image:url('Images/imgBackground_1300.png');
  }
  #headerImage {
    background-image:url('Images/imgBackground_header_1300.png');
  }
}

@media only screen and (min-width:1100px) {
  body {
    background-image:url('Images/imgBackground.png');
  }
  #headerImage {
    background-image:url('Images/imgBackground_header.png');
  }
}

/******************************************************************************************************
Fonts, Titles & Text
******************************************************************************************************/

.meshitara { font-family: meshitara; }
.quincy { font-family: Quincy; }

h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5 {
  font-weight:400;
}

h1 {
  margin-top: 20px;
  margin-bottom: 20px;
}

h2 {
  margin-top: 10px;
  margin-bottom: 15px;
}

h3, h4, h5, .h3, .h4, .h5 {
  margin-top: 8px;
  margin-bottom: 8px;
}
   
h1, h2, h3, .h1, .h2, .h3 {
  font-family: meshitara;
  color:#485364;
  text-decoration:none;
  line-height:100%;
}

h4, h5, .h4, .h5 {
  color:#808080;
  font-family: Quincy;
}

/* Small Screen */
h1, .h1{ font-size:48px; }
h2, .h2{ font-size:46px; }
h3, .h3{ font-size:32px; }
h4, .h4{ font-size:24px; }
h5, .h5{ font-size:18px; }

/* Mid-Size Screen (Tablet) */
@media only screen and (min-width:580px) {
  h1 {
    margin-top: 20px;
    margin-bottom: 15px;
  }
  
  h2 {
    margin-top: 20px;
    margin-bottom: 20px;
  }
  
  h1, .h1{ font-size:72px; }
  h2, .h2{ font-size:68px; }
  h3, .h3{ font-size:39px; }
  h4, .h4{ font-size:28px; }
  h5, .h5{ font-size:21px; }
}

/* Large Screen */
@media only screen and (min-width:1100px) {
  h1 {
    margin-top: 30px;
    margin-bottom: 15px;
  }
  
  h2 {
    margin-top: 20px;
    margin-bottom: 30px;
  }
  
  h3, h4, h5, .h3, .h4, .h5 {
    margin-top: 15px;
    margin-bottom: 15px;
  }
  
  h1, .h1{ font-size:108px; }
  h2, .h2{ font-size:78px; }
  h3, .h3{ font-size:46px; }
  h4, .h4{ font-size:32px; }
  h5, .h5{ font-size:24px; }
}

/******************************************************************************************************
H2 Dancing Text - The before_title and after_title divs are required for this to work properly
******************************************************************************************************/

.title_wrap {
  width:100%;
  text-align:center;
}

.title_wrap .before_title {
  padding-left:78px;
  background: transparent url('Images/imgTitleHeartLineLeft_small.png') no-repeat left center;
  display: inline-block;
}

.title_wrap .before_title .after_title {
  padding-right:78px;
  background: transparent url('Images/imgTitleHeartLineRight_small.png') no-repeat right center;
  display:inline-block;
}

/* Large Screen */
@media only screen and (min-width:580px) {
  .title_wrap .before_title {
    padding-left:135px;
    background-image:url('Images/imgTitleHeartLineLeft.png');
  }
  
  .title_wrap .before_title .after_title {
    padding-right:135px;
    background-image:url('Images/imgTitleHeartLineRight.png');
  }
}

/******************************************************************************************************
Images
******************************************************************************************************/

img {
    vertical-align: middle;
    border: 0;
}

.framed {
  border:6px solid #485364;
  background:#fff;
  -webkit-box-shadow:0 0 5px rgba(0, 0, 0, 0.3);
  -moz-box-shadow:0 0 5px rgba(0, 0, 0, 0.3);
  box-shadow:0 0 5px rgba(0, 0, 0, 0.3);
  width: auto;
}

/******************************************************************************************************
The Mask Layer that will be layed over the content so it's unclickable while the nav menu is shown
******************************************************************************************************/

#navContentMaskLayer {
  position:fixed; /* So that we overlap everything */
  z-index:9; /* Cover everything else except the nav menu */
  width:100%;
  height: 100%;
  margin:0;
  padding: 0;
  left: 0px;
  top:0px;

  background-color:#485364;
  opacity:0.9;

  display: none;
}

/******************************************************************************************************
Navigation
******************************************************************************************************/

nav {
  z-index:20; /* Over everything else */
  position:fixed; /* So that we overlap the photo . Could also do fixed if we want it to scroll with the page. */
  right:50%;
  top:0px;
  width:100%;
}

nav ul {
  position:relative;
  right:-50%; /* This will center the ul on the screen when combined with the "nav {right:50%;}" above */
  margin:0;
  padding: 0;
}

nav a{
  font-size:18px;
  margin:0px 15px 0px 15px;
  padding-bottom:2px; /* space above the underline */
  font-family: Quincy, serif;
  color:#f9f9f9;
  letter-spacing:1px;
  text-decoration:none;
  text-align:center;
}

nav a:hover {
  color:#ffffff;
  border-bottom:2px solid #ffffff;
}

nav a#selected {
  color:#ffffff;
  border-bottom:2px solid #ffffff;
}

/******************************************************************************************************
Navigation - Small Screens (Mobile Phones) - Always design for mobile first
******************************************************************************************************/

nav ul {
  margin:auto; /* This will center the list in the nav container */
  list-style-type: none;
  overflow:visible; /* was overflow:hidden*/

  line-height:240%;
  padding: 0px 0px 10px 0px;
  width:100%;
  height:100%;
  background-size: 100% auto; /*stretch the image out to the edges */
}

nav li {
  display:none;
}

nav.expanded li {
  display:block;
}

nav li#navMenuButton {
  display:block;
}

nav.expanded li#navMenuButton {
  display:none;
}

nav a{
  font-size:24px;
}

/* Navigation - Small Size Screens (Phones) */
@media only screen and (min-height:420px) {
  nav ul {
    padding: 0px 0px 10px 0px;
    line-height:400%;
  }

  nav a{
    font-size:42px;
  }
}

/* Navigation - Mid Size Screens (Tablets) */
@media only screen and (min-height:660px) and (min-width:530px) {
  nav ul {
    padding: 0px 0px 16px 0px;
    line-height:600%;
  }

  nav a{
    font-size:72px;
  }
}

/* Navigation - Large Screens (Desktops) */
@media only screen and (min-height:840px) and (min-width:640px) {
  nav ul {
    padding: 50px 0px 28px 0px;
    line-height:700%;
  }
  
  nav a{
    font-size:90px;
  }
}

/******************************************************************************************************
Nav Button
******************************************************************************************************/

.navButton {
  z-index: 8;
  /* Positioning - Always stay in top left corner */  
  display: inline-block;
  position: fixed;
  top: 12px;
  left: 12px;
  /* Look and Feel */
  text-align: center;
  height:90px;
  width: 90px;
  font-size: 50px;
  padding-top: 29px;
  transition: all 0.5s;
  cursor: pointer;
  border: none;
  color: #FFFFFF;
  /* Drop Shadow */
  -moz-box-shadow: 0px 10px 14px -7px #485364;
  -webkit-box-shadow: 0px 10px 14px -7px #485364;
  box-shadow: 0px 10px 14px -7px #485364;
  /* Gradient Background */
  background-color: #485364;
  background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #808080), color-stop(1, #485364));
  background:-moz-linear-gradient(top, #808080 5%, #485364 100%);
  background:-webkit-linear-gradient(top, #808080 5%, #485364 100%);
  background:-o-linear-gradient(top, #808080 5%, #485364 100%);
  background:-ms-linear-gradient(top, #808080 5%, #485364 100%);
  background:linear-gradient(to bottom, #808080 5%, #485364 100%);
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#808080', endColorstr='#485364',GradientType=0);
  /* Rounded Corners */
  -moz-border-radius:50%;
  -webkit-border-radius:50%;
  border-radius:50%;
}

@media only screen and (min-width:580px) { /* Medium Screen*/
  .navButton {
    top: 16px;
    left: 16px;
    
    height:105px;
    width: 105px;
    font-size: 56px;
    padding-top: 36px;
  }
}

@media only screen and (min-width:1100px) { /* Large Screen*/
  .navButton {
    top: 20px;
    left: 20px;
    
    height:120px;
    width: 120px;
    font-size: 62px;
    padding-top: 44px;
  }
}

/******************************************************************************************************
Content Dividers (Those Leafs)
******************************************************************************************************/

img.divider {
  width:20%;
  min-width:160px;
  max-width:260px;
  padding:70px 0px;
}

@media only screen and (min-width:580px) {
  img.divider {
    padding:55px 0px;
  }
}

/******************************************************************************************************
Leaf Bullets
******************************************************************************************************/

ul.leafBullets  {
  width:100%;
  max-width:770px;
  margin: auto auto 30px auto;
  vertical-align: middle;
  padding:0px;
}

.leafBullets li {
  background: url('Images/imgLeafBullet.png') no-repeat left top;
 
  list-style-type:none;
  padding-left:50px;
  margin: 10px auto;
  text-align:left;
  
  font-size:18px;
}

@media only screen and (min-width:580px) {
  .leafBullets li {
    font-size:21px;
  }
}

/******************************************************************************************************
Small Screen Line Break
******************************************************************************************************/

.smallScreenLineBreak {
  display:block;
  margin:0px;
  padding:0px;
  width:0px;
}

@media only screen and (min-width:580px) {
  .smallScreenLineBreak {
    display:none;
  }
}
/******************************************************************************************************
Welcome Page (Index)
******************************************************************************************************/

#welcomePage {
  text-align:center;
  width:100%;
  max-width:830px;
  padding: 130px 0px 100px 0px;
}

#logo {
  width:38%;
  margin-top:30px;  /* margin-top:-150px; */

  margin-bottom:80px;
  display:inline-block;
}

/* Large Screen */
@media only screen and (min-width:580px) {
  #welcomePage {
    padding: 200px 0px 200px 0px;
  }
  
  #logo {
    margin-top:0px; /* margin-top:-170px; */
    width:32%;
  }
}

#imgEloraMill {
  width: 100%;
  margin-top:30px;
}

#imgWelcome {
  width: 100%;
  margin: 30px 0px 60px 0px;
  
  border-top:3px solid #485364;
  border-bottom:3px solid #485364;
  background:#fff;
  -webkit-box-shadow:0 0 5px rgba(0, 0, 0, 0.3);
  -moz-box-shadow:0 0 5px rgba(0, 0, 0, 0.3);
  box-shadow:0 0 5px rgba(0, 0, 0, 0.3);
}

/* When screem becomes larger than the image, add side borders*/
@media only screen and (min-width:830px) {
  #imgWelcome {
    border:6px solid #485364;
  }
  
  #logo {
    margin-top:0px; /* margin-top:-190px; */
  }
}

/******************************************************************************************************
Wedding Details
******************************************************************************************************/
#weddingDetailsTitle {
  margin-top:140px;
}

#weddingDetails {
  text-align:center;
  width:100%;
  max-width:900px;
  padding: 40px 20px 60px 20px;
}

#thingsToDo ul {
  max-width:240px;
  
  columns: 1;
  -webkit-columns: 1;
  -moz-columns: 1;
}

@media only screen and (min-width:580px) { /* Medium Screen */
  #weddingDetailsTitle {
    margin-top:170px;
  }
  
  #thingsToDo ul {
    padding-left:60px;
    max-width:600px;
    
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
  }
}

@media only screen and (min-width:1100px) { /* Large Screen */
  #weddingDetailsTitle {
    margin-top:220px;
  }
  
  #weddingDetails {
    padding: 40px 20px 60px 20px;
  }
}

/******************************************************************************************************
Gift Registry
******************************************************************************************************/

#registryTitle {
  margin-top:140px;
}
  
#giftRegistry {
  max-width:600px;
  padding: 0px;
  text-align:center;
  line-height:200%;
  margin: 0px auto 120px auto;
}

#giftRegistry img {
  margin: 30px 0px;
  width:100%;
  max-width: 300px;
}

@media only screen and (min-width:580px) { /* Medium Screen */
  #registryTitle {
    margin-top:170px;
  }
}

@media only screen and (min-width:1100px) { /* Large Screen */
  #registryTitle {
    margin-top:220px;
  }
}

/******************************************************************************************************
RSVP
******************************************************************************************************/

#rsvpTitle {
  margin-top:140px;
}

@media only screen and (min-width:580px) { /* Medium Screen */
  #rsvpTitle {
    margin-top:170px;
  }
}

@media only screen and (min-width:1100px) { /* Large Screen */
  #rsvpTitle {
    margin-top:220px;
  }
}

#rsvp {
  max-width:600px;
  padding: 0px 4px;
  text-align: center;
  margin-bottom: 0px;
}

input[type=text], select, textarea {
  width: 90%;
  padding: 6px 8px;
  margin: 4px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 12px;
}

select {
  max-width: 144px;
}
  
@media only screen and (min-width:580px) {
  input[type=text], select, textarea {
    font-size: 14px;
  }
  
  select {
    max-width: 156px;
  }
}

/******************************************************************************************************
RSVP Button
******************************************************************************************************/
.rsvpButton {
  display: inline-block;
  text-align: center;
  font-size: 28px;
  padding: 20px;
  width: 220px;
  transition: all 0.5s;
  cursor: pointer;
  margin: 5px;
  border: none;
  color: #FFFFFF;
  /* Drop Shadow */
  -moz-box-shadow: 0px 10px 14px -7px #485364;
  -webkit-box-shadow: 0px 10px 14px -7px #485364;
  box-shadow: 0px 10px 14px -7px #485364;
  /* Gradient Background */
  background-color: #485364;
  background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #808080), color-stop(1, #485364));
  background:-moz-linear-gradient(top, #808080 5%, #485364 100%);
  background:-webkit-linear-gradient(top, #808080 5%, #485364 100%);
  background:-o-linear-gradient(top, #808080 5%, #485364 100%);
  background:-ms-linear-gradient(top, #808080 5%, #485364 100%);
  background:linear-gradient(to bottom, #808080 5%, #485364 100%);
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#808080', endColorstr='#485364',GradientType=0);
  /* Rounded Corners */
  -moz-border-radius:8px;
  -webkit-border-radius:8px;
  border-radius:8px;
}

.rsvpButton span {
  z-index: 0;
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.rsvpButton span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.rsvpButton:hover span {
  padding-right: 25px;
}

.rsvpButton:hover span:after {
  opacity: 1;
  right: 0;
}

/******************************************************************************************************
Wedding Party
******************************************************************************************************/

.weddingPartyPersonTitleDash {
  display:none;
  margin:0px;
  padding:0px;
  width:0px;
}

.weddingPartyPersonTitle {
  display:inline;
  vertical-align:20%;
}

@media only screen and (min-width:580px) {
  .weddingPartyPersonTitleDash {
    display:inline;
  }
}

#weddingPartyTitle {
  margin-top:150px;
}
  
.weddingParty {
  display:block;
  width:100%;
  margin:40px auto 0px auto;

  max-width:1300px;
  padding:0px 15px 0px 15px;
}

.weddingPartyPerson {
  display:block;
  width:100%;
  margin:auto;
  padding:12px 0px;
}

.weddingPartyImg {
  width:100%;
  display:block;
  text-align:center;
}

.weddingPartyImg img {
   max-width:300px;
   max-height:300px;
   margin:0px auto 20px;
   overflow:hidden;
}

.weddingPartyText {
  margin: 0px 0px 20px 20px;
  display:inline-block;
}

.weddingPartyText h2, h3 {
  text-align:center;
}

.weddingPartyTextEveryOther {
  max-width:800px;
  float:left;
  margin: 0px 20px 20px 0px;
}

#groomsmen {
  margin:-20px 0px 30px 0px;
}

/* Medium Screen */
@media only screen and (min-width:580px) {
  #weddingPartyTitle {
    margin-top:180px;
  }
}

/* Large Screen */
@media only screen and (min-width:1100px) {

  #weddingPartyTitle {
    margin-top:220px;
  }

  .weddingPartyPerson {
    padding-bottom:30px;
  }

  .weddingPartyImg {
    display:inline;
    margin-bottom:0px;
  }

  .weddingPartyImg img {
    margin-left:0px;
    max-width:220px;
    max-height:none;
  }
    
  .weddingPartyText {
    max-width:800px;
    float:right;
    margin: 30px 0px 0px 30px;
  }

  #groomsmen {
    margin:30px 0px 80px 0px;
  }
}

/******************************************************************************************************
Gallery
******************************************************************************************************/

#galleryTitle {
  margin-bottom:30px;
  margin-top:140px;
}
  
#gallery {
  max-width:1200px;
  margin-bottom: 40px;
}

.gallery-item {
  float:left;
  width:100%;
  padding:0 18px;
}

.gallery-item img {
  margin:0px 0px 20px 0px;
  display:block;
  max-width:100%;
  height:auto;
}

/* Medium Screen */
@media only screen and (min-width:580px) {
  #galleryTitle {
    margin-top:170px;
  }
  
  .gallery-item {
    width:50%;
  }
  
  .gallery-item img {
    margin-bottom: 30px;
  }
}

/* Large Screen */
@media only screen and (min-width:1100px) {
  #galleryTitle {
    margin-top:220px;
  }

  .gallery-item {
    width:33.333%;
  }
}


