/* Payment gateway logos and descriptions */
#paymentGatewaysContainer .panel-group {
    align-items: stretch;
}

#paymentGatewaysContainer .panel-check .panel-heading label {
    display: block !important;
    width: 100% !important;
    margin: 0;
    padding: 14px 16px 18px;
    cursor: pointer;
}

#paymentGatewaysContainer .panel-check .gateway-card-content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
}

#paymentGatewaysContainer .panel-check .check-content {
    display: contents !important;
    width: 100% !important;
}

#paymentGatewaysContainer .panel-check .check-content > span {
    display: block;
    order: 1;
    width: 100%;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

#paymentGatewaysContainer .panel-check .check-icon {
    display: block !important;
    position: static !important;
    order: 2;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 10px 0 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

#paymentGatewaysContainer .panel-check .gateway-visual {
    display: block !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    text-align: center;
    box-sizing: border-box;
}

#paymentGatewaysContainer .panel-check .gateway-logo {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain;
    border-radius: 5px;
    box-sizing: border-box;
}

#paymentGatewaysContainer .panel-check .gateway-logo-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 32px;
    border-radius: 5px;
    background: #3987ff;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
}

#paymentGatewaysContainer .panel-check .gateway-description {
    display: block;
    order: 3;
    width: 100%;
    margin: 8px 0 0;
    font-size: 11px;
    line-height: 1.45;
    font-weight: 400;
    text-align: left;
    white-space: normal;
    overflow: visible;
    text-wrap: balance;
    color: rgba(0,0,0,0.5);
}

.lagom-futuristic #paymentGatewaysContainer .panel-check .gateway-description {
    color: rgba(255,255,255,0.65);
}

.lagom-futuristic #paymentGatewaysContainer .panel-check .gateway-logo-fallback {
    background: #3987ff;
    color: #fff;
}

@media (max-width: 767px) {
    #paymentGatewaysContainer .panel-check .gateway-description {
        font-size: 10px;
        text-wrap: balance;
    }
}
