/* When updating this file, increment "nymc.css?rev=N" tag in nymc.tmpl too. */
body {
  background: #C6CAD3 url(images/background.jpg) repeat fixed 0 0;
  margin: 2px 0 0 0;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: small;
}

form {
  margin: 0;
}

div#previewbar {
  position: absolute;
  top: 0px;
  background-color: #FF4040;
  color: white;
  width: 100%;
  text-align: center;
  font-weight: bold;
  z-index: -1;
  padding-bottom: 2px;
}

div#topbar {
  color: #30453E;
  width: 100%;
  text-align: right;
  font-size: 11px;
}

div#topbar a {
  color: #30453E;
  text-decoration: underline;
  border-bottom: none;
}

div#content {
  margin-left: auto;
  margin-right: auto;
  width: 897px;
  color: #EBEBE2;
}

div#content p, div#content .p, div#content ul.home {
  margin: 0;
  padding-bottom: 0.7em;
  padding-left: 0;
}

table.ci {  /* course info */
  border-style: none;
  border-spacing: 0px;
  text-align: left;
}

table.ci td {
  vertical-align: top;
  padding: 0px 1em 0px 0px;
}

del {
  color: #878781;
}

.nobr {
  white-space: nowrap;
}

.left {
  text-align: left;
}

.small {
  font-size: small;
  font-weight: normal;
}

.sm-help {
  color: #A0A0A0;
  font-size: 12px;
  font-weight: normal;
}

.photos a {
  text-decoration: none;
  border: none;
}

.photos img {
  border: 2px solid #f7d98f;
}

.staff-photo {
  float: left;
  margin-right: 1em;
}

.status_color_pending { color: yellow; font-weight: bold; }
.status_color_confirmed { color: lime; font-weight: bold; }
.status_color_cancelled { color: red; font-weight: bold; }
.status_color_deleted { color: red; font-weight: bold; }
.status_color_waitlisted { color: blue; font-weight: bold; }

.uploads td {
    padding: 0 10px 0 10px;
}

.admin_only {
    border: 1px solid white;
    background-color: #808080;
    font-size: 11px;
    padding-right: 3px;
}

.admin_only a {
    border: none;
}
.admin_only .tag {
    background-color: white;
    color: black;
    padding: 0 3px 0 3px;
    text-align: center;
    font-weight: bold;
}

a {
  text-decoration: none;
  padding: 0;
  margin: 0;
  color: #f7d98f;
  border-bottom: 1px dashed #ceb86d;
}

.ui-menu-item a {     /* Don't mess up JQuery autocomplete menus */
  border-bottom: none;
}

a.h2 {
  color: #EBEBE2;
  border: none;
}

div#header {
  height: 20px;
  background: #969A9D url(images/board_edges.jpg) no-repeat scroll 0 0;
}

div#blackboard {
  background: #30453E url(images/board.jpg) repeat-y scroll 0 0;
  margin: 0;
  height: 100%;
}

div#footer {
  height: auto;
  padding-bottom: 3px;
  background: transparent url(images/board_edges.jpg) no-repeat scroll 0 -50px;
  padding-top: 44px;
  color: #666666;
  text-align: center;
}
div#footer a {
  color: #6666A0;
  border: none;
  text-decoration: underline;
}

#pagecontent {
  padding: 0 50px 0 0;
  margin: 0;
  margin-left: 280px;
}

/* Hide this one from IE6, otherwise it messes up widths. */
#blackboard > #pagecontent {
  text-align: justify;
}

table.subcourses {
    border-collapse: collapse;
    border-style: hidden;
    width: 100%;
}

table.subcourses td {
    padding-left: 1em;
    border-left: 1px solid #EBEBE2;
}

table.subcourses td.hl {
  color: #f7d98f;
  white-space: nowrap;
}

table.subcourses td.sep {
  border-bottom: 1px dotted #EBEBE2;
}

.course_table_container {
  text-align: left;
}
.course_table {
  border-collapse: collapse;
  width: 100%;
}

.course_tr {
  cursor: default;
}

.course_tr:hover, .course_tr_expanded {
  background-color: #608A7C;
}
.course_details {
  display: none;
}
.course_tr_expanded + .course_details {
  display: table-row;
}
.course_td {
  border: 1px solid #EBEBE2;
  padding: 0.3rem 0.1rem;
  vertical-align: top;
  position: relative;
}
.course_td.hl {
  color: #f7d98f;
  min-width: 4em;
}

.sponsors {
    padding: 4px;
}

.sponsors .c {
    text-align: center;
    padding: 4px;
}

#pagecontent ul {
  text-align: left;
}

#pagecontent h1 {
  margin: 10px 0 10px 0;
  font-size: 1.4em;
}

#pagecontent h1#welcome {
  margin-top: 0;
}

#pagecontent h2 {
  margin: 0;
  margin-top: 1em;
  margin-bottom: 10px;
  font-size: 1.2em;
  border-bottom: 1px dotted #F1F4E8;
}

#pagecontent h3 {
  margin: 0.5em 0 0.5em 0;
  font-size: 1.1em;
  font-weight: bolder;
  color: #f7d98f;
}

h4 {
  margin: 0.5em 0;
}

#pagecontent li {
  margin-top: 0.5em;
  margin-bottom: 0;
}

#pagecontent .dense, #pagecontent .dense > li {
  margin: 0;
}

#pagecontent ol {
  margin-top: 0;
  margin-bottom: 0;
}

.clear {
  clear: both;
}

.hrshort {
    width: 80px;
    margin: 20px auto 20px auto;
}

.hiddenfaq div {
  display: none;
}

#menu {
  float: left;
  display: inline;  /* Hack to fix margins in IE6 (ok for other browsers) */
  width: 200px;
  margin: 1em 40px 30px 40px;
  color: #ffffff;
}
#menu td {
  background-position: left;
  background-repeat: no-repeat;
  padding: 0 0 0 50px;
  height: 45px;
  font-weight: bold;
}

div#content p.news-date {
  padding-bottom: 0;
  font-style: italic;
}

div#content p.news-item {
  padding: 0 0 1em 3em;
}

div#content p.quote {
  padding: 0 1em 0 2em;
}

div#content p.quoteattr {
  padding: 0 1em 1.5em 4em;
  font-style: italic;
}

div.question { margin-bottom: 1.5em; }
div#content div.question p { margin: 0.5em 0 0.5em 2em; padding: 0; }
div.choices { margin-left: 2em; }

li.home-news-item {
  font-style: italic;
  padding-left: 0.5em;
  margin-left: 2.5em;
}

#alert {
  border: 1px solid #EBEBE2;
  padding: 0.5em;
  margin: 0.5em 0;
}

#alert, #alert li, #alert ul {
  color: #EBEBE2;
  text-align: left;
  margin-top: 0;
  margin-bottom: 0;
}

#alert em, h2 em {
  color: #f7d98f;
  font-style: normal;
}

ul.messagelist {
  padding: 0 0 5px 0;
  margin: 0;
}

ul.messagelist li {
  font-size: 12px;
  display: block;
  padding: 4px 5px 4px 25px;
  margin: 0 0 3px 0;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: black;
  background: #ffc url(/static/admin/img/admin/icon_success.gif) 5px .3em no-repeat;
}

ul.messagelist li.warning {
  background-image: url(/static/admin/img/admin/icon_alert.gif);
}

ul.messagelist li.error {
  background-image: url(/static/admin/img/admin/icon_error.gif);
  border: 1px solid red;
  box-shadow: 0px 0px 5px 1px #FF0000;
}

div#logo {
  font-size: 20pt;
  font-family: arial, sans-serif;
  color: #d29835;
  margin-left: 1.7em;
  white-space: nowrap;
}

div#quote {
  float: right;
  color: #EFC05B;
  width: 300px;
  margin: 1em 50px 0.5em 1em;
  font-size: 10px;
}

div#quote a {
  text-decoration: underline;
}

div#quote div {
  font-size: 14px;
  font-family: serif;
  font-style: italic;
  border: 1px solid #EFC05B;
  color: #EBEBE2;
  padding: 0.4em 1em 0.2em 1em;
}

a.imglink {
  text-decoration: none;
  border: none;
}

a.imglink img {
  border: none;
}

div#logo img {
  margin-right: 0.5em;
  vertical-align: middle;
}

.boxed {
  border: 1px solid #EBEBE2;
  padding: 1em;
  text-align: left;
}

.boxed2 {
  border: 1px solid #EBEBE2;
  padding: 0.5em;
  margin: 0.5em 0;
  text-align: left;
}

div.box2 {
  border: 1px solid #EBEBE2;
  padding: 0 1em;
  margin-top: 0.7em;
}

ul.errorlist {
  list-style-type: none;
  line-height: 1em;
  color: #E00000;
  margin: 0;
  padding: 0;
}

table.contents td {
    vertical-align: top;
}

#reg-status-popup {
  display: none;
}

@media print {
  div#header {
    display: none;
  }
  #menu {
    display: none;
  }
  #pagecontent {
    margin-left: 2em;
    margin-right: 2em;
    padding: 0;
  }
  #pagecontent h2 {
    border-bottom: 1px dotted black;
  }
  div#logo {
    margin-left: 1em;
  }
  div#content {
    color: black;
  }
  a {
    color: #666666;
    border-bottom: 1px dashed #666666;
  }
  div#footer {
    height: auto;
    padding-top: 1em;
    padding-bottom: 0;
    color: #666666;
    text-align: center;
  }
}

.ss-q-title {
  font-weight: bold;
}

.ss-form-desc {
  font: inherit;
  white-space: pre-wrap;
  white-space: -moz-pre-wrap;
  word-wrap: break-word;
  width: 99%;
}

.ss-q-help {
  color: #AAA;
}

.ss-form-entry {
  margin-bottom: 1em;
  margin-left: 1.5em;
}

.ss-choices {
  list-style: none;
  margin: 0.5em 0 0 0;
  padding: 0;
}

.ss-powered-by {
  color: #666;
  margin: 0.2em;
}

.cal {
  float: right;
  background-color: #30453E;
  border: 1px dotted #F1F4E8;
  padding: 0 0.5em;
  margin: 0 0 1em 1em;
}

.cal .hol { color: #f7d98f; }
.cal .cls { background-color: #679383; }
