@import url("https://fonts.googleapis.com/css?family=Cormorant%2C+serif&subset=all");  /* Color-independent rules for this selector live in static/rsvp/styles/common.css */

	body, .page
	{
	background-color: rgb(201, 160, 95);background-image: url('https://static.anrsvp.com/images/background-images/gradient/background-brown.png');color: rgb(34, 34, 34);background-repeat: repeat-x;		font-size: 20px;
		font-family: Cormorant, serif;
		color: #624d04;
	}

    #homeFace:before, #insideFace:before {
      background-color: rgb(254, 252, 246);background-image: linear-gradient(135deg, rgba(255,255,255,0.4) 0%,rgba(240,240,240,0.4) 21%,rgba(234,234,234,0.4) 49%,rgba(240,240,240,0.4) 80%,rgba(255,255,255,0.4) 100%), url('https://static.anrsvp.com/images/background-images/gradient/background-white.png');color: rgb(80, 16, 0);background-repeat: repeat-x;content: '';top: 0;left: 0;position: absolute;width: 100%;height: 100%;z-index: -1;filter: blur(3px);clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);    }

	
	#thankWrapper h1,
	#thankWrapper h2,
	#thankWrapper h3,
	#thankWrapper h4,
	#thankWrapper h5,
	#thankWrapper p,
	#thankWrapper a,
	#thankWrapper .headerLight
	{
		text-shadow: none;
	}

	
    @supports (-ms-ime-align:auto) {
	    #homeFace.noblur:before, #insideFace.noblur:before {
	      filter: none;
	    }
    }

	input.submit, .button, h2, button, form button.btn, input[type=radio]
	{
		font-size: 20px;
		font-family: Cormorant, serif;
	}

	input.text, select, input.party-text, textarea
	{
		font-size: 18px;
	}

	form input[type=text], form .input textarea, textarea
	{
		padding: 8.75px;
	}

	input.text, input.party-text, select
	{
		border: 1px solid #624d04;
	}

	/* The modern card's typed fields speak the card's own typeface: left on the page default
	   they render in the body font inside a gray box, which reads as a foreign control sitting
	   on a serif card. The 0.9x size above still applies to them. The form-prefixed selectors
	   match the field rules in the card stylesheet, which are one element more specific than a
	   bare field name and would otherwise keep their hard-coded gray border. A chosen answer is
	   the one mark on the card the guest makes with the browser's own control, and left alone it
	   arrives in the operating system's selection blue on a card built entirely from the
	   occasion's color. */
	.card-modern input.text,
	.card-modern input.party-text,
	.card-modern select,
	.card-modern textarea
	{
		font-family: Cormorant, serif;
	}

	.card-modern input.text,
	.card-modern input.party-text,
	.card-modern select,
	.card-modern textarea,
	.card-modern form input[type=text],
	.card-modern form textarea,
	.card-modern form .input textarea
	{
		border: 1px solid #624d04;
	}

	.card-modern input[type=radio]
	{
		accent-color: #624d04;
	}

	#homeFace h1,
	#homeFace h2,
	#homeFace h3,
	#homeFace h4,
	#homeFace h5,
	#insideFace h1,
	#insideFace h2,
	#insideFace h3,
	#insideFace h4,
	#insideFace h5,
	#thankWrapper h1,
	#thankWrapper h2,
	#thankWrapper h3,
	#thankWrapper h4,
	#thankWrapper h5,
	#homeFace p,
	#insideFace p,
	#thankWrapper p,
	#homeFace label,
	#insideFace label,
	#homeFace .input span,
	#insideFace .input span,
	#homeFace a,
	#insideFace a,
	#thankWrapper a,
	#thankWrapper .headerLight
	{
		color: #624d04 !important;
	}

	#homeFace a,
	#insideFace a,
	#thankWrapper a
	{
		border-bottom-color: #624d04 !important;
	}

	#homeFace h1,
	#insideFace h1
	{
		-webkit-text-fill-color: #624d04 !important;
	}

	/* Scoped to the classic card: the !important below would otherwise beat the
	   modern card's hairline `border-bottom: 1px solid rgba(fontColor, 0.4)` and
	   render a solid underline (see docs/modern-card.md). */
	.container:not(.card-modern) #homeFace input.text,
	.container:not(.card-modern) #homeFace input.party-text,
	.container:not(.card-modern) #homeFace select,
	.container:not(.card-modern) #homeFace form input[type=text],
	.container:not(.card-modern) #insideFace input.text,
	.container:not(.card-modern) #insideFace input.party-text,
	.container:not(.card-modern) #insideFace select,
	.container:not(.card-modern) #insideFace form input[type=text]
	{
		border-color: #624d04 !important;
	}

	/* Already-responded notice (issue #36): a translucent fill and hairline
	   derived from this occasion's own font color — the same tokens as the
	   input focus background (0.12) and the input border (0.4) — so the notice
	   matches every theme instead of carrying one fixed color into all of
	   them. Structure (width, padding, radius, centering) lives in common.css. */
	.already-responded-notice
	{
		background-color: rgba(98, 77, 4, 0.12);
		border: 1px solid rgba(98, 77, 4, 0.4);
	}

	h3
	{
		font-size: 27px;
		margin-top: 0.25em;
	}

	/* Color-independent rules for this selector live in static/rsvp/styles/common.css */

	



.card-modern
{
  --answer-ring-rest: rgba(98, 77, 4, 0.69);
  --answer-ring-hover: rgba(98, 77, 4, 0.82);
  --answer-ring-hover-scale: 1;
  --answer-boundary: rgba(98, 77, 4, 0.62);
  --answer-focus: rgba(98, 77, 4, 0.69);
}
.card-modern #homeFace,
.card-modern #insideFace
{
  box-shadow: 0 2px 5px rgba(72, 48, 8, 0.10), 0 14px 32px rgba(72, 48, 8, 0.16);
}


.card-modern #insideFace
{
  left: 20px;
}


body:not(.start) .card-modern #insideFace:not(:has(table.button-table))
{
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.card-modern #insideFace:not(:has(table.button-table)) #content2
{
  margin-bottom: 0;
}


.card-modern #insideFace table.invited-guests.menu-choices
{
  margin-top: 44px;
}

@media only screen and (max-width: 770px)
{
  .card-modern #insideFace .page-answers > div > hr:first-child
  {
    margin-top: 44px;
  }

  .card-modern #insideFace table.invited-guests
  {
    margin-bottom: 0;
  }

  .card-modern #insideFace .page-answers > div > p
  {
    margin: 0;
  }

  .card-modern #insideFace #content2
  {
    margin-bottom: 0;
    padding-bottom: 30px;
  }

  .card-modern #insideFace table.button-table
  {
    position: static;
    margin: 20px auto 0;
    width: 100%;
  }

  .card-modern .face
  {
    min-height: 0;
  }
}


.card-modern #insideFace table.invited-guests.menu-choices tr.menu-choice-row + tr.menu-choice-row:not(:has(select))
{
  border-top: var(--answer-stroke, 1px) solid var(--answer-boundary, color-mix(in srgb, currentColor 40%, transparent));
}

.card-modern #homeFace:before,
.card-modern #insideFace:before
{
  clip-path: none;
  border-radius: 8px;
  border: var(--answer-stroke, 1px) solid rgba(98, 77, 4, 0.25);
}

.card-modern #homeFace #rsvp
{
  font-size: 48px;
  font-weight: 500;
  letter-spacing: 3px;
  line-height: 1.0;
  text-shadow: none;
  border-bottom: none;
  position: relative;
  left: 0;
  margin-bottom: 30px;
}


.card-modern #homeFace #rsvp:after
{
  content: '';
  position: absolute;
  left: 50%;
  bottom: -0.33em;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 1em;
  height: 1px;
  background: #624d04;
  opacity: 0.55;
}


.card-modern #homeFace #eventName
{
  font-family: inherit;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: 0;
  font-style: italic;
  text-transform: none;
  text-shadow: none;
  border-bottom: none;
  text-wrap: balance;
  margin-bottom: 30px;
}


.card-modern #insideFace h3,
.card-modern #homeFace h2
{
  text-wrap: balance;
}

.card-modern #homeFace h2,
.card-modern #insideFace h2
{
  font-size: 17px;
  letter-spacing: 3px;
  font-weight: 500;
  text-transform: uppercase;
  text-align: center;
  
  width: auto;
  border-bottom: none;
  padding: 0;
  margin: 0 auto 22px auto;
}

.card-modern #homeFace h2:before,
.card-modern #homeFace h2:after,
.card-modern #insideFace h2:before,
.card-modern #insideFace h2:after
{
  content: none;
}

.card-modern #homeFace p.line
{
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
}


.card-modern #insideFace #content2 p
{
  text-align: center;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  padding-right: 5px;
}


.card-modern #insideFace #content2 p.already-responded-notice
{
  padding-right: 18px;
}


.card-modern #insideFace table.invited-guests:not(.menu-choices)
{
  table-layout: fixed;
}


.card-modern #insideFace table.menu-choices
{
  table-layout: fixed;
}

.card-modern #insideFace table.menu-choices th
{
  text-align: center;
}


.card-modern #insideFace table.invited-guests th
{
  font-size: 19px;
}

@media only screen and (min-width: 771px)
{
  .card-modern #insideFace table.menu-choices td:first-child
  {
    text-align: center;
    padding-left: 0;
  }

  .card-modern #insideFace table.menu-choices col:first-child
  {
    width: 33%;
  }

  .card-modern #insideFace table.menu-choices:not(.menu-choices-party) col:first-child
  {
    width: 42%;
  }
}


.card-modern #insideFace table.menu-choices.menu-choice-hidden,
.card-modern #insideFace table.menu-choices .menu-choice-hidden
{
  display: none !important;
}


.card-modern #insideFace table.invited-guests:not(.menu-choices) th:first-child:nth-last-child(2),
.card-modern #insideFace table.invited-guests:not(.menu-choices) td:first-child:nth-last-child(2)
{
  width: 42%;
  text-align: center;
  padding-left: 0;
}

.card-modern #insideFace table.invited-guests:not(.menu-choices) th:nth-child(2):nth-last-child(1),
.card-modern #insideFace table.invited-guests:not(.menu-choices) td:nth-child(2):nth-last-child(1)
{
  width: 58%;
  text-align: center;
  padding-right: 0;
}

.card-modern #insideFace table.invited-guests:not(.menu-choices) th:first-child,
.card-modern #insideFace table.invited-guests:not(.menu-choices) td:first-child
{
  width: 33%;
  text-align: center;
  padding-left: 0;
}

.card-modern #insideFace table.invited-guests:not(.menu-choices) th:nth-child(2),
.card-modern #insideFace table.invited-guests:not(.menu-choices) td:nth-child(2)
{
  width: 50%;
  text-align: center;
  padding-right: 0;
}

.card-modern #insideFace table.invited-guests:not(.menu-choices) th:last-child,
.card-modern #insideFace table.invited-guests:not(.menu-choices) td:last-child
{
  width: 17%;
  text-align: center;
  padding-right: 0;
}


.card-modern #insideFace table.invited-guests:not(.menu-choices) th:not(:first-child)
{
  white-space: nowrap;
}


@media only screen and (min-width: 771px)
{
  .card-modern #insideFace table.invited-guests.menu-choices td:not(:first-child)
  {
    text-align: right;
    padding-right: 0;
  }
}


.card-modern #insideFace table.invited-guests td label:last-of-type
{
  margin-right: 0;
}

.card-modern #homeFace label
{
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 9px;
}


.card-modern .imageCol:not(:has(> *))
{
  display: none;
}

.card-modern .face:not(:has(.imageCol > *)) #content
{
  float: none;
  margin-left: auto;
  margin-right: auto;
}


.card-modern #homeFace:has(.imageCol > *) .imageCol
{
  text-align: center;
}


.card-modern #homeFace:has(.imageCol > *) .imageCol img
{
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 260px;
}

.card-modern #homeFace:has(.imageCol > *) #content
{
  text-align: center;
}


.card-modern .imageCol img
{
  border: none;
  border-radius: 2px;
  box-shadow: inset 0 0 0 var(--answer-stroke, 1px) rgba(98, 77, 4, 0.25), 0 2px 16px rgba(98, 77, 4, 0.18);
}

.card-modern #homeFace form input[type=text],
.card-modern #insideFace input.party-text,
.card-modern #insideFace select
{
  background-color: rgba(98, 77, 4, 0.04);
  border: none;
  border-bottom: var(--answer-stroke, 1px) solid rgba(98, 77, 4, 0.4);
  border-radius: 0;
  box-shadow: none;
  width: 100%;
  padding: 12px 5px;
  min-height: 44px;
  box-sizing: border-box;
  font-family: Cormorant, serif;
  font-size: 18px;
  color: #624d04;
  -webkit-transition: border-color 0.25s ease, background-color 0.2s ease;
  -moz-transition: border-color 0.25s ease, background-color 0.2s ease;
  -o-transition: border-color 0.25s ease, background-color 0.2s ease;
  transition: border-color 0.25s ease, background-color 0.2s ease;
}

.card-modern #insideFace input.party-text,
.card-modern #insideFace select
{
  max-width: 450px;
}


.card-modern #insideFace table.invited-guests.menu-choices div.menu-choice-lines
{
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px 0;
  width: fit-content;
  max-width: 100%;
  text-align: left;
}

.card-modern #insideFace table.invited-guests.menu-choices div.menu-choice-lines label
{
  display: flex;
  align-items: flex-start;
  
  margin: 0;
  
  line-height: 1.5em;
  font-family: Cormorant, serif;
  font-size: 18px;
  color: #624d04;
}


.card-modern #insideFace table.invited-guests.menu-choices div.menu-choice-lines label span
{
  flex: 1 1 auto;
  overflow-wrap: break-word;
  overflow-wrap: anywhere;
  
  text-wrap: balance;
}


.card-modern #insideFace table.invited-guests td label
{
  font-size: 18px;
}


.card-modern #insideFace table.invited-guests.menu-choices div.menu-choice-lines input[type=radio]
{
  align-self: flex-start;
  top: 0.29em;
}


.card-modern #insideFace table.invited-guests.menu-choices.menu-choices-list tr.menu-choice-row td:first-child
{
  vertical-align: middle;
}


.card-modern #insideFace select
{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url(data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20width=%2212%22%20height=%228%22%3E%3Cpath%20d=%22M1%201l5%205%205-5%22%20fill=%22none%22%20stroke=%22%23624d04%22%20stroke-width=%221.5%22/%3E%3C/svg%3E);
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 28px;
}


.card-modern #insideFace table.invited-guests:not(.menu-choices) select
{
  padding-left: 28px;
}


.card-modern #homeFace form input[type=text],
.card-modern #insideFace table.invited-guests:not(.menu-choices) select,
.card-modern #insideFace input.party-text
{
  text-align: center;
}


.card-modern #insideFace textarea
{
  background-color: rgba(98, 77, 4, 0.04);
  border: var(--answer-stroke, 1px) solid rgba(98, 77, 4, 0.25);
  border-radius: 2px;
  padding: 12px 5px;
  min-height: 44px;
  box-sizing: border-box;
  font-family: Cormorant, serif;
  font-size: 18px;
  color: #624d04;

  
  width: 100%;
  resize: vertical;
}


.card-modern #insideFace .page-answers hr
{
  border: 0;
  border-top: var(--answer-stroke, 1px) solid rgba(98, 77, 4, 0.25);
  height: 0;
}

.card-modern #insideFace .page-answers h3 + div > hr:first-child
{
  display: none;
}


.card-modern .page-answers h3
{
  border-bottom: var(--answer-stroke, 1px) solid rgba(98, 77, 4, 0.25);
}

.card-modern .page-answers h3::before,
.card-modern .page-answers h3::after
{
  display: none;
}


.card-modern #insideFace select.party-number
{
  background-color: rgba(98, 77, 4, 0.04);
  border: none;
  border-bottom: var(--answer-stroke, 1px) solid rgba(98, 77, 4, 0.4);
  border-radius: 0;
  box-shadow: none;
  padding: 12px 28px;
  box-sizing: border-box;
  font-family: Cormorant, serif;
  font-size: 18px;
  color: #624d04;
}


.card-modern #insideFace #content2 td.party p.line
{
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
}

.card-modern #insideFace table.invited-guests td.party p.line
{
  display: flex;
  align-items: center;
}

.card-modern #insideFace table.invited-guests td.party p.line .party-label
{
  flex: 0 0 33%;
  text-align: center;
}


.card-modern #insideFace .menu-choices td[class*='menuChoiceName']:not(:has(select))
{
  font-size: 17px;
  color: rgba(98, 77, 4, 0.85);
}


.card-modern #insideFace table.invited-guests:not(.menu-choices) td:first-child:not(.party)
{
  font-size: 20px;
}

.card-modern #homeFace form input[type=text]:hover,
.card-modern #insideFace input.party-text:hover,
.card-modern #insideFace select:hover
{
  border-bottom: var(--answer-stroke, 1px) solid #624d04;
  background-color: rgba(98, 77, 4, 0.08);
}


.card-modern #homeFace form input[type=text]:focus,
.card-modern #insideFace input.party-text:focus,
.card-modern #insideFace select:focus
{
  border-bottom: calc(var(--answer-stroke, 1px) * 2) solid #624d04;
  background-color: rgba(98, 77, 4, 0.12);
  outline: 2px solid rgba(98, 77, 4, 0.6);
  outline-offset: 3px;
}

.card-modern #homeFace form
{
  width: min(100%, 360px);
  margin-left: auto;
  margin-right: auto;
}


.card-modern #insideFace div.form-validation
{
  display: none;
}

.card-modern #insideFace div.form-validation.form-validation-active
{
  display: block;
  width: 100%;
  margin: 0 auto 16px;
  padding: 10px 14px;
  border: var(--answer-stroke, 1px) solid rgba(98, 77, 4, 0.4);
  border-radius: 6px;
  background-color: rgba(98, 77, 4, 0.08);
  box-sizing: border-box;
  font-family: Cormorant, serif;
  font-size: 18px;
  color: #624d04;
  text-align: center;
}

.card-modern #insideFace div.form-validation ul.form-validation-questions
{
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}


.card-modern #insideFace th.answer-missing,
.card-modern #insideFace td.answer-missing,
.card-modern #insideFace p.answer-missing
{
  background-color: rgba(98, 77, 4, 0.12);
  border-radius: 6px;
}


@media only screen and (min-width: 771px) and (min-height: 581px)
{
  body:not(.start) .card-modern #insideFace
  {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.card-modern #homeFace form button.btn
{
  float: none;
  clear: both;
  display: block;
  width: 100%;
  margin: 24px auto 0 auto;
  padding: 14px 40px;
  min-height: 48px;
  box-sizing: border-box;
  background-color: #624d04;
  background-image: none;
  border: none;
  border-radius: 3px;
  color: #fff;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: none;
  box-shadow: 0 3px 8px rgba(98, 77, 4, 0.18);
  cursor: pointer;
  -webkit-transition: opacity 0.2s ease, box-shadow 0.2s ease;
  -moz-transition: opacity 0.2s ease, box-shadow 0.2s ease;
  -o-transition: opacity 0.2s ease, box-shadow 0.2s ease;
  transition: opacity 0.2s ease, box-shadow 0.2s ease;
}

.card-modern #homeFace form button.btn:hover
{
  filter: brightness(1.12);
  box-shadow: 0 4px 12px rgba(98, 77, 4, 0.45);
}

.card-modern #homeFace form button.btn:active
{
  transform: translateY(1px);
}

.card-modern #homeFace form button.btn:focus
{
  outline: 2px solid #624d04;
  outline-offset: 3px;
}

.card-modern #insideFace select
{
  cursor: pointer;
}

.card-modern #insideFace input.button
{
  float: none;
  display: inline-block;
  margin: 0 auto;
  padding: 14px 40px;
  min-height: 48px;
  box-sizing: border-box;
  background-color: transparent;
  background-image: none;
  border: var(--answer-stroke, 1px) solid rgba(98, 77, 4, 0.4);
  border-radius: 3px;
  color: #624d04;
  font-family: Cormorant, serif;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: none;
  cursor: pointer;
  -webkit-transition: opacity 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  -moz-transition: opacity 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  -o-transition: opacity 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  transition: opacity 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.card-modern #insideFace input.button:hover
{
  border-color: #624d04;
  background-color: rgba(98, 77, 4, 0.08);
}

.card-modern #insideFace input[type=submit].button
{
  background-color: #624d04;
  color: #fff;
  border: none;
  box-shadow: 0 3px 8px rgba(98, 77, 4, 0.18);
}

.card-modern #insideFace input[type=submit].button:hover
{
  filter: brightness(1.12);
  box-shadow: 0 4px 12px rgba(98, 77, 4, 0.45);
}

.card-modern #insideFace input[type=submit].button:active
{
  transform: translateY(1px);
}


.card-modern #insideFace input.button:focus,
.card-modern #insideFace input[type=submit].button:focus
{
  outline: 2px solid rgba(98, 77, 4, 0.6);
  outline-offset: 3px;
}



@media only screen and (min-width: 771px)
{
  .card-modern #insideFace table.button-table
  {
    display: block;
    width: auto;
    left: 20px;
    right: 20px;
    bottom: 23px;
    text-align: center;
  }

  
  .card-modern #insideFace table.button-table tbody,
  .card-modern #insideFace table.button-table tr
  {
    display: block;
  }

  .card-modern #insideFace table.button-table td
  {
    display: inline;
    padding: 0;
  }

  .card-modern #insideFace table.button-table .button
  {
    margin-left: 6px;
    margin-right: 6px;
  }
}

.card-modern .button-table2 tr + tr td
{
  padding-top: 12px;
}



.card-modern #insideFace input[type=radio]
{
  accent-color: #624d04;
  width: 18px;
  height: 18px;
  margin: 0 10px 0 0;
  vertical-align: middle;
  position: relative;
  top: -2px;
  cursor: pointer;
  flex-shrink: 0;
}

.card-modern #insideFace label
{
  cursor: pointer;
  border-radius: 6px;
  padding: 8px 14px;
  margin: 6px 10px 6px 0;
  transition: background-color 0.2s ease;
}

.card-modern #insideFace label:hover
{
  background-color: rgba(98, 77, 4, 0.08);
}

.card-modern #insideFace input[type=radio]:focus-visible
{
  outline: 2px solid rgba(98, 77, 4, 0.6);
  outline-offset: 3px;
}


.card-modern #homeFace form input[type=text]:focus:not(:focus-visible),
.card-modern #homeFace form button.btn:focus:not(:focus-visible),
.card-modern #insideFace input.party-text:focus:not(:focus-visible),
.card-modern #insideFace select:focus:not(:focus-visible),
.card-modern #insideFace input.button:focus:not(:focus-visible),
.card-modern #insideFace input[type=submit].button:focus:not(:focus-visible),
.card-modern #insideFace input[type=radio]:focus:not(:focus-visible)
{
  outline: none;
}

@media only screen and (min-width: 771px) and (min-height: 581px)
{
  
  .card-modern #homeFace p.line,
  .card-modern #homeFace #submit
  {
    width: auto;
    text-align: center;
  }

  
  .card-modern #homeFace.no-card-image #content p,
  .card-modern #homeFace.no-card-image #submit
  {
    width: auto;
    text-align: center;
  }

  
  .card-modern #homeFace #submit
  {
    min-height: 5.25em;
  }
}

@media only screen and (max-width: 770px)
{
  
  @media (max-width: 600px)
  {
    .card-modern #homeFace #rsvp
    {
      font-size: 34px;
      letter-spacing: 2px;
      margin-bottom: 24px;
    }

    .card-modern #homeFace h2,
    .card-modern #insideFace h2
    {
      font-size: 16px;
      letter-spacing: 1px;
      margin: 0 auto 18px auto;
    }

    .card-modern #homeFace form button.btn
    {
      min-height: 48px;
      max-width: none;
    }

    .card-modern #content
    {
      width: min(100%, 300px);
      margin-left: auto;
      margin-right: auto;
    }

    .card-modern #homeFace form
    {
      width: 100%;
    }

    .card-modern #homeFace form .input
    {
      width: 100%;
      max-width: none;
    }
  }

  
  .card-modern #insideFace table.invited-guests:not(.menu-choices)
  {
    display: block;
    table-layout: auto;
  }

  .card-modern #insideFace table.invited-guests:not(.menu-choices) tbody,
  .card-modern #insideFace table.invited-guests:not(.menu-choices) tr
  {
    display: block;
    width: 100%;
  }

  .card-modern #insideFace table.invited-guests:not(.menu-choices) td:first-child:nth-last-child(2),
  .card-modern #insideFace table.invited-guests:not(.menu-choices) td:nth-child(2):nth-last-child(1),
  .card-modern #insideFace table.invited-guests:not(.menu-choices) td:first-child:nth-last-child(3),
  .card-modern #insideFace table.invited-guests:not(.menu-choices) td:nth-child(2):nth-last-child(2),
  .card-modern #insideFace table.invited-guests:not(.menu-choices) td:nth-child(3):nth-last-child(1),
  .card-modern #insideFace table.invited-guests:not(.menu-choices) td:first-child:nth-last-child(1)
  {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 0;
    padding-right: 0;
  }

  .card-modern #insideFace table.invited-guests:not(.menu-choices) th
  {
    display: none;
  }

  
  .card-modern #insideFace table.invited-guests:not(.menu-choices) td + td,
  .card-modern #insideFace table.invited-guests:not(.menu-choices) tr + tr > td
  {
    margin-top: 17px;
  }

  
  .card-modern #insideFace table.invited-guests td.party p.line
  {
    display: block;
  }

  .card-modern #insideFace table.invited-guests td.party p.line .party-label
  {
    display: block;
    text-align: center;
  }

  .card-modern #insideFace table.invited-guests:not(.menu-choices) td[data-label]:not([data-label=""])::before
  {
    content: attr(data-label);
    display: block;
    font-size: 19px;
    letter-spacing: 1px;
    margin-bottom: 9px;
  }

  
  .card-modern #insideFace table.invited-guests.menu-choices th,
  .card-modern #insideFace table.invited-guests.menu-choices td,
  .card-modern #insideFace table.invited-guests.menu-choices td:not(:first-child)
  {
    text-align: center;
  }

  
  .card-modern #insideFace table.invited-guests.menu-choices div.menu-choice-lines
  {
    margin-left: auto;
    margin-right: auto;
    max-width: 450px;
  }

  .card-modern #insideFace table.invited-guests.menu-choices select
  {
    text-align: center;
    width: 100%;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
  }

  
  .card-modern #insideFace table.menu-choices,
  .card-modern #insideFace table.menu-choices tbody,
  .card-modern #insideFace table.menu-choices tr,
  .card-modern #insideFace table.menu-choices th,
  .card-modern #insideFace table.menu-choices td
  {
    display: block !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .card-modern #insideFace table.menu-choices td + td
  {
    margin-top: 17px;
  }

  
  .card-modern #insideFace table.invited-guests.menu-choices th
  {
    margin-bottom: 9px;
  }

  .card-modern #insideFace table.invited-guests.menu-choices tr.menu-choice-row + tr.menu-choice-row
  {
    margin-top: 17px;
  }

  .card-modern #insideFace table.invited-guests.menu-choices tr.menu-choice-row + tr.menu-choice-row:not(:has(select)) > td:first-child
  {
    padding-top: 9px;
  }

  .card-modern #insideFace table.menu-choices select
  {
    width: 100%;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
  }

  
  .card-modern #insideFace table.button-table .button
  {
    width: 100%;
    box-sizing: border-box;
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media only screen and (max-width: 770px), only screen and (max-height: 580px)
{
  body:has(> .container.card-modern)
  {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
  }

  .container.card-modern
  {
    margin: 0 auto;
    top: 0;
  }
}
