/* Toast */
.toast-container,
.toast-container-header,
.toast-container-live {
  position: sticky;
  z-index: 1055;
  top: 10px;
  right: 15px;
}
.toast-container > .toast,
.toast-container-header > .toast,
.toast-container-live > .toast {
  position: absolute;
  top: 0;
  right: 0;
  width: auto;
  min-width: 300px;
  max-width: 400px;
  font-size: 1.200rem;
  pointer-events: auto;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
}
.toast-container > .toast .toast-header,
.toast-container-header > .toast .toast-header,
.toast-container-live > .toast .toast-header {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: transparent;
  background-clip: padding-box;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  border-top-left-radius: calc(1rem - 1px);
  border-top-right-radius: calc(1rem - 1px);
}
.toast-container > .toast .toast-header strong,
.toast-container-header > .toast .toast-header strong,
.toast-container-live > .toast .toast-header strong {
  font-size: 1.600rem;
  font-weight: 400;
  padding-right: 10px;
  padding-left: 5px;
}
.toast-container > .toast .toast-body,
.toast-container-header > .toast .toast-body,
.toast-container-live > .toast .toast-body {
  padding: 1rem 1rem;
}
.toast-container-live .toast-wrapper {
  top: 0;
  right: inherit;
}
/*Griglia*/
.d-grid {
  display: grid;
}
.d-grid.cols2 {
  grid-template-columns: 50% 50%;
}
.d-grid.cols3 {
  grid-template-columns: 33.333% 33.333% 33.333%;
}
.d-grid.cols4 {
  grid-template-columns: 25% 25% 25% 25%;
}
.d-grid.cols5 {
  grid-template-columns: 20% 20% 20% 20% 20%;
}
.d-grid.cols6 {
  grid-template-columns: 16.66666666666667% 16.66666666666667% 16.66666666666667% 16.66666666666667% 16.66666666666667%;
}
.d-grid .gridItem {
  display: flex;
  position: relative;
  padding: 5px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 1px;
  margin-left: 5px;
  margin-right: 5px;
  /* If you want text inside of the container */
}
.d-grid .gridItem.ratio3-2 {
  aspect-ratio: 1.5;
}
.d-grid .gridItem.ratio1-1 {
  aspect-ratio: 1;
}
.d-grid .gridItem a {
  width: 100%;
  /* height: 100%; */
  display: flex;
  align-items: center;
  transition: all linear .2s;
}
.d-grid .gridItem a i {
  font-size: 3.400rem;
}
.d-grid .gridItem img {
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
}
/* Dropzone */
.dropzone .d-grid .gridItem.dz-preview {
  margin: 5px;
}
.dropzone .d-grid .gridItem.dz-preview .dz-details {
  bottom: 0;
  display: flex;
  align-items: center;
}
.dropzone .d-grid .gridItem.dz-preview .dz-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}
.dropzone .d-grid .gridItem.dz-preview .dz-image figure {
  margin: auto;
  font-size: 2.400rem;
}
.dropzone .d-grid .gridItem.dz-preview .dz-image figure img {
  border-radius: 5px;
}
.dropzone .d-grid .gridItem.dz-preview:hover .dz-image figure img {
  -webkit-transform: scale(0.95, 0.95);
  -moz-transform: scale(0.95, 0.95);
  -ms-transform: scale(0.95, 0.95);
  -o-transform: scale(0.95, 0.95);
  transform: scale(0.95, 0.95);
  -webkit-filter: none;
  filter: none;
  transition: all linear .2s;
}
/*Range Slider*/
.range-slider {
  font-family: inherit;
  height: 1.25rem;
  /* Round */
}
.range-slider .irs {
  font-family: inherit;
  height: 1.25rem;
}
.range-slider .irs-line {
  height: 0.25rem;
  top: 0.5rem;
}
.range-slider .irs-line-left {
  background-color: #000000;
  border-bottom-left-radius: 6.1875rem;
  border-top-left-radius: 6.1875rem;
  height: 0.25rem;
  left: 0;
}
.range-slider .irs-line-mid {
  background-color: #000000;
  height: 0.25rem;
}
.range-slider .irs-line-right {
  background-color: #000000;
  border-bottom-right-radius: 6.1875rem;
  border-top-right-radius: 6.1875rem;
  height: 0.25rem;
  right: 0;
}
.range-slider .irs-bar {
  background-color: #000000;
  height: 0.25rem;
  top: 0.5rem;
}
.range-slider .irs-bar-edge {
  background-color: #000000;
  border-bottom-left-radius: 6.1875rem;
  border-top-left-radius: 6.1875rem;
  height: 0.25rem;
  left: 0;
  top: 0.5rem;
  width: 0.875rem;
}
.range-slider .irs-slider {
  background-color: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  height: 1.75rem;
  top: -0.25rem;
  width: 1.75rem;
}
.range-slider .irs-slider.state_hover {
  -webkit-transform: scale(1.3);
  transform: scale(1.3);
}
.range-slider.irs--round {
  font-family: inherit;
}
.range-slider.irs--round .irs-line {
  background-color: rgba(0, 0, 0, 0.15);
  border-radius: 2px;
}
.range-slider.irs--round .irs-bar {
  background-color: #333333;
}
.range-slider.irs--round .irs-bar--single {
  border-radius: 4px 0 0 4px;
}
.range-slider.irs--round .irs-shadow {
  background-color: rgba(0, 0, 0, 0.15);
  bottom: 21px;
  height: 4px;
}
.range-slider.irs--round .irs-handle {
  background-color: #FFFFFF;
  border-radius: 18px;
  border: 3px solid #000000;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0);
  top: 29px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  -webkit-transition: all 150ms ease-in;
  -moz-transition: all 150ms ease-in;
  -o-transition: all 150ms ease-in;
  transition: all 150ms ease-in;
}
.range-slider.irs--round .irs-handle:hover {
  box-shadow: 0 0 0 8px rgba(0, 0, 0, 0.15);
  background-color: #000000;
  -webkit-transition: all 150ms ease-in;
  -moz-transition: all 150ms ease-in;
  -o-transition: all 150ms ease-in;
  transition: all 150ms ease-in;
}
.range-slider.irs--round .irs-handle.state_hover {
  background-color: #000000;
}
.range-slider.irs--round .irs-min,
.range-slider.irs--round .irs-max {
  padding: 3px 10px;
  margin: 2px 0;
  font-size: 1rem;
}
.range-slider.irs--round .irs-from {
  background-color: #FFFFFF;
  border-radius: 0.3125rem;
  box-shadow: 0px 12px 15px rgba(0, 0, 0, 0.1);
  color: #000000;
  display: inline-block;
  font-size: 1.2rem;
  min-width: 2.5rem;
  padding: 0.5rem;
  text-align: center;
  text-shadow: none;
}
.range-slider.irs--round .irs-to {
  background-color: #FFFFFF;
  border-radius: 0.3125rem;
  box-shadow: 0px 12px 15px rgba(0, 0, 0, 0.1);
  color: #000000;
  display: inline-block;
  font-size: 1.2rem;
  min-width: 2.5rem;
  padding: 0.5rem;
  text-align: center;
  text-shadow: none;
}
.range-slider.irs--round .irs-single {
  background-color: #FFFFFF;
  border-radius: 0.3125rem;
  box-shadow: 0px 12px 15px rgba(0, 0, 0, 0.1);
  color: #000000;
  display: inline-block;
  font-size: 1.2rem;
  min-width: 2.5rem;
  padding: 0.5rem;
  text-align: center;
  text-shadow: none;
}
.range-slider.irs--round .irs-min {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}
.range-slider.irs--round .irs-max {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}
.range-slider.irs--round .irs-from {
  background-color: #000000;
  border-radius: 4px;
  color: white;
  text-shadow: none;
}
.range-slider.irs--round .irs-from:before {
  border-top-color: rgba(0, 0, 0, 0.15);
  border: 3px solid transparent;
  bottom: -6px;
  content: "";
  display: block;
  height: 0;
  left: 50%;
  margin-left: -3px;
  overflow: hidden;
  position: absolute;
  width: 0;
}
.range-slider.irs--round .irs-to {
  background-color: #000000;
  border-radius: 4px;
  color: #FFFFFF;
  text-shadow: none;
}
.range-slider.irs--round .irs-to:before {
  border-top-color: rgba(0, 0, 0, 0.15);
  border: 3px solid transparent;
  bottom: -6px;
  content: "";
  display: block;
  height: 0;
  left: 50%;
  margin-left: -3px;
  overflow: hidden;
  position: absolute;
  width: 0;
}
.range-slider.irs--round .irs-single {
  background-color: #000000;
  border-radius: 4px;
  color: #FFFFFF;
  text-shadow: none;
}
.range-slider.irs--round .irs-single:before {
  border-top-color: rgba(0, 0, 0, 0.15);
  border: 3px solid transparent;
  bottom: -6px;
  content: "";
  display: block;
  height: 0;
  left: 50%;
  margin-left: -3px;
  overflow: hidden;
  position: absolute;
  width: 0;
}
.range-slider.irs--round .irs-grid {
  height: 25px;
}
.range-slider.irs--round .irs-grid-pol {
  background-color: #dedede;
}
.range-slider.irs--round .irs-grid-text {
  color: silver;
  font-size: 13px;
}
.range-slider .irs--round.irs-with-grid {
  height: 65px;
}
.range-slider-indicator {
  height: 5rem;
}
.range-slider-indicator .irs {
  height: 5rem;
}
.range-slider-indicator .irs-line {
  top: 3.875rem;
}
.range-slider-indicator .irs-bar {
  top: 3.875rem;
}
.range-slider-indicator .irs-bar-edge {
  top: 3.875rem;
}
.range-slider-indicator .irs-slider {
  top: 3rem;
}
.range-slider-indicator.range-slider-grid {
  height: 8rem;
}
.range-slider-indicator.range-slider-grid .irs {
  height: 8rem;
}
.range-slider-grid {
  height: 4.5rem;
}
.range-slider-grid .irs {
  height: 4.5rem;
}
.range-slider-grid .irs-grid {
  height: 2.5rem;
}
.range-slider-grid .irs-grid-text {
  border-radius: 6.1875rem;
  color: #666666;
  display: inline-block;
  font-size: 0.875rem;
  line-height: 1;
  min-width: 2.5rem;
  padding: 0.25rem;
}
.range-slider-grid .irs-grid-text.current {
  background: rgba(55, 125, 255, 0.1);
  color: #000000;
}
.range-slider-grid .irs-grid-pol {
  background-color: rgba(0, 0, 0, 0.25);
  height: 0.9rem;
}
.range-slider-grid .irs-grid-pol.small {
  display: none;
}
/****************************************************
*				NUOVO FANCY				*
*****************************************************/
.fancybox__content {
  padding: 0;
}
.fancybox__container .fancybox__carousel {
  margin: inherit;
}
.fancybox__container .fancybox__carousel .fancybox-image,
.fancybox__container .fancybox__carousel .fancybox-spaceball {
  background: inherit;
  border: 0;
  height: 100%;
  left: auto;
  margin: 0;
  max-height: none;
  max-width: none;
  padding: inherit;
  position: inherit;
  top: auto;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  width: 100%;
}
.fancybox__container .f-thumbs__viewport {
  margin: inherit;
}
.fancybox__container .f-thumbs__viewport .f-thumbs__track {
  margin: inherit;
}
/****************************************************
*				Credit Card				*
*****************************************************/
.credit-card-logos .card-icon {
  display: inline-block;
  width: 40px;
  height: 25px;
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 10px;
}
.credit-card-logos .card-icon[data-card-type="visa"] {
  background-image: url("/img-main/card-logo-visa.svg");
}
.credit-card-logos .card-icon[data-card-type="mastercard"] {
  background-image: url("/img-main/card-logo-mastercard.svg");
}
.credit-card-logos .card-icon[data-card-type="american-express"] {
  background-image: url("/img-main/card-logo-amex.svg");
}
.credit-card-logos .card-icon[data-card-type="diners"] {
  background-image: url("/img-main/card-logo-diners.svg");
}
/****************************************************
*				Button Torna			*
*****************************************************/
a.but_link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  line-height: normal;
  font-weight: 500;
  text-transform: uppercase;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
  transition-timing-function: linear;
}
a.but_link:before {
  content: "";
  width: 20px;
  height: 20px;
  mask-repeat: space round, no-repeat;
  background: #000000 no-repeat center;
  margin-right: 0.500rem;
  position: relative;
  display: inline-block;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
  transition-timing-function: linear;
}
a.but_link.Indietro:before {
  mask: url("/img-main/svg/left-arrow.svg");
}
a.but_link:hover {
  background: transparent;
  color: rgba(0, 0, 0, 0.5);
  border: 0;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
  transition-timing-function: linear;
}
a.but_link:hover:before {
  background: rgba(0, 0, 0, 0.5) no-repeat center;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
  transition-timing-function: linear;
}
