/*
maroon: #7c2529
coral: #ff7276
beige: #d9d1ca
dark gray: #404040;
*/

body {
  font-family: "jaf-facitweb";
  font-weight: lighter;
}

a {
  color: white;
}
a:visited {
  color: white;
}
a:hover {
  color: white;
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

.sans-serif {
  font-family: "jaf-facitweb";
}

.scripty {
  font-family: "memoriam-headline-pro";
  font-variant-ligatures: none;
  -webkit-font-variant-ligatures: no-common-ligatures;
}

.text-maroon {
  color: #7c2529 !important;
}
.bg-maroon {
  background-color: #7c2529;
}
.text-coral {
  color: #ff7276 !important;
}
.bg-coral {
  background-color: #ff7276;
}
.bg-beige {
  background-color: #d9d1ca;
}
.nounderline {
  text-decoration: none;
}

.bodylink {
  text-decoration: none;
}
.bodylink:hover {
  text-decoration: underline;
}

.fullwidth-content {
  box-sizing: border-box;
  max-width: 960px;
}


.nav {
  position: fixed;
  right: 60px;
  width: 400px;
  z-index: 100;
}
.nav-bull {
  font-size: 3rem;
  margin-right: 0.8rem;
}
.nav-row {
  color: white;
  font-family: "jaf-facitweb";
  font-size: 2rem;
  height: 44px;
  text-align: right;
  direction: rtl;
  list-style: circle;
}
.nav-row.selected {
  color: #ff7276;
  list-style-type: disc;
}
.nav-link {
  color: white;
  font-family: "jaf-facitweb";
  font-size: 2.2rem;
  text-decoration: none;
}
@media (max-width: 1200px) { /* right col getting narrow  */
  .nav-link {
    font-size: 1.7rem;
  }
}

.selected .nav-link {
  color: #ff7276;
}

.m-nav {
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  height: 60px;
  z-index: 102;

  background-color: #7c2529;

  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 5px 3px 14px #000000;
}

.mnav-link {
  text-decoration: none;
}
.selected .mnav-link {
  color: #ff7276;
}

.section {
  background-color: #404040;
  color: white;
}

.section.main {
  background-image: url('/static/i/hero-main.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}
.section.venue {
  background-color: #d9d1ca;
  position: relative;

  display: flex;
  align-items: center;
}
.section.rsvp {
  background-color: #3D3D46;
  background-image: url('/static/i/scales-bg.png');
}


.smain-blocktext {
  right: 0;
  float: left;
  clear: left;
  font-size: 3.5rem;
  padding: 8px 1rem;
}

.smain-blocktextnames {
  padding-left: 5rem;
}

.svenue-box {
  float: left;
  height: 100%;
  width: 33.3%;
  text-align: center;

  display: flex;
  align-items: center;
}

.svenue-img {
  background-image: url('/static/i/hero-venue.jpg');
  background-size: cover;
  background-position: center;

  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 33.3%;
}

.srsvp {
  padding: 70px 80px 0;
}

.srsvp-header {
  clear: both;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: -8px;
  letter-spacing: 0.02rem;
}
.srvp-deadline {
  color: #9B9B9B;
  margin-top: 10px;
}

.srsvp-formsection {
  float: left;
  width: 250px;
}

.srsvp-section {
  margin: 36px 0 0 0;
}

.srsvp-subsection {
  margin-top: 18px;
}

.srsvp-button {
  background-color: #555555;
  border: 1px solid #222;
  outline: none;
}
.srsvp-button.selected {
  background-color: #7c2529;
}

.srsvp-button.left {
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
}
.srsvp-button.middle {
  border-left: none;
}
.srsvp-button.right {
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
  border-left: none;
}

.srsvp-optional, .srsvp-blurb {
  color: #9B9B9B;
  font-style: italic;
}

.srsvp-guest-add-name {
  float: left;
  margin-right: 30px;
}

.lock-blurb {
  color: #9B9B9B;
}

.rsvp-button-group {
  position: relative; /* for cover */
  margin-bottom: 10px;
}

.rsvp-save {
  padding: 5px 12px;
}
.rsvp-save.active {
  background-color: #7c2529 !important;
}


.section.accommodations {
  background-color: white;
  position: relative;
}

.saccom-content {
  color: #191919;
  width: 50%;
  padding: 50px 40px 0;
  box-sizing: border-box;
  line-height: 1.5;
}

.accom-head {
  margin-bottom: 0;
  margin-top: 2.4rem;
  text-transform: uppercase;
  letter-spacing: .05rem;
  font-size: 1.2rem;
}

.accom-bgimg {
  background-image: url('/static/i/market_st2.jpg');
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 50%;
  float: right;
}


.section.sights {
  position: relative;

}
.sights-content {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 33%;
  padding: 40px 40px 0;
  background-color: #7c2529;
  box-sizing: border-box;
}
.sights-img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 33%;
  box-sizing: border-box;
  background-size: cover;
  background-position: center;
}

.sights-footer {
  color: #9B9B9B;
  position: absolute;
  bottom: 20px;
  margin-right: 40px;
  font-style: italic;
}

@media (max-width: 700px) { /* Small mode */
  .sights-content {
    position: relative;
    top: 200px;
    left: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    padding-bottom: 50px;
  }
  .sights-img {
    left: 0;
    height: 200px;
    bottom: auto;
  }
  .sights-footer {
    position: relative;
    visibility: hidden;
  }
  .sights-section {
    overflow: visible;
    height: auto !important;
  }
}
.sights-img.eat {
  background-image: url('/static/i/eat.jpg');
}
.sights-img.drink {
  background-image: url('/static/i/drink.jpg');
}
.sights-img.see {
  background-image: url('/static/i/see.jpg');
}
.sights-ghead {
  margin-bottom: 0;
  margin-top: 2rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 1.2em;
}
.first .sights-ghead {
  margin-top: 0;
}
a.sights-headlink {
  color: #ff7276;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: .05rem;
  font-size: 1.2rem;
}
a.sights-headlink:hover {
  color: white;
}

.sights-section {
  overflow: hidden;
}
.open.sights-section {
  overflow: visible;
}

.sights-item {
  position: relative;
  padding: 2px 0;
}
.sights-blurb {
  color: #404040;
  border: 1px solid #404040;
  border-radius: 3px;
  padding: 7px 10px;
  position: absolute;
  /*top: -10px;*/
  left: 160px;
  z-index: 2;
  background-color: #ececec;
  opacity: 0;
  transition: opacity 0.3s;
  max-width: 260px;
  font-size: 14px;
}
.show .sights-blurb {
  opacity: 1;
}
.sights-itemlink {
  text-decoration: none;
}
.sights-itemlink:hover {
  text-decoration: underline;
}

.text-input {
  background-color: #555555;
  border: 2px solid #555555;
  border-radius: 4px;
  margin-top: 8px;
  width: 200px;
}


.submit-input {
  background-color: #555555;
  border: 1px solid #262626;
  border-radius: 4px;
}


.section.photos {
}

.section.gifts {
  position: relative;
  display: flex;
  align-items: center;
}
.gifts-img {
  background-image: url('/static/i/hero-colombia.jpg');
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.gifts-content {
  margin-left: 16%;
  padding: 40px;
  text-align: center;

  max-width: 40%;
  width: 550px;
  z-index: 1;
}
.gifts-head {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
@media (max-width: 700px) {
  .section.gifts {
    display: block;
  }
  .gifts-img {
    bottom: auto;
    height: 200px;
  }
  .gifts-content {
    position: absolute;
    margin: 0;
    top: 200px;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
    max-width: none;
  }
}


.popup {
  position: fixed;
  z-index: 200;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.4);

  display: flex;
  align-items: center;
}

.popup-content {
  margin: 0 auto;
  padding: 30px;
  width: 500px;

  background-color: #404040;
  text-align: center;
  color: white;
  box-shadow: 5px 3px 14px #000000;
}

.gallery-control {
  position: absolute;
  width: 20%;
  z-index: 10;
  background-repeat: no-repeat;
  transition: opacity .25s ease-in-out;
}

.gallery-prev {
  background-image: url('/static/i/prev-arrow.png');
  left: 0;
  bottom: 0;
  top: 0;
  background-repeat: no-repeat;
  background-position: left 30px center;
  z-index: 101; /* higher than nav */
}

.gallery-next {
  background-image: url('/static/i/next-arrow.png');
  right: 30%;
  bottom: 0;
  top: 0;
  background-repeat: no-repeat;
  background-position: right 30px center;
  z-index: 101;
}

.gallery-caption {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.7);
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%,rgba(0,0,0,.7) 25%,rgba(0,0,0,0) 99%,rgba(0,0,0,0) 100%);
  bottom: 0;
  left: 0;
  right: 30%;
  line-height: 1.4;
  z-index: 5;
  color: white;
  padding: 10px 20px;
}
@media (max-width: 700px) { /* Small mode */
  .gallery-next {
    right: 0;
  }
  .gallery-caption {
    visibility: hidden;
  }
}

@media (min-width: 700px) { /* Desktop mode */
  .m-nav {
    display: none;
  }

  .saccom-frozen-map {
    display: none;
  }
}

@media (max-width: 700px) { /* Small mode */
  .section {
    padding-bottom: 80px;
  }
  .nav {
    display: none;
  }
  .smain-blocktext {
    font-size: 1.8rem;
  }
  .smain-blocktextnames {
    padding-left: 24px;
  }
  .svenue-box {
    width: 100%;
    margin-top: 200px; /* keep in sync with accom-bgimg */
    height: 300px; /*TODO*/
  }
  .svenue-img {
    top: 0;
    right: 0;
    left: 0;
    height: 33.3%;
  }
  .venue-name {
    font-size: 1.8rem !important;
  }

  .saccom-content {
    width: 100%;
    padding-top: 226px; /* avoid overlap with picture */
  }
  .accom-bgimg {
    top: 0;
    left: 0;
    right: 0;
    height: 200px;  /* keep in sync with svenue-box */
    width: 100%;
  }

  .fullwidth-content {
    padding: 20px;
  }

  .saccom-map {
    display: none;
  }
  .saccom-frozen-map {
    display: block;
  }
}
