@media only screen and (max-width: 1024px) {
    body#dashboard .lead + .pt-5 {
        padding-top: 0 !important;
    }
    body#dashboard .pt-5 .pt-4 {
        padding-top: 0 !important;
    }
}

@media only screen and (min-width: 768px) {
    .show-on-mobile {
        display: none !important;
    }
}

@media only screen and (max-width: 767px) {
    .hide-on-mobile {
        display: none !important;
    }
    a.navbar-brand {
        width: auto;
        background: transparent;
        box-shadow: none;
    }
    button#trigger-menu {
        text-decoration: none;
        color: rgb(255, 255, 255);
        margin-right: -4px;
        font-size: 1rem;
    }
    button#trigger-menu span {
        position: relative;
        top: -1px;
    }
    button#trigger-menu i {
        color: #ffffff;
        font-size: 21px;
        display: inline-block;
        padding: 0;
        margin: 0 0 0 5px;
    }
    button#trigger-menu.on {
        color: rgba(193,200,209,.6);
    }
    button#trigger-menu.on i {
        color: rgba(193,200,209,.6);
    }
    nav#sidebar {
        flex: unset;
        max-width: unset;
    }
    .sidebar-sticky {
        padding-bottom: 50px !important;
    }
    
    [role="main"] {
        padding: 45px 15px 0 !important;
    }
    .h2,
    .h4,
    h5,
    .h5,
    .h6,
    .lead {
        font-size: large;
        line-height: unset;
    }
    
    h3.h6.mb-4 {
        margin-bottom: 15px !important;
    }

    .table-responsive {
        margin: 0 -15px -15px;
        width: auto;
    }
    
    div#stocks-list_filter {
        margin: 0 0 20px;
        text-align: left;
    }

    table#stocks-list {
        display: block;
    }

    table#stocks-list thead {
        display: none;
    }

    table#stocks-list tbody, table#stocks-list tbody tr, table#stocks-list tbody td {
        display: block;
        border: none;
        padding: 0;
    }

    table#stocks-list tbody tr {
        border: 1px solid #dee2e6;
        margin: 0 0 -1px;
        padding: 10px 9px 10px 12px;
        position: relative;
    }

    .dataTables_wrapper .dataTables_filter input {
        width: calc(100% - 62px);
        border: 1px solid #dee2e6;
    }

    div#stocks-list_filter label {
        display: block;
    }

    select.custom-select.mr-2 {
        width: calc(100% - 61px) !important;
    }

    table#stocks-list td:nth-child(4) {
        position: absolute;
        top: 8px;
        right: 8px;
    }
    
    .btn-outline-success {
        border: none;
        padding: 0;
        background: none !important;
        color: #28a745 !important;
        outline: none !important;
        box-shadow: none !important;
    }
}