
/*
  Colori fondamentali
  Main Hero BG: rgba(28,122,193,1);
  Blu Scuole: #06c;
  Blu scuro: #003366;
*/

/* CSS main header */

html {
  font-family: 'Poppins',Arial,sans-serif !important;
  overflow-x: hidden;
}

.heroTitle {
  color: #4A4A4A;
  font-family: 'Poppins',Arial,sans-serif;
}

.heroSubtitle {
  color: #4A4A4A;
  font-family: 'Poppins',Arial,sans-serif;
}

.heroImg {
  height: auto;
	object-fit: fill;
  box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.1);
  border-radius: 5px;
  margin-bottom: 40px;
}

.nomb {
  margin-bottom: 0px;
}

.main-section-bg {
	background-image: url("/theme/horizon/images/foto1_grey_2.jpg");
  background-size: cover;
}

/* Footer */

#footer {
  background-color: #3A4954;
}

.footerDarkBG {
  background-color: #232C32;
}

.footerTitle {
  font-size: 1rem;
  font-family: 'Poppins',Arial,sans-serif;
  color: #F5F5F5;
}

.footerInput {
  background-color: #7EA0B7 !important;
  color: #4A4A4A !important;
  border: 0px !important;
}

.footerInput:focus {
  box-shadow: 0px !important;
}

.footerText {
  font-size: 0.7rem;
  font-family: 'Poppins',Arial,sans-serif;
  color: #7EA0B7;
}

.footerTextDark {
  color: #0A0A35 !important;
}

.footerBorderBottom {
  border-bottom: 1px solid rgba(126, 160, 183, 0.3);
  margin-bottom: 17px;
}

.footerButton {
  background-color: #06C !important;
  color: #F5F5F5 !important;
  border: 0px !important;
}

.footerImage {
  padding-bottom: 18px;
  padding-top: 26px;
}

.footer-text > a{
  font-family: 'Poppins',Arial,sans-serif;
  font-size: 18px;
}

.footerLink {
  color: #F5F5F5;
  font-size: 0.7rem;
}

.footerLink:hover {
  color: #F5F5F5;

}

.sponsorListHolder{
    margin-bottom:30px;
}

.sponsor{
  background-color: #F5F5F5;
  box-shadow: 0px 0px 44px black inset;
  margin: 8px 4px
}

.sponsorImg {

}

/* Scroll Down Animation */

.containerScrollDown {
  position: relative;
  width: 24px;
}

.chevronScrollDown {
  position: absolute;
  width: 28px;
  height: 8px;
  opacity: 0;
  transform: scale3d(0.5, 0.5, 0.5);
  animation: move 3s ease-out infinite;
}

.chevronScrollDown:first-child {
  animation: move 3s ease-out 1s infinite;
}

.chevronScrollDown:nth-child(2) {
  animation: move 3s ease-out 2s infinite;
}

.chevronScrollDown:before,
.chevronScrollDown:after {
  content: ' ';
  position: absolute;
  top: 0;
  height: 100%;
  width: 51%;
  background: #F5F5F5;
}

.chevronScrollDown:before {
  left: 0;
  transform: skew(0deg, 30deg);
}

.chevronScrollDown:after {
  right: 0;
  width: 50%;
  transform: skew(0deg, -30deg);
}

@keyframes move {
  25% {
    opacity: 1;

  }
  33% {
    opacity: 1;
    transform: translateY(30px);
  }
  67% {
    opacity: 1;
    transform: translateY(40px);
  }
  100% {
    opacity: 0;
    transform: translateY(55px) scale3d(0.5, 0.5, 0.5);
  }
}

.textScrollDown {
  display: block;
  margin-top: 75px;
  margin-left: -30px;
  font-family: "Helvetica Neue", "Helvetica", Arial, sans-serif;
  font-size: 12px;
  color: #F5F5F5;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: .25;
  animation: pulse 2s linear alternate infinite;
}

.bodyScrollDown {
  display: flex;
  justify-content: center;
  align-items: center;
}

@keyframes pulse {
  to {
    opacity: 1;
  }
}
/* Sezione cosa facciamo */

.whatWeDoBG {
  background: #FFFFFF;
}

.whatWeDoSecondary {
  color: #0060C1;
}

.sectionHeroTitle {
    color: #4A4A4A;
    font-family: 'Poppins',Arial,sans-serif;
    margin: 88px 0px !important;
}

.sectionHeroTitle::after {
  content: ' ';
  display: block;
  width: 55px;
  height: 1px;
  background-color: #4A4A4A;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
}

.whatWeDoTitleSize {
  font-size: 1.6rem !important;
}

/* Sezione Prodotti */

.productsBG {
  background: #E5E5E5;
  height: 490px;
  width: 100vw;
}

.imgProduct1 {
  background-image: url("/theme/horizon/images/box1.jpg");
}

.imgProduct2 {
  background-image: url("/theme/horizon/images/foto_box_ATP.jpg");
}

.imgProduct3 {
  background-image: url("/theme/horizon/images/PARALLAX_WEBSITE.jpg");
}

.imgProduct4 {
  background-image: url("/theme/horizon/images/PARALLAX_ALERT.jpg");
}

.imgProductMobile {
  margin-bottom: -31px;
  margin-top: -12px;
}

/* Sezione Chi Siamo */

.aboutUsBG {
  background: #FFFFFF;
}

/* Sezione Separator */

.dividerBG {
  background-image: url("/theme/horizon/images/wall.jpg");
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

.dividerCardSize {
  max-width: 600px !important;
  max-height: 370px !important;
  height: 100%;
}

.boxDivider {
  background-color: transparent;
  border-radius: 3px;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 300px;
  transform-style: preserve-3d;
  perspective: 2000px;
  transition: .4s;
  text-align: center;
}
.boxDivider:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  border-top: 20px solid #fff;
  border-left: 20px solid #fff;
  box-sizing: border-box;
}
.boxDivider:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-bottom: 20px solid #fff;
  border-right: 20px solid #fff;
  box-sizing: border-box;
}
.boxDivider .fas2 {
  font-size: 25px;
  height: 50px;
  width: 50px;
  line-height: 50px !important;
  background-color: #fff !important;
  color: #2C3A47 !important;
}
.boxDivider .fa22 {
  position: absolute;
  padding: 10px;
  bottom: 0;
  right: 0;
  z-index: 1;
}
.boxDivider .text {
  position: absolute;
  top: 30px;
  font-size: 20px;
  left: -30px;
  width: calc(100% + 60px);
  height: calc(100% - 60px);
  background-color: #2C3A47;
  border-radius: 3px;
  transition: .4s;
}

.dividerTextMobile {
  background-color: #2C3A47;
  color: #F5F5F5;
  border-radius: 6px;
}

.boxDivider .text .fa21 {
  position: absolute;
  padding: 10px;
  top: 0;
  left: 0;
}
.boxDivider .text div {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  text-align: center;
  width: 100%;
  padding: 30px 60px;
  line-height: 1.5;
  box-sizing: border-box;
}
.boxDivider .text div h3 {
  font-size: 30px;
  margin-bottom: 5px;
}
.boxDivider .text div p {
  font-size: 20px;
}
.boxDivider:hover {
  transform: translate(-50%, -50%) rotateY(-20deg) skewY(3deg);
}
.boxDivider:hover .text {
  transform: rotateY(20deg) skewY(-3deg);
}

/* Sezione Qualita */

.qualityBG {
  background: #F5F5F5;
  height: 350px;
  padding:50px 0px;
  min-height: fit-content;
  height: -moz-fit-content;
  height: -webkit-fit-content;
  height: intrinsic;
}

.rows {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-bottom: 63px;
}

.row {
  flex-grow: 1;
  flex-wrap: wrap;
  flex-shrink: 0;
  align-self: flex-start;
}

.icon-wrapper {
  padding: 29px;
  border: 1px solid white;
  border-radius: 5px;
  margin-right: 25px !important;
  max-width: 122px;
  max-height: 122px;
  min-width: 122px;
  min-height: 122px;
  background-color: white;

} /* rgba(246, 246, 246, 0.1) */

.icon-wrapper:hover {
  box-shadow: inset -3.75em 0 0 0 #B6E9FF, inset 3.75em 0 0 0 #B6E9FF;
  border-color: #B6E9FF;
  transition: 0.25s;
}

.icon-wrapper:focus {
  box-shadow: inset -3.75em 0 0 0 #B6E9FF, inset 3.75em 0 0 0 #B6E9FF;
  border-color: #B6E9FF;
  transition: 0.25s;
}

#iconMiddle {
  margin: 10px 0px;
}

.qualityTitle {
  color: #4A4A4A;
  font-family: 'Poppins',Arial,sans-serif;
  text-align: left !important;
  margin-bottom: 10px !important;
}

.qualitySubtitle {
  color: #4A4A4A;
  font-family: 'Poppins',Arial,sans-serif;
  text-align: left!important;
}

#qualityTile {
  align-items: flex-start;
  justify-content: flex-end;
}

/* Regole CSS Flip */

/* entire container, keeps perspective */
.flip-container {
	perspective: 1000px;
}
	/* flip the pane when hovered */
	.flip-container.flip .flipper {
		transform: rotateY(180deg);
	}

.flip-container, .front, .back {
	width: 320px;
	height: 480px;
}

/* flip speed goes here */
.flipper {
	transition: 0.6s;
	transform-style: preserve-3d;

	position: relative;
}

/* hide back of pane during swap */
.frontFlip, .backFlip {
	backface-visibility: hidden;

	position: absolute;
	top: 0;
	left: 0;
}

/* front pane, placed above back */
.frontFlip {
	z-index: 2;
	/* for firefox 31 */
	transform: rotateY(0deg);
}

/* back, initially hidden pane */
.backFlip {
	transform: rotateY(180deg);
}

/* Sezione Fotogallery */

.fotogalleryBG {
  background-color: #FFFFFF;
}

.fotogalleryImgBorder {
  width: 400px;
  height: 200px;
}

/* Sezione Recensioni */

.reviewsBG {
  background-image: url("/theme/horizon/images/rpattern.jpg");
  background-repeat: inherit;
}

.blog-slider {
  width: 95%;
  position: relative;
  max-width: 800px;
  margin: auto;
  background: #fff;
  box-shadow: 0px 14px 80px rgba(34, 35, 58, 0.2);
  padding: 25px;
  border-radius: 25px;
  height: 400px;
  transition: all .3s;
}
@media screen and (max-width: 992px) {
  .blog-slider {
    max-width: 680px;
    height: 400px;
  }
}
@media screen and (max-width: 768px) {
  .blog-slider {
    min-height: 500px;
    height: auto;
    margin: 180px auto;
  }
}
@media screen and (max-height: 500px) and (min-width: 992px) {
  .blog-slider {
    height: 350px;
  }
}
.blog-slider__item {
  display: flex;
  align-items: center;
}
@media screen and (max-width: 768px) {
  .blog-slider__item {
    flex-direction: column;
  }
}
.blog-slider__item.swiper-slide-active .blog-slider__img img {
  opacity: 1;
  transition-delay: .3s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > * {
  opacity: 1;
  transform: none;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(1) {
  transition-delay: 0.3s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(2) {
  transition-delay: 0.4s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(3) {
  transition-delay: 0.5s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(4) {
  transition-delay: 0.6s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(5) {
  transition-delay: 0.7s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(6) {
  transition-delay: 0.8s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(7) {
  transition-delay: 0.9s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(8) {
  transition-delay: 1s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(9) {
  transition-delay: 1.1s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(10) {
  transition-delay: 1.2s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(11) {
  transition-delay: 1.3s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(12) {
  transition-delay: 1.4s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(13) {
  transition-delay: 1.5s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(14) {
  transition-delay: 1.6s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(15) {
  transition-delay: 1.7s;
}
.blog-slider__img {
  width: 300px;
  flex-shrink: 0;
  height: 300px;
  box-shadow: 4px 13px 30px 1px rgba(63, 63, 63, 0.1);
  border-radius: 20px;
  transform: translateX(-80px);
  overflow: hidden;
}
.blog-slider__img:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  opacity: 0.8;
}
.blog-slider__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  border-radius: 20px;
  transition: all .3s;
}
@media screen and (max-width: 768px) {
  .blog-slider__img {
    transform: translateY(-50%);
    width: 90%;
  }
}
@media screen and (max-width: 576px) {
  .blog-slider__img {
    width: 95%;
  }
}
@media screen and (max-height: 500px) and (min-width: 992px) {
  .blog-slider__img {
    height: 270px;
  }
}
.blog-slider__content {
  padding-right: 25px;
}
@media screen and (max-width: 768px) {
  .blog-slider__content {
    margin-top: -80px;
    text-align: center;
    padding: 0 30px;
  }
}
@media screen and (max-width: 576px) {
  .blog-slider__content {
    padding: 0;
  }
}
.blog-slider__content > * {
  opacity: 0;
  transform: translateY(25px);
  transition: all .4s;
}
.blog-slider__code {
  color: #7b7992;
  margin-bottom: 15px;
  display: block;
  font-weight: 500;
}
.blog-slider__title {
  font-size: 24px;
  font-weight: 700;
  color: #0d0925;
  margin-bottom: 20px;
}
.blog-slider__text {
  color: #4e4a67;
  margin-bottom: 30px;
  line-height: 1.5em;
}
.blog-slider__button {
  display: inline-flex;
  background-image: linear-gradient(147deg, #fe8a39 0%, #fd3838 74%);
  padding: 15px 35px;
  border-radius: 50px;
  color: #fff;
  box-shadow: 0px 14px 80px rgba(252, 56, 56, 0.4);
  text-decoration: none;
  font-weight: 500;
  justify-content: center;
  text-align: center;
  letter-spacing: 1px;
}
@media screen and (max-width: 576px) {
  .blog-slider__button {
    width: 100%;
  }
}
.blog-slider .swiper-container-horizontal > .swiper-pagination-bullets, .blog-slider .swiper-pagination-custom, .blog-slider .swiper-pagination-fraction {
  bottom: 10px;
  left: 0;
  width: 100%;
}
.blog-slider__pagination {
  position: absolute;
  z-index: 21;
  right: 20px;
  width: 11px !important;
  text-align: center;
  left: auto !important;
  top: 50%;
  bottom: auto !important;
  transform: translateY(-50%);
}
@media screen and (max-width: 768px) {
  .blog-slider__pagination {
    transform: translateX(-50%);
    left: 50% !important;
    top: 205px;
    width: 100% !important;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
.blog-slider__pagination.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 4px 4px;
}
@media screen and (max-width: 768px) {
  .blog-slider__pagination.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 5px;
  }
}
.blog-slider__pagination .swiper-pagination-bullet {
  width: 11px;
  height: 11px;
  display: block;
  border-radius: 10px;
  background: #062744;
  opacity: 0.2;
  transition: all .3s;
  margin-top: 10px 4px !important;
}
.blog-slider__pagination .swiper-pagination-bullet-active {
  opacity: 1;
  background: #0060C1;
  height: 30px;
  box-shadow: 0px 0px 20px rgba(0, 96, 193, 0.3);
}
@media screen and (max-width: 768px) {
  .blog-slider__pagination .swiper-pagination-bullet-active {
    height: 11px;
    width: 30px;
  }
}

/* Sezione Articoli */

.articlesBG {
  background-image:  url("/theme/horizon/images/patternArticoli-min.png");
}

.hidden {
  display: inline-block;
  max-height: 0;
  overflow: hidden;
  transition: 1s all ease-in-out;
}

.reviewColumn {
  max-width: fit-content;
  max-width: -moz-fit-content;
  max-width: -webkit-fit-content;
  min-width: 350px;
}

.review-card {
  border-radius: 16px;
  overflow: hidden;
  max-width: fit-content;
  max-width: -moz-fit-content;
  max-width: -webkit-fit-content;
  width: 300px;
  box-shadow: 0 5px 17.5px rgba(0, 0, 0, 0.25);
  height:80%;
}
.review-card:hover .hidden {
  height: auto;
  max-height: 500px;
}
.review-card:hover .ellipses {
  display: none;
}

.top {
  height: 250px;
  transition: height .35s ease-in-out;
}

.top:hover {
  /* height: 300px; */
}

.top img {
  object-fit: cover;
  display: block;
  width: 100%;
  height: 100%;
}

.middle {
  position: relative;
  font-weight: 400;
  padding: 20px;
  background: #fff;
  height: 56%;
}
.middle .rating {
  color: #EF6C00;
  font-size: 175%;
}
.middle .title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.35;
}
.middle .content {
  font-size: 75%;
  line-height: 1.65;
  color: #7E7E7E;
}
.middle:before {
  content: attr(reviewer);
  position: absolute;
  display: block;
  left: 0;
  right: 0;
  top: -35px;
  padding: 5px 0;
  background: rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
}

.bottom {
  overflow: hidden;
  background: #0060C1;
  font-size: 16px;
}
.bottom .column {
  display: block;
  float: left;
  padding: 10px 0;
  color: #fff;
  font-weight: 300;
}
.bottom .column:first-child {
  border-right: 1px solid shade(#0060C1, 10%);
  box-shadow: 1px 0 0 tint(#0060C1, 10%);
  margin-right: -1px;
}
.bottom .column:last-child {
  float: right;
}
.bottom .column[columns="4"] {
  width: calc( 33.3333% );
}
.bottom .column[columns="8"] {
  width: calc( 66.6666% );
}
.bottom a {
  text-decoration: none;
  background: #0060C1;
}
.bottom a:hover {
  background: #0060C1;
}

.review-card {
  display: inline-block;
  vertical-align: top;
  transition: all .35s ease-out;
  opacity: 1;
  transform: translateX(0) translateZ(0);
  left: 0;
  right: 0;
}

label {
  cursor: pointer;
  display: block;
  width: 200px;
  margin: 0 auto;
  background: #3c7b87;
  border-bottom: 3px solid #2c5b64;
  color: #fff;
  margin-bottom: 5vh;
  padding: 10px;
}
label:hover {
  background: #448b99;
  border-color: #38737f;
}

.date {
  color: #F5F5F5;
  padding: 10px 0px;
}

/* Helper */

.p20 {
  padding: 20px;
}

.p30 {
  padding: 30px;
}

.p42 {
  padding: 42px;
}
.pt42 {
  padding-top: 42px;
}

.m88-0 {
  margin: 88px 0px !important;
}

.mt-171 {
  margin-top: -171px;
}

.mb20 {
  margin-bottom: 20px;
}

.pb54 {
  padding-bottom: 54px;
}

.pb80 {
  padding-bottom: 80px;
}

.mb80 {
  margin-bottom: 80px;
}

.pt58 {
  padding-top: 58px;
}

.mt58 {
  margin-top: 58px;
}

.ml45 {
  margin-left: 45px;
}

.mb88 {
  margin-bottom: 88px !important;
}

.ml65Mobile {
  margin-left: 65px;
}

.pl10 {
  padding-left: 5px;
}

.p55 {
  padding: 55px;
}

.mt36 {
  margin-top: 36px;
}

.mr20 {
  margin-right: 20px;
}

.p18-0 {
  padding: 18rem 0px;
}

.p58-0 {
  padding: 58px 0px;
}

.mt24 {
  margin-top: 24px;
}

.maxh450 {
  max-height: 450px;
}

.mb80i {
  margin-bottom: 80px !important;
}

.maxh122 {
  max-height: 122px;
}

.mb-70{
  margin-bottom: -70px;
}

.mb05rem {
  margin-bottom: 0.5rem !important;
}

.valigncenter {
  vertical-align: middle;
}

.widthheightfull {
  width: 100%;
  height: 100%;
}

.widthfull {
  width: 100%;
}

.columns {
    flex-wrap: wrap;
    align-items: stretch;
    max-width: 100vw;
}

.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.justifyCenter {
  justify-content: center !important;
}

.selfStretch {
  align-self: stretch;
}

.wordwrap {
  word-wrap: break-word;
}

.widthfit {
  max-width: fit-content;
  width: -moz-fit-content;
  width: -webkit-fit-content;
  width: intrinsic;
}

.flexGrow1 {
  flex-grow: 1;
  margin-bottom: 7px;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

#readAll {
  margin: 80px 0px;
}

.clickable {
  cursor: pointer;
}

.ql-hidden {
  display: none;
}

.ql-clipboard {
  display: none;
}

/* Media */

@media screen and (max-width: 768px) {
  #whatWeDoSecondImg {
    display: none;
  }

  .ml65Mobile {
    margin-left: 0px;
  }

  .sponsor {
    width: 200px;
  }

  .heroSubtitle {
    font-size: 16px !important;
  }

  .mt20mobile {
    margin-top: 20px;
  }
}

@media screen and (min-width: 769px) {
  .heroSubtitle {
    font-size: 1.15em !important;
    font-weight: 400 !important;
  }
}

@media screen and (max-width: 1279px) {
  .reviewLast {
    display: none !important;
  }
}
