@media (min-width: 992px) {
    .error-404 img {
      max-width: 50%;
    }

    .jd_title {
        text-overflow: ellipsis;
        width: 30%;
    }

    .jd_title:first-child {
      width: 40%;
    }

    .datatable-search {
      width: 100%;
      max-width: 40%;
    }
}

@media (min-width: 1200px) {

/*    #main,
    #footer {
      margin-left: 270px;
    }*/
  
/*    .toggle-sidebar #main,
    .toggle-sidebar #footer {
      margin-left: 0;
    }*/

    .toggle-sidebar .sidebar {
      left: 0px;
    }

    /* Need if Want to Move Toggle Icon afetr logo  */

/*    .header .toggle-sidebar-btn {
        padding-left: 10px;
        order: 0;
        margin-right: 0px;
      }*/
}

@media (min-width: 1600px) {
      .jd_title {
        min-width: 180px;
      }
      .jd_title, .jd_title:first-child {
        width: auto;
      }
}


@media (max-width: 1199px) {
    .toggle-sidebar .sidebar {
        left: 0;
    }

    #main {
      padding: 20px;
    }

    .header .search-bar {
      position: fixed;
      top: 50px;
      left: 0;
      right: 0;
      padding: 20px;
      box-shadow: 0px 0px 15px 0px rgba(1, 41, 112, 0.1);
      background: white;
      z-index: 9999;
      transition: 0.3s;
      visibility: hidden;
      opacity: 0;
    }
  
    .header .search-bar-show {
      top: 60px;
      visibility: visible;
      opacity: 1;
    }
    .sidebar {
      left: -300px;
    }
}




@media (min-width: 768px) {
    #main {
        margin-left: 60px;
    }
    .dropdown-menu-arrow::before {
      content: "";
      width: 13px;
      height: 13px;
      background: #fff;
      position: absolute;
      top: -7px;
      right: 20px;
      transform: rotate(45deg);
      border-top: 1px solid #eaedf1;
      border-left: 1px solid #eaedf1;
    }

    .sidebar-nav .nav-item span {
        display: none;
    }

    .sidebar-nav .nav-link {
        justify-content: center;
        padding: 10px 8px;
    }

    .sidebar-nav .nav-link i {
        margin-right: 0;
    }

    #sidebar {
        padding: 20px 10px;
        left: 0;
        width: auto;
    }

    .toggle-sidebar .sidebar-nav .nav-item span {
        display: block;
    }

    .toggle-sidebar .sidebar-nav .nav-link  {
        justify-content: flex-start;
        padding: 10px 15px;
    }

    .toggle-sidebar .sidebar-nav .nav-link i {
        margin-right: 10px;
    }

    .toggle-sidebar  #sidebar {
        padding: 20px;
    }
        
}

@media (max-width: 767px) {
  .header-nav .nav-profile img {
    max-height: 50px;
  }
  .postalCodeInput {
    width: 100%;
  }
    .datatable-top .datatable-dropdown {
        margin-bottom: 20px;
    }
    
    .datatable-top  .datatable-search,.datatable-top .datatable-dropdown, .datatable-wrapper .datatable-bottom .datatable-info, 
    .datatable-wrapper .datatable-bottom .datatable-pagination  {
        float: none;
    }
      
    .datatable-wrapper .datatable-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        /* row-gap: 20px; */
    }

    .map-main {
        padding: 0 !important;
/*        max-height: calc(100vh - 139px);*/
        overflow-x: hidden;
        overflow-y: auto;
/*        height: 100%;*/
/*        overflow: hidden;*/
    }

    .map-main .card-body {
        padding: 0;
    }

    .map-main .card-body .card-title {
        padding-left: 20px;
    }

   /* .map-main #map{
        height: calc(100vh - 196px);
    }*/

    div#map {
        height: calc(var(--vh, 1vh)* 100 - 253px);
    }

    .map-main{
        height: calc(var(--vh, 1vh)* 100 - 196px);
    }

    .map-main .card {
        margin-bottom: 0;
    }

    button.gm-control-active.gm-fullscreen-control, button.gm-control-active[title="Map camera controls"] {
        display: none !important;
    }

    .section.dashboard {
      min-height: unset !important;
      overflow: hidden;
    }

    .recent-sales .card-title, .title_bg_b, .dashboard .card-title {
        font-size: 15px;
        font-weight: 600;
        padding: 10px 10px !important;
        margin: 10px;
    }

    .table-responsive {
        white-space: nowrap;
    }



/*    body {
      height: calc(var(--vh, 1vh) * 100 - 74px);
    }*/

}

@supports (-webkit-touch-callout: none) {
    @media (max-width: 768px) {
        div#map {
            height: calc(var(--vh, 1vh) * 100 - 196px); /* Safari iOS-specific height */
        }

        .map-main {
            height: calc(var(--vh, 1vh) * 100 - 153px);
        }
    }
}


@media (max-width: 480px) {
    .header .logo svg {
        max-width: 130px;
    }
}