/*variabili colori e font

$blue: #00446d;
$primary: $blue;

$light-gray: #f5f5f5;
$grey: #ccc;

$font-family-base: "Ubuntu Sans", sans-serif;

classi per scroll reveal
.scroll-bottom-to-top

.scroll-left-to-right

  .scroll-right-to-left

    .scroll-top-to-bottom
*/
.color-light-gray {
  color: #f5f5f5;
}
.color-grey {
  color: #ccc;
}
.color-red {
  color: rgb(236,80,19);
}
.color-555 {
  color: #555;
}
.color-232323 {
  color: #232323;
}
.color-00446d {
  color: #00446d;
}
.bg-fff {
  background: #fff;
}
.bg-efefef {
  background: #efefef;
}
.bg-00446d {
  background: #00446d;
}

.text-center {
  text-align: center;
}
 .ov-hidden {
   overflow: hidden;
 }
 .color-fff {
  color: #fff;
 }

 .color-030035 {
   color: #030035;
 }
 .color-ed4b00 {
   color: #ed4b00;
 }

 .btn-primary,.btn-primary-block a {
   background: #00446d;
   padding: 10px 15px;
   border-radius: 5px;
   color: #fff;
   text-decoration: none;
   transition: all 0.5s;
   font-style: italic;
   font-size: 18px;
   line-height: 22px;
   display: inline-table;
 }
 .btn-primary:hover,.btn-primary-block a:hover {
   background: #031421;
   color: #fff;
 }
 .btn-secondary,.btn-secondary-block a{
  border:1px solid #fff !important;
  background-color: transparent;
  border-radius: 5px;
 }
 .btn-secondary:hover,.btn-secondary-block a:hover{
  background-color: #000000;
 }
 .p-relative {
   position: relative;
 }
 .col-xs-20,
 .col-sm-20,
 .col-md-20,
 .col-lg-20 {
   position: relative;
   min-height: 1px;
   padding-right: 10px;
   padding-left: 10px;
 }

 .col-xs-20 {
   width: 20%;
   float: left;
 }

 @media (min-width: 768px) {
   .col-sm-20 {
     width: 20%;
     float: left;
   }
 }

 @media (min-width: 992px) {
   .col-md-20 {
     width: 20%;
     float: left;
   }
 }

 @media (min-width: 1200px) {
   .col-lg-20 {
     width: 20%;
     float: left;
   }
 }

 .mt-200 {
   margin-top: 200px;
 }
 .mt-100 {
   margin-top: 100px;
 }
 .mt-50 {
   margin-top: 50px;
 }
 .mt-30 {
   margin-top: 30px;
 }
 .mt-25 {
   margin-top: 25px;
 }
 .mt-20 {
   margin-top: 20px;
 }
 .mt-10 {
   margin-top: 10px;
 }
 .mt-0 {
   margin-top: 0px;
 }

 .mb-200 {
   margin-bottom: 200px;
 }
 .mb-100 {
   margin-bottom: 100px;
 }
 .mb-50 {
   margin-bottom: 50px;
 }
 .mb-30 {
   margin-bottom: 30px;
 }
 .mb-25 {
   margin-bottom: 25px;
 }
 .mb-20 {
   margin-bottom: 20px;
 }
 .mb-10 {
   margin-bottom: 10px;
 }
 .mb-5px {
   margin-bottom: 5px;
 }
 .mb-0 {
   margin-bottom: 0px;
 }

 .pt-200 {
   padding-top: 200px;
 }
 .pt-150 {
   padding-top: 150px;
 }
 .pt-100 {
   padding-top: 100px;
 }
 .pt-50 {
   padding-top: 50px;
 }
 .pt-30 {
   padding-top: 30px;
 }
 .pt-25 {
   padding-top: 25px;
 }
 .pt-20 {
   padding-top: 20px;
 }
 .pt-15 {
   padding-top: 15px;
 }
 .pt-10 {
   padding-top: 10px;
 }
 .pt-0 {
   padding-top: 0px;
 }

 .pb-200 {
   padding-bottom: 200px;
 }
 .pb-150 {
   padding-bottom: 150px;
 }
 .pb-100 {
   padding-bottom: 100px;
 }
 .pb-50 {
   padding-bottom: 50px;
 }
 .pb-30 {
   padding-bottom: 30px;
 }
 .pb-25 {
   padding-bottom: 25px;
 }
 .pb-20 {
   padding-bottom: 20px;
 }
 .pb-15 {
   padding-bottom: 15px;
 }
 .pb-10 {
   padding-bottom: 10px;
 }
 .pb-0 {
   padding-bottom: 0px;
 }
 .show-md {
    display: none;
 }
 .color-fff {
   color: #fff;
 }
 .font-16 {
   font-size: 16px;
   line-height: 20px;
 }
 .font-18 {
   font-size: 18px;
   line-height: 24px;
 }
 .font-20 {
    font-size: 20px;
    line-height: 1.2;
}
 .font-24 {
   font-size: 24px;
   line-height: 32px;
 }
 .font-32 {
    font-size: 32px;
    line-height: 38px;
 }
 .font-36 {
    font-size: 36px;
    line-height: 38px;
 }
 .font-42 {
    font-size: 42px;
    line-height: 54px;
 }
  .font-48 {
    font-size: 48px;
    line-height: 54px;
 }
 .font-52 {
    font-size: 52px;
    line-height: 64px;
 }
 .font-65 {
   font-size: 65px;
   line-height: 77px;
 }
 .weight-100 {
   font-weight: 100;
 }
 @media (max-width: 991px) {
   .hide-md {
     display: none;
   }
   .show-md {
      display: block;
   }
   .font-md-18 {
     font-size: 18px;
     line-height: 24px;
   }
   .md-pt-50 {
     padding-top: 50px;
   }
   .md-pb-50 {
     padding-bottom: 50px;
   }
   .md-font-18 {
     font-size: 18px;
     line-height: 24px;
   }
   .md-font-24 {
     font-size: 24px;
     line-height: 32px;
   }
   .md-font-22 {
     font-size: 22px;
     line-height: 28px;
   }
   .md-mb-50 {
     margin-bottom: 50px;
   }
   .md-mt-30 {
     margin-top: 30px;
   }
   .md-mb-30 {
     margin-bottom: 30px;
   }
   .md-mb-20 {
     margin-bottom: 20px;
   }
   .md-mb-0 {
     margin-bottom: 0;
   }
   .md-text-center {
     text-align: center;
   }
 }

 /**** END GRID ****/

 /** animations **/

 		.animated {
 		  -webkit-animation-duration: 1s;
 		  animation-duration: 1s;
 		  -webkit-animation-fill-mode: both;
 		  animation-fill-mode: both;
 		}

 		/* .animated:hover {
 		  -webkit-animation-iteration-count: infinite;
 		  animation-iteration-count: infinite;
 		} */

 		@-webkit-keyframes tada {
 		  0% {
 		    -webkit-transform: scale3d(1, 1, 1);
 		    transform: scale3d(1, 1, 1);
 		  }

 		  10%, 20% {
 		    -webkit-transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
 		    transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
 		  }

 		  30%, 50%, 70%, 90% {
 		    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
 		    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
 		  }

 		  40%, 60%, 80% {
 		    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
 		    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
 		  }

 		  100% {
 		    -webkit-transform: scale3d(1, 1, 1);
 		    transform: scale3d(1, 1, 1);
 		  }
 		}

 		@keyframes tada {
 		  0% {
 		    -webkit-transform: scale3d(1, 1, 1);
 		    -ms-transform: scale3d(1, 1, 1);
 		    transform: scale3d(1, 1, 1);
 		  }

 		  10%, 20% {
 		    -webkit-transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
 		    -ms-transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
 		    transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
 		  }

 		  30%, 50%, 70%, 90% {
 		    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
 		    -ms-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
 		    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
 		  }

 		  40%, 60%, 80% {
 		    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
 		    -ms-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
 		    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
 		  }

 		  100% {
 		    -webkit-transform: scale3d(1, 1, 1);
 		    -ms-transform: scale3d(1, 1, 1);
 		    transform: scale3d(1, 1, 1);
 		  }
 		}

 		.tada {
 		  -webkit-animation-name: tada;
 		  animation-name: tada;
 		}
 /** END animations **/

 /*** slider text ***/
 .wrap-slider-text {
   padding-top: 30px;
   padding-bottom: 30px;
   background: #E5E5E5;
 }
 @media(min-width: 991px) {
   .wrap-slider-text {
     padding-left: 0;
     padding-right: 0;
   }
 }

 .wrap-slider-text .wrap-arrow {
   position: relative;
   text-align: center;
 }
 .wrap-arrow.sx svg,
 .wrap-arrow.dx svg {
   height: 20px;
   cursor: pointer;
   transition: all 0.5s;
   fill: #555;
   position: absolute;
   top: 50%;
   transform: translateY(-50%);
   opacity: 0.5;
 }
 .wrap-arrow.sx svg:hover,
 .wrap-arrow.dx svg:hover {
   opacity: 1;
 }
 .slider-text p {
   margin-bottom: 0;
 }
 .wrap-slider-text .slick-autoplay-toggle-button {
   display: none;
 }
 .slider-text a {
   text-decoration: none;
   color: #555;
 }
 .slider-text.slick-slider {
   margin-bottom: 0;
 }
 /*** END slider text ***/

 /**** 3 cards ****/
 .card-full {
   border: 1px solid #b2b2b2;
   height: 100%;
   background: #fff;
   display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
 }
 .img-full {
   max-width: 100%;
   width: 100%;
   height: 315px;
   background-size: cover;
   background-position: center center;
   background-repeat: no-repeat;
 }
 .text-card-long {
    height: 175px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
 .text-card-full {
   padding: 20px;
   flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
 }
 .text-card-full a.btn-primary {
  align-self: flex-start;
  margin-top: auto;
}
 .title-card-full {
   font-weight: bold;
 }
 .subtitle-link-card-full svg {
   height: 15px;
   transition: all 0.5;
   margin-right: 5px;
 }
 .subtitle-link-card-full {
   display: flex;
   align-items: center;
 }
 .subtitle-link-card-full {
   text-decoration: none;
   transition: all 0.5;
 }
 .subtitle-link-card-full:hover {
   color: #00446d;
 }
 .subtitle-link-card-full:hover svg {
   fill: #00446d;
 }
 .subtitle-link-card-full:hover svg.animated {
   -webkit-animation-iteration-count: infinite;
   animation-iteration-count: infinite;
 }

 .card-alt {
   display: flex;
   border: 1px solid #b2b2b2;
   background: #fff;
 }
 .wrap-card-alt {
   background-position: center center;
   background-size: cover;
   width: 30%;
 }
 .wrap-card-alt img {
   opacity: 0;
   max-width: 100%;
 }
 .wrap-card-text {
   width: 70%;
   padding: 20px;
   display: flex;
  flex-direction: column;
  justify-content: space-between;
 }
 .wrap-card-text a.btn-primary {
  align-self: flex-start;
  margin-top: auto;
}
 @media (max-width: 991px) {
   .wrap-card-alt {
     width: 100%;
     background-image: url()
   }
   .wrap-card-alt img {
     opacity: 1;
   }
   .wrap-card-text {
     width: 100%;
   }
   .card-alt {
     display: block;
   }
 }
/**** END 3 cards ****/

/***** contatti full *****/
.wrap-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
}
.wrap-buttons a svg {
  width: 15px;
  fill: #00446d;
  margin-right: 5px;
}
.wrap-buttons a {
  background: #f5f5f5;
  padding: 10px 15px;
  display: flex;
  color: #00446d;
  text-decoration: none;
  margin-left: 10px;
  margin-right: 10px;
  border-radius: 5px;
  transition: all 0.5s;
  font-size: 18px;
  border: 1px solid #f5f5f5;
  font-weight: bold;
  text-align: center;
}
.wrap-buttons a:hover {
  background: #00446d;
  border: 1px solid #fff;
  color: #fff;
}
.wrap-buttons a:hover svg {
  fill: #fff;
}

/*** inverse ***/
.wrap-buttons.inverse a {
  background: #ccc;
}
/*** END inverse ***/

@media (max-width: 991px) {
  .wrap-buttons {
    display: block;
  }
  .wrap-buttons a {
    display: block;
    margin-top: 15px;
  }
}
/*** END contatti full ***/

/*** info blue ***/
.info-blue {
	display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
}
.info-blue img {
	width: auto;
	height: 80px;
	margin-right: 10px;
	max-width: 100%;
}
.info-blue p {
	margin-bottom: -4px;
	font-weight: 500;
}
@media (max-width: 991px) {
	.info-blue img {
		height: 60px;
		margin-right: 0;
	}
	.info-blue {
		display: block;
		text-align: center;
	}
	.info-blue p {
		margin-bottom: 0;
		margin-top: 10px;
	}
}
/*** END info blue ***/

/*** long cards ***/
.card-long {
  border: 1px solid #b2b2b2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
.img-card-long {
  width: 100%;
  height: 182px ;
}
.line-color {
  height: 5px;
  display: block;
}
.description-card-long {
  padding: 20px;
  height: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: start;
}
.description-card-long>p {
	height: 50px;
}
.description-card-long>p.description-card-long__title {
    height: 70px;
}
.description-card-long>p.description-card-long__subtitle {
	height: unset!important;
}
.description-card-long>p.description-card-long__cat {
	height: 30px;
}
.description-card-long>.font-18 {
	height: 85px;
}
.description-card-long>.font-14 {
	height: 80px;
}
.link-card-long {
  text-decoration: none;
  padding-left: 5px;
  padding-right: 5px;
  font-size: 14px;
  font-style: italic;
  padding-bottom: 3px;
  border-bottom: 1px solid #b2b2b2;
  transition: all 0.5s;
}
.link-card-long:hover {
  border-bottom: 1px solid #00446d;
}
.box-links {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto !important;
}
/*** END long cards ***/

/***** slider clienti *****/

.title-costumer {
  padding-bottom: 15px;
  border-bottom: 1px solid #b2b2b2;
}
.img-costumer {
  max-width: 100%;
  margin: auto;
  height: 80px;
  width: auto;
}
.wrap-slider-costumer .slick-autoplay-toggle-button {
  display: none;
}
.slider-costumer {
  margin-bottom: 0 !important;
}
@media(max-width: 991px) {
  .img-costumer {
    max-width: 100%;
    height: auto;
  }
}

/*** END slider clienti ***/

/******************************************** TEMPLATE ARCHIVE ***************************************************/
/****** hero pages *****/
.bg-image-hero {
    position: relative;
    overflow: hidden;
    background-size: 110% auto; 
    background-repeat: no-repeat;
    background-position: center 0;
    border-bottom: 5px solid #009FE3;
}
.min-height-hero {
  min-height: 60vh;
}
@media (max-width: 991px) {
  .min-height-hero {
    min-height: 400px;
  }
}
.min-height-hero {
    display: flex;
    align-items: center;
}
.bg-image-hero {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 0;
  overflow: hidden;
  background-attachment: fixed;
}
@media (min-width: 850px) {
  .bg-image-hero {
     background-size: 120% auto;
     background-attachment: unset;
  }
}
.bg-image-hero.red {
   border-bottom: 5px solid rgb(236,80,19);
}
.line-hero {
  height: 5px;
  background: #009FE3;
  display: block;
  width: 90%;
  margin: 20px auto;
}
.line-hero.red {
  background: rgb(236,80,19);
}
.box-info-hero {
   background-color: rgba(255, 255, 255, 0.7);
   position: absolute;
   top: 50%;
   transform: translateY(-50%);
   left: 10px;
   right: 10px;
   padding: 20px;
   min-height: 35vh;
   display: flex;
    flex-direction: column;
    justify-content: center;
}
.box-info-hero h1 {
    line-height: 1.3;
    font-size: 2.5rem;
}
/**** END hero pages ***/

/**** detail archive ****/
.wrap-detail-icons {
/*
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  direction: ltr;
  gap: 20px;
  max-width: 1000px;
  margin: auto; */
	display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.single-detail-icon {
/*
  display: flex;
  align-content: center;
  align-items: center; */
    display: flex;
    align-items: center;
    justify-content: center;
	flex: 0 1 calc(25% - 15px)
}
.wrap-text-detail-icon {
    width: calc(100% - 80px);
}
@media (max-width: 991px) {
  .single-detail-icon {
    flex: 0 1 100%;
  }
}
.wrap-image-detail-icon img {
  width: 80px;
}
.wrap-image-detail-icon {
  padding-right: 15px;
}
@media (max-width: 1200px) {
  .wrap-detail-icons {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 991px) {
  .wrap-detail-icons {
    grid-template-columns: repeat(1, 1fr);
  }
}
/**** END detail archive ****/

/***** block 4 col *****/
.name-category-card {
  height: 200px;
  width: 100%;
}
.title-category-card {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 10px;
  right: 10px;
}
/*** END block 4 col ***/
/****************************************** END TEMPLATE ARCHIVE *************************************************/


/********************************** TEMPLATE SINGLE *************************************/

/******************** grid single content **************************/
.field-menu-single a {
	text-decoration: none;
	color: #fff;
	transition: all 0.5s;
}
.field-menu-single a:hover {
	opacity: 0.5;
}
/* Menu sidebar servizio */
.wrap-menu-single .field-menu-single {
    margin-top: 0;
    margin-bottom: 1px;
	  padding: 10px;
}
.wrap-menu-single .field-menu-single h3 {
  font-weight: 400;
}
/* END Menu sidebar servizio */
/******************** END grid single content **************************/

/******************************** END TEMPLATE SINGLE ***********************************/


/*** ultime novità ***/
.flag-post {
 background: #ccc;
 padding: 5px;
 border-radius: 5px;
 margin-bottom: 10px;
 font-size: 12px;
}
.link-news {
	/* display: flex;
	align-items: center; */
	text-decoration: none;
	color: #00446d;
}
.link-news svg {
	height: 14px;
	margin-left: 5px;
	margin-top: -4px;
	transition: all 0.5s;
	fill: #00446d;
}
.link-news:hover svg {
	transform: translateX(3px);
}
.single-repeater-news {
	/* display: flex; */
}
/*** END ultime novità ***/

/* Fix altezza wp-cover */
.wp-block-cover, .wp-block-cover-image {
    min-height: unset;
}

.home .wp-block-cover, .home .wp-block-cover-image {
    min-height: 40vh;
}

@media (min-width: 992px) {
.home .wp-block-cover, .home .wp-block-cover-image {
    min-height: 70vh;
}
}
/* END Fix altezza wp-cover */

/* Carosello Home */
.home .carousel-item h2 {
	font-weight: 400;
	font-size: 2rem !important;
}

@media (min-width: 992px) {
.testo-slider-over .wp-block-cover__inner-container.is-layout-constrained.wp-block-cover-is-layout-constrained {
    width: 956px;
  	padding: 100px 0;
}
	.home .carousel-item h2 {
	font-size: 3rem !important;
}
}
/* END Carosello Home */

/* Calendario */
.fc-row.fc-week.fc-widget-content {
    height: 90px;
}
a.fc-day-grid-event.fc-h-event {
		max-height: 30px;
}

td.fc-event-container>a {
    padding: 2px !important;
	  background-color: #D7E8F2 !important;
	overflow: hidden;
}
.cmcal-calendar-container.cmcal-calendar-53.cmcal-tooltip {
	max-width: 90vw;
	width: 90vw;
	height: 90vh;
}
@media (min-width: 992px) {
	.cmcal-calendar-container.cmcal-calendar-53.cmcal-tooltip {
	max-width: 50vw;
	width: 50vw;
	height: 50vh;
}
}
.qtip-content h5 {
    font-size: 2rem;
	font-weight: 700;
}
/* END Calendario */

/* Servizi */
.servizio .entry-content .h3, .servizio .entry-content h3 {
    margin-top: 1.5rem;
    margin-bottom: .2rem;
		font-size: 1.5rem
}
.servizio .entry-content .h2, .servizio .entry-content h2 {
    margin-top: 3rem;
}
/* END Servizi */