
/**
 * @package     Whyty_echo
 * @subpackage  mod_whyty_echo
 */
.mod-whyty-echo > .event-list {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-around;
}

.mod-whyty-echo .event {
	border: 4px inset #4707ff;
	border-radius: 20px;
}

.mod-whyty-echo .event-title {
	font-size: clamp(10px, 1.5vw, 30px);
	font-weight: bold;
	background: #d8fff0;
	padding: 10px;
	text-align: center;
	border: 2px inset #2b11e1;
	border-radius: 10px;
}


.mod-whyty-echo .event-whyty-link {
	border: 2px inset blue;
	border-radius: 5px;
	padding: 5px;
	text-align: center;
}
.mod-whyty-echo .event-whyty-link > a {
	text-decoration: none;
	font-weight: bold;
	cursor: pointer;
}

.mod-whyty-echo .event-session {
	position: relative;
}
.mod-whyty-echo .modules-dates {
	display: flex;
}

.mod-whyty-echo .event-session[title]:hover::after {
	content: attr(title);
	font-size: 14px;
	color: white;
	background-color: blue;
	padding: 5px;
	border-radius: 5px;
	left: -10px;
	position: absolute;
}

/* Popup mode */
.whyty-echo-popup {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: #c0c0c080;
	z-index: 1000;
}

.whyty-echo-popup > div {
	width: clamp(300px, 60vw, 900px);
	min-height: fit-content;
	background: #592d91;
	color: white;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 20px;
}

.whyty-echo-title {
	font-family: "Mark Pro Heavy", "Roboto";
	font-size: clamp(20px, 6vw, 40px);
	text-align: center;
	padding-right: 30px;
}
.whyty-close {
	cursor: pointer;
	float: right;
	background: white;
	width: 50px;
	height: 50px;
	position: absolute;
	top: 3px;
	right: 3px;
}
.whyty-close > .leftright {
	height: 4px;
	width: 50px;
	position: absolute;
	margin-top: 24px;
	background-color: #592d91;
	border-radius: 2px;
	transform: translateX(-25px) rotate(45deg);
	transition: all .3s ease-in;
}
.whyty-close > .rightleft{
	height: 4px;
	width: 50px;
	position: absolute;
	margin-top: 24px;
	background-color: #592d91;
	border-radius: 2px;
	transform: translateX(-25px) rotate(-45deg);
	transition: all .3s ease-in;
}
.whyty-date-debut {
	font-size: 150%;
	font-weight: bold;
}
.whyty-link {
	text-align: center;
}
.whyty-date-debut {
	display: block;
	text-align: center;
}
.whyty-link > a {
	background-color: white;
	color: #592d91;
	text-decoration: none;
	cursor: pointer;
	font-family: "Mark Pro Heavy", "Roboto";
	font-size: 28px;
	line-height: 38px;
	font-weight: 300;
	padding: 0.5em 1.5em;
	margin: 0.5em 0 0 0;
	border-radius: 100px;
	border: 0;
	min-height: fit-content;
	display: inline-block;
}

/* Summary */

.mod-whyty-summary {
	background: #592d91;
	color: white;
	font-family: "Mark Pro Heavy", "Roboto";
	font-size: clamp(20px, 6vw, 40px);
	text-align: center;
	padding: 25px;
}
.event-title-summary {
	font-size: clamp(20px, 6vw, 40px);
}
.event-summary-date-from {
	font-size: clamp(15px, 3.5vw, 25px);
}
.event-summary-whyty-link > a {
	background-color: white;
	color: #592d91;
	text-decoration: none;
	cursor: pointer;
	font-family: "Mark Pro Heavy", "Roboto";
	font-size: 28px;
	line-height: 38px;
	font-weight: 300;
	padding: 0.5em 1.5em;
	margin: 0.5em 0 0 0;
	border-radius: 100px;
	border: 0;
	min-height: fit-content;
	display: inline-block;
}
