/**
* NOTICE OF LICENSE
*
* This source file is subject to the MIT License (MIT)
* that is bundled with this package in the file LICENSE.md.
*
* @author mElements S.A.
* @copyright mElements S.A.
* @license   MIT License
*/

/** MODAL */
@media (max-width: 767px) {
    .paynow-blik-modal .bt.m--fullwidth {
        max-width: 60%;
    }
}

@media (max-width: 480px) {
    .paynow-blik-modal-header .row {
        flex-direction: column;
    }
    .paynow-blik-modal-header .modal-header-item {
        margin-top: 1rem !important;
        margin-left: 0 !important;
    }
}

.paynow-blik-modal-header {
    padding: 20px 25px;
}

.paynow-blik-modal-header .row {
    display: flex;
}

.paynow-blik-modal-header .modal-header-item {
    margin-left: 3rem !important;
}

.paynow-blik-modal-header .modal-title {
    color: #434343;
}

.paynow-blik-modal label {
    font-weight: 400 !important;
}

.paynow-blik-modal .form-group.row {
    padding: 5px 0 !important;
}

.paynow-blik-modal input {
    text-align: center;
    letter-spacing: 0.2rem;
    color: #434343;
    font-weight: 750;
    height: 40px;
    padding: 6px 20px 17px 20px;
    border: none !important;
    -webkit-box-shadow: 0 0 15px -3px rgba(169, 169, 169, 1) !important;
    -moz-box-shadow: 0 0 15px -3px rgba(169, 169, 169, 1) !important;
    box-shadow: 0 0 15px -3px rgba(169, 169, 169, 1) !important;
}

.paynow-blik-modal input[type="text"]::-webkit-input-placeholder {
    padding-bottom: 10px !important;
    border-bottom: 1px solid var(--color-brand-secondary);
}

.paynow-blik-modal .close {
    opacity: .4 !important;
    top: 5px !important;
    right: 5px !important;
    font-weight: 500 !important;
}

.paynow-blik-modal .close:hover {
    opacity: 1 !important;
}

.paynow-blik-modal .mt-3 {
    margin-top: 1rem !important;
}

.paynow-blik-modal .modal-title {
    font-size: 18px;
    font-weight: 700;
}

.paynow-blik-modal .pt-0 {
    padding-top: 0 !important;
}

.payment-form .row {
    display: block !important;
    padding: 0 0 40px 0 !important;
}

/** GLOBAL */
.paynow-payment-title {
    font-weight: normal;
    margin-bottom: 0;
}

.flex-column {
    flex-direction: column;
}

.paynow-data-processing-info-more,
.paynow-data-processing-info-less {
    font-size: 13px;
}

.paynow-data-processing-info-more a,
.paynow-data-processing-info-less a {
    color: #000;
    font-weight: 500;
}

.paynow-data-processing-info-more .data-processing-list {
    margin-left: 2.5rem !important;
}

.paynow-payment-option-pbls .row {
    flex-wrap: wrap;
}

.paynow-payment-option-pbl img {
    width: 100%;
}

.paynow-payment-option-pbl input[type=radio] {
    display: none;
}

.paynow-payment-option-pbl label {
    padding: 10px;
    border: 1px solid #e6e6e6;
    width: 100%;
    height: 80px;
    text-align: center;
    cursor: pointer;
    vertical-align: middle;
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin-bottom: .5rem;
}

.paynow-payment-option-pbl.disabled label {
    cursor: not-allowed;
}

.paynow-payment-option-pbl input[type=radio]:checked + label {
    border: 1px solid #d2d2d2;
    background: #f3f3f3;
}

.pselected::after {
    position: absolute;
    right: -6px;
    z-index: 30;
    margin: -8px -8px 0 0;
    color: #db2032;
    font-size: 4em;
    font-family: FontAwesome;
    content: '\f00c';
    animation-name: bounce-6;
    animation-duration: 0.8s;
    animation-timing-function: ease;
}

.pn-pm-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.pn-image {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.pselected .pn-pm-container {
    left: 40%;
}

.paynow-submit-button.d-none {
    display: none;
}

.paynow_payment {
    float: left;
    width: 135px;
    height: 71px;
    margin-top: 5px;
    padding: 0;
    text-align: center;
    border: 1px solid #eee;
    cursor: pointer;
    background: white;
}

a.paynow_payment.inactive {
    opacity: 0.5;
    -webkit-filter: grayscale(1);
    -moz-filter: grayscale(1);
    -ms-filter: grayscale(1);
    -o-filter: grayscale(1);
    filter: grayscale(1);
    filter: gray;
}

.paynow-reorder-title {
    color: var(--color-brand-secondary);
    font-weight: 700;
}

@keyframes bounce-6 {
    0% { transform: scale(0.9, 1.1)   translateY(-30px); }
    40% { transform: scale(1.1, 0.9) translateY(0); }
    57% { transform: scale(1, 1)      translateY(-6px); }
    75% { transform: scale(1, 1)      translateY(0); }
    100% { transform: scale(1, 1)      translateY(0); }
}


/** ERRORS */
.paynow-error-title-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 2rem 0;
    border-bottom: 3px solid #ededed;
}

.paynow-error-title {
    font-size: 18px;
    margin-left: 1rem;
}

.paynow-error-text {
    padding: 2rem 0 3rem 0;
}

.paynow-error-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 0;
}

.paynow-error-buttons .bt {
    margin: 1rem 0;
    min-width: 175px;
}

@media (min-width: 480px) {
    .paynow-error-title {
        font-size: 24px;
        margin-left: 2rem;
    }

    .paynow-error-buttons {
        display: flex;
        flex-direction: row;
        justify-content: center;
        padding: 2rem 0;
    }

    .paynow-error-buttons .bt {
        margin: 0 2rem;
    }
}
