/* generic */

div[data-lastpass-icon-root] {
	display: none !important;
	opacity: 0 !important;
}

.wpcf7-form .wpcf7-list-item {
	margin-left: 0;
	line-height: 1.1;
}

form.wpcf7-form .wpcf7-not-valid-tip {
	padding: 8px 0 0 0;
	box-shadow: none;
	line-height: 1.1;
	background: transparent;
	color: #dc3232;
	font-size: 95%;
}


.wpcf7 form .wpcf7-response-output {
	text-align: center;
	border-width: 0 !important;
	background-color: transparent;
	line-height: 1.5;
}

.wpcf7 form.invalid .wpcf7-response-output, 
.wpcf7 form.unaccepted .wpcf7-response-output, 
.wpcf7 form.payment-required .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
	color: #dc3232 !important;
	font-weight: 600;
}

.wpcf7 form.sent .wpcf7-response-output {
	color: #219c03 !important;
	font-weight: 600;
}

.container-wrap {
	min-height: 40vh !important;
}

/* project */

small {
	font-size: 70%;
	line-height: 1;
}

h1 small {
	
}

body .iwt-text a {
	color: inherit;
	text-decoration: underline;
}

.cta-base, .cta-base a, .cta-base span.text {
	font-weight: 700;
}

.cta-base_icon:hover a {
	text-decoration: underline;
}

.cta-base_icon .fa {
	font-size: 125% !important;
	margin-right: 7px !important;
	line-height: 1.2 !important;
}

/*
.wpb_row.main-video {
	max-height: 2000px;
}
*/

@media only screen and (max-width: 999px) {
	.wpb_row.main-video  .nectar-video-wrap video {
		object-position: center -100px;
	}
}

.list-with-icons .iwithtext {
	display: flex;
	width: 100%;
	align-items: center;
	margin-bottom: 15px !important;
}

.list-with-icons .iwithtext .iwt-icon,
.list-with-icons .iwithtext .iwt-text {
	position: relative;
}

.list-with-icons .iwithtext .iwt-icon {
	flex-grow: 0;
	flex-shrink: 0;
	width: 55px;
	padding-right: 15px;
}

.list-with-icons.list-with-icons_big .iwithtext .iwt-icon {
	width: 70px;
	padding-right: 20px;
}

.list-with-icons .iwithtext .iwt-icon img {
	width: 40px !important;
	margin-bottom: 0 !important;
	display: block !important;
}

.list-with-icons.list-with-icons_big .iwithtext .iwt-icon img {
	width: 50px !important;
}

.list-with-icons .iwithtext .iwt-text {
	flex-grow: 1;
	padding-left: 0;
	padding-right: 15px !important;
}

@media only screen and (min-width: 1000px) {
	.list-with-icons .iwithtext {
		margin-bottom: 25px !important;
		max-width: 90%;
	}
	
	.list-with-icons.list-with-icons_big .iwithtext {
		margin-bottom: 35px !important;
		max-width: 93%;
	}
	
	.list-with-icons .iwithtext .iwt-text {
		font-size: 90%;
		line-height: 1.3;
	}
	
	.warning-icon .iwt-text,
	.warning-icon .iwithtext,
	.warning-icon .iwithtext .iwt-text {
		max-width: none !important;
	}
}

@media only screen and (max-width: 999px) {
	.remove-br-mobile br {
		display: none !important;	
	}
}

.align-center {
	margin-left: auto !important;
	margin-right: auto !important;
}


.row-100p-height, .row-100p-height > .row_col_wrap_12_inner {
	height: 100%;
}

@media only screen and (max-width: 999px) {
	body .wpb_column.force-tablet-text-align-left .vc_custom_heading {
		text-align: left !important;
	}
}

/*
.max-width-container_linee {
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto;
}
*/

.h1-small,
h1 small.h1-small {
	padding-top: 3px;
	font-weight: 500; 
	display: block; 
	line-height: 1.3;
}

.footer-link-with-icon.nectar-cta.has-icon .link_wrap i {
	min-width: 32px;
	font-size: 26px;
}

.footer-policies a {
	color: inherit;
	text-decoration: none;
}

.footer-logos .img-with-aniamtion-wrap {
	float: left;
}

.footer-logos .img-with-aniamtion-wrap img {
	max-height: 40px;
}

@media only screen and (max-width: 678px) {
	.footer-logos .img-with-aniamtion-wrap img {
		max-height: 30px;
	}
}

.linea-box-shadow {
	box-shadow: 0 5px 10px 0px rgb(0 0 0 / 15%)
}

body.material .nectar-button.has-icon.arrow-down-button:not([class*=see-through]) i:before {
	transform: rotate(90deg);
	display: inline-block;
}

body:not(.woocommerce-cart) .main-content td {
	padding-top: 5px;
	padding-bottom: 5px;
	font-size: 15px;
	color: inherit;
}

@media only screen and (max-width: 999px) {
	body:not(.woocommerce-cart) .main-content td {
		font-size: 13px;
	}
}

.show-print-only {
	display: none !important;
}


.wpcf7-form .wpcf7-acceptance label span,
.wpcf7-form .wpcf7-acceptance label span a {
	color: inherit;
} 

.wpcf7-form .wpcf7-acceptance label a {
	text-decoration: underline;
} 
 
.wpcf7-form label .actual-label {
	padding-bottom: 8px;
}


.contact-form-container form {
	max-width: 800px;
	margin: 0 auto;
}


.form-submit {
	text-align: center;
	padding-top: 30px;
}

.form-submit > span {
	display: inline-block;
	position: relative;
}

.form-submit > span .wpcf7-spinner {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	margin: 0;
	padding: 0;
}


.nectar-post-grid-item[data-has-img="false"] .nectar-post-grid-item-bg-wrap {
	width: 0px !important;
}

.nectar-post-grid-wrap[data-style="content_next_to_image"] .nectar-post-grid-item[data-has-img="false"] .inner {
	gap: 0px !important;
}

/*
.nectar-post-grid-item[data-has-img="false"] span.meta-excerpt, 
.nectar-post-grid-item[data-has-img="false"] .post-heading span {
	max-width: none !important;
}
*/

.blog-page-container .nectar-post-grid-item__meta-wrap {
	display: block;
	padding-top: 7px;
}

.blog-page-container .nectar-post-grid-item__meta-wrap .meta-date {
	color: #555555 !important;
	font-style: italic;
	font-size: 90%;
}


@media only screen and (max-width: 768px) {
	.blog-page-container .nectar-post-grid-item span.meta-excerpt, 
	.blog-page-container .nectar-post-grid-item .post-heading span {
		max-width: none !important;
	}
	
	.blog-page-container .nectar-post-grid-item .nectar-post-grid-item-bg-wrap {
		display: none !important;
	}
}

.nectar-social {
	display: none !important;
}




.row-404-canvas canvas.nectar-animated-gradient {
	z-index: 100 !important;
	pointer-events: none !important;
}

.row-404-canvas .nectar-shape-divider-wrap {
	z-index: 101 !important;
}


.row-404-canvas .nectar-shape-divider {
	filter: blur(2px);
}


.menu-item-language.menu-item-language-current > a .menu-title-text .wpml-ls-native {
	display: none;
}

.menu-item-language.menu-item-language-current > ul.sub-menu .menu-title-text .wpml-ls-native {
	text-transform: uppercase;
	font-weight: 600;
	padding: 0 7px;
	white-space: nowrap;
}

.menu-item-language.menu-item-language-current > ul.sub-menu {
	width: auto;
	left: auto !important;
	right: -5px;
}

.menu-item-language.menu-item-language-current > ul.sub-menu .menu-title-text {
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
	margin-left: auto;	
}



.timetable-container {
	overflow: auto;
}

.timetable-container--title {
	margin-bottom: 0px !important;
}

.timetable-container--subtitle {
	font-size: 95%;
	padding-top: 3px;
	margin-bottom: 0 !important;
}


.timetable-container table {
	min-width: 100%;
	max-width: 100%;
	width: auto !important;
	margin: 15px auto 15px auto !important; 
}

.timetable-container table.meno-orari {
	min-width: 80%;
}

.timetable-container td {
	vertical-align: middle;
	line-height: 1.3;
	text-align: center;
}

@media only screen and (min-width: 1000px) {
	
	.timetable-container td.stazione {
		text-align: right;
		padding-right: 30px !important;
		width: 280px;
	}
	
	.timetable-container td:not(.stazione) {
		width: 90px;
	}
}

.timetable-container td.stazione {
	position: relative;
}

/* .timetable-container td.corsa-speciale:not(.arrivo), */
/* .timetable-container  table.tabella-orari-semplice td.partenza */
.timetable-container  table td.orario-highlight{
	font-weight: 600;
}

.timetable-container td.stazione.partenza:after,
.timetable-container td.stazione.partenza:before,
.timetable-container td.stazione.arrivo:after,
.timetable-container td.stazione.arrivo:before,
.timetable-container td.stazione.fermata:after,
.timetable-container td.stazione.fermata:before {
	position: absolute;
	content: '';
	border: 0px solid #2B2B2B;
}

@media only screen and (min-width: 1000px) {
	
	.timetable-container td.stazione.fermata:after {
		right: 10px;
		border-left-width: 1px;
		top: -1px;
		bottom: -1px;
		transform: translateX(50%);
	}
	
	.timetable-container td.stazione.fermata:before {
		border-top-width: 1px;
		width: 10px;
		right: 10px;
		transform: translateX(50%);
		top: 50%;
	}
	
	.timetable-container td.stazione.partenza:after,
	.timetable-container td.stazione.partenza:before {
		top: 25%;
		right: 10px;
		transform: translateX(50%);
	}
	
	.timetable-container td.stazione.partenza:after {
		bottom: -1px;
		border-left-width: 1px;
	}
	
	.timetable-container td.stazione.partenza:before {
		border-top-width: 1px;
		width: 10px;
	}
	
	.timetable-container td.stazione.arrivo:after,
	.timetable-container td.stazione.arrivo:before {
		bottom: 30%;
		right: 10px;
		transform: translateX(50%);
	}
	
	.timetable-container td.stazione.arrivo:after {
		top: -1px;
		border-left-width: 1px;
	}
	
	.timetable-container td.stazione.arrivo:before {
		width: 6px;
		height: 6px;
		transform: translateX(50%) rotate(45deg);
		background: transparent;
		border-bottom: 1px solid #2B2B2B;
		border-right: 1px solid #2B2B2B;
		transform-origin: center;
	}

}

@media only screen and (max-width: 999px) {
	
	.timetable-container td.stazione.partenza:after,
	.timetable-container td.stazione.partenza:before {
		top: 50%;
		transform: translateY(-50%);
	}
	
	
	.timetable-container td.stazione.partenza:after {
		width: 11px;
		right: -1px;
		border-top-width: 1px;
	}
	
	.timetable-container td.stazione.partenza:before {
		border-left-width: 1px;
		height: 10px;
		right: 10px;
	}
	
	.timetable-container td.stazione.arrivo:after,
	.timetable-container td.stazione.arrivo:before {
		top: 50%;
		transform: translateY(-50%);
	}
	
	.timetable-container td.stazione.arrivo:after {
		width: 10px;
		left: -1px;
		border-top-width: 1px;
	}
	
	.timetable-container td.stazione.arrivo:before {
		left: 10px;
		width: 6px;
		height: 6px;
		transform: translateY(-50%) rotate(-45deg);
		background: transparent;
		border-bottom: 1px solid #2B2B2B;
		border-right: 1px solid #2B2B2B;
		transform-origin: center;
		margin-left: -8px;
	}

}



@media only screen and (max-width: 999px) {
	
	.timetable-container table {
		width: 100% !important;
		max-width: 100% !important;
	}
	
	.timetable-container table td.stazione {
		white-space: nowrap;
		text-overflow: ellipsis;
		overflow: hidden;
	}

	.timetable-container table tbody {
		display: flex;
		flex-direction: row;
		width: 100%;
	}
	
	.timetable-container table tbody > tr {
		display: grid;
		grid-auto-rows: 1fr;
	}
	
	.timetable-container table tbody > tr {
		width: 45%;
	}
	
	.timetable-container table.tabella-orari-con-fermate tbody > tr {
		min-width: 105px;
	}
	
	.timetable-container table tbody > tr > td {
		align-content: center;
		white-space: nowrap;
	}
	
	.timetable-container table tbody > tr > td:first-of-type {
		grid-row: span 2;
		border-left-width: 0px !important;
		white-space: normal;
	}
	
	/* 
	.timetable-container table.tabella-orari-con-fermate tbody > tr > td:first-of-type > span {
		transform: rotate(-45deg);
		display: block;
	}
	*/
	
	.timetable-container table.tabella-orari-semplice tbody > tr:first-of-type {
		width: 10%;
	}
	
	.timetable-container table tbody > tr:first-of-type > td {
		border-left: 1px solid #ececec !important;
	}

}

.timetable-container .corsa-speciale span {
	white-space: nowrap;
}


table.note-speciali {
	border-spacing: 0 5px !important;
	border-collapse: separate !important;
}

table.note-speciali, 
table.note-speciali tr, 
table.note-speciali td {
	border-width: 0 !important;
}

table.note-speciali tr {
	background-color: transparent !important;
}

table.note-speciali td {
	vertical-align: middle;
	line-height: 1.4;
}

table.note-speciali td:not(.corsa-speciale) {
	width: 100%;
}

table.note-speciali td.corsa-speciale {
	white-space: nowrap;
	text-align: center;
	font-weight: 600;
}


.img-popup {
	max-width: 220px;
	width: 100%;
	height: auto;
}
