.side-masthead
{
  z-index: 1 !important;
}

h4.summary {
  margin-top: 0;
}

@media (max-width: 600px) {
    .hentry {
        padding: 0 !important;
    }
}

.coupon,
.back.edit {
  font-size: 0.9rem;
  line-height: 2rem;
  padding: 2px 15px;
}

.back.edit {
  margin: 0 0 20px 0;
}

.payment-display-total {
  color: rgba(7, 83, 12, 0.671);
}

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

#payment {
  display: none;
  opacity: 0;
  position: fixed;
  position: absolute;
  z-index: 99999;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0,0,0,.5);
}

#payment .modal__window {
  margin: 5vh auto 0;
  margin: calc(15vh - 50px) auto 0;
  overflow: hidden;
  overflow: -moz-hidden-unscrollable;
  position: relative;
  z-index: 1000;
  max-width: 900px;
  min-width: 250px;
  width: 85%;
  margin: 2.5% auto 0;
  margin: 5vh auto 0;
  background: #fff;
  padding: 2em;
  -webkit-box-shadow: 0 -10px 45px rgba(0, 0, 0, .25);
  -moz-box-shadow: 0 -10px 45px rgba(0,0,0,.25);
  box-shadow: 0 -10px 45px rgba(0, 0, 0, .25);
  zoom: 1;
}

#payment .modal__window .modal__dialog {
  overflow-y: visible;
  overflow-y: scroll;
  /* display: inline-block; */
  width: auto;
  max-height: 145px;
  max-height: 47vh;
  max-height: calc(100vh - 25vh);
  height: 100%;
}

#payment:not(:target) {
  visibility: hidden;
  opacity: 0;
}

#payment:target {
  opacity: 1;
  display: block;
  pointer-events: auto;
}

#payment:target~.wrapper {
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
  height: 100%;
  backface-visibility: hidden;
}

#payment:target~.wrapper .side-masthead {
  display: none !important;
}

#payment-discount-heading,
#payment-discount-value {
  color: rgba(188, 10, 10, 0.578);
}

.has-text-align-right {
  float: right;
}

@media screen and (max-width: 768px) {
  .hide-mobile {
    display: none;
  }
}

em.wpforms-error
{
  margin-left: 0.4rem;
  margin-top: 0.2rem;
  font-style: italic !important;
}

em.wpforms-error:before {
  mask-image: url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2217%22%20height%3D%2215%22%20viewBox%3D%220%200%2017%2015%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M16.0264%2012.3086L9.46387%200.90625C8.97168%200.0585938%207.68652%200.03125%207.19434%200.90625L0.631836%2012.3086C0.139648%2013.1562%200.768555%2014.25%201.78027%2014.25H14.8779C15.8896%2014.25%2016.5186%2013.1836%2016.0264%2012.3086ZM8.34277%209.92969C9.02637%209.92969%209.60059%2010.5039%209.60059%2011.1875C9.60059%2011.8984%209.02637%2012.4453%208.34277%2012.4453C7.63184%2012.4453%207.08496%2011.8984%207.08496%2011.1875C7.08496%2010.5039%207.63184%209.92969%208.34277%209.92969ZM7.13965%205.41797C7.1123%205.22656%207.27637%205.0625%207.46777%205.0625H9.19043C9.38184%205.0625%209.5459%205.22656%209.51855%205.41797L9.32715%209.13672C9.2998%209.32812%209.16309%209.4375%208.99902%209.4375H7.65918C7.49512%209.4375%207.3584%209.32812%207.33105%209.13672L7.13965%205.41797Z%22%20fill%3D%22currentColor%22%2F%3E%0A%3C%2Fsvg%3E%0A);
  content: '';
  position: relative;
  display: inline-block;
  right: 5px;
  top: 1.5px;
  width: 16px;
  height: 14px;
  background-color: #dc3232;
}

.wpforms-container select.wpcf7-select {
  display: block;
  width: 100%;
  padding: 6px 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  color: #333;
}

@media only screen and (min-width: 55.063em) {
    .main-navigation li a {
        padding: 8px 20px !important;
    }
}

header .social-menu {
  margin-left: -15px !important;
}

.registration-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	width: 100%;
}

/* Half-screen / medium widths: always 2 × 2 */
@media (max-width: 1400px) {
	.registration-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Small phones */
@media (max-width: 600px) {
	.registration-grid {
		grid-template-columns: 1fr;
	}
}

#asn-picker {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
}

#asn-picker-content {
    display: flex;
    flex-direction: column;
    width: 90%;
    max-width: 600px;
    height: 70vh;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
}

#asn-picker-header {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
}

#asn-picker-header h3 {
    margin: 0 0 4px;
    font-size: 1rem;
}

#asn-picker-header p {
    margin: 0;
    color: #718096;
    font-size: 0.875rem;
}

#asn-picker-close {
    float: right;
    color: #718096;
    font-size: 1.25rem;
    text-decoration: none;
}

#asn-list {
    flex: 1;
    overflow-y: auto;
}

.asn-option {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid #edf2f7;
    cursor: pointer;
}

.asn-number {
    flex: 0 0 80px;
    color: #2b6cb0;
    font-size: 0.875rem;
    font-weight: 600;
}

.asn-name {
    color: #4a5568;
    font-size: 0.875rem;
}

.asn-option:hover {
    background: #ebf8ff;
}

@media (max-width: 600px) {
    #asn-picker-content {
        width: 95%;
        height: 70vh;
    }

    .asn-option {
        gap: 8px;
        padding: 10px 12px;
    }
}