/* ========================================================================================== */
/* CUSTOMIZATIONS
/* ========================================================================================== */

body {
  font-family: 'Roboto Condensed', sans-serif;
}

#logo {
  -webkit-transition: 0.6s;
  transition: 0.6s;
  height: 60px;
}

#tagline {
  text-transform: uppercase;
  color: var(--colore-main);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 700;
  height: 75%;
  margin: 0 0 0 1.2rem;
  padding: .4rem 0 .4rem 1.2rem;
}

.text-main {
  color: var(--colore-main);
}
.text-secondario {
  color: var(--colore-secondario);
}
.uppercase {
  text-transform: uppercase;
}
.underline {
  text-decoration: underline;
}
.x15 {
  font-size: 1.5rem;
}
.x2 {
  font-size: 2rem;
}
.lead-text {
  font-size: 1.6rem;
  line-height: 2.2rem;
  margin: 1.5rem 0;
}
.lead-text-secondary {
  font-size: 1.5rem;
}
.border-secondario {
  border-color: var(--colore-secondario) !important;
}
.bg-primario {
  background-color: var(--colore-main);
}
.bg-medio {
  background-color: var(--colore-sfondo-medio);
}
.bg-scuro {
  background-color: var(--colore-sfondo-dark);
}
#ecosistema-fic a:hover {
  color: white !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Roboto Condensed', sans-serif;
}
#the-content h3,
.titolo-sezione {
  border-bottom: 1px solid var(--colore-secondario);
  display: inline-block;
  padding-bottom: .4rem;
  text-transform: uppercase;
  font-weight: 700;
  font-style: italic;
  font-size: 1.6rem;
}

.titolo-alt {
	border-bottom: 0;
	padding-bottom: 0;
	font-size: 3rem;
}

#the-content ol li {
  padding: .2rem 0;
}
a,
a:hover {
  text-decoration: none !important;
  transition: 1s;
}
a {
  color: var(--colore-main);
}
a:hover {
  color: var(--colore-secondario);
}
.btn-base {
  padding: 16px 25px 16px 25px;
  text-transform: uppercase;
  border: none;
  border-radius: 0%;
  font-size: 0.8rem;
  font-weight: 400;
  transition: 1s;
  font-family: 'Roboto Condensed', sans-serif;
}
.btn-chiaro {
  background-color: white;
  color: var(--colore-main);
  
}
.btn-chiaro:hover {
  background-color: var(--colore-secondario);
  color: white;
}
.btn-scuro {
  background-color: var(--colore-main);
  color: white;
}

.btn-scuro:hover {
  background-color: var(--colore-secondario);
  color: var(--colore-main);
  
}
#the-content p {
  margin-bottom: 2rem;
  color: #444444;
}
#the-content table p {
  margin-bottom: 0 !important;
  color: #444444;
}
.slide-category {
  color: var(--colore-secondario) !important;
  text-transform: uppercase;
  border-bottom: 1px solid var(--colore-secondario);
  font-weight: 700;
}
.slide-title {
  font-size: 1.2rem;
  text-transform: uppercase;
  font-weight: 700;
}

.masthead {
  height: 50vh;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.masthead-speciale {
  height: 70vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.masthead-home {
  height: 70vh;
  background-image: url('../images/hero.jpg');
}
.overlay-masthead {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(2,17,34,0.4);
}
.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(2,17,34,0.4);
}
.metadati-masthead {
  position: relative;
  z-index: 100 !important;
}
/*FIX Old tabelle speciali a larghezza fissa*/
.single-speciale table {
  width: 100%;
}
#navigazione li a {
  font-family: 'Roboto Condensed', sans-serif;
  font-style: italic;
  display: block;
  padding: 25px 12px;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--colore-main);
}
h4.boldprima:first-letter{
  font-weight: bold;
}
#navigazione li a:hover {
  background-color: var(--colore-main);
  color: white;
}
#navigazione .sticky-blue li a {
  padding: 20px 12px;
  color: var(--colore-accent);
  transition: 1s;
}

#navigazione .rich-menu-panel li {
  padding: 0 !important;
}

#navigazione .rich-menu-panel a {
  color: white;
  padding: 8px 0 !important;
  font-style: normal;
}
#navigazione .rich-menu-panel a:hover,
#navigazione .rich-menu-panel a.active {
  color: var(--colore-secondario);
}

@media only screen and (max-width: 1215px) {
  #navigazione li a {
    padding: 8px 12px;
  }
}

.menu-footer li a {
  padding-left: 0;
  color: white;
  transition: 1s;
}
.menu-footer li a:hover {
  color: var(--colore-secondario);
}

#italy-map a.active path, #italy-map path:hover {
  fill: #037EC2;
}
.list-societa p {
  position: relative;
}
.list-societa a:after {
  margin-left: 20px;
  content: "\f1c5";
  font-family: bootstrap-icons !important;
}
.vc_grid-item .vc_btn3-container a.vc_btn3 {
  position: relative;
}
.vc_grid-item .vc_btn3-container a.vc_btn3:after {
  content: "\f133";
  font-family: bootstrap-icons !important;
  font-weight: 900;
  position: absolute;
  top: 1px;
  margin-left: 5px;
}

/* NEWS FLASH TICKER */
#flashnews {
  height: 10vh;
  background-color: black;
  overflow: hidden;
}

.news-scroll a {
  text-decoration: none
}

.dot {
  height: 6px;
  width: 6px;
  margin-left: 3px;
  margin-right: 3px;
  margin-top: 2px !important;
  background-color: var(--colore-secondario);
  border-radius: 50%;
  display: inline-block
}

.loop-category {
  display: inline-block;
  font-size: .8rem;
  margin: .3rem 0;
}
.loop-title {
  color: black;
  font-size: 1rem;
}
.loop-link {
  font-size: .8rem;
  font-weight: 700;
}


.custom-shape-divider-bottom-1631112168 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1631112168 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 75px;
}

.custom-shape-divider-bottom-1631112168 .shape-fill {
    fill: #037EC2;
}
.custom-shape-divider-bottom-1631112482 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.custom-shape-divider-bottom-1631112482 svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 75px;
}

.custom-shape-divider-bottom-1631112482 .shape-fill {
  fill: #037EC266;
}

.video-overlay {
  background: rgba(0,0,0,0.5);
  transition: 1s;
}
.video-overlay:hover {
  background: rgba(0,0,0,0.3);
}
.video-overlay h5 a:hover {
  color: white;
  transition: 1s;
}
.titolo-box {
  position: absolute; 
  bottom: 5%; 
  left: 5%;
  font-weight: 700;
  font-style: italic;
  font-size: 1.2rem;
  transition: 1s;
}
.box-masonry,
.box-masonry-tall  {
  min-height: 300px;
  background-position: center;
  background-size: cover;
}
.box-megamenu {
  height: 100px;
  background-position: center;
  background-size: cover;
}

.flusso-social-news {
  background-color: rgb(240, 240, 240);
}

.img-article {
  margin-bottom: 1rem;
}
.rich-menu-panel {
  transition: 1s;
}
.rich-menu-panel h4 {
  color: var(--colore-secondario);
}

.searchandfilter div {
  display: flex;
  justify-content: center;
}
.searchandfilter ul {
  display: flex;
  justify-content: center;
  align-items: center;
}
.searchandfilter select.sf-input-select,
.searchandfilter input.sf-input-text {
  border: 1px solid #ebebeb;
  padding: .5rem;
  border-radius: .1rem;
  margin: 0 .5rem;
}

@media only screen and (max-width: 920px) {
  .searchandfilter ul {
    display: block;
    padding-left: 0;
  }

  .searchandfilter select.sf-input-select, .searchandfilter input.sf-input-text {
    margin: 0;
    width: 100%;
  }

  .searchandfilter label {
    width: 100%;
  }
}

.link-danger {
  color: #dc3545 !important;
}
.link-warning {
  color: #ffc107 !important;
}
.link-success {
  color: #198754 !important;
}
.page-navigation .page-item a {
  padding: .375rem .75rem;
  display: block;
}
.list-2-columns ul,
.list-2-columns ol {
    column-count: 2;
}
.list-2-columns ol li {
    list-style-position: inside;
}
.incipit {
    font-size: 1.2em;
    text-align:center;
}
#the-content h1.vc_custom_heading,
#the-content h2.vc_custom_heading, 
#the-content h2.vc_custom_heading {
    padding: 40px 0;
    background-color: #037EC2;
    color:#fff;
    display:block;
    border-bottom: 1px solid #E6BC04;
  text-transform: uppercase;
  font-weight: 700;
  font-style: italic;
  font-size: 1.6rem;
}
#the-content h1.vc_custom_heading {
    margin:4rem 0 !important;
}
#the-content h2.vc_custom_heading {
    margin:3rem 0 !important;
}
#the-content h3.vc_custom_heading {
    margin:2.5rem 0;
    display:block !important;
}
.vc_grid-container .vc_grid-item .vc_gitem-post-data-source-post_title h4 {
    font-size: 1.25rem;
    text-transform: uppercase;
}
.vc_gitem-zone .vc_btn3.vc_btn3-color-juicy-pink, .vc_gitem-zone .vc_btn3.vc_btn3-color-juicy-pink.vc_btn3-style-flat {
    color: #0d6efd;
    font-size: .8rem;
    font-weight: 700;
    padding:0;
    border:none;
    background-color:transparent !important;
}
/* TEST: Nascondere corpo testo riassunto post dei correlati */ 
.vc_grid-container .vc_grid-item .vc_gitem-post-data-source-post_excerpt {
    display:none !important;
}

/* ========================================================================================== */
/* ICONA LIVE VIDEO
/* ========================================================================================== */
  
.circle {
  width: 15px !important;
  height: 15px !important;
  position: relative;
  background-color: red;
  border-radius: 50%;
  -webkit-animation: pulsate 2s ease-out;
  -webkit-animation-iteration-count: infinite; 
}
.flashing {
	-webkit-animation: pulsate 2s ease-out;
	-webkit-animation-iteration-count: infinite; 
}
@-webkit-keyframes pulsate {
  0% {opacity: 0.5;}
  50% {opacity: 1.0;}
  100% {opacity: 0.5;}
}
.vc_tta-tab {
  border: none !important;
}
.vc_tta.vc_tta-shape-rounded .vc_tta-tab>a {
  border-radius: 0 !important;
}
.vc_tta.vc_general .vc_tta-tab>a {
  padding: 10px 6px !important;
}

.blu-fic {
	background-color: #037ec2 !important;
	color: #fff !important;
}
/* fix responsive images distortion */
.card .card-img, .card .card-img-bottom, .card .card-img-top {
  height: auto;
}

.lf_vc_loop_news_card .vc_gitem-col {
  min-height: 120px;
}

/* ========================================================================================== */
/* JUICER FEED
/* ========================================================================================== */

.juicer-feed h1.referral { display:none; }

/* ========================================================================================== */
/* MEDIA QUERY
/* ========================================================================================== */

/* Change breakpoint to show burger menu */

@media (min-width: 1215px) {

	.navbar-expand-lg .navbar-collapse {
		display: flex !important;
		flex-basis: auto !important;
	}
	.navbar-expand-lg .navbar-toggler {
		display: none !important;
	}

}	

@media (max-width: 1215px) {

	.navbar {
		position: relative !important;
		display: flex !important;
		flex-wrap: wrap !important;
		align-items: center !important;
		justify-content: space-between !important;
	}
	.navbar-expand-lg .navbar-toggler {
		display: block !important;
	}
	.navbar-expand-lg .navbar-collapse {
		display: none !important;
		flex-basis: 100% !important;
		flex-grow: 1 !important;
		align-items: center !important;
	}
	.navbar-expand-lg .navbar-collapse.show {
		display: block !important;
	}
	.navbar-expand-lg .navbar-toggler {
		display: block !important;
	}
	.navbar-expand-lg .navbar-nav {
		flex-direction: column !important;
		align-items: baseline !important;
	}
	.navbar-expand-lg {
		flex-wrap: nowrap;
		justify-content: flex-start;
	}
	.navbar-nav .dropdown-menu {
		position: static !important;
	}
	.dropdown-menu[data-bs-popper] {
		top: 100% !important;
		left: 0 !important;
		margin-top: .125rem !important;
	}
	.nav-item.dropdown.has-megamenu {
		width: 100% !important;
	}

}





.jumpIn {
    -webkit-animation: jumpIn 2000ms linear both;
    animation:jumpIn 2000ms linear both
}

@-webkit-keyframes jumpIn {
    0% {
        -webkit-transform: matrix3d(0.9, 0, 0, 0, 0, 0.9, 0, 0, 0, 0, 1, 0, 0, 45, 0, 1);
        transform:matrix3d(0.9, 0, 0, 0, 0, 0.9, 0, 0, 0, 0, 1, 0, 0, 45, 0, 1)
    }

    4.3% {
        -webkit-transform: matrix3d(0.951, 0, 0, 0, 0, 0.951, 0, 0, 0, 0, 1, 0, 0, 23.107, 0, 1);
        transform:matrix3d(0.951, 0, 0, 0, 0, 0.951, 0, 0, 0, 0, 1, 0, 0, 23.107, 0, 1)
    }

    8.61% {
        -webkit-transform: matrix3d(0.988, 0, 0, 0, 0, 0.988, 0, 0, 0, 0, 1, 0, 0, 5.997, 0, 1);
        transform:matrix3d(0.988, 0, 0, 0, 0, 0.988, 0, 0, 0, 0, 1, 0, 0, 5.997, 0, 1)
    }

    12.91% {
        -webkit-transform: matrix3d(1.005, 0, 0, 0, 0, 1.005, 0, 0, 0, 0, 1, 0, 0, -2.627, 0, 1);
        transform:matrix3d(1.005, 0, 0, 0, 0, 1.005, 0, 0, 0, 0, 1, 0, 0, -2.627, 0, 1)
    }

    17.22% {
        -webkit-transform: matrix3d(1.009, 0, 0, 0, 0, 1.009, 0, 0, 0, 0, 1, 0, 0, -4.71, 0, 1);
        transform:matrix3d(1.009, 0, 0, 0, 0, 1.009, 0, 0, 0, 0, 1, 0, 0, -4.71, 0, 1)
    }

    28.33% {
        -webkit-transform: matrix3d(1.002, 0, 0, 0, 0, 1.002, 0, 0, 0, 0, 1, 0, 0, -1.033, 0, 1);
        transform:matrix3d(1.002, 0, 0, 0, 0, 1.002, 0, 0, 0, 0, 1, 0, 0, -1.033, 0, 1)
    }

    39.44% {
        -webkit-transform: matrix3d(0.999, 0, 0, 0, 0, 0.999, 0, 0, 0, 0, 1, 0, 0, 0.311, 0, 1);
        transform:matrix3d(0.999, 0, 0, 0, 0, 0.999, 0, 0, 0, 0, 1, 0, 0, 0.311, 0, 1)
    }

    61.66% {
        -webkit-transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, -0.021, 0, 1);
        transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, -0.021, 0, 1)
    }

    83.98% {
        -webkit-transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0.001, 0, 1);
        transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0.001, 0, 1)
    }

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

@keyframes jumpIn {
    0% {
        -webkit-transform: matrix3d(0.9, 0, 0, 0, 0, 0.9, 0, 0, 0, 0, 1, 0, 0, 45, 0, 1);
        transform:matrix3d(0.9, 0, 0, 0, 0, 0.9, 0, 0, 0, 0, 1, 0, 0, 45, 0, 1)
    }

    4.3% {
        -webkit-transform: matrix3d(0.951, 0, 0, 0, 0, 0.951, 0, 0, 0, 0, 1, 0, 0, 23.107, 0, 1);
        transform:matrix3d(0.951, 0, 0, 0, 0, 0.951, 0, 0, 0, 0, 1, 0, 0, 23.107, 0, 1)
    }

    8.61% {
        -webkit-transform: matrix3d(0.988, 0, 0, 0, 0, 0.988, 0, 0, 0, 0, 1, 0, 0, 5.997, 0, 1);
        transform:matrix3d(0.988, 0, 0, 0, 0, 0.988, 0, 0, 0, 0, 1, 0, 0, 5.997, 0, 1)
    }

    12.91% {
        -webkit-transform: matrix3d(1.005, 0, 0, 0, 0, 1.005, 0, 0, 0, 0, 1, 0, 0, -2.627, 0, 1);
        transform:matrix3d(1.005, 0, 0, 0, 0, 1.005, 0, 0, 0, 0, 1, 0, 0, -2.627, 0, 1)
    }

    17.22% {
        -webkit-transform: matrix3d(1.009, 0, 0, 0, 0, 1.009, 0, 0, 0, 0, 1, 0, 0, -4.71, 0, 1);
        transform:matrix3d(1.009, 0, 0, 0, 0, 1.009, 0, 0, 0, 0, 1, 0, 0, -4.71, 0, 1)
    }

    28.33% {
        -webkit-transform: matrix3d(1.002, 0, 0, 0, 0, 1.002, 0, 0, 0, 0, 1, 0, 0, -1.033, 0, 1);
        transform:matrix3d(1.002, 0, 0, 0, 0, 1.002, 0, 0, 0, 0, 1, 0, 0, -1.033, 0, 1)
    }

    39.44% {
        -webkit-transform: matrix3d(0.999, 0, 0, 0, 0, 0.999, 0, 0, 0, 0, 1, 0, 0, 0.311, 0, 1);
        transform:matrix3d(0.999, 0, 0, 0, 0, 0.999, 0, 0, 0, 0, 1, 0, 0, 0.311, 0, 1)
    }

    61.66% {
        -webkit-transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, -0.021, 0, 1);
        transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, -0.021, 0, 1)
    }

    83.98% {
        -webkit-transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0.001, 0, 1);
        transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0.001, 0, 1)
    }

    100% {
        -webkit-transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
        transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
    }
}
.gallery-image {
	-webkit-animation: jumpIn 1s linear both;
    animation:jumpIn 1s linear both
}
button[disabled] {
	opacity: 0.5;
}


.gallery-image {
	overflow: hidden;
}
.gallery-image a {
	position: absolute;
	top:0;
	left: 0;
	width: 100%;
	height: 100%;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	-webkit-transition: all 500ms cubic-bezier(0.190, 1.000, 0.220, 1.000); 
	-moz-transition: all 500ms cubic-bezier(0.190, 1.000, 0.220, 1.000); 
	-o-transition: all 500ms cubic-bezier(0.190, 1.000, 0.220, 1.000); 
	transition: all 500ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
	
	-webkit-animation: flashing_bg normal 500ms infinite ease-in-out;
	-moz-animation: flashing_bg normal 500ms infinite ease-in-out; 
	-o-animation: flashing_bg normal 500ms infinite ease-in-out;
	animation: flashing_bg normal 500ms infinite ease-in-out;
}

@keyframes flashing_bg {
    0% {
           background-color: #dadada;
    }
    50% {
           background-color: #eeeeee;
    }
    100% {
           background-color: #dadada;
    }
}
@-webkit-keyframes flashing_bg {
    0% {
           background-color: #dadada;
    }
    50% {
           background-color: #eeeeee;
    }
    100% {
           background-color: #dadada;
    }
}


.gallery-image a:after {
	content: '';
	position: absolute;
	top:0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	background-color: rgba(3,126,194,0.0);
	-webkit-transition: all 100ms linear;
	-moz-transition: all 100ms linear;
	-o-transition: all 100ms linear;
	transition: all 100ms linear;
}
.gallery-image a:hover:after {
	background-color: rgba(3,126,194,0.5);
}
.gallery-image a:hover {
	zoom: 1.1; /* IE */
	-moz-transform: scale(1.1); /* Firefox */
	-o-transform: scale(1.1); /* Opera */
	-webkit-transform: scale(1.1); /* Safari And Chrome */
	transform: scale(1.1); /* Standard Property */
}

.grid-wrapper > div {
	display: flex;
	justify-content: center;
	align-items: center;
}
.grid-wrapper > div > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 5px;
}

.grid-wrapper {
	position: relative;
	display: grid;
	grid-gap: 10px;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	grid-auto-rows: 300px;
	grid-auto-flow: dense;
}

@media only screen and (min-width : 1300px) {	
	.grid-wrapper {
		position: relative;
		display: grid;
		grid-gap: 10px;
		grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
		grid-auto-rows: 300px;
		grid-auto-flow: dense;
	}	
}


.grid-wrapper .wide {
	grid-column: span 2;
}
.grid-wrapper .tall {
	grid-row: span 2;
}
.grid-wrapper .big {
	grid-column: span 2;
	grid-row: span 2;
}

#loader-wrapper {
	display: block !important;
	position: relative;
	top:0;
	margin: 0 auto;
	width: 120px;
	height: 120px;
}


.search-btn {
	background: none;
	border: none;
	color: #037EC2;
	position: relative;
	right: -10px;
}


/* ============================================================================================================== */
/* MEDIAQUERY
/* ============================================================================================================== */

@media only screen and (max-width : 600px) {	
	.grid-wrapper .big {
		grid-column: span 1;
		grid-row: span 1;
	}
	.grid-wrapper {
		grid-gap: 0;
	}
}

@media only screen and (min-width : 1000px) and (max-width : 1440px) {
	#navigazione li a {
		padding: 25px 10px;
		font-size: 0.7rem;
	}
	#tagline {
		font-size: 1rem;
		margin: 0 !important;
	}
}




/* PAGINATION
------------------------------------*/

#page-navigator {
	display: none !important;
}
#pagination-slider {
	width: 150px !important;
	padding-left: 10px;
}
#pagination .btn-link {
	background: transparent !important;
}
#pagination-slider .page-link {
	padding: 4px 0;
	width: 35px !important;
	display: block;
	text-align: center;
}
@media only screen and (max-width : 767px) {	
	#pagination-slider {
		width: 100px !important;
	}
	#pagination-slider .page-link {
		padding: 0 4px;
		width: auto !important;
	}
	#pagination button {
		font-size: 10px !important;
		padding: 0 4px !important;
	}
	#sponsor img {
		max-width: 100%;
		height: auto;
	}
	#pagination-slider .slick-slide {
		margin-right: 0 !important;
	}
}
#sponsor {
	overflow: hidden;
}
#pagination-slider .slick-slide {
  margin: 0 15px 0 0 !important;
}

#pagination-slider .page-link:focus,
#pagination-slider .slick-slide:focus {
	box-shadow: none !important;
	background: transparent !important;
	outline: none !important;
}

#pagination-slider .slick-current button,
#pagination-slider .slick-current button:focus,
#pagination-slider .slick-current button:active {
	background: #1B70F5 !important;
	color: white !important;
}



/* NEWSLETTER FORM
------------------------------------*/
.tnp-subscription {
	margin-top: 0 !important;
}
.tnp-subscription .wpmlcustomfield3,
.tnp-subscription .wpmlcustomfield4 .text-muted,
.tnp-subscription > p,
.tnp-subscription label {
	display: none !important;
}
.tnp-subscription label.wpmlcheckboxlabel {
	display: block !important;
	font-size: 14px;
}
.tnp-subscription label,
.tnp-subscription .help-block {
	color: white !important;
	font-weight: 400;
	margin-top: 10px;
}
.tnp-subscription .help-block {
	margin-top: 0 !important;
}
.tnp-subscription .form-control:focus {
	box-shadow: 0 0 0 .25rem rgba(0,0,0,0.25);
}
.tnp-subscription .newsletters_buttonwrap {
	display: block;
	width: 100%;
}
#newsletters-1-button {
	width: 100%;
}
.name-field{
	float: left;
	width: 49%;
	margin-bottom: 15px;
}
.email-field{
	float: right;
	width: 49%;
	margin-bottom: 15px;
}
.label-field {
	clear: both;
}
.tnp-subscription .newsletters-field-error {
	padding: 4px 10px;
}
.newsletters-acknowledgement p {
	text-align: center;
	color: white;
	text-transform: uppercase;
	letter-spacing: 1px;
}

#the-content .blocks-gallery-grid img, 
#the-content .wp-block-gallery img {
	margin-bottom: 0 !important;
	cursor: pointer !important;
}

@media only screen and (max-width : 767px) {
	.gallery-image,
	.grid-wrapper {
		display: block !important;
	}
	.gallery-image a {
		display: block !important;
		height: 300px !important;
		position: relative !important;
		margin-bottom: 15px;
	}
	.gallery-image a:hover {
		zoom: 1; /* IE */
		-moz-transform: scale(1); /* Firefox */
		-o-transform: scale(1); /* Opera */
		-webkit-transform: scale(1); /* Safari And Chrome */
		transform: scale(1); /* Standard Property */
	}
	.gallery-image a:hover:after {
		background-color: transparent !important;
	}
}

#the-content img {
	max-width: 100%;
	height: auto;
}


@keyframes fadein {
    0% { opacity:0; }
    66% { opacity:0; }
    100% { opacity:1; }
}

@-webkit-keyframes fadein {
    0% { opacity:0; }
    66% { opacity:0; }
    100% { opacity:1; }
}

@keyframes loading {
    0% { opacity:0.7; }
    66% { opacity:1; }
    100% { opacity:0.7; }
}

@-webkit-keyframes loading {
    0% { opacity:0.7; }
    66% { opacity:1; }
    100% { opacity:0.7; }
}

#results-container > div {
	visibility: hidden;
	opacity: 0;
}

#results-container > div:nth-child(1) {
	visibility: visible;
	-webkit-animation: 150ms ease 0s normal forwards 1 fadein;
    animation: 150ms ease 0s normal forwards 1 fadein;
}
#results-container > div:nth-child(2) {
	visibility: visible;
	-webkit-animation: 200ms ease 0s normal forwards 1 fadein;
    animation: 200ms ease 0s normal forwards 1 fadein;
}
#results-container > div:nth-child(3) {
	visibility: visible;
	-webkit-animation: 250ms ease 0s normal forwards 1 fadein;
    animation: 250ms ease 0s normal forwards 1 fadein;
}
#results-container > div:nth-child(4) {
	visibility: visible;
	-webkit-animation: 300ms ease 0s normal forwards 1 fadein;
    animation: 300ms ease 0s normal forwards 1 fadein;
}
#results-container > div:nth-child(5) {
	visibility: visible;
	-webkit-animation: 350ms ease 0s normal forwards 1 fadein;
    animation: 350ms ease 0s normal forwards 1 fadein;
}
#results-container > div:nth-child(6) {
	visibility: visible;
	-webkit-animation: 400ms ease 0s normal forwards 1 fadein;
    animation: 400ms ease 0s normal forwards 1 fadein;
}
#results-container > div:nth-child(7) {
	visibility: visible;
	-webkit-animation: 450ms ease 0s normal forwards 1 fadein;
    animation: 450ms ease 0s normal forwards 1 fadein;
}
#results-container > div:nth-child(8) {
	visibility: visible;
	-webkit-animation: 500ms ease 0s normal forwards 1 fadein;
    animation: 500ms ease 0s normal forwards 1 fadein;
}
#results-container > div:nth-child(9) {
	visibility: visible;
	-webkit-animation: 550ms ease 0s normal forwards 1 fadein;
    animation: 550ms ease 0s normal forwards 1 fadein;
}
#results-container > div:nth-child(10) {
	visibility: visible;
	-webkit-animation: 600ms ease 0s normal forwards 1 fadein;
    animation: 600ms ease 0s normal forwards 1 fadein;
}
#results-container > div:nth-child(11) {
	visibility: visible;
	-webkit-animation: 650ms ease 0s normal forwards 1 fadein;
    animation: 650ms ease 0s normal forwards 1 fadein;
}
#results-container > div:nth-child(12) {
	visibility: visible;
	-webkit-animation: 700ms ease 0s normal forwards 1 fadein;
    animation: 700ms ease 0s normal forwards 1 fadein;
}

#results-container > div.loading {
	-webkit-animation: loading 500ms infinite !important;
    animation: loading 500ms infinite !important;
}



@media only screen and (min-width: 767px) {
	.full-page #pagination {
		width: 600px;
		margin: auto;
	}
}

.full-page #custom-nextgen-gallery .gallery-image:nth-child(14),
.full-page #custom-nextgen-gallery .gallery-image:nth-child(15) {
	grid-row: span 2;
}

html body .fancybox__content {
	width:100% !important;
	height: 100% !important;
} 

.post-type-archive-atleti .card-body.bg-light.p-3.border-0 .font-weight-bold.loop-category.text-main {
	display:none;
}

ol, ul {
    padding-left: 0 !important;
}

.size-thumbnail {
	width: 25% !important;
    height: auto !important;
}

.size-medium {
	width: 35% !important;
    height: auto !important;
}

.size-large {
	width: 50% !important;
    height: auto !important;
}

@media only screen and (max-width: 1194px) {
	.size-thumbnail {
		width: 100% !important;
	}
    .size-medium {
		width: 100% !important;
	}
    .size-large {
		width: 100% !important;
	}
}

/* Click immagini */
@media only screen and (min-width: 1194px) {
    #the-content .img-article {
        transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; 
        cursor: zoom-in; 
        z-index: 1; 
    }

    #the-content .img-article.is-zoomed {
    
        position: fixed !important; 
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important; 

        max-height: 75% !important; 
        max-width: 75% !important;  

        width: 100% !important; 
        height: 100% !important; 

        object-fit: contain !important; 

        z-index: 9999 !important;  
        cursor: zoom-out; 

        max-width: none; 
}

    body.show-overlay {
        overflow: hidden !important; 
    }

    body.show-overlay::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;

        background-color: rgba(0, 0, 0, 0.85); 

        z-index: 9998; 
        cursor: pointer;
    }
}