/* Home cards */
.custom_events_card {
	position: relative;
	display: block;
	width: 100%;
	height: 369px;
	margin: 0;
	color: #f5f5f5;
	font-size: 15px;
	cursor: default;
	-webkit-box-shadow: 0px 2px 12px -3px rgba(68,68,68,1);
    -moz-box-shadow: 0px 2px 12px -3px rgba(68,68,68,1);
    box-shadow: 0px 2px 5px -3px rgba(68,68,68,1);
    cursor: default;
}

.custom_events_card_image {
	display: block;
	transition: opacity 0.5s linear, height 0.5s linear;
	width: 100%;
	height: 135px;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

/*.custom_events_card_block {
	display: block;
	opacity: 0;
	width: auto;
	height: auto;
	padding: 6px 17px;
	margin: 10px 10px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	transition: opacity 0.5s linear;
}
*/

.custom_events_button {
	opacity: 1;
	position: absolute;
	padding: 5px 15px;
	font-size: 13px;
	color: #fff;
	cursor: pointer;
	border: 2px solid #fff;
	border-radius: 8px;
	font-weight: bold;
	text-transform: uppercase;
	width: 150px;
	max-width: 100%;
	font-size: 20px;
	text-align: center;
	left: 50%;
	transform: translateX(-50%);
	bottom: 30px;
}	

.custom_events_button:hover {
	color: #fff !important;
	text-decoration: none !important;
	opacity: .7;
}

.custom_events_card_excerpt {
	display: block;
	opacity: 1;
	height: 230px;
	overflow: hidden;
	width: calc(100% - 3px) !important;
	transition: opacity 0.5s linear, height	0.5s linear;
}

.custom_events_card h1 {
	display: block;
	color: #91b7e1;
	font-size: 21px;
	padding: 12px 9px;
	line-height: 24px;
	margin: 0px;
}

.custom_events_card p {
	padding: 0px 3px;
	margin: 1px 5px;
  word-break: break-word;
}

/* behaviour */
.custom_events_card:hover .custom_events_card_excerpt,
.custom_events_card:hover .custom_events_card_image {
	opacity: 0;
	height: 0px;
}

.cover {
	height: 0;
	opacity: 0;
	position: relative;
}

.cover .cover-infos {
   padding: 20px;
}

.cover .cover-infos .cover-info {
    margin-bottom: 20px;
}

.cover .cover-infos .cover-info .info-header {
	margin: 0;
    font-weight: 350;
    color: #fff;
    text-transform: uppercase;
    font-size: 20px;
}

.custom_events_card:hover div.cover {
	height: 100%;
	opacity: .8;
}

.triangle-bottomright {
    border-bottom: 20px solid;
    border-left: 20px solid transparent;
    position: absolute;
    bottom: 3px;
    right: 2px;
}

/* ************************ */
/*
.custom_events_card .custom_events_card_excerpt { opacity: 0; }
.custom_events_card div.custom_events_card_block { opacity: 1; }
*/

.sub_page_caption_date {
	display: none;
}