/* =========================
   MOBILE RESPONSIVE FIX
========================= */

.responsive-card {
  border: 0;
  padding: 2rem;
}

@media (max-width: 768px) {

  body {
    overflow-x: auto;
  }

  .container-forzoom {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .responsive-card {
    padding: 0.5rem !important;
  }

  /* ---------- Header ---------- */
  .navbar-brand h1 {
    font-size: 2.2rem !important;
  }

  .hero-wrap {
    height: 10px;
  }

  /* ---------- Top Banner ---------- */
  .ftco-animate img {
    width: 100% !important;
    display: block;
  }

  .ftco-animate {
    display: flex;
    flex-direction: column;
  }

  /* ---------- Form Layout ---------- */
  .form-row {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .form-group {
    margin-bottom: 12px !important;
  }

  .form-group.col-md-4,
  .form-group.col-md-8 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .form-label {
    font-size: 14px !important;
  }

  .form-control,
  .custom-select,
  .select2-selection--single {
    height: 48px !important;
    font-size: 14px !important;
    border-radius: 10px !important;
  }

  .select2-selection__rendered {
    margin-top: -6px !important;
  }

  /* ---------- Buttons ---------- */
  .form-group.text-right {
    text-align: center !important;
  }

  .form-group.text-right .btn {
    width: 100%;
    margin-bottom: 8px;
    height: 45px;
    font-size: 15px;
  }

  /* ---------- Warning Text ---------- */
  .resizeFont80,
  .resizeFont90 {
    font-size: 14px !important;
  }

  /* ---------- Table ---------- */
  .card-datatable {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  #producerList {
    width: 100% !important;
    min-width: 700px;
  }

  .dataTables_wrapper {
    width: 100%;
    overflow-x: auto;
  }

  table.dataTable tbody>tr>td {
    padding: 12px 10px !important;
    font-size: 13px;
    vertical-align: top;
  }

  table.dataTable thead>tr>th {
    font-size: 13px;
    white-space: nowrap;
  }

  /* ---------- Pagination ---------- */
  .dataTables_wrapper .dataTables_paginate {
    overflow-x: auto;
    white-space: nowrap;
    margin-top: 10px;
  }

  .dataTables_wrapper .dataTables_filter,
  .dataTables_wrapper .dataTables_length {
    text-align: left !important;
    margin-bottom: 10px;
  }

  /* ---------- Overview Section ---------- */
  #overviewShow .row>div {
    max-width: 100%;
    flex: 0 0 100%;
  }

  .mainManu {
    font-size: 14px;
    padding: 10px !important;
  }

  #barchart_3d {
    overflow-x: auto;
  }

  /* ---------- Footer ---------- */
  img[src*="footer2.png"] {
    margin-top: 20px;
  }
}