.blockgrid	{
	font-family: Montserrat;
	font-size:20px;
	font-weight:bold;
	text-transform: capitalize;
	width:100%;
	background-color: #FFFFFF;
	height: 66px;
	margin-top: 10px;
	overflow: hidden;
}

.selectfiltro	{
	width: 170px;
    height: 66px;	
	background-color: #1b9ed9;
}
#ep_main	{
	clear: left;
	font-family: Montserrat;
	font-size:18px;
	font-weight:bold;
	text-transform: uppercase;	
	background-color: #1b9ed9;
	width: 140px;
	float: left;
	cursor: pointer;
	color: #FFFFFF;
	margin-top: 0;
	border:0;
	padding:3px 10px 5px 5px;
	white-space: nowrap;
}
select#ep_main	{
	background: url(../images/arrow.png) no-repeat right;
	background-size: 14px 12px;
	background-position-x: 99%;	
	background-color: #1b9ed9;
    padding:5px;
    margin: 0;
}
.txtfiltra	{
	font-family: Montserrat;
	font-size:12px;
	font-weight:bold;
	float: left;
	background-color: #1b9ed9;
	color: #333;
	margin-top: 0;
	border:0;
	padding:10px 10px 2px 10px;
   /* height: 66px;*/
}

.triangleTopLeft{
	float: left;
    position: absolute;
    width: 0;
    height: 0;
    border-left: 25px solid #1b9ed9;
    border-bottom: 66px solid white;
    overflow: hidden;
    margin-left: 170px;
}

.triangleBottompLeft{
	float: left;
    position: absolute;
    width: 0;
    height: 0;
    border-right: 25px solid white;
    border-bottom: 66px solid #1b9ed9;
    overflow: hidden;
    margin-left: 1000px;
}
/*
@-moz-document url-prefix() {
   select{width:20%; -moz-appearance:none;	background-color:#FFFFFF;
	color: #000;
	}
}
*/
li.four-column {
	height:370px;	
}
li.four-column a,
li.four-column a:hover {
	text-decoration:none !important;
	color: #545454;
}
.bottomgrid	{
	font-family: Montserrat;
	font-size:16px;
	font-weight:bold;
	width:100%;
	background-color: #FFF;
	color: #1b9ed9;
	height: auto;
	margin-top: 0;
	margin-bottom: 20px;
	text-align: center;	
	padding: 5px;
	float:left;
}
.bottomgrid	a{
	color: #1b9ed9 !important;
	text-transform: uppercase;
	text-decoration: none;
}
.blockinterno{
	float:left;
	height:66px;
	overflow: hidden;
	/*di seguito quelle nuove*/
    margin-top: -66px;
    position: absolute;
    margin-left: 170px;
}
.ep_filter{
	float:left;
	width:1000px;
	height:66px;
	overflow: hidden;
}
.grid_eventype,
.grid_evenmonth {
    width: 780px;
    height: 66px;
    position: absolute;
    display: inline-block;
	float:right;
	overflow: hidden;
}
ul.eventtype,
ul.eventmonth{
    width: 3000px;
    height: 66px;
    overflow: hidden;
    position: absolute;
    display: inline-block;
	white-space: nowrap;
	float:left;
	margin-left: 20px;
}
.ep_filter .all {
	-webkit-backface-visibility: hidden !important;
	text-align: center;
	float:right;
	overflow: hidden;
	list-style:none;/* non cera*/
	margin-top: 0;	
/*	margin-right:12px; /* non cera*/
	margin-left:12px;
	width:180px;
	min-width: 100px;
	height:66px;
	display:inline-block;
	transform: skew(0deg);
	-ms-transform: skew(0deg); /* IE 9 */
	-webkit-transform: skew(0deg); /* Safari e Chrome */
}
.ep_filter li {
	-webkit-backface-visibility: hidden !important;
	text-align: center;
	float:left;
	overflow: hidden;
	list-style:none;/* non cera*/
	margin-top: 0;	
	margin-right:0%; /* non cera*/
	width:250px;
	min-width: 100px;
	height:66px;
	display:inline-block;
	transform: skew(-20deg);
	-ms-transform: skew(-20deg); /* IE 9 */
	-webkit-transform: skew(-20deg); /* Safari e Chrome */
}
.ep_filter a {
	position:relative;
	color:#000;
	padding:15px 15px 15px 0px;
	display:block;
	text-decoration:none;
	transform: skew(20deg);
	-ms-transform: skew(20deg); /* IE 9 */
	-webkit-transform: skew(20deg); /* Safari e Chrome */
}
.ep_filter .all a {
	position:relative;
	color:#000;
	padding:15px 15px 15px 0px;
	display:block;
	text-decoration:none;
	transform: skew(0deg);
	-ms-transform: skew(0deg); /* IE 9 */
	-webkit-transform: skew(0deg); /* Safari e Chrome */
}
#arrow_month_prev,
#arrow_types_prev	{
	float: left; 
		margin-left:12px;
	position:absolute;
	width: 45px;
	height: 66px;
	color:#1b9ed9 !important;
	background-color:#FFF;
	transform: skew(-20deg);
	-ms-transform: skew(-20deg); /* IE 9 */
	-webkit-transform: skew(-20deg); /* Safari e Chrome */
	z-index:999;
}
#arrow_month_next,
#arrow_types_next	{
	float: right; 
	width: 45px;
	height: 66px;
	color:#1b9ed9  !important;
	background-color:#FFF;
	transform: skew(-20deg);
	-ms-transform: skew(-20deg); /* IE 9 */
	-webkit-transform: skew(-20deg); /* Safari e Chrome */
	z-index:999;
}
#arrow_month_prev a:visited,
#arrow_month_prev a:visited,
#arrow_types_prev a:visited,
#arrow_types_next a:visited{
	text-decoration:none;
}
.arrowsx	{
	padding-left: 15px;
	padding-right
    transform: skew(20deg);
    -ms-transform: skew(20deg);
    -webkit-transform: skew(20deg);
}
.arrowgrid a span {
	transform: skew(20deg);
	-ms-transform: skew(20deg); /* IE 9 */
	-webkit-transform: skew(20deg); /* Safari e Chrome */
}
.ep_filter a:hover, 
.eventtype a:hover, 
.eventmonth a:hover, 
.current a{
	color:#FFF !important;
}
.ep_filter .all:hover,
.ep_filter .current,
.ep_filter li:hover,
ul li.current{
	-webkit-backface-visibility: hidden;
	overflow: hidden;
	background:#1b9ed9;
}
.ep_group:after {
	visibility:hidden;
	display:block;
	content:"";
	clear:both;
	height:0
}
.ep_filter .current,
ul li.current{
	pointer-events: none;
}
.blockitemcat	{
	display: flex;
}
.item_cat	{
	font-size: 10px;
	text-transform: uppercase;
	color: #FFF;
/*	float: left;*/
	margin-top: -38px;
	margin-left: 15px;
	padding: 10px;
	max-width: 200px;
	max-height: 50px;
	border-radius: 10px 10px 0 0;
/*	position: relative;*/
}

.item_title {
	text-decoration:none;
	font-weight: bold;
	font-size: 16px;
	line-height: 20px;
	display: block;
	padding: 8px 8px 2px 8px;
}
.item_subtitle {
	text-decoration:none;
	font-size: 12px;
	display: block;
	padding: 5px 8px;	
	line-height: 16px;
	max-height: 100px;
	overflow:hidden;
}

.item_data {
	text-decoration:none;
	font-size: 12px;
	display: block;
	padding: 5px 8px 2px;	
}
.ep_portfolio {
	height: 760px;
    overflow: hidden;
}
.ep_portfolio li	{
/*	display: none;*/
	margin-top:10px;
/*	margin-bottom:10px;*/
}
.ep_portfolio li a:hover	{
	color:#000;
}
.ep_portfoliourl	{
	background:#FFF;
	height: 150px;
}
.portfolio_img.wp-post-image {
	background-color:#FFF;
    height: 210px;
}
.paginationgridevents a[disabled="disabled"] {
	pointer-events: none;
	color: #7d7e7e;
}
.paginationgridevents	{
	margin-top:10px;
	margin-bottom:10px;
}
.loadevents	{
    margin: 5px;
    padding: 5px;
    width: 40px;
    height: 30px;
}
.loadevents a{	
	padding: 5px;
	margin: 5px;
}
@media only screen and (max-width: 1300px) {
	.blockgrid	{
		font-size:16px;
	}
	#ep_main	{
		font-size:16px;
		width: 120px;
	}
	.ep_filter{
		width:800px;
	}
	.grid_eventype,
	.grid_evenmonth {
		width: 660px;
	}
	.ep_filter .all {
		width:140px;
	}
	.ep_filter li {
		width:200px;
	}
}
@media only screen and (max-width: 1023px) {
	.selectfiltro	{
		width:120px;
	}
	.blockgrid	{
		font-size:14px;
		height: 60px;
	}
	#ep_main	{
		font-size:14px;
		height: 30px;
	}
	.triangleTopLeft{
		margin-left: 120px;
		border-left:22px solid #1b9ed9;
		border-bottom:60px solid white;
	}
	.blockinterno {
		margin-left: 124px;
	}
	.ep_filter{
		width:586px;
	}
	.grid_eventype,
	.grid_evenmonth {
		width: 485px;
		height: 60px;
	}
	ul.eventtype,
	ul.eventmonth{
		height: 60px;
		margin-left:30px;
	}
	.ep_filter .all {
		width:100px;
		height:60px;
	}
	.ep_filter li {
		width:150px;
	}
	.arrowsx {
		padding-left:6px;
	}
	#arrow_month_prev,
	#arrow_types_prev	{
		width: 30px;
		height: 60px;
	}
	#arrow_month_next,
	#arrow_types_next	{
		width: 18px;
		height: 60px;
	}
}
@media only screen and (max-width: 767px) {
	.blockgrid	{
		font-family: Montserrat;
		font-size:12px;
		height: 50px;
	}
	.txtfiltra {
		font-size: 10px;
		height: 25px;
	}	
	#ep_main	{
		font-family: Montserrat;
		font-size:12px;
		width: auto;
		height: 25px;
		padding: 15px 5px;
	}
	#ep_main option{
		font-family: Montserrat;
		font-size:12px;
		width: auto;
		height: auto;
	}
	.triangleTopLeft{
		float:left;
		width:0; 
		height:0; 
		border-left:none;
		border-bottom:none;
	}
	.blockinterno{
		height:50px;
	}
	.ep_filter{
		width:476px;
		height:50px;
	}
	.grid_eventype,
	.grid_evenmonth {
		width: 380px;
		height: 50px;
	}
	ul.eventtype,
	ul.eventmonth{
		width: 3000px;
		height: 50px;
		overflow: hidden;
		position: absolute;
		display: inline-block;
		white-space: nowrap;
		float:left;
		margin-left: 20px;
	}
	.ep_filter .all {
		-webkit-backface-visibility: none !important;
		margin-left:0;
		width:auto;
		height:50px;
		transform: skew(0deg);
		-ms-transform: skew(0deg); /* IE 9 */
		-webkit-transform: skew(0deg); /* Safari e Chrome */
	}
	.ep_filter li {
		-webkit-backface-visibility:none;
		margin-left:7px; /* non cera*/
		margin-right:-7px;
		width:auto;
		height:50px;
		transform:skew(0deg);
		-ms-transform:skew(0deg); /* IE 9 */
		-webkit-transform:skew(0deg); /* Safari e Chrome */
	}
	.ep_filter a,
	.ep_filter .all a {
		position:relative;
		color:#000;
		padding:15px 10px;
		display:block;
		text-decoration:none;
		transform: skew(0deg);
		-ms-transform: skew(0deg); /* IE 9 */
		-webkit-transform: skew(0deg); /* Safari e Chrome */
	}
	#arrow_month_prev,
	#arrow_types_prev,
	#arrow_month_next,
	#arrow_types_next	{
		width: auto;
		height: 50px;
		transform: skew(0deg);
		-ms-transform: skew(0deg);
		-webkit-transform: skew(0deg);
		font-size: 18px;
		padding-top: 7px;
	}
	#arrow_month_prev,
	#arrow_types_prev	{
		margin-left:-10px;
	}
	.arrowsx  {
		transform: skew(0deg);
		-ms-transform: skew(0deg);
		-webkit-transform: skew(0deg);
		width:20px;
	}
	.ep_filter .all:hover,
	.ep_filter .current,
	.ep_filter li:hover,
	ul li.current{
		-webkit-backface-visibility: none;
		overflow: hidden;
		background:#1b9ed9;
	}
}
@media only screen and (max-width: 478px) {
	.blockgrid	{
		font-family: Montserrat;
		font-size:16px;
		height: 140px;
	}
	.blockinterno{
		height:100px;
		margin-top:0px;
		margin-left:0px;
		clear:left;
	}
	.selectfiltro{
		width:100%;
		height:40px;
		font-size:16px;
		display: block;
	}
	.txtfiltra {
		height: 40px;
		font-size:16px;
		padding: 5px;
	}	
	#ep_main	{
		clear: none;
		font-family: Montserrat;
		font-size:16px;
		width: auto;
		height: 40px;
		padding: 5px;
	}
	#ep_main option{
		font-family: Montserrat;
		font-size:12px;
		width: auto;
		height: auto;
	}
	.triangleTopLeft{
		float:left;
		width:0; 
		height:0; 
		border-left:none;
		border-bottom:none;
	}
	.ep_filter{
		width:300px;
		height:100px;
	}
	.grid_eventype,
	.grid_evenmonth {
		width: 300px;
		height: 50px;
	}
	ul.eventtype,
	ul.eventmonth{
		width: 3000px;
		height: 50px;
		overflow: hidden;
		position: absolute;
		display: inline-block;
		white-space: nowrap;
		float:left;
		margin-left: 20px;
	}
	.ep_filter .all {
		-webkit-backface-visibility: none !important;
		margin-left:0;
		width:100%;
		height:50px;
		margin-top:50px;
		transform: skew(0deg);
		-ms-transform: skew(0deg); /* IE 9 */
		-webkit-transform: skew(0deg); /* Safari e Chrome */
	}
	.ep_filter li {
		-webkit-backface-visibility:none;
		margin-left:7px; /* non cera*/
		margin-right:-7px;
		width:auto;
		height:50px;
		transform:skew(0deg);
		-ms-transform:skew(0deg); /* IE 9 */
		-webkit-transform:skew(0deg); /* Safari e Chrome */
	}
	.ep_filter a,
	.ep_filter .all a {
		position:relative;
		margin-top:auto;
		color:#000;
		padding:15px 10px;
		display:block;
		text-decoration:none;
		transform: skew(0deg);
		-ms-transform: skew(0deg); /* IE 9 */
		-webkit-transform: skew(0deg); /* Safari e Chrome */
	}
	#arrow_month_prev,
	#arrow_types_prev,
	#arrow_month_next,
	#arrow_types_next	{
		width: auto;
		height: 50px;
		transform: skew(0deg);
		-ms-transform: skew(0deg);
		-webkit-transform: skew(0deg);
		font-size: 18px;
		padding-top: 7px;
	}
	#arrow_month_prev,
	#arrow_types_prev	{
		margin-left:-10px;
	}
	.arrowsx  {
		transform: skew(0deg);
		-ms-transform: skew(0deg);
		-webkit-transform: skew(0deg);
		width:20px;
	}
	.ep_filter .all:hover,
	.ep_filter .current,
	.ep_filter li:hover,
	ul li.current{
		-webkit-backface-visibility: none;
		overflow: hidden;
		background:#1b9ed9;
	}
}
