/*
	=============================================================
	FOR ALL CALENDARS - TEXT, EVENTS, PROGRAMS
	=============================================================
*/

/*
	The calendarTable BG can be omited, particularly when No Form is used
	Is Basicaly used for Text Calendar 
*/
.calendarTableBG {
	font-family: "Roboto Condensed", Roboto, Arial, Helvetica, sans-serif;
	position: relative;
	clear: both;
	padding: 0;
	margin-bottom: 12px;
}

.calendarTableBG table {
	width: 100%;
	font-size: 0.9em;
}

.calendarTableBG form {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.calendarTableBG form .selectYear {
	margin-left: 1px;
}

/*
	The main body of the calendar - some styles from calendarTable BG can be repeated
*/

.calendarTable {
	width: 100%;
	font-size: 0.9em;
	font-family: "Roboto Condensed", Roboto, Arial, Helvetica, sans-serif !important;
	text-align: center;
	z-index: 10;
	position: relative;
}

.calendarTable th {
	text-align: center;
}

.calendarTable th a {
	display: block;
	color: rgba(255, 255, 255, 0.65);
}

.calendarTable th a:hover {
	color: rgba(255, 255, 255, 1);
}

.calendarTable tr {
	background: none;
	border: 0;
}

.calendarTable td {
	padding: 6px 2px;
	text-align: center;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.1);
	color: rgba(0, 0, 0, 0.6);
	line-height: 120% !important;
}

.calendarTable tr.week {
	font-weight: normal;
	text-align: center;
	background: #2ea3f2;
}

.calendarTable tr.week td {
	background: rgba(255, 255, 255, 0.75);
	color: rgba(0, 0, 0, 0.65);
}

.calendarTable tr.week td:last-child {
	border-right: 0;
}

.calendarTable td.notDay {
	color: rgba(0, 0, 0, 0.2);
}

.calendarTable td.thisDay {
	background: #eee;
}

.calendarTable td a {
	display: block;
	color: #2ea3f2;
	font-weight: bold;
}

.calendarTable td a:hover {
	color: #F2352E;
}


/*
	For Big Events Calendar - The DIV is visible within the date
*/
.calendarTable td div {
	position: relative;
	width: auto;
	padding: 5px;
	background: transparent;
	border: 0;
	border-radius: 0;
	display: block;
	text-align: left;
	font-size: 0.85em;
	line-height: 140%;
}

/*
	For Small Events Calendar - add to DIV the class: .popup
*/
.calendarTable td div.popup {
	position: absolute;
	top: 0;
	right: 101%;
	width: 360px;
	padding: 10px;
	background: #fff;
	border: 5px solid #F2352E;
	border-radius: 7px;
	display: none;
	z-index: 10;
	font-size: 0.9em;
	line-height: 120%;
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
	.calendarTable td div.popup {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		width: auto;
	}
}

@media only screen and (max-width: 767px) {
	.calendarTable td div.popup {
		display: none;
		visibility: hidden;
	}
}

/*
	For Month Events Calendar
*/

.eventsByMonthTable {
	border: 0 !important;
}

.eventsByMonthTable th {
	border: 0 !important;
	vertical-align: top;
	text-align: left;
}

.eventsByMonthTable th:first-child {
	width: 25%;
}

.eventsByMonthTable td {
	border: 0 !important;
	background: #fff;
}

.eventsByMonthTable td a {
	color: #2ea3f2;
}

.eventsByMonthTable td a:hover {
	color: #F2352E;
}

.eventsByMonthTable td figure.imageLeft {
	width: 50% !important;
}

/*
	For Week Events Calendar - Layers are shown/hided by jqWeekTabs
*/

ul.weekLayers {
	background: #2ea3f2;
	padding: 0;
	margin: 0;
	list-style: none;
	overflow: hidden;
}

ul.weekLayers li {
	background: rgba(255, 255, 255, 0.4);
	padding: 0 0 0 12px;
	margin: 0;
	overflow: hidden;
}

ul.weekLayers div {
	background: #fff;
	padding: 5px 5px 4px 32px;
	margin: 1px 1px 4px 1px;
	overflow: hidden;
	border-radius: 7px 0 0 7px;
}

ul.weekLayers h4 {
	font-size: 1em;
	padding-left: 7px;
	overflow: hidden;
	color: #fff;
}

/*
	List events in First Page and in Events Page
*/

.listEvents {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	line-height: 100% !important;
	margin-bottom: 10px;
}

.listEvents>div:nth-child(odd) {
	min-width: 3em;
	text-align: center;
	padding: 0;
}

.listEvents>div>div {
	padding: 3px;
	background: #2ea3f2;
	background-image: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
	color: rgba(255, 255, 255, 0.98);
	vertical-align: middle;
	border-radius: 7px 0 0 0;
}

.listEvents>div>div:last-child {
	background-image: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7));
	color: #0b6daf;
	border: 1px solid #2ea3f290;
	border-right: 0;
	border-radius: 0 0 0 7px;
	box-shadow: 3px 3px 4px 0 rgba(0, 0, 0, 0.15);
	overflow: hidden;
}

.listEvents>div:nth-child(even) {
	flex: 1;
	padding: 5px 5px 0 8px;
	background: transparent;
	border: 1px solid #2ea3f2;
	border-radius: 0 7px 7px 7px;
	box-shadow: 3px 3px 4px 0 rgba(0, 0, 0, 0.15);
	background: #fff;
	z-index: 1;
}

.listEvents>div>p:last-child {
	font-size: 0.85em;
	margin-top: 0;
}