/* 
    Created on : 16 Mar 2022, 4:00:11 pm
*/

.navbar .navbar-toggler {
    padding: 0;
    width: 35px;
    height: 35px;
    top: 6px;
}
.navbar-dark .navbar-toggler-icon {
    width: 25px;
    height: 25px;
}

@media only screen and (max-width: 1023px) {
    form#add-assessment .goal-record .item,
    #assessment.view-style .item {
        display: block;
    }
    form#add-assessment .goal-record .item span,
    #assessment.view-style .item span:first-child {
        padding: 0;
        display: block;
        margin: 3px 0;
    }
    .inline-radios.text-nowrap {
        white-space: normal !important;
    }
}
@media only screen and (min-width: 768px) {
    #sidebarMenu #logout {
        display: none;
    }
}
@media only screen and (min-width: 768px) and (max-width: 1023px) {
    #messages-dashboard #message-sidebar {
        display: none;
    }
}
@media only screen and (max-width: 767px) {
    header #logout {
        display: none;
    }
    nav#sidebarMenu {
        overflow: auto;
        padding-bottom: 20px;
    }
    nav#sidebarMenu::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
        border-radius: 10px;
        background-color: #F5F5F5;
    }
    nav#sidebarMenu::-webkit-scrollbar {
        width: 10px;
        height: 10px;
        background-color: #F5F5F5;
    }
    nav#sidebarMenu::-webkit-scrollbar-thumb {
        border-radius: 10px;
        -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
        background-color: #666;
    }
    
    #messages-dashboard #message-sidebar .message a {
        padding: 10px 10px 10px 20px;
    }
    #messages-dashboard #message-sidebar .message .details {
        padding-right: 10px;
    }
    #messages-dashboard #message-sidebar .message .message {
        margin-top: 10px;
    }
}
@media only screen and (max-width: 575px) {
    h1 + div {
        display: block;
        flex: none;
        width: 100%;
        margin: 10px 0 0;
    }
    h1 + div .btn {
        width: 100%;
    }
    
    #page-content > .d-flex:first-child .btn + .btn {
        margin-top: 10px;
    }
    
    table.dataTable.no-footer {
        display: block;
        border: none;
        margin: 20px 0 0;
    }
    table.dataTable  thead {
        display: none;
    }
    table.dataTable > tbody {
        display: block;
        border: none !important;
    }
    table.dataTable tbody tr {
        display: block;
        border: 1px solid #c1c1c1;
        padding: 5px 10px 10px 10px;
        margin-top: -1px;
        position: relative;
    }
    table.dataTable tbody tr td {
        display: block;
        padding: 0;
        border: none;
    }
    table.dataTable tbody tr td.text-nowrap {
        white-space: normal !important;
    }
    table.dataTable tbody tr td[data-label]:before {
        content: attr(data-label)': ';
        color: #777;
    }
    table.dataTable .action-btns {
        margin: 7px 0 0;
    }
    table.dataTable .action-btns:after {
        content: '';
        clear: both;
        display: block;
    }
    
    .inline-radios.text-nowrap .form-check-inline {
        display: block;
        margin: 0;
    }
    
    .dataTables_wrapper select {
        outline: none;
    }
    input[type="search"] {
        outline-offset: unset;
        outline: none;
    }
    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter,
    .dataTables_wrapper .dataTables_info,
    .dataTables_wrapper .dataTables_paginate {
        text-align: left;
    }
    .dataTables_wrapper .dataTables_paginate .paginate_button {
        padding: 5px 13px 6px;
        display: inline-block;
        margin: 0 5px 0 0;
    }
    
    table#tbl-messages.dataTable tbody tr {
        border: 1px solid #c1c1c1;
    }
    table#tbl-messages.dataTable tbody td {
        border: none;
    }
    table#tbl-messages .message a {
        display: block;
    }
    table#tbl-messages .message a > div {
        padding: 0;
    }
    table#tbl-messages .message .name,
    table#tbl-messages .message .message,
    table#tbl-messages .message .date {
        width: 100%;
    }
    table#tbl-messages .message .date {
        text-align: left !important;
    }
    table#tbl-messages .archive {
        visibility: visible;
        align-items: baseline;
        padding: 0;
        top: 5px;
    }
    
    table#admin-messages td.text-end {
        text-align: left !important;
    }
    
    #messages-dashboard #message-sidebar {
        display: none;
    }
    
    #messages-dashboard #message-content .m-heading {
    padding: 10px;
}
    #messages-dashboard #message-content .m-heading .avatar {
        width: 50px;
        height: 50px;
        margin-right: 10px;
    }

    #chat-logs {
        padding-left: 10px;
        top: 80px;
        bottom: 70px;
    }
    #chat-logs .chat.other .avatar {
        width: 50px;
        height: 50px;
        margin-right: 10px;
    }
    #chat-logs .chat img {
        max-width: 50vw;
    }
    #chat-logs .file span.name {
        max-width: 30vw;
    }

    form#reply-chat {
        padding: 0 10px 10px;
    }
    form#reply-chat .dropzone {
        padding-top: 10px;
    }
    form#reply-chat .dropzone .dz-preview {
        margin: 0 16px 10px 0;
    }
    form#reply-chat .dropzone.scrollbar {
        margin-bottom: 10px;
    }
}