.hidden {
    display: none;
}

.row-deck>.col,
.row-deck>[class*='col-'] {
    display: flex;
    align-items: stretch
}

.row-deck>.col .card,
.row-deck>[class*='col-'] .card {
    flex: 1 1 auto
}

.row-deck>div[class*='col-'] {
    display: flex;
    flex: 1 0 auto;
}

.ref-grid {
    display: grid;
    text-align: center;
    gap: 1em;
}

.stat-b {
    padding: 0;
}

.stat-dw {
    display: grid;
    grid-template-rows: 1fr 1fr;
}

.stat-dw-inner>div {
    height: 90%;
}

.reflink {
    width: 90%;
}

.stat-text>span {
    font-size: 1.7em;
    font-weight: 700;
    color: #cd9d63;
}

.wallet-dis {
    pointer-events: none;
}

@media all and (max-width: 640px) {
    .ref-grid {
        grid-template-columns: 1fr;
        gap: 1em;
    }
}

.deposit-plan {
    margin: 0 0 1.5rem 0;
    width: 100%;
    position: relative;
    border: 1px solid #efe8de;
    border-radius: 5px;
    cursor: pointer;
}

.deposit-plan .deposit-header {
    padding: 0;
    margin-bottom: 1rem;
    text-align: center;
    background: #2a2828;
    color: #fff;
    -webkit-border-radius: 4px 4px 0px 0px;
    -moz-border-radius: 4px 4px 0px 0px;
    border-radius: 4px 4px 0px 0px;
    transition: all 300ms linear;
}

.deposit-header .deposit-title {
    font-size: 1.2rem;
    padding: 1rem 0;
    text-transform: uppercase;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 30px 10px rgba(0, 0, 0, 0.15);
}

.deposit-header .deposit-cost {
    padding: 1rem 0;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 30px 10px rgba(0, 0, 0, 0.15);
}

.deposit-save {
    padding: .8rem 0;
    font-size: 1rem;
    font-weight: 700;
}

.deposit-plan .deposit-features li {
    padding: 15px 15px 15px 40px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    position: relative;
    line-height: 100%;
}

.deposit-plan .deposit-features li::before {
    position: absolute;
    left: 15px;
    top: 15px;
    font-size: 1rem;
    color: #000000;
    content: "\e9ec";
    font-family: 'icomoon';
}

.deposit-plan .deposit-footer {
    -webkit-border-radius: 0 0 3px 3px;
    -moz-border-radius: 0 0 3px 3px;
    border-radius: 0 0 3px 3px;
    text-align: center;
    padding: 1rem 0 2rem 0;
}

.deposit-plan .deposit-features {
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.deposit-plan:hover {
    border: #cd9d63 1px solid;
    border-radius: 6px 6px;
}

.deposit-plan:hover .deposit-header {
    background: #ad6c14;
}

.cont>input {
    display: none;
    position: absolute;
}

input[type=radio]:checked+.deposit-plan {
    border: #cd9d63 1px solid;
    border-radius: 6px 6px;
}

input[type=radio]:checked+label>.deposit-header {
    background: #ad6c14;
}

/* wallet stat */

.wallet-cont {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 1%;
}

.wallet-b {
    max-height: 116px;
}

.wallet-b>label {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 0.5em;
    cursor: pointer;
}

.wallet-b>input {
    display: none;
}

.wallet-label>.img {
    display: flex;
    justify-content: center;
    padding-bottom: .5em;
}

input[type=radio]:checked+.wallet-label {
    background-color: #f93b7a;
}

.img>img {
    max-width: 60px;
    filter: grayscale(100%);
    transition: all 300ms linear;
}

input[type=radio]:checked+.wallet-label>.img>img {
    filter: grayscale(0%);
}

.wallet-label>p {
    text-align: center;
}

.wallet-label>.sub-num {
    font-size: 1.5em;
}

input[type=radio]:checked+.wallet-label>p {
    color: #cd9d63;
}

.nav-tabs {
    justify-content: center;
}

.nav-tabs .nav-link.active {
    background: #1ecab8;
    color: #fff;
}

.profit-box {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1em;
    text-align: center;
}

.profit>span {
    font-size: 1.2em;
    font-weight: 800;
}

.profit>p {
    font-size: 1.5em;
    font-weight: 900;
}

.calc-p>input {
    display: none;
    position: absolute;
}

input[type=radio]:checked+.plan-label {
    background-color: #c79455;
    color: #fff;
    border: #c79455 1px solid;
}

.calc-p>label {
    padding: 10px;
    cursor: pointer;
    border: #c79455 1px solid;
    border-radius: 10px;
    width: 100%;
}

.calc-plans {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-rows: 1fr 1fr;
    gap: 1em;
    text-align: center;
    margin-bottom: 2em;
}

@media all and (max-width: 993px) {
    .wallet-cont {
        justify-content: center;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-template-rows: 1fr;
        gap: 1%;
        justify-content: space-evenly;
    }
    .profit>span {
        font-size: .9em;
        font-weight: 800;
    }
    .profit>p {
        font-size: 1.3em;
        font-weight: 900;
    }
}

@media all and (max-width: 780px) {
    .wallet-cont {
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr;
        gap: 1%;
    }
    .profit>span {
        font-size: .9em;
        font-weight: 800;
    }
    .profit>p {
        font-size: 1.2em;
        font-weight: 900;
    }
}

@media all and (max-width: 577px) {
    .wallet-cont {
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr;
        gap: 1%;
    }
    .profit>span {
        font-size: 1em;
        font-weight: 800;
    }
    .profit>p {
        font-size: 1.2em;
        font-weight: 900;
    }
    .deposit-features {
        display: none;
    }
    .deposit-plan .deposit-header {
        margin-bottom: 0px;
    }
    input[type=radio]:checked+label>.deposit-features {
        display: block;
    }
}

@media all and (max-width: 403px) {
    .wallet-cont {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr;
        gap: 1%;
    }
    .profit>span {
        font-size: 0.8em;
        font-weight: 800;
    }
    .profit>p {
        font-size: 1em;
        font-weight: 900;
    }
    .calc-plans {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-auto-rows: 1fr 1fr;
        gap: 1em;
        text-align: center;
        margin-bottom: 2em;
    }
    .deposit-features {
        display: none;
    }
    .deposit-plan .deposit-header {
        margin-bottom: 0px;
    }
    input[type=radio]:checked+label>.deposit-features {
        display: block;
    }
}

.hidden {
    display: none;
}

.row-deck>.col,
.row-deck>[class*='col-'] {
    display: flex;
    align-items: stretch
}

.row-deck>.col .iq-card,
.row-deck>[class*='col-'] .iq-card {
    flex: 1 1 auto
}

.btn-select {
    position: relative;
}

.btn-select:after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: 10px;
    margin-top: -2px;
    width: 0;
    height: 0;
    border-top: 4px solid #777;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

.dropdown-menu-select {
    padding: 0;
    margin-top: -2px;
    width: 100%;
    border-radius: 0 0 2px 2px;
    border-color: #777;
}

.dropdown-radio {
    display: block;
    position: relative;
    margin: 0;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    border-bottom: 1px solid #eaeaea;
    cursor: pointer;
}

.dropdown-radio input {
    visibility: hidden;
    position: absolute;
    left: -30px;
}

.dropdown-radio i {
    font-weight: normal;
    font-style: normal;
    display: block;
    padding: 7px;
}