/*
***********************
    Popup tricolor
***********************
*/
.tricolor .modal-content {
    border: 0px;
}
.tricolor .modal-header {
    background-color: var(--color-emphasis);
    border-bottom: 0px;
    padding: 30px;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.tricolor .modal-header .modal-title {
    font-size: var(--font-lg-sm);
    font-weight: bold;
}
.tricolor .modal-header P {
    font-size: var(--font-medium);
}
.tricolor .auth-trans-info {
    background-color: var(--color-primary-label-bg);
}
.tricolor .modal-body {
    padding: 20px;
}
@media only screen and (max-width: 378px) {
    .tricolor .modal-body{
        padding: 20px 10px;
    }
}
.tricolor .modal-footer {
    border-top: 0px;
    padding: 20px 20px 40px;
    justify-content: space-between;
    background-color: var(--color-trading-buy-sell-summary);
}
.tricolor .btn-lg {
    font-size: var(--font-lg);
}
.tricolor .btn-link {
    color: var(--color-wallet-border);
}

@media (max-height: 650px) {
    .tricolor .modal-header {
        padding: 10px 30px;
    }
    .tricolor .modal-footer {
        padding: 0px 20px 10px;
    }
}
/*
*********************************
    Popup Auth Transaction
*********************************
*/
.auth-transaction-popup .modal-dialog {
    width: 444px;
}
.auth-transaction-popup .btn-lg {
    width: 280px;
}
.auth-transaction-popup .auth-trans-common {
    background: linear-gradient(135deg, var(--color-primary-label-bg) 25%, transparent 25%) -8px 0, linear-gradient(225deg, var(--color-primary-label-bg) 25%, transparent 25%) -8px 0, linear-gradient(315deg, transparent 25%, transparent 25%), linear-gradient(45deg, transparent 25%, transparent 27%);
    background-size: 8px 8px;
    background-color: var(--color-buy-sell-bg-for-dots);
    background-repeat: repeat-x;
    color: var(--color-dots-buy-sell);
}
.auth-transaction-popup  .buy-sell-details_line:last-child {
    margin-top: 35px;
}
.auth-trans-info {
    text-align: center;
    color: var(--color-text-basic);
}
.auth-trans-info__wallets-direction {
    width: 100%;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 27px;
    color: var(--color-text-basic);
}
.auth-trans-info__wallets-direction--sell {
    flex-direction: row-reverse;
}

.auth-trans-info__wallets-direction .fa-long-arrow-alt-right {
    font-size: var(--font-lg);
}

.auth-trans-info__wallets-direction span {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    font-size: var(--font-medium);
    font-weight: bold;
}
.auth-trans-info h6 {
    font-size: var(--font-medium);
    color: var(--color-text-gray3);
    font-weight: bold;
    margin-top: 18px;
}
.auth-trans-info h2 {
    font-size: var(--font-xxxlg);
    font-weight: bold;
}

@media (max-width: 512px) {
    .auth-transaction-popup .modal-dialog {
        width: auto;
    }
    .auth-transaction-popup .btn-lg {
        width: auto;
        font-size: 1.3rem;
    }
}

@media (max-width: 370px) {
    .auth-transaction-popup .btn-lg {
        font-size: 1.0rem;
    }
}
/*
*********************************
    Popup Yes-No-Small
*********************************
*/
.yes-no-sm-popup .modal-dialog{
    width: 378px;
}
.yes-no-sm-popup .modal-header,
.yes-no-sm-popup .modal-footer {
    border: none;
    padding: 45px 64px;
}
.yes-no-sm-popup .modal-header {
    padding-bottom: 0;
}
.yes-no-sm-popup h5 {
    font-size: var(--font-xxlg-lg);
}
.yes-no-sm-popup .btn {
    width: 100px;
}
.yes-no-sm-popup .modal-footer a {
    margin-right: 20px;
}

@media (max-width: 512px) {
    .yes-no-sm-popup .modal-dialog{
        width: auto;
    }
    .yes-no-sm-popup .modal-header,
    .yes-no-sm-popup .modal-footer {
        padding: 10px;
    }
}
/*
***********************
    Popup add Bank Account
***********************
*/
.add-bank-account .modal-header,
.add-bank-account .modal-footer {
    border-color: transparent;
}
.add-bank-account .btn:first-child {
    width: 180px;
    margin-right: 20px;
    min-height: 34px;
}
.add-bank-account .modal-dialog {
    max-width: 440px;
}
.add-bank-account .modal-footer {
    padding-bottom: 50px;
}
.add-bank-account h2 {
    text-transform: uppercase;
    color: var(--color-text-theme);
    font-size: var(--font-lg-sm);
    font-weight: bold;
}
/*
***********************
    Datepicker
***********************
*/
.datepicker-popup {
    width: 300px;
    height: 473px;
    background-color: var(--color-datapicker-bg);
    -webkit-box-shadow: 0px 0px 35px 0px rgba(0,0,0,0.35);
    -moz-box-shadow: 0px 0px 35px 0px rgba(0,0,0,0.35);
    box-shadow: 0px 0px 35px 0px rgba(0,0,0,0.35);
    position: absolute;
    padding: 0px;
    box-sizing: border-box;
    border: 0;
}
.datepicker-popup .drp_top-bar {
    background-color: var(--color-datapicker-bg);
    padding: 30px 30px 25px;
}
.datepicker-popup .custom-top,
.datepicker-popup .btn-link {
    color: var(--color-datapicker-top-bar);
}
.datepicker-popup__set-days {
    margin-bottom: 30px;
}
.datepicker-popup__set-days a {
    color: var(--color-datapicker-top-bar);
    font-size: var(--font-medium-sm);
    text-decoration: none;
}
.datepicker-popup__set-days a.active {
    color: var(--color-datapicker-top-bar);
    font-weight: bold;
}
.datepicker-popup__day {
    font-size: 2.34rem;
    margin-right: 10px;
}
.datepicker-popup__dash {
    font-size: 20px;
    line-height: 1.7;
    margin-left: 10px;
    margin-right: 10px;
}
.datepicker-popup__day:first-child {
    margin-left: -4px;
}
.datepicker-popup__date {
    flex: 0 0 63px;
}
.datepicker-popup__done {
    position: absolute;
    top: 302%;
    right: 29px;
    z-index: 2;
    width: 90px;
    height: 36px;
    border-radius: 18px;
}
.datepicker-popup__clean {
    right: 117px;
}
.datepicker-popup .month-wrapper {
    border-radius: 0;
    padding:0;
    border: 0;
}
.datepicker-popup .month-wrapper table { 
    margin-left: 24px;
    margin-top: 10px;
}
.datepicker-popup .month-wrapper table .day {    
    display: flex;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 34px;
}
.datepicker-popup .month-wrapper .month-name {
    font-size: var(--font-medium-sm);
}
.datepicker-popup .month-wrapper .month-name,
.datepicker-popup .month-wrapper table .week-name th {    
    text-transform: capitalize;
    color: var(--color-datapicker-month-name);
    font-weight: normal;
}
.datepicker-popup .month-wrapper table .caption .prev,  
.datepicker-popup .month-wrapper table .caption .next {  
    padding: 7px 10px;
    border-radius: 50%;
}
.datepicker-popup .drp_top-bar .apply-btn {
    display: none;
}