/*
 * File: default.css
 * Creator: George Ferguson
 * Created: Mon Nov 27 14:15:39 2006
 * Time-stamp: <Fri Aug 13 14:18:09 EDT 2010 ferguson>
 *
 * Pre-drupal integration, background color was #3a9efb.
 *
 * UR standard colors:
   http://www.rochester.edu/publications/graphicstandards/colors.html
   - Blue color is #00467f (0, 70, 127)
     - 75%: #4075a1 (64, 117, 161)
     - 50%: #7fa2c0 (127, 162, 192)
     - 25%: #bfd1df (191, 209, 223)
   - Yellow color is #ffdd00 (255, 221, 0)
     - 75%: #ffe640 (255, 230, 64)
     - 50%: #ffee7f (255, 238, 127)
     - 25%: #fff6bf (255, 246, 191)
 */

@import url("spiffy-bfd1df.css");
@import url("menubar.css");

/*
 * Document defaults
 */

body {
  background: white; 
  color: black;
  font-family: Verdana, sans-serif;
  font-size: 12px;
  margin: 0;
  padding: 0 20px;
  /* Match Drupal urcs style (which is 900px but with 20px white sides) */
  width:860px;
  margin: 0 auto;
}
/*
 * Drupal page defaults
 */
body {
}


img {
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/*
 * Header and footer
 */

.header, .footer {
/*  font-size: smaller; */
  color: #808080;
}

.header {
/*   margin-bottom: 10px;*/
    line-height: 1.5em;
    min-height: 1em;
}

.header .not_logged_in {
  border: 0;
  padding-bottom: 1px;
  text-align: right;
}

.header .logged_in {
/*  padding-bottom: 2px;
  border-bottom: 1px solid #808080; */
}

.header .logged_in .menu_item {
  margin-right: 10px;
  display: float;
  float: left;
  text-align: center;
}

.header .logged_in .menu_item a img,
.header .logged_in .menu_item a .label {
/*  border: 1px solid white; /* to prevent shifting on hover */
  text-decoration: none;
}

.header .logged_in .menu_item a:hover img {
/*  border: 1px solid #c0c0c0; */
}

.header .logged_in .menu_item a:hover .label {
  text-decoration: underline;
}

.footer {
  text-align: center;
  border-top: 1px solid #808080;
  padding-top: 5px;
}

.header a,
.footer a {
  color: #808080;
  text-decoration: none;
}

.header a:hover,
.footer a:hover {
  text-decoration: underline;
}

/*
 * Common page settings
 */

/*
 * Header: contains logo/banner and menubar (imported from drupal theme)
 *
 * Styling has to be copied from drupal and adjusted to fit. And the way
 * they decided to do the banner is crappy: Hajim and CS logos in one image
 * (so the Hajim logo can't be a link), whitespace on left-hand side,
 * nasty HTML div structure inherited from drupal default template.
 *
 * dc.:  crap update. image map provides separate hajim and cs links on drupal
 * site.  dead whitespace cropped out of contest entry banner image to cleanup 
 * css.
 */

#urcs-banner {
    display: block;
    /* Make the banner touch the top of the primary menu bar */
    height: 71px;
}

.PAGE_title {
  font-size: 160%;
  text-align: center;
  margin-top: 1em;
  color: #494949; /* Match drupal titles */
}

.PAGE_title .indexname,
.PAGE_title .title {
  padding-bottom: 15px;
}

/* Turn off some elements when used with drupal header */
.PAGE_title .orgname {
  display: none;
}

.PAGE_buttons {
  text-align: center;
  padding: 0;
  margin: 0;
  float: right;
  width: 0; /* ignore this box in centering titles */
}

.PAGE_buttons table {
  margin: 0;
  padding: 0;
  border-spacing: 0;
  display: float;
  float: right;
}

.PAGE_buttons .button {
  text-align: center;
}

.PAGE_buttons .button .label {
  font-size: smaller;
  color: #808080;
}
.PAGE_buttons .button .label a {
  color: #808080;
  text-decoration: none;
}
.PAGE_buttons .button .label a:hover {
  text-decoration: underline;
}

.PAGE_buttons .button a img {
  border: 1px solid white; /* to prevent shifting on hover */
}

.PAGE_buttons .button a:hover img {
  border: 1px solid #c0c0c0;
}

.PAGE_buttons #search form {
  margin: 0;
}

/*
 * view-index, view-series, view-event
 */

.view-index .series,
.view-series .event,
.view-event {
  margin-bottom: 20px;
}

.view-index .series .name,
.view-series .event .speaker,
.view-series .event .title {
  display: block;
  font-weight: bold;
  margin-left: 5px;
}

.view-index .series .description {
  display: block;
  margin-left: 0.25in;
  margin-right: 0.25in;
}

.view-series .event .dtstart,
.view-series .event .location {
  display: block;
  margin-left: 5px;
}

.view-series .description {
  display: block;
  margin-right: 120px; /* Width of sidebar+content padding */
  margin-bottom: 10px;
  text-align: left;
}

.view-index .series .button,
.view-series .event .button {
  height: 64px;
  width: 64px;
  padding: 5px;
}

/* view-series two-column layout */
.view-series .two-column {
  width: 100%;
}
.view-series .content {
  padding-right: 20px;
}
.view-series .sidebar {
  width: 100px;
  background: #bfd1df;
/*  font-size: smaller; */
}
.view-series .sidebar ul {
  list-style: none;
  margin: 0;
  padding-left: 5px;
}
.view-series .sidebar li {
  display: block;
}
.view-series .sidebar ul.level2 li {
  margin-left: 1em;
}
.view-series .sidebar_title {
  margin-bottom: 0.5em;
  font-size: inherit;
  font-weight: bold;
  padding-top: 5px;
  padding-left: 5px;
}
.view-series .sidebar a {
  text-decoration: none;
  color: inherit;
}
.view-series .sidebar a:hover {
  text-decoration: underline;
}

.view-event {
  text-align: center;
}

.view-event .date,
.view-event .time,
.view-event .location,
.view-event .speaker,
.view-event .affiliation,
.view-event .event_type,
.view-event .title {
  font-weight: bold;
}

.view-event .location,
.view-event .affiliation,
.view-event .event_type,
.view-event .title,
.view-event .description {
  margin-bottom: 2ex;
}

.view-event .title {
  margin-left: 10%;
  margin-right: 10%;
}
.view-event .description {
  margin-left: 10%;
  margin-right: 10%;
  text-align: justify;
}

.view-event .contact {
/*  font-size: smaller; */
  font-style: italic;
}

.links {
  margin-top: 10px;
  margin-bottom: 10px;
  margin-right: 120px; /* Width of sidebar+content padding */
  font-size: smaller;
  text-align: center;
}

.links a {
  color: blue;
  text-decoration: none;
}

.links a:hover {
  text-decoration: underline;
}

/*
 * login, resetpw
 */

body .login,
body .resetpw {
  margin-left: 10%;
  margin-right: 10%;
}

.error {
  text-align: center;
  color: red;
  margin-bottom: 10px;
}

/*
 * add/edit/remove
 */

.errors {
  color: red;
  margin-bottom: 10px;
}

/*
 * admin
 */

.admin {
  margin-bottom: 10px;
  text-align: center;
}
.admin .actions {
  margin-bottom: 10px;
}
.admin .actions table {
  width: 100%;
  border-collapse: collapse;
}
.admin .actions .action {
  width: 33%;
  text-align: center;
  border-right: 5px solid #bfd1df;
}
.admin .actions .action a {
  color: #808080;
  text-decoration: none;
}
.admin .actions .action a:hover {
  text-decoration: underline;
}
.admin .actions .action input {
  vertical-align: middle;
}
.admin .actions .action .label {
  color: #808080;
}
.admin .actions .action form {
  margin: 0;
}
.admin .results {
  width: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
  border: 5px solid #bfd1df;
  border-collapse: collapse;
  font-size: smaller;
}
.admin .results th,
.admin .results td {
  border: 1px solid #bfd1df;
}
.admin a img {
  border: 1px solid white;
}
.admin a img:hover {
  border: 1px solid #808080;
}

