
.pay_crypto_popup {
    position: fixed;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    padding: 20px;

    .open-form .form .field input,
    .open-form.mini .field input {
        color: black;
        border-radius: 16px;
        background: #D4D4D466;
        font-size: 16px;
    }
    .open-form .form .field input::placeholder {
        color: black;
    }
}

.pay_crypto_popup.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.content {
    &.product {
        .pay_crypto_popup{
            .icon {
                padding: 12px 16px;
                display: flex;
            }
        }
    }
}
.pay_crypto_popup .full-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.pay_crypto_popup .popup {
    background-color: #fff;
    background-size: cover;
    position: relative;
    width: 500px;
    border-radius: 6px;
    box-shadow: 0 0 20px #808080;
    padding: 25px;
    overflow: hidden;
    text-align: left;
    transform: translateY(20px);
    transition: transform 0.35s ease;
    max-width: 100%;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    margin: 0;
}

.pay_crypto_popup.is-open .popup {
    transform: translateY(0);
}
.pay_crypto_popup {
    .exchange-el {
        font-size: 14px;
        padding: 2px 0;

        a{
            color: #AC2335;
            text-decoration: unset;
        }
    }
}

.pay_crypto_popup .list-exchange {
    display: grid;
    grid-template-rows: repeat(4, auto);
    grid-auto-flow: column;
    column-gap: 24px;
    /*row-gap: 6px;*/
}

.pay_crypto_popup .list-exchange .exchange-el {
    margin: 0;
}

.crypto-el {
    border-bottom: 1px solid #00000033;
    padding: 10px 0;
}

.crypto-val {
    /*background-color: #8080804d;*/
    width: 100%;
    padding: 10px 0 0;
    font-size: 12px;
    /*margin-bottom: 5px;*/
}
.mono-pay-popup-img {
    height: 40px;
    margin-right: 20px;
}

.block-pay ul li #liCrypto.icon-i {
    top: unset;
    right: -13px;
}


.pay_crypto_popup .open-form .wrap-input {
    width: 100%;
}
.pay_crypto_popup .open-form .wrap-content {
    display: block;
    margin: 0;
}

.pay_crypto_popup .title-content {
    font-size: 16px;
    font-weight: 600;
    margin-top: 15px;
    padding-bottom: 16px;
}
.pay_crypto_popup .div-title {
    display: flex;
}
.pay_crypto_popup .close-btn {
    position: absolute;
    top: 23px;
    right: 15px;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
    color: #929292;
}
.pay_crypto_popup .close-btn::after {
    content: '×';
    font-size: 40px;
}
.pay_crypto_popup .close-btn:hover {
    background: #D4D4D466;
    color: #fff;
    transition: 0.2s;
}

.pay_crypto_popup {
    .form {
        img {
            display: none;
        }


    }
}

.pay_crypto_popup .open-form.mob {
    box-shadow: none;
    background: unset;
    max-width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
}

.pay_crypto_popup .open-form.mob .wrap-action .action button:active {
    background: #6A1A20;
}
.pay_crypto_popup .open-form.mob .wrap-action .action button:hover {
    background: #7C2127;
}
.pay_crypto_popup .open-form.mob .wrap-action .action button {
    background: #AC2335;
    border: none;
    padding-left: 15px;
    padding-right: 15px;
    height: 100%;
    font-weight: bold;
    font-size: 14px;
    color: #fff;
    border-radius: 14px;
    text-align: center;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

/*.pay_crypto_popup .open-form.mob .wrap-action .action button:before {*/
/*    content: "";*/
/*    animation: btn-bright 3.5s linear infinite;*/
/*    background: linear-gradient(to right,rgba(255,255,255,0) 0,rgba(255,255,255,.4) 75%, rgba(255,255,255,0) 100%);*/
/*    position: absolute;*/
/*    width: 60px;*/
/*    height: 100%;*/
/*    top: 0;*/
/*    transform: skewX(-25deg);*/
/*}*/

@keyframes btn-bright {
    0% {
        left: -70px;
    }
    80% {
        left: -70px;
    }
    100% {
        left: 105%;
    }
}

/*.pay_crypto_popup .open-form.mob .wrap-action .action button:hover {*/
/*    background: #ef363e;*/
/*}*/

.pay_crypto_popup .open-form.mob .wrap-input .field.phone {
    width: 100%;
    margin-right: 0;
}

.pay_crypto_popup .open-form .call-time {
    color: black;
    text-align: left;
    margin-top: 12px;
    font-size: 12px;
    line-height: 20px;
}

.pay_crypto_popup .open-form .wrap-action {
    width: unset;
    margin-top: 20px;
}

.pay_crypto_popup .open-form.mob .wrap-action .action input {
    padding-left: 15px;
    padding-right: 15px;
}


.pay_crypto_popup .open-form.mob .head-container {
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}


.pay_crypto_popup .title-popup {
    margin-bottom: 0;
    font-weight: 600;
    font-size: 15px;
    padding-bottom: 0;
    vertical-align: middle;
    height: 40px;
    display: table-cell;
}
.pay_crypto_popup .sub-title-popup {
    text-align: left;
    padding-bottom: 0;
}
.pay_crypto_popup ul {
    font-size: 13px;
    padding: 20px;
}

.pay_crypto_popup .link-course {
    font-size: 14px;
    margin-top: 5px;

    a {
        color: #AC2335;
        text-decoration: unset;
    }
}



@media (max-width: 1550px) {
    .pay_crypto_popup .popup {
        margin-top: 2%;
    }
    .pay_crypto_popup {
        .exchange-el {
            font-size: 14px;
            padding: 1px 0;
        }
    }

    .pay_crypto_popup .title-content {
        font-size: 16px;
        font-weight: 600;
        margin-top: 15px;
        padding-bottom: 0px;
    }
}


@media (max-width: 700px) {
    .pay_crypto_popup .open-form .wrap-content,
    .pay_crypto_popup .open-form .call-time,
    .pay_crypto_popup .open-form.mob .message {
        margin-left: 0;
        margin-right: 0;
    }
}


@media (max-width: 720px) {
    .pay_crypto_popup .popup {
        margin-left: 10px;
        margin-right: 10px;
    }
}
@media (max-width: 600px) {

    .pay_crypto_popup .open-form.mob .head-container {
        display: block;
        text-align: center;
    }


    .pay_crypto_popup .open-form .wrap-action {
        margin-top: 15px;
    }


    .pay_crypto_popup .open-form .call-time {
        font-size: 10px;
        line-height: 12px;
    }

    .pay_crypto_popup  {
        overflow-x: scroll;
    }

    .pay_crypto_popup .open-form.mob {
        padding-top: 18px;
    }

    .pay_crypto_popup .title-popup{
        font-size: 14px;
    }
    .mono-pay-popup-img {
        margin-right: 10px;
    }
    .pay_crypto_popup .popup {
        padding: 12px 15px;
        width: 95%;
        margin-top: 10%;
    }
    .pay_crypto_popup .title-content {
        margin-top: 20px;
    }
}

@media (max-width: 500px) {
    .pay_crypto_popup ul {
        padding-left: 5px;
        margin-top: 0;
    }

    .crypto-val {
        font-size: 12px;
        padding: 5px 2px;
    }
    .pay_crypto_popup .title-content {
        padding-bottom: 0px;
    }

}

@media (max-width: 430px) {
    .pay_crypto_popup ul {
        padding-left: 5px;
        margin-top: 0;
    }

    .crypto-val {
        font-size: 11px;
        padding: 5px 2px;
    }
    .pay_crypto_popup .title-content {
        padding-bottom: 0px;
    }

}



@media (max-width: 385px) {
    .pay_crypto_popup ul {
        padding-left: 5px;
        margin-top: 0;
    }

    .crypto-val {
        font-size: 10px;
        padding: 2px;
    }

    .pay_crypto_popup .title-content {
        margin-top: 15px;
        padding-bottom: 0px;
        margin-bottom: 5px;
    }
    .pay_crypto_popup .open-form.mob {
        padding-top: 0;
    }
    .pay_crypto_popup .popup {
        padding: 17px 15px;
        width: 95%;
        margin-top: 10%;
    }

}
