/* Mobile responsive patch for subscriber cabinet */
html {
  min-width: 0 !important;
  width: 100%;
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
}
body {
  min-width: 0 !important;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
img, iframe, video, object, embed {
  max-width: 100%;
  height: auto;
}
table {
  max-width: 100%;
}
.content,
.footer,
.header,
.index_header,
.inner_wrap,
.page_wrap {
  max-width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 26px;
    background: none;
    border: none;
    cursor: pointer;
}



@media (max-width: 1100px) {
  .content,
  .footer,
  .header,
  .index_header {
    width: 100% !important;
    padding-left: 12px;
    padding-right: 12px;
  }

  .kabinet-inner {
    overflow: visible !important;
  }

  .kabinet-center_col {
    margin-right: 0 !important;
  }

  .kabinet-styled_table-wrap,
  .kabinet-styled_table-wrap_form {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  table[width="600"],
  table.form {
    width: 100% !important;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 14px;
    line-height: 1.35;
  }

  .content,
  .footer,
  .header,
  .index_header {
    padding-left: 10px;
    padding-right: 10px;
  }

  .top_status {
    height: auto !important;
    overflow: visible !important;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px;
    margin: 10px 0 !important;
  }

  .top_status-item,
  .top_status-item.flRight,
  .top_status-item.flLeft,
  .top_status-item.tCenter {
    float: none !important;
    width: calc(50% - 3px);
    margin: 0 !important;
    line-height: 1.25 !important;
    text-align: left !important;
  }

  #kabinet-left_col {
    float: none !important;
    width: 100% !important;
  }

  #kabinet-menu {
    width: 100% !important;
    margin: 0 0 12px !important;
  }

  #kabinet-menu .inner_menu-item {
    padding: 0 8px !important;
  }

  #kabinet-menu .inner_menu-item a,
  #kabinet-menu .inner_sub_menu-item a {
    padding: 12px 0 12px 20px !important;
    font-size: 14px !important;
  }

  .kabinet-center_col {
    margin: 0 !important;
    font-size: 14px !important;
  }

  .kabinet-styled_table-wrap_form {
    padding: 10px !important;
    margin: 12px 0 !important;
  }

  .form td,
  .form th,
  .kabinet-styled_table th,
  .kabinet-styled_table td {
    padding: 16px !important;
  }

  input[type="text"],
  input[type="password"],
  input[type="email"],
  input[type="number"],
  select,
  textarea {
    max-width: 100%;
    width: 100%;
    height: 40px;
  }

  input[type="submit"],
  input[type="button"],
  button,
  .link_button,
  .change,
  .kabinet-submit,
  .kabinet-continue {
    min-height: 40px;
    padding: 8px 12px !important;
    line-height: 1.2;
  }

  #open_popup_block_middle {
    width: calc(100vw - 24px) !important;
    max-width: 400px;
    left: 12px !important;
    right: 12px !important;
  }



    .menu-toggle {
        display: block;
        margin: 10px;
    }

    .menu {
        display: none;
        flex-direction: column;
        background: #fff;
        width: 100%;
    }

    .menu.active {
        display: flex;
    }

    .menu a {
        padding: 12px;
        border-bottom: 1px solid #eee;
    }


.top_grey_bar{
    display: none;
}



}

@media (max-width: 520px) {
  .top_status-item,
  .top_status-item.flRight,
  .top_status-item.flLeft,
  .top_status-item.tCenter {
    width: 100%;
  }

  table.form,
  table.form tbody,
  table.form tr,
  table.form td,
  table.form th {
    display: block;
    width: 100% !important;
  }

  table.form tr {
    border-bottom: 1px solid #e5e5e5;
    background: #fff;
  }

  table.form td:first-child {
    font-weight: 700;
    padding-bottom: 3px !important;
  }

  table.form td + td {
    padding-top: 3px !important;
  }

  .form .odd td {
    background: #fff;
  }


  .form_title,
  div#form_holdup form table tbody tr .table_title {
    position: static !important;
    text-align: left !important;
    display: block;
  }
}


