* {
    margin: 0;
    padding: 0;
}

body, html {
    background-color: #FFF;
    font-family: "Lucida Grande", Helvetica, Verdana, Arial, sans-serif;
    font-size: 12px;
    height: 100%;
    color: #333;
}

td { font-size: 12px }

img { border:0 }

ul { list-style-type: none; }

h1, h2, h3 { font-family: Helvetica, Arial, Verdana, sans-serif; }

a { color: #D10000; text-decoration:none; }
a:hover { text-decoration:underline; }

#wrapper {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto -4em;
    width: 760px;
}

/*** HEADER ***/

#header { margin: 0 10px; }

#logo a, #logo a:hover {
    background: url("images/logo.png") no-repeat left top;
    float: left;
    height: 80px;
    letter-spacing: -500em;
    text-indent: -500em;
    width: 390px;
}

#quick_menus {
    float: left;
    padding-top: 10px;
    margin-left: 40px;
    font-size:10px;
}

#quick_menus input.text {
  width: 100px;
  font-size: 10px;
}

#quick_menus strong { text-decoration:underline; }

#quick_menus td { padding-right: 8px; }

#login {
  border: 1px solid #efefef;
  font-size: 11px;
}

#login h4 {
  padding: 5px 8px;
  background:#efefef;
  font-size: 11px;
}

#login form {
  padding: 10px 10px 0 10px;
}

#login td {
  font-size: 11px;
}

#login p {
  margin: 10px 0;
}

#userdata {
  padding-top: 40px;
  font-size: 11px;
}

#global_items {
    font-size: 11px;
    list-style-type: none;
}

#global_items a {
    color: #666;
    line-height: 30px;
    margin-left: 10px;
    text-transform: lowercase;
}

#global_items a:hover {
  background: #fff;
  color: #D10000;
  text-decoration: none;
}

#global_items li { display: inline; }

#media_wrap {
/*    border: 1px solid red;*/
    clear: both;
    padding: 10px;
    width: 760px;
}

/*** MAIN MENU ***/
ul#main_menu {
    border: 1px solid #999;
    border-left: none;
    border-right: none;
    clear: both;
    float: left;
    width: 740px;
}

#main_menu a {
    color: #666;
    display: block;
    float: left;
    font-size: 12px;
    font-weight: bold;
    line-height: 35px;
    margin: 0 15px;
    text-decoration: none;
    text-transform: uppercase;
}

#main_menu a:hover {
  color: #D10000;
  background: #fff;
}

#main_menu a.active, #main_menu a.active:hover {
    color: #000;
}

#main_menu a.grayed_out, #main_menu a.grayed_out:hover {
    color: #CCC;
    cursor: default;
}

#main_menu li {
    display: inline;
}

/*** MAIN ***/
#main { padding: 0 10px; }

#wrapper h2 {
  margin-bottom: 15px;
  color: #3D4642;
  font-size: 24px;
  font-weight: normal;
  letter-spacing: -1px;
  padding-top: 15px;
}

#wrapper h3 {
  margin: 15px 0 15px 0;
  color: #3D4642;
  font-size: 18px;
  font-weight: normal;
  letter-spacing: -1px;
}

h3 span { font-weight:bold; font-size:11px }

#wrapper p {
  margin-bottom: 10px;
}

/*** FOOTER ***/
#pusher { /*necessario per lo sticky footer*/
    clear: both;
    height: 4em;
}

#footer {
    clear: both;
    height: 4em;
    margin: 0 auto;
    width: 740px;
    font-size: 10px;
}

#footer p {
    border-top: 1px solid #CCC;
    color: #666;
    font-size: 11px;
    padding-top: 15px;
    text-align: center;
}

#footer p span { font-size: 10px; }

#footer a { color: #444; }

/*** UTILITIES ***/
div.killer {
    font-size: .1em;
    clear: both;
}

/*** FORM ***/
input,
textarea {
    border: 1px solid #CCC;
    color: #333;
    padding: 2px;
}

input.submit {
    border-right: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
    text-transform:uppercase;
    font-size: 10px;
}

#account {
  width:100%;
  border-collapse: collapse;
}

#col_sx {
  padding-right: 20px;
}

#col_dx {
  border-left: 1px solid #ccc;
  padding-left: 20px;
}

/*** MESSAGGI ERRORI ***/
/* errori form */
/* errore */
#msg {
  margin-bottom: 15px;
  padding: 4px 5px;
  border: 1px solid #ccc;
  background: #E3F1FE;
}

#msg.error { background: #FFFDE7; }

#msg p { margin: 0; }
#msg ul { margin: 0; padding:0; list-style: none; font-size: 11px; }

.msg-content {
  padding-left: 25px;
  background-image: url(../images/accept.png);
  background-repeat: no-repeat;
  background-position: 0 50%;
}

.error p {
  font-size: 11px !important;
}

.error .msg-content {
  color: red;
  background-image: url(../images/error.png);
}

/*** tabella pagamenti ***/
#pagamenti {
  width:100%;
}

#pagamenti .ico {
  width: 120px;
  text-align: center;
}

#pagamenti td {
  padding:5px;
  border-bottom: 1px solid #ccC;
}

.corso-item { border-bottom :1px solid #ccc; }
.corso-item img { float:left; margin: 0 8px 8px 0; }
.details { margin: 5px 0; }


#content {
    float: right;
    margin-bottom: 30px;
    width: 490px;
}

#left_menu {
    float: left;
    font-family: Helvetica, Arial, Verdana, sans-serif;
    font-size: 12px;
    margin: 25px 0 20px 10px;
    width: 240px;
}

#left_menu li {
  padding: 5px 8px;
  border-bottom: 1px solid #ccc;
}

#left_menu li li {
  padding: 5px 0 5px 15px;
  border-bottom: 0;
}

p.btn a {
  display: block;
  padding: 8px 20px;
  border:1px solid #ccc;
  background:#95CB62;
  color:#000;
  font-weight:bold;
}

p.btn a:hover {
  text-decoration:none;
  background:#D9FF8D
}

p.btn span {
  font-size: 12px;
  font-weight: normal;
  letter-spacing: -2px;
}

#counter,
#counter2 {
  padding: 5px 2px;
  text-align: right;
  color: #BD070A;
}

.dispensa {
  position:relative;
  border-bottom: 1px solid #ccc;
  color: #ccc;
}

.dispensa h3 {
  margin-bottom: 30px!important;
  color: #ccc!important;
}

.dispensa.current h3,
.dispensa.current {
  color: #333!important;
}

.dispensa .pdf {
  position: absolute;
  top:0;
  right:0;
  width: 150px;
}

.dispensa .pdf a {
  display: block;
  padding: 3px 5px;
  border: 1px solid #e5e5e5;
  background:url(../images/pdf_icon.jpg) no-repeat top right #fff;
}

.dispensa .pdf a:hover {
  border: 1px solid #999;
  background:url(../images/pdf_icon.jpg) no-repeat top right #efefef;
  text-decoration:none;
}

/* msg privati */
#inbox {
  width:100%;
  border-collapse: collapse;
}

#inbox th {
  text-align:left;
  font-size: 11px;
  background: #D8DEFF
}

#inbox th,
#inbox td {
  padding: 5px 3px;
  border-bottom: 1px solid #ccc;
}

#inbox .unread {
  background: #F9FFD9
}


/* home personale utente */
.libretto {
  margin-bottom: 15px;
  padding:10px;
  font-size: 11px;
}

.libretto legend {
  padding: 1px 5px;
}

.libretto table {
  width: 100%;
}

.libretto th,
.libretto td {
  padding: 2px 1px;
  border-bottom: 1px solid #ccc;
  text-align: left;
  font-size: 11px;
}

/* stili messaggi privati */
.privmsg-subject {
  font-size: 10px;
  font-style: italic;
}

.privmsg-domanda {
  font-size: 12px;
  font-weight: bold;
}

.privmsg-risposta {
  font-size: 12px;
}

/* faq */
ul#faq li {
  padding: 0 0 3px 15px;
}

ul#faq ul {
  margin: 3px 0 5px 0;
}
