@media only screen and (max-width: 991px) {
    .desktop,
    #historyBackBtn,
    .navbar-nav .items {
        display: none;
    }

    .mobile {
        display: block;
    }

    .login-wrap {
        margin-top: 0 !important;
        min-height: 100vh !important;
    }

    .login-wrap .border-logo {
        margin-top: 30px;
    }
    
    .login-wrap .border-logo .fa-road {
        font-size: 50px !important;
    }

    .login-wrap .loginTitle {
        text-align: center;
        font-size: 35px;
        margin: 20px 0 30px;
    }

    .login-wrap .login.box {
        width: 80% !important;
    }

    .login-wrap .border-box {
        border-bottom: 2px solid #eceeef;
    }

    .login-wrap .register-btn {
        margin-top: 0;
    }

    .register-login-btn {
        display: block;
        text-align: center;
        float: none !important;
        margin: 15px 0;
    }

    .register-forgot-pass-btn {
        display: block;
        text-align: center;
        float: none !important;
    }

    .navbar-nav {
        width: 100vw;
        position: relative;
    }

    .mobile-br-none {
        border-right: none !important;
    }

    .close-icon {
        background: none;
        border: none;
    }

    .close-icon i {
        color: #ffffff70;
    }

    .logo {
        padding: 0;
    }

    .sidebar,
    #applyBtn {
        min-height: auto !important;
    }

    .wrap {
        min-height: auto;
        width: 100vw;
        margin-left: 0;
    }

    .mobile .h-10 {
        height: 10vh;
    }

    .header-main h1 {
        font-size: 30px;
        padding: 0 0 20px !important;
    }
    .privacy-policy-link {
        bottom: 0px;
    }

    header {
        flex-direction: column;
    }

    header .right .user,
    header .right .logo_branding_partner {
        display: none;
    }

    .driver-top-section {
        padding-top: 0;
    }

    #frmProfile {
        padding-top: 45px;
    }

    .dataTables_filter input {
        width: 100%;
        padding: 16px 0 16px 40px;
    }

    .dataTables_wrapper .top {
        display: block;
    }

    .dataTables_wrapper .top .dataTables_filter,
    .dataTables_wrapper .top .dataTables_filter > label {
        width: 100%;
    }

    .dataTables_wrapper .dataTables_info,
    .custom-filter .data_info {
        width: 80% !important;
        display: inline-block;
        top: -4px;
        position: relative;
    }

    .dataTables_wrapper .dataTables_paginate,
    .custom-filter .paginate {
        width: 20%;
        display: inline-block;
        text-align: right;
        margin-top: 22px;
        min-width: auto !important;
    }

    .dataTables_wrapper .dataTables_paginate>a.previous {
        padding: 0 3.4vw 0 1.4vw;
    }

    .dataTables_scrollHead tr>th {
        font-size: 9px;
    }

    .modal-content {
        margin-top: 15vh;
    }

    .timeline-section {
        margin: 45px auto 0 auto;
    }

    h2#timeline_header {
        padding: 45px 48px 50px 0px;
    }

    .all-training-section {
        margin-top: 45px;
    }

    .result-table {
        padding-top: 0;
    }

    .result-table .section-title {
        padding-bottom: 0 !important;
    }

    .certificate {
        margin-top: 45px;
        padding-top: 0;
        text-align: center;
    }

    .certificate-content-image {
        position: relative;
        top: auto;
        left: auto;
    }

    .certificate-content,
    .certificate-info-text {
        margin-left: 0;
    }

    .certificate-info-text {
        justify-content: center;
    }

    a.certificate-info-text {
        margin-top: 15px;
        margin-bottom: 0;
    }

    #listAnswers .explanation-area {
        padding-left: 7.2vw !important;
        padding-right: 7.2vw !important;
    }

    .main, 
    .tab-pane {
        padding-bottom: 45px;
    }

    #update-profile {
        margin-bottom: 0 !important;
    }

    .footer-test {
        position: relative;
        bottom: 0;
        width: 100%;
    }

    .main_btns {
        text-align: center;
        margin-top: 1rem!important;
    }

    .main_btns > a {
        float: none !important;
    }

    .testing-proccess .driver-top-section .section {
        padding-top: 45px;
    }

    .testing-proccess {
        min-height: 70vh;
    }

    .loader, .loader-custom, .preview-loader {
        left: 0;
    }

    .timer {
        right: 10px;
    }

    #practiseVideoQuestionModal .modal-dialog {
        max-width: 100%;
    }

    .feedback {
        text-align: center;
    }

    .mobile-mt-3 {
        margin-top: 1rem!important;
        text-align: left;
    }

    .mobile-feedback-form label {
        text-align: left;
    }

    .footer-test button#sendFeedbackBtn {
        margin: auto;
    }

    .fix-height {
        height: auto;
        margin-top: 0 !important;
    }
    
    .boxes .result {
        margin-right: 5px;
    }

    #statusContainer {
        padding-left: 32px !important;
        padding-right: 32px !important;
    }

    #viewAs {
        display: none;
    }

    .filter-btns {
        padding: 0;
        justify-content: start !important;
    }

    .filter-btns > button,
    .filter-btns > a,
    .filter-btns > div {
        justify-content: start !important;
        margin-bottom: 3vh !important;
    }

    .header-btns-right {
        margin-bottom: 25px;
    }

    #fullwidth-searchbar #searchInput {
        width: 100%;
        margin-right: 0;
        margin-top: 45px;
    }

    #searchForm {
        padding-bottom: 35px;
    }

    #searchForm .input-group-prepend {
        display: none;
    }


    #fullwidth-searchbar .input-group-btn {
        margin: 15px 0 0;
        width: 100%;
        display: flex;
        justify-content: space-around;
    }

    #fullwidth-searchbar .input-group-btn label {
        width: auto;
    }

    #fullwidth-searchbar .input-group-btn#actionBtns {
        margin-left: 0;
    }

    .nothing-found p {
        font-size: 0.9rem;
    }

    tr td,
    .dataTables_scrollBody tr>td {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
        line-height: initial !important;
    }

    .sub-menu {
        width: 100%;
        background-color: #1f2532;
    }

    .sub-sub-menu {
        padding-bottom: 20px;
    }

    .sub-menu .sub-menu-items {
        width: 60%;
        margin: auto;
    }

    .sub-menu .sub-menu-items a.sub-menu-item {
        display: block;
        padding: 10px 0 10px;
        text-align: center;
        color: #ffffff94;
        border-bottom: 1px solid #ffffff94;
    }

    .filters .input-gr {
        width: 100%;
        margin-right: 0
    }

    .filters select {
        width: 100% !important;
        position: relative !important;
    }

    .filters .btn-gr {
        width: 100%;
        justify-content: space-between;
        margin-top: 20px;
    }

    .custom-filter {
        flex-direction: column;
        align-items: start;
    }

    .custom-filter .left,
    .custom-filter .left label,
    .custom-filter .right,
    .annual-progress-stacked-bar-container,
    #answersModal .modal-dialog,
    .dashboard_column_one,
    .dashboard_column_two,
    .annual-progress-table-container,
    .emodule-score-stacked-bar-container,
    .emodule-score-table-container {
        width: 100%;
    }

    .custom-filter #data_info {
        margin-top: 25px;
    }

    #createQuestionModal .modal-dialog {
        min-width: auto;
    }

    .dataTables_scrollHead tr:first-child>th:last-child,
    .dataTables_scrollBody tr>td:last-child {
        min-width: auto;
    }

    .dataTables_scrollHead tr:first-child > th:last-child,
    .dataTables_scrollBody tr > td:last-child {
        width: auto;
    }

    .tables-btn-blue, .tables-btn-white,
    .dataTables_scroll tr td {
        height: auto;
    }

    .buttons-excel {
        padding: 15.5px 22.5px !important;
        margin-bottom: 0 !important;
    } 

    tr td a {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        line-height: initial !important;
    }

    .filters .radio-buttons {
        margin-left: 0;
        width: 100%;
        margin-top: 15px;
    }

    .filterBtns {
        width: 100%;
        margin-bottom: 10px;
    }

    .filterBtns .btn-gr {
        display: flex;
    }

    .filterBtns .btn-gr button {
        padding: 10px;
    }

    .filters form div.row {
        margin-left: 0;
        margin-right: 0;
    }

    .charts_container {
        flex-direction: column;
    }

    .mobile-chart-box {
        width: 100%;
        margin-left: 0;
        padding: 0 15px;
        margin-top: 45px;
    }

    .charts_container .pie_chart_data {
        margin-top: 45px;
        padding-bottom: 0 !important;
    }

    .mobile-mr-0 {
        margin-right: 0;
    }
    .dashboard_row,
    .annualProgressTabbox,
    .mobile-column {
        flex-direction: column;
    }

    .dashboard_column {
        padding: 0px;
    }

    .dashboard_row {
        margin-left: 15px;
        margin-right: 15px;
    }

    .annual-progress-table-container,
    .emodule-score-table-container {
        margin-left: 0;
        margin-top: 10px;
        margin-bottom: 20px
    }

    .dashboard_column .bg-white {
        min-height: auto;
    }

    .right .buttons {
        padding-top: 0;
    }

    .right .buttons a {
        padding: 15px;
    }

    .confirmation-modal .modal-dialog,
    .confirmation-modal .modal-dialog .modal-content {
        width: 100%;
    }

    #assignStageManuallyModal .modal-dialog {
        position: relative;
        left: 0;
        top: 0;
    }

    #assignStageManuallyModal .modal-content {
        width: 100%;
    }

    #resultsTable_info {
        margin-left: 0;
    }

    #export_excel {
        float: none;
        margin-left: auto;
    }

    .dt-button.ui-button {
        margin: 0;
    }

    .excel {
        margin-bottom: 3vh;
    }

    #documents .btn-gr {
        flex-direction: row !important;
        margin-top: 0;
    }

    .form-inline .btn-gr button {
        padding: 10px;
    }

    #emodule_processes_filter {
        margin-bottom: 25px;
    }

    #showEModuleAnswers #answersList {
        padding-left: 0;
    }

    #secondary-tab-links .nav-tabs .nav-item {
        width: 100%;
        text-align: center;
        margin: 0;
    }

    #secondary-tab-links .nav-tabs .nav-item a {
        width: 100%;
        background-color: #fff;
        color: black;
        border: none !important;
        border-radius: 0 !important;
        display: inline-block;
        padding: 10px;
        border-bottom: 1px solid #dee2e6 !important;
    }

    #secondary-tab-links .nav-tabs .nav-item a.active {
        color: #ffff;
        background-color: #2c80b9;
    }

    table caption {
        text-align: center;
    }

    #secondary-tab-content a.save-setting-btns,
    #secondary-tab-content button {
        float: none !important;
        display: block;
        margin: auto;
    }

    #secondary-tab-content > .tab-pane:not(#vehicle_documents) {
        padding: 0 15px;
    }

    .leaver-filter-btns {
        justify-content: center !important;
    }

    .mt-45 {
        margin-top: 45px;
    }

    .dataTables_filter {
        margin-left: 0 !important;
        margin-top: -2px;
    }


    .buttons {
        padding: 3vh 0;
    }

    .dashboard-select {
        padding-right: 0;
    }

    .dashboard_no_data {
      min-height: 100px !important;
    }

    #auth-codes-filter .header-btns-right {
        float: none;
        margin: 0;
        width: 100%;
        padding: 15px;
        display: flex;
    }

    #auth-codes-filter .header-btns-right label {
        margin-top: 20px;
    }

    .auth-codes-filter-btns {
        margin-top: 20px;
        display: flex;
        justify-content: space-between;
    }

    .auth-codes-filter-btns button {
        padding: 10px !important;
    }

    #primary-tab-links {
        display: none;
    }

    .mobile-100 {
        width: 100% !important;
    }
}
