@media (min-width: 1024px) {
    #payment_form_flxpayment .table .pics {
        width: 43px;
        max-width: 43px;
        padding-right: 10px;
    }
}

#payment_form_flxpayment .table .pics img {
    margin: 0 auto;
    max-width: 100%;
}

#payment_form_flxpayment .table .table_row {
    display: table-row;
    height: 20px;
}

#payment_form_flxpayment .table div {
    display: table-cell;
    vertical-align: middle;
    text-align: left;
}

#payment_form_flxpayment .table div p {
    font-size: 13px;
    color: #373737;
    line-height: 17px;
    margin: 0px;
}

#payment_form_flxpayment .table div span {
    color: #336877;
    font-size: 14px;
    font-weight: 600;
}

@media (min-width: 768px) {
    #payment_form_flxpayment .half-cols-container {
        display: table;
        width: 100%;
    }
}

#payment_form_flxpayment .half-cols-container .half-cols {
    color: #0e7989;
    font-family: 'Open Sans', sans-serif;
    position: relative;
}

@media (min-width: 768px) {
    #payment_form_flxpayment .half-cols-container .half-cols {
        width: 50%;
        text-align: left;
        display: table-cell;
        height: 100%;
        vertical-align: top;
    }
}

#payment_form_flxpayment .half-cols-container .half-cols p {
    font-size: 12px;
}

#payment_form_flxpayment .half-cols-container .half-cols a {
    display: inline-block;
    margin: 10px auto;
    position: relative;
    background-color: #0e7989;
    border: none;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    padding: 7px 26px;
    border-radius: 4px;
    cursor: pointer;
}

#payment_form_flxpayment .half-cols-container .half-cols .form {
    margin-top: 16px;
    display: block;
    width: 100%;
}

#payment_form_flxpayment .half-cols-container .half-cols .form label,
#payment_form_flxpayment .half-cols-container .half-cols .form input {
    width: auto;
    display: inline-block;
}

#payment_form_flxpayment .half-cols-container .half-cols:first-child {
    padding-bottom: 20px;
}

@media (min-width: 768px) {
    #payment_form_flxpayment .half-cols-container .half-cols:first-child {
        padding-right: 20px;
        padding-bottom: 0px;
    }
}

#payment_form_flxpayment .half-cols-container .half-cols:last-child {
    padding-top: 20px;
}

@media (min-width: 768px) {
    #payment_form_flxpayment .half-cols-container .half-cols:last-child {
        padding-left: 20px;
        padding-top: 0px;
    }
}

#payment_form_flxpayment .half-cols-container .half-cols:last-child:after {
    content: "";
    width: 100%;
    height: 1px;
    background-color: #ededed;
    position: absolute;
    bottom: auto;
    left: 0px;
    top: 0px;
}

@media (min-width: 768px) {
    #payment_form_flxpayment .half-cols-container .half-cols:last-child:after {
        width: 1px;
        height: 100%;
        left: -10px;
        top: 0px;
    }
}

#payment_form_flxpayment .table {
    font-family: 'Open Sans', sans-serif;
    display: table;
    width: 100%;
    margin-bottom: 20px;
    background-color: #fff;
    padding: 10px;
}

@media (min-width: 1024px) {
    #payment_form_flxpayment .table .pics {
        width: 43px;
        max-width: 43px;
        padding-right: 10px;
    }
}

.flx_payment_logo {
    margin-right: 10px;
}

.flx_logo_new {
    max-width: 150px;
}

@media (min-width: 768px) {
    #payment_form_flxpayment .half-cols-container {
        display: table;
        width: 100%;
    }
}

@media (min-width: 768px) {
    #payment_form_flxpayment .half-cols-container .half-cols {
        width: 50%;
        text-align: left;
        display: table-cell;
        height: 100%;
        vertical-align: top;
    }
}

#payment_form_flxpayment .half-cols-container .half-cols strong {
    font-size: 14px;
}

#payment_form_flxpayment .half-cols-container .half-cols .form label {
    padding-right: 5px;
}

@media (min-width: 768px) {
    #payment_form_flxpayment .half-cols-container .half-cols:first-child {
        padding-right: 20px;
        padding-bottom: 0px;
    }
}

@media (min-width: 768px) {
    #payment_form_flxpayment .half-cols-container .half-cols:last-child {
        padding-left: 20px;
        padding-top: 0px;
    }
}

@media (min-width: 768px) {
    #payment_form_flxpayment .half-cols-container .half-cols:last-child:after {
        width: 1px;
        height: 100%;
        left: -10px;
        top: 0px;
    }
}


/* MODAL STYLES */

#flxpayment_modal_custom {
    left: 4%;
    top: 5%;
    width: 96%;
}

@media (max-width: 1025px) {
    #flxpayment_modal_custom {
        width: 100% !important;
    }
}

#flxpayment_modal_custom .modal-content {
    padding: 0;
    height: 100%;
}

@media (max-width: 769px) {
    #flxpayment_modal_custom .modal-content {
        position: absolute;
        width: 100%;
        top: 0px;
    }
}

#flxpayment_modal_custom .modal-content iframe {
    max-width: 100%;
    width: 100%;
    border: none;
    height: 100%;
    margin-bottom: -20px;
}

@media (max-width: 769px) {
    #flxpayment_modal_custom .modal-content iframe {
        z-index: 5000;
        margin-top: -10px;
        position: absolute;
        height: calc(100% + 10px);
        min-height: calc(100% + 10px);
    }
}

#flxpayment_modal_custom .modal-inner-wrap {
    width: 96%;
    height: 96%;
    overflow-y: hidden;
}

@media (max-width: 1025px) {
    #flxpayment_modal_custom .modal-inner-wrap {
        width: 100%;
        height: 100%;
        overflow: scroll;
        -webkit-overflow-scrolling: touch;
    }
    #flxpayment_modal_custom .modal-inner-wrap iframe {
        min-width: 100%;
        width: 100%;
        border: none;
        height: 2000px !important;
        margin-bottom: -5px;
        overflow: scroll !important;
        -webkit-overflow-scrolling: touch;
        background-color: #fff !important;
    }
    #flxpayment_modal_custom {
        left: 0%;
        top: 0%;
        overflow: scroll;
        -webkit-overflow-scrolling: touch;
    }
}

.modal-custom .action-close {
    position: relative;
    float: right;
}

aside.modal-popup {
    left: 0px !important;
    width: 100%;
}

@media (min-width: 768px) {
    .flx_hide {
        display: none !important;
    }
}

.flxMessage img {
      width: 18px;
      display: inline-block;
      vertical-align: middle;
      margin-right: 10px;
  }

  .flxMessage a {
      display: inline-block;
  }

  @media(min-width: 768px) {
      .flxMessage p {
          margin-top: 10px;
          margin-bottom: 10px;
      }
  }

.checkout-index-index .modals-wrapper .modals-overlay {
    pointer-events: none!important;
    cursor: none;
}
#flxpayment_modal_custom .modal-inner-wrap .modal-content iframe {
    max-width: 100%;
    width: 100%;
    border: none;
    background: #006c79!important;
}
.payment-method-title.field.choice #flxpayment {
    position: relative;
    top: 56px;
}
