
/* Payment Module */
p.payment_module.esto a {
    padding-left: 17px;
}

p.payment_module.esto img {
    height: 40px;
    margin-right: 10px;
}

p.payment_module a .x-calc-question {
    color: #fff;
    font-size: 15px;
    margin-left: 4px;
    padding: 3px 8px 3px 6px;
    border-radius: 100%;
    background: #003fff;
}

p.payment_module a .x-calc-question:hover {
    background: #002cb3;
}

p.payment_module.esto a:after {
    display: block;
    content: "\f054";
    position: absolute;
    right: 15px;
    margin-top: -11px;
    top: 50%;
    font-family: "FontAwesome";
    font-size: 25px;
    height: 22px;
    width: 14px;
    color: #777;
}

.esto-img-responsive {
    display: inline-block!important;
    height: auto;
    max-width: 100%!important;
}
.esto-selected {
    background-color: #f4f4f4;
}

.esto-bank-label:hover {
    background-color: #f4f4f4;
    cursor: pointer;
}

.x-calc-popup {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: #00000066;
}

/* XCalc */

.xcalc-container {
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: flex-end;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 2rem 2rem;
    min-width: 300px;
    max-width: 500px;
    color: black;
    background: #fff;
    border-radius: 4px;
}

.xcalc-container .popup-button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 25px;
    height: 25px;
    border-radius: 100%;
    border: 2px solid #E1E6EB;
    transition: 0.3s;
    cursor: pointer;
}

.xcalc-container .popup-button-wrapper:hover {
    color: #ffffff;
    background: #003fff;
    border: 2px solid #003fff;
}

.xcalc-container .popup-button-wrapper .img-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.xcalc-container .popup-button-wrapper:hover .img-container {
    transition: 0.3s;
    filter: brightness(0) invert(1);
}

.xcalc-container .x-calc-esto-logo {
    width: 120px;
    height: 50px;
    margin: 6px auto 32px auto;
}

.xcalc-container .xcalc-title {
    margin: 0 auto;
    text-align: center;
    font-size: 18px;
}

.xcalc-container .xcalc-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 32px auto 0 auto;
}

.xcalc-container .xcalc-content-item {
    display: flex;
    flex-direction: column;
    max-width: 164px;
}

.xcalc-container .xcalc-content-item:last-child {
    width: 64px;
}

.xcalc-content-item:last-child .xcalc-image-section hr {
    display: none;
}

.xcalc-content-item:last-child .xcalc-image-section {
    min-width: auto;
}

.xcalc-content-item .xcalc-image-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    min-width: 94px;
}

.xcalc-content-item .xcalc-image-section hr {
    width: 86px;
    height: 4px;
    border: none;
    border-radius: 25px;
    background-color: #e1e1e1;
    margin: 18px 5px;
}

.xcalc-content-item .xcalc-image-section img {
    width: 64px;
}

.xcalc-content-item .xcalc-text-container {
    width: 64px;
    text-align: center;
}

.xcalc-content-item .xcalc-text-container .xcalc-amount {
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 16px;
}

.xcalc-content-item .xcalc-text-container .xcalc-month {
    margin-bottom: 3rem;
    font-size: 16px;
    color: #949494;
}

@media screen and (max-width: 767px) {

    .xcalc-content-item .xcalc-image-section hr {
        width: 20px;
    }

}
