a {color: #027eba;}
#header {
  min-height: 135px;
  background: #ffe574;
  padding: 20px 0 0;
}
#header h1 {margin: 0;}
#header h1 a {
  display: block;
  width: 320px; height: 75px;
  background: transparent url('../images/layout/scuolaitalianamoderna.jpg') no-repeat 0 0;
  text-indent: -9000px;
}
.menumain {
  background: #958db6;
  border-top: 5px solid #0f1d64;
  border-bottom: 5px solid #0f1d64;
}

.menumain ul,
.menumain li,
.menumain li a {
  float: left;
  list-style: none;
}
.menumain ul {margin: 0;}
.menumain li {
  margin: 0 20px 0 0;
}
.menumain a {
  padding:  5px 10px;
  color: #0f1d64;
  text-decoration: none;
}
.menumain li.open a,
.menumain a:hover {
  background: #0f1d64;
  color: #958db6;
}
/**********************************************************
  HEADER LOGIN
**********************************************************/
#header #login {
  width: 250px;
  margin-top:14px;
}
#header #login fieldset {
  border: 0; 
  margin: 0 0 5px; padding: 0;
}
#header #login label{
  float: left;
  width: 80px;
  padding: 2px 5px 0 0;
  color: #000;
  text-align: right;
}
#header #login input {
  float: left;
  width: 120px;
  margin: 0.2em 0;
}
#header #login input {
  float: left;
  margin: 0.2em 0;
}
#header #login p {
  clear:both;
  padding: 5px 0 0;
  text-align: left;
}
#header #login p a {
  color: #335a7d;
  text-decoration: none;
  margin-left:105px;
}
#header #login button {
  background-image: url('../images/layout/accediC.gif');
  background-repeat:no-repeat;
  height:18px;
  width:20px;
  display:block;
  padding:15px;
  font-size:0;
  border:0;
  cursor:pointer;
  padding:0;
  float:right;
  margin-right:43px;
  margin-top:10px;
}
#header #login .button span{
  display:none;
}
#header #login  ul{
  list-style-type:none;
  text-align:left;
  float:left;
  margin-top:10px;
}
#header #login  ul a{
  text-decoration:none;
  color:#000;
}
#header #login  ul a:hover{
  text-decoration:underline;
}

#header .span-17 {position: relative;}
.editrice {
  position: absolute;
  bottom: 0; right: 0;
}

.header-link {
  position: absolute;
  right: 0; top: 100%;
  margin: 20px 15px 0 0;
  border-left: 2px solid #0F1D64;
}
.header-link ul {margin:0;}
.header-link li {
  display: inline;
  padding: 0 5px;
  border-right: 2px solid #0F1D64;
  font-size: 12px;
}
.header-link li a {
 color: #000;
 text-decoration: none;
 font-weight: bold;
}
.header-link li a:hover {
 text-decoration: underline;
 font-weight: bold;
}
/***********************************************
  BANNER
***********************************************/
#banner {
  width: 950px; height: 197px;
  margin: 15px 0;
  background: transparent url('../images/layout/banner.jpg') no-repeat 0 0;
  overflow: hidden;
}
#banner .block {
  width: 400px;
  padding: 20px 20px 0;
}
#banner p {margin: 0 0 10px;}
#banner .news {
  padding: 10px 20px;
}
#banner .news h3 {margin: 0 0 10px;}
#banner .news h3 a {
  font-size: 16px;
  color: #0F1D64;
}
/***********************************************
  CONTENT
***********************************************/
h1.titolo {
  font-size:2.5em;;
}
#breadcrumb {padding: 0 0 10px;}
.box {
  position: relative;
  background: transparent url('../images/layout/box-b.jpg') no-repeat 0 100%;
  padding: 0 0 10px;
}
.box .block {
  background: transparent url('../images/layout/box-t.jpg') no-repeat 0 0;
  padding: 10px 10px 1px;
}
.box .itemnews {
  background: transparent url('../images/layout/box-item-b.jpg') no-repeat 0 100%;
  margin: 0 0 10px; padding: 0 0 10px;
}
.box .itemnews .inner {
  background: transparent url('../images/layout/box-item-t.jpg') no-repeat 0 0;
  padding: 13px;
}
.box .itemnews .inner p {margin: 0;}
.homecontent h2 {
  border-bottom: 1px solid #000;
}
.homecontent h3 {
  color: #132579;
}
.tagcloud {margin: 0 0 1.5em;}
.tagcloud a {margin: 0 1em 0 0;}
.news-img, .news-content {float: left;}
.box .news-content {width:264px;}
.news-img,
.text img {margin: 0 10px 3px 0;}
.box h2 {
  margin: 0 0 5px 20px;
}
.box .itemnews h3 a {
  font-size: 14px;
  text-decoration: none;
  font-weight: bold;
  color: #df0077;
}
.box .itemnews h3,
.box .itemnews h5 {
  margin: 0 0 5px;
}
.itemnews .date {
  display: block;
  text-align: right;
  font-size: 10px;
}
.materiali-home .block {margin: 0 0 0 30px;}
.materiali-home .block h3{
  font-size: 14px;
}
/********   MATERIALI *************/
body.popup h2 {
  padding: 5px;
  background: #FFE574;
  text-align: center;
}
body.popup .content {
  padding: 10px;
}
.t_materiali table {
  border-top: 1px solid #000;
  border-left: 1px solid #000;
}

.t_materiali td,
.t_materiali th {
  border-bottom: 1px solid #000;
  border-right: 1px solid #000;
}
.t_materiali td {
  vertical-align: top;
}

/********   LOGIN  *************/
#body .login {
  width: 300px;
  margin: 0 auto;
  border: 2px solid #0F1D64;
  padding: 20px;
}
#body.inputrequired div {
  display: inline;
  margin: 0 0 0 10px;
}
#body .login .button {
  padding: 5px 0 0;
  text-align: center;
}
#body .login ul {
  margin: 10px 0 0; padding: 10px 0 0;
  border-top: 1px solid #ccc;
  list-style: none;
}
/***********************************************
  FOOTER
***********************************************/
#footer {
  clear: both;
  border-top: 5px solid #0F1D64;
  padding: 10px 0;
  text-align: center;
}
.imgleft {float: left;}


.span-4 .itemnews h3 {font-size:14px;}
