@import url('fonts/museo-slab/stylesheet.css');

/* =============================================================================
   HTML5 Boilerplate CSS: h5bp.com/css
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
html, button, input, select, textarea { font-family: sans-serif; color: #222; }
body { margin: 0; font-size: 1em; line-height: 1.4; }

::-moz-selection { background: #FFFFFF; color: #111111; text-shadow: none; }
::selection { background: #FFFFFF; color: #111111; text-shadow: none; }

a { color: #FFFFFF; }
a:visited { color: #FFFFFF; }
a:hover { color: #FFFFFF; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }

abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }

sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

svg:not(:root) { overflow: hidden; }

figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
button[disabled], input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }

.chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0; }

/* ===== Primary Styles ========================================================
   Author: Patrick Felder, tnm.ch
   ========================================================================== */

a, a:visited { color: #FFFFFF; text-decoration: none; cursor: pointer; }
a:hover { color: #FFFFFF; text-decoration: none; cursor: pointer; }

body { font-size: 12px; font-family: Arial, Tahoma, sans-serif; color: #FFFFFF; background-color: #111111; }

.grid_1 { width:120px; } 
.grid_2 { width:260px; }
.grid_2_5 { width:330px; }
.grid_3 { width:400px; }
.grid_4 { width:540px; }
.grid_5 { width:680px; }
.grid_6 { width:820px; }
.grid_7 { width:960px; }
.grid_8 { width:1100px; } 

.column { margin: 0 10px; overflow: hidden; float: left; display: inline; min-height: 1px; position: relative; }
.row { width: 1120px; margin: 0 auto; overflow: hidden; }
.row .row { margin: 0 -10px; width: auto; display: inline-block; }

header { padding: 40px 0 70px 0; }

h1 { font: 24px/24px 'museo_slab_700regular', Arial, sans-serif; color: #FFFFFF; font-weight: normal; margin: 0; padding: 0; }
h2 { font: 24px/24px 'museo_slab_500regular', Arial, sans-serif; color: #FFFFFF; font-weight: normal; margin: 0; padding: 0; }
h3 { font: 24px/30px 'museo_slab_700regular', Arial, sans-serif; color: #FFFFFF; font-weight: normal; margin: 0 20px 15px 0; padding: 0; }
h4 { font: 24px/30px 'museo_slab_100regular', Arial, sans-serif; color: #FFFFFF; font-weight: normal; margin: 0 20px 15px 0; padding: 0; }

h2.home { height: 60px; border-bottom: 1px solid #FFFFFF; margin-bottom: 15px; }
h2.scuolayanez { padding-top: 40px; clear: both; }
h4.editore { margin-top: -15px; }

h3 a:hover { background-color: #FFFFFF; color: #111111; }

nav { float: right; }
nav ul {  }
nav ul li { float: left; margin-left: 20px; margin-bottom: 10px; }
nav ul li a, nav ul li a:visited { font: 24px/24px 'museo_slab_100regular', Arial, sans-serif; color: #FFFFFF; }
nav ul li a:hover, nav ul li.active a { color: #999999; }

p { font: 17px/21px 'museo_slab_100regular', Arial, sans-serif; color: #FFFFFF; margin: 0 20px 15px 0; padding: 0; }
p.bold { font: 17px/21px 'museo_slab_500regular', Arial, sans-serif; }
.introduzione p { font: 24px/30px 'museo_slab_100regular', Arial, sans-serif; color: #FFFFFF; margin: 0 0 80px 0; padding: 0; text-align: justify; }
.biografia p { text-align: justify; margin: 0 0 80px 0; padding: 0; }
.grid_2_5 p { margin-right: 0; }
.scuolayanez { display: block; margin: 0 auto 15px auto; }
.cover_home { width: 120px; height: auto; margin-bottom: 15px; }
.cover_lista { width: 120px; height: auto; margin-bottom: 15px; }
.cover_scheda { margin-bottom: 15px; max-width: 260px; height: auto; }
p a, p a:visited { text-decoration: underline; }
p a:hover { background-color: #FFFFFF; color: #000000; }
p.cite { font: 24px/30px 'museo_slab_100regular', Arial, sans-serif; color: #FFFFFF; margin: 0 20px 10px 0; padding: 0; font-style: italic; }
p.fonte { font: 17px/21px 'museo_slab_500regular', Arial, sans-serif; color: #FFFFFF; margin: 0 20px 20px 0; padding: 0; }
.bordertop { border-top: 1px solid #FFFFFF; padding-top: 20px; margin-top: 60px; }
.libro_lista { margin-bottom: 40px; }
.libro_lista.stampa { margin-bottom: 20px; }
footer { padding-bottom: 40px; }
footer p a:hover { background-color: #FFFFFF; }
article.news { margin-bottom: 30px; }
article.libro { margin-bottom: 30px; }
.foto_personale img { width: 100%; height: auto; margin-bottom: 20px; }
.link { margin-top: 30px; }

#subForm {  }
#subForm .text { border: 0; float: left; margin-right: 15px; width: 240px; background-color: #FFFFFF; font: 17px/17px 'museo_slab_100regular', Arial, sans-serif; color: #111111; font-weight: normal; padding: 8px; margin-bottom: 10px; }
#subForm .button, #subForm .button:visited { border: 0; float: left; background-color: #111111; font: 17px/17px 'museo_slab_100regular', Arial, sans-serif; color: #FFFFFF; font-weight: normal; padding: 0; margin: 8px 0 8px 0; display:inline-block; *display:inline; text-decoration: underline; }
#subForm .button:hover { background-color: #FFFFFF; color: #111111; }

.form { font: 17px/21px 'museo_slab_100regular', Arial, sans-serif; color: #FFFFFF; }
.form p.error { font: 17px/21px 'museo_slab_100regular', Arial, sans-serif; color: #F2DEA0; }
.form .text { width: 650px; font: 17px/21px 'museo_slab_100regular', Arial, sans-serif; color: #111111; margin-bottom: 15px; background-color: #FFFFFF; border: 0; padding: 8px 15px 8px 15px; }
.form .button, #subForm .button:visited { border: 0; background-color: #111111; font: 17px/17px 'museo_slab_100regular', Arial, sans-serif; color: #FFFFFF; font-weight: normal; padding: 0; margin: 8px 0 8px 0; display:inline-block; *display:inline; text-decoration: underline; }
.form .button:hover { background-color: #FFFFFF; color: #111111; }
.form .number { width: 100px; margin-left: 10px; margin-right: 20px; }

.fit { width: 100%; height: auto; }

.desktop_hide { display: none;  }

/* =============================================================================
   Media Queries
   ========================================================================== */

/* ===== == = === 20em (320px) === = == ===== */
@media only screen and (min-width: 320px) and (max-width: 479px) {
  .row { width: 320px; }
  .column { width: 300px; }
  .scuolayanez { width: 200px; height: auto; }
  nav { float: left; padding-top: 20px; }
  nav ul li { float: none; margin-bottom: 5px; margin-left: 0; }
  .introduzione p { font: 17px/21px 'museo_slab_100regular', Arial, sans-serif; color: #FFFFFF; margin: 0 0 25px 0; padding: 0; text-align: left; }
  h2.home { height: auto; border-bottom: 1px solid #FFFFFF; margin-bottom: 15px; padding: 15px 0 10px 0; }
  .cover_home { width: 180px; height: auto; }
  .form { margin-top: 40px; }
  .form .text { width: 270px; }
  .form .number { width: 50px; }
  .cover_lista { width: 120px; height: auto; }
  .mobile_show { display: block; }
  .mobile_hide { display: none; }
}

/* ===== == = === 30em (480px) === = == ===== */

@media only screen and (min-width: 480px) and (max-width: 767px) {
  .row { width: 480px; }
  .column { width: 460px; }
  .grid_1 { width: 120px; } 
  .grid_2 { width: 320px; }
  .scuolayanez { width: 220px; height: auto; }
  nav { float: left; padding-top: 20px; }
  nav ul li { float: none; margin-bottom: 5px; margin-left: 0; }
  .introduzione p { font: 17px/21px 'museo_slab_100regular', Arial, sans-serif; color: #FFFFFF; margin: 0 0 25px 0; padding: 0; text-align: left; }
  h2.home { height: auto; border-bottom: 1px solid #FFFFFF; margin-bottom: 15px; padding: 15px 0 10px 0; }
  .cover_home { width: 100%; height: auto; }
  .form .text { width: 430px; }
  .form .number { width: 100px; }
  .mobile_show { display: block; }
  .mobile_hide { display: none; }
}

/* ===== == = === 48em (768px) === = == ===== */

@media only screen and (min-width: 768px) and (max-width: 959px) {
  .row { width: 640px; }
  .grid_1 { width:300px; } 
  .grid_2 { width:300px; }
  .grid_3 { width:300px; }
  .grid_4 { width:300px; }
  .grid_5 { width:620px; }
  .grid_6 { width:620px; }
  .grid_7 { width:620px; }
  .grid_8 { width:620px; } 
  .scuolayanez { width: 200px; height: auto; }
  .cover_home { width: 200px; height: auto; }
  .introduzione p { font: 17px/21px 'museo_slab_100regular', Arial, sans-serif; color: #FFFFFF; margin: 0 0 30px 0; padding: 0; text-align: left; }
  nav { float: left; padding-top: 20px; }
  nav ul li { float: none; margin-bottom: 5px; margin-left: 0;  }
  .form { margin-top: 40px; }
  .form .text { width: 590px; }
  .form .number { width: 100px; }
}

/* ===== == = === (1120px) === = == ===== */

@media only screen and (min-width: 960px) and (max-width: 1140px) {
  .row { width: 800px; }
  .grid_1 { width: 380px; } 
  .grid_2 { width: 380px; }
  .grid_3 { width: 380px; }
  nav { float: left; padding-top: 20px; }
  nav ul li { margin-left: 0; margin-right: 20px; }
  .foto_personale { width: 280px; }
  .dettagli { width: 280px; }
  .title { width: 280px; }
  .grid_4 { width: 380px; }
  .grid_5 { width: 480px; }
  .citazioni { width: 780px; }
  .grid_6 { width:780px; }
  .grid_7 { width:780px; }
  .grid_8 { width:780px; }
  .scuolayanez { width: 200px; height: auto; }
  .cover_home { width: 200px; height: auto; }
  .cover_scheda { width: 220px; height: auto; }
  .form .text { width: 450px; }
  .form .number { width: 100px; }
  footer .column { width: 280px; }
  .introduzione p { font: 17px/21px 'museo_slab_100regular', Arial, sans-serif; color: #FFFFFF; margin: 0 0 30px 0; padding: 0; text-align: left; }
}

/* =============================================================================
   Non-Semantic Helper Classes
   ========================================================================== */

.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }
.hidden { display: none !important; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }

/* =============================================================================
   Print Styles
   ========================================================================== */
 
@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}