.tablet-calendar,
.calendar {
  position: relative;
  margin: 0 auto;
  max-width: 870px;
  width: 100%;
  height: 590px;

  /* Uncomment the line below, and the box-shadow will be as before (with grey corners). */
  /* overflow: hidden; */
}
.tablet-calendar > img,
.calendar > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  -webkit-box-shadow: 0px 2px 5px 1px rgba(71,71,71,1);
  -moz-box-shadow: 0px 2px 5px 1px rgba(71,71,71,1);
  box-shadow: 0px 2px 5px 1px rgba(71,71,71,1);
}
.calendar-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 110px;
  height: 110px;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  border-radius: 7px;
  border: 1px solid #ccc;
  overflow: hidden;

  -webkit-box-shadow: 0px 1px 3px 1px rgba(71,71,71,0.5);
  -moz-box-shadow: 0px 1px 3px 1px rgba(71,71,71,0.5);
  box-shadow: 0px 1px 3px 1px rgba(71,71,71,0.5);
}
.calendar-box h3 {
  color: white;
  text-align: center;
  font-size: 40px;
  line-height: 108px;
  height: 108px;
  margin: 0;
  text-shadow: 0 2px 3px black;
}
.calendar-box img {
  /*max-width: 100%;
  max-height: 100%;*/
}
.calendar-box-bg {
  /*background-color:rgba(0, 0, 0, 0.5);*/
  /*background: url("../img/item.jpg");*/
  text-align: center;
}
.calendar-box-bg span.valign-helper {
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}
.calendar-box-bg img {
  vertical-align: middle;
  max-width: 100px;
  max-height: 100px;
}
.calendar-box-door:hover {
  opacity: 0.95;
  cursor: pointer;
}

.winners {
  max-width: 870px;
  width: 100%;
  margin: 0 auto;
}
.winners h1 {
  font-size: 32px;
  color: white;
  margin-bottom: 20px;
  text-shadow: 0 3px black;
}
.winners p {
  font-size: 14px;
  color: white;
}

.tablet-calendar,
.mobile-calendar {
  display: none;
}

@media (max-width: 991px) {

  .mobile-calendar {
    display: none;
  }
  .tablet-calendar {
    display: block;
    font-size: 0
  }
  .hidden-xs {
    display: none;
  }
  .calendar-box {
    width: 105px;
  }
}

@media screen and (max-width: 767px) {

  .mobile-calendar {
    position: relative;
    display: block;
    background: url("../img/backcalend.jpg") no-repeat center;
    background-size: cover;
    padding-top: 20px;
    border-radius: 10px;
  }
  .mobile-calendar .calendar-box {
    width: 100%;
    max-width: 110px;
    position: relative;
    margin: 0 auto 20px;
  }
  .calendar-box-wrapper {
    float: left;
    width: 25%;
  }
  .tablet-calendar {
    display: none;
  }
}

@media screen and (max-width: 600px) {
  .calendar-box-wrapper {
    padding: 0 10px;
    box-sizing: border-box;
  }
  .mobile-calendar .calendar-box {
    height: 80px;
  }
  .mobile-calendar .calendar-box h3 {
    line-height: 1;
    height: auto;
    position: absolute;
    top: 50%;
    width: 100%;
    font-size: 24px;
    transform: translateY(-50%);
  }
}