body,
button,
input,
select,
textarea{
	color: #000;
	font-family: "JetBrains Mono", monospace;
	font-size:0.9rem;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6{color: #E20613; font-family: "Inter Tight", sans-serif; font-weight:500;}
.h1, .h2, .h3, .h4, .h5, .h6{color: #000000;}
.display-1,.display-2,.display-3,.display-4, .display-5, .display-6 {font-weight:normal;}
.text-white h1,.text-white h2,.text-white h3, .text-white h4, .text-white h5, .text-white h6, .text-white p, .text-white a{color: #ffffff !important;}
.text-dark h1, .text-dark h2, .text-dark h3, .text-dark h4, .text-dark h5, .text-dark h6, .text-dark p, .text-dark a{color: #000000 !important;}
.text-gray h1, .text-gray h2, .text-gray h3, .text-gray h4, .text-gray h5, .text-gray h6{color: #666666;}
.text-gray h1 strong, .text-gray h2 strong, .text-gray h3 strong, .text-gray h4 strong, .text-gray h5 strong, .text-gray h6 strong{color: #E20613;}
.text-white .btn{text-shadow:none !important;}

h1 {}
h2 {}
h3 {color:#000000;}
h4 {color:#000000;}
h5 {color:#000000;}
h6 {}

.pb-10 {padding-bottom:8rem;}

.parallax-window h1{text-shadow: 0 0 10px #333;}

hr { width:60px; opacity:1;}

.line {
    border-bottom: 2px solid #E20613;
    display: block;
    margin: 25px auto 30px auto;
    width: 60px;
}

.bg-red {background-color: #E20613;}
.border-red {border-color: #E20613 !important;}
.text-red {color: #E20613 !important;}

.logo-container img{
width:80%;
height:auto;
}

.link-arrow a::after {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f061";
    margin-left: 5px;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    vertical-align: -2px;
}

.radius-4 {border-radius:0.6rem !important;}

.radius-4 .card-img, .radius-4 .card-img-top {
  border-top-left-radius: .6rem;
  border-top-right-radius: .6rem;
}

/* Rende gli embed video fluidi e responsive */
iframe[src*="vimeo.com"],
iframe[src*="youtube.com"] {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9; /* mantiene il formato video */
  max-width: 100%;
  display: block;
}

/* Links */
a, a:visited{
	color: #E20613;
transition: all 0.3s ease 0s;	
text-decoration: none;
}

a:hover,
a:focus,
a:active {
	color:#000000;
	text-decoration: none;
}


.text-content ul {
    padding:0;
}

.text-content li {
  margin: 0;
  padding:0;
  margin-bottom: 0.3rem;
  padding-left: 1.4rem;
  position: relative;
  list-style: none; 
}
  
.text-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  height: 2px;
  width: 12px;
  background-color: #E20613;
}
  
  

/* Header */

.navbar-brand img{
    max-height: 70px;
    max-width: 100%;
    width: auto;
	}	
		
.offcanvas .menu-item a {
	display: block;
  padding: 0.5rem 0;
}

@media (min-width: 992px) {
.navigation-main  .nav-link{}

}

.nav-link.dropdown-toggle:after{
content: "";
position:relative;
bottom: inherit;
left: inherit;
background-color: inherit;
height: inherit;
  margin-left: .255em;
 width: inherit; 
}

.current-menu-item a.nav-link.dropdown-toggle::after, a.nav-link.dropdown-toggle:hover::after {
  margin-left: .255em;
  width: inherit;
}

.menu-item {padding:0 0.5rem;}

.navigation-top{background-color:#eaeaea; 
padding-top: .3rem;
  padding-bottom: .3rem;
}}

.navigation-top li{padding:0;}

.navigation-top .navbar-nav li a.nav-link {
	background:none;
	padding:.4rem .6rem !important;}
	
.navigation-top .navbar-nav li:hover a.nav-link,
.navigation-top .navbar-nav li:focus a.nav-link{
	color: #33691E !important;
	background:none;}		
	

.navbar-toggler{border:none;}
.navbar-toggler-icon {
  width: 2em;
  height: 2em;
}

[data-bs-theme="dark"] .navbar-toggler-icon {
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}  


.dropdown-menu a.dropdown-item {
  color: #E20613;
}

.dropdown-menu {
  background-color: #f2f2f2;
  border:none;
  border-radius: 0;
}

.dropdown-menu > a, .dropdown-menu > .active > a {
    background:none;
    color: #33691E;
}

.dropdown-menu > li > a:focus, .dropdown-menu > li > a:hover, .dropdown-menu > .active > a:focus, .dropdown-menu > .active > a:hover, a.dropdown-item.active {
    background:none;
    color: #33691E;
}

/* Homepage */

.div-table {
    display: table;
    margin: 0 auto;
}

.div-cell {
    display: table-cell;
    vertical-align: middle;
}


#fascia-slideshow{
    background-color: #fafafa;
    position: relative;
	overflow:hidden;
}

#fascia-slideshow.loading {min-height: 400px; background: url('images/preloader.gif') no-repeat center center !important;}


#slidebox .slides .container{position:relative;}
	
#slidebox .slides li{position:relative}

.flex-caption {
  height: 100%;
  left: 0;
  margin: 0;
  position: absolute;
  text-align: left;
  text-shadow: none;
  top: 0;
  width: 100%;
  z-index: 10;
}


.caption-outer{
  display: table;
  height: 100%;
  width: 100%;
}

.caption-inner{
  display: table-cell;
  vertical-align: middle;
}

.fascia-container .caption-inner{
  vertical-align: bottom;
}

.parallax-window {
 background-clip:border-box;
 background-origin:padding-box;
 background-position:center;
 background-repeat:no-repeat !important;
 background-size:cover !important;
 position:relative;
height:500px;
}
.fullheight{position:relative;
    display: block;
    height: auto;}


.fullheight .slides {
    height: 100vh;
    max-height: 100%;
    overflow: hidden;
}

.fullheight .slides li {
    background-position: center center !important;
    background-size: cover !important;
    height: 100% !important;
    margin: 0;
    padding: 0;
    width: 100%;
}

@media (max-width: 1199.98px) { .parallax-window {  height: 400px;} }

@media (max-width: 991.98px) { .parallax-window{  height: 300px;} }

@media (max-width: 767.98px) { .parallax-window {  height: 250px;} }

@media (max-width: 575.98px) { .parallax-window{  height: 200px;} }

.velo {
	background: #000 none repeat scroll 0 0;
	height: 100%;
	opacity: 0.2;
	filter: alpha(opacity=20);
	position: absolute;
	width: 100%;
	left:0; 
	top:0;
	z-index:10;
}

.testata-home .velo, #fascia-slideshow .velo, .fascia-container .velo{
/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.4+100 */
background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.4) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
opacity: 1;
filter: alpha(opacity=100);
}

#parallax .velo {z-index:5;}

.velo-none .velo {display:none;}

.full-height {
  min-height:calc(100vh - 80px);
}

.immagine-container.full-height {
	min-height:100vh; 
background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;	}


.no-row .row{display:block;}

.superfascia{position:relative;}
.content{position:relative; z-index:10;}

.immagine-container, .fascia-container{position:relative;}

.home .section-header {
    position: sticky !important;
    position: -webkit-sticky;
	top: 0;
	z-index:100;
}

.immagine-container .sommario a:hover{color:#fff;}
.navbar .sommario a:hover{color:#000 !important;}

.lang-switcher-inline .lang-current{color:#E20613 !important; background-color:#ffffff}
.lang-switcher-inline a{color:#ffffff !important; background-color:#E20613}
.lang-switcher-inline a:hover{color:#000 !important;}

.text-bg-dark a:hover{
  color: #fff !important;
}

/*Fascia Video*/

.homepage-hero-module {
  border-right: none;
  border-left: none;
  position: relative;
  height:70vh;
}
.video-container {
  position: relative;
  bottom: 0%;
  left: 0%;
  height: 100%;
  width: 100%;
  overflow: hidden;
  background: #eeeeee;
}
.video-container .poster {
  width: 100%;
  height: 100%;
  top: 0;
  position: absolute;
  background-size:cover;
  background-repeat: no-repeat;
  background-position: center; 
display:none;  
}
.slideshow-container .velo {
  z-index: 3;
  position: absolute;
  width: 100%;
  height: 100%;
  top:0;
/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&1+0,0+50 */
background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(255,255,255,0) 50%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(255,255,255,0) 50%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=0 ); /* IE6-9 */

}
.video-container .flex-caption{
  z-index: 100;
 height: 100%;
left: 0;
margin: 0;
position: absolute;
top: 0;
width: 100%;
z-index: 10;
color: #fff !important; 
z-index: 20;
}

.video-container .caption-outer {
    display: table;
    height: 100%;
    width: 100%;
}

.video-container .caption-inner {
  display: table-cell;
  vertical-align: middle;
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display:block;
}


/* 1. No object-fit support: */
@media (min-aspect-ratio: 16/9) {
  .video-container > video { height: 300%; top: -100%; }
}
@media (max-aspect-ratio: 16/9) {
  .video-container > video { width: 300%; left: -100%; }
}
/* 2. If supporting object-fit, overriding (1): */
@supports (object-fit: cover) {
  .video-container > video {
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
  }
}

.video-container h1, .video-container h2, .video-container h3, .video-container h4{color:white;  text-shadow: 0 0 15px rgba(0, 0, 0, 0.5);}

.video-container .dropdown-menu {width:100%}

.card{overflow:hidden;}
.card-img-overlay{/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&0+0,0.8+50,0.8+50 */
background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(255,255,255,0.8) 50%,rgba(255,255,255,0.8) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */

}

.card img {transition: all 0.3s ease 0s;}
.card:hover  img {scale:1.05;}


.postbox {
    background-color: #f2f2f2;
}
.portbox, .postbox {
    margin-bottom: 30px;
    position: relative;
}
.blog-txt {
    margin: 15px;
}

.blog-txt p{color:#333333}

.blog-txt p.data{font-size:12px; color:#999999;}

.hthumb {
    overflow: hidden;
    position: relative;
}
.hthumb img {
    display: block;
    transform: scale(1);
    transition: all 1s ease 0s;
    width: 100%;
}
a:hover .hthumb img {
    transform: scale(1.1);
}

.boxitem {
    background-position: center center;
    background-size: cover;
    margin-bottom: 30px;
    position: relative;
}

.boxitems{margin-top:67px;}

.crp_thumb  {
  max-width: 100% !important;
  height: auto !important;
}

.thumb-small img {max-width:200px;}
.thumb-libri img {max-height:250px; width:auto;}

.form-control { border-radius: 0; }

.form-details {  display: none; }

button.close{color:#666 !important;}
button.close:hover{background:none !important;}
	
button,
html input[type="button"],
input[type="reset"],
input[type="submit"],
.btn{
border-radius: 0 !important;
 transition: all 0.3s ease 0s;
padding: .5rem 2.5rem;}


.btn-primary, .btn-primary:disabled{color: #fff !important;
  background-color: #000000;
  border-color: #000000;
  } 

.btn-primary:hover, .btn-primary:active,  .btn-primary:focus{
color: #000 !important;
  background-color: transparent;
  border-color: #000;
}

.btn:hover, .btn:active,  .btn:focus{
 box-shadow: 0 20px 38px rgba(0,0,0,.16);
-ms-transform: translateY(-3px);
transform: translateY(-3px);
-webkit-transform: translateY(-3px); 
}


/*Pagination*/
.page-item:first-child .page-link,
.page-item:last-child .page-link {
    border-radius: 0;
}
.page-item.active .page-link {
background-color: #E20613;
border-color: #E20613;
}

.page-link, .page-link:hover {
	color: #E20613;
	border: none;
}

/*Articoli*/

.link {
  background-size: 100% 100%;
  background-position: 100%;
  background-repeat: no-repeat;
  transition: all .2s;	
display: inline-block;  
}
.news-container .link, .post-meta .link {color:#000; background-image: linear-gradient(transparent calc(100% - 1px),#000 1px); }
.news-container .link:hover, .news-container a:hover h3, .post-meta .link:hover {color:#E20613; background-size: 0 100%;}
.news-container a h3{color:#E20613;}
.news-container a:hover h3{color:#000;}
.news-container.in-evidenza h3{color:#E20613;}
.news-container.in-evidenza h3:before{content:"\201C"}
.news-container.in-evidenza h3:after{content:"\201D"}
.news-container .boxitem img{
	transition: transform 2s cubic-bezier(0.14, 1.12, 0.67, 0.99) 0s;
  transform: translateZ(0px) scale(1, 1);}
.news-container .boxitem :hover img{transform: translateZ(0px) scale(1.05, 1.05);}

.editoriale-container .link {background-image: linear-gradient(transparent calc(100% - 1px),#fff 1px); }
.editoriale-container .link:hover {color:#000 !important; background-size: 0 100%;}

.fascia-container {overflow:hidden;}
.fascia-container img{
	transition: transform 10s cubic-bezier(0.14, 1.12, 0.67, 0.99) 0s;
  transform: translateZ(0px) scale(1, 1);}
.fascia-container:hover img{transform: translateZ(0px) scale(1.1, 1.1);}
	
/* Search */

button#searchsubmit{margin-top:0;}

#comments{background-color:#f2f2f2; padding:10px; margin-top:30px;}

label {
    font-weight: normal;
    text-transform: uppercase;
  font-size:13px;
}


/* Widgets */
#secondary .widget {
	margin: 0 0px 30px 0px;
	
}
h4.widget-title{margin-top:0;}

.widget ul {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

.widget li {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

.widget ul ul {
    list-style-type: none;
    background-repeat: no-repeat;
    margin: 0px;
    padding: 0px;
}

.widget ul li {
    list-style-type: none;
    margin: 0px;
    margin: 0px 0px;
}


#secondary .sidemenu ul {
    list-style: outside none none;
    margin: 0;
    padding: 0;
}

.widget li h3.rpwe-title {margin:0; font-weight:normal;}

#secondary .sidemenu li {
    padding: 10px 0px;
	border-bottom:2px solid #eeeeee;
}

#secondary .sidemenu li, .widget li h3.rpwe-title a {
    background-color: #ffffff;
    color: #666666;
    display: block;
	text-transform:none;
transition: all 1.5s cubic-bezier(0.23, 1, 0.32, 1) 0s; 	
}


.sidemenu li a:hover span{background-color:#666666;}
.sidemenu li a:hover{color:#333333;}

.sidemenu li a:hover {
    color: #666666;
}

 
#secondary .sidemenu li h4.tab-title a, #secondary .sidemenu #accordion h4.tab-title a, .widget h3.widget-title{
    display: block;
border:none;
margin:0 0 15px 0;	
color:#E20613;
text-transform:uppercase;
}
h4.tab-title {
	margin: 0 0 2px 0;
}


#secondary .sidemenu li a:hover, .widget li h3.rpwe-title a:hover, #secondary .widget li.current_page_item a{
    color: #666666;
}
#secondary .sidemenu li h4.tab-title a:hover, #secondary .sidemenu li.current_page_item h4.tab-title a, #secondary .sidemenu li h4.tab-title a:hover {
    background-color: #000000;
    color: #666666;
}
.widget .textwidget p {
    padding: 0px 0px;
}


/* Footer widgets */


.site-footer h4.widget-title{text-transform:uppercase; font-weight:normal; font-size: .8rem;}	

.fcred p, .fcred a{font-size:90%;}
.site-footer  a{color:#000;}
.site-footer  a:hover{color:#E20613;}


.social a{
width: 2.5rem;
  height: 2.5rem;
  line-height: 2em;
  border-radius: 50% !important;
  padding: 0.15rem;
}


.menu-categorie-container ul{
	font-weight:bold;
	display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: auto auto;	
  }

@media screen and (max-width: 1200px) {
.navbar-brand img{ max-height: 60px; }

}

@media screen and (max-width: 992px) {
.navbar-brand img{ max-height: 45px; }
.navbar-default .navbar-main > li > a, .navbar-default .navbar-main > .active > a {
  padding-bottom: 10px;
  padding-top: 10px;
}

.section-generic .container, .section-banner .container {
    padding-bottom: 20px;
    padding-top: 20px;
}
.fascia-immagine{background-image:none !important;}

#slidebox .caption-inner h2, #fascia-testata .caption-inner h2, #parallax .caption-inner h2, .section-generic h2 { font-size: 28px;line-height: 28px;}
#slidebox .caption-inner p, #fascia-testata .caption-inner p, #parallax .caption-inner p, .section-generic p, .section-generic li { font-size: 16px;}

.fs-5 {font-size:1rem !important;}
}


@media screen and (max-width: 768px) {
.immagine-container .caption-inner h1, .immagine-container .caption-inner h2 { font-size: 22px;line-height: 23px;}
.immagine-container .caption-inner p, h5{font-size: 17px;}
  #menu-contatti {
    flex-direction: column;
  }
  
 button, html input[type="button"], input[type="reset"], input[type="submit"], .btn {
  font-size: 0.9rem;
} 
.velo-cont .velo {display:block; background-color:#fff;opacity: 1;filter: alpha(opacity=100);}
.immagine-container p{margin:0;}
.fs-5 {font-size:0.7rem !important;}
.fs-1 {font-size: calc(1rem + 1.2vw) !important; }
.text-uppercase{font-size:0.8rem; }
}
