/* IMPORT HERE YOUR FONTS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;900&family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Poppins:wght@200;500;900&display=swap');

body,
html {
  font-family: "Montserrat", sans-serif;
  color: #000;
}

/* Breadcrumb */
.breadcrumb {
	font-size: 12px;
}
ol.breadcrumb li.breadcrumb-item {
	margin: 0;
	padding: 0;
}
.breadcrumb-item+.breadcrumb-item::before {
	padding: 0 3px;
	font-weight: normal;
}
.breadcrumb-item a {
	color: #6c757d;
	text-decoration: none;
}
.breadcrumb-item.active {
	color: #000;
	font-weight: bold;
}

/* Header */
#carouselSlideHome img {
	width: 100vw;
	height: 85vh;
	object-fit: cover;
}
#carouselSlideHome .carousel-caption {
	bottom: 12rem;
	z-index: 3;
}
#carouselSlideHome h2.titolo-slide-home, 
h2.titolo-testata-interna {
	color: #fff;
	font-weight: 700;
	font-size: 24px;
}
#carouselSlideHome .sottotitolo-slide-home, 
.sottotitolo-testata-interna {
	color: #fff;
	font-size: 16px;
}
#carouselSlideHome .carousel-control-next, 
#carouselSlideHome .carousel-control-prev {
	z-index: 3;
}
ul.menu-header li {
	border-bottom: 7px solid transparent;
	padding: 10px 2px 15px;
}
ul.menu-header li.current_page_item {
	border-bottom: 7px solid #ADADAD;
}
button.search-btn {
	border: none;
	background: none;
}
.bbottom{
	border-bottom: 1px solid #ADADAD;
}
header ul.menu-header li a {
	font-size: 12px;
	text-decoration: none;
	padding: 0 12px;
	text-transform: uppercase;
}
header ul.menu-header li a:link, header ul.menu-header li a:visited {
	color: #000;
}
header ul.menu-header li a:hover, header ul.menu-header li a:active {
	color: #cd001a;
}

header ul.menu-header li:last-child a {
	background-color:#cd001a;
	padding: 4px 12px;
}
header ul.menu-header li:last-child a:link, header ul.menu-header li:last-child a:visited {
	color: white;
}
header ul.menu-header li:last-child a:hover, header ul.menu-header li:last-child a:active {
	color: white;
}

/* Dropdown Menu Header */
.sub-menu {
	display: none;
}
.menu-item-has-children {
	position: relative;
}
.menu-item-has-children:hover .sub-menu {
	display: block;
	position: absolute;
	top: 45px;
	left: 0;
	z-index: 1;
	padding: 0;
	background-color: #cd001a;
}
.menu-item-has-children:hover .sub-menu a {
	font-size: 12px;
	color: #fff;
}
.menu-item-has-children:hover .sub-menu li {
	list-style-type: none;
	padding-right: 40px;
	padding-bottom: 8px;
	border-bottom: none;
}
.menu-item-has-children:hover .sub-menu li:last-child {
	padding-right: 38px;
}
.menu-item-has-children:hover .sub-menu .sub-menu li {
	padding-top: 0;
	line-height: 10px;
}
ul.menu-header .sub-menu li.current_page_item {
	border-bottom: none;
}
#menu-main-menu > .menu-item-has-children > .sub-menu {
	white-space: nowrap;
}
#menu-main-menu > .menu-item-has-children > .sub-menu li {
	display: inline-block;
}
#menu-main-menu > .menu-item-has-children > .sub-menu .sub-menu {
	position: static;
}
#menu-main-menu > .menu-item-has-children > .sub-menu .sub-menu a {
	font-size: 12px;
	text-transform: none;
}
#menu-main-menu > .menu-item-has-children > .sub-menu .sub-menu > li {
	display: block;
}
#menu-main-menu > .menu-item-has-children > .sub-menu {
	width: max-content;
}
#menu-main-menu > .menu-item-has-children > .sub-menu li {
	vertical-align: top;
}
#footer-nav .sub-menu {
	display: none;
}

/* Form ricerca */
#searchform {
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.9);
	z-index: 100;
	top: 0;
	left: 0;
}
#searchform.show {
	display: block;
}
#searchform #close-searchform {
	display: block;
	cursor: pointer;
	padding: 30px;
	font-size: 30px;
	color: #fff;
	font-weight: bold;
	font-family: "Montserrat", sans-serif;
	position: absolute;
	top: 0;
	right: 0;
}
#searchform form {
	display: flex;
	width: 60%;
	margin: auto;
	top: 50vh;
	position: relative;
	transform: translateY(-50%);
}
#searchform form input {
	padding: 10px 40px 10px 10px;
}
#searchform form button {
	position: absolute;
	top: 0;
	right: 0;
	padding: 0;
	height: 100%;
	width: 40px;
}

/* Main content */
#main-content {
	margin-top: 5.6rem;
}
.altezza-testata {
	height: 65vh;
}
.box-content-center h2.titolo {
	font-size: 24px;
	font-weight: 700;
}
.box-content-center .abstract {
	font-size: 16px;
}
.box-opacity-home {
	position: relative;
    width: 100%;
    background-size: cover;
	min-height: 680px;
}
.box-opacity-home::before {    
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(255,255,255,0.5);
}
.box-opacity-home .content {
	position: relative;
	padding: 200px 50px 0 90px;
}
.box-opacity-home .content h2 {
	font-size: 30px;
	font-weight: 700;
}
.box-opacity-home .abstract {
	min-height: 160px;
}
.box-opacity-home p {
	min-height: 50px;
}
.box-opacity-home .button-link {
	margin-top: 60px;
}
.button-link a:link, .button-link a:visited, 
.wp-block-button a:link, .wp-block-button a:visited, 
.button-link a:hover, .button-link a:active, 
.wp-block-button a:hover, .wp-block-button a:active {
	background-color: #cd001a;
	display: block;
	width: 200px;
	padding: 15px;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	text-align: center;
	border-radius: 10px;
}
#carouselSlideProdotti .bkg-img-prodotti {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	height: 65vh;
	position: relative;
}
#carouselSlideProdotti .box-content-prodotti {
	position: absolute;
	top: 80px;
	left: 0;
	color: #fff;
	padding: 50px;
}
#carouselSlideProdotti .dynamic-personas .box-content-prodotti {
	padding: 20px 50px;
}
#carouselSlideProdotti .dynamic-personas .titolo {
	min-height: 70px;
}
#carouselSlideProdotti .dynamic-personas .sottotitolo {
	min-height: 120px;
}
#carouselSlideProdotti .box-content-prodotti .titolo {
	font-size: 24px;
	font-weight: 700;
}
/* #carouselSlideProdotti .box-content-prodotti .sottotitolo {
	min-height: 90px;
} */
#carouselSlideProdotti .carousel-control-prev-icon, 
#carouselSlideProdotti .carousel-control-next-icon {
	background-color: #2E5266;
}
.card.prodotti {
	text-align: center;
	border: none;
}
.card.prodotti h3.card-title {
	font-size: 18px;
	font-weight: 700;
}
.card.prodotti img {
	width: 64px;
	height: 64px;
}
.background-card-sx, .background-card-dx, .background-card-img {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	height: 100%;
	min-height: 380px;
}
.card-title.titolo-card-sx, .card-title.titolo-card-dx {
	font-size: 36px;
	font-weight: 700;
}
.sottotitolo-card-sx, .sottotitolo-card-dx {
	font-size: 18px;
}
.sfondo-grigio {
	background-color: #F0F0F0;
}
.sfondo-grigio-chiaro {
	background-color: #F6F6F6;
}
a.link-blocco-news:link, a.link-blocco-news:visited, 
a.link-blocco-news:hover, a.link-blocco-news:active {
	color: #000;
	text-decoration: none;
}
h2.titolo-blocco-news, h2.titolo-sezione {
	font-size: 24px;
	font-weight: 700;
}
.blocco-news {
	border-radius: 0;
	border: none;
}
.blocco-news .categoria-news, .blocco-news .data-news {
	font-size: 12px;
	color: #4F4F53;
}
.blocco-news h3.titolo-news {
	font-size: 20px;
	font-weight: 700;
	min-height: 100px;
}
.blocco-news .abstract-news {
	color: #000;
	min-height: 100px;
}
.blocco-news .bkg-img-news {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	height: 25vh;
}
h2.titolo-sezione-card {
	font-size: 24px;
	font-weight: 700;
}
.box-card-img {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	height: 65vh;
	position: relative;
}
.box-card {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #fff;
	padding: 0 15px 10px;
}
.box-card .titolo h3 {
	font-size: 20px;
	font-weight: 700;
}
.immagine-testata {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	height: 65vh;
}
.immagine-testata-btn {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	height: 65vh;
	position: relative;
}
.immagine-testata-btn .button-link {
	position: absolute;
	top: 70%;
	left: 50%;
	margin-left: -100px;
}
.testo a {
	color: #000;
}
#carouselSlideReferenze .bkg-img-referenze {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	height: 65vh;
	position: relative;
}
#carouselSlideReferenze .box-content-referenze {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #fff;
	padding: 50px;
}
#carouselSlideReferenze .carousel-control-prev-icon, 
#carouselSlideReferenze .carousel-control-next-icon {
	background-color: #2E5266;
}
.clear {
	clear: both;
	height: 1px;
}
h1.titolo-news-interna {
	font-size: 30px;
	font-weight: 700;
}
.sottotitolo-news-interna {
	font-size: 20px;
}
article h2 a:link, article h2 a:visited, 
article h2 a:hover, article h2 a:active {
	color: #000;
	text-decoration: none;
	font-size: 30px;
	font-weight: 700;
}
.read-more a:link, .read-more a:visited, 
.read-more a:hover, .read-more a:active {
	background-color: #cd001a;
	display: block;
	width: 200px;
	padding: 15px;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	text-align: center;
	border-radius: 10px;
}
.velina {
	background: rgba(0,0,0,0.25);
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
}
.pagination span, .pagination a {
	padding-right: 5px;
}
.pagination a:link, .pagination a:visited, 
.pagination a:hover, .pagination a:active {
	color: #000;
}
.z-index-3 {
	z-index: 3;
}
.rosso {
	color: #cd001a;
}

/* Form Contatti */
.contatti input.wpcf7-text, .contatti textarea.wpcf7-textarea {
	background-color: #F2F2F2;
	font-size: 12px;
}
.contatti label {
	font-size: 12px;
	font-weight: 700;
	color: #454545;
}
.contatti input.wpcf7-submit, #btnSubmit {
	background-color: #cd001a!important;
	border: 0!important;
	color: #fff!important;
	font-size: 16px!important;
	font-weight: 600!important;
	border-radius: 10px!important;
	width: 150px!important;
	padding: 10px!important;
}

.clickdform.mainDiv{
	overflow: hidden!important;
}

.clickdform input[type='text'], .clickdform textarea, .clickdform select{
	font-family: "Verdana" !important;
    font-size: 16px !important;
    color: #333!important;
    margin: 0!important;
    border-radius: 7px!important;
    padding: 3px 6px!important;
    border: 1px solid #ccc!important;
    margin: 8px 0 16px!important;
}
.responsiveCellSize1{
	width: 33%!important;
	text-align: left!important;
}

.clickdform .floatLeft {
    margin-right: 10px!important;
    margin-top: 3px!important;
}



.divider-content {
	border-top: 1px solid #ADADAD;
	height: 1px;
}
.label-contatti {
	font-size: 16px;
	font-weight: 600;
}
.info-contatti a:link, .info-contatti a:visited, 
.info-contatti a:hover, .info-contatti a:active {
	color: #000;
	text-decoration: none;
}
.acceptance-privacy .wpcf7-list-item {
	margin-left: 0;
}
.acceptance-privacy .wpcf7-list-item label {
	font-weight: normal;
}
.icona-social-contatti a {
	color: #000;
	font-size: 22px;
}
.elenco-categorie {
	width: 80%;
	margin-left: auto;
	margin-right: auto;
}
.elenco-categorie ul {
	margin: 0;
}
.elenco-categorie li {
	list-style-type: none;
	float: left;
	display: block;
	text-transform: uppercase;
	width: 25%;
	text-align: center;
}
.elenco-categorie li a:link, .elenco-categorie li a:visited, 
.elenco-categorie li a:hover, .elenco-categorie li a:active {
	color: #333;
	text-decoration: none;        
}
li.currentli {
	font-weight: 600;
}
.immagine-inevidenza-top {
	position: relative;
}
.immagine-inevidenza-bottom {
	position: relative;
	width: 100%;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	min-height: 500px;
}
.news-inevidenza.top {
	/* padding-top: 100px;
	padding-right: 10px; */
	padding: 100px 50px 0 90px;
	position: absolute;
	z-index: 3;
}
.news-inevidenza.bottom {
	padding: 100px 50px 0 90px;
	position: absolute;
	z-index: 3;
}
.news-inevidenza .categoria {
	color: #fff;
	font-size: 12px;
}
.news-inevidenza .titolo {
	color: #fff;
	font-weight: 700;
	font-size: 24px;
}
.news-inevidenza .data {
	color: #fff;
	font-size: 12px;
	margin-top: 25px;
}
.news-inevidenza .sottotitolo {
	color: #fff;
	font-size: 16px;
}
.news-inevidenza .button-link {
	margin-top: 40px;
}

/* Glossario */
#glossaryList-nav {
	/* background-color: #F6F6F6; */
	padding: 8px 0;
}
.glossaryList li {
	margin-bottom: 20px;
}
/* .container .cm-glossary .listNav .ln-letters {
	width: 960px;
	margin: 0 auto;
} */
.cm-glossary .listNav .ln-letters a {
	font-size: 16px;
	padding: 2px 8px;
	color: #000;
	font-weight: 700;
}
a.link-back {
	color: #000;
	text-decoration: none;
	font-weight: 600;
}
a.link-back:hover, a.link-back:active {
	color: #EFBB5E;
}

/* Carousel prodotti - home */
#carouselSlideProdotti .card {
	border: none;
	border-radius: 0;
}
#carouselSlideProdotti .carousel-inner {
	padding: 1em;
}
#carouselSlideProdotti .carousel-control-prev, 
#carouselSlideProdotti .carousel-control-next {
	background-color: #e1e1e1;
	width: 6vh;
	height: 6vh;
	border-radius: 50%;
	top: 50%;
	transform: translateY(-50%);
}
#carouselSlideProdotti .carousel-control-prev span, 
#carouselSlideProdotti .carousel-control-next span {
	width: 1.5rem;
	height: 1.5rem;
}

/* Footer */
#menu-footer li, #footer-nav li {
	margin-right: 10px;
}
#menu-footer li:last-child {
	margin-right: 0;
}
footer ul.nav li a:link, footer ul.nav li a:visited, 
footer ul.nav li a:hover, footer ul.nav li a:active {
	color: #000;
	font-size: 12px;
	text-decoration: none;
}
footer .item-footer a {
	color: #000;
	font-size: 12px;
	text-decoration: none;
}
footer .info-societa, footer .label-logo {
	color: #000;
	font-size: 12px;
}
footer .info-societa a {
	color: #000;
	text-decoration: none;
}
footer .icona-social a {
	color: #000;
}
footer .subscribe-newsletter input {
	width: 324px;
	color: #000;
	font-size: 12px;
	border: 1px solid #fff;
	height: 38px;
	display: inline;
	border-radius: 0;
}
footer .subscribe-newsletter button {
	background-color: #2E5266;
	border-radius: 0;
	border: 1px solid #2E5266;
	color: #fff;
}
footer .subscribe-newsletter button.bg-yellow-hover:hover {
	background-color: #EFBB5E;
	border: 1px solid #EFBB5E;
	color: #fff;
}
.sign-up {
	color: #000;
	font-size: 12px;
	margin-top: 30px;
}
label.acceptance-privacy-policy {
	color: #000;
	font-size: 12px;
}
input#acceptance-privacy-policy {
	position: relative;
	top: 3px;
}

/* Media Queries */
@media screen and (max-width: 992px) {
	.container .cm-glossary .listNav .ln-letters {
		width: 100%;
	}
	.menu-item-has-children:hover .sub-menu {
		position: sticky;
		padding-bottom: 3px !important;
	}
	#mg-wprm-wrap li.menu-item-has-children ul.sub-menu a:hover {
		background: none !important;
	}
	#mg-wprm-wrap li.menu-item-has-children ul.sub-menu .sub-menu a {
		text-transform: none !important;
		background: none;
	}
	#mg-wprm-wrap ul li ul.sub-menu li {
		padding-bottom: 0;
	}
	#mg-wprm-wrap li.menu-item ul.sub-menu li.menu-item span {
		right: 0;
	}
	div#mg-wprm-wrap ul>li:hover>span.wprmenu_icon {
		color: #2e5266 !important;
	}
	div#mg-wprm-wrap ul>li.current_page_item>span.wprmenu_icon, 
	div#mg-wprm-wrap ul.sub-menu li span.wprmenu_icon, 
	ul#wprmenu_menu_ul .sub-menu li.menu-item a {
		color: #fff !important;
	}
}
@media (min-width: 768px) and (max-width: 992px) {
	.immagine-inevidenza-bottom {
		min-height: 550px;
	}
	.cm-glossary .listNav .ln-letters a {
		font-size: 15px;
		padding: 2px 6px;
	}
}
@media screen and (max-width: 991px) {
	#carouselSlideProdotti .card:not(:first-child) {
		display: none;
	}
}
@media screen and (min-width: 991px) {
	#carouselSlideProdotti .cards-wrapper {
		display: flex;
	}
	#carouselSlideProdotti .card {
		margin: 0 0.5em;
		width: calc(100% / 2);
	}
}
@media screen and (max-width: 576px) {
	.elenco-categorie {
		width: auto;
	}
	.elenco-categorie ul {
		padding: 0;
	}
	.elenco-categorie li {
		font-size: 12px;
	}
}
@media screen and (max-width: 540px) {
	.news-inevidenza.top, .news-inevidenza.bottom {
		padding: 50px 20px 20px 20px;
	}
	footer .subscribe-newsletter input {
		width: 270px;
	}
}
@media screen and (max-width: 360px) {
	#carouselSlideHome .carousel-caption {
		bottom: 7rem;
	}
	.box-opacity-home .content {
		padding: 100px 50px 0 50px;
	}
	#carouselSlideProdotti .box-content-prodotti {
		top: 20px;
	}
	.wp-block-media-text .wp-block-media-text__content {
		padding: 0;
	}
	.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
		margin-top: 20px;
	}
}