html, body{
    overflow-x: hidden !important;
    width: 100%;
    padding-right: 0 !important;
    font-family: 'Roboto', sans-serif !important;
}

.preloader {
  transition: none !important;
}

/* Sidebar link with flex */
.sidebar .nav-link {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Keep icons aligned */
.sidebar .nav-link .nav-icon {
    flex: 0 0 1.6rem;   /* fixed width for icon */
    text-align: center;
    margin-right: .5rem;
    font-size: 1rem;
}

.w-5{
    width: 5%;
}

.w-10{
    width: 10%;
}

.w-15{
    width: 15%;
}

.w-20{
    width: 20%;
}

.w-30{
    width: 30%;
}

.w-35{
    width: 35%;
}

.w-40{
    width: 40%;
}

.cursor-pointer{
    cursor: pointer;
}

table th.no {
    width: 3vw;
}

.image-in-table{
    width: 10%;
}

.sidebar-open #sidebar-overlay{
    display: none;
}

.bg-theme, .sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active{
    background-color: #007348;
}

.btn-primary, .btn-primary:hover, .page-item.active .page-link, .icheck-primary>input:first-child:checked+label::before {
    background-color: #007348 !important;
    border-color: #007348 !important;
}

.btn-green{
    background-color: #007348 ;
    border-color: #007348 ;
    box-shadow: 0 5px 4px -4px #000;
}

.btn-admin{
    background-color: #1E4D2B !important;
    border-color: #1E4D2B !important;
    box-shadow: none;
    margin-top: 6px;
}

.btn-green:hover{
    background-color: #1E4D2B;
    border-color: #1E4D2B;
}

.card-primary:not(.card-outline) > .card-header, .swal2-styled.swal2-confirm, .select2-container--bootstrap4 .select2-results__option--highlighted {
    background-color: #007348 !important;
}

.form-control:focus, .select2-container--bootstrap4.select2-container--focus .select2-selection {
    border-color: #007348 !important;
}

.input-group:focus-within .input-group-prepend .input-group-text,
.form-control:focus ~ .input-group-append .input-group-text {
    border-color: #007348 !important;
}

.select2-container--bootstrap4.select2-container--focus .select2-selection {
    box-shadow: 0 0 0 0.2rem #00734870;
}

.woot-widget-bubble {
    bottom: 65px !important;
}

.wallet-box{
    background-color: #2C2D31;
    margin-bottom: 0.5vw;
    border-radius: 0.5vw;
    padding: 0 0.5vw;
}

.wallet-top-up{
    background-color: #007348;
    border-radius: 0.5vw;
    text-align: center;
    /* height: 2.5vw; */
    width: 2.5vw;
    margin: 0.5vw 0;
    padding: 0;
    line-height: 1.8vw;
}

.exchange-rate-arrow{
    width: 34px;
    /* height: 90%; */
    text-align: center;
    background-color: black;
    color: white;
    border-radius: 50%;
    margin: auto;
}

.statistic-icon-box{
    background-color: #DEF5ED;
    color: #007348;
    border-radius: 5px;
    border: 0;
}

.project-detail-card-box{
    border-radius: 1vw;
    height:100%;
}

.project-detail-icon-td{
    width: 12%;
}

.project-detail-icon-box{
    padding: 0.75vw;
}

.top-three-box{
    border: 1px solid #CED4DA;
    padding: 10px;
}

.top-three-agent-avatar-width{
    width: 5%;
}

.top-three-agent-avatar{
    width: 50%;
}

.top-three-amount{
    width: 75%;
}

.top-three-progress{
    width: 45%;
}

.exchange-rate-box{
    display: flex;
    align-items: center;
}

.exchange-rate-display{
    display: flex;
}

.dropify-wrapper.error{
    border-color: #dc3545 !important;
}

.swal2-select,
.swal2-textarea {
    width: 100%;
    margin-bottom: 10px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    padding: 8px;
}

.sweetalert-select {
    padding: 0.375rem 1.75rem 0.375rem 0.75rem !important;
    margin-left: auto;
    margin-right: auto;
    font-size: 16px !important;
    background: url('data:image/svg+xml,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"%3e%3cpath fill="%23343a40" d="M2 0L0 2h4zm0 5L0 3h4z"/%3e%3c/svg%3e') no-repeat right .75rem center/8px 10px !important;
    background-repeat: no-repeat !important;
    background-position-x: 97% !important;
    background-position-y: 14px !important;
}

.spinner-border {
    right: 48%;
}

.referral-code-box{
    border: 1px solid #1EB564;
}

.referral-code-text{
    color: #1EB564;
}

.download-ref-code-btn{
    position: absolute;
    top: 1vw;
    right: 1vw
}

.borderless {
    border: none !important;
}

.table>tbody>tr.no-bottom-border>td,
.table>tbody>tr.no-bottom-border>th {
  border-bottom: hidden !important;
}

.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__arrow {
    position: absolute;
    top: 50%;
    right: 3px;
    width: 20px
}

.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__arrow b {
    position: absolute;
    top: 60%;
    left: 50%;
    width: 0;
    height: 0;
    margin-top: -2px;
    margin-left: -4px;
    border-color: #343a40 transparent transparent transparent;
    border-style: solid;
    border-width: 5px 4px 0
}

@media (min-width: 1100px) and (max-width: 1900px){
    table th.no {
        width: 4vw;
    }

    .project-detail-icon-box {
        padding: 0.5vw;
    }

    .top-three-agent-avatar-width{
        width: 7%;
    }

    .top-three-amount{
        width: 50%;
    }

    .top-three-progress {
        width: 50%;
    }
}

@media (min-width: 992px) and (max-width: 1099px) {
    table th.no {
        width: 6vw;
    }

    .image-in-table{
        width: 20%;
    }

    .wallet-box {
        background-color: #2C2D31;
        margin-bottom: 0.75vw;
        border-radius: 1vw;
        padding: 0 0.75vw;
    }

    .wallet-top-up {
        /* height: 3vw; */
        width: 3vw;
        line-height: 2.25vw;
    }

    .project-detail-title{
        line-height: 1.5vw;
    }

    .project-detail-icon-box {
        padding: 0.5vw;
    }

    .exchange-rate-box{
        width: 45%;
    }

    .top-three-agent-avatar-width {
        width: 11%;
    }

    .top-three-amount {
        width: 50%;
    }

    .project-detail-icon-td {
        width: 25%;
    }

    .project-detail-icon-box {
        padding: 1vw;
    }

    .dropify-wrapper{
        line-height: 48px !important;
    }

    .spinner-border {
        right: 45%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    table th.no {
        width: 8vw;
    }

    .image-in-table{
        width: 20%;
    }

    .wallet-box {
        margin-bottom: 0.75vw;
        border-radius: 1.25vw;
        padding: 0 1vw;
    }

    .wallet-top-up {
        /* height: 4vw; */
        width: 4vw;
        line-height: 3.1vw;
    }

    .project-detail-icon-td{
        width: 20%;
    }

    .project-detail-icon-box {
        padding: 1.5vw;
    }

    .top-three-agent-avatar-width {
        width: 11.5%;
    }

    .top-three-progress {
        width: 50%;
    }

    .exchange-rate-box {
        width: 45%;
    }

    .project-detail-icon-td {
        width: 8%;
    }

    .top-three-amount {
        width: 45%;
    }

    .dropify-wrapper{
        line-height: 48px !important;
    }

    .spinner-border {
        right: 45%;
    }
}

@media (max-width: 767px) {
    div#example1_wrapper{
        overflow-x: auto;
    }

    table th{
        white-space: nowrap;
    }

    .image-in-table{
        width: 50%;
    }

    ul.navbar-nav li a#time{
        display: none;
    }

    .dropify-wrapper{
        line-height: 40px !important;
    }

    .dropify-infos-message{
        font-size: 10px !important;
    }

    .wallet-box{
        background-color: #2C2D31;
        margin-bottom: 1.5vw;
        border-radius: 2.5vw;
        padding: 0 2.5vw;
    }

    .wallet-top-up {
        border-radius: 1vw;
        /* height: 8vw; */
        width: 8vw;
        line-height: 6vw;
    }

    .project-detail-card-box{
        border-radius: 5vw;
    }

    .project-detail-icon-box {
        padding: 3vw;
    }

    .project-detail-title {
        line-height: 5vw;
    }

    .exchange-rate-display{
        display: flex;
    }

    .exchange-rate-box {
        width: 100%;
    }

    .exchange-rate-flag{
        width: 40%;
    }

    .top-three-agent-avatar-width {
        width: 25%;
    }

    .statistic-amount{
        font-size: 1.5rem;
    }

    .spinner-border {
        right: 45%;
    }

    .download-ref-code-btn{
        position: absolute;
        top: 2vw;
        right: 2vw
    }
}

@media (max-width: 575px) {
    .exchange-rate-display{
        display: flex;
        flex-direction: column;
    }

    .spinner-border {
        right: 40%;
    }

    .download-ref-code-btn{
        position: absolute;
        top: 4vw;
        right: 4vw
    }
}
