/*!
 * Clean Blog v1.0.0 (http://startbootstrap.com)
 * Copyright 2014 Start Bootstrap
 * Licensed under Apache 2.0 (https://github.com/IronSummitMedia/startbootstrap/blob/gh-pages/LICENSE)
 */

body {
  font-family: 'Lora', 'Times New Roman', serif;
  font-size: 20px;
  color: #404040;
  background-color: #dee2ec;
}
p {
  line-height: 1.5;
  margin: 30px 0;
}
p:first-child {
  margin: 0 0 30px 0;
} 
p a {
  text-decoration: underline;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 800;
}
a {
  color: #404040;
}
a:hover,
a:focus {
  color: #0085a1;
}
img {
  height: auto;
  max-width: 100%;
}
a img:hover,
a img:focus {
  cursor: zoom-in;
}
blockquote {
  color: #808080;
  font-style: italic;
}
hr.small {
  max-width: 100px;
  margin: 15px auto;
  border-width: 4px;
  border-color: white;
}
.navbar-custom {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 3;
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.navbar-custom .navbar-brand {
  font-weight: 800;
}
.navbar-custom .nav li a {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: normal;
  letter-spacing: 1px;
}

.navbar, 
.navbar-default { 
border: none;
background-color: unset;
}

@media only screen and (min-width: 768px) {

  .navbar-custom .navbar-brand {
    color: black;
	position: relative;
	top: 20px;
	left: 35px;
	cursor: pointer;
	pointer-events: auto;

  }
  .navbar-custom .navbar-brand:hover,
  .navbar-custom .navbar-brand:focus {
    color: rgba(255, 255, 255, 0.8);
  }
  .navbar-custom .nav li a {
    color: white;
        padding: 20px;
        font-stretch: expanded;
        font-weight: 900;
  }
   .navbar-custom .nav li ul li a {
    color: #777;
    padding: 20px;
  }
  .navbar-custom .nav li a:hover,
  .navbar-custom .nav li a:focus {
    /*color: rgba(255, 255, 255, 0.8);*/
	color: #1149ef; 
	background-color: #eee;
  }
   .navbar-custom .nav li ul li a:hover, 
   .navbar-custom .nav li ul li a:focus {
    color: black;
    padding: 20px;
  }
   .navbar-custom .nav li ul li.active a {
    color: #fff;
    padding: 20px;
  }
}
@media only screen and (min-width: 1170px) {

  .navbar-custom.is-fixed .navbar-brand {
    color: #404040;
  }
  .navbar-custom.is-fixed .navbar-brand:hover,
  .navbar-custom.is-fixed .navbar-brand:focus {
    color: #0085a1;
  }
  .navbar-custom.is-fixed .nav li a {
    color: #404040;
  }
  .navbar-custom.is-fixed .nav li a:hover,
  .navbar-custom.is-fixed .nav li a:focus {
    color: #0085a1;
  }
  .navbar-custom.is-visible {
    -webkit-transform: translate3d(0, 100%, 0);
    -moz-transform: translate3d(0, 100%, 0);
    -ms-transform: translate3d(0, 100%, 0);
    -o-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
}
.intro-header {
  background-color: #dee2ec;
  background: no-repeat center center;
  background-attachment: scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
    top: -60px;
    position: relative;
	height:750px;
	z-index: 1;
}

.intro-header::before {
	content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 32, 90, 0.85) 0%, rgba(10, 32, 90, 0.55) 35%, rgba(10, 32, 90, 0.35) 65%, rgba(10, 32, 90, 0) 100%);
    z-index: 2;
}

.intro-header .site-heading,
.intro-header .post-heading,
.intro-header .page-heading {
  padding: 75px 0 25px;
  color: white;
}
@media only screen and (min-width: 768px) {
  .intro-header .site-heading,
  .intro-header .post-heading,
  .intro-header .page-heading {
    padding: 100px 0 100px;
  }
}
.intro-header .site-heading,
.intro-header .page-heading {
  text-align: center;
  top: 200px;
 position: relative;
}
.intro-header .site-heading h1,
.intro-header .page-heading h1 {
  margin-top: 0;
}

.intro-header .site-heading .subheading,
.intro-header .page-heading .subheading {
  font-size: 24px;
  line-height: 1.1;
  display: block;
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 300;
  margin: 10px 0 0;
}
@media only screen and (min-width: 768px) {
  
  .intro-header .site-heading h1,
  .intro-header .page-heading h1 {
    font-size: 80px;
  }
}
.intro-header .post-heading h1 {
  font-size: 35px;
}
.intro-header .post-heading .subheading,
.intro-header .post-heading .meta {
  line-height: 1.1;
  display: block;
}
.intro-header .post-heading .subheading {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 24px;
  margin: 10px 0 30px;
  font-weight: 600;
}
.intro-header .post-heading .meta {
  font-family: 'Lora', 'Times New Roman', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 20px;
}

.intro-header .post-heading .meta a {
  color: white;
}
@media only screen and (min-width: 768px) {
  .intro-header .post-heading h1 {
    font-size: 55px;
  }
  .intro-header .post-heading .subheading {
    font-size: 30px;
  }
}
.post-preview > a {
  color: #404040;
}
.post-preview > a:hover,
.post-preview > a:focus {
  text-decoration: none;
  color: #0085a1;
}
.post-preview > a > .post-title {
  font-size: 27px;
  margin-top: 0px;
  margin-bottom: 10px;
}
.post-preview > a > .post-subtitle {
  margin: 0;
  font-weight: 300;
  margin-bottom: 10px;
}
.post-preview > .post-meta {
  color: #808080;
  font-size: 18px;
  font-style: italic;
  margin-top: 0;
}
.post-preview > .post-meta > a {
  text-decoration: none;
  color: #404040;
}
.post-preview > .post-meta > a:hover,
.post-preview > .post-meta > a:focus {
  color: #0085a1;
  text-decoration: underline;
}
@media only screen and (min-width: 768px) {
  .post-preview > a > .post-title {
    font-size: 36px;
  }
}
.section-heading {
  font-size: 36px;
  margin-top: 60px;
  font-weight: 700;
}
.caption {
  text-align: center;
  font-size: 14px;
  padding: 10px;
  font-style: italic;
  margin: 0;
  display: block;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}
footer {
  padding: 50px 0 65px;
}
footer .list-inline {
  margin: 0;
  padding: 0;
}
footer .copyright {
  font-size: 12px;
  text-align: center;
  margin-bottom: 0;
  margin-top: 30px;
}
.floating-label-form-group {
  font-size: 14px;
  position: relative;
  margin-bottom: 0;
  padding-bottom: 0.5em;
  border-bottom: 1px solid #eeeeee;
}
.floating-label-form-group input,
.floating-label-form-group textarea {
  z-index: 1;
  position: relative;
  padding-right: 0;
  padding-left: 0;
  border: none;
  border-radius: 0;
  font-size: 1.5em;
  background: none;
  box-shadow: none !important;
  resize: none;
}
.floating-label-form-group label {
  display: block;
  z-index: 0;
  position: relative;
  top: 2em;
  margin: 0;
  font-size: 0.85em;
  line-height: 1.764705882em;
  vertical-align: middle;
  vertical-align: baseline;
  opacity: 0;
  -webkit-transition: top 0.3s ease,opacity 0.3s ease;
  -moz-transition: top 0.3s ease,opacity 0.3s ease;
  -ms-transition: top 0.3s ease,opacity 0.3s ease;
  transition: top 0.3s ease,opacity 0.3s ease;
}
.floating-label-form-group::not(:first-child) {
  padding-left: 14px;
  border-left: 1px solid #eeeeee;
}
.floating-label-form-group-with-value label {
  top: 0;
  opacity: 1;
}
.floating-label-form-group-with-focus label {
  color: #0085a1;
}
form .row:first-child .floating-label-form-group {
  border-top: 1px solid #eeeeee;
}
.btn {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  border-radius: 0;
  padding: 15px 25px;
}
.btn-lg {
  font-size: 16px;
  padding: 25px 35px;
}
.btn-default:hover,
.btn-default:focus {
  background-color: #0085a1;
  border: 1px solid #0085a1;
  color: white;
}
.pager {
  margin: 150px 0 30px 0;
}
.pager li > a,
.pager li > span {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 15px 25px;
  background-color: white;
  border-radius: 0;
}
.pager li > a:hover,
.pager li > a:focus {
  color: white;
  background-color: #0085a1;
  border: 1px solid #0085a1;
}
.pager .disabled > a,
.pager .disabled > a:hover,
.pager .disabled > a:focus,
.pager .disabled > span {
  color: #808080;
  background-color: #404040;
  cursor: not-allowed;
}
::-moz-selection {
  color: white;
  text-shadow: none;
  background: #0085a1;
}
::selection {
  color: white;
  text-shadow: none;
  background: #0085a1;
}
img::selection {
  color: white;
  background: transparent;
}
img::-moz-selection {
  color: white;
  background: transparent;
}
body {
  webkit-tap-highlight-color: #0085a1;
}
.breadcrumb {
  background-color: transparent;
  border-radius: 0px;
  font-size:16px;
  list-style: outside none none;
  margin-bottom: 20px;
  padding: 0px;
  font-family: 'Lora', 'Times New Roman', serif;
  color: white;
  text-align:center;
   top: 200px;
   z-index:3000;
 position: relative;

}
.breadcrumb a {
  color:white;  
}
.tab {
  margin-bottom:30px;  
}
.left {
  text-align:left;
}
.copyright p {
  margin:0;
}

.toolbox {
 margin-bottom:30px;
}

.toolbox span {
  margin-right:20px;
  display:inline-block;
}

.toolbox .share {
  margin-right: 0;
}

.toolbox .share a {
  margin-left: 5px;
}

#comments {
  margin-bottom: 20px;
}

.tags a:after {
  content:", ";
}
.tags a:last-child:after {
  content:"";
}

.featured {
  font-size: 28px;
}

.featured blockquote {
  border-left: none;
  font-size: 28px;
}

.features {
  margin:30px 0;
}

blockquote.category {
  border:none;
  padding:0;
}

.social-logo a {
  margin-right: 10px!important;
}
.social-logo a:last-child {
  margin-right:0!important;
}



.navbar-brand img {
 /* max-height: 100px;
  width: auto;*/
  display: block;
}
.navbar-brand {
  padding: 0;
  line-height: 1;
  height: auto;
   position: relative;
  z-index: 1031;
}
.navbar-brand img {
  
}   

@media only screen and (min-width: 800px) {
.navbar-default .navbar-collapse, .navbar-default .navbar-form {
	 max-height: 50px;

}
}


.container-fluid {
   height: 40px;
	z-index: 100;
	position: relative;
}
@media only screen and (max-width: 768px) {
	.navbar-default .navbar-collapse, .navbar-default .navbar-form {
	background-color: #ddeaf2;	
}

}
 
 .navbar-custom {
  position: fixed !important;
  top: 0;
  max-height: 50px;
  width: 100%;
  z-index: 2000;
}
 
 
 

	article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
    display: block;
    top: 60px;
    position: relative;
	}
	
.post-preview {
	position: relative;
	top: 60px;
	margin-bottom: 25px;
	font-family: 'Open Sans';
}

.myIframe, .myIframe>iframe {
	width: 100%;
	border: none;
	float: none;
	
}

iframe {
  float: left;
 /* width: 300px; /* Fixed or percentage width */
  margin: 0 20px 20px 0; /* Spacing between iframe and text */
}

@media only screen and (min-width: 768px) {
	.myIframe, .myIframe>iframe {
	width: 45%;
	float: none;
}

}

.navbar-fixed-top {
  z-index: 400;
}   

body {
  padding-top: 60px;
}


.read-more {
  display: inline-block;
  background: #337ab7;
  color: #fff;
  padding: 8px 16px;
  font-size: 12px;
  border-radius: 10px;
  margin-top:20px;
  text-transform: uppercase;
    font-stretch: expanded;
	font-family: sans-serif;
	letter-spacing: 1.5px;
}   

/* combinazioni per le immagini vedi i circoli */

img[src*='#left']   { float: left;   margin: 10px 10px 10px 0; }
img[src*='#right']  { float: right;  margin: 10px 0 10px 10px; }
img[src*='#center'] { display: block; margin: 10px auto; }
img[src*='#wide']   { width: 100%; }
img[src*='#small']  { width: 20%; float: left; margin-right: 20px;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #fff;
}

.navbar-default .navbar-toggle {
    border-color: #fff;
}

.navbar-toggle {
    background-color: #e8b20d;
   /* border: 1px solid #e8b20d;*/
	margin-right: 30px;
	margin-top: 15px;
}

.navbar-default .navbar-toggle:focus,
 .navbar-toggle:hover{
    background-color: #337ab7;
}

.buttonDown {
	display: inline-block;
    background: #069e35;
    color: #fff;
    padding: 8px 16px;
    font-size: 12px;
    border-radius: 10px;
    text-transform: uppercase;
    font-stretch: expanded;
    font-family: sans-serif;
    letter-spacing: 1px;
	text-decoration:none;
	margin-top: 15px;
}

.buttonLink{	
    display: inline-block;
    background: #f5ab0c;
    color: #fff;
    padding: 8px 16px;
    font-size: 12px;
    border-radius: 10px;
    text-transform: uppercase;
    font-stretch: expanded;
    font-family: sans-serif;
    letter-spacing: 1px;
	text-decoration:none;
	margin-top: 15px;
}

.buttonPay {
    font-family:Sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #fff;
/*	border: 2px solid white;*/
    border-radius: 0px 24px 24px 0px;
	background-color: #034781;
	padding:10px;
	text-decoration:none;

}
.buttonCard {
    font-family: Sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #fff;
   /* border: 2px solid white;*/
    border-radius: 24px 0px 0px 24px;
	background-color: #034781;
	padding:10px;
		text-decoration:none;
}
	.buttonLink a, .buttonPay a,.buttonDown a{color: #fff;
	text-decoration:none; 
	letter-spacing: 1px;
	text-transform: uppercase;
    font-stretch: expanded;
    font-family: sans-serif;
	}

.social-logo, .orange a{
	color: #e8b20d;

}

.social-logo a{
	font-size:36px;
}

.read-more:hover, .read-more:focus{
	background-color: #034781;
		text-decoration:none;
		color: white;
}


.buttonCard:hover, .buttonPay:hover, .buttonPay:focus, .buttonCard:focus,
.buttonDown:hover, .buttonDown:focus, .buttonLink:hover, .buttonLink:focus
 {
		background-color: #337ab7;
		text-decoration:none;
		color: white;

}


.button-container {
	cursor:pointer;
	pointer-events: auto;
	top: 70px;
	right: 30px;
    z-index: 2100;
    position: fixed;
}
.linkSoc {float:left; margin-right: 10px;}

@media only screen and (max-width: 768px) {
.button-container {	top: 110px;}
.linkSoc {top:65px; position:fixed; right:30px;}
}

/* nascondo le pagine che non mi interessano */ 
.navbar-nav a[href*="privacy"] { display: none; } /* dal menu */
		li.prev a[href*="privacy"] {display: none;}   /* dal prev sotto */
		li.next a[href*="privacy"] {display: none;}   /* dal next sotto */
.navbar-nav a[href*="sostieni"] { display: none; } /* dal menu*/
.navbar-nav a[href*="tessera"] { display: none; } /* dal menu*/

.navbar-nav a[href*="cookies"] { display: none; } /* dal menu */
		li.prev a[href*="cookies"] {display: none;}   /* dal prev sotto */
		li.next a[href*="cookies"] {display: none;}   /* dal next sotto */


/* riordino le voci di meni in maniera responsive */
@media only screen and (min-width: 768px) {
  .navbar-nav {
    display: flex;
    flex-direction: row;
  }
}

/* home */
.navbar-nav li:has(a[href*="home"])       { order: 10; }
.navbar-nav li:has(a[href*="programma"])  { order: 20; }
.navbar-nav li:has(a[href*="notizie"])    { order: 30; }
.navbar-nav li:has(a[href*="i-circoli"])  { order: 40; }
.navbar-nav li:has(a[href*="chi-siamo"])  { order: 50; }
.navbar-nav li:has(a[href*="sostieni"])   { order: 60; }
.navbar-nav li:has(a[href*="contatti"])   { order: 70; }
.navbar-nav li:has(a[href*="privacy"])    { order: 80; }
/* Aggiungi qui le nuove pagine, es: 
.navbar-nav li:has(a[href*="nuova-pagina"]) { order: 90; }   */

@media only screen and (max-width: 768px) {
.navbar-nav {
  display: flex;
  flex-direction: column; 
}
}

pre code {
    font-size: 2rem;
}

.navbar-nav {
	z-index: 2000;
}


  blockquote {
  position: relative;
  display: inline-block;
  padding: 2rem 2rem 2rem 4rem;
  font-style: italic;
  border-left: none;
}   

blockquote p {
  color: #034781;
  font-size: 4rem;
  position: relative;
  z-index:5;
}


blockquote::before {
	content: "\201D";
	font-size: 14rem;
    color: #f5d73b;
    font-family: Georgia, serif;
    line-height: 1;
    z-index: -1;
    position: absolute;
    left: 0;
    top: 0.2em;
}

blockquote::after {
	content: "\201D";
	font-size: 14rem;
    color: #f5d73b;
    font-family: Georgia, serif;
    line-height: 1;
    z-index: -1;
    position: absolute;
    right: 0;
    bottom: -0.5em;
}   


.fonti{
	font-size: 14px;
}


.fonti a::before {
  content: url("https://upload.wikimedia.org/wikipedia/commons/6/64/Icon_External_Link.png");
  margin-right: 5px;
  vertical-align: middle;
}

.fonti a {
  word-break: break-all;
}     


.news-swiper {
  width: 100%;
  overflow: hidden;
  
}

/* Desktop: 4 per vista */
.news-swiper .swiper-slide {
  width: 25%;
  background-color: white;
}

@media (max-width: 768px) {
  .news-swiper .swiper-slide {
    width: 45%;
  }
}

@media (max-width: 480px) {
  .news-swiper .swiper-slide {
    width: 80%;
  }
}

.slide-image {
  position: relative;
  width: 100%;
  aspect-ratio: 388 / 216;
  overflow: hidden;
  margin-bottom: 10px;
}

.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}   

.slide-category {
  position: absolute;
  top: 10px;
 /* left: 10px;*/
  background: #fab505;
  color: #fff;
  padding: 4px 10px;
  /*border-radius: 4px;*/
  font-size: 0.8em;
  z-index: 1;
}

.slide-title {
  font-size: 1.1em;
  margin: 0 0 6px;
    max-height: 126px;
  min-height: 100px;
  padding: 10px;
}

.slide-title a {
  text-decoration: none;
  color: inherit;
}

.slide-teaser {
  font-size: 0.9em;
  color: #666;
  margin: 0;
  min-height:162px;
    padding: 10px;

}   

.slide-read-more {
  position: fixed;
  bottom: 10px;
  left: 15px;
}

.slide-read-more .read-more {
  display: inline-block;
  padding: 6px 14px;
  background: #034781;
  color: #fff;
  text-decoration: none;
  font-size: 0.85em;
  border-radius: 4px;
  transition: background 0.2s;
}

.slide-read-more .read-more:hover {
  background: #000;
}   

#scrollToTop {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgb(10, 11, 161);
    color: #fff;
    border: none;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 9999;
}

#scrollToTop.visible {
    opacity: 1;
    visibility: visible;
}

#scrollToTop:hover {
    background: rgba(0, 0, 0, 0.9);
}   

.backMenu.at-bottom {
  background-color: #034781ab;
}   

.backMenu {
    transition: background-color 0.3s ease;
}   

.backMenu {
		    height: 140px;
	width:100%;
	position:Fixed;
	z-index: 300;
	top: 0;
}

.intro-header::before,
.intro-header::after {
    pointer-events: none;
}   

.intro-header .page-heading {
    pointer-events: none;
}
.intro-header .page-heading a {
    pointer-events: auto;
}   

.intro-header .breadcrumb {
    position: relative;
    z-index: 10;
}   


.container {
	z-index: 10;
    position: relative;
}

.swiper{
	margin-top:60px;
}


/* ANIMAZIONE FRECCIA */
.intro-header {
  position: relative; 
}

.scroll-arrow {
  position: absolute;
  bottom: 135px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.chevron {
  width: 20px;
  height: 20px;
  border-right:3px solid rgb(232 203 12);
  border-bottom: 3px solid rgb(232 203 12);
  transform: rotate(45deg);
  opacity: 0;
  animation: scrollDown 2s ease-in-out infinite;
}

.chevron:nth-child(2) {
  animation-delay: 0.2s;
}

@keyframes scrollDown {
  0%   { opacity: 0; transform: translateY(-10px) rotate(45deg); }
  30%  { opacity: 1; }
  70%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(15px) rotate(45deg); }
}


.swiper-slide {
   height: 600px !important;
}


footer .buttobPriv, .buttobPriv a {
    border: solid 1px grey;
    padding: 2px 4px;
    border-radius: 12px;
}