/* Fonts
 */

/*
@import url('https://fonts.googleapis.com/css2?family=Kapakana:wght@300..400&display=swap');

.kapakana-soiree {
  font-family: "Kapakana", cursive;
  font-optical-sizing: auto;
  font-weight: 375;
  font-style: normal;
}
*/

@font-face {
  font-family: 'Central Garden';
  src: url('/assets/fonts/CentralGardenRegular.eot');
  src: url('/assets/fonts/CentralGardenRegular.eot?#iefix') format('embedded-opentype'),
       url('/assets/fonts/CentralGardenRegular.woff2') format('woff2'),
       url('/assets/fonts/CentralGardenRegular.woff') format('woff'),
       url('/assets/fonts/CentralGardenRegular.ttf') format('truetype'),
       url('/assets/fonts/CentralGardenRegular.svg#CentralGardenRegular') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.box {
  /* margin: auto; */
  margin-bottom: 1rem;
  width: 95%;
  /* background: #f5f5f5; */
  padding: 0.75rem;
  border-radius: 5px;
  border-style: solid;
  border-width: 0.5px;
  border-color: #8e0926;
}

.box.third-width {
  width: 33%;
}

.box.half-width {
  width: 50%;
}

/* Forms
 */
#SponsorForm, #RegisterForm, #RaffleForm {
  margin-top: 1.0rem;
}

.formique .input-block label {
  font-weight: 600;
  font-size: 1.0rem;
}

.formique .checkbox-group legend {
  font-weight: 600;
  font-size: 1.0rem;
  line-height: 1.2;
}

.formique .checkbox-group label {
  font-weight: 400;
  padding-left: 0.5rem;
}

.formique .checkbox-group input[type=checkbox] {
  accent-color: #5c1323;
}

.formique .checkbox-group[id='raffle-block'] legend {
  padding-top: 1rem;
}

.formique .input-block input[type=range] {
  accent-color: #5c1323;
}

.formique fieldset {
  border: 0;
  padding-left: 0;
}

.formique fieldset legend {
  padding-left: 0;
}

.formique .input-block input[type=range] {
  width: 100%;
}

#attendees, #yattendees, #cattendees {
  padding-bottom: 0;
}

span[id$='attendees-value'], span[id^='prize'][id$='-value'] {
  display: block;
  float: right;
  font-size: 0.8rem;
}

#tickets-block {
  display: grid;
  grid-template-columns: max-content max-content;
  grid-column-gap: 0.5rem;
  align-items: center;
}

#tickets-block #tickets {
  color: #000000;
  border: none;
}

#tickets-block label {
  margin-bottom: 0rem;
}

.formique .input-block {
  /* padding-bottom: 0.5rem; */
}

.formique .input-block[id^='prize'][id$='-block'] {
  /* margin-bottom: 1.5rem; */ 
  display: grid;
  grid-template-areas:
    "title title"
    "slider value";
  grid-template-columns: 95% 5%;
  grid-column-gap: 0.5rem;
  grid-row-gap: 0.25rem;
  align-items: center;
}

.formique .input-block[id^='prize'][id$='-block'] label {
  grid-area: title;
  margin-bottom: 0;
}

.formique .input-block input[id^='prize'] {
  grid-area: slider;
  padding-top: 0;
  padding-bottom: 0;
}

.formique .input-block span[id^='prize'][id$='-value'] {
  grid-area: value;
  text-align: right;
  padding-top: 0;
  padding-right: 0.5rem;
  padding-bottom: 0;
}

/* Thank you page, etc.
 */
.thank-you {
  /* margin-bottom: 1.5rem; */ 
  display: grid;
  grid-template-areas:
    "title title"
    "slider value";
  grid-template-columns: 95% 5%;
  grid-column-gap: 1rem;
  grid-row-gap: 0.25rem;
  align-items: center;
}

.line-items, .misc-items {
  text-align: left;
  font-size: 14px;
  font-family: Helvetica; /* RequiemDisplayHTFSmallCaps; */
  display: grid;
  grid-auto-flow: row;
  grid-column-gap: 1rem;
  grid-row-gap: 0.5rem;
  align-items: top;
}

.line-items {
  grid-template-columns: repeat(4, auto);
}

.misc-items {
  grid-template-columns: repeat(2, auto);
}

/* First row
 */
.line-items > *:nth-child(-n+4) {
  text-align: center !important;
  font-style: italic;
}

/* Last row
 */
.line-items > *:nth-child(4n):nth-last-child(-n+5) ~ * {
  font-weight: 600;
}

/* First column
 */
.line-items > *:nth-child(5n+1) {
  text-align: right;
}

/* Third column
 */
.line-items > *:nth-child(5n+3) {
  text-align: right;
}

/* Last column
 */
.line-items > *:nth-child(5n+4) {
  text-align: right;
}

/* Lines
 */
.line-items > *:nth-child(5n+5) {
}

/* Misc
 */

/* First row
 */
.misc-items > *:nth-child(-n+2) {
  font-style: italic;
}

/* Last row
 */
.misc-items > *:nth-child(2n):nth-last-child(-n+3) ~ * {
  font-weight: 600;
}

/* First column
 */
.misc-items > *:nth-child(3n+1) {
  text-align: right;
}

/* Last column
 */
.misc-items > *:nth-child(3n+2) {
  text-align: left;
}

/* Lines
 */
.misc-items > *:nth-child(3n+3) {
}

.line:not(:last-child) {
  grid-column-start: 1;
  grid-column-end: -1;
  height: 1px;
  border-bottom: 1px dotted #222222 ;
  width: 100%;
}
.grid-header {
  font-weight: 600;
}

.line-total-title {
  font-weight: 600;
  grid-column: 1;
}

.line-total {
  font-weight: 600;
  text-align: right;
  grid-column: 4;
}

.misc-total {
  font-weight: 600;
  text-align: right;
  grid-column: 1;
}

h1.soiree {
  text-align: center;
  color: #8e0926;
  font-size: 2.5rem;
  margin: 2rem 2rem 2rem 2rem;
  font-weight: 600;
  font-family: Central Garden;
}

h4.soiree {
  margin-bottom: 1rem;
}

.attribution {
  text-align: center;
  line-height: 1.2;
  font-size: 1.25rem;
  font-family: Courier;
  white-space: pre-line;
}

.receipt {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;  
}

.box-header {
  margin-bottom: 0;
}
