@media (max-width: 1050px) {
  #posts .messagearea-wrap {
    box-sizing: border-box;
    width: 100%; }
    #posts .messagearea-wrap > div {
      width: 100% !important;
      margin: 10px 0 !important; }
  #posts .postbit-user-wrap {
    width: 100%;
    box-sizing: border-box; }
    #posts .postbit-user-wrap .messagearea-wrap b {
      word-break: break-all; }
    #posts .postbit-user-wrap .messagearea-wrap div {
      box-sizing: border-box;
      margin: 20px 0 !important; }
      #posts .postbit-user-wrap .messagearea-wrap div.alt2 {
        width: 100% !important;
        white-space: normal !important;
        word-break: break-all; }
    #posts .postbit-user-wrap .messagearea-wrap img {
      max-width: 90% !important;
      margin: 0 auto; }

  #collapseobj_searchfaq .panelsurround {
    box-sizing: border-box; }
    #collapseobj_searchfaq .panelsurround .panel {
      box-sizing: border-box;
      padding: 0 5px; }
      #collapseobj_searchfaq .panelsurround .panel div {
        width: 100% !important; }
        #collapseobj_searchfaq .panelsurround .panel div table {
          width: 100%; }
          #collapseobj_searchfaq .panelsurround .panel div table tr td {
            padding: 0 2px; }

  #profileform td {
    box-sizing: border-box;
    padding: 2px; }

  .panelsurround .panel > div {
    width: 100% !important;
    box-sizing: border-box; }
  .panelsurround .panel .vBulletin_editor textarea {
    width: 100% !important;
    box-sizing: border-box; }

  #vB_Editor_001_smiliebox table tr td {
    display: inline-block; } }
@media (max-width: 1000px) and (min-width: 768px) {
  .panelsurround {
    padding: 5px 0; }
    .panelsurround fieldset {
      width: 100%;
      box-sizing: border-box; }
    .panelsurround input[type="text"] {
      width: 100% !important; } }
@media (max-width: 900px) and (min-width: 768px) {
  .bt {
    width: 250px;
    top: 72px; }
    .bt a {
      display: block; }
      .bt a img {
        max-width: 100%; } }
@media (max-width: 767px) {
  .vbmenu_control.navbar-first {
    float: none !important;
    background: #191919;
    display: none; }

  #header-wrap {
    height: auto;
    background: url(../images/headerbg.gif) repeat;
    background-position: top center;
    position: relative; }
    #header-wrap > a {
      display: flex;
      display: -webkit-flex;
      align-items: center;
      max-width: 60%;
      position: relative;
      text-decoration: none; }
      #header-wrap > a:hover, #header-wrap > a:focus {
        outline: none; }
      #header-wrap > a #header-logo {
        max-width: 100%;
        padding-top: 0;
        width: 320px; }
      #header-wrap > a .logo-domain {
        font-size: 35px;
        font-weight: 600;
        color: #e5e6da;
        margin-left: -5px;
        padding-top: 20px; }
    #header-wrap #user-login .user-icon-login {
          position: fixed; /* Make it fixed so it stays in the same position on the page */
    right: 15px; /* Place it on the far-right */
    top: 15px; /* Keep it towards the top */
    width: 20px; /* Size of the icon */
    height: 20px;
    background: url(../images/user-icon-login.png) no-repeat center center;
    cursor: pointer;
    text-indent: -9999px; /* Hide the text inside */ }
    #header-wrap #user-login .user-form {
      background: rgba(0, 0, 0, 0.9);
      width: 210px;
      position: absolute;
      top: 100%;
      right: 5px;
      display: none;
      z-index: 10;
      -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
      -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
      box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
      border-radius: 5px;
      overflow: hidden; }
      #header-wrap #user-login .user-form * {
        display: block;
        overflow: hidden;
        text-align: center; }
      #header-wrap #user-login .user-form a {
        max-width: 100%;
        text-align: center; }
        #header-wrap #user-login .user-form a img {
          margin: 0 auto; }
      #header-wrap #user-login .user-form table tr td div {
        text-align: left; }
        #header-wrap #user-login .user-form table tr td div span {
          text-align: left;
          display: inline-block;
          vertical-align: middle; }
      #header-wrap #user-login .user-form table tr td strong a {
        display: inline-block;
        vertical-align: middle; }
      #header-wrap #user-login .user-form form table tr td {
        display: table;
        margin: 0 auto;
        padding: 0 !important; }
        #header-wrap #user-login .user-form form table tr td input[type="text"], #header-wrap #user-login .user-form form table tr td input[type="password"] {
          text-align: left;
          padding: 2px 2px 2px 25px; }
        #header-wrap #user-login .user-form form table tr td input[type="submit"] {
          margin: 0 auto; }
        #header-wrap #user-login .user-form form table tr td label input[type="checkbox"] {
          display: inline-block;
          vertical-align: middle; }
    #header-wrap #user-login.no-nav .user-icon-login {
      right: 15px; }
    #header-wrap .menu-icon {
      width: 20px;
      height: 20px;
      position: absolute;
      right: 15px;
      top: 50%;
      transform: translateY(-50%);
      overflow: hidden;
      cursor: pointer; }
      #header-wrap .menu-icon span {
        display: block;
        width: 100%;
        position: absolute;
        top: 0;
        background: #fff;
        height: 4px;
        text-indent: -9999px;
        -moz-transition: 0.3s;
        -o-transition: 0.3s;
        -webkit-transition: 0.3s;
        transition: 0.3s; }
        #header-wrap .menu-icon span:nth-child(2) {
          top: 50%;
          transform: translateY(-50%); }
        #header-wrap .menu-icon span:last-child {
          bottom: 0;
          top: auto; }
      #header-wrap .menu-icon.menu-open span:first-child {
        top: 50%;
        transform: translateY(-50%) rotate(45deg); }
      #header-wrap  .menu-icon.menu-open span:nth-child(2) {
        left: 100%;
        opacity: 0; }
      #header-wrap  .menu-icon.menu-open span:last-child {
        top: 50%;
        bottom: auto;
        transform: translateY(-50%) rotate(-45deg); }
    #header-wrap .vbmenu_control {
      float: none !important;
      position: absolute !important;
      top: 100%;
      width: 100%;
      text-align: left;
      background: rgba(25, 25, 25, 0.9);
      z-index: 9999;
      padding: 10px 15px !important;
      box-sizing: border-box;
      display: none; }
      #header-wrap .vbmenu_control span {
        padding: 0 !important;
        display: block; }
        #header-wrap  .vbmenu_control span a {
          display: block;
          max-width: 100%;
          font-size: 16px;
          color: #fff;
          padding: 10px 0;
          border-bottom: 1px dashed #fff; }
          #header-wrap.vbmenu_control span a:hover {
            text-decoration: none; }
    #header-wrap #livesearch-wrap {
      padding: 0;
      width: 100%; }
      #header-wrap #livesearch-wrap .search-icon {
        width: 20px;
        height: 20px;
        display: block;
        overflow: hidden;
        background: url(../images/search-icon.png) no-repeat center center;
        text-indent: -9999px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 45px; }
      #header-wrap #livesearch-wrap form {
        background: rgba(25, 25, 25, 0.9);
        padding: 10px 15px;
        position: absolute;
        width: 100%;
        left: 0;
        top: 100%;
        box-sizing: border-box;
        display: none;
        z-index: 9; }
        #header-wrap #livesearch-wrap form #tabnav {
          padding: 0;
          text-align: right;
          margin-bottom: 5px;
          display: block;
          height: auto; }
          #header-wrap #livesearch-wrap form #tabnav li {
            float: none !important;
            display: block; }
            #header-wrap #livesearch-wrap form #tabnav li a {
              float: none;
              max-width: 100%;
              display: inline-block;
              margin: 0;
              font-size: 12px;
              padding: 5px 10px; }
        #header-wrap #livesearch-wrap form .livesearch-input {
          width: 100%;
          box-sizing: border-box;
          border: none;
          height: auto;
          padding: 5px 10px;
          font-size: 15px; }
    #header-wrap #lsa_window_menu {
      top: calc(100% + 80px) !important;
      width: 100% !important;
      box-sizing: border-box;
      left: 0;
      right: auto !important;
      z-index: 10; }
      #header-wrap #lsa_window_menu form table tr td > div {
        float: none !important;
        width: 100% !important; }
        #header-wrap #lsa_window_menu form table tr td > div:first-child {
          text-align: center;
          margin-bottom: 10px; }
        #header-wrap #lsa_window_menu form table tr td > div + div {
          max-width: 100%;
          margin: 0 auto; }
      #header-wrap #lsa_window_menu form #search_results {
        width: 100% !important;
        box-sizing: border-box;
        padding: 10px !important; }
        #header-wrap #lsa_window_menu form #search_results table tr td {
          vertical-align: top;
          padding: 3px 5px; }
          #header-wrap #lsa_window_menu form #search_results table tr td:first-child {
            white-space: normal !important; }

  .bt {
    display: none; }

  .breadcrumb-wrap h1 span {
    display: none; }

  .navbar-wrap {
    position: static !important;
    border: none;
    display: none; }

  .note-wrap #notices table tr {
    display: block; }
    .note-wrap #notices table tr td {
      display: block; }
      .note-wrap #notices table tr td.thead {
        font-size: 14px;
        position: relative; }
        .note-wrap #notices table tr td.thead:after {
          content: '';
          position: absolute;
          border-top: 5px solid #21201C;
          border-left: 5px solid transparent;
          border-right: 5px solid transparent;
          right: 10px;
          top: 10px;
          transition: .3s;
          -moz-transition: .3s;
          -webkit-transition: .3s; }
        .note-wrap #notices table tr td.thead.open-note:after {
          transform: rotate(180deg); }
        .note-wrap #notices table tr td.thead .note-info {
          margin: 5px 0 0;
          font-size: 10px;
          position: relative;
          padding-left: 30px; }
          .note-wrap #notices table tr td.thead .note-info:before {
            content: '';
            position: absolute;
            width: 15px;
            height: 13px;
            left: 10px;
            top: -2px;
            background: url(../images/tap-arrow.png) no-repeat center center; }
      .note-wrap #notices table tr td.alt1 {
        padding: 0; }
      .note-wrap #notices table tr td .navbar_notice {
        display: none;
        padding: 10px 5px 0; }

  #main-content {
    position: relative;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    -webkit-transition: 0.3s;
    transition: 0.3s; }
    #main-content #menu-content-left {
      position: absolute;
      width: 250px;
      left: -265px;
      top: 0;
      height: 100vh;
      overflow: scroll; }
      #main-content #menu-content-left > td {
        width: 100% !important;
        display: block; }
      #main-content #menu-content-left table {
        width: 100%; }
        #main-content #menu-content-left table + table {
          margin-top: 10px; }
    #main-content.open-menu-left {
      transform: translateX(265px);
      overflow: visible; }
      #main-content.open-menu-left .swipe-menu {
        left: -15px; }
    #main-content .swipe-menu {
      width: 15px !important;
      height: 150px;
      position: absolute;
      top: 50px;
      left: 0;
      z-index: 99;
      background: rgba(255, 255, 255, 0.6);
      padding: 0 !important;
      border-radius: 0 10px 10px 0;
      -moz-transition: 0.3s;
      -o-transition: 0.3s;
      -webkit-transition: 0.3s;
      transition: 0.3s; }
      #main-content .swipe-menu span {
        width: 100%;
        height: 16px;
        background: url(../images/swipe-left.png) no-repeat center center/contain;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: 0;
        z-index: 9999;
        display: block;
        -moz-transition: 0.3s;
        -o-transition: 0.3s;
        -webkit-transition: 0.3s;
        transition: 0.3s; }
    #main-content > td {
      display: block;
      width: 100%; }
      #main-content > td tbody[id^="collapseobj_forumbit"] * {
        white-space: normal !important; }
      #main-content #content-area > td tbody[id^="collapseobj_forumbit"] div {
        clear: both; }
      #main-content #content-area > td > form > table .panelsurround {
        padding: 5px 0; }
        #main-content > td > form > table .panelsurround fieldset {
          width: 100%;
          box-sizing: border-box; }
        #main-content > td > form > table .panelsurround table {
          width: 100%;
          box-sizing: border-box; }
        #main-content > td > form > table .panelsurround input[type="text"] {
          width: 100% !important; }
      #main-content > td > form > table tbody#collapseobj_searchfaq .panelsurround .panel input[type="text"] {
        width: auto !important; }

  body > div {
    padding-left: 0 !important; }

  #collapseobj_searchfaq .panelsurround .panel div table tr {
    display: block; }
    #collapseobj_searchfaq .panelsurround .panel div table tr td {
      display: inline-block;
      margin: 5px; }

  .articles #main-content  > td > table > tbody > tr {
    display: block;
    box-sizing: border-box; }
    .articles #main-content > td > table > tbody > tr > td {
      display: block;
      box-sizing: border-box;
      padding: 5px 0; }
      .articles #main-content > td > table > tbody > tr > td:first-child {
        text-align: center; }
        .articles #main-content > td > table > tbody > tr > td:first-child input[type="text"], .articles #main-content #content-area > td > table > tbody > tr > td:first-child select {
          width: 50%;
          min-width: 250px; }

  #profileform .panelsurround div {
    width: 100% !important;
    box-sizing: border-box; }

  #threadtools_menu, #threadsearch_menu, #displaymodes_menu {
    width: 320px;
    top: 30px !important;
    left: auto !important;
    right: 0; }

  #posts img {
    max-width: 100%; }
  #posts > div > table > tbody {
    display: block; }
    #posts > div > table > tbody tr {
      display: flex;
      display: -webkit-flex;
      position: relative; }
      #posts > div > table > tbody tr td {
        display: block;
        box-sizing: border-box;
        width: 100%; }
        #posts > div > table > tbody tr td .vbmenu_popup {
          top: 100% !important;
          right: 20px;
          left: auto !important;
          width: 150px !important; }
        #posts > div > table > tbody tr td div {
          width: 100% !important; }
          #posts > div > table > tbody tr td div:not(.shade) {
            height: auto !important; }
        #posts > div > table > tbody tr td canvas {
          display: none; }
        #posts > div > table > tbody tr td * {
          box-sizing: border-box;
          word-break: break-all; }
        #posts > div > table > tbody tr td.postbit-head2 {
          width: 50% !important; }
        #posts > div > table > tbody tr td.postbit-head3 {
          width: 50% !important; }
        #posts > div > table > tbody tr td.postbit-left-top, #posts > div > table > tbody tr td.edit-note-wrap {
          width: 20% !important; }
        #posts > div > table > tbody tr td.postbit-bg, #posts > div > table > tbody tr td.edit-note2 {
          width: 80% !important; }
        #posts > div > table > tbody tr td.postbit-bottom-left, #posts > div > table > tbody tr td.postbit-bottom-right {
          display: none; }
        #posts > div > table > tbody tr td.postbit-bg > div:not(.postbit-user-wrap) {
          width: auto !important;
          display: table; }
        #posts > div > table > tbody tr td .custom-box-thanks {
          border-bottom: 1px solid #999999; }
          #posts > div > table > tbody tr td .custom-box-thanks .shade {
            height: auto !important;
            max-height: 150px;
            min-height: 40px; }
          #posts > div > table > tbody tr td .custom-box-thanks table tr td {
            height: auto !important; }
            #posts > div > table > tbody tr td .custom-box-thanks table tr td:first-child {
              width: 20% !important; }
            #posts > div > table > tbody tr td .custom-box-thanks table tr td + td {
              width: 80%;
              padding: 0 !important; } }
@media (max-width: 640px) {
  #main-content #content-area > td > form:not(#qrform) > table .panelsurround table tr td {
    width: 100% !important;
    display: block;
    margin-bottom: 10px;
    box-sizing: border-box; }
    #main-content #content-area > td > form:not(#qrform) > table .panelsurround table tr td.vBulletin_editor table td {
      display: inline-block;
      width: auto !important;
      vertical-align: middle; }
  #main-content  > td > form:not(#qrform) > table #collapseobj_searchfaq .panelsurround .panel table tr td {
    display: inline-block;
    width: auto !important; }
  #main-content  > td > form#profileform > table .panelsurround table tr td {
    width: auto !important;
    display: table-cell; }
  #main-content  table#toolbar-wrap tbody > tr > td:nth-child(3) {
    width: auto !important; }
  #main-content table#toolbar-wrap tbody > tr > td.button-wrap a {
    max-width: 110px;
    overflow: hidden;
    display: block; }
  #main-content  table#threadslist tbody tr td {
    white-space: normal !important; }
    #main-content  table#threadslist tbody tr td * {
      white-space: normal !important; }
    #main-content  table#threadslist tbody tr td div {
      width: auto !important; }
    #main-content table#threadslist tbody tr td.thead:nth-child(3) {
      width: 80px !important;
      box-sizing: border-box;
      word-break: break-word; }
    #main-content  table#threadslist tbody tr td.thead:nth-child(4) {
      width: 50px !important;
      box-sizing: border-box; }
    #main-content table#threadslist tbody tr td:nth-child(6) a {
      font-size: 10px; }
  #main-content  table#threadslist .threadbits_forum tr td {
    white-space: normal !important; }
    #main-content  table#threadslist .threadbits_forum tr td * {
      white-space: normal !important; }
    #main-content  table#threadslist .threadbits_forum tr td div {
      width: auto !important; }
    #main-content table#threadslist .threadbits_forum tr td:nth-child(3) {
      width: 120px !important;
      box-sizing: border-box; } }
@media (max-width: 600px) {
  #header-wrap > a #header-logo {
    width: 240px; }
  #header-wrap > a .logo-domain {
    font-size: 25px;
    padding-top: 15px; }

  #content-area table * {
    white-space: normal !important; }
  #content-area table a {
    word-break: break-word; }
  #content-area table tbody > tr > td.alt1Active + .alt2 {
    width: 100px !important; }
    #content-area table tbody > tr > td.alt1Active + .alt2 > div {
      width: 100px !important; }
      #content-area table tbody > tr > td.alt1Active + .alt2 > div * {
        white-space: normal; }
  #content-area table tbody#collapseobj_displayopt tr:nth-child(2) table {
    width: 100%; }
    #content-area table tbody#collapseobj_displayopt tr:nth-child(2) table tbody tr {
      display: block; }
      #content-area table tbody#collapseobj_displayopt tr:nth-child(2) table tbody tr td {
        display: inline-block;
        margin-bottom: 5px; }
  #content-area table tbody#collapseobj_pmlistinfo .panelsurround .panel div {
    width: 100% !important;
    box-sizing: border-box; }
  #content-area table tbody tr td.tcat {
    font-size: 12px !important;
    word-break: break-all;
    white-space: nowrap !important; }
  #content-area table .panelsurround .panel > div {
    width: 100% !important; }
    #content-area table .panelsurround .panel > div input[type="password"] {
      width: 100%; }
    #content-area table .panelsurround .panel > div input[type="text"] {
      width: 100%; }
    #content-area table .panelsurround .panel > div #sel_timezoneoffset, #content-area table .panelsurround .panel > div #sel_showvbcode {
      max-width: 200px; }
  #content-area table .panelsurround .panel textarea {
    width: 100%; }

  #posts .postbit-user-wrap {
    padding-left: 5px; }
    #posts .postbit-user-wrap .messagearea-wrap {
      padding: 0 5px 0 0 !important; }
      #posts .postbit-user-wrap .messagearea-wrap > div {
        margin-top: 0 !important; }

  .custom-box-thanks .shade {
    font-size: 10px; }

  #contactinfo #messaging_list li {
    white-space: normal; }

  .private #main-content #content-area > td > table > tbody > tr {
    display: block; }
    .private #main-content #content-area > td > table > tbody > tr > td {
      display: block;
      margin: 5px 0; }

  #main-content #content-area > td > form:not(#qrform) > table .panelsurround table.custom-editor ~ .fieldset table tr td {
    display: inline-block;
    width: auto !important; }

  .subscription #content-area > td > table > tbody > tr > td {
    display: block; }
    .subscription #content-area > td > table > tbody > tr > td:first-child {
      height: 200px;
      overflow: scroll; }
      .subscription #content-area > td > table > tbody > tr > td:first-child table {
        width: 100%; }

  .showgroups table tr td:last-child {
    white-space: nowrap !important; }
    .showgroups  table tr td:last-child a {
      white-space: nowrap !important; } }
@media (max-width: 450px) {
  #header-wrap > a #header-logo {
    width: 200px; }
  #header-wrap > a .logo-domain {
    font-size: 22px;
    padding-top: 12px; }

  h1 {
    font-size: 16px; }

  #content-area table tbody > tr > td.thead:last-child {
    display: none; }
  #content-area table tbody > tr > td.thead.postbit-head3 {
    display: table-cell; }
  #content-area table tbody > tr > td.alt2 img {
    max-width: 30px; }
  #content-area table tbody > tr > td.alt1Active + .alt2 {
    display: none; }
  #content-area table tbody#collapseobj_similarthreads > tr > td.thead:last-child {
    display: table-cell; }
  #content-area table tbody#collapseobj_displayopt tr td.thead:last-child {
    display: table-cell; }
  #content-area table#toolbar-wrap tbody > tr > td:nth-child(3) {
    display: table-cell; }
  #content-area table#threadslist tbody > tr > td:nth-child(5) {
    display: none; }
  #content-area table#threadslist tbody > tr > td:last-child {
    display: none; }
  #content-area table#threadslist tbody.threadbits_forum tr td:last-child {
    display: none; }
  #content-area table.forumdisplay-head + table tr td.thead:last-child {
    display: none; }

  #threadsearch_menu, #displaymodes_menu {
    width: 250px; }

  #posts table tbody > tr > td div, #posts table tbody > tr > td canvas {
    width: 100% !important; }
  #posts table tbody > tr > td.alt2 img {
    max-width: 100%; }
  #posts table tbody > tr > td .bigusername {
    font-size: 14px; }
  #posts .postbit-user-wrap .messagearea-wrap > div div b font {
    font-size: 16px; }
  #posts .postbit-bg .postbit-user-wrap .alt1 font {
    font-size: 16px; }

  #main-content > td > form#profileform > table .panelsurround table tr td {
    display: block;
    width: 100% !important;
    text-align: left; } }
@media (max-width: 400px) {
  #header-wrap > a #header-logo {
    width: 180px; }
  #header-wrap #lsa_window_menu form #search_results {
    padding: 10px 5px !important; }

   table#threadslist tbody > tr > td.thead:nth-child(4) {
    display: none; }
   table#threadslist tbody > tr > td:nth-child(4) {
    display: none; }
  table#threadslist tbody.threadbits_forum tr td:nth-child(4) {
    display: none; }
   table .panelsurround .panel > div {
    width: 100% !important; }
  table .panelsurround .panel input[type="file"] {
    width: 100%; }
   table .panelsurround .button {
    min-width: 200px;
    margin: 5px auto;
    display: block; }
   table tbody tr td.tcat {
    font-size: 10px !important; }

  #collapseobj_searchfaq .panelsurround .panel + div .button {
    font-size: 10px; }

  #threadtools_menu, #threadsearch_menu, #displaymodes_menu {
    width: 250px; }

  #main-content  > td > form#profileform > table .panelsurround .button {
    display: block;
    margin: 5px;
    min-width: 250px; }

  .userlist_form_controls span {
    display: block;
    text-align: center;
    margin: 5px 0; }
    .userlist_form_controls span .bginput {
      max-width: 220px;
      margin: 0 auto; }
  .userlist_form_controls .button {
    min-width: 220px;
    display: block;
    margin: 5px auto; }

  .showgroups  table tbody > tr > td.thead:last-child {
    display: table-cell; } }
@media (max-width: 360px) {
  #header-wrap > a #header-logo {
    width: 150px; }
  #header-wrap > a .logo-domain {
    font-size: 18px;
    padding-top: 8px; } }

/* Media Queries for Mobile Responsiveness */
@media (max-width: 767px) {
    /* Menu Icon */
    #header-wrap .menu-icon4 {
        width: 40px;
        height: 40px;
        position: fixed; /* Fixed to float over content */
        left: 15px; /* Position on the left */
        top: 15px; /* Position near the top */
        cursor: pointer;
        z-index: 1001; /* Ensure it's above other elements */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: transparent; /* Removed gray background */
        border: none; /* Remove border if any */
    }
    #header-wrap .menu-icon4 span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: #333;
        margin: 4px 0;
        transition: all 0.3s ease;
    }
    #header-wrap .menu-icon4.menu-open span:first-child {
        transform: translateY(8px) rotate(45deg);
    }
    #header-wrap .menu-icon4.menu-open span:nth-child(2) {
        opacity: 0;
    }
    #header-wrap .menu-icon4.menu-open span:last-child {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Sidebar Styling */
    /* Ensure the sidebar <td> has an ID for easier targeting */
    /* Assuming the sidebar is wrapped in a div with ID 'sidebar' */
    #sidebar {
        /* Ensure it occupies its table cell correctly */
        width: 180px; /* As per your original HTML */
        /* Additional styling if needed */
    }

    /* Optional: Adjust main content when sidebar is open */
    body.sidebar-open #main-content {
        /* In table layouts, pushing content is managed by showing/hiding table cells */
        /* No additional margin needed */
    }

    /* Ensure the sidebar's content is styled appropriately */
    #sidebar table {
        width: 100%;
    }

    #sidebar .tcat {
        background-color: #ddd;
        padding: 10px;
        font-size: 16px;
    }

    #sidebar .alt1 {
        padding: 10px;
    }

    /* Ensure the menu links are styled properly */
    #sidebar a {
        text-decoration: none;
        color: #333;
        display: block;
        padding: 5px 0;
    }

    #sidebar a:hover {
        background-color: #eaeaea;
    }

    /* User Login Icon Styling */
    .user-icon-login {
        cursor: pointer;
        display: inline-block;
        padding: 5px;
        background-color: #ddd;
        border-radius: 3px;
        margin-left: 10px;
    }

    /* Logo Domain Styling */
    .logo-domain {
        margin-left: 5px;
        font-weight: bold;
    }

    /* Prevent body from scrolling when sidebar is open */
    body.sidebar-open {
        overflow: hidden;
    }
}

/* Additional Existing Styles */
/* ... Your existing styles continue here ... */

/* Optional: Further adjustments for smaller screens */
@media (max-width: 480px) {
    /* Reduce sidebar width on very small screens */
    #sidebar {
        width: 150px;
    }

    /* Adjust menu icon size */
    #header-wrap .menu-icon4 {
        width: 35px;
        height: 35px;
    }

    #header-wrap .menu-icon4 span {
        width: 20px;
        height: 2px;
    }
}

/* Ensure No Inline Styles Conflict */
#header-wrap .menu-icon4,
#sidebar,
#main-content {
    /* Remove any inline styles set via JavaScript for consistency */
    /* It's better to manage styles via CSS */
}

/* Ensure Menu Icon Visibility */
#header-wrap .menu-icon4 {
    display: flex !important;
}
/* Media Queries for Mobile Responsiveness */
@media (max-width: 767px) {
    /* Menu Icon */
    #header-wrap .menu-icon4 {
        width: 40px;
        height: 40px;
        position: fixed; /* Fixed to float over content */
        left: 10px; /* Moved more to the left */
        top: 15px; /* Position near the top */
        cursor: pointer;
        z-index: 1001; /* Ensure it's above other elements */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: transparent; /* Removed gray background */
        border: none; /* Remove border if any */
    }
    #header-wrap .menu-icon4 span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: #fff; /* Changed to white */
        margin: 4px 0;
        transition: all 0.3s ease;
    }
    #header-wrap .menu-icon4.menu-open span:first-child {
        transform: translateY(8px) rotate(45deg);
    }
    #header-wrap .menu-icon4.menu-open span:nth-child(2) {
        opacity: 0;
    }
    #header-wrap .menu-icon4.menu-open span:last-child {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Sidebar Styling */
    /* Assuming the sidebar <td> is within a div with ID 'sidebar' */
    #sidebar {
        width: 180px; /* As per your original HTML */
        /* Additional styling if needed */
    }

    /* Ensure that when the sidebar is visible, it pushes the main content */
    /* In table layouts, showing/hiding table cells will naturally push content */
    
    /* Ensure the sidebar's content is styled appropriately */
    #sidebar table {
        width: 100%;
    }

    #sidebar .tcat {
        background-color: #ddd;
        padding: 10px;
        font-size: 16px;
    }

    #sidebar .alt1 {
        padding: 10px;
    }

    /* Ensure the menu links are styled properly */
    #sidebar a {
        text-decoration: none;
        color: #333;
        display: block;
        padding: 5px 0;
    }

    #sidebar a:hover {
        background-color: #eaeaea;
    }

    /* User Login Icon Styling */
    .user-icon-login {
        cursor: pointer;
        display: inline-block;
        padding: 5px;
        background-color: #ddd;
        border-radius: 3px;
        margin-left: 10px;
    }

    /* Logo Domain Styling */
    .logo-domain {
        margin-left: 5px;
        font-weight: bold;
    }

    /* Prevent body from scrolling when sidebar is open */
    body.sidebar-open {
        overflow: hidden;
    }

    /* Optional: Adjust main content's position when sidebar is open */
    /* Since it's a table layout, content will naturally adjust */
    /* However, if you have specific main content styling, ensure it's responsive */

    /* Remove Swipe Menu Styles if any */
    .swipe-menu {
        display: none !important;
    }

    /* Optional: Further adjustments for smaller screens */
    @media (max-width: 480px) {
        /* Reduce sidebar width on very small screens */
        #sidebar {
            width: 150px;
        }

        /* Adjust menu icon size */
        #header-wrap .menu-icon4 {
            width: 35px;
            height: 35px;
        }

        #header-wrap .menu-icon4 span {
            width: 20px;
            height: 2px;
        }
    }
}

/* Ensure No Inline Styles Conflict */
#header-wrap .menu-icon4,
#sidebar,
#main-content {
    /* Remove any inline styles set via JavaScript for consistency */
    /* It's better to manage styles via CSS */
}

/* Ensure Menu Icon Visibility */
#header-wrap .menu-icon4 {
    display: flex !important;
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 767px) {
    /* Menu Icon */
    #header-wrap .menu-icon4 {
    width: 40px;
    height: 40px;
    position: fixed;
    left: 15px; /* Keep it on the left */
    top: 50%; /* Vertically center the icon */
    transform: translateY(-50%); /* Adjust its vertical alignment */
    cursor: pointer;
    z-index: 1001;    }
    #header-wrap .menu-icon4 span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: #fff; /* Changed to white */
        margin: 4px 0;
        transition: all 0.3s ease;
    }
    #header-wrap .menu-icon4.menu-open span:first-child {
        transform: translateY(8px) rotate(45deg);
    }
    #header-wrap .menu-icon4.menu-open span:nth-child(2) {
        opacity: 0;
    }
    #header-wrap .menu-icon4.menu-open span:last-child {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Search Icon */
    #header-wrap .search-icon3 {
    position: fixed; /* Keep it fixed like the user icon */
    right: 60px; /* Position it near the user icon but with some spacing */
    top: 15px; /* Keep it aligned with the user icon */
    width: 20px; /* Adjust the size */
    height: 20px;
    background: url(../images/search-icon.png) no-repeat center center;
    cursor: pointer;
    text-indent: -9999px; /* Hide the text inside */   }
    #header-wrap .search-icon3::before {
        content: '??';
        font-size: 20px;
        color: #fff; /* White color */
    }

    /* Sidebar Styling */
    /* Assuming the sidebar <td> is within a div with ID 'sidebar' */
    #sidebar {
        width: 180px; /* As per your original HTML */
        /* Additional styling if needed */
    }

    /* Ensure that when the sidebar is visible, it pushes the main content */
    /* In table layouts, showing/hiding table cells will naturally push content */

    /* Ensure the sidebar's content is styled appropriately */
    #sidebar table {
        width: 100%;
    }

    #sidebar .tcat {
        background-color: #ddd;
        padding: 10px;
        font-size: 16px;
    }

    #sidebar .alt1 {
        padding: 10px;
    }

    /* Ensure the menu links are styled properly */
    #sidebar a {
        text-decoration: none;
        color: #333;
        display: block;
        padding: 5px 0;
    }

    #sidebar a:hover {
        background-color: #eaeaea;
    }

    /* User Login Icon Styling */
    .user-icon-login {
    position: fixed;
    right: 15px; /* Place user icon to the far right */
    top: 15px; /* Keep it at the top */
    cursor: pointer;    }

    /* Logo Domain Styling */
    .logo-domain {
        margin-left: 5px;
        font-weight: bold;
    }

    /* Prevent body from scrolling when sidebar is open */
    /* Removed to allow scrolling when sidebar is open */
    /* body.sidebar-open {
        overflow: hidden;
    } */

    /* Search Form Styling */
    #livesearch-wrap3 form {
        display: none; /* Hidden by default */
        position: absolute;
        top: 60px; /* Adjust based on header height */
        left: 15px; /* Align with search icon */
        background-color: #fff;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
        z-index: 1000;
    }

    /* Optional: Adjust main content's position when sidebar is open */
    /* Since it's a table layout, content will naturally adjust */

    /* Remove Swipe Menu Styles if any */
    .swipe-menu {
        display: none !important;
    }

    /* Optional: Further adjustments for smaller screens */
    @media (max-width: 480px) {
        /* Reduce sidebar width on very small screens */
        #sidebar {
            width: 150px;
        }

        /* Adjust menu icon size */
        #header-wrap .menu-icon4 {
            width: 35px;
            height: 35px;
        }

        #header-wrap .menu-icon4 span {
            width: 20px;
            height: 2px;
        }

        /* Adjust search icon size */
        #header-wrap .search-icon {
            width: 35px;
            height: 35px;
        }
    }

}

/* Ensure No Inline Styles Conflict */
#header-wrap .menu-icon4,
#header-wrap .search-icon3,
#sidebar,
#main-content {
    /* Remove any inline styles set via JavaScript for consistency */
    /* It's better to manage styles via CSS */
}

/* Ensure Menu Icon and Search Icon Visibility */
#header-wrap .menu-icon,
#header-wrap .search-icon2 {
    display: flex !important;
}
/* Media Queries for Mobile Responsiveness */
@media (max-width: 767px) {
    /* Menu Icon */
#header-wrap .menu-icon4 {
    width: 40px;
    height: 40px;
    position: fixed;
    left: 10px; /* Keep it on the left side */
    top: 50%; /* Vertically center the icon */
    transform: translateY(-50%); /* Center vertically */
    cursor: pointer;
    z-index: 1001;
}    #header-wrap .menu-icon4 span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: #fff; /* Changed to white */
        margin: 4px 0;
        transition: all 0.3s ease;
    }
    #header-wrap .menu-icon4.menu-open span:first-child {
        transform: translateY(8px) rotate(45deg);
    }
    #header-wrap .menu-icon4.menu-open span:nth-child(2) {
        opacity: 0;
    }
    #header-wrap .menu-icon4.menu-open span:last-child {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Search Icon */
    #header-wrap .search-icon2 {
        width: 40px;
        height: 40px;
        position: fixed; /* Fixed to float over content */
        left: 15px; /* Positioned on the left */
        top: 15px; /* Position near the top */
        cursor: pointer;
        z-index: 1001; /* Ensure it's above other elements */
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: transparent; /* Transparent background */
        border: none; /* Remove border if any */
    }
    #header-wrap .search-icon2::before {
        content: '??';
        font-size: 20px;
        color: #fff; /* White color */
    }

    /* Sidebar Styling */
    /* Assuming the sidebar <td> is within a div with ID 'sidebar' */
    #sidebar {
        width: 180px; /* As per your original HTML */
        /* Additional styling if needed */
    }

    /* Ensure that when the sidebar is visible, it pushes the main content */
    /* In table layouts, showing/hiding table cells will naturally push content */

    /* Ensure the sidebar's content is styled appropriately */
    #sidebar table {
        width: 100%;
    }

    #sidebar .tcat {
        background-color: #ddd;
        padding: 10px;
        font-size: 16px;
    }

    #sidebar .alt1 {
        padding: 10px;
    }

    /* Ensure the menu links are styled properly */
    #sidebar a {
        text-decoration: none;
        color: #333;
        display: block;
        padding: 5px 0;
    }

    #sidebar a:hover {
        background-color: #eaeaea;
    }

    /* User Login Icon Styling */
    .user-icon-login3 {
        cursor: pointer;
        display: inline-block;
        padding: 5px;
        background-color: #ddd;
        border-radius: 3px;
        margin-left: 10px;
    }

    /* Logo Domain Styling */
    .logo-domain {
        margin-left: 5px;
        font-weight: bold;
    }

    /* Prevent body from scrolling when sidebar is open */
    /* Removed to allow scrolling when sidebar is open */
    /* body.sidebar-open {
        overflow: hidden;
    } */

    /* Search Form Styling */
    #livesearch-wrap3 form {
        display: none; /* Hidden by default */
        position: absolute;
        top: 60px; /* Adjust based on header height */
        left: 15px; /* Align with search icon */
        background-color: #fff;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
        z-index: 1000;
    }

    /* Optional: Adjust main content's position when sidebar is open */
    /* Since it's a table layout, content will naturally adjust */

    /* Remove Swipe Menu Styles if any */
    .swipe-menu {
        display: none !important;
    }

    /* Optional: Further adjustments for smaller screens */
    @media (max-width: 480px) {
        /* Reduce sidebar width on very small screens */
        #sidebar {
            width: 150px;
        }

        /* Adjust menu icon size */
        #header-wrap .menu-icon4 {
            width: 35px;
            height: 35px;
        }

        #header-wrap .menu-icon4 span {
            width: 20px;
            height: 2px;
        }

        /* Adjust search icon size */
        #header-wrap .search-icon3 {
            width: 35px;
            height: 35px;
        }
    }

}

/* Ensure No Inline Styles Conflict */
#header-wrap .menu-icon,
#header-wrap .search-icon,
#sidebar,
#main-content {
    /* Remove any inline styles set via JavaScript for consistency */
    /* It's better to manage styles via CSS */
}

/* Ensure Menu Icon and Search Icon Visibility */
#header-wrap .menu-icon,
#header-wrap .search-icon {
    display: flex !important;
}