*:not(html) {
  /*-webkit-transform: translate3d(0, 0, 0);*/
}

#element {
  margin: 0px;
  padding: 0;
  font-size: 100%;
  line-height: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
}

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  src: local('Lato Light'), local('Lato-Light'), url(http://fonts.gstatic.com/s/lato/v11/EsvMC5un3kjyUhB9ZEPPwg.woff2) format('woff2'), url(http://fonts.gstatic.com/s/lato/v11/KT3KS9Aol4WfR6Vas8kNcg.woff) format('woff');
}

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 100;
  src: local('Lato Hairline'), local('Lato-Hairline'), url(http://fonts.gstatic.com/s/lato/v11/GtRkRNTnri0g82CjKnEB0Q.woff2) format('woff2'), url(http://fonts.gstatic.com/s/lato/v11/boeCNmOCCh-EWFLSfVffDg.woff) format('woff');
}


.thumb-div-l {
  float: center;
}

.thumb-div-r {
  float: center;
}

.thumb {
  height: 200px;
  width: 200px;
  background-color: white;
  text-align: center;
  margin: auto;
  margin: 10px;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  border: 5px solid #FFF;
  box-shadow: 0px 4px 6px 0px #DDD;
  margin-bottom: 10px;
}


h1 {
  font-family: 'Lato', sans-serif;
}

html,
button,
input,
select,
textarea {
  color: #222;
}

body {
  font-size: 1em;
  line-height: 1.4;
  width: 100%;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

.bordered {
  padding: 50px 100px;
}

.green {
  color: #004700;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

a {
  color: #004700;
  text-decoration: none;
}

section a:hover {
  text-decoration: underline;
}

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

#rsvpmove {
  position: absolute;
  height: 100px;
  top: -300px;
  z-index: 9;
}

#rsvp-link {
  position: relative;
  -webkit-border-radius: 4;
  -moz-border-radius: 4;
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
  color: #000000;
  font-size: 20px;
  padding: 10px 20px;
  background: white;
  border: solid #000000 2px;
  text-decoration: none;
  z-index: 30;
  text-align: center;
  margin: auto;
}

.rsvp-send {
  visibility: hidden;
  position: relative;
  -webkit-border-radius: 4;
  -moz-border-radius: 4;
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
  color: #000000;
  font-size: 20px;
  background: white;
  padding: 10px 20px;
  border: solid #000000 2px;
  text-decoration: none;
  z-index: 10;
}

#rsvpbuttons {
  position: absolute;
  left: -18%;
  text-align: center;
  width: 100%;
  margin: auto;
  z-index: 30;
  top: -300px;
}

/* Removed invalid JS-like content */

.rsvp-link-text {
  font-family: monospace;
}

.rsvp-link:hover {
  background: #696969;
  text-decoration: none;
}

ul.languages {
  font-size: 15px;
  position: absolute;
  top: -10px;
  right: 16px;
  z-index: 42;
}

.arrow-down-link {
  background: url("../img/arrow_down.png") no-repeat right 10px;
  padding: 0 15px 0 0;
  float: left;
}

ul.languages li {
  line-height: 25px;
  list-style-type: none
}

ul.languages li ul.dropdown {
  padding: 0 10px;
  min-width: 120px;
  /* Set width of the dropdown */
  background: #f2f2f2;
  display: none;
  position: absolute;
  z-index: 999;
  right: 0px;
  top: 10px;
  text-align: left;
}

ul.languages li:hover ul.dropdown {
  display: block;
  /* Display the dropdown */
}

ul.languages li ul.dropdown li {
  display: block;
}

.parallax {
  transition: 0s ease;
  transition-property: background-position;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  z-index: 0;
  overflow: hidden;
}

#parallax1,
#p1 {
  height: 677px;
  max-height: 677px;
  min-height: 677px;
  width: 100%;
}

#parallax1 {
  margin-top: 64px;
}

#p1 {
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  background: url("../img/banner.jpg") no-repeat 50% 50%;
}

#parallax2,
#p2 {
  height: 656px;
  max-height: 656px;
  min-height: 656px;
  width: 100%;
}

#p2 {
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  background: url("../img/2.jpg") no-repeat 50% 50%;
}

#parallax3,
#p3 {
  height: 678px;
  max-height: 678px;
  min-height: 678px;
  width: 100%;
}

#p3 {
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  background: url("../img/para3.jpg") no-repeat 50% 50%;
}

#pic-bottom {
  position: relative;
  background: url("../img/Beach_Rock_Header.png") no-repeat scroll center 0px;
  height: 450px;
  max-height: 450px;
  width: 100%;
}

.gmap2 {
  width: 100%;
  height: 450px;
  margin: auto;
  text-align: center;
}

.overlay {
  background: transparent;
  position: relative;
  width: 100%;
  height: 450px;
  /* your iframe height */
  top: 450px;
  /* your iframe height */
  margin-top: -450px;
  /* your iframe height */
}

#section-1 .wrap {
  position: static;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

.chromeframe {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

.wrapper {
  height: 100%;
  position: relative;
}

#gmap {
  text-align: center;
  margin: 20px auto 20px auto;
}

#gmap iframe {
  width: 93%;
  height: 200px;
  border: 10px solid #090909;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
}

#gmap small a,
#gmap small a:active,
#gmap small a:visited {
  color: #004700;
  text-decoration: none;
  outline: none;
}

#gmap small a:hover {
  color: #004700;
  text-decoration: underline;
  outline: none;
}

#introtext {
  position: absolute;
  top: -500px;
  margin: 0 auto;
  width: 60%;
  margin-left: 2%;
}

.header-container {
  box-shadow: 0px -5px 20px rgba(0, 0, 0, 0.5);
  position: absolute;
  height: 84px;
  top: 0px;
  margin: 0 auto;
  z-index: 42;
  width: 100%;
  background: white;
  background: rgb(255, 255, 255);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#CC000000, endColorstr=#CC000000);
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#CC000000, endColorstr=#CC000000)";
}

.title {
  color: white;
}

#introtext {
  color: white;
  display: block;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#B2000000, endColorstr=#B2000000);
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#B2000000, endColorstr=#B2000000)";
}

#introtext .head-robjana {
  width: 400px;
  font-family: 'Lato', sans-serif;
  font-weight: 100;
  font-size: 5em;
  line-height: 100%;
}

.threes {
  display: none;
}

.twos {
  display: block;
}

.singles {
  display: block;
}

.notsingles {
  display: none;
}

nav {
  width: 100%;
  z-index: 42;
  font-size: 0.9em;
}

nav ul {
  font-family: 'Lato', sans-serif;
  font-weight: normal;
  margin: 0;
  padding: 0;
}

nav a {
  display: block;
  margin-bottom: 10px;
  padding: 5px 0;
  text-align: center;
  text-decoration: none;
  color: black;
  background: transparent;
  white-space: nowrap;
  outline: none;
}

nav li a:hover {
  color: #339933;
  text-decoration: none;
  outline: none;
}

nav li a.selected {
  color: #339933;
  text-decoration: none;
  outline: none;
}

nav ul li a:focus {
  outline: none;
}

nav ul li a::-moz-focus-inner {
  border: 0;
}

.main {
  padding: 5% 0;
}

* {
  margin: 0;
  padding: 0;
}

html {}

body {
  font-family: 'Lato', sans-serif;
  color: black;
  text-align: center;

}

#bg-image {
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  position: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  min-height: 100%;
  max-width: 100%;
  max-height: 100%;
}

#bg-image img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

section {
  text-align: left;
  background-color: white;
  height: 100%;
  color: black;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;

  background: rgb(255, 255, 255);
  background: rgba(255, 255, 255, 0.7);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#B2000000, endColorstr=#B2000000);
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#B2000000, endColorstr=#B2000000)";
}

section h1 {
  text-align: center;
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  /*font-family: "EdwardianScrAltITCTT", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;*/
  font-size: 2.8em;
  margin-bottom: 100px;

}

h2 {

  text-align: center;
  font-family: 'Lato', sans-serif;
  font-weight: normal;
  font-size: 2em;
  line-height: 150%;
  padding: 0 0px;
  margin: auto;
  max-width: 800px;
}

h3 {

  text-align: center;
  font-family: 'Lato', sans-serif;
  font-weight: normal;
  font-size: 1.5em;
  line-height: 150%;
  padding: 0 0px;
  margin: auto;
  max-width: 800px;
}

.column {
  float: none;
  width: 100%;
  /*padding: 0;*/
  margin: 0;
}

.column p {
  font-size: 1em;
  line-height: 145%;
  padding: 0;
}

.couple {

  text-align: center;
  float: left;
  width: 100%;
}

@media only screen and (min-width: 20px) {

  nav {
    font-size: 0.5em;
  }

  body {
    background-position: 50% 20%;
  }

  .header-container {
    font-size: 1em;
    position: absolute;
    bottom: 0px;
    width: 100%;
    line-height: 84px;
  }

  .header-container.sticky {
    position: fixed;
    top: 0px;

  }

  nav {
    display: block;
  }

  nav ul {
    text-align: center;
    margin: auto;
    padding: 0;
    text-align: center;
  }

  nav ul li {
    display: inline;
    padding: 0;
    margin: 0;
  }

  nav a {
    padding: 0px 1%;
    margin-bottom: 0;
    display: inline-block;
    white-space: nowrap;

    -moz-font-smoothing: antialiased;
    -o-font-smoothing: antialiased;
    -ms-font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;

    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -o-transition: all .3s ease;
    -ms-transition: all .3s ease;
    transition: all .3s ease;
  }


  section {
    /*padding: 50px 100px;*/
  }


  .column p {
    font-size: 1.1em;
  }

  #gmap iframe {
    height: 400px;
  }



  /* ========================
    INTERMEDIATE: IE Fixes
   ======================== */


  nav ul li {
    display: inline;
  }

  .oldie nav a {
    margin: 0 0.7%;
  }
}

@media only screen and (min-width: 474px) {
  nav {
    font-size: 0.6em;
  }
}

@media only screen and (min-width: 550px) {
  nav {
    font-size: 0.7em;
  }
}

@media only screen and (min-width: 610px) {
  nav {
    font-size: 0.8em;
  }
}

@media only screen and (min-width: 826px) {

  .threes {
    display: block;
  }

  .twos {
    display: none;
  }

  #introtext .amp {
    top: 0;
    font-size: 1em;
  }

  .main header {
    /*margin-top: 10%;*/
    /*margin-bottom: 30%;*/
    float: left;
    width: 60%;
  }

  nav a {
    padding: 0px 2%;
    font-size: 90%;
  }
}

@media only screen and (min-width: 739px) {
  nav {
    font-size: 0.9em;
  }

  .couple {
    text-align: left;
    margin: auto;
  }

  .thumb-div-l {
    float: left;
    margin: 50px;
  }

  .thumb-div-r {
    float: right;
    margin: 50px;
  }
}

@media only screen and (min-width: 900px) {

  /*
    .column.full {
        clear: both;
        float: none;
        width: 100%;
        max-width: 100%;
    }
    .column {
        float: left;
        width: 50%;
    }
    .column p {
        font-size: 1.4em;
        line-height: 145%;
        padding: 0 20px;
    }  
*/
  .couple {
    float: left;
    width: 46%;
    margin-left: 2%;
    margin-right: 2%;
  }

}


@media only screen and (min-width: 1140px) {

  /* ===============
    Maximal Width
   =============== */

  #container .row {
    margin: auto;
  }

  .header-container {
    font-size: 0.8em;
  }

  nav a {
    padding: 0px 2%;
    font-size: 120%;
  }

  .wrapper {
    /*width: 1026px; /* 1140px - 10% for margins */
    margin: 0 auto;
  }

  #introtext .head-sarah {
    font-size: 11em;
  }

  #introtext .amp {
    top: 0;
    font-size: 1.1em;
  }

  #introtext .head-brad {
    font-size: 5em;
  }


}

@media only screen and (min-width: 1360px) {
  .thumb {
    margin-bottom: 100px;
  }
}

@media only screen and (min-width: 1450px) {
  .threes {
    display: none;
  }

  .twos {
    display: none;
  }
}

@media only screen and (min-width: 1330px) {
  .singles {
    display: none;
  }

  .notsingles {
    display: block;
  }
}

.ir {
  background-color: transparent;
  border: 0;
  overflow: hidden;
  *text-indent: -9999px;
}

.ir:before {
  content: "";
  display: block;
  width: 0;
  height: 150%;
}

.hidden {
  display: none !important;
  visibility: hidden;
}

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

.invisible {
  visibility: hidden;
}

.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
  * {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster: h5bp.com/s */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

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

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

  /*
     * Don't show links for images, or javascript/internal links
     */

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

  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;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

.responsive-image.proposal {
  text-align: center;
  margin: 60px auto 60px auto;
}

.responsive-image.proposal img {
  border: 10px solid #090909;

  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
}

img.theinn {

  text-align: center;
  margin-bottom: 50px;
}

div.bp h2 {
  margin: 0;
}

div.bp .column p {
  line-height: 180%;
}

.hr-t {
  margin: 80px auto 0 auto;
  width: 97%;
  border-top: #1e1e1e solid 1px;
  opacity: 0.4;
  filter: alpha(opacity=40);
  /* For IE8 and earlier */
}

.hr-b {
  margin: 0 auto 80px auto;
  width: 97%;
  border-bottom: #808080 solid 1px;
  opacity: 0.4;
  filter: alpha(opacity=40);
  /* For IE8 and earlier */
}

a[href^=tel] {
  color: black;
  text-decoration: none;
  outline: none;
}

a.email {
  color: #004700;
}

.scrollable {
  overflow: auto;
}

.thumb-bridal {
  height: 150px;
  width: 150px;
  background-color: white;
  text-align: center;
  margin: auto;
  margin: 20px;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  border: 5px solid #FFF;
  box-shadow: 0px 4px 6px 0px #DDD;
}

#rsvp {
  background: none repeat scroll 0 0 #E6E6E6;
  font-family: 'Lato', sans-serif;
  font-size: 10px;
  text-align: left;
  position: fixed;
  top: -810px;
  width: 100%;
  z-index: 5;
  height: 810px;
  padding: 10px 0px;
  margin: auto;
}

#rsvp .inside {
  height: 130px;
  /*overflow: hidden;*/
  position: relative;
  text-align: left;
  /*max-width: 600px;*/
  margin: auto;
  width: 600px;
}

#rsvp h2 {
  font-size: 2em;
}

#rsvp label {
  display: inline;
  float: left;
  margin: 0 0 2px;
  padding: 6px 12px;
}

@media only screen and (min-height: 900px) and (min-width: 1440px) {
  #rsvp {
    font-size: 12px;
    padding: 20px 0px;
  }

  #rsvp h2 {
    font-size: 3em;
  }

  #rsvp label {
    margin: 0 0 2px;
  }
}

#rsvp p {
  clear: both;
  color: #D53535;
  line-height: 1;
}

#rsvp table {}

table {
  width: 100%;
}

#rsvp .another-wrap {
  overflow: hidden;
}

#rsvp .input-wrap {
  display: inline;
  float: left;
  width: 195px;
}


#rsvp .close-btn {}

#rsvp .rsvp-received {
  font-size: 30px;
  left: 160px;
  position: absolute;
  top: 39px;
}

#rsvp .error {
  color: #D53535;
  font-style: italic;
  text-transform: none;
}

.hasCountdown {
  font-weight: bold;
  border: none;
  background-color: transparent
}

.countdown_rtl {
  direction: rtl
}

.countdown_holding span {
  color: #888
}

.countdown_row {
  clear: both;
  width: 100%;
  padding: 0px;
  text-align: center
}

.countdown_show1 .countdown_section {
  width: 98%
}

.countdown_show2 .countdown_section {
  width: 48%
}

.countdown_show3 .countdown_section {
  width: 32.5%
}

.countdown_show4 .countdown_section {
  width: 24.5%
}

.countdown_show5 .countdown_section {
  width: 19.5%
}

.countdown_show6 .countdown_section {
  width: 16.25%
}

.countdown_show7 .countdown_section {
  width: 14%
}

.countdown_section {
  display: block;
  float: left;
  font-size: 75%;
  text-align: center
}

.countdown_amount {
  font-size: 150%
}

.countdown_descr {
  display: block;
  width: 100%
}

.countdown_row {
  position: relative;
  display: inline-block;
  margin-top: 20px
}

@font-face {
  font-family: 'ar_bonnieregular';
  src: url('../fonts/arbonnie-webfont.eot');
  src: url('../fonts/arbonnie-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/arbonnie-webfont.woff') format('woff'), url('../fonts/arbonnie-webfont.ttf') format('truetype'), url('../fonts/arbonnie-webfont.svg#ar_bonnieregular') format('svg');
  font-weight: normal;
  font-style: normal
}

#count {
  position: relative;
  width: 100%;
  margin: 0 auto;
  text-transform: uppercase;
  font-weight: normal;
  font-size: 30px;
  font-size: 2.5em;
  line-height: 1.5;
  color: black;
}

#container .rowabt {
  margin: auto;
  border-left: 0;
  border-top: none;
  padding: 0;
  display: inline-block
}

#container .row {

  border-left: 0;
  border-top: none;
  padding: 0;
  display: inline-block
}

#container br {
  clear: both;
}

#container .block {
  border-bottom: 0;
  border-right: 0;
  margin: auto;
  display: inline-block
}

div#instafeed {
  width: 100%;
  text-align: center;
  margin: 0 auto;
  margin-top: 123px;
}

.tile {
  display: inline-block;
  padding: 0 10px 10px 10px;
  margin-bottom: 25px;
  vertical-align: top;
}

p.likes {
  position: relative;
  margin-bottom: 10px;
  font-family: 'ar_bonnieregular', "adobe-garamond-pro", sans-serif;
  font-style: normal;
  text-transform: uppercase;
  font-weight: normal;
  font-size: 24px;
}

p.caption {
  position: relative;
  width: 290px;
  margin-bottom: 5px;
}

.unit.whole.pics {
  text-align: center;
}

.aboutimg {
  width: 90%;
}

ul.languages {
  font-size: 15px;
}

.prettyborder {
  height: 700px;
  padding: 20px;
  padding-bottom 30px;
  border-radius: 3px;
  border: 1px solid #D1D3D4;
}

.form-control {
  min-height: 20px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
  -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  border-radius: 3px 0 0 3px;
}

.groupx {
  margin-bottom: -12px;
}

.formlabel {
  min-height: 20px;
  padding: 0px 12px;
  font-family: 'Lato', sans-serif;
  font-weight: normal;
  font-size: 1.5em;
  min-width: 200px;
  max-width: 200px;
}

.radiolabel {
  border-radius: 3px;
  border: 1px solid #D1D3D4;
  width: 90%;
  min-width: 524px;
}

.groupy {
  margin-bottom: -15px;
}

@media only screen and (min-height: 800px) and (min-width: 1440px) {
  .formlabel {
    min-height: 30px;
    padding: 6px 12px;
    line-height: 1.42857143;
  }

  .form-control {
    min-height: 30px;
  }

  .groupx {
    margin-bottom: -12px;
  }

  .groupy {
    margin-bottom: 5px;
  }
}

input.radio {
  display: none;
}

/* hide input */
input.radio:empty {
  /*margin-left: -999px;*/
}

/* style label */
input.radio:empty~label {
  position: relative;
  float: left;
  /*line-height: 2.5em;*/
  text-indent: 4em;
  margin-top: 2em;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-size: 1.5em;
}

input.radio:empty~label:before {
  position: absolute;
  display: block;
  top: 0;
  bottom: 0;
  left: 0;
  content: '';
  width: 2.5em;
  background: #D1D3D4;
  border-radius: 3px 0 0 3px;
  font-size: 1.5em;
}

/* toggle hover */
input.radio:hover:not(:checked)~label:before {
  content: '\2714';
  text-indent: .9em;
  font-size: 1.5em;
  color: #C2C2C2;
}

input.radio:hover:not(:checked)~label {
  color: #888;
  font-size: 1.5em;
}

/* toggle on */
input.radio:checked~label:before {
  content: '\2714';
  text-indent: .9em;
  color: #9CE2AE;
  background-color: #4DCB6D;
  font-size: 1.5em;
}

#rsvp .forminput {
  width: 300px;
}

.required_notification {
  color: #d45252;
  margin: 5px 0 0 0;
  display: inline;
  float: right;
}

.rsvp-form {
  background: none repeat scroll 0 0 #FFFFFF;
}

.rsvp-form input:required,
.rsvp-form textarea:required {
  background: #fff url("../img/red_asterisk.png") no-repeat 98% center;
}

.rsvp-form input:required:valid,
.rsvp-form textarea:required:valid {
  background: #fff url(../img/valid.png) no-repeat 98% center;
  box-shadow: 0 0 5px #5cd053;
  border-color: #28921f;
}

.rsvp-form input:focus:invalid,
.rsvp-form textarea:focus:invalid {
  background: #fff url(../img/invalid.png) no-repeat 98% center;
  box-shadow: 0 0 5px #d45252;
  border-color: #b03535
}

.greenshadow {
  box-shadow: 0px 0px 5px #009900;
}

#thankyou {
  background: none repeat scroll 0 0 #FFFFFF;
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  text-align: left;
  position: fixed;
  top: -805px;
  width: 100%;
  z-index: 20;
  height: 805px;
  margin: auto;
}

.inside {
  height: 130px;
  position: relative;
  text-align: left;
  margin: auto;
  width: 600px;
}

.pre-section h2 {
  color: #666;
  line-height: 1.5em;
  margin: 0 0 20px;
  font-size: 24px;
  color: #666;
  font-weight: bold;
  line-height: normal;
  margin-bottom: .5em;
}

.instabox {
  width: 200px;
  height: 200px;
}

.instapic {
  width: 200px;
  height: 200px;
  border-radius: 8px;
}

.date {
  font-size: 2em;
  margin-top: 15px;
  margin-bottom: 20px;
}

.responddate {
  font-size: 1.1em;
}

.form-control {
  min-height: 30px;
}

/* ========================
   10th Anniversary Updates
   ======================== */

/* Vertical Timeline */
.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline-container::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: #ddd;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
  box-sizing: border-box;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: white;
  border: 4px solid #004700;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-item:nth-child(even)::after {
  left: -10px;
}

.timeline-content {
  padding: 20px 30px;
  background-color: white;
  position: relative;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.timeline-content h2 {
  margin-top: 0;
  font-size: 1.5em;
  color: #004700;
}

/* Photo Grid */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.photo-item {
  background-color: #f0f0f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.photo-item:hover {
  transform: scale(1.02);
}

/* Responsive Timeline */
@media screen and (max-width: 600px) {
  .timeline-container::after {
    left: 31px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline-item::after {
    left: 21px;
  }

  .timeline-item:nth-child(even) {
    left: 0%;
  }
}