/*-------ACM HERO Generale----*/
.acm-hero.light .hero-heading,
.acm-hero.light .name {
  --headings-color: #fff;
  color: #fff;
}
/*-------ACM HERO Style 1-----*/
.acm-hero.style-1 .acm-hero-item .dark {
  --headings-color: #212121;
  color: #212121;
}
.acm-hero.style-1 .acm-hero-item {
  --body-text-color: rgba(255, 255, 255, 0.8);
  --headings-color: #fff;
  background-size: cover;
  position: relative;
  color: var(--body-text-color);
}
.acm-hero.style-1 .acm-hero-item::after {
  background: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.6)), to(rgba(0, 0, 0, 0)));
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 50%;
}
.acm-hero.style-1 .acm-hero-item.mask-rtl:after {
  background: -webkit-gradient(linear, right top, left top, from(rgba(0, 0, 0, 0.6)), to(rgba(0, 0, 0, 0)));
  background: linear-gradient(to left, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
  right: 0;
  left: auto;
}
.acm-hero.style-1 .acm-hero-item.mask-btt:after {
  background: -webkit-gradient(linear, left bottom, left top, from(var(--body-bg-color)), to(transparent));
  background: linear-gradient(to top, var(--body-bg-color), transparent);
  width: 100%;
}
.acm-hero.style-1 .acm-hero-item.mask-normal:after {
  background: rgba(0, 0, 0, 0.6);
  width: 100%;
}
.acm-hero.style-1 .acm-hero-item.no-mask:after {
  display: none;
}
.acm-hero.style-1 .owl-item .hero-content-inner > * {
  transform: translateY(45%) !important;
  -webkit-transform: translateY(45%) !important;
  opacity: 0 !important;
  -webkit-transition: 2000ms all !important;
  transition: 2000ms all !important;
}
.acm-hero.style-1 .owl-item .hero-content-inner > *:nth-child(1) {
  -webkit-transition-delay: 100ms !important;
  transition-delay: 100ms !important;
}
.acm-hero.style-1 .owl-item .hero-content-inner > *:nth-child(2) {
  -webkit-transition-delay: 300ms !important;
  transition-delay: 300ms !important;
}
.acm-hero.style-1 .owl-item .hero-content-inner > *:nth-child(3) {
  -webkit-transition-delay: 600ms !important;
  transition-delay: 600ms !important;
}
.acm-hero.style-1 .owl-item .hero-content-inner > *:nth-child(4) {
  -webkit-transition-delay: 800ms !important;
  transition-delay: 800ms !important;
}
.acm-hero.style-1 .owl-item.active .hero-content-inner > * {
  transform: translateY(0) !important;
  -webkit-transform: translateY(0) !important;
  opacity: 1 !important;
  -webkit-transition: 2000ms all;
  transition: 2000ms all;
}
.acm-hero.style-1 .hero-content {
  position: relative;
  z-index: 20;
}
.acm-hero.style-1 .has-bg .hero-content {
  min-height: 45rem;
}
@media (max-width: 991.98px) {
.acm-hero.style-1 .has-bg .hero-content {
  min-height: 30rem;
}
}
.acm-hero.style-1 .sub-heading h4, .acm-hero.style-1 .sub-heading .h4 {
  font-size: var(--h6-font-size);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
/*-------Correzioni ACM-----*/
.acm-hero.style-1 .hero-content {
  position: relative;
  z-index: 2;
}
.acm-hero.style-1 .acm-hero-item {
  background-position: center center;
  /*height: 750px;  */
}
/*
@media (max-width: 1199.98px) {
.acm-hero.style-1 .acm-hero-item {
  height: 600px;
}
}
@media (max-width: 991.98px) {
.acm-hero.style-1 .acm-hero-item {
  height: 400px;
}
}
*/
div.owl-carousel div.owl-nav {
  margin-top: 0;
}
.acm-hero.style-1 .owl-carousel .owl-nav button.owl-prev {
  left: 20%;
  position: fixed;
  -webkit-transition: 0.25s ease;
  transition: 0.25s ease;
  -webkit-transform: scale(0);
  transform: scale(0);
  opacity: 0;
  visibility: hidden;
}
.acm-hero.style-1 .owl-carousel .owl-nav button.owl-next {
  right: 20%;
  position: fixed;
  -webkit-transition: 0.25s ease;
  transition: 0.25s ease;
  -webkit-transform: scale(0);
  transform: scale(0);
  opacity: 0;
  visibility: hidden;
}
.acm-hero.style-1 div.owl-carousel div.owl-nav > button.owl-prev, 
.acm-hero.style-1 div.owl-carousel div.owl-nav > button.owl-next {
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  cursor: pointer;
  z-index: 0;
  font-size: 54px;
  text-align: center;
  width: 50px;
  height: 50px;
  line-height: 37px;
  padding: 0 0 25px !important;
  margin-top: -20px;
  -webkit-transition: 0.25s ease;
  transition: 0.25s ease;
  color: #222;
  border: none;
}
.acm-hero.style-1 div.owl-carousel div.owl-nav > button.owl-prev span, 
.acm-hero.style-1 div.owl-carousel div.owl-nav > button.owl-next span {
  margin-top: -20px;	
}
.acm-hero.style-1 .owl-carousel:hover .owl-nav button.owl-prev,
.acm-hero.style-1 .owl-carousel:hover .owl-nav button.owl-next {
  -webkit-transform: scale(1);
  transform: scale(1);
  opacity: 1;
  visibility: visible;
}
.acm-hero.style-1 .owl-carousel:hover .owl-nav button.owl-prev {
  left: 20px;
}
.acm-hero.style-1 .owl-carousel:hover .owl-nav button.owl-next {
  right: 20px;
}
/*---------Style 2------*/
.acm-hero.style-2 {
  box-shadow: 0 0 20px rgba(0,0,0,0.05);
  -moz-box-shadow: 0 0 20px rgba(0,0,0,0.05);
  -webkit-box-shadow: 0 0 20px rgba(0,0,0,0.05);
}  
.acm-hero.style-2 .hero-media-wrap {
  padding-bottom: 50%;
  position: relative;
}
@media (min-width: 768px) {
.acm-hero.style-2 .hero-media-wrap {
  padding-bottom: 50%;
}
}
@media (min-width: 992px) {
.acm-hero.style-2 .hero-media-wrap {
  height: 100%;
  padding-bottom: 0;
}
}
.acm-hero.style-2 .hero-media {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.acm-hero.style-2 .hero-content {
  padding: 6rem 6rem;
  max-width: 760px;
}
@media (max-width: 1199.98px) {
.acm-hero.style-2 .hero-content {
  padding: 4rem 4rem;
}
}
@media (max-width: 767.98px) {
.acm-hero.style-2 .hero-content {
  padding: 2rem 1rem;
}
}
.acm-hero.style-2 .hero-content .hero-actions {
  margin-top: 4rem;
}
@media (max-width: 991.98px) {
.acm-hero.style-2 .hero-content .hero-actions {
  margin-top: 2rem;
}
}
@media (max-width: 575.98px) {
.acm-hero.style-2 .hero-content .hero-actions {
  margin-top: 1rem;
}
}
.container .acm-hero.style-2 .hero-content {
  padding-left: 2rem;
  padding-right: 2rem;
}
.acm-hero.style-2 .content-info {
  margin-top: 50px;
}
.acm-hero.style-2 .hero-content p,
.acm-hero.style-2 .position  {
  opacity: 0.75;
  margin-bottom: 0;
}
.acm-hero.style-2 .content-info h4 {
  font-size: var(--h5-font-size);
  font-weight: var(--heading-font-weight);
}
/*---------Style 5-------*/
.hero-wrapper  {
  overflow: hidden;
}
.hero-video > .inner {
  z-index: 1;
  position: relative;
  display: flex;
  vertical-align: middle;
  padding: 20px;
  justify-content: center;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}
.hero-video, .hero .hero-video {
  overflow: hidden;
  display: table;
  height: 100%;
  width: 100%;
  background-size: 100% auto !important;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  position: relative;
  background-size: cover !important;
  z-index: 0;
}
.hero-video #doneimg > video {
  position: absolute;
  display: block;
  z-index: 0;
  top: 50%;
  left: 50%;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  background-size: cover;
  transition: 1s opacity;
  overflow: hidden;
}
.hero-image {
  position: relative;
  overflow: hidden;
  display: table;
  height: 100%;
  width: 100%;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  z-index: 0;
}
.hero-image.fixed {
  background-attachment: fixed;
}
.hero-image.mask {
  position: relative;
}
.hero-image.parallax {
  background-attachment: fixed;
}
.t4-section .full-width .row > *  {
 padding-right: 0;
  padding-left: 0;
}
.hero-wrapper.style-5 .inner {
  /*text-transform: uppercase;*/
  display: table-cell;
  vertical-align: middle;
  height: 100%;
  top: 50%;
  font-weight: normal!Important;
  z-index: 1;
  position: relative;
  padding: 140px 50px;
}
@media (max-width: 1600px) {
.hero-wrapper.style-5 .inner {
  padding: 120px 32px;
}
}
@media (max-width: 1280px) {
.hero-wrapper.style-5 .inner {
  padding: 90px 32px;
}
}
@media (max-width: 767.98px) {
.hero-wrapper.style-5 .inner {
  padding: 60px 32px;
}
}
@media (min-width: 1024px) {
.hero-wrapper.style-5 .inner p {
    font-size: 1.125rem;
}
}
.hero-wrapper.style-5 .inner h1 {
  font-size: calc(1.25rem + 2vw);
  margin-bottom: 0.5rem;
}
@media (min-width: 1280px) {
.hero-wrapper.style-5 .inner h2 {
  font-size: calc(1.25rem + 1.25vw);
  margin-bottom: 0.5rem;  
}
}
.hero-image.bg-mask::after {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  z-index: 0;
}
.hero-image.bg-mask::after {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  z-index: 0;
}
/*-------ACM HERO VIDEO--------*/
.acm-hero.style-2 .hero-media-wrap {
  /*padding-bottom: 0;*/
}
@media (min-width: 1280px) {
.acm-video.style-2 .hero-content {
  padding: 6rem 4rem;
}
}
.acm-hero.style-3 .acm-hero-item {
  padding: 96px 48px;
}
.acm-video.style-1 {
  height: 100%;
  padding: 48px 32px;  
  background-size: cover !important;
  text-align: center;
}
.video-intro.style-2{
  background-size: cover;
  background-position: center center!important;
  height: 100%;
  text-align: center;
  position: relative;
}
.acm-video .btn.html5lightbox, .acm-video .btn.html5link {
  color: #fff;
  background: none;
  border-radius: 50%;
  width: 150px;
  height: 150px;
  line-height: 146px;
  padding: 0;
  border: 2px solid #fff;
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 992px) {
.acm-video.style-1  {
  padding: 96px 48px;
}  
}
.acm-hero.style-2 .video-intro  a {
  color: #fff;
  font-size: 1.75rem;
}
/*--------MASK----------*/
.bg-light-30::before {
  background: rgba(255, 255, 255, 0.3);
  content: "";
  left: 0;
  top: 0;
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: 0;
}
.bg-light-60::before {
  background: rgba(255, 255, 255, 0.6);
  content: "";
  left: 0;
  top: 0;
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: 0;
}
.bg-dark-30::before {
  background: rgba(34, 34, 34, 0.3);
  content: "";
  left: 0;
  top: 0;
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: 0;
  color:#fff;
}
.bg-dark-60::before {
  background: rgba(34, 34, 34, 0.6);
  content: "";
  left: 0;
  top: 0;
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: 0;
}
.mask {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.mask.light {
  background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
  background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 100%);
  -webkit-transition: opacity 400ms;
  transition: opacity 400ms;
}
.mask.dark {
  background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
  -webkit-transition: opacity 400ms;
  transition: opacity 400ms;
}
/*---------MASTHEAD MASK-------*/
.t4-masthead-inner:after,
.bg-mask:after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  clear: both;
  width: 100%;  
}
.mask-db.t4-masthead-inner:after,
.mask-db.bg-mask:after {
  background: -webkit-gradient(linear, left bottom, left top, from(rgba(0,0,0,.7)), to(transparent));
  background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
}
.mask-grad-d.t4-masthead-inner:after,
.mask-grad-d.bg-mask:after {
background: -webkit-gradient(linear,left top,left bottom,color-stop(0,rgba(0,0,0,.7)),color-stop(0%,transparent),color-stop(40%,transparent),to(rgba(0,0,0,.7)));
  background: linear-gradient(180deg,rgba(0,0,0,.7) 0,transparent 0%,transparent 40%,rgba(0,0,0,.7));
}
.mask-d.t4-masthead-inner:after,
.mask-d.bg-mask:after {
  background: rgba(0, 0, 0, 0.6);
  width: 100%;
}
.mask-d30.t4-masthead-inner:after,
.mask-d30.bg-mask:after {
  background: rgba(0, 0, 0, 0.3);
  width: 100%;
}
.mask-lb.t4-masthead-inner:after,
.mask-lb.bg-mask:after  {
  background: -webkit-gradient(linear, left bottom, left top, from(rgba(255, 255, 255, 0.9)), to(transparent));
  background: linear-gradient(to top, rgba(255, 255, 255, 0.9), transparent);
}
.mask-grad-l.t4-masthead-inner:after,
.mask-grad-l.bg-mask:after {
background: -webkit-gradient(linear,left top,left bottom,color-stop(0,rgba(255,255,255,.7)),color-stop(0%,transparent),color-stop(40%,transparent),to(rgba(255,255,255,.7)));
  background: linear-gradient(180deg,rgba(255,255,255,.7) 0,transparent 0%,transparent 40%,rgba(255,255,255,.7));
}
.mask-l.t4-masthead-inner:after,
.mask-l.bg-mask:after {
  background: rgba(255, 255, 255, 0.6);
  width: 100%;
}
.mask-l30.t4-masthead-inner:after,
.mask-l30.bg-mask:after {
  background: rgba(255, 255, 255, 0.3);
  width: 100%;
}