/* Bullet lists */

div#icf-residences-head-by-loc {
  margin: 20px 0px 0px 0px;
}

/*ul#icf-residences-list-nav-main*/
div#icf-residences-list-by-loc, 
div#icf-residences-list-by-dep {
  margin: 20px 0px 40px 0px;
}

ul#icf-residences-list-nav-bottom {
  margin: 20px 0px 0px 0px;
  border-top: solid 1px #ccc;
  padding-top: 10px;
}


/* Views List */

div.residences-nav-view {
  background-color: #fff;
  width: 100%;
  margin: 20px 0px 40px 0px;
}

div.residences-nav-view table {
  width: 100%;
  margin: 20px 0px 30px 0px;
}

div.residences-nav-view table th {
  background-color: #D1CDC9;
}

div.residences-nav-view table th#view-field-res-nblogements-table-column {
  width: 1%;
}

div.residences-nav-view table td.views-field-field-res-nom {
  text-align: left;
}

div.residences-nav-view table td.views-field-field-res-localite, 
div.residences-nav-view table td.views-field-view-node {
  font-weight: bold;
}

div.residences-nav-view footer {
  border-top: solid 1px #ccc;
  padding-top: 10px;  
}

@media (max-width: 700px) {
  div.residences-nav-view table {
    background-color: gold !important;
    width: 100% !important;
    max-width: 100% !important;
    font-size: 0.7em !important;
  }  
  div.residences-nav-view table th, 
  div.residences-nav-view table tbody, 
  div.residences-nav-view table tr, 
  div.residences-nav-view table td {
    width: 1% !important;
    min-width: none !important;
  }
}

@media (max-width: 540px) {
  div.residences-nav-view table {
    font-size: 0.6em !important;
  }
  div.residences-nav-view table th, 
  div.residences-nav-view table tbody, 
  div.residences-nav-view table tr, 
  div.residences-nav-view table td {
    width: 1% !important;
    min-width: none !important;
    word-break: break-all;
  }  
}

