﻿/*#region Events */
/*#region Events - Desktop*/

/* Event Calendar */

.event-calendar {
	overflow: visible;
}

.calendar-header {
	margin-top: 50px;
}

	.calendar-header .filter-dropdown {
		text-align: left;
		margin-right: 0;
	}

	.calendar-header label {
		color: #95999e;
		font-size: 13px;
		margin-right: 5px;
		position: relative;
		top: 2px;
	}

	.calendar-header h3 {
		margin: 0;
		position: relative;
		top: 5px;
	}

.event-calendar {
	margin: 15px 0 30px;
}

	.event-calendar,
	.event-calendar tr,
	.event-calendar td,
	.event-calendar th,
	.event-calendar tr:hover {
		background: none;
	}

		.event-calendar tr:hover > th {
			background: #e2eaf2;
		}

.event-calendar {
	border: none;
	table-layout: fixed;
}

	.event-calendar th {
		background: #e2eaf2;
		font-weight: 400;
		padding: 18px 20px;
		font-size: 16px;
		border: 2px solid #f2f4f9;
		border-radius: 6px;
		-webkit-border-radius: 6px;
		-moz-border-radius: 6px;
		overflow: hidden;
		text-align: center;
	}

	.event-calendar td {
		border: 2px solid #f2f4f9;
		background: #fafbfd;
		height: 150px;
		vertical-align: top;
		padding: 10px 5px 10px 15px;
		border-radius: 6px;
		-webkit-border-radius: 6px;
		-moz-border-radius: 6px;
		transition: background 0.3s;
		-webkit-transition: background 0.3s;
		-moz-transition: background 0.3s;
	}

		.event-calendar td > span.day {
			font-size: 18px;
			font-weight: 700;
			display: block;
			transition: color 0.3s;
			-webkit-transition: color 0.3s;
			-moz-transition: color 0.3s;
		}

		.event-calendar td.no-events > span.day {
			color: #dee0e5;
		}

		.event-calendar td .events {
			list-style: none;
			margin: 0;
			padding: 0;
			font-size: 13px;
		}

			.event-calendar td .events li {
				border-bottom: 1px solid #ecedf1;
				padding: 5px 0;
				transition: border 0.3s;
				-webkit-transition: border 0.3s;
				-moz-transition: border 0.3s;
				position: relative;
			}

				.event-calendar td .events li:last-child {
					padding-bottom: 0;
					border: none;
				}

		.event-calendar td:hover {
			background: #63b2f5;
		}

			.event-calendar td:hover .events li {
				border-color: #81c7f8;
			}

			.event-calendar td:hover .events > li > a {
				color: #fff;
			}

			.event-calendar td:hover > span.day {
				color: #fff;
			}

		.event-calendar td.not-this-month {
			opacity: 0;
		}

.event-popover {
	position: absolute;
	bottom: 130px;
	background: #fff;
	display: none;
	width: 320px;
	vertical-align: top;
	padding: 15px 10px;
	transition: all 0.4s;
	-webkit-transition: all 0.4s;
	-moz-transition: all 0.4s;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	z-index: 100;
	box-shadow: 0 1px 1px rgba(0,0,0,.1);
	-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.1);
	-moz-box-shadow: 0 1px 1px rgba(0,0,0,.1);
}

.event-calendar td:last-child .event-popover,
.event-calendar td:nth-child(6) .event-popover {
	right: 0;
}

	.event-calendar td:last-child .event-popover:after,
	.event-calendar td:nth-child(6) .event-popover:after {
		left: auto;
		right: 20px;
	}

.csstransforms .event-popover {
	display: block;
	opacity: 0;
	transform: scale(0);
	-webkit-transform: scale(0);
	-moz-transform: scale(0);
	-ms-transform: scale(0);
	-o-transform: scale(0);
}

.event-popover:after {
	content: '';
	display: block;
	width: 15px;
	height: 15px;
	position: absolute;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-top: 8px solid #fff;
	bottom: -15px;
	left: 20px;
}

.event-popover h6 {
	margin: 5px 0 10px;
}

.event-popover .event-meta {
	list-style: none;
	margin: 0;
	padding: 0;
	margin-bottom: 10px;
}

.event-popover img.align-left {
	margin-bottom: 10px;
}

.event-popover .event-meta li {
	border: none !important;
	padding: 0 !important;
	color: #95999e;
	font-size: 13px;
}

.event-popover p {
	font-size: 13px;
	line-height: 22px;
}

.event-calendar td .events li:hover .event-popover {
	display: block;
	bottom: 120%;
	opacity: 1;
	transform: scale(1);
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	-o-transform: scale(1);
}


.event-single {
	margin-bottom: 30px;
}

.event-meta {
	overflow: hidden;
}

.event-meta-block {
	background: #e2eaf2;
	display: block;
	padding: 18px 13px 18px 13px;
	height: 75px;
	padding-left: 50px;
	position: relative;
}

	.event-meta-block p {
		font-size: 15px;
		white-space: nowrap;
	}

	.event-meta-block > .icons {
		position: absolute;
		top: 17px;
		left: 10px;
		color: #c6d0dc;
		font-size: 24px;
	}

	.event-meta-block .social-share li a {
		color: #808ca4;
	}

	.event-meta-block:first-child {
		border-radius: 3px 3px 0 0;
		-webkit-border-radius: 3px 3px 0 0;
		-moz-border-radius: 3px 3px 0 0;
	}

	.event-meta-block:last-child {
		border-radius: 0 0 3px 3px;
		-webkit-border-radius: 0 0 3px 3px;
		-moz-border-radius: 0 0 3px 3px;
	}

	.event-meta-block + .event-meta-block {
		margin-top: 1px;
	}

	.event-meta-block p {
		margin: 0;
	}

		.event-meta-block p.title {
			color: #95999e;
			font-size: 13px;
			line-height: 16px;
		}

.event-meta.horizontal + .event-image {
	margin-top: 10px;
}

.event-image + .event-meta.horizontal {
	margin-top: 5px;
}

.horizontal .event-meta-block {
	margin: 0;
}

	.horizontal .event-meta-block + .event-meta-block {
		border-left: 1px solid #f2f4f9;
	}

	.horizontal .event-meta-block:first-child {
		border-radius: 3px 0 0 3px;
		-webkit-border-radius: 3px 0 0 3px;
		-moz-border-radius: 3px 0 0 3px;
	}

	.horizontal .event-meta-block:last-child {
		border-radius: 0 3px 3px 0;
		-webkit-border-radius: 0 3px 3px 0;
		-moz-border-radius: 0 3px 3px 0;
	}

.event-pagination {
	margin-bottom: -20px;
	margin-top: -16px;
}

.event-details h6 {
	margin-top: 20px;
}

.event-details .project-details {
	margin-top: -7px;
}


/* Related Events */

.event-info {
	display: table;
	margin-top: 30px;
}

	.event-info > * {
		display: table-cell;
		vertical-align: top;
	}

	.event-info ul {
		list-style: none;
		margin: 0;
		padding: 0;
	}

	.event-info .date > span {
		background: #ebf4fc;
		text-align: center;
		padding: 7px 10px;
		border-radius: 3px;
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		width: 42px;
		display: block;
		transition: color 0.2s, background 0.3s;
		-webkit-transition: color 0.2s, background 0.3s;
		-moz-transition: color 0.2s, background 0.3s;
	}

	.event-info .date .day {
		font-size: 18px;
		font-weight: 700;
		display: block;
		padding: 0;
	}

	.event-info .date .month {
		font-size: 12px;
		font-weight: 400;
		line-height: 16px;
		text-transform: uppercase;
		display: block;
		padding: 0;
	}

	.event-info .event-content {
		padding-left: 15px;
		vertical-align: top;
	}

		.event-info .event-content h6 {
			margin: 0 0 5px;
			font-size: 16px;
			font-weight: 700;
		}

		.event-info .event-content .event-meta {
			color: #95999e;
			line-height: 16px;
			font-size: 13px;
		}

			.event-info .event-content .event-meta .icons {
				font-size: 10px;
				margin-right: 2px;
				color: #cbcdd1;
				position: relative;
				top: -1px;
				transition: color 0.3s;
				-webkit-transition: color 0.3s;
				-moz-transition: color 0.3s;
			}

.event-item:hover .date > span {
	background: #63b2f5;
	color: #fff;
}

.event-item:hover h6 a {
	color: #274472;
}

.event-item {
	margin-bottom: 10px;
}

	.event-item .event-image img {
		width: 100%;
	}

	.event-item:hover .event-content .event-meta .icons {
		color: #b1b4b8;
	}

.related-events h3 {
	margin-bottom: 23px;
	margin-top: 0;
}


/* Upcoming Events */
.upcoming-events,
.upcoming-events ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.upcoming-events {
	margin-bottom: -10px;
}

	.upcoming-events > li {
		display: table;
		padding: 0 0 15px;
		border-bottom: 1px solid #eee;
	}

	.upcoming-events.var2 > li {
		border-bottom-color: #dbdae3;
	}

	.upcoming-events > li + li {
		padding-top: 15px;
	}

	.upcoming-events.var2 > li:last-child {
		padding-bottom: 20px;
	}

	.upcoming-events li:last-child {
		border: none;
	}

	.upcoming-events > li > * {
		display: table-cell;
		vertical-align: top;
	}

	.upcoming-events .date > span {
		background: #ebf4fc;
		text-align: center;
		padding: 7px 10px;
		border-radius: 3px;
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		width: 42px;
		display: block;
		transition: color 0.2s, background 0.3s;
		-webkit-transition: color 0.2s, background 0.3s;
		-moz-transition: color 0.2s, background 0.3s;
	}

	.upcoming-events.var2 .date > span {
		background: #fff;
	}

	.upcoming-events .date .day {
		font-size: 18px;
		font-weight: 700;
		display: block;
		padding: 0;
	}

	.upcoming-events .date .month {
		font-size: 12px;
		line-height: 16px;
		font-weight: 400;
		text-transform: uppercase;
		display: block;
		padding: 0;
	}

	.upcoming-events .event-content {
		padding-left: 15px;
		vertical-align: top;
	}

		.upcoming-events .event-content h6 {
			margin: 0 0 4px;
			font-size: 15px;
			font-weight: 400;
		}

	.upcoming-events.var2 .event-content h6 {
		font-size: 18px;
		font-weight: 600;
	}

	.upcoming-events .event-content .event-meta {
		color: #95999e;
		font-size: 13px;
		line-height: 16px;
	}

		.upcoming-events .event-content .event-meta .icons {
			font-size: 10px;
			margin-left: -2px;
			margin-right: 2px;
			color: #cbcdd1;
			position: relative;
			top: -1px;
			transition: color 0.3s;
			-webkit-transition: color 0.3s;
			-moz-transition: color 0.3s;
		}

	.upcoming-events > li:hover .date > span {
		background: #63b2f5;
		color: #fff;
	}

	.upcoming-events > li:hover h6 a {
		color: #274472;
	}

	.upcoming-events > li:hover .event-content .event-meta .icons {
		color: #b1b4b8;
	}


/* Upcoming Events Inpage */
.upcoming-events-inpage,
.upcoming-events-inpage ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.upcoming-events-inpage {
	margin-bottom: -10px;
}

	.upcoming-events-inpage > li {
		display: table;
		padding: 0 0 15px;
		border-bottom: 1px solid #eee;
	}

	.upcoming-events-inpage.var2 > li {
		border-bottom-color: #dbdae3;
	}

	.upcoming-events-inpage > li + li {
		padding-top: 15px;
	}

	.upcoming-events.var2 > li:last-child {
		padding-bottom: 20px;
	}

.upcoming-events-inpage li:last-child {
	border: none;
}

.upcoming-events-inpage > li > * {
	display: table-cell;
	vertical-align: top;
}

.upcoming-events-inpage .date > span {
	background: #2a3794;
	text-align: center;
	padding: 7px 10px;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	width: 60px;
	display: block;
	transition: color 0.2s, background 0.3s;
	-webkit-transition: color 0.2s, background 0.3s;
	-moz-transition: color 0.2s, background 0.3s;
}

.upcoming-events-inpage.var2 .date > span {
	background: #fff;
}

.upcoming-events-inpage .date .day {
	font-size: 22px;
	font-weight: 700;
	display: block;
	padding: 0;
	color: #fff;
}

.upcoming-events-inpage .date .month {
	font-size: 16px;
	line-height: 16px;
	font-weight: 400;
	text-transform: uppercase;
	display: block;
	padding: 0;
	color: #fff;
}

.upcoming-events-inpage .event-content {
	padding-left: 15px;
	vertical-align: top;
}

	.upcoming-events-inpage .event-content h6 {
		margin: 10px 0 4px;
		font-size: 22px;
		font-weight: 400;
	}

.upcoming-events-inpage.var2 .event-content h6 {
	font-size: 18px;
	font-weight: 600;
}

.upcoming-events-inpage .event-content .event-meta {
	color: #95999e;
	font-size: 13px;
	line-height: 16px;
}

	.upcoming-events-inpage .event-content .event-meta .icons {
		font-size: 10px;
		margin-left: -2px;
		margin-right: 2px;
		color: #cbcdd1;
		position: relative;
		top: -1px;
		transition: color 0.3s;
		-webkit-transition: color 0.3s;
		-moz-transition: color 0.3s;
	}

.upcoming-events-inpage > li:hover .date > span {
	background: #63b2f5;
	color: #fff;
}

.upcoming-events-inpage > li:hover h6 a {
	color: #274472;
}

.upcoming-events-inpage > li:hover .event-content .event-meta .icons {
	color: #b1b4b8;
}


/* Calendar */

.responsive-calendar {
	margin: 0 -20px -20px;
}

	.responsive-calendar .controls {
		background: #e2eaf2;
		padding: 10px 15px;
	}

		.responsive-calendar .controls .icons {
			color: #808ca4;
		}

		.responsive-calendar .controls span {
			font-size: 15px;
			color: #3e474c;
			font-weight: 400;
		}

	.responsive-calendar .day.header {
		background: #eef2f7;
		border: none;
		padding: 5px 0;
	}

	.responsive-calendar .day.not-current a {
		opacity: 0;
		visibility: hidden;
	}

	.responsive-calendar .day {
		border-bottom: 1px solid #ecedf1;
		padding: 2px;
	}

		.responsive-calendar .day .badge {
			display: none;
		}

		.responsive-calendar .day.calendar-event a {
			color: #4174c5;
		}

		.responsive-calendar .day a {
			transition: background 0.3s, color 0.3s;
			-webkit-transition: background 0.3s, color 0.3s;
			-moz-transition: background 0.3s, color 0.3s;
			border-radius: 3px;
			-webkit-border-radius: 3px;
			-moz-border-radius: 3px;
			color: #95999e;
		}

			.responsive-calendar .day.today a,
			.responsive-calendar .day a:hover {
				background: #e2eaf2;
				color: #4e575c;
			}

/*#endregion Events - Desktop*/

/*----------------------------*/

/*#region Events - Mobile*/

@media(min-width:768px) and (max-width:991px) {
	/* Events */

	.event-calendar th {
		padding: 10px;
		font-size: 14px;
	}

	.event-meta-block {
		height: auto;
	}

		.event-meta-block p {
			font-size: 13px;
			white-space: normal;
			line-height: 16px;
		}

	.event-meta.horizontal .event-meta-block {
		margin-bottom: 1px;
	}
}

@media(max-width:767px) {

	/* Calendar */

	.events-calendar,
	.events-calendar tbody,
	.events-calendar tr,
	.events-calendar td {
		display: block;
	}

		.events-calendar th,
		.event-calendar .calendar-days,
		.events-calendar .not-this-month {
			display: none;
		}

	.event-calendar td {
		height: auto;
		min-height: 150px;
	}

	.calendar-header .align-right {
		text-align: left;
	}

	.calendar-header .filter-dropdown {
		margin-top: 20px;
	}

	.event-popover {
		width: auto;
	}

	/* Events */

	.event-meta.horizontal .event-meta-block + .event-meta-block {
		margin-top: 1px;
	}

	.event-pagination > div {
		text-align: left;
	}

		.event-pagination > div + div {
			margin-top: 10px;
		}

	.event-item {
		margin-bottom: 30px;
	}
	
}

	/*#endregion Events - Mobile*/

	/*#region Events */


