/**
* Author:   Marco Raponi http://www.rase.ch
* Creation: 2021-02-01
* Current:  2021-02-01
*/


.avc-event-list, .avc-page-event-list, .avc-all-event-list, .avc-trip-list {
	text-align: left;
	width: 100%;
	background-color: #A8A9AD;
}

.avc-last-event-list-details {
	text-align: right;
	font-size: calc(var(--avc-regular-resolution-width)*20/var(--avc-ref-screen));
	font-weight: bold;
	font-family: var(--avc-font2);
	margin-top: auto;
	margin-bottom: auto;
}

.avc-event-icon{
	min-width: calc(var(--avc-regular-resolution-width)*25/var(--avc-ref-screen));
}

.avc-last-event-list-details a {
	color: var(--avc-white);
}

.avc-last-event-itemsbox-header {
	width: 100%;
	background: #A8A9AD;
	padding-left: calc(var(--avc-regular-resolution-width)*var(--avc-default-margin)/var(--avc-ref-screen));
	padding-right: calc(var(--avc-regular-resolution-width)*215/var(--avc-ref-screen));
	padding-top: calc(var(--avc-regular-resolution-width)*50/var(--avc-ref-screen));
}

.avc-all-event-list .avc-last-event-itemsbox-header{
	padding-top: calc(var(--avc-regular-resolution-width)*75/var(--avc-ref-screen));
}

.avc-last-event-clear {
	clear: both;
	border-bottom: 1px solid white;
}

.avc-last-event-itemsbox-footer {
	width: 100%;
	background: #A8A9AD;
	height: calc(var(--avc-regular-resolution-width)*30/var(--avc-ref-screen));
}


.avc-last-event-itemsbox {
	width: 100%;
	height: auto;
	background: #A8A9AD;
	padding-left: calc(var(--avc-regular-resolution-width)*var(--avc-default-margin)/var(--avc-ref-screen));
	padding-right: calc(var(--avc-regular-resolution-width)*215/var(--avc-ref-screen));
}

.avc-last-event-mobile-empty-line{
	display: none;
}

.avc-last-event-itemsbox-mobile {
	width: 100%;
	height: calc(var(--avc-regular-resolution-width)*140/var(--avc-ref-screen));
	background: #A8A9AD;
	padding-left: calc(var(--avc-regular-resolution-width)*var(--avc-default-margin)/var(--avc-ref-screen));
	padding-right: calc(var(--avc-regular-resolution-width)*215/var(--avc-ref-screen));
	display: none;
}


.avc-last-event-itemsbox-inner {
	width: 80% !important;
	margin: auto;
}

.avc-last-event-item {						
	border-bottom: 1px solid var(--avc-white);
	padding-top: calc(var(--avc-regular-resolution-width)*15/var(--avc-ref-screen));
	padding-bottom: calc(var(--avc-regular-resolution-width)*15/var(--avc-ref-screen));
	display: table;
	width: 100%;
}

.avc-last-event-header {
	color: white;
	font-size: calc(var(--avc-regular-resolution-width)*35/var(--avc-ref-screen));
	font-family: var(--avc-font2);
	float: left;
}


.avc-last-event-item .avc-last-event-title {
	color: white;
	font-weight: bold;
	font-size: calc(var(--avc-regular-resolution-width)*25/var(--avc-ref-screen));
}

.avc-last-event-item .avc-last-event-title a {
	color: white;
}


.avc-last-event-info {
	color: white;
	font-weight: normal;
	font-size: calc(var(--avc-regular-resolution-width)*25/var(--avc-ref-screen));
	margin-top: auto;
	margin-bottom: auto;
}

.avc-last-event-text {
	padding-left: calc(var(--avc-regular-resolution-width)*30/var(--avc-ref-screen));
}

.avc-last-event-info-mobile{
	color: white;
	font-weight: normal;
	font-size: 18px;
	display: none;
	margin-left: 0px;
	padding: 0;
	margin-top: -15px;
}

.avc-last-event-info-mobile a {
	font-size: 18px;
	color: var(--avc-white);
	text-align: right;
}
.avc-last-event-details-mobile:hover{
	color: var(--avc-red);
}

.avc-last-event-street {
	font-weight: normal; 
	padding-left: calc(var(--avc-regular-resolution-width)*26/var(--avc-ref-screen));
}

.avc-last-event-mobile, .avc-last-event-info-mobile, .avc-last-event-list-details-mobile {
	display: none;
}

@media only screen and (max-width: 991.98px) {
	.avc-last-event-header {
		font-size: 23px;
		margin-left: 0%;
		width: 190px;
		padding: 0;
		padding-left: 5px;
		margin-top: -2px;
		line-height: 1.3;
	}

	.avc-last-trip-header {
		width: 350px !important;
	}

	.avc-last-event-itemsbox-header .avc-default-button {
		width: 144px;
		margin-right: 5px !important;
		height: auto;
		padding-top: 3px;
		padding-bottom: 3px;
	}

	.avc-last-event-itemsbox-header .avc-default-button a {
		font-size: 15px;
		padding-left: 5px;
		padding-right: 5px;
	}

	.avc-last-event-itemsbox-header {
		padding-top: 50px;
		padding-bottom: 40px;
	}

	.avc-last-event-mobile-empty-line{
		display: block;
	}

	.avc-last-event-itemsbox-mobile{
		display: table;
		max-width: 350px;
		height: 310px;
		background: #A8A9AD;
		padding-left: 7px;
		padding-right: 7px;
		padding-top: 15px;
		margin-bottom: 0px;
		border-bottom: 1px solid white;
		margin-left: auto;
		margin-right: auto;
		padding-bottom: 15px;
	}

	.avc-event-icon{
		min-width: 19px;
	}
	
	.avc-last-event-text {
		padding-left: 28px;
		margin-left: -5px;
		margin-right: 14px;
	}	

	.avc-all-event-list .avc-last-event-itemsbox-header{
		padding-top: 26px;
	}	

	.avc-last-event-itemsbox-footer {
		height: 40px;
		max-width: 350px;
		margin-left: auto;
		margin-right: auto;
	}
	
	.avc-last-event-itemsbox-header {
		padding-top: 30px;
		margin-left: auto;
		margin-right: auto;
		max-width: 350px;
		padding-left: 0px;
		padding-right: 0px;
		margin-bottom: -43px;
	}

	.avc-last-event-mobile{
		display: block;
		margin-left: auto;
		margin-right: auto;
		max-width: 350px;
		padding: 0px;
	}

	.avc-last-event-info, .avc-last-event-list-details, .avc-last-event-itemsbox {
		display: none;
	}

	.avc-last-event-item {
		padding: 0px;
		margin: 0px;
		height: 0px;
		border: none;
	}

	.avc-last-event-mobile, .avc-last-event-info-mobile, .avc-last-event-list-details-mobile {
		display: table;
		margin-top: auto;
		margin-bottom: auto;
	}

	.avc-last-event-info-mobile, .avc-last-event-list-details-mobile {
		display: block;
	}


	.avc-last-event-mobile {
		padding-left: 0px;
		margin-left: 18px;
	}

	.avc-last-event-item .avc-last-event-title {
		font-size: 18px;
		margin-top: 0px;
		padding-top: 0px;
	}

	.avc-last-event-clear {
		border-bottom: none;
	}

	.avc-last-event-info {
		font-size: 18px;
		margin-bottom: 5px;
	}

	.avc-last-event-list-details-mobile {
		padding-right: 12px;
		font-weight: bold;
		font-family: var(--avc-font2);
		font-size: 18px;
		color: var(--avc-white);
		width: 345px;
	}

	.avc-last-event-list-details-mobile a{
		color: var(--avc-white);
		float: right;
	}

}