 #payment-option-card-container, #payment-option-paypal-container {
    display: table !important;
    padding: 10px 0;
  }
  #payment-option-paypal-container input[type='radio']+label {
      height: 40px;
      margin-top: 10px;
  }
  .ps_checkout-commander {
      display: block !important;
  }
  #payment-option-card-container .confirm-checkbox {
  }
  .ps_checkout_payment_item{
    box-shadow: 0 0 76px 1px rgba(0, 0, 0, 0.02);
    height: auto;
    margin-bottom: 12px;
    z-index: 10;
    position: relative;
    width: 100%;
    display: table;
  }
  .ps_checkout_payment_item .confirm-checkbox-link {
      color: rgb(27 150 222) !important;
      text-decoration: none;
      margin-left: 10px;
  }
  .ps_checkout_payment_item span {
    margin-left: 50px;
  }
  span.ps_checkout-text {
    margin-left: -8px;
}
  .ps_checkout_payment_item label {
    width: 100%;
    vertical-align: middle;
  }
  .ps_checkout-card-icon-secure {
      position: absolute;
      top: 0;
      right: 40%;
      width: 78px;
      height: 50px;
  }
  .ps_checkout-card-icon-secure img {
      width: 100%;
      height: 100%;
  }
  .js-payment-ps_checkout-card {
      position: relative;
  }
  .js-payment-ps_checkout-card .commander-button-block.paypal.enabled {
      opacity: 0;
      z-index: -1;
  }
  .js-payment-ps_checkout-card .commander-button-block.paypal {
      position: absolute;
      width: 100%;
      height: 100%;
      background-color: #ffffff;
      z-index: 1000;
      opacity: 0.4;
  }
  .ps_checkout-button {
      margin-bottom: 15px;
      width: 204px;
      height: 37px;
      margin-left: auto;
      margin-right: auto;
  }
  .four-x-banner-paypal-checkout{
      display: inline-block;   
      margin-left: 50px;
      position: absolute; 
      top: 8px;
  }
  .hidden {display: none;}
  .ps_checkout-mark{display: inline-block;}
  .paypal-mark {
    border:none !important;
    padding: unset !important;
    margin: unset !important;
  }
  .paypal-mark img {
    height: 34px !important;
    width: 124px !important;
  }
  .ps_checkout-paypal, .ps_checkout-card {
    display: unset !important;
  }
  #ps_checkout-notification-container {margin-top: 1rem;}
  .fintecture, .bankwire {
    display: none !important;
  }
  .payment_module:not(.main-div) {
    margin-top: 50px;
  }
  .ps_checkout-mark {
    margin-left: 30px;
    margin-right: 8.3%;
    display: inline-block;
    vertical-align: middle;
    width: 124px;
  }
  
  .ps_checkout-payment-option div.payment_module a {
    display: block;
    color: #9e9e9e;
    position: relative;
  }
  
  .pop-name {
      display: inline-block;
  }
  
  .payment-option-container {
    background-color: #fbfbfb;
    display: block;
    border: 1px solid #d6d4d4;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    padding: 33px 40px 34px 99px;
    margin-bottom: 10px;
  }
  
  .ps_checkout-payment-option div.payment_module .form-group {
    margin-left: 0;
    margin-right: 0;
  
    margin-bottom: 15px !important;
  }
  
  .ps_checkout-payment-option div.payment_module .form-group .form-control {
    max-width: initial !important;
  }
  
  .ps_checkout-payment-option div.payment_module.closed:first-child {}
  .ps_checkout-payment-option div.payment_module.closed:last-child { display: none }
  
  .ps_checkout-payment-option div.payment_module.open:first-child { margin: 0 }
  .ps_checkout-payment-option div.payment_module.open:first-child a {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
  
  .ps_checkout-payment-option div.payment_module.open:last-child a {
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
  
  #hostedFieldsErrors.hide-paypal-error {
    display: none;
  }
  
  .spinner-hosted-fields {
    display: inline-block;
    float: right;
    width: 26px;
    height: 26px;
    margin-right: 60px;
    border: 3px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: spinner-border .75s linear infinite;
    animation: spinner-border .75s linear infinite;
  }
  
  @keyframes spinner-border {
    to { transform: rotate(360deg); }
  }
  
  #ps_checkout-hosted-fields-card-number {
    position: relative;
    height: 45px;
    /*margin-top: 6px;*/
    margin: 5px 0;
  }
  
  #ps_checkout-hosted-fields-form {
      width: 50%;
      margin: auto;
  }
  
  #ps_checkout-hosted-fields-card-expiration-date {
    height: 45px;
    margin-top: 6px;
  }
  
  #ps_checkout-hosted-fields-card-cvv {
    height: 45px;
    margin-top: 6px;
  }
  
  #ps_checkout-hosted-fields-form .form-group .form-control {
    background-color: #F3F3F3;
    border-radius: 5px;
    padding: 0 16px;
  }
  
  #card-image {
    position: absolute;
    top: 7px;
    right: 1em;
    width: 44px;
    height: 28px;
    background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/346994/card_sprite.png);
    background-size: 86px 458px;
    border-radius: 1px;
    background-position: -100px 0;
    background-repeat: no-repeat;
    margin-bottom: 1em;
  }
  
  #card-image.visa {
    background-position: 0 -398px;
  }
  #card-image.master-card {
    background-position: 0 -281px;
  }
  #card-image.american-express {
    background-position: 0 -370px;
  }
  #card-image.maestro {
    background-position: 0 -251px;
  }
  #card-image.jcb {
    background-position: 0 -221px;
  }
  #card-image.diners-club {
    background-position: 0 -133px;
  }
  
  #ps_checkout-hosted-fields-form .braintree-hosted-fields-focused {
    border: .1875rem solid #2fb5d2;
    background-color: #fff;
    color: #232323;
  }
  
  #ps_checkout-hosted-fields-form .braintree-hosted-fields-invalid {
    border: .1875rem solid #e76d7a;
    animation: shake 500ms cubic-bezier(.20, 1.3, .7, 1) both;
    transform: translate3d(0, 0, 0);
    background-color: #fff;
    backface-visibility: hidden;
  }
  
  #ps_checkout-hosted-fields-form .braintree-hosted-fields-valid {
    border: .1875rem solid #6fcc80;
    transform: translate3d(0, 0, 0);
    background-color: #fff;
    backface-visibility: hidden;
  }
  
  #ps_checkout-hosted-fields-form .defautl-credit-card {
    position: absolute;
    top: 2px;
    right: 10px;
    width: 25px;
    height: 25px;
  }
  
  .confirmation-block {
    float: right;
  }
  
  #paypal-button-container {
    min-width: 300px;
  }
  
  #cart_navigation {
    display: flex;
  }
  
  #cart_navigation .flex-display {
    flex-grow: 1;
    text-align: left;
  }
  
  .ps-checkout.overlay {
    visibility: hidden;
    opacity: 0;
  
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
  
    transition: opacity 0.5s linear;
  
    background-color: rgba(0, 0, 0, 0.15);
    z-index: 100;
  }
  
  .ps-checkout.overlay.visible {
    visibility: visible;
    opacity: 100;
  }
  
  .ps-checkout.popup {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
  
    width: 450px;
    height: 250px;
  
    margin: auto;
  
    background-color: #fff;
    border-radius: 15px;
  }
  
  .ps-checkout.text, .ps-checkout.loader {
    display: block;
    margin: 0 auto;
    margin-top: 45px;
    text-align: center;
  }
  
  .ps-checkout.subtext {
    margin-top: 25px;
    text-align: center;
  }
  
  .ps_checkout-express-separator {
    text-align: center;
  }
  
  .ps_checkout-express-separator {
    display: flex;
    flex-direction: row;
    font-size: 20px;
    color: #333;
  }
  
  .ps_checkout-express-separator:before, .ps_checkout-express-separator:after{
    content: "";
    flex: 1 1;
    border-bottom: 1px solid #333;
    margin: auto;
  }
  
  .ps_checkout-express-separator:before {
    margin-right: 10px
  }
  
  .ps_checkout-express-separator:after {
    margin-left: 10px
  }
  
  
  .ps_checkout-express-button.ps_checkout-express-button-cart {
    text-align: center;
    margin: 10px auto 0 auto;
    font-size: 20px;
    padding: 11px 0 10px 0;
    width: 250px;
  }
  
  .ps_checkout-express-button.ps_checkout-express-button-checkout {
    width: 270px;
  }
  
  .ps-checkout-funding-img {
      width: 165px;
      height: 50px;
      margin-left: -5px;
      margin-bottom: -6px;
  }
  
  .express-checkout-block {
    background-color: #f1f1f1;
    padding: 15px;
    margin-bottom: 10px;
  
    border-radius: 4px;
  }
  
  .express-checkout-block-wrapper {
    font-size: 0;
  }
  
  .express-checkout-img {
    margin-bottom: 10px;
    width: 80px;
  }
  .express-checkout-label {
    color: inherit;
  }
  
  .express-checkout-spinner-text {
    display: inline-block;
    vertical-align: middle;
  
    font-size: 1.5rem;
    color: #7a7a7a;
    font-weight: 400;
  
    padding-left: 10px;
    width: 80%;
    margin: 0;
  }
  
  .express-checkout-spinner {
    display: inline-block;
    vertical-align: middle;
  
    text-align: right;
    padding-right: 10px;
    width: 20%;
  }
  
  .express-checkout-block .ps_checkout-express-checkout-button {
    overflow: auto;
  }
  
  .express-checkout-block .ps_checkout-express-checkout-button button {
    float: right;
    border-radius: 4px;
  }
  
  .ps_checkout-info-wrapper {
    float: right;
    padding-top: 0.15em;
  }
  
  .ps_checkout-info-button {
    user-select: none;
  
    font-size: 0.9em;
    line-height: 1em;
  
    padding-left: 0.375em;
    width: 1em;
    height: 1em;
  
    border-radius: 50%;
    text-align: left;
  
    position: relative;
  
    background-color: #adadad;
    color: #fff;
  }
  
  .ps_checkout-info-button .popup-content {
    visibility: hidden;
    width: auto;
    background-color: #adadad;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 16px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -150px;
    font-weight: normal;
    font-size: 0.8em;
    line-height: 1.5em;
    letter-spacing: normal;
  }
  .ps_checkout-info-button .show {
    visibility: visible;
    -webkit-animation: fadeIn 0.25s;
    animation: fadeIn 0.25s;
  }
  @-webkit-keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
  }
  
  @keyframes fadeIn {
    from {opacity: 0;}
    to {opacity:1 ;}
  }
  .btn-checkout-span{margin-left: unset !important;}
  
  @media screen and (max-width: 1549px) {
      .ps_checkout-card-icon-secure {
          right: 32%;
      }
  }
  @media screen and (max-width: 1170px) {
      .ps_checkout-card-icon-secure {
          right: 24%;
      }
  }
  @media screen and (max-width: 1023px) {
      .ps_checkout-card, 
      .ps_checkout-paypal {
          font-size: 12px;
          white-space: nowrap;
          word-wrap: break-word;
      }
      .ps_checkout-mark {
          margin-bottom: 1rem;
      }
      .ps_checkout-card-icon-secure {
          right: 60px;
      }
  }
  @media screen and (max-width: 960px) {
      .ps_checkout-card-icon-secure {
          right: 40px;
      }
      .ps_checkout-card, .ps_checkout-paypal {
          white-space: nowrap;
      }
  }
  @media screen and (max-width: 769px) {
      .ps_checkout_payment_item span {
          margin-left: 15px; 
          margin-right: 15px !important;
      }
      .ps_checkout_payment_item { 
          background: white;
          box-shadow: none;
          height: auto; 
          position: relative;
      }
      .four-x-banner-paypal-checkout {
          margin-left: -10px;
      }
  }
  @media (max-width: 767px) {
    .ps_checkout-payment-option div.payment_module:last-child a {
      padding: 10px;
    }
    #payment-option-card-container .confirm-checkbox {
        margin-top: 0;
    }
  }
  @media screen and (max-width: 700px) {
      .ps_checkout-card-icon-secure {
          display: none;
      }
      .ps_checkout-card, .ps_checkout-paypal {
          white-space: nowrap;
      }
  }
  @media screen and (max-width: 600px) {
      .ps_checkout-mark {
          margin-bottom: 5px;
          margin-bottom: 0;
          margin-left: 15px;
      }
      .ps_checkout-card-icon-secure {
          display: none;
      }
      .ps_checkout-card, .ps_checkout-paypal {
          white-space: pre-wrap;
      }
      .four-x-banner-paypal-checkout {
          top: 60px;
          left: 71px;
      }
      .payment-options input[type='radio']+label {
          height: 90px;
          padding-top: 10px;
      }
      .payment-options #payment-option-paypal input[type='radio']+label {
          height: 105px;
          margin-top: 0;
      }
      span.ps_checkout-text {
          display: flex;
          margin-left: 74px;
          margin-top: 12px;
      }
  }
  @media screen and (max-width: 414px) {
      #payment-option-card-container {
          padding: 15px 0 25px;
      }
      #payment-option-paypal-container {
          padding-top: 15px;
          padding-bottom: 25px;
      }
    #payment-option-paypal-container .payment_module input[type="radio"]+label {
      height: 70px;
    }
      #payment-option-paypal > label > span {
          top: 10px;
      }
      #payment-option-card {
          height: 70px;
      }
    #payment-option-card-container .payment_module input[type="radio"]+label {
        height: auto;
        padding-top: 0;
    }
    #payment-option-card-container .ps_checkout-commander {
        margin-bottom: 15px;
    }
    .ps_checkout-card-icon-secure {
        top: 30px;
        right: 5%;
    }
    .four-x-banner-paypal-checkout {
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .ps_checkout-payment-option div.payment_module:last-child a {
        padding: 0;
        margin-top: -20px;
    }
    .payment-options #payment-option-paypal-container .payment_module:not(.main-div) {
        margin-bottom: 0;
    }
  }
