:root {
  --main: #2D4156;
  --dark-red: #7F2445;
  --dark-red-o5: rgba(127, 36, 69, .54);
  --beige: #F7F7F7;
  --azzurro: #E1EBF5;
  --grey: #2D4156;
  --font-family-default: 'Inter', sans-serif;
}
body {
  overflow-x: hidden;
  font-weight: 400;
  font-family: var(--font-family-default);
  color: var(--main);
}
img {
  max-width: 100%;
}
a, a:hover, a:focus, a:active {
  text-decoration: none;
  outline: none;
}
:hover, a{
  -webkit-transition: all 0.25s linear;
  -moz-transition: all 0.25s linear;
  -o-transition: all 0.25s linear;
  -ms-transition: all 0.25s linear;
  transition: all 0.25s linear;
}
strong, b {
  font-weight: 700 !important;
}

/* ANIMATION */
.floating {
  animation: floating 10s linear infinite alternate-reverse both;
}
@-webkit-keyframes floating {
  0% {
    -webkit-transform: rotate(0deg) translate(-10px) rotate(0deg);
            transform: rotate(0deg) translate(-10px) rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg) translate(-10px) rotate(-360deg);
            transform: rotate(360deg) translate(-10px) rotate(-360deg);
  }
}
@keyframes floating {
  0% {
    -webkit-transform: rotate(0deg) translate(-10px) rotate(0deg);
            transform: rotate(0deg) translate(-10px) rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg) translate(-10px) rotate(-360deg);
            transform: rotate(360deg) translate(-10px) rotate(-360deg);
  }
}
@keyframes animate-line-1 {
  0% {
    transform: translate3d 0, 0, 0 rotate(0deg);
  }
  50% {
    transform: translate3d(0, 22px, 0) rotate(0);
  }
  100% {
    transform: translate3d(0, 22px, 0) rotate(45deg);
  }
}
@keyframes animate-line-2 {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0);
    opacity: 0;
  }
}
@keyframes animate-line-3 {
  0% {
    transform: translate3d(0, 0, 0) rotate(0);
  }
  50% {
    transform: translate3d(0, -22px, 0);
  }
  100% {
    transform: translate3d(0, -22px, 0) rotate(135deg);
  }
}
@keyframes animate-line-1-rev {
  0% {
    transform: translate3d(0, 22px, 0) rotate(45deg);
  }
  50% {
    transform: translate3d(0, 22px, 0) rotate(0);
  }
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}
@keyframes animate-line-2-rev {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes animate-line-3-rev {
  0% {
    transform: translate3d(0, -22px, 0) rotate(135deg);
  }
  50% {
    transform: translate3d(0, -22px, 0) rotate(0);
  }
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}
@-webkit-keyframes dropdownFadeIn {
  0% {
    opacity: 0;
    margin-top: 0
  }
  100% {
    opacity: 1;
    margin-top: 16px
  }
}

@keyframes dropdownFadeIn {
  0% {
    opacity: 0;
    margin-top: 0
  }
  100% {
    opacity: 1;
    margin-top: 16px
  }
}

@-webkit-keyframes dropdownFadeInTop {
  0% {
    opacity: 0;
    margin-top: 0
  }
  100% {
    opacity: 1;
    margin-top: -16px
  }
}

@keyframes dropdownFadeInTop {
  0% {
    opacity: 0;
    margin-top: 0
  }
  100% {
    opacity: 1;
    margin-top: -16px
  }
}
@-webkit-keyframes megamenuFadeIn {
  0% {
    opacity: 0;
    margin-top: 16px
  }
  100% {
    opacity: 1;
    margin-top: 16px
  }
}

@keyframes megamenuFadeIn {
  0% {
    opacity: 0;
    margin-top: 16px
  }
  100% {
    opacity: 1;
    margin-top: 16px
  }
}
/* ANIMATION */

/* FOOTER */

footer, footer p:not(.h1, .h2, .h3, .h4, .h5, .h6), footer ul, footer ol {
  font-size: 15px;
}
/* FOOTER */

/* NAVIGAZIONE */
#navigazione .nav-item {
  font-size: 17px;
  font-family: var(--font-family-default);
  color: var(--main);
  text-transform: uppercase;
  font-weight: 800;
}
#navigazione .nav-item .nav-link {
  font-size: 17px;
  color: var(--main);
  display: inline-block;
}
#navigazione .nav-item, #navigazione .nav-item .nav-link  {
  position: relative;
}

#navigazione .nav-item .nav-link {
  position: relative;
  font-weight: bold;
  line-height: 1.4;
  padding: 0 0.35em;
  transition: color 0.5s;
  transition-timing-function: cubic-bezier(0.2,1,0.3,1);
}
#navigazione .nav-item .nav-link::before {
  content: '';
  position: absolute;
  z-index: -1;
  bottom: -4%;
  left: 0;
  width: 100%;
  height: 50%;
  opacity: 0.55;
  background: #bb3565;
  transform: scale3d(0,1,1);
  transform-origin: 0% 50%;
  transition: transform 0.5s;
  transition-timing-function: cubic-bezier(0.2,1,0.3,1);
}
/* Hover */
#navigazione .nav-item .nav-link.active,
#navigazione .nav-item:hover .nav-link,
#navigazione .nav-item:focus .nav-link {
  color: var(--dark-red);
}
#navigazione .nav-item:hover .nav-link::before,
#navigazione .nav-item:focus .nav-link::before{
  transform: scale3d(1,1,1);
}
.navbar-toggler {
  transform: scale(0.4);
}
.menu-icon {
  height: 52px;
  width: 80px;
  cursor: pointer;
  display: block;
}
.menu-icon .line-1,
.menu-icon .line-2,
.menu-icon .line-3 {
  height: 8px;
  width: 100%;
  background-color: var(--dark-red);
  display: block;
}
.menu-icon .line-1 {
  animation: animate-line-1-rev 0.7s ease-in-out;
}
.menu-icon .line-2 {
  margin: 14px 0;
  animation: animate-line-2-rev 0.7s ease-in-out;
}
.menu-icon .line-3 {
  animation: animate-line-3-rev 0.7s ease-in-out;
}
.menu-icon.active .line-1 {
  animation: animate-line-1 0.7s cubic-bezier(0.3, 1, 0.7, 1) forwards;
}
.menu-icon.active .line-2 {
  animation: animate-line-2 0.7s cubic-bezier(0.3, 1, 0.7, 1) forwards;
}
.menu-icon.active .line-3 {
  animation: animate-line-3 0.7s cubic-bezier(0.3, 1, 0.7, 1) forwards;
}
.no-animation {
  animation: none !important;
}

#navigazione .dropdown-menu {
  background: rgba(255,255,255,.35);
  backdrop-filter: blur(7px);
  box-shadow: inset 0 0 2000px rgb(255,255,255,1);
  border-radius: 0;
  border: 1px solid rgba(127, 36, 69, .75);
}
#navigazione .dropdown-item {
  white-space: normal;
  text-transform: none;
  font-size: 15px;
  --bs-dropdown-link-hover-bg: var(--azzurro);
}
#navigazione .dropdown-menu .text-uppercase {
  font-size: 13px;
  font-weight: bold;
  padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);
}
#navigazione .dropdown-item:hover {
  text-decoration: underline;
}
/* NAVIGAZIONE 

/* TIPOGRAFIA */
.font-inter {
  font-family: var(--font-family-default);
}
h1,h2,h3,h4,h5,h6,p {
 margin-bottom: 0;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  font-weight: inherit;
}
h1,h2,.h1,.h2, .strong-big strong, .strong-big b {}
.h-uppercase *:is(h1, h2, h3) { text-transform: uppercase; }
.h-mb-5 *:is(h1, h2, h3) { margin-bottom: 3rem; }
.h-fw-bold *:is(h1, h2, h3) { font-weight:bold; }
p:not(.h1, .h2, .h3, .h4, .h5, .h6), ul, ol {
  font-size: 17px;
}
.p-big p:not(.h1, .h2, .h3, .h4, .h5, .h6),
.p-first p:first-child:not(.h1, .h2, .h3, .h4, .h5, .h6) {
  font-size: 20px;
}
.p-small p:not(.h1, .h2, .h3, .h4, .h5, .h6) {
  font-size: 15px;
}
.h-mt h1, .h-mt h2, .h-mt h3, .h-mt h4, .h-mt h5, .h-mt h6 {
  margin-top: 2.5rem; 
}
.h-mb h1, .h-mb h2, .h-mb h3, .h-mb h4, .h-mb h5, .h-mb h6  {
  margin-bottom: 1.5rem;
}
.p-mb p:not(:last-child) {
  margin-bottom: 1rem;
}
.list-mt ul, .list-mt ol {
  margin-top: 1rem;
}
.li-mb li:not(:last-child) {
  margin-bottom: 1rem;
}
.h-uppercase h1, .h-uppercase h2, .h-uppercase h3, .h-uppercase h4, .h-uppercase h5, .h-uppercase h6 {
  text-transform: uppercase;
}
.h-strong h1, .h-strong h2, .h-strong h3, .h-strong h4, .h-strong h5, .h-strong h6 {
  font-weight: bolder;
}
.list-p-0 ol, .list-p-0 ul {
  padding-left: 20px;
}
.list-custom li {
  list-style-type: none;
  position: relative;
}
.list-custom li::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 5px;
  width: 14px;
  height: 10px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
  background: url('../img/svg/icon-hand.svg') no-repeat center;
  background-size: contain;
}
.link-reset a {
  color: inherit;
}
.link-underline a {
  text-decoration: underline;
}
.link-hunderline a:hover,
.link-hunderline a:focus,
.link-hunderline a:active {
  text-decoration: underline;
}
.testata h1, .testata h2, .testata .h1, .testata .h2 {
  font-weight: 300;
  text-transform: uppercase;
  word-break:break-word;
  overflow-wrap: break-word;
}
.breadcrumb {
  background-color: transparent;
  border-radius: 0;
  color: inherit;
  font-size: 14px;
  margin-bottom: 0;
  padding: 0.75rem 1rem;
}
.breadcrumb-item+.breadcrumb-item::before {
  content: '>';
}
.breadcrumb  a, .breadcrumb-item+.breadcrumb-item::before, .breadcrumb-item+.breadcrumb-item.active {
  color: var(--main);
}
.breadcrumb .breadcrumb-item:last-child {
  font-weight: bold;
}
.breadcrumb .breadcrumb-item::before {
  font-weight: normal;
}
.fs-small {
  font-size: 14px !important;
}
/* TIPOGRAFIA */

/* COLORS */
.azzurro {
  background: var(--azzurro);
}
.dark-red {
  background: var(--dark-red);
}
.dark-red-o5 {
  background: var(--dark-red-o5);
}
.main {
  background: var(--main);
}
.white {
  background: #fff;
}
.text-dark-red {
  color: var(--dark-red);
}
.border-azzurro {
  border-color: var(--azzurro) !important;
}
.border-main {
  border-color: var(--main) !important;
}
.border-white {
  border-color: #fff !important;
}
.border-dark-red {
  border-color: var(--dark-red) !important;
}
.filter-main .wrap-img::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  background: rgba(45, 65, 86, .7);
}
.filter-main, .filter-main .wrap-img::after, .filter-main .wrap-img img {
  -webkit-transition: all 0.25s linear;
  -moz-transition: all 0.25s linear;
  -o-transition: all 0.25s linear;
  -ms-transition: all 0.25s linear;
  transition: all 0.25s linear;
}
.filter-main:hover .wrap-img img {
  transform: scale(1.2);
}
.filter-main:hover .wrap-img::after {
  backdrop-filter: blur(3px);
}
.strong-dark-red strong,
.strong-dark-red b {
  color: var(--dark-red);
}
.hr-azzurro hr {
  margin: 1.5rem 0;
  --bs-border-width: 2px;
  border-color: var(--azzurro);
  opacity: 1;
}
.link-dark-red a {
  --bs-link-color-rgb: 127, 36, 69;
  --bs-link-hover-color-rgb: var(--main);
}
.link-dark-red a:hover {
  --bs-link-color-rgb: var(--bs-link-hover-color-rgb);
}
.master-box-hover { position:relative; }
.master-box-hover, .master-box-hover > * {
  -webkit-transition: all 0.25s linear;
  -moz-transition: all 0.25s linear;
  -o-transition: all 0.25s linear;
  -ms-transition: all 0.25s linear;
  transition: all 0.25s linear;
}
.master-box-hover:hover .border-azzurro { border-color:var(--dark-red) !important; }
.master-box-hover:hover p { color:var(--dark-red); }

.white-to-azzurro-x {
  background: #ffffff;
  background: -moz-linear-gradient(left, #ffffff 0%, #ffffff 50%, var(--azzurro) 50%, var(--azzurro) 100%);
  background: -webkit-linear-gradient(left, #ffffff 0%, #ffffff 50%, var(--azzurro) 50%, var(--azzurro) 100%);
  background: linear-gradient(to right, #ffffff 0%, #ffffff 50%, var(--azzurro) 50%, var(--azzurro) 100%);
}
.white-to-azzurro-y {
  background: #ffffff;
  background: -moz-linear-gradient(top, #ffffff 0%, #ffffff 50%, var(--azzurro) 50%, var(--azzurro) 100%);
  background: -webkit-linear-gradient(top, #ffffff 0%, #ffffff 50%, var(--azzurro) 50%, var(--azzurro) 100%);
  background: linear-gradient(to bottom, #ffffff 0%, #ffffff 50%, var(--azzurro) 50%, var(--azzurro) 100%);
}
/* COLORS */


/* BUTTONS */

.link-btn a {
  --bs-btn-padding-x: 0.75rem;
  --bs-btn-padding-y: 0.375rem;
  --bs-btn-font-family: ;
  --bs-btn-font-size: 1rem;
  --bs-btn-font-weight: 400;
  --bs-btn-line-height: 1.5;
  --bs-btn-color: var(--bs-body-color);
  --bs-btn-bg: transparent;
  --bs-btn-border-width: var(--bs-border-width);
  --bs-btn-border-color: transparent;
  --bs-btn-border-radius: 0.375rem;
  --bs-btn-hover-border-color: transparent;
  --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
  --bs-btn-disabled-opacity: 0.65;
  --bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);
  display: inline-block;
  padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
  font-family: var(--bs-btn-font-family);
  font-size: var(--bs-btn-font-size);
  font-weight: var(--bs-btn-font-weight);
  line-height: var(--bs-btn-line-height);
  color: var(--bs-btn-color);
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);
  border-radius: var(--bs-btn-border-radius);
  background-color: var(--bs-btn-bg);
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
   word-break: break-word;
  overflow-wrap: break-word;
  border-radius: 0;
  --bs-btn-padding-y: 0.75rem;
}
@media (prefers-reduced-motion: reduce) {
  .link-btn a {
    transition: none;
  }
}
.link-btn a:hover {
  color: var(--bs-btn-hover-color);
  background-color: var(--bs-btn-hover-bg);
  border-color: var(--bs-btn-hover-border-color);
}
.link-me-2 a { margin-right: 0.5rem !important; }
.link-mt-3 a { margin-top: 1rem !important; }

.btn {
  word-break: break-word;
  overflow-wrap: break-word;
  border-radius: 0;
  --bs-btn-padding-y: 0.75rem;
}
.btn-primary {
  --bs-btn-bg: var(--dark-red);
  --bs-btn-border-color: var(--dark-red);
  --bs-btn-hover-bg: var(--main);
  --bs-btn-hover-border-color: var(--main);
  --bs-btn-active-border-color: var(--main);
  --bs-btn-active-bg: var(--main);
  text-align: center;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 15px;
  min-width: 250px;
  min-height: 50px;
}
.btn:hover {
    color: var(--bs-btn-hover-color);
    background-color: var(--bs-btn-hover-bg);
    border-color: var(--bs-btn-hover-border-color);
}
.btn-min-w {
  min-width: 200px;
}
.btn-min-w-250 {
  min-width: 250px;
}
.btn-slim {
  padding-top: .8rem !important;
  padding-bottom: .8rem !important;
}
.btn-default {
  background: #fff;
  border: 1px solid transparent;
  border-radius: 9px;
  box-shadow: 0px 3px 9px rgba(0, 0, 0, 0.16);
  color: var(--main);
  font-size: 15px;
  padding: 1rem 1.75rem;
  -webkit-transition: color 0.25s, background 0.25s;
  transition: color 0.25s, background 0.25s;
}
.btn-default.active,
.btn-default:hover,
.btn-default:focus,
.btn-default:active {
  background: var(--dark-red);
  color: #fff;
}
.btn-default.focus, .btn-default:focus {
  box-shadow: 0 0 0 0.2rem rgba(127, 36, 69, .25);
}

.btn-red {
  background: var(--dark-red);
  border: 1px solid var(--dark-red);
  color: #fff;
  font-size: 15px;
  padding: 1rem 1.75rem;
  -webkit-transition: border-color 0.25s, background 0.25s;
  transition: border-color 0.25s, background 0.25s;
}
.btn-red.active,
.btn-red:hover,
.btn-red:focus,
.btn-red:active {
  background: var(--main);
  border-color: var(--main);
  color: #fff;
}
.btn-red.focus, .btn-red:focus {
  box-shadow: 0 0 0 0.2rem rgba(45, 65, 86, .25);
}

.btn-outline-red {
  background: transparent;
  border: 2px solid var(--dark-red);
  color: var(--main);
  font-size: 15px;
  padding: 1rem 1.75rem;
  -webkit-transition: color 0.25s, background 0.25s;
  transition: color 0.25s, background 0.25s;
}
.btn-outline-red.active,
.btn-outline-red:hover,
.btn-outline-red:focus,
.btn-outline-red:active {
  background: var(--dark-red);
  color: #fff;
}
.btn-outline-red.focus, .btn-outline-red:focus {
  box-shadow: 0 0 0 0.2rem rgba(45, 65, 86, .25);
}

.btn-outline-azzurro,
.link-btn-outline-azzurro a {
  background: transparent;
  border: 2px solid var(--azzurro);
  color: var(--main);
  font-size: 15px;
  padding: 1rem 1.75rem;
  -webkit-transition: color 0.25s, background 0.25s;
  transition: color 0.25s, background 0.25s;
}
.btn-outline-azzurro.active,
.btn-outline-azzurro:hover,
.btn-outline-azzurro:focus,
.btn-outline-azzurro:active,
.link-btn-outline-azzurro a:active,
.link-btn-outline-azzurro a:hover,
.link-btn-outline-azzurro a:focus {
  background: var(--azzurro);
  color: var(--main);
}
.btn-outline-azzurro.focus, .btn-outline-azzurro:focus,
.link-btn-outline-azzurro a:focus {
  box-shadow: 0 0 0 0.2rem rgba(225, 235, 245, .25);
}

.btn-full-grey {
  border: 1px solid var(--grey);
  background: var(--grey);
  border-radius: 0;
  color: #fff;
  font-size: 18px;
  padding: 0.75rem 1.75rem;
  -webkit-transition: color 0.25s, background 0.25s, border-color 0.25s;
  transition: color 0.25s, background 0.25s, border-color 0.25s;
}
.btn-full-grey:hover,
.btn-full-grey:focus,
.btn-full-grey:active {
  background: transparent;
  color: var(--grey);
  border-color: var(--grey);
}
.btn-full-grey.focus, .btn-full-grey:focus {
  box-shadow: 0 0 0 0.2rem rgba(62, 62, 62, .25);
}

.btn-full-azzurro {
  border: 1px solid var(--azzurro);
  background: var(--azzurro);
  border-radius: 0;
  color: #fff;
  font-size: 18px;
  padding: 0.75rem 1.75rem;
  -webkit-transition: color 0.25s, background 0.25s, border-color 0.25s;
  transition: color 0.25s, background 0.25s, border-color 0.25s;
}
.btn-full-azzurro:hover,
.btn-full-azzurro:focus,
.btn-full-azzurro:active {
  background: transparent;
  color: var(--azzurro);
  border-color: var(--azzurro);
}
.btn-full-azzurro.focus, .btn-full-azzurro:focus {
  box-shadow: 0 0 0 0.2rem rgba(28, 172, 217, .25);
}
.link-main:hover {
  color: var(--main);
}
.link-main:hover .border{
  border-color: var(--main) !important;
}
.link-icon-beat:hover i {
  -webkit-animation-name: fa-beat;
          animation-name: fa-beat;
  -webkit-animation-delay: var(--fa-animation-delay, 0s);
          animation-delay: var(--fa-animation-delay, 0s);
  -webkit-animation-direction: var(--fa-animation-direction, normal);
          animation-direction: var(--fa-animation-direction, normal);
  -webkit-animation-duration: var(--fa-animation-duration, 1s);
          animation-duration: var(--fa-animation-duration, 1s);
  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
          animation-iteration-count: var(--fa-animation-iteration-count, infinite);
  -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);
          animation-timing-function: var(--fa-animation-timing, ease-in-out); }
}
/* BUTTONS */

/* TABLES */
.table-custom table {
  --bs-table-color: var(--bs-body-color);
  --bs-table-bg: transparent;
  --bs-table-border-color: var(--bs-border-color);
  --bs-table-accent-bg: transparent;
  --bs-table-striped-color: var(--bs-body-color);
  --bs-table-striped-bg: rgba(0, 0, 0, 0.05);
  --bs-table-active-color: var(--bs-body-color);
  --bs-table-active-bg: rgba(0, 0, 0, 0.1);
  --bs-table-hover-color: var(--bs-body-color);
  --bs-table-hover-bg: rgba(0, 0, 0, 0.075);
  width: 100%;
  margin-bottom: 1rem;
  color: var(--bs-table-color);
  vertical-align: top;
  border-color: var(--bs-table-border-color);
  border: none !important;
}
.table-custom table > :not(caption) > * > * {
  padding: 0.5rem 0.5rem;
  background-color: var(--bs-table-bg);
  border-bottom-width: var(--bs-border-width);
  box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
}
.table-custom table > tbody {
  vertical-align: inherit;
}
.table-custom table > thead {
  vertical-align: bottom;
}

.table-custom table {
  --bs-table-color: var(--bs-body-color);
  --bs-table-bg: transparent;
  --bs-table-border-color: var(--bs-border-color);
  --bs-table-accent-bg: transparent;
  --bs-table-striped-color: var(--bs-body-color);
  --bs-table-striped-bg: rgba(0, 0, 0, 0.05);
  --bs-table-active-color: var(--bs-body-color);
  --bs-table-active-bg: rgba(0, 0, 0, 0.1);
  --bs-table-hover-color: var(--bs-body-color);
  --bs-table-hover-bg: rgba(0, 0, 0, 0.075);
  width: 100% !important;
  margin-bottom: 1rem;
  color: var(--bs-table-color);
  vertical-align: top;
  border-color: var(--bs-table-border-color);
  border: none !important;
}
.table-responsive table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table-custom table > :not(caption) > * > * {
  padding: 0.5rem 0.5rem;
  background-color: var(--bs-table-bg);
  border-bottom-width: var(--bs-border-width);
  box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
}
.table-custom table > tbody {
  vertical-align: inherit;
}
.table-custom table > thead {
  vertical-align: bottom;
}
.table-custom table thead th {
  padding-bottom: 1.5rem !important;
}

.table-custom thead th {
  padding-bottom: 1.5rem!important;
  border-bottom: 0;
}
.table-custom thead {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1020;
}
.table-custom.table-border-white td {
  border-color: white!important;
}
.table-custom.table-border-main td {
  border-color: var(--main)important;
}
.table-sm table > :not(caption) > * > * {
  padding: 0.25rem 0.25rem;
}
.table-agevolazioni table {
  --bs-table-color: var(--bs-body-color);
  --bs-table-bg: transparent;
  --bs-table-border-color: var(--bs-border-color);
  --bs-table-accent-bg: transparent;
  --bs-table-striped-color: var(--bs-body-color);
  --bs-table-striped-bg: rgba(0, 0, 0, 0.05);
  --bs-table-active-color: var(--bs-body-color);
  --bs-table-active-bg: rgba(0, 0, 0, 0.1);
  --bs-table-hover-color: var(--bs-body-color);
  --bs-table-hover-bg: rgba(0, 0, 0, 0.075);
  width: 100% !important;
  margin-bottom: 1rem;
  color: var(--bs-table-color);
  vertical-align: top;
  border-color: var(--bs-table-border-color);
  border: none !important;
}
.table-agevolazioni table > :not(caption) > * > * {
  padding: 0.5rem 0.5rem;
  background-color: var(--bs-table-bg);
  border-bottom-width: var(--bs-border-width);
  box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
}
.table-agevolazioni table > tbody {
  vertical-align: inherit;
}
.table-agevolazioni table > tbody > tr {
  border-color: var(--azzurro);
}
.table-agevolazioni table > thead {
  vertical-align: bottom;
  background-color: var(--azzurro);
  border: 0;
}
.table-agevolazioni table > thead > tr {
  border-color: var(--azzurro);
}
.table-agevolazioni table > thead > tr > td:last-child,
.table-agevolazioni table > tbody > tr > td:last-child {
  min-width: 100px;
}

#elenco_corsi #corsi_wrapper .row:first-child {
  padding-bottom: 2.5rem;
  align-items: center;
}
#elenco_corsi #corsi_wrapper .form-control { 
  min-height:auto;
  max-width: 50%;
}
#elenco_corsi #corsi_wrapper thead th::before {
  bottom: 50%;
}
#elenco_corsi #corsi_wrapper thead th::after {
  bottom: 50%;
}
#elenco_corsi #corsi_wrapper thead th::before,
#elenco_corsi #corsi_wrapper thead th::after {
  transform: translateY(-50%);
}
/* TABLES */

/* STILE FORM */
.form-control::-webkit-input-placeholder {
  color: var(--main);
}
.form-control::-moz-placeholder {
  color: var(--main);
}
.form-control:-ms-input-placeholder {
  color: var(--main);
}
.form-control::-ms-input-placeholder {
  color: var(--main);
}
.form-control::placeholder {
  color: var(--main);
}
.form-control {
  border-radius: 0;
  font-size: 16px;
  min-height: 50px;
}
textarea.form-control {
  height: 50px;
}
.form-control:not(.form-select) {
  background: #fff;
}
.form-control:focus, .form-control:active {
  color: var(--main);
  border-color: var(--dark-red);
  box-shadow: 0 0 0 0.2rem rgb(229, 68, 34, .25);
}
.form-check-primary .custom-control-input:checked~.custom-control-label::before,
.form-check.form-check-primary .form-check-input:checked {
  background-color: #71b6f9!important;
  border-color: #71b6f9!important;
}
.form-check-info .custom-control-input:checked~.custom-control-label::before,
.form-check.form-check-info .form-check-input:checked {
  background-color: #35b8e0!important;
  border-color: #35b8e0!important;
}
.form-check-red .custom-control-input:checked~.custom-control-label::before,
.form-check.form-check-red .form-check-input:checked {
  background-color: var(--dark-red)!important;
  border-color: var(--dark-red)!important;
}
.form-check-red .custom-control-input:focus~.custom-control-label::before,
.form-check.form-check-red .form-check-input:focus  {
  border-color: var(--dark-red)!important;
  box-shadow: 0 0 0 0.2rem rgba(229, 68, 34, .25);
}
.form-check, .custom-checkbox {
  text-align: left;
}
.form-check label, .custom-checkbox label,
.custom-control-label, .form-check-label {
  font-weight: normal;
  font-size: 16px;
}
.form-check label a, .custom-checkbox label a {
  color: inherit;
  text-decoration: underline;
}

.form-check label a:hover, .custom-checkbox label a:hover,
.form-check label a:focus, .custom-checkbox label a:focus,
.form-check label a:active, .custom-checkbox label a:active{
  color: #71b6f9;
}
.custom-file-btn input[type="file"] {
  display: none;
}
.custom-file-btn .custom-file-label-btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 16px;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.375rem 1.75rem;
  min-height: 50px;
  padding: 0.875rem 1.75rem;
  cursor: pointer;
}
/* FINE STILE FORM */

/* SLIDER */
.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.swiperFade .swiper-slide:not(.swiper-slide-active) {
  opacity: 0!important;
}
.swiperFade .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  border: 1px solid var(--dark-red);
  background: transparent;
  opacity: 1;
}
.swiperFade .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: var(--dark-red);
}
.mySwiper .swiper-slide:not(.swiper-slide-active) {
  backface-visibility: hidden !important;
  opacity: 0 !important;
}
/*
.mySwiper .swiper-slide-active {
  width: auto !important;
  max-width: 100%;
}
.mySwiper .swiper-slide-active > div { width: 660px; margin-left: calc(-50% - 60px); }
.mySwiper .swiper-slide:not(.swiper-slide-active) p {
  opacity: 0;
  visibility: hidden;
  backface-visibility: hidden;
  height: 0;
  margin:0;
}
.mySwiper .swiper-slide:not(.swiper-slide-active) .rounded-circle {
  position: absolute;
}
.mySwiper .swiper-slide .rounded-circle {
  width: 88px;
  height: 88px;
  top: 2rem;
  left: 0;
  animation: floating 10s linear infinite alternate-reverse both;
}
.mySwiper .swiper-slide-active .rounded-circle {
  width: 226px;
  height: 226px;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  margin: auto;
  animation: none;
}
.mySwiper .swiper-slide-prev .rounded-circle {
  width: 108px;
  height: 108px;
  left: auto;
  top: 5rem;
}
.mySwiper .swiper-slide-next .rounded-circle {
  width: 150px;
  height: 150px;
  left: auto;
  top: 3rem;
}
.mySwiper .swiper-slide * {
  -webkit-transition: all 0.35s ease-in-out;
  -moz-transition: all 0.35s ease-in-out;
  -o-transition: all 0.35s ease-in-out;
  -ms-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
}
.mySwiper .swiper-slide p {
  -webkit-transition: height 0.10s ease-in-out;
  -moz-transition: height 0.10s ease-in-out;
  -o-transition: height 0.10s ease-in-out;
  -ms-transition: height 0.10s ease-in-out;
  transition: height 0.10s ease-in-out;
}*/
.mySwiper .swiper-slide {
  height: auto;
}
.swiper-button-next,
.swiper-button-prev {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 3px;
  border: 1px solid var(--dark-red);
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
}
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 16px;
  color: var(--dark-red);
}
/* SLIDER */

/* CLASSI GENERALI */
.wrap-img {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}
.wrap-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.box-prod {
  -webkit-transition: all 0.25s linear;
  -moz-transition: all 0.25s linear;
  -o-transition: all 0.25s linear;
  -ms-transition: all 0.25s linear;
  transition: all 0.25s linear;
  position: relative;
}
.box-prod:hover {
  border-color: var(--grey) !important;
}
.box-prod .title-box-prod {
  font-weight: 300;
  -webkit-transition: all 0.25s linear;
  -moz-transition: all 0.25s linear;
  -o-transition: all 0.25s linear;
  -ms-transition: all 0.25s linear;
  transition: all 0.25s linear;
}
.box-prod:hover .title-box-prod {
  font-weight: 700;
}
.separatore {
  max-width: 100%;
  width: 380px;
  height: 8px;
  background: #BABABA;
  -webkit-transition: all 0.25s linear;
  -moz-transition: all 0.25s linear;
  -o-transition: all 0.25s linear;
  -ms-transition: all 0.25s linear;
  transition: all 0.25s linear;
}
.separatore.separatore-white {
  background: #fff;
}
.box-prod:hover .separatore, .box-prod:hover .separatore.separatore-white {
  background: var(--azzurro);
}

.box-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
  background: var(--grey);
}
.box-circle.box-small {
  width: 66px;
  height: 66px;
}
.box-circle img {
  max-width: 100%;
  max-height: 100%;
}
.p-first p:first-child {
  font-weight: bold;
}
.show-p-first p:not(:first-child) { display: none !important }
.link-reset a { 
  --bs-text-opacity: 1;
  color: inherit!important;
}
.link-inline-block a { display: inline-block!important; }
.link-block a { display: block!important; }
.nav-pills .row:not(.active) i,
.nav-pills .row:not(.active) .rounded-circle {
  opacity: 0;
  visibility: hidden;
  backface-visibility: hidden;
}
.nav-pills .row:not(.active) .rounded-circle {
  height: 0!important;
  width: 0!important;
  margin-bottom: 0 !important;
}
.nav-pills .row:not(.active) .text-dark-red {
  color: var(--main) !important;
  margin: 0 !important;
}
.nav-pills .row { cursor: pointer; }
.nav-pills .row * {
  -webkit-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  -ms-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}
.card-logo {
  max-width: 160px;
  background-color: #fff;
  padding: 10px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--main);
}
/* CLASSI GENERALI */


.shadow-sm {
    box-shadow: 0 0.140rem 2.5rem rgba(0, 0, 0, 0.175) !important;
}

button.iub-accessibility-btn {
  position: fixed;
  bottom: 14px;
  left: 10px;
}