@media screen and (max-width:1275px) {

  .no_found .quote-section form.wpcf7-form.no_found_quoteForm label,
  .no_found_quoteForm_div {
    width: 20%;
    padding-right: 10px;
  }

  .no_found .quote-section form.wpcf7-form.no_found_quoteForm input,
  .no_found .quote-section form.wpcf7-form.no_found_quoteForm textarea {
    width: 80%;
  }
}

@media screen and (max-width: 1199px) {
  .header .main_header_wrapper .left {
    width: 20%;
  }

  .category-item {
    width: calc(100% / 6) !important;
  }

  .category-item:not(:nth-child(6n + 1)) {
    border-left: none !important;
  }

  .category-item:nth-child(6n + 1) {
    border-left: 1px solid #818181 !important;
    /* Add left border back */
  }

  .category-item:nth-child(n+7) {
    border-top: none !important;
  }

}

@media (max-width:1165px) {
  .no_found .quote-section form.wpcf7-form.no_found_quoteForm label {
    font-size: 18px;
  }
}

@media (max-width:1024px) {
  .categories-img-column-img {
    padding-bottom: 65.58%;
  }

  .category-item {
    width: calc(100% / 5) !important;
  }

  .category-item:not(:nth-child(5n + 1)) {
    border-left: none !important;
  }

  .category-item:nth-child(5n + 1) {
    border-left: 1px solid #818181 !important;
  }

  .category-item:nth-child(n+6) {
    border-top: none !important;
  }
}

@media screen and (max-width: 991px) {
  .header .topbar {
    padding: 0 20px;
  }

  .header .main_header {
    padding: 0px 20px;
  }

  .industries_solution .industries_solution_wrapper ul li {
    width: 49%;
  }

  .footer .search_area.signup_input {
    width: 100%;
  }

  .footer .footer-bottom-area .social .feedback .improve_btn {
    padding: 10px 10px;
  }

  .category-wrapper .category-item,
  .category-wrapper .subcategory-item {
    width: 31.5%;
  }

  /* 14-02-25 */
  .desk-header {
    display: none !important;
  }

  header.header {
    display: block !important;
  }

  .mobile-header {
    display: block !important;
    background-color: #000;
  }

  .mobile-header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .mobile-header-left .right {
    display: flex;
    align-items: center;
  }

  .mobile-header .topbar ul li a {
    color: #fff !important;
    font-size: 18px;
    line-height: 26px;
    font-weight: 400;
    letter-spacing: .7px;
  }

  .mobile-header .topbar .right .customer_login {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
  }

  .mobile-header .topbar .right .customer_login li a.btn {
    background-color: #009cd1;
    border: 1px solid #009cd1;
    color: #fff;
    border-radius: 30px;
    padding: 7px 18px 6px;
    display: inline-block;
  }

  .mobile-header-left .logo a {
    height: 100%;
    display: flex;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
  }

  .hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background: white;
    transition: 0.3s ease-in-out;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 30%;
    height: 100vh;
    background: #035da3;
    transition: left 0.4s ease-in-out;
    z-index: 99;
    padding: 30px 20px;
    /* display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center; */
  }

  .mobile-menu ul.nav_menu_ul li+li {
    margin-top: 10px;
  }

  .mobile-menu.active {
    left: 0;
  }

  .header .topbar {
    padding: 12px 0px;
  }

  ul.customer_login {
    margin-top: 12px;
  }

  ul.customer_login li+li {
    margin-top: 12px;
  }

  .mobile-header {
    display: block !important;
  }

  .desk-header {
    display: none !important;
  }

  .header .main_header_wrapper .left {
    width: 21%;
  }

  p#successText1 {
    font-size: 25px;
    word-spacing: 40px;
  }

  p#successText2 {
    font-size: 25px;
    max-width: 614px;
    text-align: left;
    margin: 15px auto !important;
  }

  p#successText3 {
    font-size: 18px;
    max-width: 370px;
    margin: 0px auto;
  }

  body:has(.mobile-menu.active) {
    overflow: hidden;
  }

  .categories-img-column-img img {
    position: unset;
  }

  .categories-img-column-img {
    padding-bottom: unset;
  }

  .no_found .quote-section form.wpcf7-form.no_found_quoteForm label,
  .no_found_quoteForm_div {
    width: 100%;
    padding-right: 0;
  }

  .no_found .quote-section form.wpcf7-form.no_found_quoteForm input,
  .no_found .quote-section form.wpcf7-form.no_found_quoteForm textarea {
    width: 100%;
  }

  .categories-img-column-info h4 {
    font-size: 20px;
  }

  .contact-info-item {
    padding: 0 8px;
  }

  .contact-info-wrapper {
    margin: 0 -8px;
  }

  .submenu,
  .mega-submenu {
    position: static;
    width: 100%;
    box-shadow: none;
    display: none;
  }

  .submenu.active,
  .mega-submenu.active {
    display: block;
  }

  .mega-menu-item {
    border-bottom: none;
  }

  .submenu,
  .mega-submenu {
    display: none;
    /* Hide by default */
  }

  .submenu.active,
  .mega-submenu.active {
    display: block !important;
  }

  li.menu_li.has-submenu:hover ul.submenu,
  .mega-menu-item:hover .mega-submenu {
    display: none;
  }

  ul.mega-submenu {
    position: static;
    width: unset;
    background: unset;
    padding: 20px;
    box-shadow: unset;
    display: none;
    z-index: 1001;
  }

  li.menu_li.mega-menu-item {
    display: block;
  }

  li.menu_li.has-submenu::before {
    position: absolute;
    content: '';
    background: url(https://losi.crmtiger.com/wp-content/themes/dt-the7/images/down_drop_icon.svg);
    width: 10px;
    height: 7px;
    left: 95px;
  }

  li.menu_li.mega-menu-item::after {
    position: absolute;
    content: '';
    background: url(https://losi.crmtiger.com/wp-content/themes/dt-the7/images/down-arrow.png) no-repeat;
    width: 20px;
    height: 20px;
    background-size: 20px 20px;
    top: 0;
    right: 0;
    z-index: -1;
  }

  ul.submenu li a {
    width: 100%;
    display: block;
    padding-right: 20px;
  }
  
  li.menu_li.mega-menu-item:has(.mega-submenu.active):after {
    transform: rotate(180deg);
  }
}

@media screen and (max-width:850px) {
  .categories-img-column {
    width: 50%;
  }

  .categories-img-column-img img {
    position: absolute;
  }

  .categories-img-column-img {
    padding-bottom: 50%;
  }

  .categories-img-row {
    row-gap: 12px;
    justify-content: center;
  }

  .category-item {
    width: calc(100% / 4) !important;
  }

  .category-item:not(:nth-child(4n + 1)) {
    border-left: none !important;
  }

  .category-item:nth-child(4n + 1) {
    border-left: 1px solid #818181 !important;
  }

  .category-item:nth-child(n+5) {
    border-top: none !important;
  }

}

@media screen and (max-width: 767px) {
  .footer .footer-bottom-area {
    flex-direction: column;
    row-gap: 20px;
    margin-top: 0px;
    padding-bottom: 35px;
  }

  .footer .top_menu .col {
    width: 50%;
  }

  .footer-bottom-area .signup {
    width: 100%;
  }

  .footer .search_area.signup_input input {
    max-width: 100%;
    width: 100%;
  }

  .footer .footer-bottom-area .mobile_app {
    align-items: flex-start;
    margin: 40px 0;
  }

  .footer .footer-bottom-area .social {
    width: 100%;
  }

  .industries_solution .industries_solution_wrapper ul li {
    width: 100%;
  }

  .category-wrapper .category-item,
  .category-wrapper .subcategory-item {
    width: 30%;
  }

  /* 14-02-25 */
  .header .main_header {
    padding: 12px 0px;
  }

  .header .main_header_wrapper .account {
    margin-left: 0;
  }

  .header .main_header_wrapper .search_area {
    width: 100%;
    position: relative;
    order: 3;
  }

  .mobile-header-left .left {
    display: flex;
    align-items: center;
  }

  .header .main_header_wrapper .left {
    width: 50%;
    order: 1;
  }

  .header .main_header_wrapper .account {
    margin-left: 0;
    order: 2;
    display: flex;
    justify-content: end;
    width: 50%;
  }

  .header .main_header_wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }

  table#cat_table {
    width: unset;
    overflow-x: scroll;
    display: block;
    border: unset;
  }

  .cat-img-btns-row {
    flex-flow: column;
    align-items: flex-start;
    row-gap: 7px;
  }

  #main:has(.contact-page) {
    height: auto;
  }

  .contact-info-item {
    width: 50%;
  }

  .contact-info-wrapper {
    row-gap: 16px;
  }
}

@media screen and (max-width: 695px) {
  .categories-img-column-img {
    padding-bottom: 60%;
  }
}

@media screen and (max-width: 600px) {
  .categories-img-column {
    width: 100%;
    padding: 0;
  }

  .categories-img-column-img {
    padding-bottom: unset;
    height: 245px;
  }
}

@media screen and (max-width: 576px) {

  .category-wrapper .category-item,
  .category-wrapper .subcategory-item {
    width: 47%;
  }

  .search-box input {
    width: 60% !important;
  }

  #main {
    padding: 50px 0 50px 0 !important;
  }

  .wf-container-main {
    padding: 0 20px;
  }

  table#cat_table th,
  table#cat_table td {
    font-size: 14px;
  }

  .search-box input,
  .search-box button,
  button.order-button,
  .submit-btn,
  .back-to-top {
    font-size: 16px !important;
  }

  p#successText1 {
    font-size: 20px;
    word-spacing: 20px;
    text-shadow: 2px 2px #ddd;
  }

  p#successText2 {
    font-size: 20px;
    max-width: 487px;
    text-align: left;
    text-shadow: 2px 2px #ddd;
  }

  p#successText3 {
    font-size: 16px;
    max-width: 277px;
    margin: 0px auto;
    text-shadow: 2px 2px #ddd;
  }

  form.wpcf7-form {
    max-width: unset;
  }

  .form-block {
    flex-flow: column;
    gap: 8px;
  }

  form.wpcf7-form label {
    width: 100%;
    text-align: left;
  }

  form.wpcf7-form input,
  form.wpcf7-form textarea {
    width: 100%;
  }

  .form-block+.form-block {
    padding-top: 10px;
  }

  form.wpcf7-form label {
    font-size: 14px;
  }

  .mobile-menu {
    width: 60%;
  }

  .categories-img-column-block:before {
    clip-path: polygon(-7% -7%, 65% 0, 31% 100%, 0% 100%);
  }

  .category-item {
    width: calc(100% / 3) !important;
  }

  .category-item:not(:nth-child(3n + 1)) {
    border-left: none !important;
  }

  .category-item:nth-child(3n + 1) {
    border-left: 1px solid #818181 !important;
  }

  .category-item:nth-child(n+4) {
    border-top: none !important;
  }

  .no_found .quote-section form.wpcf7-form.no_found_quoteForm label,
  .no_found_quoteForm_div {
    width: 100%;
    padding-right: 0;
  }

  .no_found .quote-section form.wpcf7-form.no_found_quoteForm input,
  .no_found .quote-section form.wpcf7-form.no_found_quoteForm textarea {
    width: 100%;
  }

  .no_found .quote-section form.wpcf7-form.no_found_quoteForm label {
    font-size: 14px;
  }

  .wf-wrap .category-wrapper.product-category,
  section.categories-img-row-section .container {
    padding: 0;
  }

  .industries_solution_wrapper .li_inner .left h4 {
    font-size: 18px;
  }

  .contact-info-wrapper {
    padding-top: 16px;
  }

  .contact-page-wrapper h1 {
    font-size: 28px;
  }

  .contact-form {
    padding-top: 30px;
  }

  ul.submenu {
    width: 300px;
  }
}

@media screen and (max-width: 460px) {

  .category-wrapper .category-item,
  .category-wrapper .subcategory-item {
    width: 100%;
  }

  .search-box {
    flex-flow: column;
    gap: 12px;
    padding-left: 0;
    padding-right: 0;
  }

  .search-box input {
    width: 100% !important;
  }

  .search-box button {
    margin-left: 0;
  }

  .category-item,
  .subcategory-item {
    width: 50% !important;
  }

  .category-item {
    width: calc(100% / 2) !important;
  }

  .category-item:not(:nth-child(2n + 1)) {
    border-left: none !important;
  }

  .category-item:nth-child(2n + 1) {
    border-left: 1px solid #818181 !important;
  }

  .category-item:nth-child(n+3) {
    border-top: none !important;
  }

  .contact-info-item {
    width: 100%;
    padding: 0;
  }

  .contact-info-wrapper {
    margin: 0;
  }
}