@import url(https://fonts.googleapis.com/css?family=Oxygen:400,300,700);

/* Reset
================================================== */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

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

body {
	line-height: 1;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}

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


/* Body & Main
================================================== */
body {
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
	font: 14px/1.6 'Oxygen',sans-serif;
	color: #606060;
}

/* Links */
a {
	color: #D21929;

}
a:visited {
	color: #D21929;
}
a:hover,
a:focus,
a:active {
	color:#000;
	text-decoration: none;
}

/*set max img width*/
img {
	max-width: 100%;
}


/* Commons
================================================== */

/*clear floats*/
.remove-margin {
	margin-right: 0 !important;
}

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

.clear {
	clear: both;
}

/*blockquote*/
blockquote {
	position: relative;
	margin: 30px 20px;
	padding-left: 25px;
	font-style: italic;
	font-weight: bold;
	color: #000;
	quotes: "\201C""\201D""\2018""\2019";
}

blockquote:before {
	color: #000;
	content: open-quote;
	font-size: 3em;
	line-height: .1em;
	position: absolute;
	top: 20px;
	left: -10px;
}

blockquote p:last-child {
	margin: 0;
}


/*preformatted text*/
pre {
	background: #fff url("images/pre-bg.png") repeat;
	margin: 40px 0px;
	padding: 25px 20px;
	line-height: 25px;
	border: 1px solid #ddd;
	white-space: pre-wrap;
	white-space: -moz-pre-wrap;
	white-space: -pre-wrap;
	white-space: -o-pre-wrap;
	word-wrap: break-word;
}

ul, ol {
	margin: 0 0 1em 1.5em;
}
ul {
	list-style: disc;
}
ol {
	list-style-type: decimal;
}
ol ol {
	list-style: upper-alpha;
}
ol ol ol {
	list-style: lower-roman;
}
ol ol ol ol {
	list-style: lower-alpha;
}
ul ul, ol ol, ul ol, ol ul {
	margin-bottom: 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}
th {
	font-weight: bold;
	padding:10px 10px;
}

tr{
	padding:5px 5px;
}

td{
	padding:5px 10px;
}

#primary {
	padding-right: 55px;
}

#primary table {
	margin: 0 0 1.5em;
	width: 100%;
	border:1px solid #ddd;
	border-right:none;
	background:#fff;
}

#primary th {
	font-weight: bold;
	padding:10px 10px;
	background:#555;
	color:#fff;
}

#primary tr{
	padding:5px 5px;
}

#primary td{
	padding:5px 10px;
	border-top:1px solid #ddd;
	border-right:1px solid #ddd;
}

/* Typography
================================================== */

/* Headings */
h1,h2,h3,h4,h5,h6 {
	clear: both;
	line-height: 1.3;
}

h1 { font-size: 32px; }
h2 {
	font-size: 26px;
}
h3 { font-size: 20px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

p {
	margin: 0 0 20px;
}

p img {
	margin: 0;
}

em {
	font-style: italic;
}

strong {
	font-weight: bold;
}

small {
	font-size: 80%;
}

hr {
	border: solid rgba(0, 0, 0, 0.2);
	border-width: 1px 0 0;
	clear: both;
	margin: 10px 0 30px;
	height: 0;
}

p a, p a:visited {
	line-height: inherit;
}

a:link {
	text-decoration: none;
}

a:focus {
	outline: 0;
}

a {
	outline: 0;
}

p a, p a:visited {
	line-height: inherit;
}

a:focus {
	outline: 0;
}


/* Head */

#masthead{
	position: relative;
	margin-bottom: 10px;
}
.site-branding{
	margin-bottom: 10px;
}
#site-logo {
	float: left;
	padding: 15px 15px 0 0;
	width: 110px;
}
h1#site-title{
	text-transform: uppercase;
	font-weight: 800;
	margin-top: 18px;
	clear: none;
}
h1#site-title a:link, h1#site-title a:visited{
	color: #000;
}

/* Menu */

.menutoggle{
	width: 36px;
	height: 36px;
	color: #777;
	border: 1px solid #ddd;
	border-radius: 3px;
	line-height: 36px;
	text-align: center;
	background: #fff;
	position: absolute;
	right: 20px;
	top:25px;
	font-size: 20px;
	display:none;
}

#main-menu {
	padding:0px 0px;
	margin: 22px 0px 15px;
	height:45px;
	border-bottom: none;
	float: right;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

#main-menu ul {
	width: auto;
	float: left;
	list-style: none;
	margin: 0;
	padding: 0 0px;
}

#main-menu li {
	float: left;
	list-style: none;
	margin: 0;
	padding: 0;
	color: #fff;
	font-weight:400;
}

#main-menu li a {
	color: #777;
	display: block;
	margin: 0;
	padding: 0px 10px;
	text-decoration: none;
	position: relative;
}
.language-switcher {
	border-bottom: 1px solid gainsboro;
	padding-bottom: 5px !important;
	margin-bottom: 5px !important;
}

#main-menu li a:hover {
	color: #ed564b;
}
#main-menu li a:active,
#main-menu a.active,
#main-menu > ul > li > a.active-trail,
#main-menu .is-active {
	color: #D21929;
}

#main-menu li a.sf-with-ul {
	padding-right: 10px;
}

#main-menu li ul li a, #main-menu li ul li a:link, #main-menu li ul li a:visited,
#main-menu li ul li ul li a, #main-menu li ul li ul li a:link, #main-menu li ul li ul li a:visited,
#main-menu li ul li ul li ul li a, #main-menu li ul li ul li ul li a:link, #main-menu li ul li ul li ul li a:visited {
	color:#777;
	width: 148px;
	margin: 0;
	padding: 10px 10px;
	border-top:1px solid #ddd;
	position: relative;
	font-weight:400;
}

#main-menu ul li ul li:first-child a,#main-menu ul li ul li ul li:first-child a,#main-menu ul li ul li ul li ul li:first-child a	{
	border-top:none;
}

#main-menu li ul li a:hover ,#main-menu li ul li ul li a:hover ,#main-menu li ul li ul li ul li a:hover {
	color: #ed564b;
}

#main-menu li ul {
	font-size: 12px;
	z-index: 9999;
	position: absolute;
	left: -999em;
	height: auto;
	width: 160px;
	margin: 0px 0px 0px 0px;
	padding: 5px 5px;
	background:#efefef;
}

#main-menu li ul a {
	width: 150px;
}

#main-menu li ul a:hover, #main-menu li ul a:active {
}

#main-menu li ul ul {
	margin: -44px 0 0 160px;
}

#main-menu li:hover ul ul, #main-menu li:hover ul ul ul, #main-menu li.sfHover ul ul, #main-menu li.sfHover ul ul ul {
	left: -999em;
}

#main-menu li:hover ul, #main-menu li li:hover ul, #main-menu li li li:hover ul, #main-menu li.sfHover ul, #main-menu li li.sfHover ul, #main-menu li li li.sfHover ul {
	left: auto;
}

#main-menu li:hover, #main-menu li.sfHover {
	position: static;
}

#main-menu > ul > li > a {
	padding : 10px;
}

/* Layout */

#primary, #sidebar{
	padding-top: 20px;
	padding-bottom: 20px;
}

#main-content {
	padding-top: 15px;
}

/* Slider */

#slidebox{
	max-height: 550px;
	position: relative;
	background: #000;
}

.flex-overlay {
	/*background: url(../images/overlay.png);*/
	display: block;
	background: rgba(0,0,0,0.5);
	position: absolute;;
	left: 0; top: 0; right: 0; bottom: 0;
}

img.grayscale {
	filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 10+, Firefox on Android */
	filter: gray; /* IE6-9 */
	-webkit-filter: grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
}

.flex-caption{
	width: 800px;
	position: absolute;
	top:28%;
	left: 50%;
	margin-left: -400px;
	text-align: center;
	z-index: 120;
	color: #fff;
}

.flex-caption h2{
	text-transform: uppercase;
	font-size: 36px;
	color: #fff;
}

.flex-caption h2 a:link, .flex-caption h2 a:visited{
	color: #fff;
}

.flex-caption p{
	font-size: 16px;
}

a.frmore{
	background: rgba(255,255,255,0.2);
	display: block;
	text-transform: uppercase;
	color: #fff;
	width: 150px;
	border: 1px solid #fff;
	padding: 5px 0px;
	margin: 10px auto;
	font-weight: bold;
	color: #fff!important;
}

#preface-area {
	background: none repeat scroll 0 0 #ED564B;
	border-bottom: 5px solid #F96B61;
	border-top: 5px solid #F96B61;
	padding: 40px 0 20px;
}

.preface-block{
	color: #fff;
	text-align: center;
}


.preface-block .block > h2{
	font-size: 24px;
	font-weight: bold;
}

#header-block, #footer-block {
	padding: 20px 0 0;
}


#bottom {
	padding: 20px 0px 20px 0px;
	background: gainsboro;
}

.field_immagine {
	text-align: left;
}

.footer-block{
	color: #aaa;
	margin: 0 auto;
}

.footer-block .block > h2{
	font-size: 16px;
	margin-bottom: 10px;
	padding: 10px 0px;
	color:#fff;
	text-transform: uppercase;
}

/* Footer */

.site-footer{
	padding: 8px 0px;
	background: #292929;
	font-size: 12px;
}

.fcred{
	padding: 10px 0px;
	color: #bbb;
}

.fcred a:link, .fcred a:visited{
	color:#fff;
}

/* =Content
----------------------------------------------- */

.node h2.title a, h1.page-title {
	color: #000000;
	font-size: 36px;
	font-weight: bold;
	margin-bottom: 20px;
}

#content .node-teaser {
	padding-bottom:30px;
	border-bottom:1px solid #DDDDDD;
	margin-bottom: 15px;
}

.node-teaser img {
	border: 1px solid #CCCCCC;
	padding: 6px;
	height: auto;
	max-width: 97.4%;
	margin: 0.5em 1em 0.5em 0;
	float: left;
}
.page-node #content-wrap img {
	border: 1px solid #CCCCCC;
	padding: 6px;
	height: auto;
	max-width: 97.4%;
	margin: 0.5em 1em 0.5em 0;
}

.region-content-top {
	margin-bottom: 20px;
}

#sidebar .block {
	margin-bottom: 30px;
}

#sidebar .block > h2 {
	font-size: 20px;
	color:#000;
	margin-bottom: 15px;
	text-transform: uppercase;
	font-weight: bold;
}

.preface-block .block, .region-footer .block, .region-header .block, .region-content-top .block {
	margin-bottom: 30px;
}

.footer-block .block input[type="search"] {
	width: 100%;
	max-width: 250px;
}

.footer-block #search-block-form div {
	display: inline;
}

.footer-block #search-block-form .form-actions {
	margin-left: 10px;
}

/* -------------- Form Elements	 ------------- */

fieldset { background: #ffffff; border: 1px solid #cccccc; margin-top: 10px; margin-bottom: 32px;
padding: 0 0 10px; position: relative; top: 12px; /* Offsets the negative margin of legends */
-khtml-border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; }

.fieldset-wrapper { margin-top: 25px; }

.node-form .vertical-tabs .fieldset-wrapper { margin-top: 0; }

.filter-wrapper { top: 0; padding: 1em 0 0.2em;
-khtml-border-radius-topright: 0; -khtml-border-radius-topleft: 0; -moz-border-radius-topright: 0; -moz-border-radius-topleft: 0;
-webkit-border-top-left-radius: 0; -webkit-border-top-right-radius: 0; border-top-left-radius: 0; border-top-right-radius: 0; }

.filter-help a { font-size: 0.857em; padding: 2px 20px 0; }

.filter-wrapper .form-item label { margin-right: 10px; }

.filter-wrapper .form-item { padding: 0 0 0.5em 0.5em; }

.filter-guidelines { padding: 0 1.5em 0 0.5em; }

fieldset.collapsed { background: transparent; -khtml-border-radius: 0; -moz-border-radius: 0;	 -webkit-border-radius: 0; border-radius: 0; }

fieldset legend { background: #dbdbdb; border: 1px solid #ccc; border-bottom: none; display: block; height: 2em;
left: -1px; line-height: 2; padding: 0; position: absolute; text-indent: 10px; text-shadow: 0 1px 0 #fff; top: -12px; width: 100%;
-khtml-border-radius-topleft: 4px; -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px;
-khtml-border-radius-topright: 4px; -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; }

fieldset.collapsed legend { -khtml-border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; }

fieldset .fieldset-wrapper { padding: 0 10px; }

fieldset .fieldset-description { margin-top: 5px; margin-bottom: 1em; line-height: 1.4; font-style: italic; }

input { margin: 2px 0; padding: 4px; }

input, textarea {	 font-size: 0.929em; }

textarea { line-height: 1.5; }

textarea.form-textarea, select.form-select { padding: 4px; }

input.form-text, textarea.form-textarea, select.form-select { border: 1px solid #ccc; }

.password-suggestions ul li { margin-left: 1.2em; }

.form-item { margin-bottom: 1em; margin-top: 2px; }

.form-item label { font-size: 0.929em; }

.form-type-radio label, .form-type-checkbox label { margin-left: 4px; }

.form-type-radio .description, .form-type-checkbox .description { margin-left: 2px; }

.form-actions { padding-top: 10px; }

/* Contact Form */

.contact-form input[type=text],
.contact-form input[type=email],
.contact-form textarea {
	width: 100%;
	display: block;
}
.contact-form .resizable-textarea .grippie {	width: 100%;
-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
-khtml-border-bottom-left-radius: 4px; -khtml-border-bottom-right-radius: 4px; -moz-border-radius-bottomleft: 4px;
-moz-border-radius-bottomright: 4px; -webkit-border-bottom-left-radius: 4px; -webkit-border-bottom-right-radius: 4px;
border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; }

/* Comment form */

.comment-form label { float: left; font-size: 0.929em; }

.comment-form input, .comment-form .form-select { margin: 0;
-khtml-border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; }

.comment-form .form-type-textarea label { float: none; }

.comment-form .form-item,
.comment-form .form-radios,
.comment-form .form-type-checkbox,
.comment-form .form-select { margin-bottom: 10px; overflow: hidden; }

.comment-form .form-type-checkbox,
.comment-form .form-radios { margin-left: 120px; }

.comment-form .form-type-checkbox label,
.comment-form .form-radios label { float: none; margin-top: 0; }

.comment-form input.form-file { width: auto; }

.comment-form .form-text { display: block; margin: 0; width: 100%;
-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

.comment-form .form-item .description { font-size: 0.786em; line-height: 1.2; margin-left: 120px; }

#content h2.comment-form { margin-bottom: 0.5em; }

.comment-form .form-textarea { -khtml-border-radius-topleft: 4px; -khtml-border-radius-topright: 4px;
-moz-border-radius-topleft: 4px; -moz-border-radius-topright: 4px;
-webkit-border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px;
border-top-left-radius: 4px; border-top-right-radius: 4px; }

.comment-form fieldset.filter-wrapper .fieldset-wrapper,
.comment-form .text-format-wrapper .form-item { margin-top: 0; margin-bottom: 0; }

.filter-wrapper label { width: auto; float: none; }

.filter-wrapper .form-select { min-width: 120px; }

.comment-form fieldset.filter-wrapper .tips { font-size: 0.786em; }

#comment-body-add-more-wrapper .form-type-textarea label { margin-bottom: 0.4em; }

#edit-actions input { margin-right: 0.6em; }

/* Other Overrides */

div.password-suggestions { border: 0; }

.ui-widget-overlay { background: #222222; opacity: 0.7; }

div.vertical-tabs .vertical-tabs-panes fieldset.vertical-tabs-pane { padding: 1em; }

#forum .name { font-size: 1.083em; }

#forum .description { font-size: 1em; }

/* Form Buttons */

button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
/* IE10 */
background-image: -ms-linear-gradient(top, #FFFFFF 0%, #E3E3E3 100%);
/* Mozilla Firefox */
background-image: -moz-linear-gradient(top, #FFFFFF 0%, #E3E3E3 100%);
/* Opera */
background-image: -o-linear-gradient(top, #FFFFFF 0%, #E3E3E3 100%);
/* Webkit (Safari/Chrome 10) */
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #FFFFFF), color-stop(1, #E3E3E3));
/* Webkit (Chrome 11+) */
background-image: -webkit-linear-gradient(top, #FFFFFF 0%, #E3E3E3 100%);
/* Proposed W3C Markup */
background-image: linear-gradient(top, #FFFFFF 0%, #E3E3E3 100%);
/* IE6-9 */
filter:	 progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFF', endColorstr='#E3E3E3');

border: 1px solid #dbdbdb;
-moz-border-radius: 6px; -webkit-border-radius: 6px; -o-border-radius: 6px; -ms-border-radius: 6px; -khtml-border-radius: 6px; border-radius: 6px;
-moz-box-shadow: inset 0 1px 0 0 white; -webkit-box-shadow: inset 0 1px 0 0 white; -o-box-shadow: inset 0 1px 0 0 white; box-shadow: inset 0 1px 0 0 white;
color: #333333; text-shadow: 0 1px 0 white; position: relative; font-weight:bold; padding: 4px .8em 5px .8em; font-size: 13px; }

button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover {
/* IE10 */
background-image: -ms-linear-gradient(top, #DBDBDB 0%, #F2F2F2 100%);
/* Mozilla Firefox */
background-image: -moz-linear-gradient(top, #DBDBDB 0%, #F2F2F2 100%);
/* Opera */
background-image: -o-linear-gradient(top, #DBDBDB 0%, #F2F2F2 100%);
/* Webkit (Safari/Chrome 10) */
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #DBDBDB), color-stop(1, #F2F2F2));
/* Webkit (Chrome 11+) */
background-image: -webkit-linear-gradient(top, #DBDBDB 0%, #F2F2F2 100%);
/* Proposed W3C Markup */
background-image: linear-gradient(top, #DBDBDB 0%, #F2F2F2 100%);
/* IE6-9 */
filter:	 progid:DXImageTransform.Microsoft.gradient(startColorstr='#DBDBDB', endColorstr='#F2F2F2');

-moz-border-radius: 6px; -webkit-border-radius: 6px; -o-border-radius: 6px; -ms-border-radius: 6px; -khtml-border-radius: 6px; border-radius: 6px;
-moz-box-shadow: inset 0 1px 0 0 white;
-webkit-box-shadow: inset 0 1px 0 0 white;
-o-box-shadow: inset 0 1px 0 0 white;
box-shadow: inset 0 1px 0 0 white;
cursor: pointer; }

button.full-width,
input[type="submit"].full-width,
input[type="reset"].full-width,
input[type="button"].full-width {
width: 100%; padding-left: 0 !important; padding-right: 0 !important; text-align: center; }


#block-search-form { padding-bottom: 7px; }

#block-search-form .content { margin-top: 0; }

#search-form .form-item-keys label { display: block; }


ol.search-results { padding-left: 0; }

.search-results li { border-bottom: 1px solid #d3d7d9; padding-bottom: 0.4285em; margin-bottom: 0.5em; }

.search-results li:last-child { border-bottom: none; padding-bottom: none; margin-bottom: 1em; }

.search-results .search-snippet-info { padding-left: 0; }


.meta {
	margin-bottom: 10px;
}

.meta a {
	color: #999;
}

.meta a:hover {
	color: #000;
}

.meta li {
	display: inline;
	margin-right: 5px;
	margin-right: 10px;
}

.meta strong{
	font-weight: 600;
	color: #111;
}

.meta li:last-child {
	margin-right: 0;
	padding-right: 0;
	background: none;
}

.links li a {
	background-color: #E7E5E3;
	color: #100100;
	padding: 4px 10px;
	border-radius: 4px;
	text-shadow: 1px 1px #fff;
	font-weight: normal;
	display: block;
}

.links li a:hover {
	background-color: #D7D5D3;
	color: #100101;
}


/*-------------------------------------------*
/* Fix CKEditor style
/*-------------------------------------------*/
#content table.cke_editor {
	background: transparent;
	border: 0;
}
#content table.cke_editor td {
	background: transparent;
	padding: 0;
	border: 0;
}

/*-------------------------------------------*
/* Poll, Buttons, Form
/*-------------------------------------------*/
.poll .vote-form .choices .title {
	font-size: 14px;
	font-weight: normal;
	line-height: 2;
}

.poll .vote-form .choices {
	margin: 0;
}

.form-item label {
	font-size: 13px;
	font-weight: bold;
}

/*-------------------------------------------*
/* Menus and item lists
/*-------------------------------------------*/
.item-list ul {
	margin: 0;
	padding: 0 0 0 1.5385em;
}

.item-list ul li {
	margin: 0;
	padding: 0;
}

ul.menu li {
	margin: 0;
	padding: 0;
}

ul.inline {
	clear: both;
}

ul.inline li {
	display: inline;
	list-style: none;
	margin: 0 2px;
	padding: 0;
}

/*-------------------------------------------*
/* Admin Tabs
/*-------------------------------------------*/
.tabs-wrapper {
	border-bottom: 1px solid #b7b7b7;
	margin: 0 0 5px 0;
}

ul.primary li {
	display: inline;
}

ul.primary {
	border: none;
	margin: 0;
	padding: 0;
}

ul.primary li a {
	background: none;
	border: none;
	display: block;
	float: left;
	line-height: 1.5385em;
	margin: 0;
	padding: 0 1em;
	border-radius: 4px 4px 0 0;
	margin-right: 5px;
}

ul.primary li a:hover, ul.primary li a.is-active {
	background: #666;
	border: none;
	color: #fff;
}

ul.primary li a:hover {
	background: #888;
	text-decoration: none;
}

ul.secondary {
	background: #666;
	border-bottom: none;
	clear: both;
	margin: 0;
	padding: 0;
}

ul.secondary li {
	display: inline;
	border-right: none;
}

ul.secondary li a, ul.secondary li a:link {
	border: none;
	color: #ccc;
	display: block;
	float: left;
	line-height: 1.5385em;
	padding: 0 1em;
}

ul.secondary li a:hover, ul.secondary li a.is-active {
	background: #888;
	color: #fff;
	text-decoration: none;
}

ul.secondary a.active {
	border-bottom: none;
}

ul.inline, ul.links.inline {
	margin-left: 0;
}

/*-------------------------------------------*
/* Tabs and Tags
/*-------------------------------------------*/
.field-name-field-tags {
	margin: 0 0 10px 0;
}

.field-name-field-tags a{
	background: #ed564b;
	margin-right: 5px;
	margin-bottom: 5px;
	border-radius: 2px;
	color: #fff;
	padding: 2px 6px;
}

.field-name-field-tags a:hover{
	background: #111;
	color: #fff;
}

.field-name-field-tags div {
	display: inline;
}


/*-------------------------------------------*
/* Profile
/*-------------------------------------------*/
.profile {
	margin: 1.5385em 0;
}

.profile dd {
	margin-bottom: 1.5385em;
}

.profile h3 {
	border: none;
}

.profile dt {
	margin-bottom: 0;
}

.password-parent {
	width: 36em;
}

/* Comments */

.comment h2.title { margin-bottom: 1em; }

.comment div.user-picture img { margin-left: 0; }

.comment { margin-bottom: 20px; display: table; vertical-align: top; }

.comment .attribution { display: table-cell; padding: 0 35px 0 0; vertical-align: top; overflow: hidden; }

.comment .attribution img { margin: 0; border: 1px solid #d3d7d9; }

.comment .attribution .username { white-space: nowrap; }

.comment .comment-submitted p { margin: 4px 0; font-size: 1.071em; line-height: 1.2; }

.comment .comment-submitted .comment-time { font-size: 0.786em; }

.comment .comment-submitted .comment-permalink { font-size: 0.786em; text-transform: lowercase; }

.comment .content { font-size: 0.929em; line-height: 1.6; }

.comment .comment-arrow { background: url(../images/comment-arrow.gif) no-repeat 0 center transparent;
border-left: 1px solid; border-right: 1px solid; height: 40px; margin-left: -36px; margin-top: 15px; position: absolute; width: 22px; }

.comment .comment-text { padding: 0 25px 10px 35px; display: table-cell; vertical-align: top; position: relative; width: 100%; border-left: 1px solid #d3d7d9; }

.comment .indented { margin-left: 40px; }

.comment-unpublished { margin-right: 5px; padding: 5px 2px 5px 5px; }

.comment .comment-text .comment-arrow { border-left: 1px solid #ffffff; border-right: 1px solid #ffffff; }

.comments .indented { margin-left: 40px; }

.comments img { max-width: none; }

/*-------------------------------------------*
/* Forum
/*-------------------------------------------*/
.field-name-taxonomy-forums div {
	display: inline;
	margin-top: 4px;
}

.field-name-taxonomy-forums .field-items {
}

#forum .title {
	font-size: 16px;
}

#forum .submitted {
	font-size: 12px;
	font-family: Lucida Grande, Verdana, Arial, sans-serif;
	background: transparent;
	padding: 0;
}

#forum .container {
	background: #a1a1a1;
	color: #fff;
}

#forum .container a {
	color: #000;
	font-weight: bold;
}

#forum div.indent {
	margin-left: 2px;
}

.forum-starter-picture {
	float: left;
	padding: 4px;
	border: 1px solid #d9d9d9;
	margin: 5px 7px 5px 0;
}

#forum th {
	background: #434343;
	text-shadow: none;
	color: #fff;
}

#forum th a {
v	color: #fff;
}

#forum td.forum .icon, #forum .icon div {
	background: url(images/no-new-posts.png) no-repeat;
	width: 35px;
	height: 35px;
}

#forum .name a{
	font-size: 16px;
}

/*-------------------------------------------*
/* Breadcrumbs
/*-------------------------------------------*/
.breadcrumb {
	margin-bottom: 0;
}
.breadcrumb>li+li:before {
		content: "»";
}

/* FLEX */
#page {
	display: flex;
	flex-direction: column;
	height: 100%;
	position: relative;
	top: 0;
	bottom: 0;
	width: 100%;
}

html {
	background: #292929;
}

body {
	background: white;
}

#main-content {
	flex-grow: 2;
}

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

#footer-block {
	padding-bottom: 30px;
	border-top: 1px solid gainsboro;
}

#search-block-form div {
	display: inline-block;
}
#bottom .row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}
.footer-block {
	flex-shrink: 0;
	flex-grow: 0;
	box-sizing: content-box;
}
#twitter-block {
	height: 460px;
	overflow-y: scroll;
}

.fb-page,
.fb-page span,
.fb-page span iframe[style] {
	width: 100% !important;
}

#block-partners-block .rows-container {
	display: flex;
	justify-content: space-around;
	align-items: center;
	flex-wrap: wrap;
}

.partners-block-row {
	margin: 0 20px;
}

.footer-block h2 {
	text-transform: uppercase;
	font-size: 20px;
	color: black;
}

#twitter-block {
	border: 1px solid #e9ebee;
}

.node-readmore {
	text-align: center;
	float: right;
	display: block !important;
}

body.maintenance-page {
	display: flex;
	justify-content: center;
	align-items: center;
}

#onda {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 30px;
	z-index: 20;
	background: url("../images/onda.svg") repeat-x;
	background-size: 518px 68px;
	background-position-y: -43px;
}

#onda.red {
	background-image: url("../images/onda_red.svg");
	width: 100%;
	height: 40px;
	position: relative;
	display: table;
	margin-bottom: 20px;
	background-position-y: -40px;
}

#sidebar .block:not(:last-child) {
	margin-bottom: 50px;
}

.content-type-article .page-title {
	margin-bottom: 0;
	border-bottom: 1px solid #ddd;
}

.content-type-article .article-image {
	background: #eee;
	display: flex;
	justify-content: center;
	margin-bottom: 20px;
}

.content-type-article .creation-date {
	margin-bottom: 20px;
}

.article-teaser .article-image {
	margin-right: 20px;
	flex-shrink: 0;
}

.article-teaser h2 {
	border-bottom: 1px solid #ddd;
}

.article-teaser {
	display: flex;
}

.views-row:not(:last-child) .article-teaser {
	padding-bottom: 15px;
	margin-bottom: 20px;
	border-bottom: 1px solid #ddd;
}

.block-news-item-row {
	border-bottom: 1px solid #ddd;
}

#sidebar h2 {
	margin-bottom: 10px;
}

.lang-it .node-created {
	text-transform: lowercase;
}

.field_allegati {
	margin-top: 10px;
	border-top: 1px dashed #ddd;
}

.field_allegati-label {
	margin-top: 10px;
	margin-bottom: 5px;
	text-transform: uppercase;
}

.messages--status {
	margin-top: 20px;
}

#mobile-menu-opener {
	height: 50px;
	width: 100%;
	background: #D51D21;
	color: white;
	line-height: 35px;
	font-size: 25px;
	display: none;
	align-items: center;
	justify-content: space-between;
	padding: 0 25px;
}

#mobile-menu-opener i.fa-globe {
	line-height: 35px;
	margin-right: 5px;
}

#mobile-menu-opener i.fa-bars {
	padding-right: 40px;
	cursor: pointer;
}

#mobile-menu-opener .language-switcher {
	display: none;
	flex-direction: row;
	border: none;
	margin: 0 0 0 10px;
	padding: 0;
}

#mobile-menu-opener .language-switcher li {
	list-style: none;
	list-style-type: none;
	display: inline-block;
}

#mobile-menu-opener .language-switcher li:not(:last-child) {
	margin-right: 10px;
}

#mobile-menu-opener .language-switcher li a {
	color: #ffacac;
	text-transform: uppercase;
	text-decoration: none;
	font-size: 15px;
}

#mobile-menu-opener .language-switcher li a.is-active {
	color: white;
	cursor: default;
}

#mobile-language-sel {
	line-height: 10px;
	display: flex;
	align-items: center;
}

#bottom .col-sm-6 {
	width: 47%;
}

#filtro-notizie {
	margin-bottom: 20px;
	font-size: 1.3rem;
	display: flex;
	align-items: center;
	border-bottom: 5px solid #bbb;
}

#filtro-notizie #filtro-titolo {
	display: inline;
	font-weight: bold;
	margin-right: 10px;
}

#filtro-notizie a {
	display: flex;
	align-items: center;
	padding: 8px 15px 4px 15px;
}

#filtro-notizie a.current {
	cursor: default;
	color: black;
	background: #bbb;
}
#filtro-notizie a:not(:last-child) {
	margin-right: 10px;
}

#filtro-notizie .icon {
	display: inline-block;
	width: 35px;
	height: 35px;
	margin-right: 10px;
}

#filtro-notizie .filter-1 .icon {
	background: url("../images/icona-progetto.svg") no-repeat center center;
}

#filtro-notizie .filter-2 .icon {
	background: url("../images/icona-attualita.svg") no-repeat center center;
}

article.article-teaser .field_categorie {
	display: inline-block;
	margin-right: 5px;
}

.full-article-title.term-1 {
	color: #D21929;
}

.full-article-title.term-2 {
	color: #23579E;
}
.article-wrapper {
	width: 100%;
}
.embedded-entity h2 {
	display: none;
}

#mc_embed_signup .button {
	background-image: none;
	margin-left: 5px !important;
}

#mc_embed_signup {
	font:14px Helvetica,Arial,sans-serif;
}
#mc_embed_signup form #mc_embed_signup_scroll {
	display: flex;
}

.sidebar-button {
	display: block;
	background: #63C7EE;
	padding: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	text-transform: uppercase;
	border-radius: 10px;
	color: white !important;
	font-weight: 700;
}

.sidebar-button:hover {
	background-color: #27559F;
}

.sidebar-button:not(:first-of-type) {
	margin-top: 10px;
}

.sidebar-button.monitoring {
	background-color: #448FB8;
}

.sidebar-button.monitoring:hover {
	background-color: #27559F;
}

.field-label {
	display: inline;
	font-weight: bold;
}

.network-view .views-field-field-image {
	margin-bottom: 20px;
	margin-top: 20px;
}

.network-view .views-field-body {
	margin-top: 10px;
	margin-bottom: 60px;
}

.network-view .views-label
{
	font-weight: 900;
}

.network-view .views-field-field-titolo-del-progetto .field-content,
.network-view .views-field-field-canale-di-finanziamento .field-content,
.network-view .views-field-field-web .field-content
{
	display: inline;
	margin-left: 10px;
}

