#custom-advent-calendar .days {
	display: flex;
	flex-wrap: wrap;
}
#custom-advent-calendar .days .day {
	padding: 15px;
	flex: 0 0 25%;
	position: relative;
}
#custom-advent-calendar .days .day .day-inner {
	width: 100%;
	height: 300px;
	float: left;
	perspective: 500px;
}
#custom-advent-calendar .days .day .day-inner .content {
	position: absolute;
	width: 100%;
	height: 100%;
	border: 1px solid #303030;
	border-radius: 10px;
	box-shadow: 0 0 15px rgba(0,0,0,0.1);
	transition: transform 1s;
	transform-style: preserve-3d;
}
#custom-advent-calendar .days .day.current .day-inner .content,
#custom-advent-calendar .days .day.next .day-inner .content {
	border-color: #FA2929;
}

#custom-advent-calendar .days .day.current .day-inner:hover .content {
	transform: rotateY( 180deg ) ;
	transition: transform 0.5s;
}

#custom-advent-calendar .days .day .day-inner .front,
#custom-advent-calendar .days .day .day-inner .back {
	position: absolute;
	background-size: contain!important;
	background-repeat: no-repeat!important;
	height: 100%;
	width: 100%;
	background: white;
	color: #03446A;
	text-align: center;
	font-size: 60px;
	border-radius: 9px;
	backface-visibility: hidden;
}

#custom-advent-calendar .days .day .day-inner .back {
	background: #FA2929;
	color: #fff;
	transform: rotateY( 180deg );
}
#custom-advent-calendar .days .day .day-inner .content h3 {
	position: absolute;
  	bottom: 0;
 	text-align: center;
  	width: 100%;
  	font-size: 18px;
  	text-transform: uppercase;
  	color: #b11414;
  	font-family: "Montserrat", Sans-serif;
  	letter-spacing: 2px;
}
#custom-advent-calendar .days .day.expired .day-inner .content h3 {
	color: #575757;
}
#custom-advent-calendar .days .day .day-inner .content .back .back-inner {
	position: absolute;
  	bottom: 0;
  	width: 100%;
}
#custom-advent-calendar .days .day .day-inner .content .back a {
	text-align: center;
  	width: 100%;
  	font-size: 18px;
  	padding: 5px 20px 5px 20px;
  	background-color: #FFFFFF;
  	color: #FA2929;
  	font-family: "Montserrat", Sans-serif;
  	font-weight: 600;
  	border: 1px solid #FA2929;
    transition: all 0.5s ease;
}
#custom-advent-calendar .days .day .day-inner .content .back a:hover {
	background: #FA2929;
	border-color: #fff;
	color: #fff;
}
@media (max-width: 767px) {
	#custom-advent-calendar .days .day .day-inner {
		height: 220px;
	}
	#custom-advent-calendar .days .day {
		flex: 0 0 50%;
	}
	#custom-advent-calendar .days .day.current.active .day-inner .content {
		transform: rotateY( 180deg ) ;
		transition: transform 0.5s;
	}
	#custom-advent-calendar .days .day .day-inner .content .back a {
		padding: 5px;
		font-size: 16px;
	}
}