.wrapper {
  margin-top: 5vh;
}

.dataTables_filter {
  float: right;
}

.dataTables_filter input[type="search"] {
  border: 1px solid #5970b3 !important;
}
.dataTables_filter label {
  color: rgb(24, 23, 23);
}

.table-hover > tbody > tr:hover {
  background-color: #ccffff;
}

@media only screen and (min-width: 768px) {
  .table {
    /* table-layout: fixed; */
    max-width: 100% !important;
  }
}

thead {
  background: #5970b3;
}

.highlight {
  background: #ffff99;
}

@media only screen and (max-width: 767px) {
  /* Force table to not be like tables anymore */
  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
  }

  /* Hide table headers (but not display: none;, for accessibility) */
  thead tr,
  tfoot tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  td {
    /* Behave  like a "row" */
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 50% !important;
  }

  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;
  }

  .table td:nth-child(1) {
    background: #5970b3;
    color: white;
    height: 100%;
    top: 0;
    left: 0;
    font-weight: bold;
  }

  .table td:nth-child(1) {
    border-top: 3px solid #5970b3;
  }

  /*
  Label the data
  */
  tr.all td:nth-of-type(1):before {
    content: "Rent/Sale";
  }

  tr.all td:nth-of-type(2):before {
    content: "Complex";
  }

  tr.all td:nth-of-type(3):before {
    content: "Week type";
  }

  tr.all td:nth-of-type(4):before {
    content: "Room No";
  }

  tr.all td:nth-of-type(5):before {
    content: "Dates/Weeks";
  }

  tr.all td:nth-of-type(7):before {
    content: "Weekday Arrival";
  }

  tr.all td:nth-of-type(8):before {
    content: "Price";
  }

  tr.all td:nth-of-type(9):before {
    content: "";
  }

  /*
  Label the data
 */
  /* tr.rent td:nth-of-type(1):before {
    content: "Rent/Sale";
  } */

  tr.rent td:nth-of-type(1):before {
    content: "Complex";
  }

  tr.rent td:nth-of-type(2):before {
    content: "Week type";
  }

  tr.rent td:nth-of-type(3):before {
    content: "Room No";
  }

  tr.rent td:nth-of-type(4):before {
    content: "Dates";
  }

  tr.rent td:nth-of-type(5):before {
    content: "Weekday Arrival";
  }

  tr.rent td:nth-of-type(6):before {
    content: "Price";
  }

  tr.rent td:nth-of-type(7):before {
    content: "";
  }

  /*
  Label the data
  */
  /* tr.sale td:nth-of-type(1):before {
    content: "Rent/Sale";
  } */

  tr.sale td:nth-of-type(1):before {
    content: "Complex";
  }

  tr.sale td:nth-of-type(2):before {
    content: "Week type";
  }

  tr.sale td:nth-of-type(3):before {
    content: "Room No";
  }

  tr.sale td:nth-of-type(4):before {
    content: "Weeks";
  }

  tr.sale td:nth-of-type(5):before {
    content: "Weekday Arrival";
  }

  tr.sale td:nth-of-type(6):before {
    content: "Price";
  }

  tr.sale td:nth-of-type(7):before {
    content: "";
  }

  .dataTables_length {
    display: none;
  }
}

.row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: 0px !important;
  margin-left: 0px !important;
}

::-webkit-meter-optimum-value .wrapper {
  margin-top: 5vh;
}

.dataTables_filter {
  float: right;
}

.dataTables_filter input[type="search"] {
  border: 1px solid #5970b3 !important;
}
.dataTables_filter label {
  color: rgb(24, 23, 23);
}

.table-hover > tbody > tr:hover {
  background-color: #ccffff;
}

@media only screen and (min-width: 768px) {
  .table {
    /* table-layout: fixed; */
    max-width: 100% !important;
  }
}

thead {
  background: #5970b3;
}

.highlight {
  background: #ffff99;
}

@media only screen and (max-width: 767px) {
  /* Force table to not be like tables anymore */
  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
  }

  /* Hide table headers (but not display: none;, for accessibility) */
  thead tr,
  tfoot tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  td {
    /* Behave  like a "row" */
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 50% !important;
  }

  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;
  }

  .table td:nth-child(1) {
    border-top: 3px solid #5970b3;
  }

  /*
  Label the data
  */
  tr.all td:nth-of-type(1):before {
    content: "Rent/Sale";
  }

  tr.all td:nth-of-type(2):before {
    content: "Complex";
  }

  tr.all td:nth-of-type(3):before {
    content: "Max Stay";
  }

  tr.all td:nth-of-type(4):before {
    content: "Bedroom/Bath";
  }

  tr.all td:nth-of-type(5):before {
    content: "Week type";
  }

  tr.all td:nth-of-type(6):before {
    content: "Room No";
  }

  tr.all td:nth-of-type(7):before {
    content: "Arrival Dates";
  }

  tr.all td:nth-of-type(8):before {
    content: "Departure Dates";
  }

  tr.all td:nth-of-type(9):before {
    content: "Weeks";
  }

  tr.all td:nth-of-type(10):before {
    content: "Weekday Arrival";
  }

  tr.all td:nth-of-type(11):before {
    content: "Price";
  }

  tr.all td:nth-of-type(12):before {
    content: "";
  }

  /*
  Label the data
  */
  tr.rent td:nth-of-type(1):before {
    content: "Complex";
  }

  /* tr.rent td:nth-of-type(2):before {
    content: "Rent/Sale";
  } */

  tr.rent td:nth-of-type(2):before {
    content: "Max Stay";
  }

  tr.rent td:nth-of-type(3):before {
    content: "Bedroom/\A Bath";
    white-space: pre;
  }

  tr.rent td:nth-of-type(4):before {
    content: "Week type";
  }

  tr.rent td:nth-of-type(5):before {
    content: "Room No";
  }

  tr.rent td:nth-of-type(6):before {
    content: "Arrival\A Date";
    white-space: pre;
  }

  tr.rent td:nth-of-type(7):before {
    content: "Departure\A Date";
    white-space: pre;
  }

  tr.rent td:nth-of-type(8):before {
    content: "Weekday Arrival";
    white-space: pre;
  }

  tr.rent td:nth-of-type(9):before {
    content: "Price";
  }

  tr.rent td:nth-of-type(10):before {
    content: "";
  }

  /* 
  Label the data
  */
  tr.rent-1 td:nth-of-type(1):before {
    content: "Complex";
  }

  tr.rent-1 td:nth-of-type(2):before {
    content: "Bed/Stay";
  }

  tr.rent-1 td:nth-of-type(3):before {
    content: "Type";
  }

  tr.rent-1 td:nth-of-type(4):before {
    content: "Arrival\A Date";
    white-space: pre;
  }

  tr.rent-1 td:nth-of-type(5):before {
    content: "Price";
  }

  tr.rent-1 td:nth-of-type(6):before {
    content: "";
  }

  /*
  Label the data

  */
  tr.sale-1 td:nth-of-type(1):before {
    content: "Complex";
  }

  tr.sale-1 td:nth-of-type(2):before {
    content: "Bed/Stay";
  }

  tr.sale-1 td:nth-of-type(3):before {
    content: "Type";
  }
  tr.sale-1 td:nth-of-type(4):before {
    content: "Weekday Arrival";
  }

  tr.sale-1 td:nth-of-type(5):before {
    content: "Price";
  }

  tr.sale-1 td:nth-of-type(5):before {
    content: "";
  }

  tr.sale td:nth-of-type(1):before {
    content: "Complex";
  }

  /* tr.sale td:nth-of-type(2):before {
    content: "Rent/Sale";
  } */

  tr.sale td:nth-of-type(2):before {
    content: "Max Stay";
  }

  tr.sale td:nth-of-type(3):before {
    content: "Bedroom/\A Bath";
    white-space: pre;
  }

  tr.sale td:nth-of-type(4):before {
    content: "Week Type";
  }

  tr.sale td:nth-of-type(5):before {
    content: "Room No";
  }

  tr.sale td:nth-of-type(6):before {
    content: "Weeks";
  }

  tr.sale td:nth-of-type(7):before {
    content: "Weekday\A Arrival";
    white-space: pre;
  }

  tr.sale td:nth-of-type(8):before {
    content: "Price";
  }

  tr.sale td:nth-of-type(9):before {
    content: "";
  }

  @media only screen and (max-width: 768px) {
    tr.sale,
    tr.rent,
    tr.rent-1,
    tr.sale-1 {
      border-top: 1.6rem solid white !important;
    }
  }

  /*
  Label the data
  */
  tr.search-all td:nth-of-type(1):before {
    content: "Rent/Sale";
  }

  tr.search-all td:nth-of-type(2):before {
    content: "Complex";
  }

  tr.search-all td:nth-of-type(3):before {
    content: "Week type";
  }

  tr.search-all td:nth-of-type(4):before {
    content: "Room No";
  }

  tr.search-all td:nth-of-type(5):before {
    content: "Arrival";
  }

  tr.search-all td:nth-of-type(6):before {
    content: "Departure";
  }

  tr.search-all td:nth-of-type(7):before {
    content: "Weekday";
  }

  tr.search-all td:nth-of-type(8):before {
    content: "Price";
  }

  tr.search-all td:nth-of-type(9):before {
    content: "";
  }

  .dataTables_length {
    display: none;
  }
}

.row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: 0px !important;
  margin-left: 0px !important;
}
