/* All screen sizes */
body.fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

p, li {
  font: normal 300 14px/1.5em 'Source Sans Pro';
  color: #58595b;
}

.is-bulleted {
  margin-left:1rem;
  margin-right:1rem;
  display: block;
  list-style-type: disc;
  padding-left: 1rem;
}

.is-bulleted li{
  margin-bottom:.5rem;
}

a {
  color: #C0450C;
  font-weight: bold;
  font-size: 16px;
}

a.blue {
  color: #083F83;
}

a:hover {
  color: #1167ac;
}

h1 {
  font: normal 700 25px/.9em 'Source Sans Pro';
  color: #083F83;
  text-transform: uppercase;
}

h2,
.style-2 {
  margin-bottom: 0rem;
  font: normal 600 20px/1.2em 'Source Sans Pro';
  color: #1f94cf;
}

h3,
.style-3 {
  font: normal 400 18px/1.2em 'Source Sans Pro';
  color: #58595b;
}

h4 {
  margin: 0 0 1rem 0;
  font: normal 600 20px/1.2em 'Source Sans Pro';
  color: #1f94cf;
}

hr {
  border-top: 4px dotted #d2d0d0;
}

h2 + h3,
h2 + .checkmark,
p + h2,
p + h3,
ul + h2,
ul + h3,
table + h3,
.button + h2,
.accordian + h2,
.scroll-wrapper + .flex,
.form-submitted-success + h2,
.video-container + .button,
.video-container + h2,
.bar + h2 {
  margin-top: 2rem;
}

h1 + h2,
h2 + .button,
h2 + .details,
h2 + .contact-us,
h2 + .memberships,
h2 + .styled-select,
h2 + .video-container,
h2 + .nation-memberships-container,
h2 + .state-memberships-container,
h2 + p,
h2 + ul,
h2 + form,
h2 + fieldset,
h2 + .error-message:empty,
h2 + .row,
h2 + .product,
h2 + .flex,
p + ul,
table + .button,
fieldset + .credit-card,
fieldset ~ .purchase-order,
fieldset ~ .check-info,
.bar + .bar,
.row + h2,
.button + h3,
.style-2 + input + label,
.video-container + h3 {
  margin-top: 1rem;
}

h2 + .scroll-wrapper,
p + .registration {
  margin-top: .5rem;
}

th {
  background-color: #083F83;
  border: 1px solid #dadada;
  padding: .5rem;
  color: #FFFFFF;
  font: normal normal 14px/1.2em 'Source Sans Pro';
}

td {
  border: 1px solid #dadada;
  background-color: #f3f3f3;
  padding: 0.5rem;
  text-align: center;
  font: normal normal 14px/1.2em 'Source Sans Pro';
}

.error-message {
  color: #FF3333;
  font-weight: bold;
  font-size: 16px;
}

.error-message:empty {
  margin: 0;
}

/****************************************
* Anchor tags
****************************************/

.anchor-wrapper {
  position: relative;
}

a.page-target {
  position: absolute;
  top: -148px;
}

/****************************************
* Accents
****************************************/

.white-background {
  background-color: #ffffff;
}

.accent-1 {
  display: inline-block;
  margin-top: 1rem;
  background-color: #efefef;
  padding: 1rem;
}

.accent-1 p {
  margin: 0;
}

/****************************************
* Bar
****************************************/

.bar {
  background-color: #dcf4fe;
  padding: 1rem;
}

.bar h2 {
  color: #063063;
}

.bar h3 {
  color: #063063;
  font-weight:bold;
  margin-bottom: 1rem;
}

.bar a:not(.button) {
  color: #BE4209;
}

.bar.is-4--tablet {
  margin-bottom: 1rem;
}

/****************************************
* Notice
****************************************/

.notice {
  display: inline-block;
  margin-bottom: 1rem;
  background-color: #dcf4fe;
  padding: 1rem;
}

.bar .notice {
  background-color: #efefef;
}

.notice p {
  margin: 0;
  font-weight: 700;
  color: #063063;
}

/****************************************
* Buttons
****************************************/

button {
  background: none;
  border: none;
}

.button {
  font: bold 14px/1em 'Source Sans Pro';
  background-color: #C0450C;
  text-transform: uppercase;
  display: block;
  padding: 1rem;
  border-radius: 0;
  letter-spacing: 1px;
}

.button.alt {
  background-color: #1167ac;
}

.button.alt:focus,
.button.alt:hover {
  background-color: #083F83;
}

.inline {
  display: inline-block;
}

.button.large {
  font-size: 20px;
}

.button.delete {
  background-color: rgba(0,0,0, .5);
}

.button.login-as-member {
  background-color: #063063;
}

.button:hover {
  background-color: #1167ac;
  color: #FFFFFF;
}

button.button {
  width: 100%;
}

/*********************************
* Header
**********************************/

header {
  display: flex;
  position: fixed;
  right: 0;
  left: 0;
  z-index: 200;
  backdrop-filter: saturate(180%) blur(20px);
  background-color: rgba(255, 255, 255, 0.8);
  min-height: 84.5px;
  width: 100%;
}

header .flex {
  flex-direction: column;
  width: 100%;
}

header .logo {
  padding: 1rem 2rem;
}

header .logo img {
  margin: 0;
  max-width: 250px;
}

/****************************************
* Nav menu toggle
****************************************/

.nav-toggle {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle:focus {
  outline: none;
}

.nav-toggle,
.nav-toggle svg {
  width: 50px;
  height: 50px;
}

.nav-toggle svg {
  transition: transform 400ms;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.nav-toggle svg path {
  fill: none;
  transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
  stroke: #C0450C;
  stroke-width: 5.5;
  stroke-linecap: round;
}

.nav-toggle svg path:first-of-type {
  stroke-dasharray: 40 160;
}

.nav-toggle svg path:nth-of-type(2) {
  stroke-dasharray: 40 142;
  transform-origin: 50%;
  transition: transform 400ms;
}

.nav-toggle svg path:last-of-type {
  stroke-dasharray: 40 85;
  transform-origin: 50%;
  transition: transform 400ms, stroke-dashoffset 400ms;
}

.nav-toggle.on svg {
  transform: rotate(45deg);
}

.nav-toggle.on svg path:first-of-type {
  stroke-dashoffset: -64px;
}

.nav-toggle.on svg path:nth-of-type(2) {
  transform: rotate(90deg);
}

.nav-toggle.on svg path:last-of-type {
  stroke-dashoffset: -64px;
}

/*********************************
* Navigation
**********************************/

nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: 0;
  padding: 0;
  overflow: hidden;
  transition: max-height .4s ease-in;
  background-color: #ffffff;
}

nav.on {
  max-height: 100vh;
}

nav > ul {
  margin: 0 0 3rem 0;
}

nav li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 0;
}

nav button {
  width: 100%;
  padding: .75rem 0;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: .5px;
  color: #BE4209;
}

.nav-bar {
  padding-top: 2rem;
}

.nav-bar li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, .2);
  width: 50px;
  height: 1px;
}

.nav-bar li:first-of-type::before {
  display: none;
}

.nav-top {
  padding-bottom: 2.75rem;
}

.nav-top li + li {
  margin-top: 1rem;
}

.nav-top .button {
  width: auto;
}

/****************************************
* Navigation Dropdown
****************************************/

nav .menu > button {
  position: relative;
  font: bold 16px/1em 'Source Sans Pro';
}

@media(max-width: 1140px) {
  nav .menu > button {
    outline: none;
  }
}

nav .menu > button.on::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px;
  border-style: solid;
  border-color: transparent transparent #dcf4fe transparent;
}

nav .drop-down {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  max-height: 0;
  overflow: hidden;
  z-index: 10;
}

nav .drop-down.on {
  margin: 0 0 -4px 0;
  max-height: none;
}

nav li:hover > .drop-down {
  visibility: visible;
  opacity: 1;
  text-align: left;
}

nav .drop-down-content {
  display: flex;
  flex-direction: column;
  background-color: #dcf4fe;
  max-height: 100%;
  padding: 1rem;
}

nav .drop-down-content a {
  position: relative;
  margin: 0;
  padding: .5rem 1rem;
  text-align: center;
  color: #063063;
}

nav .drop-down-content a:focus,
nav .drop-down-content a:hover,
nav .drop-down-content a.active {
  background-color: rgba(255, 255, 255, .4);
}

nav .drop-down-content a + a {
  border-top: 1px solid rgba(0, 0, 0, .1);
}

/*********************************
* Billboard
**********************************/

.billboard-home .slip-n-slide {
  height: calc(400px + (700 - 400) * (100vw - 320px) / (768 - 320));
}

.billboard {
  background-color: rgba(65, 128, 180, .4);
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

.billboard-home .container,
.billboard .container {
  max-width: 1008px;
}

.billboard-container {
  display: flex;
  align-items: center;
  min-height: 400px;
  height: 100%;
  padding-top: 90px;
  padding-bottom: 1.5rem;
  text-align: center;
}

.billboard-container p {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 0;
}

.billboard-container .button {
  margin-bottom: 0;
}

.billboard-container div.box {
  background-color: rgba(251, 251, 251, .8);
  padding: 1.5rem;
  max-width: 80%;
  margin: 0 auto;
}

.billboard-container div.box.full {
  max-width: unset;
}

.billboard-container .button {
  display: inline-block;
}

.billboard-container h1 {
  margin: 0;
}

.billboard-container h1 + p {
  margin-top: 1rem;
}

.billboard-container h1 + .button {
  margin-top: 2rem;
}

/****************************************
* Member header
****************************************/

header.member-header {
  padding: 0;
  position: unset;
}

header.member-header .member-billboard {
  background: #cbe5e8 url('/images/content/billboards/adtsea-member-only.jpg');
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  width: 100%;
}

header.member-header .member-billboard .container {
  grid-template-columns: 1fr;
}

header.member-header .member-billboard .padded {
  position: relative;
  padding-top: 4rem;
  padding-bottom: 6rem;
}

header.member-header .member-billboard .nav-toggle {
  position: absolute;
  top: 2rem;
  right: 1rem;
  justify-content: center;
}

header.member-header .member-billboard .nav-toggle svg {
  fill: #083F83;
}

header.member-header .member-billboard img {
  align-self: end;
  margin: 0 auto 2rem;
  width: 100%;
  max-width: 200px;
}

header.member-header .member-billboard h1,
.account .member-billboard h1 {
  margin-bottom: 1rem;
  text-align: center;
  text-transform: none;
  font-size: 35px;
}

header.member-header .member-billboard .button {
  letter-spacing: 0;
}

header.member-header .member-billboard .welcome {
  flex-direction: row;
  justify-content: center;
}

header.member-header nav {
  position: absolute;
  max-height: 0;
  overflow: hidden;
  top: calc(2rem + 45px);
  left: unset;
  right: 2rem;
  width: auto;
}

header.member-header nav a {
  white-space: nowrap;
}

header.member-header nav.on {
  max-height: 100%;
  transition: max-height 1s;
}

header.member-header nav.off {
  max-height: 0;
  transition: max-height 1s;
}

header.member-header .navigation-links-wrapper {
  background-color: #c0450c;
  padding: 1rem;
}

.account ul {
  list-style: disc;
}

/****************************************
* Video
****************************************/

  .video {
    position: relative;
    display: flex;
  }

  .video .wrapper {
    position: relative;
    height: 100%;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
  }

  .video video {
    height: 100%;
    width: auto;
    position: relative;
    background-image: url('/images/content/billboards/adtsea-events.jpg');
  }

  .video .overlay {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
  }

/*********************************
* Latest Post
**********************************/

.social-buttons {
  padding: .5rem 0;
  border-bottom: 3px dotted #d9dbdc;
  border-top: 3px dotted #d9dbdc;
}

.social-buttons > div {
  display: inline-block;
  vertical-align: middle;
  font-size: 0;
}

.latest-facebook-post {
  margin-bottom: 1rem;
}

.latest-facebook-post a,
.latest-facebook-post p {
  -ms-word-break: break-all;
  word-break: break-all;
  word-break: break-word;
}

.latest-facebook-post p {
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto;
}

/*********************************
* Video
**********************************/

.video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
}

.video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-container + .video-container {
  margin-top: 1rem;
}

/****************************************
* Accordians
****************************************/

.accordian .heading {
  position: relative;
  overflow: hidden;
  padding: 24px 10px;
  cursor: pointer;
}

.accordian .heading h3 {
  padding-right: 50px;
  margin-bottom: 0;
}

.accordian .heading .toggle  {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.toggle  {
  position: relative;
  width: 30px;
  height: 30px;
  color: white;
  background-color: #C0450C;
  border-radius: 100%;
  cursor: pointer;
  user-select: none;
  transition: all .5s;
}

.toggle:before,
.toggle:after {
  content: ' ';
  display: block;
  position: absolute;
  width: 16px;
  height: 2px;
  left: 0;
  right: 0;
  margin: auto;
  top: 50%;
  transform: translateY(-50%);
  background-color: #FFFFFF;
  transition: transform .5s;
}

.accordian [data-action="open-accordian"] * {
  pointer-events: none;
}

.accordian [data-action="open-accordian"] .toggle:after {
 transform: translateY(-50%) rotate(90deg);
}

.heading.on .toggle:before {
  transform: translateY(-50%) rotate(45deg);
}

.heading.on .toggle:after {
  transform: translateY(-50%) rotate(-45deg);
}

.heading.on .accordian [data-action="open-accordian"] .toggle {
  background-color: #C0450C;
}

.heading.on .accordian [data-action="open-accordian"] .toggle:before {
  width: 0;
  height: 0;
  padding: 6px;
  border-radius: 0px;
  background-color: #C0450C;
  border: 2px solid white;
}

.accordian .content {
  border-bottom: 1px solid  #d8d7d7;
  padding: 0 10px;
}

/* .accordian .content p,
.accordian .content h4 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
} */

.accordian + p {
  padding-top: 2rem;
}

.heading.on + .content {
  padding-bottom: 1rem;
}

.accordian .is-bulleted {
  margin-left: 1rem;
}

.accordian .is-bulleted:last-child {
  padding-bottom: .5rem;
}

.accordian ul {
  list-style: none;
  margin-bottom: 1rem;
}

/****************************************
* Our Members - Tiled Section
****************************************/

.tiles.main-text {
  padding-left: 0;
  padding-right: 0;
}

.tiles img.logo {
  margin: 2rem 0;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.tiles .row {
  justify-content: space-between;
}

.tile {
  flex-grow: 0;
  flex-shrink: 0;
  max-width: calc(50% - 1rem);
  flex-basis: calc(50% - 1rem);
  margin: 1rem 0;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

/****************************************
* Who We Are
****************************************/

.who-we-are span {
  margin-right: 1rem;
}

.who-we-are .accordian .content p {
  padding-left: 0;
  padding-right: 0;
}

/****************************************
* Forms
****************************************/

.message {
  display: block;
  margin: 1rem 0 .4px 0;
  width: 100%;
  color: #ff0000;
  font: normal normal 14px/1.5em 'Source Sans Pro';
}

.edit-form .message {
  margin: .5rem 0;
  color: #1f94cf;
}

#error-message {
  margin: 2rem 0 1rem 0;
  color: #ff0000;
  font-weight: normal;
}

#error-message:empty {
  margin: 0;
}

fieldset + fieldset {
  margin-top: 1rem;
}

form [type="radio"] + label:before {
  top: 5px;
  padding-right: 5px;
}

form label,
form legend {
  margin-bottom: 4px;
  font: normal normal 14px/1.5em 'Source Sans Pro';
  color: #58595b;
}

form label p {
  margin-left: 5px;
}

form label ul {
  margin-top: .5rem;
}

form select {
  background-color: #ffffff;
}

input:not([type="submit"]),
select {
  height: 34px;
}

form input,
form select {
  font-size: 14px;
}

input[type="submit"],
a.cancel {
  display: inline-block;
  width: auto;
  font-size: 20px;
}

button[name="mark_paid"] {
  margin-top: .75rem;
  margin-bottom: 0;
  width: 100%;
}

a.cancel {
  background-color: #1f94cf;
  white-space: nowrap;
}

input.submit-button,
a.submit-button {
  width: 210px;
  margin-bottom: 1rem;
}

.total-amount.bar {
  margin: 1rem auto;
  max-width: 600px;
  /* padding-top: 0; */
}

.total-amount h2 {
  margin: 0;
}

.total-amount h2:not(:first-of-type)
{
  padding-top: 0;
}

.total-amount .order-summary {
  padding-top: 1rem;
}

.total-amount .order-summary li strong {
  float: right;
}

.form-submitted {
  text-align: center
}

.individual-selection label p:first-child,
.affiliated-selection label p:first-child {
  margin-bottom: 0;
}

label[for="xSTATE_ASSOCIATION"] input[type="number"] {
  width: 70px;
  margin-left: 1rem;
  margin-bottom: 0;
}

.corporate-selection ul,
.corporate-selection li {
  margin: 0;
}

#reset-password {
  align-self: center;
  margin: 0;
}

/****************************************
* Newsletter subscribe
****************************************/

#subForm label {
  margin-bottom: 4px;
  font: normal normal 14px/1.5em 'Source Sans Pro';
  color: #58595b;
}

#subForm button {
  width: 100%;
}

#subForm .row .column {
  padding: 0;
}

/****************************************
* Success Checkmark
****************************************/

.checkmarkCircle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: #C0450C;
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: #fff;
  stroke-miterlimit: 10;
  margin: auto;
  box-shadow: inset 0px 0px 0px #C0450C;
  animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmarkCheck {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes scale {
  0%, 100% {
    transform: none;
  }
  50% {
    transform: scale3d(1.1, 1.1, 1);
  }
}

@keyframes fill {
  100% {
    box-shadow: inset 0px 0px 0px 60px #C0450C;
  }
}

/****************************************
* Conference Registrar Form
****************************************/

.product.grid {
  display: grid;
  grid-template-columns: 35px 50px 1fr;
  gap: 0 1rem;
  align-items: center;
}

.product.grid > div:last-of-type {
  grid-column: span 3;
  grid-row: 1;
}

.product + .product {
  margin-top: 1rem;
}

.product .column {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product.indent {
  margin-left: 1rem;
}

.product.indent + .product.indent {
  margin-top: 0;
}

.product p {
  margin: 0;
}

.product input[type="radio"] + label:before,
.product input[type="checkbox"] + label:before {
  top: 50%;
  transform: translateY(-50%);
}

.product .registration .flex {
  gap: 1rem;
}

.product [type="checkbox"] {
  margin: 0;
  height: 0;
  padding: 0;
}

[type="number"] {
  width: 100%;
  max-width: 80px;
}

.product .quantity {
  margin: 0;
}

/****************************************
* Styled select
****************************************/

.styled-select {
  position: relative;
  margin-bottom: 1rem;
}

.styled-select select::-ms-expand {
  display: none;
}

.styled-select select {
  margin: 0;
  padding-right: 24px;
  text-overflow: ellipsis;
  font-weight: normal;
}

.styled-select .arrow-down {
  display: inline-block;
  position: absolute;
  top: 11px;
  right: 10px;
  transform: rotate(45deg);
  border: solid #1f94cf;
  border-width: 0 3px 3px 0;
  padding: 3px;
  pointer-events: none;
}

/*********************************
* Calendar
**********************************/

.calendar-item {
  flex-wrap: nowrap;
}

.cal-date {
  background-color:#f1f3f4;
  text-align:center;
  padding:.5rem;
  max-height: 59px;
}

.cal-date p {
  font: normal 900 15px/1em 'Source Sans Pro';
  text-transform:uppercase;
  color: #163a4d;
  margin-bottom:-0;
}

.cal-date p span {
  font: normal 900 28px/1em 'Source Sans Pro';
}

.cal-text p {
  margin-top:.5rem;
  margin-bottom:-0;
  padding-left:1rem;
}

.events {
  scroll-behavior: smooth;
}

/****************************************
* Driver ed events
****************************************/

.conference-highlights {
  height: 100%;
}

/****************************************
* Footer
****************************************/

footer {
  background: #1e427f url('/images/layout/footer.png');
}

footer p {
  color: #ffffff;
  font-size: 14px;
}

footer hr {
  border-top: 4px dotted rgba(255,255,255,.5);
  margin: .8rem 0;
}

footer svg {
  width: 20px;
  height: auto;
  fill: #F99E1C;
  margin-right: 1rem;
  margin-bottom: 2rem;
}

footer svg:hover {
  fill: #ecc279;
}

footer a {
  color: #F99E1C;
}

footer a:hover {
  color: #ecc279;
}

footer a.button:last-child {
  margin-bottom: 0;
}

/*********************************
* Attribution
**********************************/

.attribution {
  background-color: #021936;
  padding: .5rem;
}

.attribution a {
  color: #7dadd4;
  font-weight: normal;
  text-transform:none;
}

.attribution p {
  margin: 0;
  color: #6ca1cc;
}

.attribution p,
.attribution a {
  font-size: 12px;
}

/****************************************
* Misc.
****************************************/

.width-100 {
  width: 100%;
}

.workshop-title {
  padding: 0 0 0 1.25rem;
  margin: 0 0.25rem 4px 0;
}

.workshop-options {
  padding: 0 0 calc(1rem + 4px) calc(1.25rem + 5px);
}

.workshop-options p {
  margin: 0;
}

/****************************************
* UI Number Inputs
****************************************/

.value-button {
  display: inline-block;
  border: 1px solid #dddddd;
  margin: 0px 0 10px;
  width: 40px;
  height: 40px;
  text-align: center;
  padding: 10px 0;
  background: #eeeeee;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.value-button:hover {
  background-color: #dddddd;
  cursor: pointer;
}

.value-button.decrease {
  margin-right: 0px;
  border-radius: 8px 0 0 8px;
}

.value-button.increase {
  margin-left: -6px;
  border-radius: 0 8px 8px 0;
}

input[type="number"].ui_number {
  margin: 0px;
  border-top: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
  border-radius: 0;
  width: 40px;
  height: 40px;
  text-align: center;
  appearance: textfield;
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
}

input[type="number"].ui_number::-webkit-inner-spin-button,
input[type="number"].ui_number::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/****************************************
* Logger
****************************************/

.logger-content {
  margin-top: 5rem;
}

.logger-content p {
  overflow-wrap: break-word;
}

/****************************************
* Manage members
****************************************/

.manage-actions {
  justify-content: space-between;
  border: 1px solid rgba(0,0,0,.1);
  padding: 1rem;
}

.reporting .manage-actions {
  margin: 0 auto;
  max-width: max-content;
}

.manage-actions > * {
  display: flex;
  gap: 1rem;
  margin-left: 2rem;
}

.manage-actions > form {
  margin-left: .5rem;
}

.manage-actions * {
  margin-bottom: 0;
}

.manage-actions .accordian {
  margin-left: 0;
  padding: 0;
}

.manage-actions .accordian .column {
  padding: 0;
}

.manage-actions .accordian .column:first-child {
  padding-top: 1rem;
}

.manage-actions .accordian .heading {
  padding: 1rem 1rem 0 .5rem;
}

.manage-actions .accordian h3 {
  color: #1167ac;
}

.manage-actions .accordian .content {
  border-bottom: none;
}

.manage-actions > :first-child,
.conference-manage .manage-actions > :first-child {
  margin-left: 0;
}

.manage-actions select {
  width: 200px;
}

.manage-actions legend {
  margin-bottom: 1rem;
}

.manage-actions [type="radio"] + label::before,
.manage-actions [type="checkbox"] + label::before {
  top: 0;
}

[name="download"] svg,
.manage-actions svg {
  margin: auto;
  height: 35px;
  fill: #C0450C;
}

[name="download"] button:hover svg,
.manage-actions button:hover svg,
.manage-actions a:hover svg {
  fill: #1167ac;
}

.conference-manage .manage-actions > .accordian {
  width: 100%;
  margin-left: 0;
}

.conference-manage .manage-actions > * {
  margin-left: 1rem;
}

.reporting .manage-actions form {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 1rem;
  max-width: max-content;
}

.reporting .manage-actions p {
  line-height: 34px;
}

.reporting .manage-actions [type="submit"] {
  height: 34px;
  padding: .25rem 1rem;
  font-size: 16px;
}

.scroll-wrapper {
  max-height: calc(100vh - 375px);
  overflow-y: scroll;
}

.scroll-wrapper.full {
  max-height: 100%;
}

.admin-table {
  width: 100%;
  overflow-y: scroll;
}

.admin-table th {
  text-align: left;
  background-color: #1167ac;
  color: #fff;
  position: sticky;
  top: 0;
  padding: .8rem .5rem;
  white-space: nowrap;
}

.admin-table th:hover {
  cursor: pointer;
}

.admin-table td {
  background-color: unset;
  padding: .5rem;
  text-align: left;
  vertical-align: middle;
}

.admin-table tr:not(.header) /* .member */ {
  cursor: pointer;
}

/* .member .member.light-stripe, */
.admin-table tr.light-stripe {
  border-bottom: 1px solid rgba(0, 0, 0, .14);
}

/* .members .member.dark-stripe, */
.admin-table tr.dark-stripe {
  background-color: rgba(0, 0, 0, .05);
  border-bottom: 1px solid rgba(0, 0, 0, .1);
}

/* .members .member:hover, */
.admin-table tr:not(.header):hover {
  background-color: rgba(31, 148, 207, .2);
}

/* .members .match, */
.admin-table .match {
  background-color: rgba(31, 148, 207, .2);
}

#search-error-text {
  margin: 0;
  padding: 5px;
}

#search-input {
  flex: 1 0 auto;
  height: 52px;
  width: auto;
  min-width: 200px;
}

.manage-message:not(:empty) {
  padding: 1rem 5px 1rem 5px;
  color: #1167ac;
}

.admin-table tr.hidden {
  display: none;
}

.admin-table tr.filter-hidden {
  display: none;
}

.admin-table tr td {
  flex: 0 0 50%;
}

.admin-table .row-number {
  font-size: 10px;
  color:rgba(0,0,0,.3);
}

.admin-table {
  counter-reset: custom-counter;
}

/* .members .member:not(.hidden), */
.admin-table tr:not(.hidden):not(.header) {
  counter-increment: custom-counter;
}

/* .members .member:not(.hidden) .row-number::after, */
.admin-table tr:not(.hidden):not(.header) .row-number::after {
  content: counter(custom-counter);
}

@media (max-width: 767px) {
  .manage-actions {
    justify-content: flex-start;
  }

  #search-input {
    margin-bottom: 1rem;
  }

  .manage-actions fieldset {
    margin-left: 0;
  }

  .manage-actions svg {
    height: 44px;
  }
}

.admin-table button {
  padding-bottom: 0;
}

.admin-table svg {
  width: 20px;
  height: 20px;
  fill: #C0450C;
  pointer-events: none;
}

.admin-table button:focus svg,
.admin-table button:hover svg {
  fill: #1167ac;
}

.members .registration.balance-outstanding {
  background-color: rgba(255, 0, 0, .1);
}

.members .registration.processing {
  pointer-events: none;
}

.members .registration .email-certificate {
  flex-direction: row-reverse;
}

.members .registration .email-certificate .email-certificate-button {
  padding: 0.5rem;
  width: 175px;
  text-align: center;
  white-space: nowrap;
  transition: background 0.3s;
}

.resend {
  background-color: #707070;
}

.error {
  color: #ff0000;
}

.success {
  background-color: #0cc85b;
}

.members .registration .email-certificate .email-certificate-button:hover {
  background-color: #1167ac;
}

.reporting .something {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  gap: 3rem;
}

.reporting .something > div {
  min-width: 200px;
}

.reporting .something h2 {
  margin-bottom: 0;
  padding-top: 0;
}

.reporting .something h3 {
  margin: 0;
}

/****************************************
* Reset
****************************************/

.password .button {
  font-size: 20px;
}

.password p + ul {
  margin-bottom: 1rem;
}

.password li {
  list-style: disc;
  margin-left: 2rem;
}

/****************************************
* Edit
****************************************/

h2.always-hidden {
  display: none;
}

@media (max-width: 575px) {
  .edit-form .is-6--phone {
    padding: 0;
  }
}

/****************************************
* Account
****************************************/

.account h1 {
  margin-bottom: 3rem;
}

.account .bar {
  overflow: auto;
}

.main-text > h2 {
  padding-top: 0;
}

@media (max-width: 767px) {
  .account .bar {
    background-color: transparent;
    padding: 0;
  }

  .accordian .heading,
  .main-text .column {
    padding-right: 0;
    padding-left: 0;
  }
}

/****************************************
* Misc.
****************************************/

.margin-auto {
  margin: auto;
}

.padding-top-xxs {
  padding-top: .5rem;
}

/****************************************
* Skip to content
****************************************/

.skip {
  position: absolute;
  top: -1000px;
  left: -1000px;
  height: 1px;
  width: 1px;
  text-align: left;
  overflow: hidden;
}

a.skip:active,
a.skip:focus,
a.skip:hover {
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  overflow: visible;
}

/****************************************
* Reveal password button
****************************************/

.reveal-password {
  position: relative;
}

.reveal-password input {
  padding-right: 34px;
}

.reveal-password button {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  right: 0;
  background-color: transparent;
  border: none;
  width: 34px;
  height: 34px;
  padding: 0;
}

.reveal-password svg,
.reveal-password button > div {
  width: 20px;
  height: 20px;
}

.reveal-password svg {
  fill: #58595b;
}

/****************************************
* Join form
****************************************/

.join-form h4 {
  margin: 0 0 1rem 0;
  font-weight: normal;
}

.join-form .product + .row h4 {
  margin-top: 1.5rem;
}

/* .join-form hr {
  margin: 2rem 0;
}

.join-form hr + h2 {
  padding-top: 0;
} */

.button.renew-nation,
.button.renew-state
{
  display: inline-block;
  width: auto;
  padding: 0.75rem 0.5rem;
}

/****************************************
* Screen readers
****************************************/

.sr-text {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
}

/*****************************************
* State prices
*****************************************/

.clone.level {
  border-top: 1px solid #ededed;
}

.clone.level,
.clone.send-to-email {
  position: relative;
}

.clone.level > .row {
  padding: 1rem 0;
}

.clone.level .row input {
  margin: 0;
}

.add-clone.button {
  background-color: #1f94cf;
  width: auto;
  font-size: 20px;
  transition: background-color .4s ease;
}

.add-clone.button:focus,
.add-clone.button:hover {
  background-color: #1167ac;
}

.remove-clone.button {
  position: absolute;
  right: -8px;
  top: 5px;
  border-radius: 50%;
  background-color: #c0450c;
  width: 25px;
  height: 25px;
  padding: 0;
  transition: background-color .4s ease;
}

.remove-clone.button:focus,
.remove-clone.button:hover {
  background-color: #1167ac;
}

.multiple-levels-inputs .add-clone.button,
.send-to-emails-inputs .add-clone.button {
  padding: .75rem;
  font-size: 14px;
}

.send-to-emails-inputs .add-clone.button {
  margin-top: 1rem;
}

.clone.level .remove-clone.button::after,
.clone.send-to-email .remove-clone.button::after {
  content: '\f00d';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font: normal normal 12px/1em 'Font Awesome';
}

.clone.send-to-email .remove-clone.button {
  right: 8px;
}

/****************************************
* Password policy
****************************************/

.password-wrapper {
  position: relative;
}

.password-policy {
  position: absolute;
  top: calc(100% - .5rem);
  left: 0;
  z-index: 1;
  box-shadow: 3px 4px 10px rgba(0, 0, 0, .1);
  border-radius: 10px;
  background-color: #ffffff;
  padding: 1rem;
}

.password-policy.bottom-align {
  top: auto;
  bottom: 58px;
}

.password-policy .title {
  margin-bottom: .5rem;
  font-weight: 700;
}

.password-policy .req {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.password-policy .req + .req {
  margin-top: .5rem;
}

.password-policy .checkbox {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #c02d00;
  border-radius: 50%;
  width: 20px;
  height: 20px;
}

.password-policy .checkbox svg {
  width: 10px;
  height: 10px;
  fill: #c02d00;
}

.password-policy .checkbox.on {
  border-color: #00c066;
}

.password-policy .checkbox.on svg {
  fill: #00c066;
}

.password-policy p {
  margin: 0;
  white-space: nowrap;
}

/****************************************
* Checkout
****************************************/

.checkout .bar {
  display: inline-block;
}

.checkout .grid {
  display: grid;
  grid-template-columns: 1fr 20px 50px;
  gap: 1rem;
}

.checkout .checkout-total-section .grid {
  grid-template-columns: 1fr auto;
}

.checkout h3,
.checkout p {
  margin: 0;
}

.checkout .price {
  text-align: right;
}

.checkout .memberships + .details:not(:empty),
.checkout [data-item="xMEMBERSHIP_DISCOUNT"] {
  margin-top: .35rem;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  padding-top: .25rem;
}

/****************************************
* Credit Card
****************************************/

.secure-info {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  background-color: #e7f4e6;
  border-radius: 3px;
  padding: 1rem;
}

.secure-info svg {
  margin-right: 5px;
  width: 15px;
  height: 15px;
  fill: #5cbc1d;
}

.secure-info p {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 0;
  font-size: 12px;
}

.credit-card-logos {
  display: flex;
  max-width: 55%;
  margin-top: -0.5rem;
  margin-left: auto;
}

.credit-card-logos svg {
  margin: 0 .25rem .25rem;
  fill: #cacaca;
  height: 30px;
  width: 30px;
}

.credit-card-logos > div.selected svg {
  fill: #F28D20;
}


/*****************************************
* Drivers ed solutions row
*****************************************/

.drivers-ed-solutions-row {
  background-color: #efefef;
  padding: 1rem 2rem;
  width: 100%;
}

.drivers-ed-solutions-row img {
  margin-bottom: 0;
  width: 100%;
  max-width: 700px;
}