/*--------------------------- 
Add Plugin Front-End CSS here 
---------------------------*/
.table-responsive {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overflow-y: hidden;
}

.flats-filters ul{
display: flex;
justify-content: center;
list-style: none;
border-bottom: 0;
margin: 10px 15px 20px;
padding: 0;
}
.flats-filters ul li {
  display: inlnie-block;
  text-align: center;
  margin-right: 12px;
  padding: 6px 12px;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  position: relative;
  margin-bottom: 0;
  transition: 0.3s;
  text-transform: none;
  background-color: #a4d4ea;
  color: #93654B;
  width: auto;
  border-radius: 4px;
}
.flats-filters ul li:hover{
  background-color: #93654B;
  color: #fff;
}
.flats-filters ul li.is-checked {
  border-bottom: 0;
  background-color: #93654B;
  color: #fff;
}
.flats-filters ul li:last-child{
margin-right: 0;
}
.grid .grid-item h1{
background: #EEEEEE;
height: 150px;
line-height: 150px;
color: white;
font-size: 3em;
text-align: center;
margin-bottom: 30px;
}

.flats-table tbody.grid tr {
  position: relative !important;
  top: 0 !important;
  border: 0;
}

.flats-table, .flats-table tbody.grid {
overflow-y: hidden;
}

.flats-table th {
  vertical-align: middle;
  border-top: 0;
  padding: 5px;
}

.flats-table .grid td {
  vertical-align: middle;
  border-top: 0;
  padding: 5px;
  background-color: #93654B;
  color: #fff;
}

.flats-table .grid td:first-child {
padding: 0;
background-color: transparent;
}

.flats-table .grid img {
border-radius: 3px;
vertical-align: middle;
}

.flats-table .grid a.ct-link-button {
border-width: 0;
padding: 0;
font-size: 16px;
text-transform: capitalize;
font-weight: 400;
letter-spacing: 1px;
}


.flats-table .grid a.ct-link-button:hover {
color: #ffffff;
}
/*
.flats-table .grid td:first-child, .flats-table th:first-child {
text-align: left;
}
.flats-table .grid td:last-child, .flats-table th:last-child {
text-align: right;
}
*/
.flats-table th {
  padding: 10px 5px;
  background: #a4d4ea;
}
.flats-table {
text-align: center;
}
.flats-table td p {
margin: 0;
}
@media screen and (max-width:720px) {
.flats-table {
text-align: left;
}
.flats-filters ul li,
.flats-table td,
.flats-table td a {
  font-size: 14px;
}
table.flats-table, 
.flats-table thead, 
.flats-table tbody, 
.flats-table th, 
.flats-table td, 
.flats-table tr { 
  display: block; 
}
/* Hide table headers (but not display: none;, for accessibility) */
.flats-table thead tr { 
  position: absolute;
  top: -9999px;
  left: -9999px;
}

.flats-table tr { border: 1px solid #ccc; margin-bottom: 10px; }

.flats-table td { 
  /* Behave  like a "row" */
  border: none;
  border-bottom: 1px solid #eee; 
  position: relative;
  padding-left: 50%; 
  display: grid;
grid-template-columns: 1fr 2fr;

}



.flats-table td:nth-of-type(1), td:nth-of-type(3), td:nth-of-type(4) { display:none !important; }
/*.flats-table td:nth-of-type(2):before { content: "Title"; }*/
.flats-table td:nth-of-type(2) {
  text-align: center;
  display: block;
  font-weight: 500;
}
.flats-table td:nth-of-type(5):before { content: "Area"; }
.flats-table td:nth-of-type(6):before { content: "Rent"; }
.flats-table td:nth-of-type(7) {
  text-align: center;
  display: block;
}

}