@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;
    }
    body#dashboard .col-6 {
        max-width: unset;
        flex: unset;
    }
    body#workbooks .col-lg-4 {
        flex: unset;
        max-width: unset;
        padding-bottom: 1.5em;
    }
    .embed-responsive {
        max-width: unset;
    }
}

@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;
    }
    
    .card-body,
    .card-footer {
        padding: 15px;
    }
    
    a[href*="downloads"] {
        width: 100%;
    }
    a[href*="downloads"] + span {
        text-align: center;
        padding-top: 13px;
        margin-left: 0 !important;
        width: 100%;
        text-align: center;
        display: inherit;
    }
    
    .card-body > h3.h5 {
        margin-bottom: 0 !important;
    }
    h3.h6.mb-4 {
        margin-bottom: 15px !important;
    }

    .table-responsive {
        margin: 0 -15px -15px;
        width: auto;
    }

    table.schedule {
        margin: 0;
        border-top: 1px solid #dfdfdf !important;
        font-family: inherit;
        font-weight: normal;
    }

    table.schedule,
    table.schedule td {
        display: block;
        width: auto;
    }

    table.schedule tbody {
        display: block;
    }

    table.schedule tr {
        display: block;
        padding: 10px 15px;
        border-bottom: 1px solid #e7e7e7;
        font-size: 1rem;
    }

    table.schedule tr:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

    table.schedule td {
        padding: 0;
        border: none;
        font-family: inherit;
    }
    
    form#change-pass {
        max-width: none;
    }
    
    #upload-payment.card h3.h5 {
        font-size: 15px;
        position: relative;
        margin-top: -5px;
    }
    #upload-payment.card .input-group {
        display: block;
    }
    #upload-payment.card .input-group-append {
        margin: 9px 0 0;
    }
    #upload-payment.card .custom-file-label {
        font-size: 13px;
        height: 44px;
        line-height: 28px;
        border-top-right-radius: .25rem !important;
        border-bottom-right-radius: .25rem !important;
        padding-right: 79px;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }
    #upload-payment.card .custom-file-label::after {
        height: 42px;
        line-height: 28px;
    }
    #upload-payment.card .input-group>.custom-file {
        display: block;
        height: 100%;
    }
    #upload-payment.card .custom-file-input {
        width: 100%;
        height: 44px;
    }
    #upload-payment.card .btn[type="submit"] {
        border-top-left-radius: .3rem;
        border-bottom-left-radius: .3rem;
        width: 100%;
    }

    .accordion button.btn.btn-link {   
        padding: 0;
    }
    .accordion button.btn.btn-link span.h5.font-weight-bold {
        font-size: 100%;
    }
    .accordion > .card > .card-header {
        padding: 10px 15px;
    }
    .accordion .card-body .lead {
        font-size: 14px;
        line-height: 20px;
    }
    .accordion .card-body > *:last-child {
        margin-bottom: 0;
    }
    .accordion .card-body > ol {
        padding-left: 30px;
    }
    .accordion .card-body > ol.lead {
        font-size: 14px;
        line-height: 20px;
    }
    .accordion .card-body > ol.lead li {
        margin-bottom: 5px;
    }
    .accordion .card-body > ol.lead li:last-child {
        margin-bottom: 0;
    }
    
    #emergency-contact li.mb-4:last-child h5 {
        margin-bottom: 0;
    }
}