/*!
Theme Name: Actionaid | Progetti 2019
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: aaidprogetti2019_v1
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

aaidprogetti2019_v1 is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/* Generale */
::selection { background: #9a2521; color: #fff; }
::-moz-selection { background: #9a2521; color: #fff; }
.site-footer ::selection { background: #fff; color: #9a2521; }
.site-footer ::-moz-selection { background: #fff; color: #9a2521; }
html { font-size:62.5%; }
body {
	font-family: 'Source Sans Pro', sans-serif;
	/*font-family: 'Rubik', sans-serif;*/
    font-weight: 400;
    font-size: 1.8rem;
    line-height:1.3;
    -webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: geometricPrecision;
    color:#404040;
}
/* html, body { max-width: 100%; overflow-x: hidden; } */
.draggable-false {
	user-drag: none;
	user-select: none;
	-moz-user-select: none;
	-webkit-user-drag: none;
	-webkit-user-select: none;
	-ms-user-select: none;
}
a { color: #E8232E; }
.related_projects a {color: #404040;}
a:hover, a:hover h3, a:hover h2 { color: #9a2521; text-decoration: none !important; }
p { margin-bottom: 25px; }
.entry-content ul:last-child { margin-bottom: 0;}
p:last-child { margin-bottom: 0px; }
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 { font-family: 'Rubik', sans-serif; font-weight: 700; }
h1, .h1 {
    font-size: 4rem;
}
.h2, h2 {
	font-size: 3.6rem;
	font-weight: 700;
	margin:55px 0px;
	color: #E8232E;
}
.entry-content .h2, .entry-content h2 {
	margin-top: 0px;
	margin-bottom: 0.5rem;
	font-size: 2.1rem;
	line-height: 1.2;
	color: #404040;
}
/* Loading */
body.loading-run { width: 100%; height: 100%; display: block; overflow: hidden; padding-right: 17px; }
#loading-aaid {
	position: fixed; top: 0px; left: 0px; z-index: 2000;
	display: block; height: 100%; height: 100vh; width: 100%; width: 100vw;
	background-color: #fff;
}
.loading-aaid-wrapper {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	text-align: center;
}
/*.loading-aaid-wrapper .bundle {
	-webkit-animation: Bubble  1s ease infinite;
	-moz-animation: Bubble  1s ease infinite;
	animation: Bubble  1s ease infinite;
} */
.loading-aaid-wrapper svg {
	height: 40px;
}
#rect {
	-webkit-animation: slideOver 5s linear infinite;
			animation: slideOver 5s linear infinite;
}
/* .loading-aaid-wrapper svg {
	height: 40px;
	-webkit-animation: Loading 5s ease infinite;
	-moz-animation: Loading 5s ease infinite;
	animation: Loading 5s ease infinite;
} */
/* Intestazione */
.navbar-toggler { display: none; border-color: #e8232e; float: right; }
.navbar-toggler svg > path { fill: #e8232e; }
.navbar-toggler:hover, .navbar-toggler:active { background-color: #e8232e; }
.navbar-toggler:hover svg > path, .navbar-toggler:active svg > path { fill: #fff; }
.collapse.navbar-collapse:not(.show) { display: block; }
.site-header {
	font-size:1.6rem;
	font-weight: 400;
	border-top: 5px solid #E8232E;
	background-color: #fff;
	-webkit-box-shadow: 0px 0px 35px 0px rgba(37,37,37,0.25);
	-moz-box-shadow: 0px 0px 35px 0px rgba(37,37,37,0.25);
	box-shadow: 0px 0px 35px 0px rgba(37,37,37,0.25);
	/* padding: 20px 0px; */
}
.site-header .navbar-nav li { margin-left: 40px; }
.navbar-nav > li { padding: 28px 0px; }
.site-header a { font-weight: 400; color: #404040; }
.site-header a:hover { color: #9a2521; }
.navbar-brand { padding: 20px 0px; }
.navbar-brand h5 { font-size: 0px; line-height: 0px; color: #fff; margin: 0px; padding: 0px; }
.site-header svg { height: 45px; }
.site-header .navbar-nav li.dropdown:hover > div,
.site-header .navbar-nav li.dropdown:hover > .dropdown-menu { display: block; }
.site-header .navbar-nav li.dropdown { position: initial; }
.site-header .navbar-nav li.dropdown > a { position: relative; }
.site-header .navbar-nav li.dropdown:hover > a::before {
    content:"\A";
    border-left: 8px solid #0000;
    border-right: 8px solid #0000;
    border-bottom: 8px solid #000;
    display: block;
    position: absolute;
    left: 50%;
    bottom: -27px;
    margin-left: -4px;
}
.site-header .navbar-nav li.dropdown > div {
	display: none;
	position: absolute !important;
	top: 85px;
	left: 0px;
	padding: 25px 0px; border: 0px; margin: 0px;
	background-color: #202020;
	width: 100%;
}
.dropdown-menu {
	position: initial !important; transform: none !important; top:auto; left: auto; /* reset */
	display: block;
	background-color: transparent;
    color: #fff;
    width: 100%;
	border-radius: 0px; border: 0px; margin: 0px auto; padding: 0px;
	text-align: right;
	max-width: 1140px;
}
.dropdown-menu > li a { background-color: transparent !important; color: #fff; background-color: transparent; font-size: 1.6rem; }
.dropdown-menu > li a:hover { background-color: transparent; }
.dropdown-menu > li { margin: 0px !important; padding: 0px; display: inline-block; }

.filters .dropdown-menu {
	display: none;
	text-align: left;
	position: absolute!important;
	top: inherit!important;
	background-color: #fff;
}

.filters .dropdown-menu .dropdown-item {
	color: #404040;
	margin: 0px;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1.6rem;
}

.filters .dropdown-menu.show {
	display: block;
}

.filters .dropdown-toggle {
	margin: 0px;
  font-family: 'Source Sans Pro', sans-serif;
	font-size: 1.6rem;
	color: #e8232e;
	background-color: transparent;
	border-color: #e8232e;
  font-weight: 600;
  padding: .375rem;
	width: 100%;
	text-align: left;
}

.filters .show > .btn-secondary.dropdown-toggle, .filters .dropdown-toggle:hover {
	color: #fff !important;
	background-color: #e8232e;
	border-color: #e8232e;
}

.filters .dropdown-menu .dropdown-item:hover {
	color: #fff !important;
	background-color: #202020;
	border-color: #202020;
}

.filters .dropdown-toggle::after {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: 0;
	margin-right: 0.255em;
}

.filters {
	margin-bottom: 35px;
}

.menu-move{

	padding-right: 200px !important;

}
.site-header .navbar-nav li.lang-item:last-child { margin-left: 5px; }
.site-header .navbar-nav li.lang-item img { margin-top: -3px; }
/* Slider */
#site-slider-carousel .carousel-inner {
	background-color: #252525;
	height: 90vh;
}
.carousel-item { height: 100%; max-height: 100%; }
#site-slider-carousel .carousel-item::before {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0px; left: 0px;
	background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 ); /* IE6-9 */
}
.carousel-item img { height: 100%; max-height: 100%; object-fit: cover; }
.carousel-inner .container { position: relative; }
.carousel-inner .container .carousel-caption {
	text-align: left; left: 0px; right: 0px; padding: 15px; margin-bottom: 50px;
	font-family: 'Rubik', sans-serif;
	font-size: 3.6rem;
	font-weight: 700;
	text-shadow: 0px 0px 15px rgba(0, 0, 0, 0.35);
}
#imagesgallery-carousel .carousel-item img { width: 100%; height: 395px; }
.carousel-indicators { position: relative; margin-bottom: 0px; margin-top: 45px; }
.carousel-indicators li { width: 50px; height: 2px; margin-right: 10px; margin-left: 10px; }
.carousel-indicators li { background-color: #404040; }
.carousel-indicators .active { background-color: #E8232E; }
.carousel-control-prev, .carousel-control-next { width: 80px;}
.carousel-control-prev-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23E8232E' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3e%3c/svg%3e"); }
.carousel-control-next-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23E8232E' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3e%3c/svg%3e"); }
/* Corpo */
.site-main.site-homepage { padding-top: 65px; padding-bottom: 65px; }
.site-main.site-homepage header, .site-main.site-homepage .entry-header { display: none; }
.site-main.site-homepage .entry-content { font-size: 2.4rem; }
.projects-nav { position: relative; text-align: center; }
.projects-nav::before {
	content: "";
	display: block;
	width: 100%;
	height: 70%;
	position: absolute;
	background-color: #eaeaea;
	z-index: -1;
}
.projects-nav > .container > h2 {
	font-family: 'Source Sans Pro', sans-serif;
	color: #202020;
	margin-top: 35px;
	margin-bottom: 30px;
    display: inline-block;
	font-size: 1.8rem;
	font-weight: 400;
}
.projects-nav a.btn-link {
	color: #fff;
	padding: 15px;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
	display : flex;
	align-items : center;
	text-align: center;
}
.block-link-wrapper {
	width: 100%;
	display: block;
    position: relative;
    overflow: hidden;
}
.block-link-wrapper:before {
	background-color: #202020;
    content: "";
    display: block;
    padding-top: 75%;
}
.wp-block-embed__wrapper {
padding-bottom: 75%;
position: relative;
}
iframe.wp-embedded-content {
    width: 100%;
    height: 100%;
    position: absolute;
}

.projects-nav a.btn-link:hover { background-color: #E8232E; font-weight: 700; }
.projects-nav a.btn-link:hover h3 { font-weight: 700; }
.projects-nav a.btn-link h3 { width: 100%; font-weight: 400; font-size: 2rem; margin-bottom: 0px; color: #fff !important; }
.post-thumbnail { background-color: #252525; }
.post-thumbnail img { max-width: 100%; height: 100%; object-fit: cover; }
h2.entry-title, .single h1.entry-title { margin-bottom: 25px; margin-top: 25px; font-size: 2.4rem; }
.row.custom-space { margin-left: -25px; margin-right: -25px; }
.row.custom-space div[class^="col"] { padding-left: 25px; padding-right: 25px; }
.type-post .entry-content::before, .line-badge::before,
/*.page:not(.home) .entry-content p:first-child::before,*/
/*.single:not(.single-aaid_progetti) .entry-content p:first-child::before,*/
.page:not(.home) .entry-content h3 + p::before,
.page:not(.home) .entry-content h2 + p::before,
.single:not(.single-aaid_progetti) .entry-content h3 + p:before { content: ""; float: left; border-bottom: 2px solid #E8232E; width: 45px; margin-right: 15px; margin-top: 16px; }
.single:not(.single-aaid_metodologie) .entry-content h3 + p:before { content: ""; float: left; border-bottom: 2px solid #E8232E; width: 45px; margin-right: 15px; margin-top: 16px; }
.table-updates .line-badge::before { margin-top: 18px; }
.site-homepage .entry-content p::before { display: none; }
.readmore-link { font-weight: 700; display: block; margin-top: 25px; }
.entry-meta span { font-size: 1.6rem; color: #939393; }
.table-updates h2 { margin: 0px; color: #202020; font-size: 2.2rem; margin-left: 75px; }
.table-updates td { padding: 15px 0px; }
.table-updates .line-badge:before { margin-left: 15px; }
.table-striped tbody tr:nth-of-type(odd) { background-color: #fff; }
.table-striped tbody tr:nth-of-type(even) { background-color: #eaeaea; }
.table-striped tbody tr:nth-of-type(even) td:first-child, .table-striped tbody tr:nth-of-type(even) td:last-child {
	position: relative;
}
.table-striped tbody tr:nth-of-type(even) td:first-child .bg-space, .table-striped tbody tr:nth-of-type(even) td:last-child .bg-space {
	content: "";
	width: 100vw;
	height: 100%;
	position: absolute;
	background-color: #eaeaea;
	pointer-events: none;
}
.table-striped tbody tr:nth-of-type(even) td:first-child .bg-space { left: -100vw; top: 0px; }
.table-striped tbody tr:nth-of-type(even) td:last-child .bg-space { right: -100vw; top: 0px; }
.single-aaid_progetti .entry-header { height: 70vh; position: relative; }
.single-aaid_metodologie .entry-header { height: 70vh; position: relative; }
.single-aaid_progetti .entry-header::after, .single-aaid_metodologie .entry-header::after {
	content: ""; width: 65%; height: 100%; display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 15;
	background: -moz-linear-gradient(left, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(left, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to right, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000',GradientType=1 ); /* IE6-9 */
}
.single-aaid_progetti .entry-header .post-thumbnail, .single-aaid_metodologie .entry-header .post-thumbnail { height: 100%; width: 100%; position: absolute; z-index: 10; }
.single-aaid_progetti .entry-header .post-thumbnail img,
.single-aaid_metodologie .entry-header .post-thumbnail img { height: 100%; width: 100%; object-fit: cover; }
.single-aaid_progetti .entry-header .container, 
.single-aaid_metodologie .entry-header .container { position: relative; z-index: 20; text-shadow: 0px 0px 15px rgba(0, 0, 0, 0.35); min-height: 100%; padding-bottom: 65px; }
.single-aaid_progetti .entry-header .container > .row, 
.single-aaid_metodologie .entry-header .container > .row { min-height: 100%; }
.single-aaid_progetti .entry-header h1, 
.single-aaid_metodologie .entry-header h1 { font-size: 4rem; color: #fff; margin-top: 25px; }
.single-aaid_progetti .entry-header h5, 
.single-aaid_metodologie .entry-header h5 { color: #E8232E; font-size: 1.6rem; font-weight: 400;  }
.categories-list { font-size: 2rem;  font-family: 'Source Sans Pro', sans-serif;  font-weight: 600; color:#ff0000; /*background: #fff; padding: 5px; border-r;-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;*/
}
.categories-list .boxed {
	width: fit-content;
  margin-left: auto;
  background-color: #ddd;
  padding: 2px 5px;
  margin-top: 2px;
	display: block;
}
.project-container > div.bg-black { background-color: #202020; color: #fff; }
.project-container .container { padding-top: 45px; padding-bottom: 45px; font-size: 1.8rem; }
.project-container .container > .row { margin-bottom: 30px; }
.project-container .container > .row:last-child { margin-bottom: 0px; }
.project-container h3 { font-family: 'Source Sans Pro', sans-serif; font-weight: 600; color: #E8232E; margin-bottom: 30px; }
.project-container > div.bg-black h3 { color: #fff; }
.methodologies h3 { margin-bottom: 0; }
.methodologies ul { margin-left: 0!important; padding-left: 0!important; display: flex; flex-direction: row; flex-wrap: wrap; }
.methodologies ul li { height: 27px; align-items: center; display: flex; margin: 0 20px 10px 15px; align-items: flex-start;}
.methodologies ul li a {
	font-weight: 600;
	color: #404040;
}
.methodologies ul li a:hover {
	color: #9a2521;
}
.methodologies ul li a:active {
/* 	pointer-events: none; /*Togliere questo pezzo quando diventerà un link*/ 
}
.attachments ul li{
	display: flex;
	align-items: center;
}
.attachments ul li a {
	margin-left: 15px;
}
.attachments ul li::before {
	content: url(/wp-content/uploads/2019/05/icn-download.png)!important;
	height: 16px;
	line-height: 1;
}
.header-navbar {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
}
.mtp-content {
	padding-left: 20px;
	width: 100%;
	display: flex;
	align-items: center;
}
.mtp-content span{
	font-family: 'Rubik', sans-serif;
  font-weight: 700;
}
.fade-in,
.fade-in div[class^="col-"] {
	opacity: 0;
}
.fade-in.sticky-top.show {
    top: 95px;
}
.btn-lg {
    padding: 2rem;
    font-size: 1.8rem;
    border-radius: 15px;
    min-width: 250px;
    font-family: 'Source Sans Pro', sans-serif; font-weight: 600;
}
.btn-dark {
    color: #fff;
    background-color: #202020;
    border-color: #202020;
}
.btn-dark:hover {
    color: #fff;
    background-color: #000;
    border-color: #000;
}
.mb-45 {
	margin-bottom: 45px;
}
.contactus { font-size: 2.4rem; padding: 45px 0px 0px; background-color: #eaeaea; }
.contactus + .ohidden-wrapper { background-color: #eaeaea; }
blockquote { margin-bottom: 25px; font-style: italic; font-size: 2rem; font-weight: 400; }
blockquote p:first-child::before { content: "“"; display: inline-block; color: #E8232E; font-weight: 900; margin-right: 5px; }
blockquote p:last-child::after { content: "”"; display: inline-block; color: #E8232E; font-weight: 900; margin-left: 5px; }
dl, ol, ul { margin-bottom: 25px; }
.widget-area ul,
.entry-content ul { padding-left: 15px; }
.widget-area ul > li,
.entry-content ul > li { list-style: none; position: relative; }
.widget-area ul > ol,
.entry-content ul > ol { padding: 0px; }
.widget-area ul:not(.rpwe-ul) > li::before,
.entry-content ul > li::before { content: "/ "; display: inline-block; color: #E8232E; position: absolute; left: -15px; }
.links-list, .entry-content ul.links-list { padding: 0px; margin-bottom: 0px; }
.links-list > ol { padding: 0px; }
.links-list > ol svg { margin-right: 15px; display: inline-block; }
.rpwe-block ul{ list-style: none !important; margin-left: 0 !important; padding-left: 0 !important; }
.rpwe-block li{ padding: 15px; list-style-type: none; }
.rpwe-block li:nth-of-type(odd) { background-color: #eaeaea; }
.rpwe-block a { display: inline !important; text-decoration: none; font-size: 1.5rem; line-height: 1.2; }
.rpwe-block h3{ background: none !important; clear: none; margin-bottom: 0 !important; margin-top: 0 !important; font-weight: 600; font-size: 1.2rem !important; line-height: 1.5em; }
.rpwe-thumb{ box-shadow: none !important; margin: 2px 10px 15px 0; }
.rpwe-summary{ font-size: 1.2rem; }
.rpwe-time{ font-size: 1.2rem; }
.rpwe-comment{ font-size: 1.1rem; padding-left: 5px; }
.rpwe-alignleft{ display: inline; float: left; }
.rpwe-alignright{ display: inline; float: right; }
.rpwe-aligncenter{ display: block; margin-left: auto; margin-right: auto; }
.rpwe-clearfix:before, .rpwe-clearfix:after{ content: ""; display: table !important; }
.rpwe-clearfix:after{ clear: both; }
.rpwe-clearfix{ zoom: 1; }
.header-wrapper { height: 210px; background-color: #202020; color: #fff; padding: 50px 0px; margin-bottom: 50px;
	background-repeat: no-repeat; background-size: cover; position: relative;
/*	-webkit-filter: grayscale(100%);*/ /* Safari 6.0 - 9.0 */
/*	filter: grayscale(100%);*/
}
.header-wrapper::before { content: ""; display: block; width: 100%; height: 100%; background-color: #252525; position: absolute; top: 0px; left: 0px; opacity: 0.35; z-index: 10; }
.header-wrapper .container { z-index: 20; position: relative; }
.post-categories { list-style: none; padding: 0px; }
.post-categories a { color: #e8232e; }
.archive .categories-list { margin: 20px 0px; }
/*.single .categories-list a,*/
.single.single-post .categories-list a,
.archive .categories-list a { color: #202020; font-size: 1.8rem; font-weight: 400; }
.single .categories-list a:hover,
.post-categories a:hover,
.archive .categories-list a:hover { color: #9a2521; }
.archive .entry-title { margin: 20px 0px 60px; }
.archive .entry-title a { color: #404040; }
.archive .entry-title a:hover { color: #9a2521; }
.archive .post-thumbnail img { height: 410px;  display: block; }
.archive .post-thumbnail { position: relative; display: block; overflow: hidden; }
.archive .post-thumbnail:not(.placeholder)::before {
	content: "View project details";
	color: transparent; font-size: 2.4rem; line-height: 2.4rem; font-weight: 900;
	width: 100%;
	text-align: center;
	position: absolute; top: 50%; left: 0px; margin-top: -1.2rem;
	opacity: 0.85;
	z-index: 50;
	display: inline-block;
}
.archive:lang(it) .post-thumbnail:not(.placeholder)::before {
	content: "Vedi dettagli progetto";
}
.archive .post-thumbnail:hover::before { color: #fff; }
.archive .post-thumbnail:hover img {
	-webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
	filter: grayscale(100%);
}
.archive .post-thumbnail.placeholder { background-color: #aeaeae; }
.archive .post-thumbnail.placeholder img { padding: 180px; object-fit: contain; -webkit-filter: grayscale(100%); filter: grayscale(100%);  }
.col-partner a,
.col-donor a,
.col-stakeholders a { color: #fff; }
.col-partner a:hover,
.col-donor a:hover,
.col-stakeholders a:hover { color: #9a2521; }
.nav-categories {
	margin-bottom: 50px;
	display: flex;
}
.nav-categories > li:first-child { text-align: left; }
.nav-categories > li {
	flex: 1 1 auto;
	text-align: center;
}
.nav-categories span, .espandi-filtri { color: #e8232e; font-weight: 600; padding: .375rem 0px; }
.espandi-filtri { width: 100%; font-size: 1.6rem; padding: .375rem 0px 15px; margin-bottom: 35px; display: block; border-bottom: 1px solid #e8232e; }
.espandi-filtri .fa-chevron-down, .espandi-filtri .fa-chevron-up { float: right; }
.espandi-filtri .fa-chevron-up { display: none; }
.espandi-filtri.open .fa-chevron-down { display: none; }
.espandi-filtri.open .fa-chevron-up { display: initial; }
.filtri-wrapper.hide { display: none; }
.nav-categories h3 { font-weight: 400; }
.nav-categories span,
.nav-categories h3 {
	margin: 0px;
    font-family: 'Source Sans Pro', sans-serif;
	font-size: 1.6rem;
	line-height: 1;
}
.nav-categories span,
.nav-categories a { display: block; }
.nav-categories a { color: #404040; }
.btn-outline-primary { border-color: transparent; }
.btn-outline-primary:hover:active,
.btn-outline-primary:hover {
    color: #fff !important;
    background-color: #e8232e;
    border-color: #e8232e;
}
.btn-outline-primary:hover:active h3,
.btn-outline-primary:hover h3 { color: #fff !important; }
#secondary .widget-title {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #E8232E;
    margin-top: 30px;
    margin-bottom: 30px;
}
#secondary a { color: #404040; }
#secondary a:hover { color: #9a2521; }
#searchform input[type="text"] {
	min-width: 83%;
	float: left;
	margin: 0px;
    font-size: 1.6rem;
    padding: 5px;
    height: auto;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-bottomleft: 5px;
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
}
#searchform button {
	float: left;
	margin: 0px;
    font-size: 1.6rem;
    padding: 5px;
    height: auto;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	-webkit-border-top-right-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
	-moz-border-radius-topright: 5px;
	-moz-border-radius-bottomright: 5px;
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
}
.single.single-post .content-area,
.single.single-post .widget-area {
	margin-top: 40px;
}
.single.single-post .post-thumbnail { margin-bottom: 15px; }
.single.single-post .post-thumbnail img { max-height: 45vh; object-fit: cover; }
.comments-area { display: none; }
.entry-meta { margin-bottom: 25px; font-size: 1.2rem; font-style: italic; }
.entry-meta a { color: #404040; }
.entry-meta a:hover { color: #9a2521; }
.entry-footer { margin-top: 50px; }
.entry-meta span { display: block; }
.box-projectdetails { padding: 20px; background-color: #ddd; color: #404040; border-radius: 20px;
/*	height: 100%; width: 100%;
	background: rgb(64,64,64);
	background: -moz-linear-gradient(left, rgba(64,64,64,1) 0%, rgba(0,0,0,1) 100%);
	background: -webkit-linear-gradient(left, rgba(64,64,64,1) 0%,rgba(0,0,0,1) 100%);
	background: linear-gradient(to right, rgba(64,64,64,1) 0%,rgba(0,0,0,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#404040', endColorstr='#000000',GradientType=1 ); */
}
/*.box-projectdetails p:before { display: none; }*/
.box-projectdetails h3 { margin-bottom: 15px; }

.header-wrapper img.wp-post-image,
img.wpsmartcrop-image {
	/* display: block; - unnecessary, in this case, because of the inherited style above */
	/* width: 100%; - unnecessary, in this case, because of the inherited style above */
	height: 100%;
	width: 100%;
	max-width: 100%;
	position:absolute;
	left: 0px;
	top:0px;
	object-fit:cover;
}



#box-projectdetails div.collapse:not(.show) {
    height: 90px !important;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /*-webkit-box-orient: vertical;*/
}

#box-projectdetails div.collapsing {
    min-height: 90px !important;
}

#box-projectdetails a.collapsed__append-text.collapsed:after  {
    content: 'Read more';
	font-size: 1.5rem;
}
#box-projectdetails:lang(it) a.collapsed__append-text:after {
    content: 'Mostra altro';
}

#box-projectdetails a.collapsed__append-text:not(.collapsed):after {
    content: 'Read less';
	font-size: 1.5rem;

}
#box-projectdetails:lang(it) a.collapsed__append-text:not(.collapsed):after {
    content: 'Riduci';
}


#box-stake div.collapse:not(.show) {
    height: 100px !important;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

#box-stake div.collapsing {
    min-height: 100px !important;
}

#box-stake a.collapsed__append-text.collapsed:after  {
    content: 'Read more';
	font-size: 1.5rem;

}
#box-stake:lang(it) a.collapsed__append-text.collapsed:after {
    content: 'Mostra altro';
}

#box-stake a.collapsed__append-text:not(.collapsed):after {
    content: 'Read less';
	font-size: 1.5rem;

}
#box-stake:lang(it) a.collapsed__append-text:not(.collapsed):after {
    content: 'Riduci';
}

/* Responsive per oEmbed */
.embed-container {
		position: relative;
		padding-bottom: 56.25%;
		overflow: hidden;
		max-width: 100%;
		height: auto;
	}

	.embed-container iframe,
	.embed-container object,
	.embed-container embed {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}

/* Mappa */
.acf-map-wrapper { position: relative; min-height: 500px;  }
.acf-map-wrapper .row > div { text-shadow: 0px 0px 15px rgba(0, 0, 0, 0.35); }
.acf-map {
	width: 100%;
	height: 100%;
	border: 0px;
	margin: 0px;
	position: absolute;
	top: 0px;
	left: 0px;
}
.acf-map img {
   max-width: inherit !important;
}
.gm-style .gm-style-iw-a div {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    color: #e8232e !important;
    font-size: 1.8rem;
}

.acf-map-wrapper .line-badge {
	transition: opacity 0.5s ease-out;
	pointer-events: none;
}

.acf-map-wrapper:hover .line-badge {
	opacity: 0.3;
}
/* Finestra modale */
.modal-footer, .modal-body, .modal-header { padding: 15px; }
.modal-content { border:0px; }
.modal-title { font-size: 2.4rem; color: #e8232e; }
.form-control { font-size: 1.8rem; padding: 10px; }
.form-group label { font-size: 1.8rem; }
.modal-footer button.btn { font-size: 1.6rem; padding: 5px 22px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
.modal-footer { border-top: 0px; margin-top: 25px; background-color: #9a2521; position: relative; }
.modal-footer::before { left: 1px; height: 25px !important; top: -24px !important; }
.modal-footer .btn-secondary {
    color: #404040;
    background-color: #fff;
    border-color: #fff;
}
.modal-footer .btn-secondary:hover {
    color: #404040;
    background-color: #f1f1f1;
    border-color: #f1f1f1;
}
.modal-body .form-check-input {
    position: absolute;
    margin-top: 6px;
    margin-left: -23px;
}
.modal-body p { margin-bottom: 5px; }
span.wpcf7-not-valid-tip {
    font-size: 1.2rem;
    margin-top: 5px;
}
div.wpcf7-response-output {
    margin: 10px 0px 0px;
    padding: 15px;
    line-height: 1;
    font-size: 1.2rem;
    border: 0px;
}
div.wpcf7-mail-sent-ok {
	background-color: #155724;
	color: #d4edda;
}
div.wpcf7-mail-sent-ng,
div.wpcf7-aborted {
	background-color: #721c24;
	color: #f8d7da;
}
div.wpcf7-spam-blocked {
	background-color:  #856404;
	color: #fff3cd;
}
div.wpcf7-validation-errors,
div.wpcf7-acceptance-missing {
	background-color: #856404;
	color: #fff3cd;
}
/* Time line */
.cd-horizontal-timeline ol,
.cd-horizontal-timeline ul,
.cd-horizontal-timeline ol > li,
.cd-horizontal-timeline ul > li { padding: 0px; margin: 0px; list-style: none; }
.cd-horizontal-timeline {
	background-color: #202020;
	opacity: 0;
	margin: 0px !important;
  padding: 45px 0;
	-webkit-transition: opacity 0.2s;
	-moz-transition: opacity 0.2s;
	transition: opacity 0.2s;
	text-align: center;
}
.cd-horizontal-timeline h2{
	color: #fff;
	margin-top: 0;
}
.cd-horizontal-timeline + .ohidden-wrapper { background-color: #202020; }
.cd-horizontal-timeline::before {
	content: 'mobile';
	display: none;
}
.cd-horizontal-timeline.loaded {
	opacity: 1;
}
.cd-horizontal-timeline .timeline {
	position: relative;
	height: 100px;
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
}
.cd-horizontal-timeline .events-wrapper {
	position: relative;
	height: 100%;
	margin: 0 40px;
	overflow: hidden;
}
.cd-horizontal-timeline .events-wrapper::after, .cd-horizontal-timeline .events-wrapper::before {
	content: '';
	position: absolute;
	z-index: 2;
	top: 0;
	height: 100%;
	width: 20px;
}
.cd-horizontal-timeline .events-wrapper::before {
	left: 0;
}
.cd-horizontal-timeline .events-wrapper::after {
	right: 0;
}
.cd-horizontal-timeline .events {
	position: absolute;
	z-index: 1;
	left: 0;
	top: 49px;
	height: 2px;
	background: #fff;
	-webkit-transition: -webkit-transform 0.4s;
	-moz-transition: -moz-transform 0.4s;
	transition: transform 0.4s;
}
.cd-horizontal-timeline .filling-line {
	position: absolute;
	z-index: 1;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	background-color: #e8232e;
	-webkit-transform: scaleX(0);
	-moz-transform: scaleX(0);
	-ms-transform: scaleX(0);
	-o-transform: scaleX(0);
	transform: scaleX(0);
	-webkit-transform-origin: left center;
	-moz-transform-origin: left center;
	-ms-transform-origin: left center;
	-o-transform-origin: left center;
	transform-origin: left center;
	-webkit-transition: -webkit-transform 0.3s;
	-moz-transition: -moz-transform 0.3s;
	transition: transform 0.3s;
}
.cd-horizontal-timeline .events a {
	position: absolute;
	width:100px;
	bottom: 0;
	z-index: 2;
	text-align: center;
	font-size: 1.3rem;
	padding-bottom: 15px;
	color: #383838;
	-webkit-transform: translateZ(0);
	-moz-transform: translateZ(0);
	-ms-transform: translateZ(0);
	-o-transform: translateZ(0);
	transform: translateZ(0);
	color:white;
	padding:5px;
	margin-bottom:20px;
}
.cd-horizontal-timeline .events a::before {
	content: '';
	position: absolute;
	width:1px;
	height:20px;
	background: #fff;
	bottom:-20px;
	left:50%;
}
.cd-horizontal-timeline .events a::after {
	content: '';
	position: absolute;
	left: 50%;
	right: auto;
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	-o-transform: translateX(-50%);
	transform: translateX(-50%);
	bottom: -25px;
	height: 12px;
	width: 12px;
	border-radius: 50%;
	border: 2px solid #fff;
	background-color: #fff;
	-webkit-transition: background-color 0.3s, border-color 0.3s;
	-moz-transition: background-color 0.3s, border-color 0.3s;
	transition: background-color 0.3s, border-color 0.3s;
}
.no-touch .cd-horizontal-timeline .events a:hover::after {
	background-color: #e8232e;
	border-color: #fff;
}
.cd-horizontal-timeline .events a.selected {
	pointer-events: none;
}
.cd-horizontal-timeline .events a.selected::after {
	background-color: #e8232e;
	border-color: #e8232e;
}
.cd-horizontal-timeline .events a.older-event::after {
	border-color: #e8232e;
}
@media only screen and (min-width: 1100px) {
	.cd-horizontal-timeline {
		margin: 6em auto;
	}
	.cd-horizontal-timeline::before {
		content: 'desktop';
	}
}
.cd-timeline-navigation a {
	position: absolute;
	z-index: 1;
	top: 50%;
	bottom: auto;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
	height: 30px;
	width: 30px;
	border-radius: 50%;
	border: 2px solid #fff;
	overflow: hidden;
	color: transparent;
	text-indent: 100%;
	white-space: nowrap;
	-webkit-transition: border-color 0.3s;
	-moz-transition: border-color 0.3s;
	transition: border-color 0.3s;
}
.cd-timeline-navigation a::after {
	content: '';
	position: absolute;
	height: 16px;
	width: 16px;
	left: 50%;
	top: 50%;
	bottom: auto;
	right: auto;
	-webkit-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	-o-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
	background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRw%0D%0AOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjE2cHgiIGhl%0D%0AaWdodD0iMzJweCIgdmlld0JveD0iMCAwIDE2IDMyIj48ZyAgdHJhbnNmb3JtPSJ0cmFuc2xhdGUo%0D%0AMCwgMCkiPjxwb2x5Z29uIGZpbGw9IiM3YjlkNmYiIHBvaW50cz0iNiwxMy40IDQuNiwxMiA4LjYs%0D%0AOCA0LjYsNCA2LDIuNiAxMS40LDggIi8+PC9nPjxnICB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLCAx%0D%0ANikiPjxwb2x5Z29uIGZpbGw9IiNkZmRmZGYiIHBvaW50cz0iNiwxMy40IDQuNiwxMiA4LjYsOCA0%0D%0ALjYsNCA2LDIuNiAxMS40LDggIi8+PC9nPjwvc3ZnPg==) no-repeat 0 0;
}
.cd-timeline-navigation a.prev {
	left: 0;
	-webkit-transform: translateY(-50%) rotate(180deg);
	-moz-transform: translateY(-50%) rotate(180deg);
	-ms-transform: translateY(-50%) rotate(180deg);
	-o-transform: translateY(-50%) rotate(180deg);
	transform: translateY(-50%) rotate(180deg);
}
.cd-timeline-navigation a.next {
	right: 0;
	color: #fff;
}
.no-touch .cd-timeline-navigation a:hover {
	border-color: #e8232e;
}
.cd-timeline-navigation a.inactive {
	cursor: not-allowed;
}
.cd-timeline-navigation a::after {
	background-position: 0 -16px;
}
.no-touch .cd-timeline-navigation a.inactive:hover {
	border-color: #e8232e;
}
.cd-horizontal-timeline .events-content {
	position: relative;
	width: 100%;
	min-height: 157px;
	margin: 0;
	/* padding-bottom: 80px; */
	overflow: hidden;
	-webkit-transition: height 0.4s;
	-moz-transition: height 0.4s;
	transition: height 0.4s;
}
.cd-horizontal-timeline .events-content li {
	position: absolute;
	z-index: 1;
	width: 100%;
	left: 0;
	top: 0;
	-webkit-transform: translateX(-100%);
	-moz-transform: translateX(-100%);
	-ms-transform: translateX(-100%);
	-o-transform: translateX(-100%);
	transform: translateX(-100%);
	padding: 0 5%;
	opacity: 0;
	-webkit-animation-duration: 0.4s;
	-moz-animation-duration: 0.4s;
	animation-duration: 0.4s;
	-webkit-animation-timing-function: ease-in-out;
	-moz-animation-timing-function: ease-in-out;
	animation-timing-function: ease-in-out;
}
.cd-horizontal-timeline .events-content li.selected {
	position: relative;
	z-index: 2;
	opacity: 1;
	-webkit-transform: translateX(0);
	-moz-transform: translateX(0);
	-ms-transform: translateX(0);
	-o-transform: translateX(0);
	transform: translateX(0);
}
.cd-horizontal-timeline .events-content li.enter-right, .cd-horizontal-timeline .events-content li.leave-right {
	-webkit-animation-name: cd-enter-right;
	-moz-animation-name: cd-enter-right;
	animation-name: cd-enter-right;
}
.cd-horizontal-timeline .events-content li.enter-left, .cd-horizontal-timeline .events-content li.leave-left {
	-webkit-animation-name: cd-enter-left;
	-moz-animation-name: cd-enter-left;
	animation-name: cd-enter-left;
}
.cd-horizontal-timeline .events-content li.leave-right, .cd-horizontal-timeline .events-content li.leave-left {
	-webkit-animation-direction: reverse;
	-moz-animation-direction: reverse;
	animation-direction: reverse;
}
.cd-horizontal-timeline .events-content li > * {
	max-width: 800px;
	margin: 0 auto;
}
.cd-horizontal-timeline .events-content h2 {
	font-size: 2.4rem !important;
}
.cd-horizontal-timeline .events-content em {
	display: block;
	font-style: italic;
	margin: 10px auto;
	color: #fff;
	font-size: 1.6rem !important;
}
.cd-horizontal-timeline .events-content p {
	font-size: 1.8rem !important;
	color: #fff;
}
.cd-horizontal-timeline .events-content em, .cd-horizontal-timeline .events-content p {
	line-height: 1.6;
}
@media only screen and (min-width: 768px) {
  .cd-horizontal-timeline .events-content h2 {
    font-size: 7rem;
  }
  .cd-horizontal-timeline .events-content p {
    font-size: 1.8rem;
  }
}
@-webkit-keyframes cd-enter-right {
  0% {
    opacity: 0;
    -webkit-transform: translateX(100%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0%);
  }
}
@-moz-keyframes cd-enter-right {
  0% {
    opacity: 0;
    -moz-transform: translateX(100%);
  }
  100% {
    opacity: 1;
    -moz-transform: translateX(0%);
  }
}
@keyframes cd-enter-right {
  0% {
    opacity: 0;
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0%);
    -moz-transform: translateX(0%);
    -ms-transform: translateX(0%);
    -o-transform: translateX(0%);
    transform: translateX(0%);
  }
}
@-webkit-keyframes cd-enter-left {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-100%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0%);
  }
}
@-moz-keyframes cd-enter-left {
  0% {
    opacity: 0;
    -moz-transform: translateX(-100%);
  }
  100% {
    opacity: 1;
    -moz-transform: translateX(0%);
  }
}
@keyframes cd-enter-left {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -o-transform: translateX(-100%);
    transform: translateX(-100%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0%);
    -moz-transform: translateX(0%);
    -ms-transform: translateX(0%);
    -o-transform: translateX(0%);
    transform: translateX(0%);
  }
}
/* footer */
.site-footer {
	font-size: 1.6rem;
	font-weight: 400;
	background-color: #9a2521;
	color: #fff;
	padding: 40px 0px;
	position: relative;
	margin-top: 80px;
}
.modal-footer::before,
.site-footer::before {
	content: "";
	display: block;
	position: absolute;
	width: 100%;
    height: 41px;
    top: -40px;
	background-color: #9a2521;
	-webkit-clip-path: polygon(100% 0, 0 100%, 100% 99%);
	clip-path: polygon(100% 0, 0 100%, 100% 99%);
}
.site-footer .col p { margin-bottom: 25px; }
.site-footer .col p:last-child { margin-bottom: 0px; }
.site-footer .h2, .site-footer  h2 { font-weight: 700; font-size: 1.6rem; margin-bottom: .5rem; color: #fff; margin-top: 0px; }
.site-footer a { color: #fff; font-weight: 700; }
.site-footer a:hover { color: #d6a7a6; }
.site-footer .menu { padding: 0px; margin-bottom: 25px; list-style: none; }
.site-footer .menu a { font-size: 1.6rem; }
.fa-lg { font-size: 3.2rem; margin-right: 10px; }
/* scroll to top */
.ohidden-wrapper { overflow: hidden; }
#scroll-to-top-wrapper { position: relative; text-align: right; }
#scroll-to-top-wrapper svg {
	max-width: 40px;
	/* max-width: 60px;
	position: absolute;
    right: 65px;
    top: -175px;
    cursor: pointer; */
}
#aaidtotop svg path,
#aaidtotop svg line,
#aaidtotop svg polygon { fill: #fff !important; }
/* #scroll-to-top-wrapper::after {
	content: "Back to top";
	color: #fff;
	font-size: 1.6rem;
	position: absolute;
	right: 15px;
	top: 0px;
	display: block;
} */
/* #aaidtotop:hover svg path,
#aaidtotop:hover svg line {
	stroke: #d6a7a6 !important;
	fill: #d6a7a6 !important;
} */
#aaidtotop:hover svg path,
#aaidtotop:hover svg line,
#aaidtotop:hover svg polygon { fill: #d6a7a6 !important; }
#aaidtotop {
	position: relative;
	z-index: 1;
	/* -webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%); */
	height: 30px;
	width: 30px;
	border-radius: 50%;
	border: 2px solid #fff;
	overflow: hidden;
	color: transparent;
	text-indent: 100%;
	white-space: nowrap;
	-webkit-transition: border-color 0.3s;
	-moz-transition: border-color 0.3s;
	transition: border-color 0.3s;
	display: block;
    float: right;
    cursor: pointer;
}
#aaidtotop::after {
	transform: rotate(-90deg);
	content: '';
	position: absolute;
	height: 16px;
	width: 16px;
	left: 50%;
	top: 50%;
    margin-top: -8px;
    margin-left: -8px;
	bottom: auto;
	right: auto;
	/* -webkit-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	-o-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%); */
    background-position: 0 -16px !important;
	background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRw%0D%0AOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjE2cHgiIGhl%0D%0AaWdodD0iMzJweCIgdmlld0JveD0iMCAwIDE2IDMyIj48ZyAgdHJhbnNmb3JtPSJ0cmFuc2xhdGUo%0D%0AMCwgMCkiPjxwb2x5Z29uIGZpbGw9IiM3YjlkNmYiIHBvaW50cz0iNiwxMy40IDQuNiwxMiA4LjYs%0D%0AOCA0LjYsNCA2LDIuNiAxMS40LDggIi8+PC9nPjxnICB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLCAx%0D%0ANikiPjxwb2x5Z29uIGZpbGw9IiNkZmRmZGYiIHBvaW50cz0iNiwxMy40IDQuNiwxMiA4LjYsOCA0%0D%0ALjYsNCA2LDIuNiAxMS40LDggIi8+PC9nPjwvc3ZnPg==) no-repeat 0 0;
}
.tooltip { font-size: 1.6rem; }
/* 404 Not found */
#worldmap {margin:0 auto;}
#worldmap svg {background:rgba(50,167,224,0.4);border-radius: 200px;box-shadow:0 0 10px rgba(0,0,0,0.4);}
.land {fill: rgba(188,188,188,.94);}
#globesarecool {color:#fff;}
/* Minor fix */
.latest-news table.table.table-updates {
    margin-bottom: 40px;
}
.external-links a { position: relative; padding-left: 20px; }
.external-links a::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f35d";
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    margin-right: 5px;
    font-size: 12px;
	position: absolute;
	top: 2px;
	left: 0px;
}
.collapsing > p::before,
.collapse > p::before {
	display: none;
}
.single-aaid_progetti .entry-header h2, .single-aaid_metodologie .entry-header h2 {
	margin-top: 0px;
	margin-bottom: 0px;
	color: #fff;
}
/* credits */
.credits-info .container, .site-footer .container { padding-bottom: 0px;  }
.credits-info {
    background-color: #7b1d1a;
    color: #a43a37;
    text-align: center;
    padding-top: 17px;
    padding-bottom: 17px;
    font-size: 11px !important;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-style: normal;
    font-weight: normal;
    letter-spacing: normal;
    margin-top: -1px;
}
.credits-info svg#purelab_leaf { margin:0px 3px 2px; }
.credits-info a { color: #a43a37 !important; text-decoration: none !important; }
#cdd > div { display:inline-block; margin:0px 10px; }
#cdd > div:last-child { margin-right:0px; }
#cdd > div:first-child { margin-left:0px; }
#cdd > div svg#purelab_leaf path,
#cdd > div svg#rocket_host path { fill:#a43a37 !important; }
#cdd > div > span { color:#a43a37 !important; }
#cdd > div:hover svg#purelab_leaf path,
#cdd > div:hover svg#rocket_host path { fill:#fff !important; }
.credits-info a:hover, #cdd > div:hover span, #cdd > div:hover > span, #cdd > div:hover a { color: #fff !important; }
/* Animazioni */
#cdd > div, #cdd > div a, #cdd > div span, #cdd > div > span, #cdd > div svg path {
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}
#cdd > div:hover a, #cdd > div:hover span, #cdd > div:hover > span, #cdd > div:hover svg path {
	text-decoration: none;
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}
a, a:hover, a:hover h3, a:hover h2,
.archive .post-thumbnail:hover::before, .archive .post-thumbnail::before, .archive .post-thumbnail:hover img, .archive .post-thumbnail img,
#scroll-to-top-wrapper::after, #aaidtotop svg path, #aaidtotop svg line,
#scroll-to-top-wrapper:hover::after, #aaidtotop:hover svg path, #aaidtotop:hover svg line {
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
#aaidtotop path, #aaidtotop line {  stroke-dashoffset: 1000; stroke-dasharray: 1000; }
#aaidtotop.toshow path {
	stroke-dashoffset: 0;
	-webkit-transition: all 1.5s ease-in-out;
	-moz-transition: all 1.5s ease-in-out;
	-o-transition: all 1.5s ease-in-out;
	transition: all 1.5s ease-in-out;
}
#aaidtotop.toshow line {
	stroke-dashoffset: 0;
	-webkit-transition: all 1.5s ease-in-out 1s;
	-moz-transition: all 1.5s ease-in-out 1s;
	-o-transition: all 1.5s ease-in-out 1s;
	transition: all 1.5s ease-in-out 1s;
}
.fade-in.show {
	opacity:1;
	-webkit-transition: opacity 0.8s linear;
	-moz-transition: opacity 0.8s linear;
	-o-transition: opacity 0.8s linear;
	transition: opacity 0.8s linear;
}
.fade-in div[class^="col-"].show {
	opacity:1;
	-webkit-transition: opacity 1s linear .8s;
	-moz-transition: opacity 1s linear .8s;
	-o-transition: opacity 1s linear .8s;
	transition: opacity 1s linear .8s;
}
/* @-webkit-keyframes Loading {
	0% { background-position: 0% 50% }
	50% { background-position: 100% 50% }
	100% { background-position: 0% 50% }
}
@-moz-keyframes Loading {
	0% { background-position: 0% 50%}
	50% { background-position: 100% 50%}
	100% { background-position: 0% 50%}
} */
/* @keyframes Loading {
	0% {
		transform: rotate(0deg);
    	margin-top: 0px;
    	margin-left: 0px;
	}
	25% {
		transform: rotate(90deg);
    	margin-top: 26px;
    	margin-left: 20px;
	}
	50% {
		transform: rotate(180deg);
    	margin-top: 0px;
    	margin-left: -20px;
	}
	75% {
		transform: rotate(270deg);
    	margin-top: 26px;
    	margin-left: -30px;
	}
	100% {
		transform: rotate(360deg);
    	margin-top: 0px;
    	margin-left: 0px;
	}
} */
@keyframes slideOver {
  0% {
    -webkit-transform: translateX(0);
    	-ms-transform: translateX(0);
    		transform: translateX(0);
  }
  25% {
    -webkit-transform: translateX(100%);
    	-ms-transform: translateX(100%);
    		transform: translateX(100%);
  }
  50% {
    -webkit-transform: translateX(100%);
    	-ms-transform: translateX(100%);
    		transform: translateX(100%);
  }
  75% {
    -webkit-transform: translateX(0);
    	-ms-transform: translateX(0);
    		transform: translateX(0);
  }
}
@-webkit-keyframes Bubble {
	0% {
		-webkit-transform: scale(1);
			-ms-transform: scale(1);
				transform: scale(1);
	}
	20% {
		-webkit-transform: scaleY(0.95) scaleX(1.05);
			-ms-transform: scaleY(0.95) scaleX(1.05);
				transform: scaleY(0.95) scaleX(1.05);
	}
	48% {
		-webkit-transform: scaleY(1.1) scaleX(0.9);
			-ms-transform: scaleY(1.1) scaleX(0.9);
				transform: scaleY(1.1) scaleX(0.9);
	}
	68% {
		-webkit-transform: scaleY(0.98) scaleX(1.02);
			-ms-transform: scaleY(0.98) scaleX(1.02);
				transform: scaleY(0.98) scaleX(1.02);
	}
	80% {
		-webkit-transform: scaleY(1.02) scaleX(0.98);
			-ms-transform: scaleY(1.02) scaleX(0.98);
				transform: scaleY(1.02) scaleX(0.98);
	}
	97%, 100% {
		-webkit-transform: scale(1);
			-ms-transform: scale(1);
				transform: scale(1);
	}
}
@-moz-keyframes Bubble {
	0% {
		-moz-transform: scale(1);
		transform: scale(1);
	}
	20% {
		-moz-transform: scaleY(0.95) scaleX(1.05);
		transform: scaleY(0.95) scaleX(1.05);
	}
	48% {
		-moz-transform: scaleY(1.1) scaleX(0.9);
		transform: scaleY(1.1) scaleX(0.9);
	}
	68% {
		-moz-transform: scaleY(0.98) scaleX(1.02);
		transform: scaleY(0.98) scaleX(1.02);
	}
	80% {
		-moz-transform: scaleY(1.02) scaleX(0.98);
		transform: scaleY(1.02) scaleX(0.98);
	}
	97%, 100% {
		-moz-transform: scale(1);
		transform: scale(1);
	}
}
@keyframes Bubble {
	0% {
		-webkit-transform: scale(1);
		transform: scale(1);
    }
  	20% {
		-webkit-transform: scaleY(0.95) scaleX(1.05);
		transform: scaleY(0.95) scaleX(1.05);
	}
	48% {
		-webkit-transform: scaleY(1.1) scaleX(0.9);
		transform: scaleY(1.1) scaleX(0.9);
	}
	68% {
		-webkit-transform: scaleY(0.98) scaleX(1.02);
		transform: scaleY(0.98) scaleX(1.02);
	}
	80% {
		-webkit-transform: scaleY(1.02) scaleX(0.98);
		transform: scaleY(1.02) scaleX(0.98);
	}
	97%, 100% {
		-webkit-transform: scale(1);
		transform: scale(1);
	}
}
@-moz-keyframes Move-map {
	0% { background-position: -849px 0; }
	100% { background-position: 0 0; }
}
@-webkit-keyframes Move-map {
	0% { background-position: 0 0; }
	100% { background-position: -849px 0; }
}
@-o-keyframes Move-map {
	0% { background-position: -849px 0; }
	100% { background-position: 0 0; }
}
@-ms-keyframes Move-map {
	0% { background-position: -849px 0; }
	100% { background-position: 0 0; }
}
@keyframes Move-map {
	0% { background-position: -849px 0; }
	100% { background-position: 0 0; }
}
/* 	Responsive */
@media (min-width: 992px) {
	.modal-lg, .modal-xl {
		max-width: 600px;
	}
}
/* Medium */
@media only screen and (max-width : 1200px) {
	.projects-nav a.btn-link h3 { font-size: 2.0rem; }
	.site-header .navbar-nav li { margin-left: 25px; font-size: 1.6rem; }
}
/* Small */
/* 979px */
@media only screen and (max-width : 992px) {
	body { padding-right: 0px !important; }
	p { margin-bottom: 15px; }
	.navbar-toggler { display: block; border: 0px; }
	.fade-in.sticky-top.show { top: auto; position: relative; z-index: 1; }
	.collapse.navbar-collapse:not(.show) { display: none; }
	#site-slider-carousel .carousel-inner { height: 50vh; }
	.site-main.site-homepage { padding-top: 30px; padding-bottom: 30px; }
	.block-link-wrapper:before { padding-top: 50%; }
	.block-link-wrapper { margin-bottom: 15px; }
	.h2, h2 { font-size: 3.0rem; margin: 25px 0px; }
	.post-thumbnail { margin-bottom: 15px; }
	.site-footer { padding: 40px 0px; margin-top: 80px; }
	#scroll-to-top-wrapper::after { display: none; }
	#scroll-to-top-wrapper svg { right: 20px; top: -330px; }
	.site-footer .widget { margin-bottom: 15px; }
	.site-footer .widget:last-child { margin-bottom: 0px; }
	.table-updates td:first-child { padding-right: 15px; }
	.table-updates td { font-size: 1.6rem; }
	.table-updates h2 { font-size: 2.0rem; }
	.acf-map { position: relative; top: auto; left: auto; height: 50vh; margin-left: -15px; width: 100vw; margin-bottom: 15px; margin-top: -45px; }
	#imagesgallery-carousel .carousel-item img { height: 50vh; }
	.single-aaid_progetti .entry-header .container, 
	.single-aaid_metodologie .entry-header .container { padding-top: 25vh; padding-bottom: 65px; }
	.single-aaid_progetti .entry-header,
	.single-aaid_metodologie .entry-header { height: auto; }
	.post-categories { text-align: left; }
	.project-container h3,
	.entry-content .row > div[class^="col"] { margin-bottom: 15px; }
	.project-container h3:last-child,
	.entry-content .row > div[class^="col"]:last-child { margin-bottom: 0px; }
	.archive .post-thumbnail img { height: 45vh; }
	.nav-categories > li:first-child, .nav-categories span { width: 100%; }
	.nav-categories > li .btn-outline-primary { margin-right: 10px; margin-top: 10px; border-color: #404040; padding: 8px; }
	.site-header svg { height: 30px; }
	.site-header { padding: 15px 0px; }
	.header-nav-wrapper > div { width: 100%; }
	.navbar-nav { display: block; margin-top: 15px; }
	.site-header .navbar-nav li { margin-left: 0px; font-size: 1.6rem; }
	.navbar-nav .nav-link { font-size: 1.8rem; padding: 10px 0px; margin: 0px; border-bottom: 1px solid #f1f1f1; }
	.navbar-nav li:last-child .nav-link { border-bottom: 0px; }
	.navbar-nav li:first-child .nav-link { margin-top: 5px; border-top: 1px solid #f1f1f1; }
	.carousel-inner .container .carousel-caption { font-size: 2.2rem; line-height: 1.2; margin-bottom: 0px; }
	.navbar-brand { padding: 2px 0; }
	.site-header .navbar-nav li { padding: 0px; }
	.site-header .navbar-nav li.dropdown > div { position: initial !important; background-color: transparent; padding: 0px; text-align: left; }
	.site-header .navbar-nav li.dropdown:hover a::before { display: none; }
	.dropdown-menu > li { float: left; width: 100%; }
	.dropdown-menu > li a {
		font-size: 1.8rem;
		padding: 10px 0px;
		margin: 0px;
		border-bottom: 1px solid #f1f1f1;
		color: #202020;
	}
	.dropdown-menu { text-align: left; }
	.menu-move{ padding-right: 0px !important; }
	.site-header .navbar-nav li.dropdown > div { display: none; }
	.site-header .navbar-nav li.dropdown.show > div {
		display: block;
		width: 100%;
		float: left;
	}
	.site-header .navbar-nav li {
		padding: 0px;
		float: left;
		width: 100%;
	}
	.site-header .navbar-nav li > a { white-space: normal; }
	.header-wrapper {
		height: auto;
    	min-height: 210px;
	}
	.text-right.categories-list { text-align: left !important; }
	.single-aaid_progetti .entry-header h1, .single-aaid_metodologie .entry-header h1, h1, .h1 { font-size: 3.4rem; }
	.mtp-content {
		padding-left: 10px;
	}
	.filters { margin-bottom: 0px; }
	.filters .dropdown { margin-bottom: 35px; }
	.form-inline { margin-top: 35px; }
	#searchform input[type="text"] {
		max-width: 80%;
		min-width: 1px;
	}
	.header-navbar { justify-content: space-between; }
	.navbar-nav .dropdown-menu li > a { padding-left: 30px; }
}
/* Extra Small */
@media only screen and (max-width : 767px) {}
@media only screen and (max-width : 480px) {
	.mtp-content { font-size: 12px; }
}
@media only screen and (max-width : 320px) {
	.mtp-content { display:none; }
}

/* ------------------------------ risorse, archive, single ------------------------------ */

/* navraw */
.filters-risorse {
	margin-bottom: 55px;
}

.wrapper-img-risorse .embed-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	visibility: hidden;
	transition: all .5s ease-in-out;
	cursor: pointer;
}

.wrapper-img-risorse:hover .embed-overlay {
	background-color: black;
	opacity: .65;
	visibility: visible;
}

.wrapper-img-risorse:hover .embed-overlay p {
	opacity: 1;
}

.wrapper-img-risorse .embed-overlay {
	color: white;
	font-size: 20px;
	font-weight: bold;
}

/* .wrapper-img-risorse  */
.img-label {
	position: absolute;
	z-index: 2;
	padding: .75rem 1rem;
	bottom: 1.5rem;
	left: 1.5rem;
	background-color: #E7242E;
	border-radius: 7px;
	color: white;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 15px;
}

.img-label-campagne {
	display: inline-block;
	padding: .75rem 1rem;
	bottom: 1.5rem;
	left: 1.5rem;
	background-color: #E7242E;
	border-radius: 7px;
	color: white;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 15px;
}

.line-badge-risorse p {
	font-weight: bold!important;
	color: #E7242E!important;
	font-size: 20px!important;
	margin: 20px 0;
}

.line-badge--long::before {
	width: 65px!important;
	margin-top: 13px;
}

.title-risorse {
	color: #404040;
	font-size: 40px;
	margin-bottom: 0;
	margin-top: .5rem;
}

.text-risorse {
	color: #000000;
	font-size: 18px;
}

.btn-pdf {
	padding: 1.75rem 6.5rem;
	background-color: #E7242E;
	border-color: #E7242E;
	border-radius: 17px;
	color: white;
	font-weight: bold;
	font-size: 20px;
}

.btn-pdf:hover {
	background-color: white;
	color: #E7242E;
}

.row-recent-post {
	margin-top: 100px;
}

.title-last-post {
	font-size: 24px;
	color: #404040;
}

.entry-title-risorse a {
	color: #404040;
}

.entry-title-risorse a:hover {
	color: #9a2521;
}

.custom-breadcrumb {
	background-color: #404040;
	margin-bottom: 40px;
}

.custom-breadcrumb .breadcrumb-text {
	padding: 1.5rem 0;
}

.custom-breadcrumb .breadcrumb-text a {
	color: white!important;
	font-size: 15px;
}

.img-fit {
	object-fit: cover;
	object-position: center;
	width: 100%;
	height: auto;
	max-height: 200px;
}

.img-fit-no-max-height {
	object-fit: cover;
	object-position: center;
	width: 100%;
	height: auto;
	max-height: 350px;
	margin-bottom: 3.5rem;
}

.embed-risorse {
	max-height: 200px;
}

/* campagne */

.wrapper-container-campagne {
	border: 2px solid red;
}

.bg-red {
	background-color: #E7242E;
}

.text-red {
	color: #E7242E;
}

.data-inizio {
	font-size: 20px;
	position: relative;
}

.data-inizio__line::before {
	content: '';
	position: absolute;
	top: 45%;
	left: -47%;
	border: 1px solid #E7242E;
	width: 45%;
}

.data-fine {
	margin-left: 7rem;
}

.data-fine__line::after {
	content: '';
	position: absolute;
	top: 45%;
	left: 11%;
	border: 1px solid #E7242E;
	width: 10%;
}

.container-campagne::before {
	content: '';
	position: absolute;
	width: calc(100% - 30px);
	height: 100%;
	top: 0;
	left: -50%;
	background-color: #E7242E;
}

.container-campagne-navraw::before {
	content: '';
	position: absolute;
	width: calc(100% - 30px);
	height: 100%;
	top: 0;
	left: -50%;
	background-color: #E7242E;
}

.container-campagne-single::before {
	content: '';
	position: absolute;
	width: calc(100% - 15px);
	height: 100%;
	top: 0;
	left: -50%;
	background-color: #E7242E;
}

.opacity-campagna {
	opacity: .7;
	transition: all .3s ease-in-out;
}

.row-campagna:hover .opacity-campagna {
	opacity: 1;
}

.pb {
	padding-bottom: 8rem;
}

.filters-campagne .dropdown-toggle::after {
	right: 10px;
}

.video-container iframe {
	max-width: 100%;
}

.fixed-content {
	position: fixed;
	left: 0;
	top: 91px;
}

.position-sticky {
	top: 91px;
	z-index: 10;
}

/* .position-sticky-single {
	position: fixed;
	top: 174px;
	width: inherit;
} */

.wrapper-sticky {
	width: 540px;
	position: sticky;
	top: 174px;
}

@media screen and (max-width: 1200px) {
	.wrapper-sticky {
		width: 450px;
	}

	.data-fine__line::after {
		content: '';
		position: absolute;
		top: 45%;
		left: 18%;
		border: 1px solid #E7242E;
		width: 10%;
	}
}

@media (min-width: 993px) and (max-width: 1200px) {
	.data-fine__line::after {
		left: 15%;
	}
}

@media screen and (max-width: 992px) {
	.position-sticky {
		top: 70px;
	}

	.wrapper-sticky {
		width: 331px;
	}

	.data-fine__line::after {
		content: '';
		position: absolute;
		top: 45%;
		left: 18%;
		border: 1px solid #E7242E;
		width: 16%;
	}
}

@media screen and (max-width: 767px) {
	.data-fine__line::after {
		content: '';
		position: absolute;
		top: 45%;
		left: 12%;
		border: 1px solid #E7242E;
		width: 10%;
	}
}

@media screen and (max-width: 767px) {
	.position-sticky-single {
		position: inherit;
		top: unset;
		width: inherit;
	}
	
	.wrapper-sticky {
		width: 100%;
	}

	.container-campagne-single::before {
		content: none;
	}
	.container-campagne::before {
		content: none;
	}

	.container-campagne-navraw::before {
		width: 175%;
		left: -50%;
	}

	.wrapper-navraw-campagne {
		background-color: #E7242E;
	}
}

@media screen and (max-width: 500px) {
	.data-fine__line::after {
		content: '';
		position: absolute;
		top: 45%;
		left: 15%;
		border: 1px solid #E7242E;
		width: 14%;
	}
}

@media screen and (max-width: 400px) {
	.data-fine__line::after {
		content: '';
		position: absolute;
		top: 45%;
		left: 18%;
		border: 1px solid #E7242E;
		width: 15%;
	}
}

@media screen and (max-width: 320px) {
	.data-fine__line::after {
		content: '';
		position: absolute;
		top: 45%;
		left: 22%;
		border: 1px solid #E7242E;
		width: 15%;
	}
}


.single-campagne h3 {
	font-family: 'Source Sans Pro', sans-serif!important;
}