@media (max-width: 1180px) {

   /* For Layout */


   /* For Layout end */
}

@media (max-width: 991.98px) {

   /* For Layout */

   .header-navigation {
      padding: 10px 20px;
      box-shadow: 0 5px 20px rgb(0 0 0 / 5%);
   }

   .menu-navigation {
      width: fit-content;
      flex-direction: row-reverse;
      gap: 30px;
   }

   .toggleSwitch {
      display: flex;
      flex-direction: column;
      gap: 5px;
      align-items: flex-end;
      justify-content: center;
   }

   .toggleSwitch span {
      margin: 0;
   }

   .sidebar-collapsed .toggleSwitch span:first-child {
      transform: translate3d(0px, 7px, 0) rotate(45deg);
      transform-origin: unset;
      width: 100%;
      box-shadow: none;
   }

   .sidebar-collapsed .toggleSwitch span:nth-child(2) {
      opacity: 0;
   }

   .sidebar-collapsed .toggleSwitch span:last-child {
      transform: translate3d(0px, -7px, 0) rotate(-45deg);
      transform-origin: unset;
      width: 100%;
      box-shadow: none;
   }

   .sidebar {
      width: 0;
   }

   header,
   .sidebar-collapsed header {
      width: 100%;
      left: 0;
   }

   .mainBody,
   .sidebar-collapsed .mainBody {
      width: 100%;
   }

   .sidebar-collapsed .sidebar {
      width: 250px;
   }

   .sideOverlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: var(--clr-dark);
      z-index: -1;
      transition: all 0.3s ease-in-out;
      opacity: 0;
   }

   .sidebar-collapsed .sideOverlay {
      z-index: 998;
      opacity: 0.5;
   }

   .sidebar-collapsed .sidebar-menus li a span {
      display: block;
   }

   .sidebar-header,
   .sidebar-collapsed .sidebar-header {
      padding: 15px;
      box-shadow: 0 2px 10px rgb(0 0 0 / 10%);
   }

   .sidebar-collapsed .sidebar-header .logoTagline,
   .sidebar-collapsed .sidebar-menus li a span {
      opacity: 1;
   }

   .sidebar-menus {
      height: calc(100vh - 95px);
   }

   /* For Layout end */

   .LoginPage .row {
      min-height: 100vh;
      flex-direction: column-reverse;
   }

   .LoginPage .row .loginDetails {
      flex: 1;
      position: relative;
   }

   .LogoSide {
      padding: 30px;
      justify-content: center;
      background: rgb(0 0 0 / 20%) url(../img/crystel-bg.jpg) bottom no-repeat;
      background-blend-mode: overlay;
      background-size: cover;
      min-height: 400px;
   }

   .LoginForm {
      min-height: auto;
      padding: 60px 0;
   }

   .loginInfo {
      border-radius: 5px;
   }

   .timeline-panel {
      display: flex;
      justify-content: space-between;
      width: 100%;
      align-items: center;
   }

   .form-group label {
      font-size: 16px;
   }

   footer p {
      text-align: center;
   }

   @keyframes downAnimation {
      from {
         opacity: 0;
         transform: translate3d(0, -10px, 0);
      }

      to {
         opacity: 1;
         transform: translate3d(0, 45px, 0);
      }
   }
}


@media (max-width: 767.98px) {

   .LogoSide {
      min-height: auto;
   }

   .loginInfo {
      width: 100%;
      padding: 30px;
   }

   .LoginForm {
      padding: 40px 15px;
   }

   .loginDetails:after {
      content: '';
      position: absolute;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      background: url(../img/technology-background.png) bottom no-repeat;
      background-size: cover;
      z-index: -1;
      pointer-events: none;
   }

   .forgetpass p {
      display: flex;
      flex-direction: column;
      align-items: center;
   }

   .header-content {
      padding: 15px;
   }

   .header-navigation {
      padding: 10px;
   }

   .menu-navigation {
      gap: 10px;
   }

   .menu-items .profile-menu h6 {
      display: none;
   }

   .mainBody {
      padding: 20px 15px;
   }

   .sidebar-menus {
      height: calc(100vh - 90px);
   }

   .card-header {
      padding: 15px;
      border-radius: 10px 10px 0 0 !important;
      flex-wrap: wrap;
      gap: 15px;
   }

   .card-body {
      padding: 15px;
   }

   .timeline-panel {
      flex-direction: column;
      align-items: flex-start;
      justify-content: flex-start;
   }

   #LabelValidations,
   #LabelValidations30days,
   #mapimage,
   #LineChart,
   #chartdiv,
   #nfcLineChart,
   #NFCValidations,
   #NFCValidations30days {
      height: 250px;
   }

   .timelineList-box .timelineList {
      padding: 0;
   }

   .RecentMails .timelineList {
      max-height: 360px;
   }

   footer {
      padding: 12px 15px;
      min-height: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
   }

   .profileTitle .userLogo {
      width: 70px;
      min-width: 70px;
   }

   .ThemeBtn,
   .ThemeBtn-outline {
      padding: 8px 20px;
      min-height: 40px;
      font-size: 14px;
   }

   .dataTables_wrapper .row:first-child,
   .dataTables_wrapper .row:last-child {
      gap: 15px;
   }

   .dataTables_wrapper .row:first-child>*,
   .dataTables_wrapper .row:last-child>* {
      padding: 0;
      width: 100%;
   }

   .dataTables_filter label {
      justify-content: flex-start;
   }

   .dataTables_wrapper .dataTables_length label select {
      border: 0;
      border-bottom: 1px solid var(--clr-input-border);
      background-position: right;
      padding-right: 20px;
      width: fit-content;
   }

   .dataTables_filter label input {
      padding: 3px 0;
      border: 0;
      border-bottom: 1px solid var(--clr-input-border);
   }

   /*tracking page*/

   .step0 span {
      font-size: 12px;
   }

   .socialUpdate-box {
      flex-wrap: wrap;
   }

   .socialUpdate-group {
      padding-bottom: 15px;
   }

   .socialUpdate-box .form-control {
      border-bottom: 1px solid var(--clr-input-border);
   }
}


@media (min-width: 576px) {
   #viewTrackingdetail_model .modal-dialog {
       max-width: 700px;
       margin: 1.75rem auto;
   }
}
@media (max-width: 320px) {

   .LogoSide,
   .loginInfo {
      padding: 20px;
   }

   .LoginForm {
      padding: 30px 10px;
   }

   .brandLogo img {
      width: 30px;
   }

   .brandLogo .logoTagline {
      font-size: 20px;
      font-weight: 500;
   }

   footer p {
      font-size: 13px;
   }

   .card-header h6,
   .dropdown-menu a .details h5 {
      font-size: 14px;
   }

   .timeline-panel h6,
   .radioBox label,
   .subTitle {
      font-size: 13px;
   }

   .timeline-panel span,
   .dropdown-menu a .details p {
      font-size: 12px;
   }
}