/*!
Theme Name: ICOM Italia
Theme URI: http://underscores.me/
Author: DM Cultura
Author URI: http://www.dmcultura.it/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: icom-italia
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.

ICOM Italia 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/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
  font-family: 'Lato', sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

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

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

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

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

small {
	font-size: 80%;
}

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

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

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

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

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

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

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn, cite, em, i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code, kbd, tt, var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark, ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff;
	/* Fallback for when there is no custom background color defined. */
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul, ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto;
	/* Make sure images are scaled correctly. */
	max-width: 100%;
	/* Adhere to container width. */
}

figure {
	margin: 1em 0;
	/* Extra wide images within figure tags don't overflow the content area. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active, button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: royalblue;
}

a:visited {
	color: purple;
}

a:hover, a:focus, a:active {
	color: midnightblue;
}

a:focus {
	outline: thin dotted;
}

a:hover, a:active {
	outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	float: left;
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
}

.site-main .comment-navigation, .site-main
.posts-navigation, .site-main
.post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:after,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
	/* Make sure select elements fit in widgets. */
}

.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

#breadcrumbs {
	width: 80%;
}

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	/* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}




.invisible {
  position: absolute;
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
}

html, body {
  background-color: #F9F9F9;
}

h1 {
  color: #407FAC;
}

h3 {
  color: #3F7FAC;
}
h3 > a {
  color: #3F7FAC;
}

a[href] {
  text-decoration: none;
  cursor: pointer;
}

/*
 * HEADER : BANNER
 */
header .banner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 4rem 0 1rem;
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
}
#icom-menu-toggle {
  background-image: url("images/menu-main.png");
  display: inline-block;
  height: 3rem;
  border-radius: 100%;
  background-color: #C0C3C7;
  background-repeat: no-repeat;
  background-position: center;
  flex: 0 0 50px;
  transition: background-color .5s;
}
.mm-wrapper_blocking {
	overflow: auto;
}
.mm-wrapper_opened #icom-menu-toggle {
  background-color: dimgray;
}
header .banner .custom-logo-link {
  flex: 2 1 auto;
  margin: 0 2rem;
}
#icom-quote::before,
#icom-quote::after {
	display: inline-block;
	width: 20px;
	height: 18px;
	content: " ";
	background-image: url("images/quote.png");
	position: relative;
}
#icom-quote::before {
	top: -8px;
	left: -25px;
	margin-right: -20px;
}
#icom-quote::after {
	top: 8px;
	left: 10px;
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);  
  opacity: .6;
}
#icom-quote  {
  color: #465D6B;
  font-size: 1.2rem;
  font-style: italic;
  display: inline-block;
  flex: 1 1 40%;
  line-height: 1.2rem;
  font-weight: bold;
  float: right;
  padding: 8px 0 0 25px;
margin: 0 0 0 auto;
max-width: 34rem;
}

@media (max-width: 1100px) { 

  header .banner {
    padding: 2rem 5% .5rem;
  }
  header .banner .custom-logo-link {
    margin: 0 3%;
  }
  header .banner .custom-logo {
    width: 200px;
    max-width: none;
  }
}
@media (max-width: 486px) { 

  header .banner #icom-quote {
    display: none;
  }
}

/*
 * HEADER : MENU
 */
#icom-menu-summary {
  background-color: #2E3947;
  margin: 0 auto;
  text-align: right;
  line-height: 40px;
  height: 40px;
  box-sizing: border-box;
  padding: 0 1rem;
  position: relative;
  top: 28px;
}
#icom-menu-summary > ul {
	margin: 0;
	padding: 0;
	position: relative;
	z-index: 1;
	display: inline-block;
}
#icom-menu-summary > ul > li {
  display: inline-block;
}
#icom-menu-summary a {
  display: inline-block;
  margin: 0 .4rem;
  color: white;
	z-index: 1;
}

#search_lens {
	display: inline-block;
	margin: 0 .4rem;
	color: white;
  position: relative;
	z-index: 1;
	height: 100%;
	vertical-align: middle;
}
#search_lens::before {
	content: "";
	background-image: url(images/icon-search.svg);
	width: 2rem;
	display: block;
	background-size: 1.2rem;
	background-position: center;
	height: 100%;
	background-repeat: no-repeat;
}

/*
 * HEADER : SPIDER
 */ 
 #icom-spider {
  position: relative;
  overflow: hidden;
  height: 570px;
}
#icom-spider > svg {
  display: block;
  width: 2000px;
  position: relative;
  top: -40px;
  margin-bottom: -4rem;
  left: 50%;
  transform: translateX(-50%);
}
.tippy-tooltip.spider-theme {
	border-radius: 50%;
	min-width: 10rem;
}
.tippy-tooltip.spider-theme .tippy-backdrop {
  background-color: white;
}
.tippy-tooltip.spider-theme .tippy-content a {
  color: dimgray;
  display: inline-block;
	font-size: 1.8em;
	padding: 1rem;
}
@media (max-width: 486px) { 

  #icom-spider {
    height: auto;
  }
  #icom-menu-summary {
    top: 0;
  }
  #icom-spider svg {
    display: none;
  }
  #spider-tooltip {
    display: none;
  }
}

/*
 * WELCOME
 */
section.welcome-row {
	padding: 2rem 0;
}
section.welcome-row > div,
section.welcome-row > ul {
  list-style: none;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
}
section.welcome-row header {
	display: inline-block;
	width: 22rem;
	margin: 0 1% .5rem 0;
  vertical-align: middle;
}
section.welcome-row header > h2 {
	color: #4280AC;
  margin-top: 0;
}
@media (max-width: 486px) { 

  section.welcome-row {
    padding: 1rem 3%;
  }
  section.welcome-row header {
    display: block;
    width: auto;
    margin: 0 0 1rem 0;
  }  
}

/*
 * WELCOME : ACTIONS
 */
section.actions {
  background-color: #E4E5E7;
}
section.actions ul {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  align-items: start;
}
section.actions ul > li {
  display: inline-block;
  vertical-align: top;
  flex: 0 0 auto;
}
section.actions ul > li > a {
  background-repeat: no-repeat;
  display: block;
  text-align: center;
  font-size: 1.4rem;
  font-weight: bold;
  color: black;
}
section.actions ul > li > a::before {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: auto, 100% auto;
  content: "";
  display: block;
  width: 15vw;
  height: 15vw;
  max-width: 150px;
  max-height: 150px;
  margin: 0 auto;
}
.actions .action-register > a,
.actions .action-renew > a,
.actions .action-search > a {
  font-size: 1.2rem;
}
.actions .action-register > a::before,
.actions .action-renew > a::before,
.actions .action-search > a::before {
  width: 5rem;
  height: 5rem;
}
.action-register > a::before {
  background-image: url(images/action-register.png), url(images/structure.png);
}
.action-renew > a::before {
	background-image: url(images/action-renew.png), url(images/structure.png);
}
.action-involve > a::before {
	background-image: url(images/action-involve.png), url(images/structure.png);
}
.action-search > a::before {
	background-image: url(images/action-search.png), url(images/structure.png);
}
.action-faq > a::before {
	background-image: url(images/action-faq.png), url(images/structure.png);
}
@media (max-width: 425px) { 

  section.actions ul > li > a {
    font-size: 1rem;
  }
  section.actions ul > li > a::before {
	  background-size: 50%, 100% auto;
  }  
}

/*
 * WELCOME : STRUCTURE
 */
.structure-coordinations > a::before {
	background-image: url(images/structure-coordinations.png), url(images/structure.png);
}
.structure-commissions > a::before {
	background-image: url(images/structure-commissions.png), url(images/structure.png);
}
.structure-members > a::before {
	background-image: url(images/structure-members.png), url(images/structure.png);
}

section.actions .action-newsletter > a::before {
  content: "";
  display: inline-block;
  background-image: url("images/action-newsletter.png"), url("images/structure.png");
  background-position: center center;
  background-repeat: no-repeat;
  width: 20vw;
  height: 20vw;
  margin-right: 4%;
  max-width: 150px;
  max-height: 150px;
}
section.actions .action-newsletter > a {
  line-height: normal;
  font-size: 3vw;
  display: flex;
  align-items: center;  
  justify-content: center;
  padding: 0;
}

/*
 * WELCOME : CALLS
 */
section.call {
  background-color: #6899BD;
  padding: 0 0 3rem 0;
}
section.call > div {
  color: white;
  text-align: center;
  padding: 2rem 1rem 0;
  background-color: #4280AC;
}
section.call h2 {
  font-size: 3rem;
  margin: 0;
}
section.call a {
  background-color: white;
  border: none;
  border-radius: 3px;
  color: black;
  padding: .6rem 1.2rem;
  font-size: 1rem;
  font-weight: bold;
}
section.call .call-text {
  opacity: .8;
  font-size: 1rem;
  margin: .5rem 0 1rem 0;
}
section.call .call-actions {
  position: relative;
  bottom: -1rem;
}

/*
 * WELCOME : ADOPT
 */
section.adopt {
  background-color: #677585;
  overflow: hidden;
}
section.adopt > div {
  background-color: #415266;
  position: relative;
}
section.adopt > div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background-image: url("images/adopt-wall.png");
  display: inline-block;
  width: 286px;
  height: 240px;
}
section.adopt h2,
section.adopt .call-text {
  position: relative;
  z-index: 1;
}
section.adopt .call-text {
  background-color: #415266;
  width: auto;
  display: inline-block;
}

/*
 * WELCOME : EVENTS
 */

section.focus {

}
section.focus > p {
 	display: none; 
}
section.focus > div {
  display: flex;
  flex-flow: row wrap;
  align-items: stretch;
  justify-content: space-around;
}
section.focus .image {
  max-width: 20rem;
  flex: 0 1 25vw;
}
section.focus .image > img {
	width: 100%;
}
section.focus .image + div {
  padding: 0;
  margin-left: 0;
  position: relative;
  flex: 0 1 calc(96% - 25vw);
}
section.focus .image + div h3 {
	margin-top: 0;
}
section.focus .image + div > .event-category {
  display: none;
}
@media (max-width: 425px) {
 
  section.focus .image {
    flex: 1 1 auto;
    max-width: none;
    margin-bottom: 1rem;
  }
	section.focus .image + div {
  	flex: 1 1 auto;
  }
}


section.events {
  background-color: #F0F0F0;
  padding-bottom: 0;
}
section.events ul {
  display: flex;
  flex-flow: row wrap;
  align-items: stretch;
  justify-content: space-between;
}
section.events ul > li {
  display: inline-block;
  background-color: white;
  border-radius: 10px;
  box-shadow: 4px 4px 4px -2px black;
  height: 400px;
  position: relative;
  overflow: hidden;
  margin: 0 1% 1rem 0;
  flex: 1 0 330px;
}
.event-category {
  background-color: white;
  position: absolute;
  right: 1rem;
  top: 1rem;
  border-radius: 3px;
  padding: .3rem .5rem;
  box-shadow: 2px 2px 2px 0 gray;
  z-index: 2;
}
.event-image {
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  height: 200px;
}
.event-image img {
  min-width: 100%;
  min-height: 200px;
  max-width: none;
  width: auto;
}
.event-title {
  margin: 1rem;
  position: relative;
  z-index: 2;
  line-height: 1.2em;
}
.event-excerpt {
  margin: 0 1rem;
  z-index: 2;
  position: relative;
  line-height: 1.2em;
}
.swiper-container-vertical > .swiper-pagination-bullets {
	top: 8rem;
	right: 1rem;
	z-index: 9999;
}
.swiper-pagination-bullet {
	width: 12px;
	height: 12px;
	background-color: #4280AC;
  border: 2px solid #4280AC;
  opacity: 1;
}
.swiper-pagination-bullet.swiper-pagination-bullet-active {
  border: 2px solid white;
}
.swiper-slide::after {
  content: "";
  background-image: url("images/event-overlay.png");
  display: block;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: right top;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
}
@media (max-width: 1024px) { 

  section.events {
    padding: 1rem 6vw 0;
  }
  section.events ul {
    justify-content: center;
  }
}

/*
 * WELCOME : EVENT - CALENDAR
 */
section.events .em-calendar-wrapper {
  background-color: #033B82;
  max-width: none;
  margin-bottom: 1rem;
}
section.events .em-calendar-wrapper table,
section.events .em-calendar-wrapper thead,
section.events .em-calendar-wrapper tbody,
section.events .em-calendar-wrapper tr {
  display: inline;
}
section.events .em-calendar > thead {
  display: block;  
} 
section.events .em-calendar {
  display: block !important;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
section.events .em-calendar .days-names,
section.events .em-calendar .eventless-pre,
section.events .em-calendar .eventless-post {
  display: none;
}
section.events .em-calendar thead td {
  display: none;
}
section.events .em-calendar thead td.month_name {
  display: block;
  color: #033B82;
  text-align: right;
  padding: 0 2rem 0 0;
  position: relative;
  top: -1.5rem;
  margin-bottom: -1.5rem;
  margin-top: 1.5rem;
  font-size: 1.2rem;
  font-weight: normal;
}
section.events .em-calendar tbody td {
  color: #C3D6E5;
  display: inline-block;
  margin: .5rem 0;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  line-height: 30px;
  padding: 0 !important;
  font-size: 1.2em;
}
section.events .em-calendar tbody td.eventful > a {
  color: white;
}
section.events .em-calendar tbody td.eventless-today, 
section.events .em-calendar tbody td.eventful-today {
  background-color: white;
  color: black;
}
@media (max-width: 486px) { 

  section.events .em-calendar tbody td {
    margin: 0;
  }
} 
 
/*
 * WELCOME : EVENT - SEARCH
 */
section.events .em-search-wrapper {
  background-color: #EAEBEC;
	max-width: none;
  padding: 2rem 0;
}
section.events .em-events-search {
  margin: 0 auto;
  padding: 0;
  max-width: 1100px;
  background-color: transparent;
  border: none;
}
section.events .em-events-search.has-advanced .em-search-main {
  padding-bottom: 0;
  border-bottom: none;
}
section.events .em-events-search .em-search-main > div {
  display: inline-block;
  background: none;
  padding: 0;
  margin: 0;
  width: 35%;
  margin-right: 1rem;
}
section.events .em-events-search input.em-search-text, 
section.events .em-events-search input.em-search-geo {
  width: 100% !important;
  border: 2px solid #648599;
  padding: .8rem 1rem;
}
section.events .em-search-text > label > input,
section.events .em-search-geo > label > input {
  background-repeat: no-repeat;
  background-position: right center;
  padding-right: 40px !important;
}
section.events .em-search-text > label > input {
  background-image: url("images/event-search-text.png");
}
section.events .em-search-geo > label > input {
  background-image: url("images/event-search-geo.png");
}
section.events .em-events-search div.em-search-main .em-search-submit {
  background: #4280AC;
  border: none;
  height: 45px;
  width: 45px;
  display: inline-block;
  position: static;
}
section.events .em-search-options {
	display: inline-block;
	position: absolute;
	top: 0;
	right: 0;
}
@media (max-width: 1100px) { 

  section.events .em-search-wrapper {
    padding: 2rem 3%;
  }  
}
@media (max-width: 486px) { 

  section.events .em-search-wrapper {
    padding: 1rem 3%;
  }  
  section.events .em-search-options {
    display: none !important;
  }  
}

/*
 * WELCOME : PARTNERS
 */
section.partners p {
	display: inline;
}
section.partners img {
	display: inline-block;
  margin: 0 7% .5rem;
  vertical-align: middle;
}
@media (max-width: 486px) { 
 
 section.partners img {
    display: block;
    margin: 0 auto 1rem;
  }
}

/*
 * WELCOME : COLOPHON
 */
#colophon {
  background-color: #949EAA;
}
#colophon a {
  color: white;
}
#colophon > div {
  background-color: #415266;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 0 1rem;
  color: white;
}
#colophon .menu-completo-container > ul {
  list-style: none;
  padding: 1rem 0 0 !important;
  margin: 0 5rem !important;
  column-count: 4;
  column-fill: balance;
  column-gap: 1rem;
}
#colophon .menu-completo-container > ul > li {
  /*display: inline-block;*/
  vertical-align: top;
  margin: 0 1% 1rem;
}
#colophon .menu-completo-container > ul > li > .sub-menu {
  padding: 0;
  margin: 0;
}
#colophon .menu-completo-container > ul ul {
  margin: 0;
  list-style: none;
  font-size: .9rem;
  color: #D8E5F0;
  padding: 0 0 0 1rem;
}
#colophon .menu-completo-container a {
  color: #D8E5F0;
}
#colophon .menu-completo-container h3 {
  color: white;
  font-size: 1.2rem;
  margin: 0 0 1rem;
}
#colophon .menu-completo-container details,
#colophon .menu-completo-container summary {
  display: inherit;
}
#colophon .menu-completo-container details {
  margin-left: -1rem;
}
#colophon .menu-completo-container summary {
  cursor: pointer;
}
#colophon .menu-completo-container details > ul {
  padding-left: 1.5rem;
}
@media (max-width: 1100px) { 

  #colophon > div {
    padding: 0 3% .5rem;
  }
  #colophon .menu-completo-container > ul {
    margin: 0 5% !important;
    column-count: 4;
    column-fill: balance;
    column-gap: 1rem;
  }
}
@media (max-width: 486px) { 

  #colophon .menu-completo-container > ul {
    margin: 0 !important;
    column-count: 2;
    column-gap: 3%;
  }
  #colophon .menu-completo-container > ul > li {
    margin: 0 0 .5rem;
  }  
}

/*
 * WELCOME : COLOPHONE - SOCIAL
 */
#menu-social a {
	font-size: 2em;
}
#menu-social > li {
  display: inline-block;
  margin: 0 .2rem;
}
#menu-social {
  padding: 0 2rem;
  margin: 0;
  list-style: none;
  text-align: right;
}

/*
 * CONTENT
 */
#content.wrap-up {
	position: relative;
	z-index: 2;
	margin: -30rem 10% 0;
	max-width: 55rem;
	min-height: 100vh;
	padding: 0;
	width: 60vw;
}
#content.wrap-up h1 {
  margin: 0;
  line-height: normal;
}
#content.wrap-up h3 {
  color: #2D3946;
  font-weight: normal;
}
#content.wrap-up p {
	margin: .5em 0;
}
#content.wrap-up .entry-content {
    margin: 0;
}
@media (max-width: 475px) {

  #content.wrap-up {
     margin: 5vw 5vw 0;
    width: auto;
  }
}

.site-content.wrap-up .entry-content ol,
.site-content.wrap-up .entry-content ul {
	margin: 0;
	padding: 0;
	list-style-position: outside;
	margin-left: 1em;
}
.site-content.wrap-up .entry-content ol > li,
.site-content.wrap-up .entry-content ul > li {
	padding-left: .5em;
	line-height: normal;
  margin-top: .3em;
}
.site-content.wrap-up .entry-content ol > li:first-child,
.site-content.wrap-up .entry-content ul > li:first-child {
  margin-top: 0;
}
.site-content.wrap-up .entry-content table {
	margin: 1em 0;
  height: auto !important;
}
.site-content.wrap-up .entry-content table > tbody > tr > td {
	border: 1px dotted whitesmoke;
	padding: .3rem .5rem;
	vertical-align: top;
}



.page-template-page-pubblicazione main > figure {
	display: flex;
	flex-flow: row nowrap;
	align-items: start;
	width: 90%;
	padding: 0;
}
.page-template-page-pubblicazione main figcaption {
	margin-left: 1rem;
	background-color: #2E3947;
	color: white;
	padding: 1rem;
}
.page-template-page-pubblicazione figcaption a {
	color: white;
}
.page-template-page-pubblicazione main figcaption > ul {
	padding: 0;
	margin: 0;
	list-style: none;
}
.page-template-page-pubblicazione main figcaption > ul > li {
	line-height: normal;
	margin-top: .5rem;
}
.page-template-page-pubblicazione main figcaption > ul > li:first-child {
  margin-top: 0;
}


.single-event main > figure {
	display: flex;
	flex-flow: row nowrap;
	align-items: start;
	width: 90%;
	padding: 0;
}
.single-event  main figcaption {
	margin-left: 1.5rem;
}
.single-event main figcaption h3 {
	margin: 0;
	font-size: 1.0rem;
	font-weight: bold !important;
	display: inline-block;
	min-width: 3rem;
}
.single-event  main figcaption a {

}




article[data-page='soci'] #mappa-soci + h3 + ul {
	list-style: none;
	line-height: normal;
	margin: 0;
	padding: 0;
}
article[data-page='soci'] details {
	
}
article[data-page='soci'] details > summary {
	cursor: pointer;
  color: #04448c;
  display: list-item;
}
article[data-page='soci'] .pdb-list {
	list-style: none;
	padding: 0 !important;
	margin: 1rem 0 !important;
	display: flex;
	flex-flow: row wrap;
	align-items: start;
	justify-content: space-between;
}
article[data-page='soci'] .pdb-list > li {
	display: inline-block;
	width: 49%;
	vertical-align: top;
	flex-basis: 49%;
	margin-top: 0 !important;
	padding: .4rem .8rem;
	background-color: white;
	line-height: normal;
	font-size: .8em;
	margin-bottom: 1rem;
}
article[data-page='soci'] .pdb-field-last_name,
article[data-page='soci'] .pdb-field-latitude,
article[data-page='soci'] .pdb-field-longitude {
  display: none;
}	
article[data-page='soci'] .pdb-field-title {
	width: 30%;
	margin-right: -1.5rem;
	display: inline-block;
}
article[data-page='soci'] .pdb-field-data {
	display: inline-block;
	width: 70%;
	vertical-align: top;
}
article[data-page='soci'] .pdb-field-first_name .pdb-field-data {
	font-weight: bold;
	font-size: 1.2em;
	margin-bottom: .5rem;
}



.sitemap {
	display: flex;
	flex-flow: row wrap;
	align-items: start;
	justify-content: space-around;
	font-size: .9em;
	line-height: 1.6em;
  padding: 2rem !important;
}
.sitemap-column {
	flex: 0 1 22%;
	min-width: 10rem;
}
.sitemap-column h3 {
	color: white;
	font-size: 1.4em;
}
.sitemap-column > ul {
	padding: 0;
	margin: 0;
	list-style: none;
	color: whitesmoke !important;
}
.sitemap-column > ul a {
	color: whitesmoke !important;
}
.sitemap-column > ul ul {
	list-style: none;
	padding: 0 0 0 1rem;
	margin: 0;
	list-style-position: outside;
}
.sitemap-column > ul li {
	margin: .3rem 0;
}
.sitemap-column > ul ul > li {
	margin: 0;
}




.site-content .type-event {
  display: grid;
  grid-template-columns: auto auto;
  grid-gap: 1rem 4%;
  align-items: stretch;
}
.site-content .type-event > header {
  grid-column: 1 / span 2;
}
.site-content .type-event .post-thumbnail {
  width: 25vw;
  max-width: 15rem;
}
.site-content .type-event .event-datetime {
    color: #407fac;
}
.site-content .type-event .event-categories {
  display: none;
}
.site-content .type-event > footer {
  grid-column: 1 / span 2;
}
#icom-menu-main {
 	display: none; 
}
#icom-menu-main.mm-menu_offcanvas.mm-menu_opened {
	display: block;
}
#colophon .credits {
	text-align: center;
}


.page[data-page="cerca-nel-sito"] .search-field {
	max-width: 30rem;
	min-width: 15rem;
	width: 80%;
}

.logo-icom {
  font-size: 0;
}
.logo-icom::before {
  content: "";
  background-image: url(images/logo_icom.png);
  width: 250px;
  height: 50px;
  display: inline-block;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: center;
  margin: 1rem;
  vertical-align: middle;
}


  content: "";
  background-image: url(images/logo_icom.png);
  width: 200px;
  height: 200px;
  display: inline-block;
}
