.err-input {
  border:2px solid red;
}


body {
  text-align:center;
  background:url(/images/body-bg.png) top center no-repeat;
  font-family:Arial;
}

a {
  color:black;
}

a:visited {
  color:black;
}

#container {
  margin:0px auto;
  width:1000px;
  text-align:left;
}

  #header {
    position:relative;
  }
  
    #top-right {
      position:absolute;
      top:0;
      right:0px;
    }
    
      #section {
        text-align:center;
        font-size:44px;
        color:white;
        letter-spacing:1px;
        font-weight:bold;
        font-variant:small-caps;
        text-shadow:  -1px -1px #666;
      }
      
        #section-sx {
          float:left;
          background:url(/images/section-sx.png) bottom left no-repeat;
          width:14px;
          height:64px;
        }
        
        #section-bg {
          float:left;
          background:url(/images/section-bg.png) bottom left repeat-x;
          padding:7px 24px 13px 24px;
        }
        
        #section-dx {
          float:left;
          background:url(/images/section-dx.png) bottom left no-repeat;
          width:19px;
          height:64px;
        }
    
      #section div {
        font-size:44px;
        color:white;
        letter-spacing:1px;
        font-weight:bold;
        font-variant:small-caps;
      }

      #icons {
        padding-top:64px;
        text-align:right;
      }
      
      #icons a img {
        margin-left:12px;
      }
      
    #title {
      height:188px;
      margin-left:23px;
    }
    
      #spacer {
        height:12px;
      }
      
    #title a {
      margin:20px 0 20px 30px;
    }
    
    #line {
      height:20px;
      color:white;
      font-weight:bold;
      font-size:27px;
      margin-bottom:10px;
    }
    
      #menu-top {
        font-variant:small-caps;
        margin:0 0 0 250px;
        padding:0;
      }
    
      #menu-top li {
        display:inline;
        list-style:none;
      }
      
      #menu-top li a {
        color:white;
        padding:0 2px 0 2px;
        margin:0 3px 0 3px;
        border-bottom:3px solid transparent;
        text-decoration:none;
      }
      
      #menu-top li a:link, #menu-top li a:visited {
      }
      
      #menu-top li a:hover {
        border-bottom:3px solid #3dc340;
      }
  
  #subcontainer {
    padding:14px 10px 14px 10px;
  }
  
  #left {
    width:230px;
    float:left;
    margin:10px;
    margin-right:0;
    padding-top:4px;
  }
  
    #menu-left li {
      margin:4px;
      padding:8px;
      list-style-image:none;
    }
    
    #menu-left li:hover {
      list-style-image:url(/images/ago.jpg);
    }
  
    #menu-left li a {
      font-variant:small-caps;
      color:black;
      text-decoration:none;
      font-size:24px;
      margin-left:10px;
    }
    
    #menu-left li a:link, #menu-left li a:visited {
      border-bottom:2px solid transparent;
    }
    
    #menu-left li a:hover {
      border-bottom:2px solid #ccc;
    }
    
    #menu-left li {
      -moz-border-radius-topleft:16px;
      -moz-border-radius-bottomleft:16px;
      -webkit-border-top-left-radius:16px;
      -webkit-border-bottom-left-radius:16px;
    }
    
    li#menu-selected {
      list-style-image:url(/images/ago-selected.jpg);
      margin:0;
      padding:16px;
    }
    
    .m {
      background-color:#e2def5;
    }
    
    .meventi-notizie {
      background-color:#e2def5;
    }
    
    .mrubriche {
      background-color:#ffe2e2;
    }
    
    .mdisegni-tecnici {
      background-color:#fffad9;
    }
    
    .mdisegni-creativi {
      background-color:#e8faf7;
    }
    
    .mstelle {
      background-color:#ffe0b5;
      
    }
    
    .mvideo {
      background-color:#ffc5ff;
      
    }
    
    .mbiblioteca {
      background-color:#e1ceff;
    }
    
    .mabbonamenti {
      background-color:#dcffae; 
    }
    
    .mshop {
      background-color:#e6d6db;  
    }
    
    .mmusei {
      background-color:#d5fff4;
      
    }
    
    .mcontatti {
      background-color:#e5ffd5;
      
    }
    
    .mbacheca {
      background-color:#FFFFAA;
    }
  
  #content {
    width:508px;
    float:left;
    margin:0 10px 10px 0;
    padding:0 20px 20px 20px;
    min-height:554px;
    color:#3d030a;
    -moz-border-radius:15px;
    -webkit-border-radius:15px;
    font-family:arial;
    letter-spacing:0.1em;
    word-wrap: break-word;
  }
  
  #content span{
    line-height:150%;
  }
  
	.img-news {
	  padding:2px;
	  border:1px solid #ccc;
	}
	
	.img-news-small {
		padding:2px;
		border:1px solid #ccc;
	}
	
	.left {
		float:left;	
		margin:3px 12px 3px 0;
	}
	
	.right {
		float:right;	
		margin:3px 0 3px 12px;
	}
	
	.news-date-list {
    margin:12px 3px 0 3px;
    padding-top:5px;
    border-top:1px dotted #ccc;
    font-style:italic;
    text-align:right;
    color:#999;
    font-size:12px;
	}
	
	.news-date {
    margin:5px;
    padding:5px;
    border-bottom:1px dotted #ccc;
    font-style:italic;
    text-align:right;
    color:#999;
    font-size:12px;
	}
	
	#loadnewscont {
    padding:10px;
    height:19px;
    background-color:white;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
	}
	
	#loadnewscont * {
    text-decoration:none;
	}

  a.video {
    font-weight:bold;
    font-style:italic;
  }
  
  div#videodes{
    margin:30px 30px 0 30px;
  }
  
  ul#videos {
    margin-left:35px;
    list-style-image:url(/images/video_icon.png);
  }
  
  #right {
    width:160px;
    float:left;
    margin:10px;
  }
  
    #banner li a img {
      width:154px;
      height:140px;
    }
  
  #close {
    clear:both;
  }
  
  #footer {
    width:100%;
    height:200px;
    background:url(/images/footer-bg.png) top left repeat-x #e2001a;
  }
  
    #menu-footer {
      padding-top:85px;
    }
    
    #menu-footer ul li {
      display:inline;
      margin-right:12px;
    }
    
    #menu-footer ul li a {
      color:#ddd;
      text-decoration:none;
      font-size:17px;
    }
    
    #menu-footer ul li a:hover {
      color:#eee;
      text-decoration:underline;
    }
    
    #copy {
      margin-top:30px;
      color:#eee;
    }


h1 {
  padding:7px 10px 0 30px;
  margin:16px 0 16px 0;
  background:url(/images/h1.png) top left no-repeat;
  font-size:26px;
  color:#009036;
}

h2 {
  margin:16px 0 10px 16px;
  font-size:21px;
  color:#009036;
  font-variant:small-caps;
}

table.ftable {
  border:0;
  width:540px;
}

.ftable td {
  border:0;/*1px solid black;*/
}

.ftable td.lab {
  width:180px;
  padding-left:0;
  padding-right:0;
  text-align:right;
  font-size:18px;
}

.ftable td.inp {
  text-align:center;
  padding-left:0;
  padding-right:0;
  width:210px;
}

.ftable td.inp input, .ftable td.inp select {
  height:20px;
  width:200px;
  font-size:18px;
}

.ftable td.inp select {
  height:23px;
  width:205px;
}

.ftable td.inp input.subm {
  font-size:16px;
  width:160px;
  height:26px;
}

.ftable td.td-err {
  visibility:hidden;
  color:red;
  width:150px;
  padding-left:10px;
  padding-right:0;
  font-size:12px;
  /*background:url(/images/arrow-err.png) center left no-repeat;*/
}
  
table.rubriche {
  width:100%;
  font-style:italic;
  margin-top:20px;
}

table.rubriche tr {
  line-height:40px;
}

table.rubriche tr td {
  border-bottom:1px solid #ddd;
  padding:10px 0 0 10px;
}

table.rubriche tr.zebra {
  background-color:#fffbeb;
}

table.rubriche a {
  color:#444;
  font-weight:bold;
}