/* ============================================================
  RESET - http://meyerweb.com/eric/tools/css/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;
}

/* HTML5 display-role reset for older browsers */
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;
}

/* ============================================================
  BOX SIZING & CLEARFIX
============================================================ */
*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

/* ============================================================
  HTML & BODY
============================================================ */
body {
  background-color: #fff;
  color: #787878;
  font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

/* ============================================================
  PRIMARY STRUCTURE
============================================================ */
.wrapper {
	width: 100%;
	margin: 0 auto;
}

main {
	display: block;
	background-color: #fff;
}

.container {
	width: 100%;
	max-width: 960px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ============================================================
  HEADER & SITE TITLE
============================================================ */
/* header */
header {
	height: 190px;
	margin-bottom: 50px;
	width: 100%;
	background: #a6df0d;
	border-bottom: 1px #787878 solid;
	position: fixed;
}
header .imgTestata {
  
}
header .logo {
	margin-top:10px;
	margin-bottom: 20px;
	text-align: center;
}
	header .logo img {
	  display: inline-block;
	  border: 0;
	  text-decoration: none;
	  vertical-align: middle;
	}
header .info-bar {
	position: absolute;
	margin-top: 0px;
	padding: 5px 0;
	background-color: #fff;
	text-align: center;
}
	header .info-bar a.icon 											{
		display: inline-block;
		vertical-align: middle;
		position: relative;
		margin: 0;
		padding: 0;
		width: 30px;
		height: 30px;
		background-image: url("./ottimizzate/icons-dark.png");
		background-image: url("./ottimizzate/icons-dark.svg"), none;
		opacity: 0.3;
	}
	header .info-bar .cmn-tut 		{
		background-position: 0 0;
	}
	header .info-bar .cmn-prev 		{
		background-position: -30px 0;
	}
	header .info-bar .cmn-next 		{
		background-position: -60px 0;
	}
	header .info-bar .cmn-download 		{
		background-position: -90px 0;
	}
	header .info-bar .cmn-archive 		{
		background-position: -120px 0;
	}
	header .info-bar a.icon[data-title]:after 		{
		opacity: 1;
	}
	header .info-bar a.icon[data-title]:hover:after 												{
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 20px;
		content: attr(data-title);
		padding: 5px 10px;
		background-color: #fff;
		color: #000;
		font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
		font-size: 12px;
		white-space: nowrap;
	}

header .primary_nav {
  margin-bottom: 10px;
  text-align: center;
}
	header .primary_nav ul 
	{
	  list-style: none;
	  margin: 0;
	  padding: 0;
	}
	header .primary_nav li 
	{
	  display: inline-block;
	  line-height: 1;
	}
	header .primary_nav a {
	  display: inline-block;
	  padding: 5px;
	  color: #fff;
	  font-family: "Roboto Slab", serif;
	}
	header .primary_nav a:hover {
	  color: #166888;
	}
	header .primary_nav li::after {
	  margin-left: 6px;
	  color: #166888;
	  content: "\2022";
	}
	header .primary_nav li:last-child::after {
	  display: none;
	}
	header .primary_nav li.current-menu-item a,
	header .primary_nav li.current_page_item a,
	header .primary_nav li.current-post-ancestor a,
	header .primary_nav li.current-menu-parent a,
	header .primary_nav li.current-post-parent a {
	  color: #166888;
	}

header .who-bar {
	padding: 5px 0;
	text-align: left;
	padding: 130px 10px 10px 130px;
	margin-bottom: 50px;
}
	header .who-bar h1 {
		font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
		text-align: center;
		font-size: 44px;
		color: #fff;
		display: inline-block;
	}
	header .who-bar h2 {
		text-align: center;
		font-size: 22px;
		display: inline-block;
	}
header .social {
  text-align: center;
}
header .social a {
  display: inline-block;
  vertical-align: middle;
  margin: 0 5px;
  width: 30px;
  height: 30px;
  color: rgba(0, 0, 0, 0);
  font-size: 0;
  text-indent: -9999px;
  background-size: 30px 30px;
  background-image: url("./ottimizzate/social-light.png");
  background-image: url("./ottimizzate/social-light.svg"), none;
  background-size: 180px 30px;
}
	header .social a.fb {
	  background-position: 0 0;
	}
	header .social a.twitter {
	  background-position: -30px 0;
	}
	header .social a.googleplus 		{
  background-position: -60px 0;
}
	header .social a.rss 		{
  background-position: -90px 0;
}
	header .social a.email 		{
  background-position: -120px 0;
}
	header .social a.search 		{
  background-position: -150px 0;
}
	header .social a:hover 		{
  opacity: 0.4;
}

@media all and (min-width: 700px) {
  header .imgTestata {
	position: absolute;
	right: 0;
	top: 0px;
	z-index: 0;
  }
  header .logo {
  	position: absolute;
    margin-top: 50px;
    margin-left: 10px;
    z-index: 10;
  }
	  header .logo img {
	  	position: absolute;
	    display: block;
	    margin: 0;
	    top: 60px;
	  }
  header .info-bar {
    padding: 15px 0;
    /*float: left;*/
    text-align: left;
    z-index: 20;
  }
  header .primary_nav {
  	margin: 17px 200px 0px 150px;
    float: left;
    clear: both;
  }
  header .primary_nav {
    text-align: center;
  }
  header .social {
  	position: absolute;
  	top: 0;
  	right: 0;
    padding: 15px 0;
    /*float: right;*/
    /*width: 100%;*/
    text-align: right;
    z-index: 15;
  }
}

@media all and (max-width: 699px) { 
  header .imgTestata {
	display: none;
  }
  header .info-bar {
  	display: none;
  }
  header .social {
  	float: left;
  	clear: right;
  }
  header .logo {
  	float: left;
  	clear: both;
  }
  header .primary_nav {
    text-align: right;
  }
  header .who-bar {
  	position: absolute;
  	padding: 30px 10px 10px 20px;
	margin-bottom: 50px;
  }
}

/* site title */
.site-title {
  padding: 5px 0;
  background-color: #818181;
  text-align: center;
}
.site-title h1 {
  color: #fff;
}

/* ============================================================
  FOOTER
============================================================ */
footer {
  padding: 20px 0;
  background: #818181;
}
footer .asides {
  margin-bottom: 20px;
}
footer aside {
  margin-bottom: 10px;
}
footer nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}
footer nav li {
  display: inline-block;
}
footer nav a {
  display: block;
  margin: 0 5px;
  color: #fff;
}
	footer nav a:hover {
	  display: block;
	  margin: 0 5px;
	  color: #a6df0d;
	}
footer .logo {
  text-align: center;
}
footer .logo img {
  display: inline-block;
  vertical-align: middle;
}
footer .copyright {
  text-align: center;
}
footer .copyright small {
  color: #fff;
  font-size: 12px;
}
footer .copyright a {
  color: #818181;
}

@media all and (min-width: 600px) {
  footer aside {
    margin-bottom: 0;
    float: left;
    width: 33.3333%;
  }
  footer nav ul {
    text-align: left;
  }
  footer nav li {
    display: block;
  }
  footer nav a {
    display: inline-block;
    margin: 0;
  }
  footer .logo {
    text-align: right;
  }
}
/* ============================================================
  FUSION ADS
============================================================ */
#fusionads {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 20;
  padding: 20px;
  background: rgba(255, 255, 255, 0.95);
  font-size: 12px;
  line-height: 1.2;
  -webkit-box-shadow: -2px 2px 4px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: -2px 2px 4px rgba(0, 0, 0, 0.1);
  box-shadow: -2px 2px 4px rgba(0, 0, 0, 0.1);
}

#fusionads .fusion-wrap {
  display: block;
  margin: 0 auto 10px auto;
  width: 130px;
}

#fusionads a.fusion-text {
  display: block;
  color: #787878;
}

#fusionads a.fusion-img {
  display: block;
  margin-bottom: 10px;
  width: 130px;
  height: 100px;
  background-color: #fff;
}

#fusionads a.fusion-img img {
  display: block;
  margin: 0 0 10px 0;
}

#fusionads a.fusion-poweredby {
  color: #b4b4b4;
}
#fusionads a.fusion-poweredby:hover {
  color: #818181;
}

#close-fusionad {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 30;
  width: 20px;
  height: 20px;
  background-color: #282828;
  text-align: center;
  line-height: 20px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

/* ============================================================
  TEXT LEVEL SEMANTICS
============================================================ */
a {
  text-decoration: none;
  color: #b4b4b4;
}

a:hover {
  color: #818181;
}

span.h4 {
	display: inline-block;
	margin: 5px 0 0 0;
	padding: 0;
	font-size: 1.2em;
	font-weight: 600;
}

ul.ulRisorse {
	font-size:1.2em;
	list-style: circle;
	margin: 0;
	padding: 0;
}
	ul.ulRisorse li {
		display: inline-block;
		line-height: 1;
	}
	ul.ulRisorse a {
		display: inline-block;
		padding: 5px;
		font-family: "Roboto Slab", serif;
	}
		ul.ulRisorse a:hover {
			color: #166888;
		}
	ul.ulRisorse li::before {
		margin-left: 6px;
		color: #166888;
		content: "\2022";
	}

div.thumb_l, div.thumb_r {
	float: left;
	/*background-color: #eee;*/
	font-size: 20px;
	padding: 0px;
	margin: 0 30px 15px 0;
}

	div.thumb_l img, div.thumb_r img {
		border: 1px solid #ccc;
	}

	div.thumb_r {
		float: right;
		margin: 0 0 55px 30px;
	}
	div.thumbCaption {
		color: #999;
		font-weight: 600;
		margin-top: 5px;
	}
