/*
Theme Name: newhumanity
Author: Giacomo Lazzarin
Version: 1.0
Text Domain: newhumanity
*/
/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in
 *    IE on Windows Phone and in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers (opinionated).
 */

body {
  margin: 0;
}

/**
 * Add the correct display in IE 9-.
 */

article,
aside,
footer,
header,
nav,
section {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 * 1. Add the correct display in IE.
 */

figcaption,
figure,
main { /* 1 */
  display: block;
}

/**
 * Add the correct margin in IE 8.
 */

figure {
  margin: 1em 40px;
}

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * 1. Remove the gray background on active links in IE 10.
 * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
 */

a {
  background-color: transparent; /* 1 */
  -webkit-text-decoration-skip: objects; /* 2 */
}

/**
 * 1. Remove the bottom border in Chrome 57- and Firefox 39-.
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
 */

b,
strong {
  font-weight: inherit;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font style in Android 4.3-.
 */

dfn {
  font-style: italic;
}

/**
 * Add the correct background and color in IE 9-.
 */

mark {
  background-color: #ff0;
  color: #000;
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 */

audio,
video {
  display: inline-block;
}

/**
 * Add the correct display in iOS 4-7.
 */

audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Remove the border on images inside links in IE 10-.
 */

img {
  border-style: none;
}

/**
 * Hide the overflow in IE.
 */

svg:not(:root) {
  overflow: hidden;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers (opinionated).
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: sans-serif; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
 *    controls in Android 4.
 * 2. Correct the inability to style clickable types in iOS and Safari.
 */

button,
html [type="button"], /* 1 */
[type="reset"],
[type="submit"] {
  -webkit-appearance: button; /* 2 */
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * 1. Add the correct display in IE 9-.
 * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

/**
 * Remove the default vertical scrollbar in IE.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10-.
 * 2. Remove the padding in IE 10-.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in IE 9-.
 * 1. Add the correct display in Edge, IE, and Firefox.
 */

details, /* 1 */
menu {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Scripting
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 */

canvas {
  display: inline-block;
}

/**
 * Add the correct display in IE.
 */

template {
  display: none;
}

/* Hidden
   ========================================================================== */

/**
 * Add the correct display in IE 10-.
 */

[hidden] {
  display: none;
}




/*
*
*  Simple fluid media
*
*/
figure {
  position: relative;
}
img,
object,
embed,
video {
  max-width: 100%;
  height:auto;
  display: block;
}
img {
  border: 0;
  -ms-interpolation-mode: bicubic;
}
/*
*
*	Zoomable baseline grid
*	type size presets
*
*/





/* STILI GENERICI */
html {
	height:100%;
}
body {
	height: 100%;
    font-family: 'Lato', sans-serif;
	font-size: 85%;
	line-height: 1.4em;
	color: #000;
	font-weight: 300;
	background: #fff;
}

a {
	text-decoration:none;
	color:#0e4492;
	transition:all 0.5s;
	-moz-transition:all 0.5s; /* Firefox 4 */
	-webkit-transition:all 0.5s; /* Safari and Chrome */
	-o-transition:all 0.5s; /* Opera */
}
a:hover {
	color:#000;
	transition:all 0.5s;
	-moz-transition:all 0.5s; /* Firefox 4 */
	-webkit-transition:all 0.5s; /* Safari and Chrome */
	-o-transition:all 0.5s; /* Opera */
}

.clear {
	clear: both !important;
}

strong, b {
	font-weight: 700;
}

#primary ol {
	list-style-type: decimal;
	padding-left: 20px;
	padding-bottom: 1em;
}
#primary ol li {
	margin: 1em 0;
}

iframe {
	max-width:100%;
}

.alignleft {
	float: left;
	margin: 0 20px 10px 0;
}
.alignright {
	float: right;
	margin: 0 0 10px 20px;
}
.aligncenter {
	margin: 0 auto 20px;
}

h1, h2, h3, h4, h5, h6 {
	line-height: 1.2em;
	font-weight: 300;
	text-align: center;
}

h2 {
	font-size: 1.6em;
}

hr {
	margin: 50px auto;
	padding: 0;
	border: 0;
	height: 3px;
	clear: both;
	display: block;
	background: #ccc;
	width: 15%;
}


.screen-reader-text {
	position: absolute;
	left: -99999px;
}

.noMargin {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}
.textLeft {
	text-align: left;
}
.textCenter {
	text-align: center;
}
.textRight {
	text-align: right;
}
.textJustify {
	text-align: justify;
}
.whiteSpace {
	display: block;
	clear: both;
	height: 50px;
}
.whiteSpace.smallSpace {
	height: 20px;
}
.whiteSpace.doubleSpace {
	height: 100px;
}
.contentWide {
	background: #eee;
	width: 100%;
}

.contentBiggerText {
	font-size: 1.1em;
	line-height: 1.4em;	
}

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

.italic {
	font-style: italic;
}
.bold {
	font-weight: bold;
}










/* STRUTTURA */
#page {
	margin: 0 auto 0;
	padding-top: 116px;
}

.contentInside {
	width: calc(100% - 40px);
	max-width: 1000px;
	padding: 0 20px;
	margin: 0 auto;
}
.contentInsidePadding {
	padding: 30px 0;
}

.column1-4 {
	width: 21%;
	float: left;
	margin: 15px 2%;
}
.column2-4 {
	width: 46%;
	float: left;
	margin: 15px 2%;
}
.column3-4 {
	width: 71%;
	float: left;
	margin: 15px 2%;
}
.column4-4 {
	width: 96%;
	float: left;
	margin: 15px 2%;
}

.column1-3 {
	width: 29.3333%;
	float: left;
	margin: 15px 2%;
}
.column2-3 {
	width: 62.6666%;
	float: left;
	margin: 15px 2%;
}
.column3-3 {
	width: 96%;
	float: left;
	margin: 15px 2%;
}

.column1-3-2 {
	width: 12.6666%;
	float: left;
	margin: 15px 2%;
}









/* HEADER */
#masthead {
	position: fixed;
	width: 100%;
	height: 116px;
	background: #fff;
	z-index: 10;
}
#topBar {
	height: 40px;
	background: #87888a;
}
#menuIcon {
	display: none;
}

#searchIcon {
	float: right;
    display: block;
    line-height: 40px;
    color: #fff;
    font-size: 0.9em;
    margin: 0 0;
	z-index: 999;
	position: relative;
}
#searchIcon i {
    font-size: 1.4em;
	margin-left: 5px;
}
#searchIcon:hover {
	color: #0e4492;
}
#searchIcon.active i:before {
	content: "\f00d";
}

#searchFormOpen {
	position: fixed;
	width: 100%;
	height: 100vh;
	background: rgba(0,0,0,0.8);
	display: none;
	z-index: 9;
}

#searchform {
	display: table-cell;
	vertical-align: middle;
	width: 100vw;
	height: 100vh;
	text-align: center;
}
#searchform button.search-submit {
	display: none;
}
#searchform input.search-field {
	background: transparent;
	border: 0;
	padding: 0;
	margin: 0;
	border-bottom: 1px solid #fff;
	font-size: 4vh;
	line-height: 2em;
	color: #fff;
	font-family: 'Lato', sans-serif;
	width: 90%;
	max-width: 720px;
	text-align: center;
	font-weight: 100;
}


#logo {
	display: block;
	width: 260px;
	float: left;
	margin: 7px 0 5px -13px;
	position: relative;
}
#logo:after {
	position: absolute;
	width: 90px;
	height: 88px;
	background: #fff;
	border-radius: 45px;
	content: "";
	left: -10px;
	bottom: -15px;
	z-index: -1;
}
#claim {
	float: left;
	font-size: 0.8em;
	line-height: 1.1em;
	margin: 24px 0 0 30px;
}
/*
.socialMenu {
	margin: 28px 0 0 50px;
	padding: 0;
	border: 0;
	float: left;
	list-style: none;
	font-size: 1.2em;
}
.socialMenu li {
	float: left;
}
.socialMenu li a {
	display: block;
	margin: 0 5px;
	width: 20px;
	height: 20px;
	line-height: 20px;
	text-align: center;
}
*/
.socialMenu {
	margin: 20px auto 30px;
	padding: 0;
	border: 0;
	list-style: none;
	font-size: 1.2em;
	text-align: center;
}
.socialMenu li {
	display: inline-block;
}
.socialMenu li a {
	display: block;
	margin: 0 5px;
	width: 20px;
	height: 20px;
	line-height: 20px;
	text-align: center;
}

#mainProj {
	width: 86px;
	float: left;
	text-transform: uppercase;
	font-size: 0.65em;
	text-align: center;
	line-height: 1.2em;
	margin: 8px 0 0 50px;
	color: #000;
}
#mainProj:hover {
	opacity: 0.8;
}

#mdf {
	width: 65px;
	float: left;
	text-transform: uppercase;
	font-size: 0.65em;
	text-align: center;
	line-height: 1.2em;
	margin: 7px 0 0 50px;
	color: #000;
}
#mdf:hover {
	opacity: 0.8;
}


.wpml-ls-legacy-list-horizontal {
	border: 0;
	padding: 0;
	clear: none;
	float: right;
	margin: 10px 0 0 0;
}

.wpml-ls-legacy-list-horizontal ul {
	padding: 0;
	list-style: none;
	float: right;
}
.wpml-ls-legacy-list-horizontal ul li {
	float: left;
}
.wpml-ls-legacy-list-horizontal ul li a {
	display: block;
	text-transform: uppercase;
	line-height: 40px;
	color: #000;
	font-weight: 700;
	font-size: 0.95em;
	margin-left: 20px;
	position: relative;
	padding: 0;
}
.wpml-ls-legacy-list-horizontal ul li a:after {
	content: "|";
	left: -12px;
	position: absolute;
	opacity: 0.4;
}
.wpml-ls-legacy-list-horizontal ul li a:hover {
	color: #0e4492;
}
.wpml-ls-legacy-list-horizontal ul li a:hover:after {
	color: #000;
}
.wpml-ls-legacy-list-horizontal ul li:first-child a:after {
	display: none;
}
.wpml-ls-legacy-list-horizontal ul li.wpml-ls-current-language a:before {
	content: "";
	width: 6px;
	height: 6px;
	background: #87888a;
	border-radius: 3px;
	position: absolute;
	bottom: -3px;
	left: calc(50% - 3px);
}










/* FOOTER */
#colophon {
	text-align: center;
	background: #cfcfd0;
}
.menuSecondario {
	padding: 0;
	margin: 0;
	border: 0;
	list-style: none;
	text-align: center;
	border-bottom: 1px solid #bbb;
}
.menuSecondario li {
	display: inline-block
}
.menuSecondario li a {
	line-height: 40px;
	display: block;
	color: #000;
	margin: 0 10px;
	position: relative;
	text-transform: lowercase;
}
.menuSecondario li a:after {
	content: "|";
	right: -12px;
	position: absolute;
	opacity: 0.6;
}
.menuSecondario li a:hover {
	color: #0e4492;
}
.menuSecondario li:hover a:after {
	color: #000;
	cursor: auto;
}
.menuSecondario li:last-child a:after {
	display: none;
}
#colophon p {
	color: #999;
	font-size: 0.95em;
}
#colophon p a {
	color: #999;
}
#bottomBar {
	background: #000;
	color: #ccc;
	line-height: 40px;
	font-size: 0.85em;
}
#bottomBar a {
	color: #ccc;
}









/* MENU PRINCIPALE */
.menuPrincipale {
	padding: 0;
	margin: 0;
	border: 0;
	list-style: none;
	font-size: 93%;
	letter-spacing: -0.02em;
}
.menuPrincipale li {
	float: left;
	position: relative;
}
.menuPrincipale li a {
	text-transform: uppercase;
	line-height: 40px;
	display: block;
	color: #fff;
	margin-right: 15px;
	position: relative;
}
.menuPrincipale li a:after {
	content: "|";
	right: -9px;
	position: absolute;
	opacity: 0.6;
}
.menuPrincipale li a:hover {
	color: #0e4492;
}
.menuPrincipale li:hover a:after,
.menuPrincipale li.current-menu-ancestor > a:after,
.menuPrincipale li.current-menu-item > a:after {
	color: #fff;
	cursor: auto;
}
.menuPrincipale li.current-menu-item a:before,
.menuPrincipale li.current-menu-ancestor a:before {
	content: "";
	width: 8px;
	height: 8px;
	background: #fff;
	border-radius: 4px;
	position: absolute;
	bottom: -4px;
	left: calc(50% - 4px);
}
.menuPrincipale li:last-child a:after {
	display: none;
}
.menuPrincipale ul {
	display: none;
	position: absolute;
	padding: 30px 10px 10px;
	margin: 0;
	list-style: none;
	background: #fff;
	width: 150px;
	z-index: 99;
	font-size: 0.95em;
	text-align: center;
	left: calc(50% - 95px);
	-webkit-box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.4);
	-moz-box-shadow:    0px 10px 10px 0px rgba(0, 0, 0, 0.4);
	box-shadow:         0px 10px 10px 0px rgba(0, 0, 0, 0.4);
}
.menuPrincipale ul li {
	display: block;
	float: none;
}
.menuPrincipale ul li a {
	display: block;
	line-height: 20px;
	padding: 10px 0;
	margin: 0;
	color: #000;
	text-transform: none;
}
.menuPrincipale ul li a:before {
	display: none;
}
.menuPrincipale ul li a:after {
	width: 40px;
	height: 1px;
	top: 0;
	right: auto;
	left: calc(50% - 20px);
	background: #000;
	content: "";
	opacity: 0.4;
}
.menuPrincipale ul li a:last-child:after {
	display: block;
}

.menuPrincipale li.current-menu-ancestor > a,
.menuPrincipale li.current-menu-item > a {
	color: #0e4492;
}














/* HOME */
#sliderBackground {
	width: 100%;
	height: 50vh;
	margin: 0 0;
	position: relative;
	z-index: 0;
	border: 0;
	float: left;
}
#sliderBackground .flex-control-nav.flex-control-paging {
	display: none;
}
#sliderBackground ul.slides,
#sliderBackground ul.slides li {
	width: 100%;
	height: 100%;
}
#sliderBackground ul.slides li {
	background-size: cover !important;
	background-position: center center !important;
}
#sliderBackground .flex-direction-nav a {
	top: calc(50% - 50px) !important;
	width: 40px;
	height: 120px;
	text-align: center;
	line-height: 120px;
	background: #000;
	color: #fff;
}
#sliderBackground .flex-direction-nav .flex-next {
	right: 0;
}
#sliderBackground .flex-direction-nav .flex-prev {
	left: 0;
}
.flex-direction-nav a.flex-next:before {
	content: "\f105" !important; 
	font-family: "Font Awesome 5 Free";
	font-weight: bold;
}
.flex-direction-nav a.flex-prev:before {
	content: "\f104" !important; 
	font-family: "Font Awesome 5 Free";
	font-weight: bold;
}
.flex-direction-nav a.flex-next:before,
.flex-direction-nav a.flex-prev:before {
	width: 40px;
	height: 120px;
	text-align: center;
	line-height: 120px;
	color: #fff;
}

#sliderBackground .anticipazione {
	position: absolute;
	right: 10%;
	width: 80%;
	max-width: 280px;
	top: calc(50% - 80px);
	text-align: right;
	color: #fff;
}
#sliderBackground .anticipazioneContent {
	background: rgba(14,68,147,0.8);
	padding: 20px;
	margin-right: -20px;
	font-size: 2.1em;
	line-height: 1.1em;
}
#sliderBackground .anticipazione .link {
	color: #fff;
	font-weight: 700;
	font-size: 1.2em;
	margin: 10px 0 0;
	display: block;
	text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.8);
}
#sliderBackground .anticipazione .link:hover {
	color: #0e4492;
}


.shortcutHome {
	text-align: center;
	margin: -60px 0 0;
	position: relative;
}
.shortcutHomeItem {
	width: 32%;
	height: 70px;
	color: #fff;
	display: inline-block;
	vertical-align: middle;
	background: #3e69a7;
	padding: 50px 0 0;
	font-size: 1.4em;
	text-transform: uppercase;
	font-weight: 700;
}
.shortcutHomeItem:first-child {
	background: #567cb2;
}
.shortcutHomeItem:last-child {
	background: #0e4492;
}
.shortcutHomeItem:hover {
	background: #333;
	color: #fff;
}


.citazioneHome {
	background: #fff;
	margin: 50px 0;
	padding: 30px;
	text-align: center;
}
.citazioneHome h2 {
	text-transform: uppercase;
	color: #0e4492;
	margin: 0;
}
.citazioneHome p {
	font-weight: 700;
	text-transform: uppercase;
	margin: 0;
}
blockquote {
	font-family: Constantia, "Lucida Bright", "DejaVu Serif", Georgia, "serif";
	font-style: italic;
	font-size: 1.5em;
	line-height: 1.4em;
	position: relative;
}
blockquote:before {
	content: '“';
	font-style: normal;
	font-size: 6em;
	color: #ccc;
	position: absolute;
	left: -30px;
	top: 30px;
}
blockquote:after {
	content: '”';
	font-style: normal;
	font-size: 6em;
	color: #ccc;
	position: absolute;
	right: -30px;
	bottom: -30px;
}

.titleHome {
	text-transform: uppercase;
	color: #0e4492;
}


#citazioni {
	margin: 0;
	border: 0;
	padding-bottom: 40px;
}
#citazioni p {
	margin-top: 15px;
}
#citazioni .flex-control-nav.flex-control-paging {
	padding: 0;
	bottom: -20px;
}
#citazioni .flex-control-nav.flex-control-paging li {
	margin: 1em 0.2em;
}


.flex-viewport {
	width: 100% !important;
}


#caroselloProgetti {
	border: 0;
	background: transparent;
}
#caroselloProgetti .flex-control-nav.flex-control-paging {
	padding: 0;
	bottom: -60px;
}
#caroselloProgetti .flex-control-nav.flex-control-paging li {
	margin: 1em 0.2em;
}
#caroselloProgetti .flex-direction-nav a.flex-prev:before,
#caroselloProgetti .flex-direction-nav a.flex-next:before {
	height: 40px;
	line-height: 40px;
	color: #000;
	font-size: 2em;
}
#caroselloProgetti .flex-direction-nav a {
	opacity: 1 !important;
}
#caroselloProgetti .flex-direction-nav .flex-prev {
	left: -40px !important;
}
#caroselloProgetti .flex-direction-nav .flex-next {
	right: -40px !important;
}







/* PAGINE INTERNE */
#breadcrumbs {
	background: #0e4492;
	color: #ccc;
	text-align: center;
	margin: 0;
	padding: 0;
	line-height: 40px;
	text-transform: uppercase;
	font-size: 0.95em;
}
#breadcrumbs a {
	color: #ccc;
	margin: 0 10px;
}
#breadcrumbs .breadcrumb_last {
	color: #fff;
	margin-left: 10px;
}

.pageTitle {
	font-weight: 700;
	color: #0e4492;
	font-size: 1.8em;
	text-align: left;
	margin-bottom: 0;
	text-transform: uppercase;
}
.page-template-pagina-centrale .pageTitle,
.page-template-pagina-larga .pageTitle,
.page-template-progetti .pageTitle,
.page-template-archivio-progetti .pageTitle,
.single-ai1ec_event .pageTitle,
.single-project .pageTitle,
.single-post .pageTitle {
	text-align: center;
}
.contentBiggerText h2,
.partnerOrganizzazioni h2 {
	text-align: left;
	font-weight: 700;
	margin-top: 1.8em;
}
h2.widget-title {
	margin-top: 0;
	text-transform: uppercase;
	font-size: 1.2em;
	font-weight: 900;
}
.contentBiggerText .column2-3 p:first-child {
	margin-top: 0;
}
.partnerOrganizzazioni h2 {
	text-align: center;
}


#sidebar ul {
	padding: 0;
	margin: 0;
}


.menuSubpages {
	padding: 0;
	margin: 0 0 50px;
	list-style: none;
}
.menuSubpages li a {
	display: block;
	background: #eee;
	line-height: 1em;
	border-top: 1px solid #fff;
	padding: 10px 30px 10px 20px;
	text-transform: uppercase;
	color: #666;
	font-size: 0.8em;
	position: relative;
}
.menuSubpages li a:after {
	font-family: "Font Awesome 5 Free";
	font-weight: bold;
	content: '\f054';
	font-size: 0.8em;
	color: #0e4492;
	position: absolute;
	right: 15px;
	transition:all 0.5s;
	-moz-transition:all 0.5s; /* Firefox 4 */
	-webkit-transition:all 0.5s; /* Safari and Chrome */
	-o-transition:all 0.5s; /* Opera */
}
.menuSubpages li a:hover:after {
	right: 20px;
	color: #fff;
}
.menuSubpages li a:hover,
.menuSubpages li.current_page_item a {
	background: #666;
	color: #fff;
}
.menuSubpages li.current_page_item a:after {
	display: none;
}
.menuSubpages li.current {
	color: #fff;
	background: #0e4492;
	line-height: 40px;
	padding: 0 20px;
	text-transform: uppercase;
	font-size: 0.8em;
	font-weight: 700;
}








/* FORM CONTATTI*/
.wpcf7-form input[type=text],
.wpcf7-form input[type=email],
.wpcf7-form input[type=number],
.wpcf7-form input[type=file],
.wpcf7-form input[type=tel],
.wpcf7-form textarea {
	width: calc(100% - 42px);
	display:block;
	padding:0 20px;
	border: 0;
	border:1px solid #ccc;
	margin:3px 0 15px;
	font-family: 'Lato', sans-serif;
	font-size:1em;
	background:#eee;
	line-height: 40px;
	height: 40px;
	color: #333;
	font-weight: 400;
}
.wpcf7-form textarea {
	height: 130px;
}
.wpcf7-form input[type=submit] {
	border: 0;
    text-transform: uppercase;
    background: #0e4492;
    color: #fff;
    float: none;
    margin-top: 10px;
    cursor: pointer;
    line-height: 40px;
	min-width: 150px;
	padding: 0 30px;
	width: auto;
	clear: both;
	margin: 10px auto;
	display: block;
}
.wpcf7-form input[type=submit]:hover,
.wpcf7-form input[type=text]:focus,
.wpcf7-form input[type=email]:focus,
.wpcf7-form input[type=number]:focus,
.wpcf7-form input[type=tel]:focus,
.wpcf7-form textarea:focus {
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	border-color:#ccc;
	color: #3a3c39;
	background: #fff;
	transition:all 0.5s;
	-moz-transition:all 0.5s; /* Firefox 4 */
	-webkit-transition:all 0.5s; /* Safari and Chrome */
	-o-transition:all 0.5s; /* Opera */
}
.wpcf7-form input[type=submit]:hover {
	background:#000;
	color:#fff;
}
#privacy {
	font-size:0.75em;
	line-height:1.2em;
	float:left;
	margin: 20px 0 0 0;
}
#privacy span {
	margin:0;
}
#privacy input {
	float:left;
	margin:0 5px 20px 0;
}
.ajax-loader {
	float:right;
    margin-right:15px;
    margin-top:20px;
}
.wpcf7-form-response-output {
	display:block;
	clear:both;
}
div.wpcf7-form-validation-errors {
	clear:both;
}
.wpcf7-form-not-valid-tip {
	margin-top:-15px;
}


.wpcf7-form .left {
	width:48%;
	float:left;
	margin-top:0;
}
.wpcf7-form .right {
	width:48%;
	float:right;
	margin-top:0;
}
.wpcf7-form-form p {
	margin-top:0;
	margin-bottom: 0 !important;
}

.wpcf7-form .center {
	width: 100%;
	margin: 3px auto 15px;
	display: block;
	float: none;
}
.wpcf7-form .left,
.wpcf7-form .right,
.wpcf7-form .center {
	position: relative;
}
















/* PARTNER */
.partnerBox {
	margin-bottom: 15px;
	background: #eee;
	display: block;
	padding: 5px;
}
.partnerBox .immagine {
	width: 30%;
	float: left;
}
.partnerBox .contenuto {
	float: right;
	width: 65%;
	margin: 0 2% 0 0;
}
.partnerBox a {
	color: #000;
	background: #eee;
	display: block;
}
.partnerBox a:hover {
	color: #0e4492;
}
.partnerBox h3 {
	text-align: left;
	margin: 0.5em 0;
	font-weight: 700;
	font-size: 1.1em;
}
.partnerBox p {
	margin: 0;
	line-height: 1.2em;
	font-size: 0.9em;
}










/* TEAM */
.teamMain {
	text-align: center;
}
.teamMain h2 {
	font-weight: 700;
	margin-top: 50px;
}
.teamMain .teamBox {
	width: 230px;
	display: inline-block;
	margin: 20px 10px;
	vertical-align: top;
}
.teamMain .teamBox .contenuto {
	background: #eee;
	margin-top: 5px;
	text-align: left;
	padding: 10px 10px 5px;
}
.teamMain .teamBox .contenuto h3  {
	margin: 0 0 5px;
	text-align: left;
	font-size: 1.4em;
	font-weight: 700;
	color: #999;
}
.teamMain .teamBox .contenuto .caricaTeam {
	margin: 0;
}
.teamMain .teamBox .contenuto .contenutoTeam {
	font-size: 0.9em;
}

.teamMain .teamBox .immagine img {
	-webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
	filter: grayscale(100%);
}








/* SEDI */
.sediMain {
	text-align: center;
}
.sediMain .sediBox {
	width: calc(50% - 40px);
	min-width: 400px;
	display: inline-block;
	margin: 10px;
	background: #0e4492;
	color: #fff;
	min-height: 180px;
	vertical-align: top;
}
.sediMain .sediBox .markerI {
	float: left;
	display: block;
	margin: 20px 0 0 15px;
	font-size: 2em;
}
.sediMain .sediBox .contenuto {
	margin: 10px;
	text-align: left;
	padding: 0;
	float: right;
	width: calc(100% - 70px);
	font-size: 1.1em;
	line-height: 1.6em;
}
.sediMain .sediBox h2 {
	font-size: 1.7em;
	font-weight: 700;
	text-align: left;
	margin: 0.4em 0 0;
}
.sediMain .sediBox a {
	color: #fff;
}
.sediMain .sediBox a:hover {
	text-decoration: underline;
}







/* CALENDARIO */
.ai1ec-calendar-toolbar {
	border: 0;
}







/* PROGETTI */
.projectArea {
	background: #0e4492;
	color: #fff;
	padding: 20px 0 40px;
}
.single-project .projectArea .wp-post-image {
	margin-top: -60px;
	margin-bottom: 20px;
	float: left;
}
.single-project .projectArea {
	padding: 0 0 40px;
}
.projectArea .titleHome {
	color: #fff;
}
.projBox a {
	color: #000;
	background: #fff;
	display: block;
}
.projBox h1 {
	color: #000;
	margin: 0 0 5px;
	font-weight: 700;
	text-transform: uppercase;
	transition:all 0.5s;
	-moz-transition:all 0.5s; /* Firefox 4 */
	-webkit-transition:all 0.5s; /* Safari and Chrome */
	-o-transition:all 0.5s; /* Opera */
}
.projBox .contentpostBox {
	padding: 20px;
	text-align: center;
}
.projBox .leggitutto {
	color: #0e4492;
	margin: 10px 0 0;
	transition:all 0.5s;
	-moz-transition:all 0.5s; /* Firefox 4 */
	-webkit-transition:all 0.5s; /* Safari and Chrome */
	-o-transition:all 0.5s; /* Opera */
}
.seeAll {
	display: inline-block;
	clear: both;
	color: #fff;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 0.9em;
}
.projBox a:hover {
	-webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.6);
	-moz-box-shadow:    0px 0px 20px 0px rgba(0, 0, 0, 0.6);
	box-shadow:         0px 0px 20px 0px rgba(0, 0, 0, 0.6);
}
.projBox a:hover .leggitutto {
	color: #000;
}
.projBox a:hover h1 {
	color: #0e4492;
}


.contInProj {
	background: #fff;
	color: #000;
	padding: 0;
}
.single-project .pageTitle {
	margin: 0;
}

.readmore {
	text-align: center;
	cursor: pointer;
	display: block;
}

.readmore .chiudi {
	display: none;
}
.readmore.active .chiudi {
	display: block;
}
.readmore.active .apri {
	display: none;
}

.logoFinanziamento {
	margin: 0 auto;
	max-width: 250px;
}







/* FAQ */
#accordion h2 {
	background: #eee;
	color: #0e4492;
	padding: 10px 20px;
	font-size: 1.4em;
	text-align: left;
	cursor: pointer;
}
#accordion h2:focus {
	outline: none;
}
#accordion h2.ui-state-active {
	background: #0e4492;
	color: #fff;
}







/* NEWS */
.postBox {
	border-top: 1px solid #666;
	padding: 10px 0 20px;
	text-align: left;
}
.postBox a {
	display: block;
	color: #000;
}
.postBox .data {
	font-size: 0.9em;
}
.postBox h1 {
	text-align: left;
	font-weight: 700;
	line-height: 1.1em;
	margin: 10px 0;
}
.postBox .excerpt {
	margin: 10px 0;
}
.postBox .leggitutto {
	color: #0e4492;
	font-weight: 700;
	font-size: 0.9em;
}
.seeAll2 {
	display: inline-block;
	clear: both;
	color: #999;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 0.9em;
}

.imgEvi img {
	margin: 0 auto;
}

.postBox .imagePost,
.postBox h1 {
	transition:all 0.5s;
	-moz-transition:all 0.5s; /* Firefox 4 */
	-webkit-transition:all 0.5s; /* Safari and Chrome */
	-o-transition:all 0.5s; /* Opera */
}
.postBox:hover .imagePost {
	-webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.4);
	-moz-box-shadow:    0px 0px 20px 0px rgba(0, 0, 0, 0.4);
	box-shadow:         0px 0px 20px 0px rgba(0, 0, 0, 0.4);
}
.postBox:hover h1 {
	color: #0e4492;
}


.correlati {
	text-align: center;
}
.correlati .postBoxCorrelati {
	width: 29.3333%;
	display: inline-block;
	margin: 15px 2%;
	text-align: left;
	vertical-align: top;
}

.page-template-attivita .pageTitle {
	text-align: center;
}




.menuFiltri {
	text-align: center;
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 1.1em;
}
.menuFiltri li {
	display: inline-block;
	margin: 0 20px;
}
.menuFiltri li i {
	font-size: 0.9em;
	color: #000;
}
.menuFiltri ul {
	display: none;
	position: absolute;
	width: 150px;
	text-align: left;
	background: #fff;
	padding: 15px;
	margin: 5px 0 0;
	box-shadow: rgba(0, 0, 0, 0.5) 0px 10px 10px;
}
.menuFiltri ul li {
	margin: 0;
	font-size: 0.9em;
	line-height: 1.6em;
	width: 100%;
	display: block;
}
.menuFiltri .current {
  background-color: #000;
  padding: 2px;
  color: #ffffff;
}








/* LISTA PAGINE INTERNE */
.subPagesList {
	margin:0;
	padding:0;
	list-style:none;
}
.subPagesList li a {
	display:block;
	text-transform:uppercase;
	font-size:1.3em;
	line-height:2em;
	border-bottom:1px solid #ccc;
	text-align:center;
	padding:10px 0;
}
.subPagesList li a:hover {
	background:#eee;
	color:#333;
}





.wp-pagenavi {
    padding: 50px 0;
    text-align: center;
    font-size: 1.2em;
}








.mobile {
	display: none !important;
}


@media only screen and (-webkit-min-device-pixel-ratio:0) { 
}
/**
 * Media Queries
 * -----------------------------------------------------------------------------
 */

/* Does the same thing as <meta name="viewport" content="width=device-width">,
 * but in the future W3C standard way. -ms- prefix is required for IE10+ to
 * render responsive styling in Windows 8 "snapped" views; IE10+ does not honor
 * the meta tag. See http://core.trac.wordpress.org/ticket/25888.
 */
@-ms-viewport {
	width: device-width;
}
@viewport {
	width: device-width;
}




@media screen and (max-width: 1400px) {

}

@media screen and (max-width: 1200px) {

}

@media screen and (max-width: 980px) {
	
	
	.listaComitatoItem {
		width: calc(38% - 20px)
	}
	
	#menuIcon {
		display: block;
		float: left;
		line-height: 40px;
		font-size: 1.6em;
		color: #fff;
		position: relative;
		z-index: 10;
	}
	.menu-menu-principale-container,
	.menu-menu-principale-inglese-container,
	.menu-menu-principale-francese-container {
		display: none;
		width: calc(100% - 150px);
		left: 0;
		position: fixed;
		background: #666;
		top: 40px;
		z-index: 9;
		padding: 50px;
		height: calc(100vh - 140px);
		overflow: scroll;
	}
	.menuPrincipale {
	}
	.menuPrincipale li {
		float: none;
		text-align: center;
	}
	.menuPrincipale li a {
		margin: 0;
	}
	.menuPrincipale li a:after {
		display: none !important;
	}
	.menuPrincipale ul {
		position: relative;
    	left: calc(50% - 85px);
	}
	
	#mainProj {
		display: none;
	}
	
}

@media screen and (max-width: 850px) {
	
	#mdf {
		display: none;
	}
	
}

@media screen and (max-width: 710px) {

	.column1-4,
	.column2-4,
	.column3-4,
	.column4-4,
	.column1-3,
	.column2-3,
	.column3-3 {
		clear:both;
		width:96%;
		margin:15px 2%;
	}
	
	.desktop {
		display: none !important;
	}
	.mobile {
		display: block !important;
	}
	
	#claim {
		display: none;
	}
	
	#searchIcon span {
		display: none;
	}
	
	#sliderBackground .anticipazione {
		right: 20%;
		width: 65%;
		top: auto;
		bottom: 10px;
	}
	#sliderBackground .anticipazioneContent {
		font-size: 1.3em;
	}
	
	.shortcutHome {
		margin: 20px 0 0;
	}
	.shortcutHomeItem {
		width: 100%;
		padding: 20px 0;
		height: auto;
		font-size: 1.1em;
	}
	
	
	#caroselloProgetti .flex-direction-nav {
		display: none;
	}
	
	#breadcrumbs {
		line-height: 20px;
		padding: 10px;
	}
	
	#sidebar {
		display: none;
	}

}

@media screen and (max-width: 550px) {
	
	.wpml-ls-legacy-list-horizontal ul {
		position: fixed;
		top: 0;
		left: 70px;
		margin: 0;
	}
	
}

@media print {
}


