@keyframes blink {
  0% {
    border-color: rgba(235, 50, 50, 1);
  }

  50% {
    border-color: #dddf;
  }

  100% {
    border-color: rgba(235, 50, 50, 1);
  }
}

.button-blue.do-submit {
  min-width: 302px;
  text-align: center;
}

.row.same-as {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
  color: #111;
}

.vine-window-container .row.same-as {
  margin: 0 0 -3px;
}

.row.same-as input[type="checkbox"] {
  margin: 0 10px 0 0;
}

.vine-window-container .row.same-as input[type="checkbox"] {
  margin: 0 10px;
}

.row.same-as span {
  padding: 1px 0 0;
  font-size: 0.9rem;
}

#confirm-national-trainer {
  display: flex;
  align-items: center;
  float: right;
  height: 42px;
  margin-right: 0;
  line-height: 42px;
  color: #111;
  cursor: pointer;
}

#confirm-national-trainer input {
  display: block;
  width: 165px;
  height: 42px;
  padding: 0 5px;
  margin: 0;
  font-size: 1rem;
  line-height: 42px !important;
  color: #111;
  text-shadow: none;
  background: #f8f8f8;
  border: 1px solid #ddd;
  border-radius: 0;
  -moz-transition: all 0.75s ease-in-out;
  -webkit-transition: all 0.75s ease-in-out;
  -o-transition: all 0.75s ease-in-out;
  -ms-transition: all 0.75s ease-in-out;
  transition: all 0.75s ease-in-out;
  -moz-animation: blink normal 2.25s infinite ease-in-out;
  -webkit-animation: blink normal 2.25s infinite ease-in-out;
  -ms-animation: blink normal 2.25s infinite ease-in-out;
  animation: blink normal 2.25s infinite ease-in-out;
}

.button-unconfirmed-national-trainer {
  color: #aaa !important;
  cursor: not-allowed !important;
  background-image:
    repeating-linear-gradient(
      -45deg,
      transparent 0 5px,
      #fff 5px 10px
    );
}

.button-unconfirmed-national-trainer:hover {
  background-color: #eee !important;
}

#attendees {
  box-sizing: border-box;
  display: flex;
  flex-flow: row wrap;
  padding: 0;
  margin: 10px -20px 30px 0;
}

#attendees .column {
  box-sizing: border-box;
  width: 33.33%;
  min-width: 400px;
  padding: 0 20px 0 0;
  margin: 20px 0 0;
  font-size: 1rem;
  line-height: 1.5;
}

#attendees .area {
  box-sizing: border-box;
  height: 100%;
  background-color: #f9f9f9;
}

#attendees .roles {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  padding: 10px;
  font-size: 0.85em;
  color: #444;
  background-color: #f1f1f1;
  border-bottom: 2px solid #bbb;
}

#attendees .role {
  padding: 5px 10px;
  margin: 0 10px 0 0;
  background-color: #fff;
  border-radius: 999px;
}

#attendees .role i {
  font-style: normal;
}

#attendees .actions {
  display: flex;
  margin-left: auto;
  font-size: 20px;
  line-height: 1;
}

#attendees .actions .fa {
  margin-left: 12px;
  color: #777;
}

#attendees .actions .fa:hover {
  color: #444;
}

#attendees .address {
  box-sizing: border-box;
  padding: 10px;
  color: #333;
}

#attendees .details {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#attendees::after {
  box-sizing: border-box;
  width: 33.33%;
  height: 0;
  content: "";
}

#attendees .area:hover {
  background-color: #f1f1f1;
  border-color: #bbb;
}

#attendees .area.add {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 17px 20px;
  font-size: 1.5em;
  color: #777;
  text-decoration: none;
  cursor: pointer;
}

#attendees .area.add i {
  padding: 3px 15px 0 0;
  font-size: 1.3em;
  color: #aaa;
}

.types {
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  list-style: none;
}

.types li {
  display: flex;
  padding: 10px 0 0;
}

.types input {
  margin-right: 10px;
}

.types span:first-of-type {
  width: 135px;
}

#courses-list {
  padding: 0;
  margin: -15px 0 0;
}

#courses-list li {
  display: flex;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  list-style: none;
}

#courses-list li:not(.date) {
  padding: 3px;
  margin: 0;
  font-size: 0.85rem;
  border-bottom: 1px solid #eee;
  border-left: 1px solid #eee;
}

#courses-list li.date + li {
  border-top: 1px solid #eee;
}

#courses-list li.date {
  display: flex;
  align-items: center;
  padding: 10px;
  margin: 15px 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: normal;
  color: #111;
  background-color: #eee;
  background-image: none;
}

#courses-list li input[type="checkbox"] {
  display: block;
  padding: 0;
  margin: 0;
}

#courses-list .attendee-course-checkbox {
  align-self: center;
  padding: 0 10px 0 5px;
}

#courses-list .attendee-course-content {
  flex-grow: 1;
  align-self: center;
}

#courses-list .attendee-course-field {
  display: none;
  flex-basis: 100%;
}

#courses-list .attendee-course-field select,
#courses-list .attendee-course-field input[type="text"] {
  display: block;
  width: 300px;
  max-width: 100%;
  height: 36px;
  min-height: 36px;
  padding: 0 5px;
  margin: 5px;
  font-size: 0.9rem;
  line-height: 36px !important;
  color: #111;
  text-shadow: none;
  background: #f8f8f8;
  border: 1px none transparent;
  border-bottom: 2px solid #ddd;
  border-radius: 2px;
  transition: all ease-in-out 0.15s;
}

#fees-summary {
  min-width: 475px;
  margin: 30px 0;
  color: #111;
  background-color: #f9f9f9;
}

#fees-summary th,
#fees-summary td {
  padding: 5px 15px;
  line-height: 2rem;
}

#fees-summary thead th {
  border-bottom: 2px solid #ddd;
}

#fees-summary tfoot td {
  border-top: 2px solid #ddd;
}

#fees-summary .calc-item-qty {
  text-align: center;
}

#fees-summary .calc-item-total {
  text-align: right;
}

#fees-summary .sum-row {
  overflow: hidden;
}

#fees-summary .sum-name {
  float: left;
  width: 110px;
}

#fees-summary .sum-value {
  float: left;
}

#fees-summary .calc-order-total {
  font-weight: bold;
}

#window-attendee-form #wsc-error {
  margin-bottom: 15px;
}

@media (width >= 768px) {
  #window-attendee-form .scrollbox {
    max-height: 700px;
    overflow-x: auto;
  }
}

@media (width <= 767px) {
  #window-attendee-form .same-as {
    display: none;
  }

  #attendees .column {
    width: 100%;
    min-width: auto;
  }

  #courses-list li:not(.date) {
    border-right: 1px solid #eee;
  }

  #courses-list .attendee-course-content {
    align-self: center;
  }
}

@media (width <= 650px) {
  #fees-summary {
    min-width: 100%;
  }

  #attendees .area.add {
    font-size: 1.15em;
  }
}
