.categoryDescription {
  bottom: 7%;
  color: #FFFFFF;
  font-size: 20px;
  left: 5%;
  position: absolute;
}

.categoryTitleWrapperFlex {

  position: absolute;
  top: 0;
  left: 42%;
  height: 100%;

  /** legacy flexie **/
  display: -webkit-box;
  display: -moz-box;
  display: box;
  -moz-box-align: center;
  -webkit-box-align: center;
  box-align: center;

  /** future **/
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  text-align: center;
}

.categoryTitleFlex {
  color: #FFFFFF;
  font-size: 2.4em;
  line-height: 1em;
  padding-right: 4%;
  text-align: center;
}

/* for really think screens */
@media screen and (max-width: 400px) {
  .categoryTitleFlex {
    font-size: 1.5em;
  }

  .categoryDescription {
    font-size: 1em;
  }
}

.expImage {
  height: 100px;
  width: 150px;
  overflow: hidden;
}

/*
 .expDescription {
  height: 40px; // make it always fit 2 lines
  height: 100px; // same height as image
  overflow: hidden;
  text-overflow: ellipsis;
}
*/

.expDescription {
  background: #FFFFFF;
  display: block;
  /* Fallback for non-webkit */
  display: -webkit-box;
  max-height: 6.250em;
  /* Fallback for non-webkit */
  font-size: 1.3rem;
  line-height: 1.3;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0;
}

@-moz-document url-prefix() {
  .expDescription {
    overflow: hidden;
    position: relative;
  }
  .expDescription:before {
    background: #FFFFFF;
    bottom: 0;
    position: absolute;
    right: 0;
    float: right;
    content: '\2026';
    margin-left: -3rem;
    width: 3rem;
  }
  .expDescription:after {
    content: '';
    background: #FFFFFF;
    position: absolute;
    height: 50px;
    width: 100%;
    z-index: 1;
  }
}

.single-line-overflow{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
 }

/* New Tile stuff */

.tile-card-4{margin-top: 10px; margin-bottom: 10px;}
.tile-card-4,.tile-hover-shadow:hover{box-shadow:0 4px 10px 0 rgba(0,0,0,0.2),0 4px 20px 0 rgba(0,0,0,0.19)}
.tile-container:after,.tile-container:before{content:"";display:table;clear:both}
.tile-container,.tile-panel{padding:0.01em 16px}.tile-panel{margin-top:16px;margin-bottom:16px}
.tile-left{float:left!important}.tile-right{float:right!important}
.tile-margin-right{margin-right:16px!important}
.tile-margin-bottom{margin-bottom: :16px!important}
a.tile-button {
  text-decoration: none;
  color: initial;
  border:none;
  padding:8px 16px;
  vertical-align:middle;overflow:hidden;
  text-decoration:none;
  color:#fff;
  background-color:#4CAF50;
  text-align:center;
}
a.tile-button:hover {
  color:#fff;
  background-color:#459e49;
}

a.tile-button-blue {
  text-decoration: none;
  color: initial;
  border:none;
  padding:8px 16px;
  vertical-align:middle;overflow:hidden;
  text-decoration:none;
  color:#fff;
  background-color:#089DE3;
  text-align:center;
}
a.tile-button-blue:hover {
  color:#fff;
  background-color:#126EFF;
}

.tile-block{display:block;width:100%}
