@import url('https://fonts.googleapis.com/css?family=News+Cycle:400,700');
@import url('https://fonts.googleapis.com/css?family=Tangerine');

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 14px;
  line-height: 20px;
  color: #777;
  background: #fff;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 10px;
  font-family: 'News Cycle', 'Arial Narrow Bold', sans-serif;
  font-weight: bold;
  line-height: 1.2;
  color: #000;
}

h1 { font-size: 38.5px; }
h2 { font-size: 31.5px; }
h3 { font-size: 24.5px; }
h4 { font-size: 17.5px; }
h5 { font-size: 14px; }
h6 { font-size: 11.9px; }

a {
  color: #777;
}

p {
  margin: 0 0 10px;
}

.navbar {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
}

.navbar-inner {
  max-width: 988px;
  margin: 0 auto;
  padding: 20px 24px;
}

.navbar a.brand {
  color: #000;
  text-decoration: none;
  font-size: 20px;
  font-family: 'News Cycle', 'Arial Narrow Bold', sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.container {
  max-width: 988px;
  margin: 0 auto;
  padding: 24px;
}

.layout {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.nav-pills {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 0 0 140px;
}

.nav-pills li {
  margin-bottom: 3px;
}

.nav-pills a {
  display: block;
  padding: 8px 12px;
  line-height: 14px;
  border-radius: 5px;
  text-decoration: none;
  color: #777;
}

.nav-pills li.active a {
  background: #777;
  color: #fff;
}

.content {
  flex: 1;
  min-width: 0;
}

.alert {
  padding: 8px 14px;
  margin-bottom: 20px;
  background-color: #fcf8e3;
  border: 1px solid #fbeed5;
  border-radius: 4px;
  color: #c09853;
}

.alert-error {
  background-color: #f2dede;
  border-color: #eed3d7;
  color: #b94a48;
}

.alert-info {
  background-color: #d9edf7;
  border-color: #bce8f1;
  color: #3a87ad;
}

/* Home page */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

.carousel img {
  width: 100%;
  display: block;
}

.carousel-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 15px;
  font-size: 13px;
}

.carousel-caption a {
  color: #fff;
  text-decoration: underline;
}

.usercode-form {
  margin-top: 32px;
  display: flex;
}

.usercode-form input {
  flex: 0 0 auto;
  width: 300px;
  padding: 8px 12px;
  font-size: 16px;
  font-family: inherit;
  color: #777;
  border: 1px solid #ccc;
  border-right: none;
  border-radius: 4px 0 0 4px;
}

.usercode-form button {
  padding: 8px 20px;
  font-size: 16px;
  font-family: inherit;
  color: #333;
  background: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}

/* Invitation card */
.card {
  position: relative;
  width: 780px;
}

.card img.card-background {
  width: 100%;
  display: block;
  padding: 4px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  opacity: 0.6;
}

.card-content {
  position: absolute;
  inset: 0;
  font-family: 'Tangerine', cursive;
  font-size: 36px;
  color: #555;
}

.card-content p {
  margin: 0;
}

.card-content .guests {
  position: absolute;
  right: 20px;
  top: 115px;
  width: 380px;
  text-align: center;
  font-size: 48px;
  line-height: 50px;
}

.card-content .invited {
  position: absolute;
  right: 60px;
  bottom: 250px;
}

.card-content .hosts {
  position: absolute;
  right: 30px;
  bottom: 150px;
  font-size: 64px;
}

/* Infos pratiques */
.event {
  display: flex;
  gap: 24px;
  margin-bottom: 20px;
  height: 200px;
}

.event-details {
  flex: 0 0 300px;
  width: 300px;
}

.event h4 {
  margin-bottom: 6px;
}

.event address {
  font-style: normal;
  margin: 10px 0;
}

.event-map-link {
  flex: 0 0 auto;
  align-self: stretch;
}

.event-map-link a {
  display: block;
  height: 100%;
}

.event-map-link img {
  display: block;
  height: 100%;
  width: auto;
  max-width: none;
  border-radius: 4px;
}

/* Thanks card */
.thanks-frame {
  display: inline-block;
  padding: 4px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.thanks-card {
  position: relative;
  width: 780px;
  height: 600px;
  background-color: #9e9e9e;
  overflow: hidden;
}

.thanks-card img {
  margin: 0;
  display: block;
}

.thanks-card .main {
  width: 400px;
  border-right: 2px solid #fff;
}

.thanks-card .secondary {
  height: 260px;
  position: absolute;
  top: 290px;
  left: 355px;
  border: 2px solid #fff;
}

.thanks-card p {
  position: absolute;
  left: 420px;
  font-family: 'Tangerine', cursive;
  font-size: 55px;
  color: #fff;
  margin: 0;
}

.thanks-card p.thanks {
  top: 30px;
}

.thanks-card p.unforgettable {
  top: 100px;
  left: 560px;
}

.thanks-card p.us {
  top: 200px;
  font-size: 70px;
}

.thanks-card p.date {
  top: 565px;
  left: 680px;
  font-size: 30px;
}

/* Photos */
.album details {
  margin-bottom: 2px;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
}

.album summary {
  display: flex;
  align-items: center;
  padding: 8px 15px;
  cursor: pointer;
  font-weight: bold;
  color: #000;
  list-style: none;
}

.album summary::-webkit-details-marker {
  display: none;
}

.album summary a {
  margin-right: 8px;
  font-size: 14px;
}

.icon-download {
  display: inline-block;
  vertical-align: -2px;
  color: #777;
}

.album summary::after {
  content: 'plier/déplier';
  margin-left: auto;
  font-size: 12px;
  font-weight: normal;
  color: #777;
}

.album .thumbnails {
  padding: 9px 15px;
  border-top: 1px solid #e5e5e5;
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
}

.album .thumbnails img {
  height: 110px;
}
