html,body{
    max-width:100%!important;
    overflow-x:hidden!important;
}

img,video,iframe,table{
    max-width:100%!important;
}

.container,
.container-fluid,
.main-content,
.content,
.clientarea,
.whmcscontainer{
    max-width:100%!important;
}

table{
    width:100%!important;
}

.table-responsive{
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch;
}

@media(max-width:991px){
    .row{
        margin-left:0!important;
        margin-right:0!important;
    }

    [class*="col-md-"],
    [class*="col-lg-"],
    [class*="col-sm-"]{
        width:100%!important;
        max-width:100%!important;
        flex:0 0 100%!important;
    }

    .sidebar,
    .panel-sidebar,
    .primary-sidebar,
    .secondary-sidebar{
        margin-top:18px!important;
    }

    .navbar-nav,
    .nav,
    .dropdown-menu{
        text-align:right!important;
    }

    .btn,
    button,
    input[type="submit"]{
        white-space:normal!important;
    }
}

@media(max-width:768px){
    body{
        font-size:14px!important;
    }

    h1{font-size:24px!important}
    h2{font-size:22px!important}
    h3{font-size:19px!important}

    .card,
    .panel,
    .crm-addfunds-card,
    .crm-welcome-card,
    .crm-final-card{
        border-radius:18px!important;
        margin-left:8px!important;
        margin-right:8px!important;
    }

    input,
    select,
    textarea,
    .form-control{
        width:100%!important;
        max-width:100%!important;
        font-size:16px!important;
    }

    .btn,
    button,
    input[type="submit"]{
        width:100%;
        margin-bottom:8px;
    }

    table{
        display:block!important;
        overflow-x:auto!important;
        white-space:nowrap!important;
    }
}

@media(max-width:480px){
    body{
        font-size:13px!important;
    }

    .container,
    .container-fluid{
        padding-left:10px!important;
        padding-right:10px!important;
    }

    .crm-action-grid,
    .crm-stat-row,
    .crm-final-grid{
        grid-template-columns:1fr!important;
    }
}
