@media screen and (min-width:600px) {
  html {
    font-size: calc(24px + 0.390625vw);
  }
}
@media screen and (min-width:1024px) {
  html {
    font-size: calc(16px + 0.390625vw);
  }
}

p,div,table,tr,td,img {
    padding: 0px;
    margin: 0px;
    border: 0px;
    border-collapse: collapse;
}

select, button, input[type="submit"], input[type="text"], input[type="radio"] {
  font-size: 1rem;
}

table.table {
    border: 1px solid black;
}

table.table td, table.table th {
    border: 1px solid black;
    padding: 0.5em;
}

table.table tr:hover {
    background-color: #B0DDDD;
}

.admin-table {
  background-color: #ffffff;
  font-size: 0.6rem;
}

h1 {
  text-align: center;
}

body {
  margin: 0px;
  font-family: Arial, sans-serif;
  color: #222222;
}

.center {
    text-align: center;
}

#sponsors {
  text-align: center;
  background-color: #ffffff;
  color: #222222;
  margin: 0px auto;
  padding: 1em;
}

.sponsor {
  padding: 5px;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
}

#content {
  background: #fff;
  padding: 1em;
  margin: 0px auto;
}

@media screen and (max-resolution: 100dpi) {
  #sponsors, #content {
    max-width: 1435px;
  }
}

.clear {
  clear: both;
}

p {
  margin: 0.5em 0;
}
p.emphasized {
  font-size: 150%;
}

ul, ol {
  margin-left: 3em;
}

.flash, .message {
    border: 1px solid;
    padding: 1em;
    margin-bottom: 1em;
}

#flash_success, .message.success {
    border-color: #006600;
    background-color: #66FF66;
    color: #006600;
}

#flash_error, .message.error {
    border-color: #660000;
    background-color: #FFCCCC;
    color: #660000;
}

table#layout {
  margin-top: 2em;
}

#header-image {
  max-width: 100%;
}

#inquiry-info {
  font-size: 1.2rem;
}

.promo {
  color: #cc0000;
  font-size: 1.0rem;
  font-weight: bold;
  border: 2px solid #cc0000;
  border-radius: 2px;
  padding: 1em;
  margin-bottom: 1em;
}

.extra-notes {
  color: #cc0000;
  font-size: 1.0rem;
  font-weight: bold;
  border: 2px solid #cc0000;
  border-radius: 2px;
  padding: 1em;
}

.extra-notes-2 {
  color: #aa0000;
  font-weight: bold;
}

#head {
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: center;
}

#head .cell {
  text-align: center;
  width: 100%;
}

#info-cell {
  width: 50%;
  text-align: center;
}

#photos-left, #photos-right {
  width: 25%;
  vertical-align: top;
  padding: 10px;
}
#photos-right {
  vertical-align: bottom;
}

.spinner.preload {
  display: none;
}

td#form {
    vertical-align: top;
    padding-left: 1em;
    min-width: 300px;
    max-width: 50%;
}

td#form tr.spaced td {
  padding-top: 1em;
}

#form .submit {
  margin: 1em 0;
}

#unreserved-seating-instructions {
  display: none;
  background-color: #ffffaa;
  color: #666600;
}

#unreserved-seating-instructions td {
  padding: 1em;
  border: 1px dashed #aaaa99;
}

#section-select {
  font-size: 2rem;
  margin: auto;
  text-align: center;
}

label[for="section_code"] {
  font-weight: bold;
}

select#section_code {
  font-size: 2rem;
}

label.unreserved {
  font-weight: bold;
  font-size: 1.2rem;
}

#cc-fee-notice {
  padding-top: 1em;
  font-weight: bold;
  color: #cc0000;
}

table.seating-page td {
    vertical-align: top;
}

#seat-list-note {
    display: none;
}

.seating {
    background-repeat: no-repeat;
    padding: 0px;
}
td#seating {
    width: 100%;
    position: relative;
}
#seating-filler {
    overflow: auto;
    position: relative;
    border: 2px solid #888888;
    border-radius: 10px;
    min-height: 900px;
}
#seating-filler span.seat-marker {
    height: 15px;
    display: inline-block;
    text-align: center;
    position: absolute;
    border: 1px solid #222222;
}
#seating-filler .row-label {
    height: 18px;
    display: inline-block;
    text-align: center;
    position: absolute;
    font-weight: bold;
}
#seating-filler .seating-label {
    display: inline-block;
    text-align: center;
    position: absolute;
    font-weight: bold;
    white-space: nowrap;
}
#underlay {
  position: absolute;
  background-image: url('/images/seating-layout-underlay.png');
  background-repeat: no-repeat;
}

.seat-marker {
    width: 15px;
    height: 15px;
    line-height: 15px;
    cursor: pointer;
    border: 1px solid #DEDEDE;
    font-size: 13px;
    font-family: sans-serif;
    text-align: center;
}
.seat-marker:hover {
}
.seat-marker.selected {
    background-color: #FFFFFF;
}

.taken {
    background-color: #000000;
}

.seat-marker.taken {
  color: #eeeeee;
  background-color: #000000;
  cursor: auto;
}

#invalid-entries {
    display: none;
    border: 2px solid #660000;
    background-color: #FFCCCC;
    color: #660000;
    padding: 0.5em;
    margin-bottom: 0.5em;
}

#legends {
    width: 771px;
}

#legends td {
    vertical-align: top;
}

td#legend-tickets {
    width: 280px;
    border-right: 1px solid black;
}

td#legend-booths form {
    text-align: left;
    margin-left: 50px;
    margin-top: 1em;
}

#legends td table {
    margin-right: auto;
    margin-left: auto;
}

table.legend {
    margin-top: 1em;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid black;
    cell-spacing: 0px;
}

table.legend .price-colour {
    width: 100px;
}

div.legend {
  clear: both;
  display: flex;
  gap: 2em;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2em;
  text-align: center;
}
.price-block {
  margin-top: 10px;
  display: inline-table;
  height: 50px;
}
.price-block td {
  font-weight: bold;
  padding-left: 6px;
  text-align: left;
}
.price-block td.multi-line {
  white-space: nowrap;
  padding-top: 1em;
}
.price-block:last-of-type {
  margin-left: 0px;
}
.price-colour {
  /* display: inline-block; */
  height: 50px;
  width: 50px;
}
.price {
  /* display: inline-block; */
  height: 50px;
  font-size: 1.2rem;
  margin-top: 10px;
}
.price-block.sold-out .price {
  margin-top: 0px;
  white-space: nowrap;
}
.sold-out .price {
  text-decoration: line-through;
}
.sold-out .label-text {
  text-decoration: line-through;
}

.sold-out-text {
  display: none;
}
.sold-out .sold-out-text {
  display: inline;
  color: #cc0000;
}

@media screen and (min-resolution: 100dpi) {
  div.price-colour {
    height: 30px;
    width: 30px;
    margin-left: 1em;
  }
  div.price {
    display: inline-block;
    height: 30px;
    font-size: 1.2rem;
  }
}

table.legend td {
    border: 1px solid black;
    padding: 0.25em;
    text-align: left;
    font-size: 0.9rem;
    font-weight: bold;
}

#legends table.legend td {
    font-size: 0.9rem;
}

tbody.payment, tbody.submit {
    display: none;
}

.interac-instructions {
  color: #2040dd;
}

#grand-total {
    font-weight: bold;
}

#total-cost {
    font-size: 1.5rem;
}

#cc-fee {
  display: none;
}

#new-orders a:hover {
  background-color: #5F9AFF;
}
.order-edit {
    display: none;
}
.order-notes {
  max-width: 30em;
}

h3.ticket-type {
    color: red;
}

#show-info {
    font-weight: bold;
    font-size: 1.5rem;
    text-align: center;
}
#show-info #artists {
  font-size: 1.7rem;
  margin-bottom: 1em;
}
#show-info #show-date {
  margin-top: 1rem;
  font-size: 1.7rem;
}
#show-info #show-title {
  font-size: 1.7rem;
}
#venue-name {
    font-size: 1.7rem;
}
#venue-address {
    font-size: 1.5rem;
}

#receipt-email {
  text-align: center;
}

#receipt, #meet-and-greet-summary {
  background-color: #fff;
  color: #000;
}

#receipt-note {
    text-align: center;
}

#receipt h2, #receipt h3 {
    text-align: center;
}
#receipt td {
    border: 1px solid #666666;
    padding: 1em;
    color: #000;
}
#receipt #time-paid {
    margin-bottom: 2em;
}
#receipt-contact {
  text-align: center;
}
#receipt-venue {
  text-align: center;
}

#receipt .seat-ticket {
  margin-bottom: 2rem;
}
#receipt .seat-ticket img {
  max-width: 100%;
}

#order-tickets {
  break-before: always;
}

#order-tickets .seat-ticket {
  margin-top: 4rem;
}

.missing {
    border: 2px solid #AA0000;
}

table.table td.breakdown {
  padding-left: 2em;
}

#qet-map {
  width: 95%;
}

#closed-message {
  text-align: center;
  min-height: 500px;
  font-size: 1.5rem;
}

#closed-message p {
  font-size: 1.5rem;
}

#closed-poster {
  float: left;
  min-height: 600px;
}

.registration-fully-booked {
  font-size: 1.5rem;
  font-weight: bold;
}

.important-notice {
  color: #990000;
}

#meet-and-greet-select {
  margin-top: 1em;
}

#meet-and-greet-summary {
  margin-bottom: 2em;
}
#button-mag-register {
  font-size: 1.4rem;
  font-weight: bold;
  margin-top: 1em;
  padding: 0.5em 1em;
  border-radius: 6px;
}
#meet-and-greet-summary .max-registrants {
  margin-left: 1em;
  margin-right: 1em;
  font-weight: bold;
}

form.mag-resend {
  display: inline;
}

.pagination {
  margin-top: 1em;
  margin-bottom: 1em;
}
.pagination a {
  margin-right: 0.3em;
}
form.search {
  margin-bottom: 1em;
}
form.search input[name="search_term"] {
  width: 30em;
}

#page-uploads .uploaded-file img {
  max-height: 100px;
  max-width: 300px;
}
#page-uploads .uploaded-file .filename {
  font-weight: bold;
}

.uploaded-file .uploaded-file-img {
  max-height: 100px;
  max-width: 300px;
}

.for-print {
  display: none;
}

#layout-disclaimer {
  font-weight: bold;
  color: #6666ff;
  text-align: center;
}

#qr {
  width: 100%;
  font-size: 3rem;
}

#qr button {
  font-size: 2rem;
}

#qr-code-reader {
  border: 2px solid black;
  padding: 10px;
  min-width: 200px;
}

#qr-result {
  background-color: #dddddd;
  margin: auto;
  min-width: 200px;
  padding: 1rem;
  text-align: center;
}

.qr-result {
  padding: 1rem;
}

#qr-result-good {
  background-color: #00cc00;
  color: white;
}

#qr-result-bad {
  background-color: #bb0000;
  color: #eeeeee;
}

#qr-problem-info {
  margin-bottom: 1rem;
}
#qr-problem-info .scan-message {
  font-size: 150%;
}

#qr-result-seat {
  font-size: 130%;
}

#qr-result-phone {
  margin-left: 1rem;
}

#qr-ticket-scanner {
  margin-top: 5rem;
}

.refund-notice {
  color: #cc0000;
}
