/*============================================================== 
 For Laptop & above all (1650px) 
 ============================================================== */

@media(min-width:1650px) {
    .widget-app-columns {
        column-count: 3;
    }

    .website-visitor {
        height: 445px;
    }

    .auto-height {
        max-height: 315px;
    }
}

@media(max-width:1600px) {
    .website-visitor {
        height: 333px;
    }

    .auto-height {
        min-height: 240px;
    }
}

/*============================================================== 
 For Laptop & above all (1370px) 
 ============================================================== */

@media(max-width:1370px) {
    .widget-app-columns {
        column-count: 2;
    }

    .website-visitor {
        height: 353px;
    }

    .auto-height {
        min-height: 186px;
    }
}

/*-- ============================================================== 
 Small Desktop & above all (1024px) 
 ============================================================== */

@media(min-width:1024px) {
    .page-wrapper {
        margin-left: 210px;
    }
}

@media(max-width:1023px) {
    .page-wrapper {
        margin-left: 70px;
        transition: 0.2s ease-in;
    }

    .widget-app-columns {
        column-count: 1;
    }

    .inbox-center a {
        width: 200px;
    }

    .hdr-nav-bar {
        .navbar {
            .navbar-nav {
                >li {
                    a {
                        padding: 12px 15px;
                        border-bottom: 0px solid transparent;
                        border-left: 2px solid transparent;
                    }

                    &:hover a {
                        padding: 12px 20px;
                    }
                }
            }
        }

        .call-to-act {
            .custom-select {
                margin-bottom: 10px;
            }
        }
    }

    .d-flex {
        display: block !important;

        &.no-block {
            display: flex !important;
        }
    }

    /* nextloop */
    .logged-out body .login-background {
        display: none !important;
    }

}

/*-- ============================================================== 
 Ipad & above all(768px) 
 ============================================================== */

@media(min-width:768px) {
    .navbar-header {
        width: 200px;
        flex-shrink: 0;

        .navbar-brand {
            padding-top: 0px;
        }
    }

    /*This is for the breeadcrumd*/
    .page-titles {
        .breadcrumb {
            text-transform: uppercase;
        }
    }

    .card-group .card:first-child,
    .card-group .card:not(:first-child):not(:last-child) {
        border-right: 1px solid rgba(0, 0, 0, 0.03);
    }

    .material-icon-list-demo .icons div {
        width: 33%;
        padding: 15px;
        display: inline-block;
        line-height: 40px;
    }

    .mini-sidebar {
        .page-wrapper {
            margin-left: 75px;
        }
    }

    .flex-wrap {
        flex-wrap: nowrap !important;
        -webkit-flex-wrap: nowrap !important;
    }
}

/*-- ============================================================== 
 Phone and below ipad(767px) 
 ============================================================== */

@media(max-width:767px) {
    .container-fluid {
        padding: 25px 15px 25px 15px;
    }

    /*Header*/
    .topbar {
        position: fixed;
        width: 100%;

        .top-navbar {
            -webkit-box-orient: horizontal;
            -webkit-box-direction: normal;
            flex-direction: row;
            flex-wrap: nowrap;
            -webkit-align-items: center;

            .navbar-header {
                border-bottom: 0px;
            }

            .navbar-collapse {
                display: flex;
                width: 100%;
            }

            .navbar-nav {
                flex-direction: row;

                >.nav-item.show {
                    position: static;

                    .dropdown-menu {
                        width: 100%;
                        margin-top: 0px;
                    }
                }

                >.nav-item>.nav-link {
                    padding-left: .50rem;
                    padding-right: .50rem;
                }

                .dropdown-menu {
                    position: absolute;
                }
            }
        }
    }

    .mega-dropdown {
        .dropdown-menu {
            height: 480px;
            overflow: auto;
        }
    }

    /*Sidebar and wrapper*/
    .mini-sidebar .page-wrapper {
        margin-left: 0px;
        padding-top: 70px;
    }

    .comment-text {
        .comment-footer {
            .action-icons {
                display: block;
                padding: 10px 0;
            }
        }
    }

    .vtabs .tabs-vertical {
        width: auto;
    }

    /*Footer*/
    .material-icon-list-demo .icons div {
        width: 100%;
    }

    .error-page {
        .footer {
            position: fixed;
            bottom: 0px;
            z-index: 10;
        }
    }

    .error-box {
        position: relative;
        padding-bottom: 60px;
    }

    .error-body {
        padding-top: 10%;

        h1 {
            font-size: 100px;
            font-weight: 600;
            line-height: 100px;
        }
    }

    .login-register {
        position: relative;
        overflow: hidden;
    }

    .login-box {
        width: 90%;
    }

    .login-sidebar {
        padding: 10% 0;

        .login-box {
            position: relative;
        }
    }

    /*This is for chat page*/
    .chat-main-box .chat-left-aside {
        left: -250px;
        position: absolute;
        transition: 0.5s ease-in;
        background: $white;

        &.open-pnl {
            left: 0px;
        }

        .open-panel {
            display: block;
        }
    }

    .chat-main-box .chat-right-aside {
        width: 100%;
    }

    /*Timeline*/
    ul.timeline:before {
        left: 40px;
    }

    ul.timeline>li>.timeline-panel {
        width: calc(100% - 90px);
    }

    ul.timeline>li>.timeline-badge {
        top: 16px;
        left: 15px;
        margin-left: 0;
    }

    ul.timeline>li>.timeline-panel {
        float: right;
    }

    ul.timeline>li>.timeline-panel:before {
        right: auto;
        left: -15px;
        border-right-width: 15px;
        border-left-width: 0;
    }

    ul.timeline>li>.timeline-panel:after {
        right: auto;
        left: -14px;
        border-right-width: 14px;
        border-left-width: 0;
    }

    /*Contact app page*/
    .left-aside {
        width: 100%;
        position: relative;
        border: 0px;
    }

    .right-aside {
        margin-left: 0px;
    }

    .flex-wrap {
        flex-wrap: wrap !important;
        -webkit-flex-wrap: wrap !important;
    }

    .chat-list li .chat-content {
        width: calc(100% - 80px);
    }

    /*Calendar*/
    .fc-toolbar .fc-left,
    .fc-toolbar .fc-right,
    .fc-toolbar .fc-center {
        float: none;
        display: block;
        text-align: center;
        margin-top: 10px;
        overflow: hidden;
    }
}

/*-- ============================================================== 
 Nextloop - Reverse - max-width: 1199px
 ============================================================== */

@media (max-width: 1199px) {

    //show project details
    #project-details-panel {
        display: block !important;
        width: 100%;

        .last-line,
        #project_progress_hidden {
            display: block !important;
            width: 100%;

            .project_progress_hidden_text {
                font-size: 20px;
            }
        }

        #project_progress_container {
            display: none;
        }
    }

    //show project details
    #client-details-panel {
        display: block !important;
        width: 100%;

        .profile_header {
            display: none;
        }
    }

    #client-profile-tab {
        display: inherit;
    }
}


/*============================================================== 
 Nextloop - Settings
 ============================================================== */

@media (max-width: 1023px) {

    .settings {
        .left-sidebar {
            display: none;
        }

        .page-wrapper {
            margin-left: 0px;
        }

        .topbar {
            margin-left: 0px !important
        }

        .navbar-top-right {
            margin-right: 0px !important;
        }

        .settings-hamburger-menu {
            display: block;
        }

        .toggle-left-menu {
            display: block;
            margin-top: 55px;

            .exit-panel {}
        }
    }
}


/*-- ============================================================== 
 Small Desktop & above all (1024px) 
 ============================================================== */
@media(max-width:400px) {

    /* nextloop */
    .login-box {
        width: 300px !important;
    }

    #header-search {
        width: 100px !important;
    }

    .btn-add-circle {
        border-radius: 5px !important;
        height: 35px !important;
        width: 35px !important;
        padding: 2px !important;
        font-size: 14px !important;
    }

    #list-page-actions {
        padding-top: 10px !important;
    }

    #settings-exit-text {
        display: none !important;
    }

    #settings-exit-button {
        font-size: 20px;
    }

    .list-actions-button {
        margin-bottom: 8px;
    }


    //hide logo
    #topnav-logo-container {
        display: none;
    }

    //show on settings page
    .settings {
        #topnav-logo-container {
            display: block;
            width: 50px;
        }
    }

    .mce-floatpanel {
        width: 400px !important;

        .mce-textbox {
            width: 175px !important;
        }

        .mce-container-body {
            width: 400px !important;

            .mce-btn-has-text {
                width: 70px !important;
            }
        }
    }
}


@media(max-width:320px) {

    //hide language icon
    #topnav-language-icon {
        display: none;
    }



    //hide start timer icon
    #topnav-record-time-icon {
        //display: none;
    }


    //hide logo
    .top-nav-events {
        width: 320px !important;
    }

}

/*-- ============================================================== 
 search
 ============================================================== */

 @media(max-width:900px) {
    .top-search-bar {
        display: none;
    }
}

@media(max-width:1200px) {
    .modal-xxl {
        max-width: 90% !important;
    }
}
