#divmaintext form table {
    vertical-align: top;
    border-collapse: collapse;
}

/*  Default formatting */
#divmaintext form table tbody td, #divmaintext form table tbody th {
    vertical-align: top;
/*    padding-top: 0 !important;*/
    padding: 2px;
    padding-top: 3px !important;
    padding-bottom: 3px !important;
/*   border: 1px solid #ccc;*/
    border-top: 1px dashed #369;
    font-weight: normal;
    font-family: Arial, Helvetica, sans-serif;
}

#divmaintext form table thead th {
    background-color: #e8f0f7;
    text-align: center;
    border: 2px solid black;
    padding: 2px;
}


#divmaintext form table thead {
    padding: 0;
}

#divmaintext form table td input, #divmaintext form table textarea {
    color: black;
    font-style: normal;
}

#divmaintext form table ul.errorlist, #divmaintext form table ul.errorlist li {
    list-style-type: none;
    padding: 0; margin: 0;
    font-style: italic !important;
    color: #c00 !important;
}
#divmaintext form table label {
    cursor: pointer;
}

#divmaintext form .or {
    text-align: center;
    display: block;
    color: black;
    font-weight: bold;
}

#divmaintext form th.submit, #divmaintext form td.submit {
    text-align: center;
}

#divmaintext form .errors { 
     font-size:12px !important; 
     font-style: normal;
     display:block; padding:4px 5px 4px 25px; 
     margin:0 10px 3px 10px; border:1px solid red; 
     
    color:red;background:#ffd url(/media/images/icon_error.gif) 5px .3em no-repeat; 
}

/* prettier forms */
#divmaintext form select, #divmaintext form input[type=text], #divmaintext form input[type=file], #divmaintext form input[type=password], #divmaintext form textarea { border: 1px solid #b7b7b7; }
#divmaintext form select.required, #divmaintext form input[type=text].required, #divmaintext form input[type=password].required, #divmaintext form input[type=file].required, #divmaintext form textarea.required { border: 1px solid #FFb7b7; }
#divmaintext form select:focus, #divmaintext form input[type=text]:focus, #divmaintext form input[type=password]:focus, #divmaintext form textarea:focus { border: 1px solid black; }
#divmaintext form select:focus.required, #divmaintext form input[type=text]:focus.required, #divmaintext form input[type=password]:focus.required, #divmaintext form textarea:focus.required { border: 1px solid #F00; }

#divmaintext form table.plain
{
    border: none;
}

/* fancy button */
#divmaintext form input.fancybutton
{
   color:#000;
   font-family:Arial,helvetica,sans-serif;
   font-size:12px;
   font-weight:bold;
   border: #ccc 1px solid;
   background-color: #ccc;
}

#divmaintext form input.fancybutton:hover
{
   color:#00c;
   border: #000 1px solid;
   background-color: #cfc;
}
/* end of fancy button */

#divmaintext form a.abutton {
   color: #000000;
   font-family:Arial,helvetica,sans-serif;
   font-size:12px;
   font-weight:bold;
   border: #cccccc 1px solid;
   background-color: #cccccc;
   cursor: default;
   padding: 2px 5px 2px 5px;
   text-decoration: none;
}

#divmaintext form a.abutton:hover
{
   color:#0000cc;
   border: #000000 1px solid;
   background-color: #ccffcc;
}


/* LOGIN FORM */
#login_form table {
   width: 300px;
   border: 2px solid black !important;
   border-collapse: collapse;
}

#login_form table td, #login_form table th {
   border: 0 !important;
}

#login_form tbody th, #login_form tbody th {
  padding: 2px !important;
}

#login_form thead th {
  background-color: #e8f0f7;
  text-align: center;
  border: 2px solid black !important;
}
/* END OF LOGIN FORM */


/* ALUMNI CONTACT FORM */
#alumni_form form td label, #alumni_form form th label
{
    font-size: 14px;
    color: #999999;
    font-weight: normal;
    font-style: normal;
    text-indent: 10px;
}

#alumni_form form th label 
{
    color: black;
}
#alumni_form form textarea {
     width: 100%;
     height: 160px;
}

/* END OF ALUMNI CONTACT FORM */

/* Program specific forms (look kind of like the catalog) */

#program_form table {
   border: 1px solid #CCC;
   border-width: 1px;
   border-collapse: collapse;
}

#program_form td {
    font-family: Arial, Helvetica, sans-serif;
    vertical-align: middle;
    padding: 5px;
    border: none;
    font-weight: normal;
    font-style: normal;
    color: black;
    font-size: 12px;
}

#program_form td.compulsory_event_time {
    background-color: #CCC;
}

#program_form td.compulsory_event_desc {
    background-color: #CCC;
}

td .program_form_small{
    padding: 1px;
}

th .program_form_small{
    font-weight: normal;
    font-size: 13px;
    padding: 1px;
}

#program_form label {
    font-size: 12px;
}

#program_form th {
   font-family: Arial, Helvetica, sans-serif;
   padding: 5px;
   font-weight: bold;
   background-color: #c6def7;
   color: #000;
    text-align: center;
}

#program_form th.smaller {
   font-family: Arial, Helvetica, sans-serif;
   padding: 5px;
   font-size: 0.9em;
   /* background-color: #ffffff; */
   color: #000000;
   text-align: left;
   vertical-align: top;
}

#program_form td.colorful {
   background-color: #c6def7;
}

#program_form input {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.9em;
}

#program_form textarea {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.9em;
}

#program_form select {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.9em;
}

#program_form input.button,button.button {
    background-color: #c6def7;
    border: 1px solid black;
    font-weight: bold;
    font-size: 13px;
    font-family: Arial, Helvetica, sans-serif;
}

#program_form a.button {
    background-color: #c6def7;
    padding: 2px 5px 2px 5px;
    border: 1px solid black;
    font-weight: bold;
    font-size: 12px;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
}

#program_form input.button:hover,button.button:hover {
    background-color: #333399;
    color: #c6def7;
}

#program_form a.button:hover {
    background-color: #333399;
    text-decoration: none;
    color: #c6def7;
}

#program_form td.underline {
    border-bottom: 1px dashed #699;
}

#program_form td.noborder {
    border: none !important;
    padding-top: 0px !important;
}

#program_form td.narrow {
    width: 100px;
}

#program_form select.narrow {
    width: 150px;
}

#program_form ul {
    list-style-type: none;
    padding-left: 0;
    margin-left: 0;
}

#program_form ul.errorlist li {
    color: red;
}

/* Volunteer signup form */

#volunteer_form thead th {
   padding: 5px;
   font-weight: bold;
   background-color: #141414;
   text-align: center;
   color: #ffffff;
}

#volunteer_form tbody th {
   padding: 5px;
   font-weight: bold;
   text-align: center;
}


div.raw_id_admin {
    visibility: hidden;
}

div.calendar {
    z-index: 10; /* 2 actually suffices, but I'm leaving a safety margin. -ageng 2009-02-02 */
}

