#main{
	background: transparent;
	z-index: 2;
}
#calendar{
	border-top: 1px solid #424242;
	background: rgba(0, 0, 0, 0.1);
}
#calendar .container{
	position: relative;
	padding-left: 24px;
	padding-bottom: 0;
	background: transparent;
	min-height: 945px;
}
#calendar .container > svg{
	height: 0;
}
#calendar .header-calendar {
	height: 24px;
}
#calendar .box{
	height: 167px;
	width: 167px;
	border: 1px dashed #8b7e4a;
	color: #fff;
	text-align: center;
	display: block;
	float: left;
	margin-right: 20px;
	margin-bottom: 20px;
	position: relative;
	font-family: 'Verlag Condensed Bold';
	z-index: 15;
	border-radius: 10px;
}
.box.today{
	border-color: #6a8fae;
}
.box.today.closed:hover{
	cursor: pointer;
	filter: brightness(105%);		
}
.box.today > .door .number{
	color: #ff0000;
	text-shadow: 0px 0px 6px #ffffff;
}
.box.opened > .door{
	transform: rotateY(-95deg) rotateZ(-2deg);
	filter: brightness(60%);
}
.door, .box-bg{
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	border-radius: 10px;
}
.box > .door{
	font-family: 'Dancing Script', Verdana, cursive;
	line-height: 150px; /** was 150 px */
	font-size: 85px; /** was 100px */
	text-shadow: 0px 0px 6px #154565, 1px 1px 6px #ccc;
	transform-origin: left;
	transition: transform 1s ease-in-out, filter 1s ease-in-out, background 0.5s ease-in-out;
	z-index: 11;
	background: #4f131d;
	user-select: none;
	border-radius: 10px;
}
.box.closed.today > .door {
	animation: pulse 1.5s infinite ease-in-out;
}
.box.opening > .door{
	transition: background 0.3s ease-in-out;
	background: #4f131d;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 #cc5455; } /** rgb(106, 143, 174) */
  70% { box-shadow: 0 0 0 10px rgba(255,255,255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255, 0); }
}
.box.closed > .cache, .box.closed > .box-content, .box.closed > .box-bg, .box.opening > .cache, .box.opening > .box-content, .box.opening > .box-bg {
	opacity: 0;
}
.box > .door > .number{
	visibility: visible;
	transition: visibility 1s ease-in-out;
}
.box.opened > .door > .number{
	visibility: hidden;
}
.cache{
	width: 100%;
	height: 100%;
	background: #4f131d;
	z-index: 10;
	position: absolute;
}
.box-content{
	font-size: 14px;
	color: #000;
	line-height: 15px;
	height: 151px; /** 120px */
	z-index: 9;
	text-align: center;
	padding-top: 3px;
	cursor: pointer;
}
.box-content .title{
	display: block;
	padding: 12px 5px 7px;
	text-transform: uppercase;
	font-weight: 600;
	font-style: normal;
	color: #8c8c8c;	
}
.box.today .box-content .title{
	color: #ff0000;
}
.box-content .title.logo{
	padding: 0 5px;
	height: 100%;
}
.box .box-content svg{
	width: 115px;
	height: 115px;
	background-repeat: no-repeat;
	background-size: 0 0;
}
.box.today .box-content svg{
	background-size: contain !important;
}
.box.today .box-content svg image{
	opacity: 0;
}
.box-content .title.empty{
	height: 30px;
}
.box-content .subtitle{
	display: block;
	font-family: 'Libre Baskerville', serif;
	font-style: italic;
	font-weight: bold;
	padding: 0 10px 15px;
	color: #8c8c8c;
	font-size: 12px;
}
.box.today .box-content .subtitle{
	color: #000000;
}
.box-content .button{
	background: #6a8ce1;
	color: #ffffff;
	padding: 3px 6px; /** 3px 20px */
	border-radius: 3px;
	display: inline;
	text-align: center;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 13px;
	border: none;
	position: absolute;
	bottom: 13px; /** 20px */
	transform: translateX(-50%);
	left: 50%;
	cursor: pointer;
}
.box-content:hover .button{
	background: #577bd5;
}
.box-content .button.finished{
	background: #aaa;
}
.box-content:hover .button.finished{
	background: #999;
}
.box-bg{
	z-index: -1;
	background: url('/images/structure/calendrier-2020/fond-case.jpg') no-repeat;
	background-size: contain;
}
.box-bg .number-open{
	font-family: 'Mountains of Christmas Regular', Verdana, cursive;
	position: absolute;
	bottom: 0;
	right: 0;
	width: 33px;
	height: 33px;
	font-size: 27px;
	background: #8b7e4a;
	line-height: 34px;
	text-align: center;
	padding-left: 1px;
	padding-right: 2px;
	box-shadow: -1px 0px 4px 0px #a6a6a6;
	border-bottom-right-radius: 10px;
}
.box.today .box-bg .number-open{
	background: #ff0000;
}
.box-popup{
	position: fixed;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.5);
	top: 0;
	left: 0;
	z-index: 199;
}
.box-popup .box-popup-content{
	box-sizing: border-box;
	font-family: 'Verlag Condensed Bold', serif;
	color: #ffffff;
	font-size: 36px;	
	clear: both;
	z-index: 200;
	background: url('/images/structure/calendrier-2021/fond-popup.png') no-repeat;
	width: 774px;
	height: 475px;
	color: #ffffff;
	position: relative;
	top: 50%;
	transform: translateY(-50%);
	left: 50%;
	margin-left: -400px;
	text-align: center;
	padding: 30px 15px 0;
	font-weight: 400;
	display: flex;
	justify-content: space-between;
	flex-direction: column;
}
.box-popup.finished .box-popup-content {
	justify-content: space-around;
}
.box-popup .box-popup-content .box-popup-close{
	color: #ffffff;
	position: absolute;
	top: 0;
	right: 0;
	font-size: 40px;
	padding: 48px 26px;
	cursor: pointer;
	text-shadow: 0px 0px 1px #7b7b7b, 1px 1px 1px #868686;
	font-weight: 900;
}
.box-popup .box-popup-content .timer-content{
	padding: 25px 40px;
}
.box-popup .box-popup-content .link{
	color: #ffffff;
	text-transform: uppercase;
	text-decoration: none;
	padding: 2px 20px;
	display: inline-block;
	border-radius: 3px;
	margin-top: 25px;
	border: 1px solid rgba(0, 0, 0, 0.4);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4), -23px 0 20px -23px rgba(0, 0, 0, 0.8), 23px 0 20px -23px rgba(0, 0, 0, 0.8), inset 0 0 40px rgba(0, 0, 0, 0.3);
	font-size: 32px;
}
.box-popup .box-popup-content .link:hover{
	background: rgba(0, 0, 0, 0.2);	
}
.box-popup .box-popup-content .title{
	text-decoration: none;
	display: block;
	font-weight: 900;
	padding: 0 25px;
	border-radius: 3px;
	color: #4f131d;
	margin-bottom: 4px;
	text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.04), 1px 1px 1px rgba(255, 255, 255, 0.75);
	font-size: 36px;
}
.box-popup .box-popup-content .subtitle{
	display: block;
	font-size: 26px;
}
.box-popup .box-popup-content .details{
	font-size: 22px;
	line-height: 24px;
	margin-top: 20px;
	color: #ffffff;
}
.box-popup .box-popup-content .subtitle img {
	width: 125px;
}
.box-popup .box-popup-content .subtitle u {
	font-weight: 900;
	color: #ffffff;
	padding: 1px 10px;
	border-radius: 3px;
	text-decoration: none;
	font-size: 30px;
	border: 1px solid rgba(0, 0, 0, 0.38);
	font-family: 'Engebrechtre Regular', serif;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.6) 0px 18px 36px -18px inset;
	display: inline;
	vertical-align: -5px;
	margin-left: 5px;
	background: rgba(144, 51, 40, 0.7);
}
.box-popup .box-popup-content .details a {
	color: #154f7f;
}
.box-popup .box-popup-content .details a:hover {
	text-decoration: none;
}
.box-popup .box-popup-content .infos{
	color: #4f131d;
	font-size: 16px;
	display: block;
	padding: 25px 40px;
}
.box-popup.finished .box-popup-content .subtitle{
	text-shadow: 0px 0px 1px #7b7b7b, 1px 1px 1px #868686;
}
.to-calendar-santa, .to-calendar-bubble{
	display: none;
}
.box > .door .background {
	display: block;
	height: 100%;
	width: 100%;
	background-size: contain;
}
.box-popup .box-popup-content .timer-content, .box-popup .box-popup-content .subtitle {
	text-shadow: -1px -1px 1px rgba(255, 255, 255, 0.02), 1px 1px 1px rgba(0, 0, 0, 0.75);
}
.box-popup .box-popup-content .subtitle .infos {
	text-shadow: none;
	padding: 6px 20px;
}