/* resets */
*,
:after,
:before {
  box-sizing: border-box;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  margin: 0;

  -webkit-appearance: none;
}

/* Firefox */
input[type='number'] {
  -moz-appearance: textfield;
}

/* ========== */

body {
  font-family: 'Lato';
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  color: #000;
  background: url(./background.jpg) center center no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

.header {
  padding-right: 30px;
  padding-left: 30px;
  background: #060043;
  box-shadow: 0 6px 6px rgb(0 0 0 / 16%);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.header-content-event {
  display: flex;
  align-items: center;
}

.header-content-event-logo {
  overflow: hidden;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  margin-right: 32px;
  border-radius: 50%;
}

.header-content-event-logo picture {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.header-content-event-logo img {
  width: 100%;
  height: 100%;

  object-position: center;
  object-fit: cover;
}

.header-content-event-title {
  font-size: 21px;
  font-weight: 700;
  line-height: 25px;
  text-align: left;
  letter-spacing: 0;
  color: #fff;
}

.header-content-logo {
  flex-shrink: 0;
}

.header-content-logo img {
  max-height: 20px;
}

.main-content {
  display: flex;
  align-items: flex-start;
  flex-direction: row-reverse;
  flex-grow: 1;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 30px 30px;
}

.main-content-image {
  flex-shrink: 0;
  width: 480px;
  margin-left: 20px;
}

.main-content-image > picture {
  display: inline-block;
  max-width: 480px;
  padding: 20px;
  background: rgba(217, 217, 217, 0.4);
}

.main-content-info {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}

.content-info {
  /*  */
}

.content-info h1 {
  font-size: 38px;
  font-weight: 700;
  font-style: 400;
  line-height: 46px;
  margin-bottom: 16px;
  color: #000;
}

.content-info h2 {
  font-size: 21px;
  font-weight: 700;
  line-height: 25px;
  margin-bottom: 24px;
}

.content-info p {
  font-size: 16px;
  font-weight: 400;
  line-height: 19px;
}

.available-tickets {
  /*  */
}

.available-tickets h2 {
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
  margin-bottom: 12px;
  color: #000;
}

.available-tickets-list {
  display: flex;
  flex-wrap: wrap;
  margin-top: -6px;
  margin-bottom: 18px;
  padding: 0;
  list-style-type: none;
}

.ticket-item {
  font-size: 13px;
  font-weight: 400;
  line-height: 32px;
  min-height: 32px;
  margin-top: 6px;
  margin-right: 12px;
  margin-bottom: 6px;
  padding: 0 12px;
  color: #060043;
  border-radius: 16px;
  background: rgba(6, 0, 67, 0.1);
}

.ticket-item:last-child {
  margin-right: 0;
}

.price {
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
  display: inline-block;
  margin-left: 24px;
}

.ticket-item.ticket-item--sold {
  opacity: 0.7;
  color: #575962;
}

.customer-info {
  /*  */
}

.customer-info h2 {
  font-size: 21px;
  font-weight: 700;
  line-height: 25px;
  margin-bottom: 12px;
  color: #000;
}

.customer-info-hint {
  font-size: 10px;
  font-weight: 400;
  line-height: 12px;
  margin-bottom: 4px;
  text-align: right;
  color: #000;
}

.form-row {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.form-row label {
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
  flex-shrink: 0;
  width: 80px;
  margin-right: 24px;
  text-align: right;
}

.form-row > div {
  width: 100%;
}

.form-row input:not([type='checkbox']) {
  font-size: 13px;
  font-weight: 400;
  line-height: 40px;
  line-height: 16px;
  width: 100%;
  height: 40px;
  padding: 0 16px;
  color: #575962;
  border: 1px solid #ebedf2;
  border-radius: 2px;
  outline: none;
  background: #fff;
}

.form-row select {
  font-size: 13px;
  font-weight: 400;
  line-height: 40px;
  line-height: 16px;
  width: 100%;
  height: 40px;
  padding: 0 4px;
  color: #575962;
  border: 1px solid #ebedf2;
  border-radius: 2px;
  outline: none;
  background: #fff;
}

input[disabled] {
  color: #000;
  background-color: #ebedf2;
}

.form-row-double .form-row {
  width: 50%;
}

.form-row-double {
  display: flex;
  align-items: center;
}

.form-row-checkbox {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 20px 0;
}

.form-row .form-row-checkbox input {
  cursor: pointer;
}

.form-row .form-row-checkbox label {
  width: auto;
  margin-left: 10px;
  cursor: pointer;
}

.form-row-checkbox a {
  color: #ffd22b;
}

.select-tickets {
  /*  */
}

.section-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
}

.section-top h2 {
  font-size: 21px;
  font-weight: 700;
  line-height: 25px;
  margin-bottom: 0;
  color: #000;
}

.select-tickets-timer {
  font-size: 11px;
  font-weight: 400;
  line-height: 13px;
  text-align: right;
}

.select-tickets-timer span {
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
  display: inline-block;
  margin-left: 4px;
}

.qr-timer {
  margin-top: 10px;
  text-align: center;
}

.select-tickets-list {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.select-tickets-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.select-tickets-item-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
  width: 100%;
  color: #575962;
}

.select-tickets-item-price {
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
  flex-shrink: 0;
  margin-left: 16px;
  color: #060043;
}

.select-tickets-item-amount {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 16px;
}

.select-tickets-item-amount > input {
  font-size: 17px;
  font-weight: 700;
  line-height: 20px;
  width: 40px;
  text-align: center;
  color: #060043;
  border: none;
  outline: none;
  background: none;
}

.amount-minus {
  font-size: 24px;
  line-height: 24px;
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 5px;
  cursor: pointer;
  color: #ffd22b;
}

.amount-plus {
  font-size: 24px;
  line-height: 24px;
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-left: 5px;
  cursor: pointer;
  color: #ffd22b;
}

.amount-minus.disabled,
.amount-plus.disabled {
  cursor: default;
  color: #c4c4c4;
}

.select-tickets-item.select-tickets-item--sold {
  padding: 12px 0;
  opacity: 0.5;
}

.select-tickets-item-sold {
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
  flex-shrink: 0;
  color: #575962;
}

.select-tickets-total {
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 11px;
  text-align: right;
  color: #000;
  border-top: 1px solid rgba(87, 89, 98, 0.3);
}

.can-add {
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
  position: absolute;
  top: 10px;
  left: 0;
}

.can-add span {
  font-size: 16px;
  font-weight: 700;
  line-height: 19px;
}

.select-tickets-total .total-price {
  font-size: 16px;
  font-weight: 700;
  line-height: 19px;
  margin-left: 45px;
}

.select-tickets-total .price-block {
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
  margin-left: 52px;
}

.conv-fee-block,
.vat-block {
  margin-bottom: 10px;
}

.payment-info {
  /*  */
}

.payment-info .form-row label {
  width: 92px;
}

.exp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.exp-row > * {
  width: 48%;
}

.exp-row select {
  text-align: center;
}

.form-row.cvv-row > div {
  position: relative;
  display: flex;
  align-items: center;
}

.form-row.cvv-row > div > input {
  width: 110px;
  margin-right: 10px;
  color: transparent !important;

  caret-color: #060043;
}

.cvv-placeholder {
  font-size: 13px;
  font-weight: 400;
  line-height: 40px;
  position: absolute;
  height: 40px;
  padding: 0 16px;
  pointer-events: none;
}

.cvv-help {
  cursor: pointer;
  color: #4cb5ae;
  border: none;
  outline: none;
  background: none;
}

.toggle-cvv {
  font-size: 15px;
  position: relative;
  z-index: 10;
  margin-right: 12px;
  margin-left: -36px;
  cursor: pointer;
  color: #4cb5ae;
}

input#securityCode::-moz-selection {
  color: transparent;
  background: transparent;
}

input#securityCode::selection {
  color: transparent;
  background: transparent;
}

#signature {
  position: relative;
  max-width: 300px;
  margin: 0 auto;
}

#signature canvas {
  width: 250px;
  height: 250px;
  border: 1px solid #000;
}

#signature-pad-clear {
  cursor: pointer;
  color: #060043;
  border: none;
  outline: none;
  background: none;
}

.signature-top {
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.payment-info-total {
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 11px;
  color: #000;
  border-top: 1px solid rgba(87, 89, 98, 0.3);
}

.payment-info-total .total-price {
  font-size: 16px;
  font-weight: 700;
  line-height: 19px;
  margin-left: 45px;
}

.success-info {
  /*  */
}

.success-info h2 {
  font-size: 38px;
  font-weight: 700;
  line-height: 46px;
  margin-bottom: 16px;
}

.success-info h3 {
  font-size: 21px;
  font-weight: 700;
  line-height: 25px;
  margin-bottom: 24px;
}

.success-info p {
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
  margin-top: -16px;
  margin-bottom: 24px;
}

.success-info-list {
  padding: 0;
  list-style-type: none;
}

.success-info-list-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.success-info-list-item > span:first-child {
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
  flex-shrink: 0;
  width: 150px;
  margin-right: 20px;
  text-align: right;
  color: #575962;
}

.success-info-list-item.links {
  align-items: flex-start;
}

.item-data {
  font-size: 16px;
  font-weight: 700;
  line-height: 19px;
  text-align: left;
  letter-spacing: 0;
}

.item-data.item-data--tickets > span {
  display: block;
  margin-bottom: 12px;
}

.return-link {
  font-size: 16px;
  font-weight: 700;
  line-height: 19px;
  cursor: pointer;
  text-decoration: none;
  color: #ffd22b;
}

.item-data.item-data--tickets .item-data--ticket-link {
  cursor: pointer;
  text-decoration: none;
  color: #ffd22b;
}

.controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

.control-button {
  font-size: 13px;
  font-weight: 700;
  line-height: 44px;
  line-height: 16px;
  width: 194px;
  height: 44px;
  cursor: pointer;
  text-align: center;
  text-align: center;
  letter-spacing: 0;
  color: #fff;
  border: none;
  border-radius: 22px;
  outline: none;
  background-color: #060043;
}

.control-button-back {
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
  cursor: pointer;
  color: #060043;
  border: none;
  outline: none;
  background: none;
}

.hide {
  display: none;
}

.control-button.disabled {
  opacity: 0.5;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 74px;
  padding: 0 30px;
}

.footer-text {
  font-size: 10px;
  font-weight: 400;
  line-height: 12px;
  margin-right: 16px;
  text-align: left;
  color: #575962;
}

.footer-logo img {
  max-height: 34px;
}

@media screen and (max-width: 1100px) {
  body {
    background-position: left center;
  }

  .main-content {
    flex-direction: column;
    flex-grow: 0;
    padding: 0 20px;
  }

  .main-content-image {
    width: 100%;
    margin-bottom: 20px;
    margin-left: 0;
    text-align: center;
  }
}

@media screen and (max-width: 660px) {
  .header-content,
  .form-row-double,
  .form-row {
    flex-direction: column;
  }

  .header-content-logo {
    margin-top: 5px;
  }

  .payment-info .form-row label,
  .form-row label {
    width: 100%;
    margin-right: 0;
    margin-bottom: 5px;
    text-align: left;
  }

  .form-row-double .form-row {
    width: 100%;
  }

  .payment-info .exp-row-wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .payment-info .exp-row-wrap .form-row {
    width: 100%;
  }
}

@media screen and (max-width: 395px) {
  .section-top,
  .success-info-list-item {
    flex-direction: column;
  }

  .section-top > *,
  .success-info-list-item > span:first-child {
    width: 100%;
    margin-right: 0;
    margin-bottom: 5px;
    text-align: left;
  }

  .item-data {
    width: 100%;
  }

  .payment-info .exp-row-wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .payment-info .exp-row-wrap .form-row {
    width: 100%;
  }
}

.has-error input,
.has-error select {
  color: #f25961 !important;
  border-color: #f25961 !important;
}

.has-error input,
.has-error select {
  color: #f25961 !important;
  border-color: #f25961 !important;
}

.has-error input[type='checkbox'] {
  outline: 1px solid #f25961 !important;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.preloader-wrap {
  position: fixed;
  z-index: 11111;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
}

.preloader {
  position: fixed;
  z-index: 11111;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  transition: all 0.5s ease-in;
  transform: translate(-50%, -50%);
  animation-name: rotate;
  animation-duration: 0.8s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  border: solid 2px #060043;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
}

#recaptcha span + div {
  justify-content: center;
}

#recaptcha.has-error > span + div > div {
  border: 1px solid #f25961 !important;
}

/* Platform */
body.cng,
body.cng .content-info h1,
body.cng .available-tickets h2,
body.cng .customer-info h2,
body.cng .customer-info-hint,
body.cng .section-top h2,
body.cng .select-tickets-item-title,
body.cng input[disabled],
body.cng .payment-info-total,
body.cng .select-tickets-total {
  color: #444;
}

body.cng .preloader {
  border: solid 2px #f36522;
  border-right-color: transparent;
  border-bottom-color: transparent;
}

body.cng header.header {
  background: #99ca3c;
}

body.cng .content-info h2,
body.cng .amount-plus:not(.disabled),
body.cng .amount-minus:not(.disabled),
body.cng .can-add span,
body.cng .select-tickets-timer span,
body.cng .control-button-back,
body.cng #signature-pad-clear,
body.cng .select-tickets-total .total-price,
body.cng .payment-info-total .total-price,
body.cng .return-link,
body.cng .form-row-checkbox a,
body.cng .success-info-paid-amount,
body.cng .item-data.item-data--tickets .item-data--ticket-link {
  color: #f36522;
}

body.cng .select-tickets-total .price-block {
  color: #516f14;
}

body.cng .ticket-item:not(.ticket-item--sold) {
  font-weight: bold;
  color: #444;
  background-color: rgba(153, 202, 60, 0.2);
}

body.cng .ticket-item:not(.ticket-item--sold) .price,
body.cng .select-tickets-item-price {
  color: #516f14;
}

body.cng .control-button {
  background: #f36522;
}

body.cng .select-tickets-timer,
body.cng .can-add {
  color: rgba(0, 0, 0, 0.36);
}

/* Custom v1 */
body.custom-v1,
body.custom-v1 .content-info h1,
body.custom-v1 .available-tickets h2,
body.custom-v1 .customer-info h2,
body.custom-v1 .customer-info-hint,
body.custom-v1 .section-top h2,
body.custom-v1 .select-tickets-item-title,
body.custom-v1 input[disabled],
body.custom-v1 .payment-info-total,
body.custom-v1 .select-tickets-total {
  color: #444;
}

body.custom-v1 .preloader {
  border: solid 2px #ea3323;
  border-right-color: transparent;
  border-bottom-color: transparent;
}

body.custom-v1 header.header {
  background: #213d75;
}

body.custom-v1 .content-info h2,
body.custom-v1 .can-add span,
body.custom-v1 .select-tickets-timer span,
body.custom-v1 #signature-pad-clear,
body.custom-v1 .select-tickets-total .total-price,
body.custom-v1 .payment-info-total .total-price,
body.custom-v1 .item-data.item-data--tickets .item-data--ticket-link {
  color: #ea3323;
}

body.custom-v1 .return-link,
body.custom-v1 .form-row-checkbox a,
body.custom-v1 .control-button-back,
body.custom-v1 .amount-plus:not(.disabled),
body.custom-v1 .amount-minus:not(.disabled) {
  color: #3579f6;
}

body.custom-v1 .ticket-item:not(.ticket-item--sold) {
  font-weight: bold;
  color: #444;
  background-color: rgba(53, 121, 246, 0.2);
}

body.custom-v1 .ticket-item:not(.ticket-item--sold) .price,
body.custom-v1 .select-tickets-item-price {
  color: #ea3323;
}

body.custom-v1 .control-button {
  background: #3579f6;
}

body.custom-v1 .select-tickets-timer,
body.custom-v1 .can-add {
  color: rgba(0, 0, 0, 0.36);
}

/* alert */

.alert {
  position: relative;
  z-index: 11111 !important;
  margin-bottom: 1rem !important;
  padding: 0.75rem 2em 0.75em 1.25rem !important;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}

.alert-heading {
  color: inherit;
}

.alert-link {
  font-weight: 700;
}

.alert-dismissible {
  padding-right: 4rem;
}

.alert-dismissible .close {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.75rem 1.25rem;
  color: inherit;
}

.alert-primary {
  color: #004085;
  border-color: #b8daff;
  background-color: #cce5ff;
}

.alert-primary hr {
  border-top-color: #9fcdff;
}

.alert-primary .alert-link {
  color: #002752;
}

.alert-secondary {
  color: #383d41;
  border-color: #d6d8db;
  background-color: #e2e3e5;
}

.alert-secondary hr {
  border-top-color: #c8cbcf;
}

.alert-secondary .alert-link {
  color: #202326;
}

.alert-success {
  color: #155724;
  border-color: #c3e6cb;
  background-color: #d4edda;
}

.alert-success hr {
  border-top-color: #b1dfbb;
}

.alert-success .alert-link {
  color: #0b2e13;
}

.alert-info {
  color: #0c5460;
  border-color: #bee5eb;
  background-color: #d1ecf1;
}

.alert-info hr {
  border-top-color: #abdde5;
}

.alert-info .alert-link {
  color: #062c33;
}

.alert-warning {
  color: #856404;
  border-color: #ffeeba;
  background-color: #fff3cd;
}

.alert-warning hr {
  border-top-color: #ffe8a1;
}

.alert-warning .alert-link {
  color: #533f03;
}

.alert-danger {
  color: #721c24;
  border-color: #f5c6cb;
  background-color: #f8d7da;
}

.alert-danger hr {
  border-top-color: #f1b0b7;
}

.alert-danger .alert-link {
  color: #491217;
}

.alert-light {
  color: #818182;
  border-color: #fdfdfe;
  background-color: #fefefe;
}

.alert-light hr {
  border-top-color: #ececf6;
}

.alert-light .alert-link {
  color: #686868;
}

.alert-dark {
  color: #1b1e21;
  border-color: #c6c8ca;
  background-color: #d6d8d9;
}

.alert-dark hr {
  border-top-color: #b9bbbe;
}

.alert-dark .alert-link {
  color: #040505;
}

.close {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  float: right;
  opacity: 0.5;
  color: #000;
  text-shadow: 0 1px 0 #fff;
}

.close:not(:disabled):not(.disabled) {
  cursor: pointer;
}

.close:not(:disabled):not(.disabled):focus,
.close:not(:disabled):not(.disabled):hover {
  text-decoration: none;
  opacity: 0.75;
  color: #000;
}

button.close {
  padding: 0;
  border: 0;
  background-color: transparent;

  -webkit-appearance: none;
}

.modal-header .close {
  margin: -1rem -1rem -1rem auto;
  padding: 1rem;
}

.alert-dismissible .close {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.75rem 1.25rem;
  color: inherit;
}

#event-products {
  margin-bottom: 20px;
  padding: 25px 25px 25px 0;
  background: #f9fcff;
}

.product-row {
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.product-row::after {
  position: absolute;
  bottom: 0;
  left: 20px;
  width: calc(100% - 20px);
  height: 1px;
  content: '';
  background: #ebedf2;
}

.product-row:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

.product-row:last-child::after {
  display: none;
}
