/**
* Width
*/

@media screen and (max-width: 1400px){
    .file-stats {
        display: flex;
        text-align: center;
        flex-direction: column;
        width: max-content;
    }

    .file-modal-icons {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}

@media screen and (min-width: 1200px){
    #row-live-indicators {
        flex-direction: column !important;
    }
}

@media screen and (max-width: 1199px){
    #row-live-content {
        flex-direction: column-reverse;
    }

    
    #nav-live {
        width: 100% !important;
    }

    .side-nav-live-buttons {
        display: block !important;
        min-width: 100% !important;
    }

    #dashboard-profile-mobile {
        display: block !important;
    }

    #dashboard-profile-desktop {
        display: none !important;
    }

    #dashboard-save-changes {
        justify-content: flex-start;
    }

    .emission-details-file{
        flex-direction: column;
    }

    .avatar-name-file {
        flex-direction: column;
        margin-left: auto;
    }

    .avatar-name-file > a {
        margin-left: auto;
    }

    .avatar-name-file > div {
        display: flex;
        flex-direction: column;
        align-items: end;
        margin-top: 1rem;
    }

    .avatar-name-file > div > a > p {
        margin-bottom: 0;
    }

    .avatar-name-file > div > a > h5 {
        text-align: right;
    }

    .file-dividers {
        display: block;
    }

    .sample-profile-info, .profile-info {
        margin-top: 3rem;
    }

    .profile-stat-container {
        flex-direction: column;
    }

    .profile-stat-container > div {
        margin-left: 0 !important;
    }

    .profile-stat-container > div > p {
        text-align: left !important;
    }

    .edit-profile-buttons-actions, .edit-profile-buttons-decisions {
        flex-direction: column;
    }

    .edit-profile-buttons-decisions {
        align-items: flex-end !important;
    }

    .edit-profile-buttons-decisions > button {
        margin-right: 0 !important;
        margin-bottom: 0.5rem;
    }

    .edit-profile-buttons-actions > button {
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 0.5rem;
    }

    .stream-chat {
        width: 300px; 
    }

}

@media screen and (min-width: 992px){

    /* Large and higher */

    .menu-toggle {
        display: none !important;
    }

    .feed-container, .emission-container, .report-container, .mod-log-container, .profile-container {
        padding-left: 87px;
    }

    .message-container {
        padding-left: 100px;
    }

}

@media screen and (max-width: 991px){
    /* Large and lower */

    #navbarText > .container-fluid, #navbarText > .container-fluid > .row > .col-12, #nav-column {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .name-icons-users-container > .name-icons-users {
        justify-content: flex-start !important;
    }

    .dashboard-setting-buttons {
        width: 100% !important;
    }

    .message-list-lg {
        display: none;
    }

    .message-list-mobile {
        display: block;
    }

    .message-button-container {
        justify-content: space-between;
    }

    .message-list-buttons {
        display: block !important;
    }

    .file-modal-info {
        padding: 0.25rem;
    }

    .file-footer-buttons {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .file-stats {
        font-size: 1em !important;
    }

    .details-modal-ban-options {
        flex-direction: column;
    }

    .details-modal-ban-options > .flex-grow-1 {
        align-self: stretch;
        margin-top: 1rem;
    }

    .sample-profile-fact, .sample-profile-fact > p, .profile-fact, .profile-fact > p {
        margin: 0 !important
    }

    .sample-profile-info > .row > .d-flex, .sample-profile-profile-container, .profile-info > .row > .col-8, .profile-info > .row > .col-12, .profile-action-buttons, .profile-profile-info {
        flex-direction: column;
    }

    .profile-action-buttons {
        align-items: end;
    }

    .profile-action-buttons > .dropdown, .profile-profile-info {
        margin-top: 0.5rem;
    }

    .sample-profile-info {
        margin-bottom: 1rem;
    }

    .profile-stat-container {
        flex-direction: row;
    }

    .profile-stat-container > div {
        margin-left: 0.5rem !important;
    }

    .profile-stat-container > div > p {
        text-align: right !important;
    }

    .profile-stat-container > div > .profile-likes {
        text-align: left !important;
    }

    .live-mini {
        left: 0.5rem !important;
    }

    #dashboard-hr {
        display: block;
    }

    .dashboard-menu-mobile {
        display: block;
    }

    .dashboard-menu-desktop {
        display: none;
    }

    .settings-container, .images-container-dashboard, .messages-container-dashboard, .users-container-dashboard, .actions-container-dashboard {
        height: auto !important;
    }

    #dashboard-buttons-container {
        display: flex;
    }

    .dashboard-settings-buttons {
        margin: 0 1rem 1rem 1rem !important;
    }

    .dashboard-containers {
        height: auto !important;
        padding-bottom: 1rem;
        overflow-y: visible;
        min-height: 100% !important;
    }

    .rule-select-columns {
        display: none !important;
    }

    .rule-select-button-containers {
        justify-content: flex-start !important;
    }

    .rule-select-buttons {
        display: inline-block !important;
    }
}

@media screen and (max-width: 800px){
    
    .feed-container {
        flex-direction: column-reverse;
    }

    .feed-emission-container {
        margin: 0;
        max-width: 100%;
    }

    .emission-container, .message-container, .report-container, .mod-log-container, .profile-container {
        max-width: 100%;
    }

    .feed-emissions {
        width: 100%;
    }
    
    .feed-nav-stats {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
    
    .feed-nav-trending {
        width: 50%;
        margin-top: 3rem;
    }

    .file-button-container {
        flex-wrap: wrap;
    }

    .file-button-container > button {
        flex: 1 0 26%;
        margin-bottom: 1rem;
    }

    .file-stats {
        margin: 0 auto;
    }
}

@media screen and (min-width: 769px){
    .hr-live {
        display: none;
    }
}

@media screen and (max-width: 768px){


    .emission-name-info, .column-reverse-small {
        flex-direction: column-reverse;
        align-items: start !important;
    }

    .emission-name-info > small > i {
        margin-left: 0 !important;
    }

    .file-modal-arrows {
        font-size: 2em;
    }

    .profile-action-buttons {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .emission-input-buttons {
        flex-direction: column-reverse;
        align-items: flex-start !important;
    }

    .emission-input-buttons > div, .emission-input-buttons > div > div {
        width: 100%;
    }

    .stream-button-live {
        left: 15%;
    }

    .stream-chat {
        width: 200px;
    }

    .stream-chat-input {
        flex-direction: column;
        padding: 0.66rem;
    }

    .stream-chat-actions {
        width: 100%;
        margin-top: 0.5rem;
        align-items: end !important;
    }

    #instance-all-navigation {
        flex-direction: column;
    }

    #instance-all-navigation > .MuiTabs-root {
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }

    #instance-all-navigation > button {
        align-self: flex-start;
    }

    .datatable-body > tr > td, .datatable-body > tr > th, .datatable-header > tr > td, .datatable-header > tr > th  {
        padding: 0.25rem;
    }

    .datatable-body > tr > td > button, .datatable-body > tr > th > button, .datatable-header > tr > td > button, .datatable-header > tr > th > button {
        padding: 0.625rem !important;
        font-size: 0.66rem;
    }

    .datatable-body > tr > td > div > .square-3, .datatable-body > tr > th > div > .square-3, .datatable-header > tr > td > div > .square-3, .datatable-header > tr > th > div > .square-3 {
        height: 2rem;
        width: 2rem;
        margin-right: 0.25rem !important;
    }

    .datatable-body > tr > td > div > .fs-5, .datatable-body > tr > th > div > .fs-5, .datatable-header > tr > td > div > .fs-5, .datatable-header > tr > th > div > .fs-5 {
        font-size: 1rem !important;
    }
}

@media screen and (max-width: 720px){
    #jizzer-header-buttons {
        flex-direction: column-reverse;
    }

    #jizzer-header-buttons button:nth-child(2) {
        margin-right: 0 !important;
        margin-bottom: 0.75rem;
    }
}

@media screen and (max-width: 700px){
    .emission-footers {
        padding-right: 0.75rem;
        padding-left: 0.75rem;
    }
    #dashboard-buttons-container {
        flex-direction: column;
    }

    .dashboard-settings-buttons {
        margin: 1rem 0 !important;
    }
    .table-dashboard {
        table-layout: fixed;
    }
}

@media screen and (max-width: 600px){
    

    .emission-footers > .d-flex {
        justify-content: space-between;
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }

    .emission-stat-icons {
        margin-right: 0.3rem;
    }

    .emission-details {
        flex-direction: column;
    }

    .file-arrow-containers {
        padding: 0.5rem;
    }
}

@media screen and (max-width: 576px){
    .file-modal-arrows {
        font-size: 1.2em;
    }

    #detail-modal-body-child {
        padding-right: 0.5rem !important;
        padding-left: 0.5rem !important;
    }

    .mod-log-text {
        font-size: 1rem;
    }

    .stream-button-live {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .rule-select-button-containers {
        flex-direction: column;
    }

    .rule-select-button-containers > button {
        display: block !important;
        width: 100%;
        margin-top: 0.5rem !important;
    }

}

@media screen and (max-width: 500px){
    .report-detail-buttons {
        padding-left: 1rem;
        padding-right: 1rem;
        white-space: nowrap !important;
    }

    #home-container {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }

    .carousel-indicators {
        display: none !important;
    }
}

@media screen and (max-width: 450px){

    .profile-tabs > div > div > button {
        padding-left: 0.25rem !important;
        padding-right: 0.25rem !important;
        font-size: 0.66rem;
    }

    .profile-container > .container {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }

    .emission-footer-buttons {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }


    .emission-footers {
        padding-right: 0;
        padding-left: 0;
    }

    .emission-copy-copy {
        display: none;
    }

    .emission-text-mobile {
        display: block;
    }

    .emission-text-regular {
        display: none;
    }

    .emission-headers {
        flex-direction: column;
    }

    .emission-headers > .flex-grow-1 {
        width: 100% !important
    }

    .emission-name-info {
        margin-top: 0.75rem;
    }

    .emission-name-info > small {
        margin-top: 0.75rem;
    }

    .emission-name-info > small > i {
        display: block;
    }

    .report-details {
        flex-direction: column;
    }

    .modal-footer-small-buttons {
        padding: 0.25rem !important;
    }

    .details-modal-ban-options > .d-flex {
        flex-direction: column;
    }

    .details-modal-ban-options > .d-flex > .px-4 {
        margin-top: 1rem;
    }

    .remove-emission-reasons {
        flex-direction: column;
    }

    .edit-profile-footer {
        display: block;
    }

    .edit-profile-footer > div, .edit-profile-footer > button, .edit-profile-footer > div > button, .edit-profile-footer > div > div > button, .edit-profile-footer > div > div {
        display: block;
        width: 100%;
    }

    .edit-profile-footer > div > button, .edit-profile-footer > div > div > button, .edit-profile-footer > button {
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 0.5rem !important;
    }

    .edit-profile-footer > div {
        margin: 0 !important;
    }

    .emission-input-buttons > div > div {
        flex-direction: column;
    }

    .emission-input-buttons > div > div > button {
        margin-left: auto;
        margin-top: 0.7rem;
    }

    .stream-button-live {
        left: 20%;
    }

    .stream-chat-messages > .d-flex > .chat-avatars {
        width: 36px !important;
        height: 36px !important;
    }

    .stream-chat-messages {
        padding: 0.33rem !important;
    }

    .stream-chat {
        width: 170px;
    }

    .stream-device-toggle {
        padding: 0 !important;
    }

    .live-viewers-close > .rounded-pill > h5 {
        font-size: 1rem;
    }

    .live-viewers-close > .rounded-pill {
        padding: 0.5rem !important;
    }
}

@media screen and (max-width: 400px){
    .report-detail-buttons {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        font-size: 0.66rem;
    }

    .report-info-container > h5 {
        font-size: 1rem;
    }
}

/**
* Height
*/

@media screen and (max-height: 700px){
    .nav-icons {
        font-size: 1.33333em;
        line-height: .75em;
        vertical-align: -0.0667em;
    }

    .nav-item-containers {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .stream-chat {
        height: 80vh;
    }
}

@media screen and (max-width: 500px){

    ::-webkit-scrollbar-track {
        -webkit-box-shadow: none;   
    }
    
    ::-webkit-scrollbar {
        width: 6px;
    }
    
    ::-webkit-scrollbar-thumb
    {
        border-radius: 6px;
        border: solid 1px transparent;
    }

    .report-detail-buttons {
        padding-left: 1rem;
        padding-right: 1rem;
        white-space: nowrap !important;
    }
}