
/*
 * sfondo e font pagina
 */

html {
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#090909+0,252525+100 */
  background: #090909; /* Old browsers */
  background: -moz-linear-gradient(left, #090909 0%, #252525 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, right top, color-stop(0%,#090909), color-stop(100%,#252525)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(left, #090909 0%,#252525 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(left, #090909 0%,#252525 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(left, #090909 0%,#252525 100%); /* IE10+ */
  background: linear-gradient(to right, #090909 0%,#252525 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#090909', endColorstr='#252525',GradientType=1 ); /* IE6-9 */
}

body {
  font-family: 'Ubuntu', sans-serif;
}



/*
 * collegamenti
 */

a,
a:link,
a:visited {
  color: #88B300;
  font-weight: bold;
}




/*
 * layout
 */

.container {
  margin: 0 auto;
}

.container, header, #header-content, nav, section.content, footer {
  position: relative;
}

.desktop .container {
  width: 70%;
  min-width: 660px;
  max-width: 900px;
}

.tablet .container {
  width: 440px;
}

.mobile .container {
  width: 98%;
  min-width: 320px;
}




/*
 * sfondo intestazione
 */

header {
  background-repeat: no-repeat;
  width: 100%;
}

.desktop header {
  background-image: url("../img/bg-desktop.png");
  height: 200px;
}

.tablet header {
  background-image: url("../img/bg-tablet.png");
  height: 150px;
}




/*
 * testo intestazione
 */

header h1, 
header p {
  color: white;
}

header h1 {
  margin: 0;
  padding-top: 0;
  padding-bottom: 0.2em;
  font-size: 1.6em;
}

header p {
  margin: 0;
  font-size: 0.9em;
}


.desktop #header-content {
  padding-left: 150px;
  padding-top: 35px;
}

.desktop header h1,
.desktop header p {
}

.tablet #header-content {
  padding-left: 120px;
  padding-top: 1em;
}

.tablet header h1,
.tablet header p {
}

.mobile #header-content {
}

.mobile header h1, 
.mobile header p {
  
}



/*
 * beta
 */

#beta {
  float: right;
}

.tablet #beta {
  width: 100px;
}

.mobile #beta {
  width: 75px;
}



/*
 * menù primario
 */

.desktop header, 
.tablet header {
  margin-bottom: -30px;
}

nav {
  z-index: 100;
  font-size: 0.9em;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
} 

nav li {
  display: inline-block;
  padding: 6px 10px;
  margin-right: 4px;
  font-weight: bold;
  border: none;
  -moz-border-radius-topleft: 5px;
  -moz-border-radius-topright:5px;
  -webkit-border-top-left-radius:5px;
  -webkit-border-top-right-radius:5px;
  border-top-left-radius:5px;
  border-top-right-radius:5px;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+78,a0d200+100 */
	background: #ffffff; /* Old browsers */
	background: -moz-linear-gradient(top, #ffffff 78%, #a0d200 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(78%,#ffffff), color-stop(100%,#a0d200)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #ffffff 78%,#a0d200 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #ffffff 78%,#a0d200 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #ffffff 78%,#a0d200 100%); /* IE10+ */
	background: linear-gradient(to bottom, #ffffff 78%,#a0d200 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#a0d200',GradientType=0 ); /* IE6-9 */
}

nav li a {
  color: #a0d200;
  text-decoration: none;
}

nav li.active {
  background: #A0D200 none;
}

nav li.active a {
  color: white;
  text-decoration: none;
}

nav li img {
  vertical-align: middle;
  padding-right: 10px;
}



/*
 * corpo pagina
 */

section.content {
  width: 100%;
  background-color: white;
  font-size: 0.9em;
}

article {
  padding: 22px 16px;
  text-align: justify;
}

#fotovitto {
  margin: 0 20px 10px 30px;
  float: right;
  width: 180px;
  border-bottom: 4px solid #a0d200;
}

.mobile #fotovitto {
  width: 120px;
}



/*
 * footer
 */

footer {
  width: 100%;
  background-color: #a0d200;
  color: white;
  font-weight: bold;
  font-size: 0.8em;
  margin-bottom: 50px;
  border: none;
  -moz-border-radius-bottomleft: 12px;
  -moz-border-radius-bottomright:12px;
  -webkit-border-bottom-left-radius:12px;
  -webkit-border-bottom-right-radius:12px;
  border-bottom-left-radius:12px;
  border-bottom-right-radius:12px;
}

footer .notes {
  padding: 12px 16px;
}

footer .piva {
  float: left;
}

footer .crediti {
  float: right;
}


