:root { 
	/*--main: #026EB7; */
	--br: 7px; 
	--textred: #f00;
	--textgreen: #43ac6a;
	--border:#ddd;
	
}

/**************** GOOGLE FONTS *****************/
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/MaterialIcons-Regular.eot); /* For IE6-8 */
  src: local('Material Icons'),
    local('MaterialIcons-Regular'),
    url(../fonts/MaterialIcons-Regular.woff2) format('woff2'),
    url(../fonts/MaterialIcons-Regular.woff) format('woff'),
    url(../fonts/MaterialIcons-Regular.ttf) format('truetype');
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;  /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;

  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;

  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;

  /* Support for IE. */
  font-feature-settings: 'liga';
}

/**************** GLOBAL *****************/

.c-pointer {
	cursor: pointer
}


.debug-price{
	color:var(--textred);
	font-weight:bold	
}
.th-separated-dashed{
	border-bottom:1px dashed var(--border);
	margin:10px 0
}

.th-separated-solid{
	border-bottom:1px solid var(--border);
	margin:10px 0
}

/**************** BG *****************/
.th-bg-white {
	background: #fff
}

/**************** TEXT *****************/

.th-text-small {
	font-size: 0.70rem
}



/**************** INPUT *****************/
.th-inline-label {
	position: absolute;
	left: 50px;
	font-size: 1rem;
	top: 5px
}

.th-inline-icon {
	position: absolute;
	/*left: 10px;
	top: 7px*/
}

.th-left-icon {
	float: left;
	margin-right: 5px
}

.th-inline-input {
	/*
	padding-top: 10px;
	padding-left: 32px;
	*/>
	font-size: 12px
}


/****************  *****************/
#error-message li{
	list-style:none
}

/**************** APP *****************/


.th-price-total {
	font-weight: 800;
	font-size: 2rem
}

.th-tooltip-first-room .th-price-total {
	font-size:1rem
}

.th-hour {
	font-weight: 800;
	font-size: 2.5rem
}

.th-search-form {
	background: #fff;
	padding: 10px 20px
}
.th-sublabel-search{
	margin-top:-10px
}

.th-box-pax {
	position: absolute;
	background: #fff;
	z-index: 999;
	padding: 20px;
	/*right: 3rem;*/
	width: 25%;
	border-radius: var(--br);
	-webkit-box-shadow: -1px 3px 22px -2px rgba(0, 0, 0, 0.43);
	-moz-box-shadow: -1px 3px 22px -2px rgba(0, 0, 0, 0.43);
	box-shadow: -1px 3px 22px -2px rgba(0, 0, 0, 0.43);
	display:none;
}
.th-box-pax.active{
	display:block;
}
.th-box-pax p{
	font-size:.90rem;
	margin:0
}
.th-box-pax .bi{
	font-size:24px
}

.th-box-pax-title {
	font-size: 18px;
	font-weight: bold
}

.th-inline-label-sort {
	position: absolute;
	left: 22px;
	font-size: 1rem;
	top: 7px;
}

.th-select-sort {
	padding: 18px 10px 10px 0;
	width: 100%;
	margin: 2px 3px;
}

.th-select-hour {
	padding: 7px 0 7px 35px;
	width: 100%;
	margin: 2px 3px;
}
.th-select-night {
	padding: 12px 0 6px 40px;
	width: 100%;
	margin: 2px 3px;
	font-size: 12px;
}
.th-select-star {
	padding: 12px 0 6px 40px;
	width: 100%;
	margin: 2px 3px;
	font-size: 12px;
}

.th-sidebar-review {
	padding: 10px;
}
.th-sidebar-review h3{
	font-weight:bold;
	margin:0;
	font-size:1.8rem
}
.th-sidebar-review-title{
	margin:10px 0;
}
.th-sidebar-review-title strong{
	
	flex:1;
	margin-left:10px
}
.th-sidebar-review-section {
	margin-top: 10px;
}


.th-sidebar-review .th-price-total {
	font-weight: 700;
	font-size: 1.5rem
}

.th-number-images-container{display: flex;position:relative}
.th-number-images {
	background-color: rgba(0, 0, 0, 0.5);
	position: absolute;
	z-index: 77;
	padding: 5px 20px;
	margin-top: 140px;
	/*margin-left: 15%;*/
	right:0;
	color: #fff;
	font-size: 14px;
	border-radius: var(--br)
}

.th-number-images .material-icons {
	margin-right: 3px;
	font-size: 14px
}

/**************** MODAL *****************/
.th-modal-mask {
	position: fixed;
	z-index: 9998;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	display: table;
	transition: opacity 0.3s ease;
}

.th-modal-wrapper {
	display: table-cell;
	vertical-align: middle;
}

.th-modal-container {
	width: 440px;
	margin: 0px auto;
	padding: 20px 30px;
	background-color: #fff;
	border-radius: 2px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.33);
	transition: all 0.3s ease;
	font-family: Helvetica, Arial, sans-serif;
}

.th-modal-header h3 {
	margin-top: 0;
	color: #42b983;
}

.th-modal-body {
	margin: 20px 0;
}

.th-modal-default-button {
	float: right;
}

.th-modal-enter {
	opacity: 0;
}

.th-modal-leave-active {
	opacity: 0;
}

.th-modal-enter .modal-container, .th-modal-leave-active .modal-container
	{
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
}


/* lightbox */
body.lb-disable-scrolling {
	overflow: hidden;
}

.th-lightbox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 9999;
	background-color: black;
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
	opacity: 0.8;
	display: none;
}

.th-lightbox {
	position: absolute;
	left: 0;
	width: 100%;
	z-index: 10000;
	text-align: center;
	line-height: 0;
	font-weight: normal;
	outline: none;
}

.th-lightbox .lb-image {
	display: block;
	height: auto;
	max-width: inherit;
	max-height: none;
	border-radius: 3px;
	/* Image border */
	border: 4px solid white;
}

.th-lightbox a img {
	border: none;
}

.lb-outerContainer {
	position: relative;
	*zoom: 1;
	width: 250px;
	height: 250px;
	margin: 0 auto;
	border-radius: 4px;
	/* Background color behind image.
     This is visible during transitions. */
	background-color: white;
}

.lb-outerContainer:after {
	content: "";
	display: table;
	clear: both;
}

.lb-loader {
	position: absolute;
	top: 43%;
	left: 0;
	height: 25%;
	width: 100%;
	text-align: center;
	line-height: 0;
}

.lb-cancel {
	display: block;
	width: 32px;
	height: 32px;
	margin: 0 auto;
	background: url(../images/loading.gif) no-repeat;
}

.lb-nav {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 10;
}

.lb-container>.nav {
	left: 0;
}

.lb-nav a {
	outline: none;
	background-image:
		url('data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');
}

.lb-prev, .lb-next {
	height: 100%;
	cursor: pointer;
	display: block;
}

.lb-nav a.lb-prev {
	width: 34%;
	left: 0;
	float: left;
	background: url(../images/prev.png) left 48% no-repeat;
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
	opacity: 0;
	-webkit-transition: opacity 0.6s;
	-moz-transition: opacity 0.6s;
	-o-transition: opacity 0.6s;
	transition: opacity 0.6s;
}

.lb-nav a.lb-prev:hover {
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
	opacity: 1;
}

.lb-nav a.lb-next {
	width: 64%;
	right: 0;
	float: right;
	background: url(../images/next.png) right 48% no-repeat;
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
	opacity: 0;
	-webkit-transition: opacity 0.6s;
	-moz-transition: opacity 0.6s;
	-o-transition: opacity 0.6s;
	transition: opacity 0.6s;
}

.lb-nav a.lb-next:hover {
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
	opacity: 1;
}

.lb-dataContainer {
	margin: 0 auto;
	padding-top: 5px;
	*zoom: 1;
	width: 100%;
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
}

.lb-dataContainer:after {
	content: "";
	display: table;
	clear: both;
}

.lb-data {
	padding: 0 4px;
	color: #ccc;
}

.lb-data .lb-details {
	width: 85%;
	float: left;
	text-align: left;
	line-height: 1.1em;
}

.lb-data .lb-caption {
	font-size: 13px;
	font-weight: bold;
	line-height: 1em;
}

.lb-data .lb-caption a {
	color: #4ae;
}

.lb-data .lb-number {
	display: block;
	clear: left;
	padding-bottom: 1em;
	font-size: 12px;
	color: #999999;
}

.lb-data .lb-close {
	display: block;
	float: right;
	width: 30px;
	height: 30px;
	background: url(../images/close.png) top right no-repeat;
	text-align: right;
	outline: none;
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
	opacity: 0.7;
	-webkit-transition: opacity 0.2s;
	-moz-transition: opacity 0.2s;
	-o-transition: opacity 0.2s;
	transition: opacity 0.2s;
}

.lb-data .lb-close:hover {
	cursor: pointer;
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
	opacity: 1;
}

.th-product-selected{
	background:#ffffdf
}

/*  hotel.. */


.th-hotel-rooms {
	background: #fff
}

.th-hotel-fare {
	border: 1px solid #ccc;
	border-radius: var(--br);
	display: flex;
	flex-direction: row;
	padding: 10px;
}

.th-room-notrefundable, .th-room-refundable {
	font-size: 14px;
}

.th-room-notrefundable {
	color: var(--textred);
}

.th-room-refundable {
	color: var(--textgreen);
}

.ht-lightbox-room .slide {
	border-radius: var(--br);
	height: 130px
}

.ht-lightbox-room .th-number-images {
	margin-top: 90px;
	left: 30%
}

.th-filter-button-rate {
	display: flex
}

.th-filter-button-rate button, .th-filter-button-rate button.selected {
	border-radius: var(--br);
	display: flex;
	margin: 0 2px;
	align-items: center;
}

.th-filter-button-rate button {
	background: #fff;
	border: 1px solid #999;
	color: #999;
}

.th-filter-button-rate button span {
	font-size: 14px;
	display: flex;
	align-items: center
}


/* The container */
.th-container-check {
	display: block;
	position: relative;
	padding-left: 35px;
	margin-bottom: 12px;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/* Hide the browser's default checkbox */
.th-container-check input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}

/* Create a custom checkbox */
.th-checkmark {
	position: absolute;
	top: 0;
	left: 0;
	height: 25px;
	width: 25px;
	background-color: #eee;
	border-radius: var(--br);
	border: 1px solid #999;
}

/* On mouse-over, add a grey background color */
.th-container-check:hover input ~ .th-checkmark {
	background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.th-container-check input:checked ~ .th-checkmark {
	background-color: var(--main);
	border: 1px solid var(--main);
}

/* Create the checkmark/indicator (hidden when not checked) */
.th-checkmark:after {
	content: "";
	position: absolute;
	display: none;
}

/* Show the checkmark when checked */
.th-container-check input:checked ~ .th-checkmark:after {
	display: block;
}

/* Style the checkmark/indicator */
.th-container-check .th-checkmark:after {
	left: 9px;
	top: 5px;
	width: 7px;
	height: 12px;
	border: solid white;
	border-width: 0 2px 2px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

/* The container */
.th-container-radio {
	display: block;
	position: relative;
	padding-left: 35px;
	margin-bottom: 12px;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/* Hide the browser's default radio button */
.th-container-radio input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
}

/* Create a custom radio button */
.th-checkmark-radio {
	position: absolute;
	top: 0;
	left: 0;
	height: 25px;
	width: 25px;
	background-color: #eee;
	border-radius: 50%;
	border: 1px solid #999
}

/* On mouse-over, add a grey background color */
.th-container-radio:hover input ~ .th-checkmark-radio {
	background-color: var(--main);
}

/* When the radio button is checked, add a blue background */
.th-container-radio input:checked ~ .th-checkmark-radio {
	border: 1px solid var(--main)
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.th-checkmark-radio:after {
	content: "";
	position: absolute;
	display: none;
}

/* Show the indicator (dot/circle) when checked */
.th-container-radio input:checked ~ .th-checkmark-radio:after {
	display: block;
	background-color: var(--main);
}

/* Style the indicator (dot/circle) */
.th-container-radio .th-checkmark-radio:after {
	top: 3px;
	left: 3px;
	width: 17px;
	height: 17px;
	border-radius: 50%;
	background: white;
}

.loader {
	margin: 0 0 2em;
	height: 50px;
	width: 20%;
	text-align: center;
	margin: 0 auto 1em;
	display: inline-block;
	vertical-align: top;
}

svg path, svg rect {
	fill: var(--main);
}

.loaderHtml {
    width: 48px;
    height: 48px;
    border: 5px solid #FFF;
    border-bottom-color: var(--main);
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    }

    @keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
    }

/*  treni.. */

.rotazione{
	transform: rotate(90deg); /* rotate x-axis and y-axis */
}
.ntv_reserved{fill:#f2f4f7}
.ntv_reserved.seat_number{fill:#666!important}

.ntv_open{fill:#add475}
.ntv_open.seat_number{fill:#fff!important}

.ntv_selected{fill:#7c0f06!important}

.ntv_standard{fill:#0ac4a5}
.ntv_standard.seat_number{fill:#fff!important}

.ntv_standard_tavolino{fill:#003245;}
.ntv_standard_tavolino.seat_number{fill:#fff!important}

.ntv_premium{fill:#eeab00;}
.ntv_premium.seat_number{fill:#fff!important}

.ntv_premium_tavolino{fill:#1a6175;}
.ntv_premium_tavolino.seat_number{fill:#fff!important}

/*------ TRENIITALIA ---*/

g.sediledis > rect {stroke-width:1;stroke:#FFFFFF;fill:#c3c3c3;}
g.sedileinv > rect {stroke-width:1;stroke:#DDDDDD;fill:#c3c3c3;}
g.sedile > rect{stroke-width:1;stroke:#FFFFFF;fill:#add475;}
g.sedilerib > rect{stroke-width:1;stroke:#FFFFFF;fill:yellow;}
.sedileescort  > rect{stroke-width:1;stroke:#FFFFFF;fill:orange;}
.sedileTM90  > rect{stroke-width:1;stroke:#FFFFFF;fill:#green;}
.sedilepersonale  > rect{stroke-width:1;stroke:#FFFFFF;fill:#red;}
.sedilebebe  > rect{stroke-width:1;stroke:#FFFFFF;fill:#magenta;}
.salottino  > rect{stroke-width:1;stroke:#FFFFFF;fill:#cyan;}
.sedileevid  > rect{stroke:#FFFFFF;fill:#c12400;}
.sedilecoach  > rect{stroke:#FFFFFF;fill:#b50104;}
.testo{font-size:11px;font-style:normal;font-weight:bold;fill:#000000;fill-opacity:1;stroke:none;font-family:Arial;cursor:pointer;}
g.sedileinv > .testo{font-size:11px;font-style:italic;fill:#000000;fill-opacity:1;stroke:none;font-family:Arial;}
.treno{font-family:Arial;fill:#FFFFFF;font-weight:bold;font-style:italic;font-size:27px;}
g.grey > rect{stroke-width:1;stroke:#FFFFFF;fill:#DDDDDD;disabled:disabled;cursor:default;}
.wc {fill:#999999;}
.corridoio {fill:#c3c3c3;stroke:#999999;}
.tavolo {fill:#b3b3b3;}
/* Coach Selection properties */
#train_coach_section {
	margin:10px auto 5px auto;
	padding:0;
	width:auto;
	border:none;
}
#train_coach_section .trainBg_thelloR{
	background-image:url(../images/ThelloR_model.png);
	background-repeat:no-repeat;
	background-position: .2em;
	background-size: 700px;
	width:700px;
	height:115px;
	margin-right:auto;
	margin-left:auto;
}
#train_coach_section .trainBg_etr500_FR{
	background-image:url(../images/Frecciarossa_model.gif);
	background-repeat:no-repeat;
	background-position: .2em;
	background-size: 700px;
	width:870px;
	height:106px;
	margin-right:auto;
	margin-left:auto;
}
#train_coach_section .trainBg_etr500_FA{
	background-image:url(../images/Frecciargento_model.gif);
	background-repeat:no-repeat;
	background-position: .2em;
	background-size: 700px;
	width:870px;
	height:106px;
	margin-right:auto;
	margin-left:auto;
}
#train_coach_section .trainBg_etr610{
	background-image:url(../images/EuroCity_model.gif);
	background-repeat:no-repeat;
	background-position: .2em;
	background-size: 700px;
	width:870px;
	height:106px;
	margin-right:auto;
	margin-left:auto;
}
#train_coach_section .trainBg_etr500_FB{
	background-image:url(../images/Frecciabianca_model.gif);
	background-repeat:no-repeat;
	background-position: .2em;
	background-size: 700px;
	width:870px;
	height:106px;
	margin-right:auto;
	margin-left:auto;
}
#train_coach_section .trainBg_etr500_other{
	background-image:url(../images/Generic_model.gif);
	background-repeat:no-repeat;
	background-position: .2em;
	background-size: 700px;
	width:870px;
	height:106px;
	margin-right:auto;
	margin-left:auto;
}

#train_coach_section .trainBg_etr500_Minuetto{
	background-image:url(../images/Minuetto_model_2.gif);
	background-repeat:no-repeat;
	background-position: .2em;
	background-size: 700px;
	width:870px;
	height:106px;
	margin-right:auto;
	margin-left:auto;
}

#train_coach_section .trainBg_etr600{
	background-image:url(../images/GD_ETR600.gif);
	background-repeat:no-repeat;
	background-position: .2em;
	background-size: 700px;
	width:875px;
	height:106px;
	margin-right:auto;
	margin-left:auto;
}
#train_coach_section .coach_selction_bg{ 
	width:660px;
	margin:0px auto 0px auto;
	border:0px solid #F00;
	
}
#train_coach_section .coach_selction{
	background-repeat:repeat-x;
	margin:0px 0px 0px 380px;
	float:center;
	width:auto;
	height:107px;
	padding:0px 0px 10px 0px;
	
}
html>body #train_coach_section .coach_selction{
	
	margin:0px 0px 0px 380px;
	float:center;
	width:auto;
	height:107px;
	#padding:0px 0px 10px 0px !important;
	/*border:1px solid #F00;*/
}
#train_coach_section .coach_selction ul{
	margin:20px 0px 0px 5px;
	padding:0px 0px 10px 7px;
	
}
html>body #train_coach_section .coach_selction ul{
	margin:10px 0px 0px 5px;
	padding:0px 0px 0px 6px;
}
#train_coach_section .coach_selction li {
	display:inline-block !important;
	background-image:url(../images/higlighted-coach.gif);
	background-repeat:no-repeat;
	width:152px;
	height:107px;
	padding:0px 5px 0px 2px;
	line-height:86px;
}
#train_coach_section .coach_selction li.selBg {
	display:inline-block !important;
	background-image:url(../images/selected-coach.gif);
	background-repeat:no-repeat;
	width:152px;
	height:107px;
	padding:0px 5px 0px 2px;
	line-height:86px;
}

#train_coach_section .coach_selction td {
	display:inline-block !important;
	background-image:url(../images/higlighted-coach.gif);
	background-repeat:no-repeat;
	width:152px;
	height:107px;
	padding:0px 0px 0px 2px;
	line-height:86px;
	vertical-align:top;
	font-size:11px;
}
#train_coach_section .coach_selction td.selBg {
	display:inline-block !important;
	background-image:url(../images/selected-coach.gif);
	background-repeat:no-repeat;
	width:152px;
	height:107px;
	padding:0px 0px 0px 2px;
	line-height:86px;
}
#train_coach_section .coach_selction span{
	margin:20px 5px 0px 0px;
	padding:10px 5px 0px 45px;
	/*clear:both;*/
	
}
html>body #train_coach_section .coach_selction span{
	/*margin:20px 5px 0px 0px;
	padding:12px 5px 0px 45px;
	display:inline-block !important;
	clear:both;*/
	
	top:2px;
	left:0px;
}
#train_coach_section .coach_selction span a{
	color:#fff !important;
	z-index:99;
	
}
.seat_frnd_selected {
	display:block;
	width:29px;
	height:36px;
	background-image:url(../images/seat_buddy_right.gif);
	background-repeat:no-repeat;
	float:left;
	margin-left:15px;
	margin-right:5px;
}
.seat_frnd_selected span{
	padding:8px 0px 0px 6px;
	display:block;
	float:left;
	font-weight:bold;
	font-size:12px;
	color:#fff;
}
.seat_not_selected {
	display:block;
	width:29px;
	height:36px;
	background-image:url(../images/seat_no.png);
	background-repeat:no-repeat;
	float:left;
	margin-left:10px;
	margin-right:3px;
}
.seat_not_selected span{
	padding:8px 0px 0px 6px;
	display:block;
	float:left;
	font-weight:bold;
	font-size:12px;
}
.seat_available {
	display:block;
	width:24px;
	height:26px;
	background-image:url(../images/seat_sel.gif);
	background-repeat:no-repeat;
	float:left;
	margin-left:10px;
	margin-right:5px;
}
.seat_selected {
	display:block;
	width:29px;
	height:36px;
	background-image:url(../images/seat_booked.png);
	background-repeat:no-repeat;
	float:left;
	margin-left:10px;
	margin-right:5px;
	
}
.seat_selected span{
	padding:8px 0px 0px 6px;
	display:block;
	float:left;
	font-weight:bold;
	font-size:12px;
}
.seat_front_available {
	display:block;
	width:62px;
	height:63px;
	background-image:url(../images/seat_frontali.png);
	background-repeat:no-repeat;
	float:left;
	margin-left:15px;
	margin-right:5px;
}
.seat_front_available span{
	padding:8px 0px 0px 6px;
	display:block;
	float:left;
	font-weight:bold;
	font-size:12px;
}
.seat_not_available {
	display:block;
	width:29px;
	height:36px;
	background-image:url(../images/seat_NA_right.png);
	background-repeat:no-repeat;
	float:left;
	margin-left:15px;
	margin-right:5px;
}
.seat_not_available span{
	padding:8px 0px 0px 6px;
	display:block;
	float:left;
	font-weight:bold;
	font-size:12px;
}
#seating_area_map {
	background-color:#ffffff;
	text-align:center;
}
#seating_area_map .seating_bg {
	background-image:url(../images/train_seating_bg.gif);
	background-repeat:no-repeat;
	background-color:#ffffff;
	width:870px;
	height:214px;
	margin-right:auto;
	margin-left:auto;
	position:relative;
	overflow:hidden;
}


/*
.th-train-item {
	background: #fff;
	border-radius: var(--br);
}
*/
.th-train-selected {
	border: 2px solid #000
}

.th-train-item-row1 {
	margin: 0;
}

.th-train-item-row2 {
	display: flex;
	flex-direction: row;
	margin: 0 10px 0 10px;
}

.th-train-item-row2 div {
	flex-direction: column
}

.th-train-item-row3 {
	background: #fdebca;
	padding: 5px 10px 10px 10px;
	border-radius: 0 0 var(--br) var(--br);
}

.th-train-item-col1 {
	width: 30%
}

.th-train-item-col2 {
	width: 50%;
	padding: 1rem;
	display: flex;
	align-items: center
}

.th-train-item-col3 {
	display: flex;
	align-items: end;
	width: 16%
}

.th-train-item-col4 {
	display: flex;
	align-items: end;
	padding-bottom: 50px;
	width: 4%;
	cursor: pointer;
}

.th-train-fares {
	background: #fff
}

.th-train-fare-row {
	display: flex
}

.th-train-head, .th-train-fare {
	/*flex: 1;*/
	margin: 0;
	padding: 10px 5px
}

.th-train-fare-name {
	/*flex: 1;*/
	width:100px;
	padding: 10px 5px
}

.th-train-head, .th-train-fare {
	border: 1px solid #999;
	border-bottom: none;
}

.th-train-fare-row.last .th-train-fare {
	border-bottom: 1px solid #999;
}

.th-train-fare {
	text-align: center;
	font-weight: bold;
	cursor: pointer;
}

.th-train-fare.empty {
	cursor: default
}

.th-train-fare-selected {
	background: var(--main)!important;
	color: #fff
}

.th-train-fare-name {
	margin: 5px 0
}

.th-train-fare-name {
	background: #eee;
	border-radius: var(--br) 0 0 var(--br);
}

.th-train-fare-type{
	color: var(--textgreen);
}
.th-fares table{
	 border-collapse: separate;
	 border-right-spacing: 5px;
	
  	/*width: 100 px;*/
}
.th-fares table thead th{
	border:1px solid #eee!important
	
}
.th-fares table thead th:nth-child(1){
	border:0!important
}
.th-fares table tbody td{
	/*border:1px solid #eee!important;*/
	
}
.th-fares table tbody td:hover{
	/*background:var(--main);
	color:#fff
	*/
}
.th-fares table tbody th{
	width:200px!important;
	background: #eee;
	/*border:0;*/
	/*border-radius: var(--br) 0 0 var(--br);*/
}
.th-fares table tbody td.not-hover:hover{
	background:#fff;
}

/**************** COMMON CSS TRAIN AND HOTEL *****************/
.th-change-footer{
	border-radius:0 0 var(--br) var(--br);
	padding:5px 0;
	border-top:1px solid var(--border)
}
.th-change-link{
	cursor:pointer;
	font-size:12px
}
.th-pax-section-title{
	font-weight:700;
	font-size:16px
}
.th-box-selected{
	background: #ffff80;
	border-radius: var(--br);
}
.th-box-white{
	background: #fff;
	border-radius: var(--br);
}
.th-box-yellow{
	background: #ffffdf;
	border-radius: var(--br);
}
/*  ----------- ACCORDION --------------*/
.th-expander {
	border: 1px solid #efefef;
	border-radius: var(--br);
	margin: 10px 0;
}

.th-expander__trigger {
	cursor: pointer;
	padding: 0.7rem 0.5rem;
	border-bottom: 1px solid #efefef;
}

.th-expander__trigger:hover {
	color: #000;
	font-weight: bold
}

.th-expander__trigger.active {
	border-bottom-color: #efefef;
}

.th-expander__trigger-Icon {
	transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1);
	float: right
}

.th-expander__trigger-Icon.open {
	transform: rotate(-90deg);
}

.th-expander__body {
	padding: 1rem 1.5rem;
}


/* MAP */
#gmap {
	height: 100%;
}
#gmap .gmnoprint {
	display: none
}
.th-gmap-container {
	position: relative;
	height: 250px;
	width: 100%;
	margin: 0 0 10px 0
}

.th-tabs .btn-link{
	text-decoration:none;
	color:#666;
	font-weight:bold;
	border-radius:0;
	border:0;
	border-bottom:3px solid #fff;
}
.th-tabs .btn-link.active{
	border-bottom:3px solid;
}

.vc-time-icon{
	color:#000!important;
	}
.vc-time-icon path{
	fill:#fff!important
}
.timePicker .vc-date{
	display:none
}
.timePicker .vc-time-picker{
	padding:5px
}
.timePicker .vc-select select{
	background:#eee;
	border-color:#eee;
	
}
.timePicker .vc-select select{
	background:#fff
}
.vc-time-picker{
	
}
.vc-container{
	border-color:#212529
}


.th-train-category {
	background: #eee;
	border: 1px solid #eee;
	padding: 5px;
	margin: 0 2px;
	min-width: 28px;
	color:#000
}

.th-train-category.FR {
	background: #cf2237;
	color: #fff!important;
}

.FR .bi.bi-info-circle-fill{
	color:#fff
}


.th-train-category.IT .btn,
.th-train-category.EC .btn,
.th-train-category.RE .btn,
.th-train-category.IC .btn,
.th-train-category.SU .btn{
	color: #000!important;
}

.th-train-category.IT{
	background: #AA0F00;
}


.th-train-category.FR .btn,
.th-train-category.IT .btn small,
.th-train-category.IT{
	color: #fff!important;
}

.timeline ul li:first-child{
	background: #fff;
	height:0;
	
}
.timeline ul li:first-child::after {
	background: #800;
}
.timeline ul li:first-child span{
margin-top:-17px	
}
.timeline ul {
	margin-bottom:10px
}


.timeline ul li {
  list-style-type: none;
  position: relative;
  width: 5px;
  margin: 0 auto 0 10px;
  padding-top: 30px;
  background: #800;
  font-size:12px
}
.timeline ul li span{
	display: block;
	width: 300px;
	margin-left: 20px;
}
.timeline ul li::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: inherit;
}

.th-accordion .accordion-button::after{
	display:none
}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.th-gallery {
  display: none;
  
}
.th-gallery-slide{
	overflow: hidden;
    height: 200px;
    background:#222;
   
}
.th-gallery-slide img{
	width:100%;
	height:200px
}

/* Next & previous buttons */
.th-gallery-prev, .th-gallery-next {
background-color: rgba(0,0,0,0.6);
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: 40px;
    margin-top: -22px;
    padding: 5px 15px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 30px;
    user-select: none;
    height: 40px;
}

/* Position the "next button" to the right */
.th-gallery-next {
  right: 0;
  
}

.ntv_selected{
fill:#f00
}



/* SEATS  */
#ns_Leggenda {
    display: grid;
    grid-column-gap: 5px;
    grid-row-gap: 5px;
    margin: 0;
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
}
.ns_Leggenda .ns_Leggenda_text {
    font-size: 12px;
    font-weight: 400;
    color: #444;
    margin: auto 0;
}
.ns_Leggenda {
    margin: auto 5px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.ns_Leggenda.row1 {
    grid-row: 1;
}
.ns_Leggenda.row2 {
    grid-row: 2;
}
.ns_Leggenda.col1 {
    grid-column: 1;
}
.ns_Leggenda.col2 {
    grid-column: 2;
}
.ns_Leggenda.col3 {
    grid-column: 3;
}
.ns_Leggenda .ns_Leggenda_price {
    font-weight: 700;
}
.ns_Leggenda img {
    width: 25px;
    height: 25px;
    margin: 5px;
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.st0 {
    fill: #cecece;
}
.st1 {
    fill: #f3f3f3;
}
.st2 {
    font-family: inherit;
}
.st3 {
    font-size: 12px;
}
.st4 {
    opacity: 0.5;
    fill: #0d9779;
    fill-opacity: 0.5;
    enable-background: new;
}
.st5 {
    fill: #0d9779;
}
.st6 {
    fill: #e9c5c2;
    stroke: #a6160a;
}
.st7 {
    fill: #a6160a;
}
.coach text {
    font-family: inherit;
}
.ns_Component-train-seatmap .standard [data-name="background"] {
    fill: #0bc4a5;
}
.ns_Component-train-seatmap .premium [data-name="background"] {
    fill: #eeab00;
}
.ns_Component-train-seatmap .premium-xl [data-name="background"] {
    fill: #1a6175;
    stroke: #1a6175;
}
.ns_Component-train-seatmap .tavolino [data-name="background"] {
    fill: #003245;
}
.ns_Component-train-seatmap .not_available [data-name="background"] {
    fill: #f2f4f7;
}
.ns_Component-train-seatmap .standard [data-name="seduta"] {
    fill: #0bc4a5;
    stroke: #00a085;
}
.ns_Component-train-seatmap .premium [data-name="seduta"] {
    fill: #eeab00;
    stroke: #edcc8a;
}
.ns_Component-train-seatmap .premium-xl [data-name="seduta"] {
    fill: #1a6175;
    stroke: #89adb7;
}
.ns_Component-train-seatmap .tavolino [data-name="seduta"] {
    fill: #003245;
    stroke: #7c959f;
}
.ns_Component-train-seatmap .not_available [data-name="seduta"] {
    fill: #f2f4f7;
    stroke: #b2b7c2;
}
.ns_Component-train-seatmap .standard [data-name="schienale"] {
    fill: #0bc4a5;
    stroke: #00a085;
}
.ns_Component-train-seatmap .premium [data-name="schienale"] {
    fill: #edcc8a;
    stroke: #eeab00;
}
.ns_Component-train-seatmap .premium-xl [data-name="schienale"] {
    stroke: #1a6175;
    fill: #89adb7;
}
.ns_Component-train-seatmap .tavolino [data-name="schienale"] {
    fill: #7c959f;
    stroke: #003245;
}
.ns_Component-train-seatmap .not_available [data-name="schienale"] {
    fill: #f2f4f7;
    stroke: #b2b7c2;
}
.ns_Component-train-seatmap .premium [data-name="not_available"],
.ns_Component-train-seatmap .premium-xl [data-name="not_available"],
.ns_Component-train-seatmap .selezionato [data-name="not_available"],
.ns_Component-train-seatmap .standard [data-name="not_available"],
.ns_Component-train-seatmap .tavolino [data-name="not_available"] {
    display: none;
}
.ns_Component-train-seatmap .not_available [data-name="seat_number"] {
    display: none;
}
.ns_Component-train-seatmap .not_available [data-name="not_available"] {
    fill: #b2b7c2;
}
.ns_Component-train-seatmap .selezionato [data-name="schienale"] {
    fill: #a6160a;
    stroke: #7c0f06;
}
.ns_Component-train-seatmap .selezionato [data-name="seduta"] {
    fill: none;
    stroke: #a6160a;
}
.ns_Component-train-seatmap .selezionato [data-name="background"] {
    fill: #7c0f06;
}
.ns_Component-train-seatmap {
    width: 100%;
    margin: auto 0;
}
.ns_Component-train-seatmap svg {
    display: block;
    width: 100%;
    margin: 10px auto;
}
.ns_Component-train-seatmap {
    width: 100%;
    -o-object-fit: contain;
    font-family: "object-fit:contain";
    object-fit: contain;
}
.ns_Riepilogo {
    width: 50%;
}
.ns_Riepilogo .ns_Riepilogo_Titolo {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 700;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: 0.56px;
    color: #262626;
}
.ns_Riepilogo table {
    width: 100%;
    padding: 0;
    margin: 0;
    border-radius: 6px;
    -webkit-box-shadow: 0 0 15px 0 rgba(156, 156, 156, 0.3);
    box-shadow: 0 0 15px 0 rgba(156, 156, 156, 0.3);
    background-color: #fff;
    border-top: 4px solid #a6160a;
    border-collapse: collapse;
}
.ns_Riepilogo table tbody {
    max-height: 200px;
    overflow: auto;
    display: block;
}
.ns_Riepilogo table tr {
    height: 50px;
    border-bottom: solid 0.5px #cecece;
    font-size: 13px;
    display: table;
    width: 100%;
}
.ns_Riepilogo table tr[data-pax="bloccato"] {
    opacity: 0.5;
}
.ns_Riepilogo table tr:last-child {
    border-bottom: none;
}
.ns_Riepilogo table tr .ns_Selettore {
    width: 45px;
}
.ns_Riepilogo table tr .ns_Selettore img {
    width: 25px;
    height: 25px;
    margin: 10px;
}
.ns_Riepilogo table tr .ns_Nome_Cognome {
    width: 30%;
    padding: 0 10px 0 0;
}
.ns_Riepilogo table tr.ns_selected .ns_Nome_Cognome {
    font-weight: 700;
}
.ns_Riepilogo table tr .ns_Nome_Cognome span {
    letter-spacing: 0.5px;
}
.ns_Riepilogo table tr ns_RiepilogoPosto {
    padding: 0 10px;
}
.ns_Riepilogo table tr .ns_Carrozza-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.ns_Riepilogo table tr .ns_Carrozza-wrapper .ns_Carrozza-container {
    width: 37%;
}
.ns_Riepilogo table tr .ns_Carrozza-wrapper .ns_Posto-container {
    width: 30%;
}
.ns_Riepilogo table tr .ns_Carrozza-wrapper .ns_Prezzo-container {
    width: 33%;
}
.ns_Riepilogo table .ns_Carrozza,
.ns_Riepilogo table .ns_Posto,
.ns_Riepilogo table .ns_Prezzo {
    font-weight: 700;
}
.seatmap-box-container h2 {
    margin-bottom: 0;
}
.seatmap-box-container .upgrade-container-body {
    padding: 15px;
    width: 75%;
}
.seatmap-box-container .upgrade-body-top-left {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    margin: 0.6rem 0 0.4rem;
}
.seatmap-box-container .upgrade-body-top-right {
    display: none;
}
.seatmap-box-container .selected .upgrade-body-top-right {
    display: block;
}
.seatmap-box-container .upgrade-container .upgrade-container-body .upgrade-body-top {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.seatmap-box-container .upgrade-container .upgrade-container-body .upgrade-body-top .upgrade-body-top-left {
    width: auto;
}
.seatmap-box-container .upgrade-container .upgrade-container-body .upgrade-body-top .upgrade-body-top-right {
    width: auto;
}
.seatmap-box-container .upgrade-container .upgrade-container-body .upgrade-body-top .upgrade-body-top-left h4 {
    margin: 0;
}
.seatmap-box-container .upgrade-container .upgrade-image {
    width: 25%;
}
.seatmap-box-container .upgrade-body-bottom .upgrade-body-bottom-left {
    padding: 5px 0 10px;
    width: 100%;
}
.seatmap-box-container .upgrade-body-bottom .upgrade-body-bottom-left .upgrade-text {
    padding-right: 10px;
    font-size: 14px;
    font-weight: 500;
    padding-top: 5px;
}
.seatmap-box-container .upgrade-body-bottom-right {
    margin: auto 0 auto auto;
}
.seatmap-box-container .upgrade-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-left: 15px;
    cursor: pointer;
}
.seatmap-box-container .upgrade-info .upgrade-info-image {
    width: 25px;
    height: 25px;
}
.seatmap-box-container .upgrade-info p {
    margin: 7px 0 0 0;
    font-size: 10px;
    font-weight: 500;
    color: #262626;
}
@media (max-width: 800px) {
    .seatmap-box-container .upgrade-section {
        padding: 10px 15px;
    }
    .seatmap-box-container .upgrade-container .upgrade-image {
        width: 100%;
    }
    .seatmap-box-container .upgrade-container-body {
        padding: 10px;
        width: 100%;
    }
    .seatmap-box-container .upgrade-container-body .upgrade-body-top-left {
        padding: 5px 0;
        margin: 0;
    }
    .seatmap-box-container .upgrade-container-body .upgrade-body-top-left h4 {
        font-size: 18px;
    }
    .seatmap-box-container .upgrade-body-bottom-left {
        padding: 0;
    }
    .seatmap-box-container .upgrade-body-bottom-left .upgrade-text {
        padding: 5px 0;
        font-size: 12px;
        color: #818181;
        font-weight: 400;
    }
    .seatmap-box-container .upgrade-body-bottom-right .upgrade-price-button-container {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        margin: 5px 0 !important;
    }
    .seatmap-box-container .upgrade-info {
        margin: 0;
    }
    .seatmap-box-container .upgrade-info .upgrade-info-image {
        margin: auto;
    }
    .seatmap-box-container .upgrade-info p {
        margin: auto;
        font-size: 12px;
    }
    .seatmap-box-container .upgrade-price-add.ns_modal_Btn {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        font-size: 12px;
    }
    .seatmap-box-container .upgrade-price-add.ns_modal_Btn span {
        font-size: 14px;
        margin: auto;
        text-align: right;
    }
    .seatmap-box-container .upgrade-body-bottom-right .upgrade-price-remove {
        margin: 0 !important;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
    .seatmap-box-container .upgrade-body-bottom-right .upgrade-price-remove span {
        font-size: 14px !important;
        margin: auto;
    }
    .seatmap-box-container .upgrade-price-total {
        font-size: 24px;
        margin-left: 5px;
    }
}

.seatmap-wrapper .ns_common_modal-content {
    width: 90%;
}
.seatmap-wrapper-info-prices .ns_common_modal-content {
    width: 55%;
    margin-top: 5%;
    max-width: 750px;
}
.seatmap-info-prices .fancybox-close {
    top: 35px;
    right: 35px;
}
.seatmap-info-container {
    padding: 10px;
}
.seatmap-box-container .upgrade-price-total {
    color: #a6160a;
}
.seatmap-box-container .upgrade-price-text {
    font-size: 14px;
}
.seatmap-box-container .upgrade-body-bottom-right {
    width: auto !important;
}
.seatmap-box-container .upgrade-body-bottom-right .upgrade-price-button-container {
    margin-right: 10px;
}
.seatmap-box-container .upgrade-body-bottom-right .upgrade-price-remove {
    float: left;
    margin-left: 20px;
}
.seatmap-box-container .upgrade-body-bottom-right .upgrade-price-remove span {
    font-size: 17px;
}
.seatmap-box-container .upgrade-body-bottom-right .upgrade-price-remove img {
    margin: auto;
    height: 25px;
}
.seatmap-info-container h2 {
    font-size: 22px;
    color: #000;
}
.seatmap-info-container p {
    font-weight: 400;
    font-size: 15px;
    line-height: 1.25;
    margin-top: 30px;
}
.seatmap-info-container p b {
    color: #000;
}
.seatmap-info-container .seatmap-info-prices {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 15px 25px;
    border-radius: 10px;
    background-color: #eff5fc;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
}
.seatmap-info-container .seatmap-info-prices div p {
    font-size: 15px;
    margin: 0;
    padding: 15px;
}
.seatmap-info-container .seatmap-info-prices div p b {
    color: #000;
}
.seatmap-seat-prices-container {
    margin-top: 20px;
}
.seatmap-seat-prices-container.impresa {
    margin-top: 14px;
}
.seatmap-seat-prices-container .seatmap-seat-price {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}
.seatmap-seat-prices-container .seatmap-seat-price .seatmap-seat-price-title {
    font-size: 14px;
    color: #8a8a8a;
    margin-bottom: 0;
    font-weight: 400;
}
.seatmap-seat-prices-container .seatmap-seat-price p {
    margin: 0;
    height: 27px;
    font-size: 18px;
    line-height: 20px;
    font-weight: 400;
    color: #000;
}
@media (max-width: 800px) {
    .seatmap-wrapper-info-prices .ns_common_modal-content {
        width: 90%;
    }
    .seatmap-wrapper-info-prices #ns_Seatmap_InfoPrices {
        position: relative;
    }
    .seatmap-wrapper-info-prices #ns_Seatmap_InfoPrices .ns_common_close {
        position: absolute;
        top: -2px;
        right: 0;
        margin: 0;
        font-size: 20px;
    }
    .seatmap-wrapper-info-prices #ns_Seatmap_InfoPrices .seatmap-info-container {
        padding: 0;
    }
    .seatmap-wrapper-info-prices #ns_Seatmap_InfoPrices .seatmap-info-container h2 {
        font-size: 18px;
    }
    .seatmap-wrapper-info-prices #ns_Seatmap_InfoPrices .seatmap-info-container p {
        margin: 15px 0;
    }
    .seatmap-wrapper-info-prices #ns_Seatmap_InfoPrices .seatmap-info-container .seatmap-info-prices {
        padding: 15px;
    }
    .seatmap-wrapper-info-prices #ns_Seatmap_InfoPrices .seatmap-info-container .seatmap-info-prices p {
        margin: 0;
    }
    body.ns_common_modal-open {
        position: fixed;
        left: 0;
        right: 0;
    }
    body.ns_common_modal-open #content h1 {
        z-index: 1;
    }
}
.seatmap-vertical .ns_Component-infoFlex {
    width: 100%;
    padding: 10px;
    margin: 0;
}
.seatmap-vertical.seatmap-wrapper {
    border: 0;
    padding: 0;
}
.seatmap-vertical.seatmap-wrapper .ns_common_modal-content {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}
.seatmap-vertical.seatmap-wrapper .ns_modal__content {
    padding: 0;
    height: 100%;
}
.seatmap-vertical.seatmap-wrapper #ns_Seatmap {
    height: 100%;
    overflow: hidden;
}
.seatmap-vertical.seatmap-wrapper #ns_Seatmap .ns_common_close {
    margin: auto;
    color: #fff;
    font-weight: 400;
    top: 7px;
    right: 20px;
}
.seatmap-vertical.seatmap-wrapper #ns_Seatmap .seatmap-mobile-coach-title {
    font-size: 14px;
    font-weight: 700;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: 0.51px;
    text-align: center;
    color: #262626;
}
.seatmap-vertical.seatmap-wrapper #ns_Seatmap .seatmap-mobile-coach-title span {
    color: #a6160a;
}
.seatmap-vertical.seatmap-wrapper .ns_modal__content header {
    margin-top: 0;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-shadow: 0 3px 6px 2px rgb(0 0 0 / 30%);
    box-shadow: 0 3px 6px 2px rgb(0 0 0 / 30%);
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    padding: 0;
}
.seatmap-vertical.seatmap-wrapper .ns_modal__content header #ns_titolo {
    padding: 0;
    width: 100%;
}
.seatmap-vertical.seatmap-wrapper .ns_modal__content header #ns_titolo h4 {
    margin: auto;
    background: #a6160a;
    height: 100%;
    width: 100%;
    padding: 20px;
    font-size: 16px;
    font-weight: 500;
    font-stretch: normal;
    font-style: inherit;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
}
.seatmap-vertical.seatmap-wrapper .ns_modal__content header #ns_Leggenda {
    width: auto;
    margin: 5px 20px;
}
.seatmap-vertical.seatmap-wrapper .ns_modal__content header .ns_Leggenda {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 0 10px 5px 0;
}
.seatmap-vertical.seatmap-wrapper .ns_modal__content header .ns_Leggenda img {
    margin: auto 5px;
}
.seatmap-vertical.seatmap-wrapper .ns_modal__content {
    padding: 5px 20px 0;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}
.seatmap-vertical.seatmap-wrapper .ns_modal__content .ns_Component-train-seatmap svg {
    margin: 0;
}
.seatmap-vertical.seatmap-wrapper .ns_modal__content .ns_canvas {
    overflow: scroll;
    margin: 0;
}
.seatmap-vertical.seatmap-wrapper .seatmap-mobile-passengers-wrapper {
    margin: 5px 0;
}
.seatmap-vertical.seatmap-wrapper .seatmap-mobile-passengers-container {
    font-size: 12px;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    overflow: scroll;
    white-space: nowrap;
}
.seatmap-vertical.seatmap-wrapper .seatmap-mobile-passengers-container .seatmap-mobile-passenger {
    padding: 5px 15px;
    border-radius: 4px;
    border: solid 1px #cecece;
    background-color: #f2f2f2;
    margin: 5px 5px 5px 0;
}
.seatmap-vertical.seatmap-wrapper .seatmap-mobile-passengers-container .seatmap-mobile-passenger[data-pax="bloccato"] {
    opacity: 0.5;
}
.seatmap-vertical.seatmap-wrapper .seatmap-mobile-passengers-container .seatmap-mobile-passenger.ns_selected {
    border: solid 1px #a6160a;
    background-color: #f4e2e0;
}
.seatmap-vertical.seatmap-wrapper .seatmap-mobile-passengers-container .seatmap-mobile-passenger:last-child {
    margin-right: 0;
}
.seatmap-vertical.seatmap-wrapper .seatmap-mobile-passengers-container .seatmap-mobile-passenger .ns_Nome_Cognome {
    color: #262626;
    font-weight: 700;
}
.seatmap-vertical.seatmap-wrapper .seatmap-mobile-passengers-container .seatmap-mobile-passenger.ns_selected .ns_Nome_Cognome {
    color: #a6160a;
}
.seatmap-vertical.seatmap-wrapper .seatmap-mobile-passengers-container .seatmap-mobile-passenger .ns_RiepilogoPosto .ns_Posto_Label {
    margin-left: 5px;
}
.seatmap-vertical.seatmap-wrapper .ns_modal__content .ns_Footer {
    margin: 0;
    padding: 5px 20px 15px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    row-gap: 10px;
    -webkit-box-shadow: 0 0 15px 0 rgb(156 156 156 / 30%);
    box-shadow: 0 0 15px 0 rgb(156 156 156 / 30%);
}
.seatmap-vertical.seatmap-wrapper .ns_modal__content .ns_Footer .ns_Footer_Button {
    width: 100%;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    overflow: scroll;
}
.seatmap-vertical.seatmap-wrapper .ns_modal__content .ns_Footer .ns_Component-train-container {
    margin: 0;
    height: 40px;
    width: 100%;
}
.seatmap-vertical.seatmap-wrapper .ns_modal__content .ns_Footer .ns_Component-train-container .ns_Carrozze {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    max-width: 100%;
    height: 100%;
}
.seatmap-vertical.seatmap-wrapper .ns_modal__content .ns_Footer .ns_Component-train-container .ns_Carrozze svg {
    height: 100%;
    overflow: visible;
}
.seatmap-vertical.seatmap-wrapper .ns_modal__content .ns_Footer {
    position: relative;
}
.seatmap-vertical.seatmap-wrapper .ns_modal__content .ns_Footer #ns_Footer_Button_Pulsantiera a.ns_prenota {
    position: unset;
}
.seatmap-vertical.seatmap-wrapper .ns_modal__content .ns_Footer #ns_Footer_Button_Pulsantiera .ns_tooltip .ns_tooltiptext {
    width: 40%;
    right: 20px;
    bottom: 70%;
    padding: 5px;
}
.PAB .seatmap-vertical.seatmap-wrapper #ns_Seatmap .ns_common_close {
    top: 70px;
}
.PAB .seatmap-vertical.seatmap-wrapper .ns_modal__content header {
    padding: 60px 0 0 0;
}
.PAB .seatmap-vertical.seatmap-wrapper .ns_modal__content header #ns_titolo h4 {
    height: auto;
}
.PAB .seatmap-vertical.seatmap-wrapper .ns_modal__content .ns_canvas {
    width: 50%;
    height: auto;
    margin: auto;
}
.PAB .seatmap-vertical .ns_Component-infoFlex {
    margin: auto;
    width: 90%;
    padding: 10px;
}
.PAB .ns_Footer_Button a.ns_prenota {
    width: 50%;
}
.PAB .seatmap-wrapper-info-prices .ns_common_modal-content {
    width: 80%;
}
.PAB .seatmap-box-container .upgrade-price-add.ns_modal_Btn span {
    margin: auto 5px;
    text-align: right;
}
.PAB .seatmap-box-container .upgrade-container .upgrade-image {
    width: 100%;
}
.PAB .seatmap-box-container .upgrade-container-body {
    width: 100%;
}
.PAB .seatmap-box-container .upgrade-container .upgrade-container-body .upgrade-body-top .upgrade-body-top-left h4 {
    font-size: 16px;
}
.PAB .seatmap-box-container .upgrade-body-bottom-right .upgrade-price-button-container {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.PAB .seatmap-box-container .upgrade-price-add.ns_modal_Btn span {
    margin: auto 5px;
    text-align: right;
}
.PAB .seatmap-box-container .upgrade-price-button-container img {
    margin: auto;
}
.PAB .seatmap-box-container .upgrade-section {
    width: 100%;
    padding: 10px;
}
.PAB .seatmap-box-container .upgrade-container.selected .upgrade-price-remove {
    margin-left: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-top: 10px;
}
.PAB .seatmap-box-container .upgrade-price-total {
    margin-left: 5px;
}
.PAB .seatmap-box-container .upgrade-info {
    margin-left: 0;
}
.ns_common_modal-open .ada-header-steps .ada-header__mobile .ada-header__mobile-nav-button {
    display: none;
}
.ns_noPadding .upgrade-section {
    padding-left: 0;
    padding-right: 0;
}
@media (max-width: 380px) {
    .seatmap-box-container .upgrade-body-bottom-right .upgrade-price-remove img {
        margin-right: 5px;
    }
}

.labelValidCreditCard{
	color:#b00;
}
.labelValidCreditCardInputKo{
	border:1px solid #b00;	
}
.labelValidCreditCardInputOk{
	border:1px solid #21bb00;
	
}
.img-card{
	width: 44px;
   
}

.autocomplete-results {
	height: auto !important;
	margin:0!important;
}

.tooltip-refundable-text {
	visibility: hidden;
	position: absolute;
	z-index: 1;
	width: 500px;
	font-size: 16px;
	background-color: #fff;
	border-radius: 10px;
	padding: 10px 15px 10px 15px;
	text-align: left
}

#tooltip-refundable-bottom {
	top: 25px;
	left: -50%;
}

#tooltip-refundable-left {
	top: -8px;
	right: 120%;
}

.tooltip-refundable-hover-text:hover .tooltip-refundable-text {
	visibility: visible;
}

.tooltip-refundable-hover-text {
	position: relative;
	display: inline-block;
	font-family: Arial;
	text-align: center;
}

/* animazione trenino */
:root{
	
	--animWin:rgb(223, 243, 255);
	--animBuild:rgba(123, 139, 162);
	--animBuild1:rgba(123, 139, 162, 0.5);
	--animRail:#020202;
	
	--animH:300px;
	--animAltezzaRotaie:10px;
	--animAltezzaHotel:380px;
}
.popupAnim {
  position: relative;
   width:400px;
   height: var(--animH);
}

.popupAnimContent {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background-color: #ceeafd;
}

.popupAnimSun {
	position: absolute;
	width: 120px;
	height: 120px;
	top: -50px;
	left: -50px;
	border-radius: 50%;
	background: #ffeea9;
}

.popupAnimTxtLoading{
   	color:var(--animBuild);
    top:70px;
    left:50px;
    position: absolute;
    z-index:999;
    font-size: 20px;
}
.popupAnimTxtHotel{
    top:65px;
    left:300px;
    position: absolute;
    z-index:999;
    font-weight: 800;
    font-size: 25px;
}
.popupAnimBuildings {
	position: relative;
	width: 110px;
	height: 300px;
	left: 0;
	top: 150px;
	background-color: var(--animBuild);
	box-shadow: 
		80px 40px var(--animBuild), 
		120px -30px var(--animBuild), 
		150px 20px var(--animBuild), 
		220px 70px var(--animBuild), 
		190px -10px var(--animBuild1), 
		30px -10px var(--animBuild1), 
		290px 10px var(--animBuild1);
}
/* hotel*/
.popupAnimBuildings:after {
  content:"";
  position: absolute;
  background-color:transparent;
  width: 145px;
  height:var(--animAltezzaHotel);
  top:calc(var(--animH) - var(--animAltezzaHotel));
  box-shadow: 270px -20px #fff;
}
.popupAnimWindows {
  position: absolute;
  background-color: var(--animWin);
  
  width: 20px;
  height: 25px;
  left:280px;
  top:100px;
  box-shadow: 
  
  30px 0 var(--animWin),
  60px 0 var(--animWin),
  90px 0 var(--animWin), 
  0 40px var(--animWin), 
  30px 40px var(--animWin), 
  60px 40px var(--animWin), 
  90px 40px var(--animWin),
  
  0px 80px var(--animWin), 
  30px 80px var(--animWin), 
  60px 80px var(--animWin), 
  90px 80px var(--animWin);
}

.popupAnimRails {
  position: absolute;
  z-index:4;
  width:400px;
  height: var(--animAltezzaRotaie);
  top:calc(var(--animH) - var(--animAltezzaRotaie));
  border-bottom: 5px solid var(--animRail);
  border-top: 2px solid var(--animRail);
}


.popupAnimTrain {
  position: absolute;
  z-index:3;
  animation: move 1.5s linear infinite;
  top:var(--animH)
}

@keyframes move {
  from{left:-1070px;}
  to{left:100%}
} 

.popupAnimWagon{
   position: absolute;
   height: 30px;
   width:90px;
   background-color: #9e2a2b;
   top:-40px;
   box-shadow: inset 0 -5px #540b0e;
}

.popupAnimWagonEnd {
	left:410px;
}
.popupAnimWagon1 {
	left:315px;
}
.popupAnimWagon2 {
 	left:220px;
}
.popupAnimWagon3 {
 	left:125px;
}
.popupAnimWagonHead {
	 left:20px;
}

.popupAnimWagonEnd {
  position: absolute;
  width: 105px;
  height:30px;
  background-color: #9e2a2b;
 
  top:-40px;
  border-radius: 0 30px 0 0;
  overflow:hidden;
  box-shadow: inset 0 -5px #540b0e;
}

.popupAnimWagonEnd:before {
  content:"";
  position: absolute;
  width: 40px;
  height: 15px;
  background-color: #333;
  top:5px;
  left:60px;
}

.popupAnimWagonEnd:after {
  content:"";
  position: absolute;
  background-color: #ddd;
  width:40px;
  height:7px;
  left:10px;
  top:10px;
}


.popupAnimWagon:before {
  content:"";
  position: absolute;
  background-color: #ddd;
  width:10px;
  height:7px;
  top:10px;
  left:10px;
  box-shadow: 20px 0px #ddd, 40px 0px #ddd, 60px 0px #ddd;
}


.popupAnimWagonHead {
  position: absolute; 
  width: 100px;
  height:30px;
  background-color: #9e2a2b;
  border-radius: 30px 0 0 0;
  overflow:hidden;
  box-shadow: inset 0 -5px #540b0e;
 
  top:-40px;
}

.popupAnimWagonHead:before {
  content:"";
  position: absolute;
  background-color: #333;
  width: 40px;
  height: 15px;
  top:5px;
}

.popupAnimWagonHead:after {
  content:"";
  position: absolute;
  background-color: #ddd;
  width:40px;
  height:7px;
  top:10px;
  left:50px;
}

/* ----- */

.highlighted{
	background: #9FDBFF
}

button.carousel-control-prev,
button.carousel-control-next{
	background:transparent!important;
	border:0!important
}