/*@font-face {
  src: url(../fonts/Roboto-Bold.woff);
  font-family: 'Roboto';
}*/
*{
  box-sizing: border-box;
  /*font-family: "Roboto";*/
  font-size: 120%;
}
html{
  line-height: 1;
}
body{
  background-color: #f5f5f5;
}
h4{
  color: #6f6d6d;
}
.card {
  overflow: auto;
}
.card .card-title{
  font-size: 2rem;
  text-shadow: 2px 2px 5px grey;
}
.card .card-action {
  font-size: 1.3rem;
  border-top: 0;
  color: white;
  padding: 0 0 5px 10px;
}
.material-icons {
  padding-top: 10px;
}
.button-collapse {
  padding: 20px;
}
.card .card-text .card-body h5{
  font-size: 1rem;
  text-align: center;
  padding: 0 10px;
  margin-bottom: 35px;
}
.card-body .card-action {
  font-size: .8rem;
  position: absolute;
  bottom: 2px;
}
.page-footer{
  color: white;
  font-size: .7rem;
  text-align: center;
  bottom: 0;
  /*background-color: #00bac1;*/
  padding-top: 0;
}
.page-footer a{
  color: lightgrey;
}
.page-footer a:hover{
  color: white;
}

@media (min-width: 600px) {
  .card.horizontal{
    width: 100%;
    display: block;
    clear: both;
  }
  .card.horizontal .card-image {
      max-width: 100%;
    }
  .container{
    width: 90%;
  }
  .card .card-text .card-body h5{
    font-size: 1.3rem;
    margin-bottom: 2px;
    padding: 0 10px 20px 10px;
  }
  #top .card .card-image{
    max-height: 260px;
    overflow: hidden;
  }
  #last .card .card-image{
    max-height: 260px;
    overflow: hidden;
  }
}


@media (min-width: 980px){
  #top .card .card-image{
    max-height: 100%;
    height: 280px;
  }
  #last .card .card-image{
    max-height: 100%;
    height: 280px;
  }
  .card.horizontal{
    min-height: 280px;
  }
}
