@keyframes hover-color {
      0% {
            border-color: silver
      }

      to {
            border-color: #3e97eb
      }
}

.checkout-wrapper {
      margin: 0 auto;
      max-width: 500px
}

.magic-checkbox,
.magic-radio {
      display: none;
      position: absolute
}

.magic-checkbox[disabled],
.magic-radio[disabled] {
      cursor: not-allowed
}

.magic-checkbox+label,
.magic-radio+label {
      cursor: pointer;
      display: block;
      padding-left: 30px;
      position: relative;
      vertical-align: middle
}

.magic-checkbox+label:hover:before,
.magic-radio+label:hover:before {
      animation-duration: .4s;
      animation-fill-mode: both;
      animation-name: hover-color
}

.magic-checkbox+label:before,
.magic-radio+label:before {
      border: 1px solid silver;
      content: "";
      display: inline-block;
      height: 20px;
      left: 0;
      position: absolute;
      top: 0;
      width: 20px
}

.magic-checkbox+label:after,
.magic-radio+label:after {
      content: "";
      display: none;
      position: absolute
}

.magic-checkbox[disabled]+label,
.magic-radio[disabled]+label {
      color: #e4e4e4;
      cursor: not-allowed
}

.magic-checkbox[disabled]+label:after,
.magic-checkbox[disabled]+label:before,
.magic-checkbox[disabled]+label:hover,
.magic-radio[disabled]+label:after,
.magic-radio[disabled]+label:before,
.magic-radio[disabled]+label:hover {
      cursor: not-allowed
}

.magic-checkbox[disabled]+label:hover:before,
.magic-radio[disabled]+label:hover:before {
      animation-name: none;
      border: 1px solid #e4e4e4
}

.magic-checkbox[disabled]+label:before,
.magic-radio[disabled]+label:before {
      border-color: #e4e4e4
}

.magic-checkbox:checked+label:before,
.magic-radio:checked+label:before {
      animation-name: none
}

.magic-checkbox:checked+label:after,
.magic-radio:checked+label:after {
      display: block
}

.magic-radio+label:before {
      border-radius: 50%
}

.magic-radio+label:after {
      background: #3e97eb;
      border-radius: 50%;
      height: 8px;
      left: 6px;
      top: 6px;
      width: 8px
}

.magic-radio:checked+label:before {
      border: 1px solid #3e97eb
}

.magic-radio:checked[disabled]+label:before {
      border: 1px solid #c9e2f9
}

.magic-radio:checked[disabled]+label:after {
      background: #c9e2f9
}

.magic-checkbox+label:before {
      border-radius: 3px
}

.magic-checkbox+label:after {
      border: 2px solid #fff;
      border-left: 0;
      border-top: 0;
      box-sizing: border-box;
      height: 12px;
      left: 7px;
      top: 2px;
      transform: rotate(45deg);
      width: 6px
}

.magic-checkbox:checked+label:before {
      background: #3e97eb;
      border: #3e97eb
}

.magic-checkbox:checked[disabled]+label:before {
      background: #c9e2f9;
      border: #c9e2f9
}

.payment_collapse_wrap {
      display: none;
      transition: .25s
}

.payment_collapse_wrap>p {
      margin-bottom: 0;
      padding-left: 30px
}

.collapse.show,
.payment_collapse_wrap.active {
      display: block
}

.list-group .list-group-item+.list-group-item {
      border-top-width: 1px
}

.list-group .list-group-item {
      border-bottom: none
}

.list-group .list-group-item:last-child {
      border-bottom: 1px solid rgba(0, 0, 0, .125)
}

@media screen and (max-width:768px) {
      .card-checkout .form-group .col-sm-9 {
            margin-bottom: 10px
      }

      .card-checkout .form-group.mb-3 {
            margin-bottom: 0 !important
      }

      .card-checkout .form-group.mb-3:first-child {
            margin-bottom: 1rem !important
      }

      .card-checkout .form-group.mb-3 .form-control {
            margin-bottom: 15px
      }
}

@media(max-width:450px) {
      .stripe-card-wrapper {
            margin: 20px auto;
            max-width: 80vw;
            overflow-x: hidden;
            width: 100%
      }

      .stripe-card-wrapper>.jp-card-container {
            transform: scale(.625);
            transform-origin: left center
      }

      .stripe-card-wrapper>.jp-card-container .jp-card {
            min-width: 100%
      }
}

.payment-method-item {
      padding: .75rem;
      position: relative
}

.payment-method-item .payment-method-logo {
      inset-inline-end: .5rem;
      position: absolute;
      text-align: end;
      top: .5rem;
      width: 4rem
}

.payment-method-item .payment-method-logo img {
      height: auto;
      max-height: 38px;
      max-width: 100%
}

/* style2 */
.list_payment_method {
      display: flex;
      align-items: center;
      justify-content: center;
      background: #fff 100% 0% no-repeat padding-box;
      border-radius: 25px !important;
      position: relative;
      border: none;
      color: #B0B8BC;
      width: 100%;
      margin: 0 auto;
      text-align: center;
      flex-direction: row;
      list-style: none !important;
}

.radio-buttons .custom-control {
      width: 50%;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
}


.custom-radio input {
      display: none;
}

.radio-btn {
      margin: 10px;
      width: 220px;
      height: 150px;
      border: 3px solid transparent;
      display: inline-block;
      border-radius: 10px;
      position: relative;
      text-align: center;
      box-shadow: 0 0 20px #c3c3c367;
      cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
      .radio-btn {
            width: 130px;
            height: 130px;
            margin: 8px;
      }
}

@media (max-width: 480px) {
      .radio-btn {
             /*width: 100%; */
            height: auto;
            padding: 4px;
      }

      .hobbies-icon img {
            max-width: 30px;
            height: auto;
      }

      .hobbies-icon h3 {
            font-size: 16px;
      }
      .list_payment_method {
            flex-direction: row;
      }
}

.radio-btn>svg {
      color: #ffffff;
      background-color: var(--primary-color);
      width: 30px;
      position: absolute;
      top: -15px;
      left: 50%;
      transform: translateX(-50%) scale(2);
      border-radius: 50px;
      padding: 3px;
      transition: 0.5s;
      pointer-events: none;
      opacity: 0;
      z-index: 222;
}

.radio-btn .hobbies-icon {
      height: 100%;
      display: flex;
      align-items: center;
      flex-direction: column;
}

.radio-btn .hobbies-icon img {
      display: block;
      width: 100%;
      margin-bottom: 20px;
      width: 60px;
      margin: auto;
      margin-bottom: 5px;
      margin-top: 25px;
}

.radio-btn .hobbies-icon svg {
      color: var(--primary-color);
      line-height: 80px;
      font-size: 60px;
}

.radio-btn .hobbies-icon h3 {
      color: #555;
      font-size: 18px;
      font-weight: 300;
      text-transform: uppercase;
      letter-spacing: 1px;
}

.custom-radio input:checked+.radio-btn {
      border: 3px solid var(--primary-color);
}

.custom-radio input:checked+.radio-btn>svg {
      opacity: 1;
      transform: translateX(-50%) scale(1);
}