@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 (max-width: 1023px) {
    body#attendance form .bootstrap-select {
        width: 100%;
        margin-right: 0 !important;
        margin-bottom: 10px;
    }
}

@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;
    }

    body#user .table-responsive {
        margin: 0;
    }

    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;
    }

    h6.card-subtitle.text-muted + h6.card-subtitle.text-muted {
        padding-top: 10px;
    }

    h6.card-subtitle.text-muted span.font-weight-normal {
        text-transform: uppercase;
        letter-spacing: 1px;
        font-size: 13px;
        margin-bottom: 10px;
        opacity: .75;
    }

    h6.card-subtitle.text-muted span.d-block:last-child {
        margin-top: 10px;
    }


    body#group .scrollable {
        padding-bottom: 0;
    }
    table.table.participants.mobile-responsive {
        display: block;
    }
    table.table.participants.mobile-responsive * {
        display: block;
    }
    table.table.participants.mobile-responsive thead {
        display: none;
    }
    table.table.participants.mobile-responsive tr {
        border-bottom: 1px solid #dee2e6;
        margin: -1px 0;
        padding: 10px;
    }
    table.table.participants.mobile-responsive td {
        border: none;
        padding: 0;
        font-size: 100%;
        white-space: normal !important;
        line-height: 130%;
    }
    table.table.participants.mobile-responsive td.text-capitalize {
        font-weight: 600;
    }

    body#attendance form {
        margin-bottom: 10px;
    }
    body#attendance form select {
        margin-bottom: 10px;
        margin-right: 0 !important;
    }
    body#attendance form button.btn {
        width: 100%;
    }


    body#volunteer table.mobile-responsive {
        display: block;
        border: 1px solid #111;
        width: auto;
        margin: 8px 0 0;
    }
    body#volunteer table.mobile-responsive * {
        display: block;
    }
    body#volunteer table.mobile-responsive thead {
        display: none;
    }
    body#volunteer table.mobile-responsive tr {
        padding: 15px;
    }
    body#volunteer table.mobile-responsive td {
        padding: 0;
        border: none;
    }
    body#volunteer table.mobile-responsive td span {
        display: inline;
    }
    body#volunteer table.mobile-responsive .btn.view {
        margin: 10px 0 0;
    }

    body#participant table.mobile-responsive {
        display: block;
        border: 1px solid #111;
        width: auto;
        margin: 8px 0 0;
    }
    body#participant table.mobile-responsive * {
        display: block;
    }
    body#participant table.mobile-responsive thead {
        display: none;
    }
    body#participant table.mobile-responsive tr {
        padding: 15px;
    }
    body#participant table.mobile-responsive td {
        padding: 0;
        border: none;
    }
    body#participant table.mobile-responsive td span {
        display: inline;
    }

    body#workbooks a[href*="downloads"] {
        width: 100%;
    }
    body#workbooks a[href*="downloads"] + span {
        text-align: center;
        margin-top: 13px;
    }

    div#video-display {
        margin-bottom: 1.5em;
    }

    body#attendance-create .form-group strong {
        display: block;
    }
    body#attendance-create td {
        vertical-align: middle;
    }

    body#attendance-create td:first-child {
        width: 50px !important;
    }
    body#attendance-create .custom-checkbox {
        display: block;
    }

    form#change-pass {
        max-width: none;
    }

    body#user table.mobile-responsive {
        display: block;
        border: 1px solid #111;
        width: auto;
        margin: 8px 0 0;
    }
    body#user table.mobile-responsive tbody,
    body#user table.mobile-responsive tr,
    body#user table.mobile-responsive td {
        display: block;
    }
    body#user table.mobile-responsive thead {
        display: none;
    }
    body#user table.mobile-responsive tr {
        padding: 15px;
    }
    body#user table.mobile-responsive td {
        padding: 0;
        border: none;
    }
    body#user table.mobile-responsive td span {
        display: inline;
    }
    body#user table.mobile-responsive .btn.view {
        margin: 10px 0 0;
    }
    body#user table.mobile-responsive td:last-child {
        text-align: right;
    }

    form.update-user {
        margin-bottom: 7px;
        background: #ffffff;
        border: 1px solid #111111;
        padding: 5px;
    }
    
    body#dashboard .flex-grow-1 + div {
        white-space: nowrap;
    }
}