/* repeatable patterns */

.event-date {
	float: left;
	text-align: right;
	color: #85be4b;
	font-family: "Lato", sans-serif;
	font-size: .8em;
	font-weight: 400;
	padding-right: 15px;
	max-width: 100px;
}

.event-day {
	font-size: 4.5em;
	line-height: .8em;
	font-weight: 800;
	margin: 0;
	padding: 0;
}

.event-month {
	font-size: 1.2em;
	line-height: 1em;
	font-weight: 800;
	margin: 0;
	padding: 0;
}

.to-date {
	margin: .5em 0 0;
}

.to-time {
	line-height: .8em;;
}

h2.event-title,
h3.event-title {
	font-family: 'Archivo Narrow', sans-serif;
	font-weight: 400;
	margin: 0;
}

.event h4 {
	font-weight: 400;
	font-size: 1em;
	margin: 0;
	padding: 0;
	text-transform: none;
}

.event h5 {
	font-weight: 300;
	font-size: 1em;
	margin: 0;
	padding: 0;
	text-transform: none;
}

/* shortcode styles */

.shortcode.events h2 {
	position: relative;
	float: left;
	color: #606060;
	font-family: "Lato", sans-serif;
	text-transform: uppercase;
	font-weight: 400;
	font-size: 1.55em;
	margin: 0 0 30px 0;
	width: 65.74585635359117%;
	*width: 65.69266486422946%;
}

.shortcode.events h2::before {
	display: inline-block;
	width: 48px;
	height: 48px;
	text-align: center;
	font-family: Flaticon;
	line-height: 48px;
	background-color: #606060;
	color: #fff;
	margin-right: 20px;
	content: "\e003";
	font-size: 2.6rem;
}

.shortcode.events h2::after {
	content:"";
	position: absolute;
	top: 48px;
	left: 26px;
	width: 0; 
	height: 0; 
	border-left: 12px solid transparent;
	border-top: 12px solid #606060;
}

.content-area a.events-more {
	float: right;
	width: 31.914893617021278%;
	*width: 31.861702127659576%;
}

.shortcode .events-row {
    width: 102.127659574468085%;
	margin-left: -2.127659574468085%;
	*zoom: 1;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	overflow: hidden;
}

.shortcode .events-row {
    margin-bottom: 30px;
}

.shortcode .events-row:last-child {
    margin-bottom: 0;
}

.shortcode .events-row::before, .events-row::after {
    display: table;
	content: "";
	line-height: 0;
}

.shortcode .events-row::after {
    clear: both;
}

.shortcode .event {
	display: block;
	min-height: 30px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	float: left;
	margin-left: 2.127659574468085%;
	*margin-left: 2.074468085106383%;
	padding-left: 2.127659574468085%;
	*padding-left: 2.074468085106383%;
	position: initial;
	margin-bottom: -99999px;
    padding-bottom: 99999px;
	border-left: 1px solid #9c9c9c;
}

.shortcode .event.span6 {
	width: 48.717948717948715%;
	*width: 48.664757228587014%
}

.shortcode .event.span5 {
	width: 40.17094017094017%;
	*width: 40.11774868157847%
}

.shortcode .event.span4 {
	width: 31.623931623931625%;
	*width: 31.570740134569924%
}

.shortcode .event.span3 {
	width: 23.076923076923077%;
	*width: 23.023731587561375%
}

.shortcode .event.span2 {
	width: 14.52991452991453%;
	*width: 14.476723040552828%
}

.shortcode .event.span1 {
	width: 5.982905982905983%;
	*width: 5.929714493544281%
}

.shortcode .event:first-child {
	margin-left: 0;
	border-left: 0;
}

.shortcode .event-infos {
	float: left;
	width: 140px;
	width: calc( 100% - 100px );
	font-size: .9em;
}

.shortcode h3.event-title {
	font-size: 1.5em;
	line-height: 1em;
	padding: 0 0 .35em 0;
}

/* widget styles */

.events .widget-content  {
	padding-top: 1em;
	padding-bottom: 1em;
}

.widget-content .event+ .event  {
	border-top: 1px solid #c8c8c8;
	padding-top: 1em;
	margin-top: 1em;
}

.widget-content .event-infos {
	float: left;
	width: 200px;
	font-size: .9em;
}

.widget-content .event-date {
	width: 140px;
}

.widget-content h3.event-title {
	font-size: 1.5em;
	line-height: 1em;
	padding: 0 0 .35em 0;
}

.widget-content .events-more {
	width: 100%;
}

/* archive styles */

.events-archive .events-row {
	margin-bottom: 15px;
}

.events-archive .events-row:last-child {
	margin-top: 0;
}

.events-row-title {
	border-bottom: 1px solid #c8c8c8;
	font-size: 0.65em;
	font-weight: 400;
	height: 1.5em;
	margin: 0;
}

.events-row-title span {
	float: right;
	display: block;
	height: 1.5em;
	background-color: #f8f8f8;
	margin-top: .45em;
	padding-left: .25em;
}

.events-archive .events-row .event {
	width: 100%;
	padding: 0 0 22px 0;
	border-bottom: 1px dashed #ccc;
}

.events-archive .events-row .event:last-child {
	border-bottom: 0;
}

.events-archive .event-date {
	background-color: #f8f8f8;
	margin-top: -1px;
	padding-top: 22px;
}

.events-archive .event-infos {
	float: left;
	width: 80%;
	max-width: 600px;
}

.events-archive h2.event-title,
.events-archive h3.event-title {
	font-size: 2.5em;
	line-height: 1em;
	padding: 22px 0 .1em 0;
}

.events-archive .to-date, .events-archive .to-time, .events-archive .event-more-info {
	display: inline;
}

@media screen and (max-width: 1166px) and (min-width: 980px) {
	.shortcode .event-date {
		float: none;
		text-align: left;
		padding-right: 0;
		max-width: none;
	}
	
	.shortcode .event-infos {
		float: none;
		width: auto;
	}
	
	.shortcode .event-day {
		float: left;
		padding-right: 10px;
		padding-bottom: 10px;
	}

	.shortcode .event-month {
		display: block;
		width: auto;
	}

	.shortcode .to-date {
		display: inline-block;
		margin: 0;
	}
	.widget-content .event-infos {
		max-width: 140px;
	}
}

@media screen and (max-width: 980px) {
	.to-date {
		margin: 0;
	}
	
	.shortcode .event {
		float: none;
		margin-left: 0;
		*margin-left: 0;
		padding-left: 0%;
		*padding-left: 0%;
		margin-bottom: 0;
		margin-top: .5em;
		padding-bottom: 0;
		border-left: 0;
	}
	
	.shortcode .event.span6,
	.shortcode .event.span5,
	.shortcode .event.span4,
	.shortcode .event.span3,
	.shortcode .event.span2,
	.shortcode .event.span1 {
		width: 100%;
		*width: 100%;
	}
	
	.shortcode .events-row .event {
		border-bottom: 1px solid #9c9c9c;
		padding-bottom: 1em;
		margin: 0 0 1em 0
	}
	
	.shortcode .events-row:last-child .event:last-child {
		border-bottom: 0;
		padding-bottom: 0;
		margin-bottom: 0;
	}
	
	.shortcode .events-row {
		width: 100%;
		margin: 0;
	}
	
	.shortcode.events h2 {
		float: none;
		margin-top: 20px;
		width: 100%;
		*width: 100%;
	}
	
	.shortcode .event::after {
		content: "";
		display: table;
		clear: both;
	}
	
	.widget-content .event-date,
	.shortcode .event-date {
		width: 30%;
	}
	
	.widget-content .event-infos,
	.shortcode .event-infos {
		width: 70%;
	}
	
	.shortcode h3.event-title {
		padding-bottom: 0;
	}
}

@media screen and (max-width: 768px) {
	.content-area .events-more.dormans-home-more-btn {
		float: none;
		display: block;
		width: 100%;
		*width: 100%;
	}
}