/******************************************************************************/
/******************************************************************************/
/*** texts ********************************************************************/

.home-category-container {
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 13px;
  padding-right: 13px;
  border-bottom: 1px solid #e8e8e8;
  width: 100%;
  max-height: 403px; /* it is set such that the height of the container remains
                        stable when it overflows and tiles inside it captures
                        more than 1 row. see .category-container overflow */
  display: inline-block;
  overflow: hidden; /* it is used to hide the overflowed tiles inside container
                       when they fall back into more than 1 row */
}

/******************************************************************************/

.home-category-title {
  color: #333;
  font-size: 15px;
  font-weight: bold;
  margin-left: 5px;
  margin-bottom: 2px;
}

/******************************************************************************/
/******************************************************************************/

.home-tile {
  position: relative;
  overflow: auto;
  background: transparent;
  border-width: 1px;
  border-style: solid;
  border-color: #d7d7f7;
  border-radius: 11px;
  margin: 5px;
  margin-bottom: 10px; /* it is used to push down the overflowed tiles in order
                          to be unvisible. see .category-container overflow */
  padding-top: 10px;
  padding-left: 10px;
  padding-right: 5px;
  width: 196px;
  height: 165px;
  float: left;
}

/******************************************************************************/

.home-text {
  word-wrap: break-word;
  overflow: scroll;
  width: 100%;
  height: 100%;
}

/******************************************************************************/

.home-tilelink {
  position: absolute;
  left: -webkit-calc(100% - 32px);
  left:    -moz-calc(100% - 32px);
  left:         calc(100% - 32px);
  top: 0px;
  display: none;
}

.home-tile:hover > .home-tilelink {
  display: block;
}