.no-padding-left {
  padding-left: 0;
}
.no-padding-right {
  padding-right: 0;
}

@media only screen and (max-width: 800px) {

  .no-padding-left, .no-padding-right {
    padding: 0;
  }


  /* Force table to not be like tables anymore */
  #no-more-tables table,
  #no-more-tables thead,
  #no-more-tables tbody,
  #no-more-tables th,
  #no-more-tables td,
  #no-more-tables tr {
    display: block;
  }

  /* Hide table headers (but not display: none;, for accessibility) */
  #no-more-tables thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  #no-more-tables tr {
    border: 1px solid #ccc;
  }

  #no-more-tables td {
    /* Behave  like a "row" */
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 50%;
    white-space: normal;
    text-align: left;
  }

  #no-more-tables td:before {
    /* Now like a table header */
    position: absolute;
    /* Top/left values mimic padding */
    top: 6px;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    text-align: left;
    font-weight: bold;
  }

  #no-more-tables tr.category_files td:before {
    /* Now like a table header */
    position: absolute;
    /* Top/left values mimic padding */
    top: 6px;
    left: 6px;
    width: 0;
    padding-right: 10px;
    white-space: nowrap;
    text-align: left;
    font-weight: bold;
  }

  #no-more-tables tr.category_files td {
    /* Behave  like a "row" */
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 2%;
    white-space: normal;
    text-align: left;
  }

  /*
  Label the data
  */
  #no-more-tables td:before {
    content: attr(data-title);
  }

  #no-more-tables tr.category_files td {
    border-bottom: none;
  }

  #no-more-tables tr.category_files td:empty {
    display: none;
  }

  #no-more-tables tr.category_files td:not(:empty) {
    padding: 4px;
  }

  #no-more-tables tr.category_files td.new-task {
    min-height: 50px;
  }

  #button-container, #calendar-container {
    padding-left: 0;
    padding-right: 0;
  }

  #button-container .text {
    display: none;
  }

  #button-container .date-wrapper {
    margin-top: 20px;
    float: none !important;
  }

  .calendar-show-inactive {
    margin-bottom: 20px;
  }

  #calendar-config-button {
    display: inline-block !important;
  }

  .fc-toolbar.fc-header-toolbar .fc-center {
    padding-top: 10px;
  }

  .fc-toolbar.fc-header-toolbar {
    margin-bottom: 0;
  }

  .navbar-static-top {
    display: inline;
    float: right !important;
    width: auto !important;
  }

  .logo {
    float: left !important;
    display: inline;
    padding: 0 15px 0 0;
  }

  .ms-selectable .search-input {
    width: 100%;
  }

  .ms-container .ms-selection {
    margin-top: 37px;
  }

  .ms-selectable .add_selectable {
    margin-left: 0;
  }

  .form-group.file-upload-container .btn-upload-file {
    display: block;
  }

  .content {
    padding-top: 5px;
  }

  .fixed .content-wrapper, .fixed .right-side {
    padding-top: 50px;
  }
}

@media (max-width: 640px) {

  #no-more-tables.table-responsive {
    overflow-y: auto;
  }

  #no-more-tables tbody tr td {
    min-height: 25px;
    padding-left: 45%;
  }

  #no-more-tables tbody tr td:nth-of-type(1) {
    min-height: 50px;
    text-align: left !important;
  }

  #no-more-tables tbody tr td:nth-of-type(1) br {
    display: none;
  }

  #no-more-tables td:before {
    width: 54%;
  }

  #no-more-tables td {
    width: 100% !important;
    max-width: 100% !important;
  }

  #no-more-tables tfoot {
    display: none;
  }
}