.stundenplan .gallery-item {
    margin-bottom: 0em;
    border-bottom: 1px solid #e1e1e1;
    padding-bottom: 0.8em;
    position: relative;
}
.stundenplan .gallery-item > div {
    padding: 1em 0 0 0;
}
.stundenplan .gallery-item .action-area {
    margin: 0 0 0 0;
    float: right;
}
.stundenplan .gallery-item .action-area .btn {
    padding:10px 10px;
    margin-top: 8px;
    box-shadow: 3px 3px 5px #666;
    border-radius: 5px;
}
.stundenplan .gallery-item  .date {
    float: left;
    width: 90px;
    height: 70px;
    margin-right:25px;
}
.stundenplan .gallery-item  .strict {
    font-size: 30px;
    padding-top: 15px;
    line-height: 24px;
    text-align: center;
}
.stundenplan .gallery-item  .near {
    font-size: 22px; padding-top: 19px;  text-align: center;
}
.stundenplan .gallery-item  .info {
    float:left;
    font-size: 13px;
}

.stundenplan .gallery-item  .info .into-title {
    font-size: 20px;
}

@media screen and ( max-width: 700px ) and ( min-width: 100px ) {
    .stundenplan .gallery-item .date {
        margin-right:10px;
        width:70px;
        height: 70px;
    }

    .stundenplan .gallery-item  .date .strict {
        font-size: 22px;
    }
    .stundenplan .gallery-item  .near {
        font-size: 16px;
        padding-top: 22px;
    }

    .stundenplan .gallery-item .action-area {
        position: absolute;
        left: auto;
        top: 12px;
        right: -3px;
        width: 105px;
    }

    .stundenplan .gallery-item .action-area .btn {
        font-size: 14px;
        padding:6px 6px;
    }

    .stundenplan .gallery-item  .info {
        font-size: 11px;
    }

    .stundenplan .gallery-item  .info .into-title {
        font-size: 15px;
        padding-top: 0px !important;
    }
    .stundenplan .gallery-item  .info .into-title > span {
        display: block;
    }
}

/* 3 layout columns for schedule dafeo */
.lessoninfo {
  float: left;
  width: 60%;
  margin-bottom: 30px;
  border-radius: 6px;
  color: rgba(0, 0, 0, 0.87);
  -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
  -moz-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
	  padding: 8px 8px;

}
.lessonregister {
  float: left;
  width: 40%;
}

/* Clear floats after the columns */
.lessonrow:after {
  content: "";
  display: table;
  clear: both;
}

.buttonregister {
  border: none;
  padding: 8px 8px;
  text-align: center;
  font-size: 16px;
  margin-left: 4px;
  opacity: 1;
  transition: 0.3s;
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  border-radius: 8px;

}

.buttonregisterdisabled {
  border: none;
  background-color:grey;
  color:black;
  padding: 8px 8px;
  text-align: center;
  font-size: 16px;
  margin-left: 4px;
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  border-radius: 8px;

}

.buttonregister:hover {opacity: 0.8}