/**
 * This file is a mix of Garland's style.css and Zen's page.css.
 * We use Garland's style.css for the basic choices of fonts and
 * spacing, and add page.css directives since we are using Zen. 
 *
 * Thiago Tonelli Bartolomei
 */

/**
 * Generic elements
 */
body {
  margin: 0;
  padding: 0;
  background: #F3F3F3;
  font: 12px/170% Verdana, sans-serif;
  color: #494949;
}

#page-wrapper {
}

/* Creates a box around the content, with a border */
#page {
  margin-top: 10px;
  margin-bottom: 10px;
  background-color: #ffffff;
  border: 1px solid #CCCCCC;
}

/* This makes all pages with a minimum height, making them look good. */
#page #main #content {
/*  min-height: 750px;*/
}


#header {
  border-bottom: 1px solid #CCCCCC;
  margin-bottom: 7px;
}

/* Fixes the main title */
#site-name a:hover, #site-name a:focus {
  text-decoration: none;
}

#site-name  {
  font-family:"Garamond","Times New Roman",serif;
  font-size: 35px;
  font-weight: bold;
  text-align: right;
  padding: 30px 40px 0 0;
}

#banner img {
  width: 960px;
}

h1.title {
  font-size: 200%;
  margin-top: 10px;
  padding-bottom: 10px;
}

/* News Page - make space for news items and use a border */
div#node-5 {
 margin-bottom: 0;
}

div#block-views-news-block_1 {
  padding: 0 0 0 0;
}

div#block-views-news-block_1 h2 {
  font-size:200%;
  margin-bottom: 10px;
}

div.view-id-news div.views-row {
  padding-bottom: 10px;
}

div.view-id-news div.views-row .views-field-title {
  font-size: 15px;
  padding-top: 5px;
  padding-bottom: 5px;
  border-bottom: 1px solid #CCCCCC;
}

div.view-id-news div.views-row .views-field-title a {
  color: #494949;
  font-weight: bold;
}

div.view-id-news div.views-row .views-field-created {
  font-size: 8px;
  padding-bottom: 5px;
}

div.view-id-news .views-field-value {
  font-size: 9px;
  padding-bottom: 5px;
}

div.view-id-news .views-field-created {
  font-size: 9px;
  padding-bottom: 5px;
}

div.view-id-news .views-field-nothing {
  font-size: 9px;
  padding-bottom: 5px;
  padding-left: 5px;
}

/* Single News Item */
div.node-type-story {
  padding-top: 0px;
}

div.node-type-story .submitted {
  padding-left: 5px;
}

div.node-type-story .content {
  padding-top: 15px;
  padding-left: 5px;
  text-align: justify;
}

div.node-type-story .meta {
  padding-left: 5px;
  padding-top: 15px;
}


 
/* Publication List */

.biblio-separator-bar {
  color: #494949;
}

/* The list of tags in a node */
.terms-inline {
  padding-top: 7px;
}

/* Member List */
h1.member_list {
  margin-top: 40px;
  background-color:#E1E1E1;
  border:1px solid #CCCCCC;
  color: #494949;
  font-weight:bold;
  padding: 5px;
  font-size: 14px;
}

h1.member_list_first {
  background-color:#E1E1E1;
  border:1px solid #CCCCCC;
  color: #494949;
  font-weight:bold;
  padding: 5px;
  font-size: 14px;
}

img.member_pic {
  border: 1px solid rgb(204, 204, 204); 
  height: 50px; 
  width: 50px; 
  float: left; 
  margin-right: 20px;
}
div.member_info {
  clear: both;
  padding-top: 15px;
}

div.member_info br {
  float: top;
}

div.member_info p {
  margin: 0;
}

div.member_name {
  font-weight: bold;
}

/* Member Pages */
div.member_pic {
  float: left;
  padding-right: 20px;
  padding-bottom: 20px;
}

div.node-type-page {
  padding-top:  0px;
}

/* member and project headings */
div.member h1, div.member h2, div.project h1, div.project h2 {
  padding-top: 15px;
  font-weight: bold;
}

div.member h3, div.project h3 {
  padding-top: 15px;
}


div.project p {
  text-align: justify;
}

span.author-page {
  font-weight: bold;
}

/* Views that list pages */
table.views-view-grid {
  margin: 0px;
}

/* Text can be teaser or description */
table.views-view-grid div.views-field-teaser {
  padding: 7px 5px 5px 5px;
  text-align: justify;
}

table.views-view-grid div.views-field-description {
  padding: 0px 5px 5px 5px;
  text-align: justify;
}

/* Title can be title or name */
table.views-view-grid div.views-field-name {
  border-bottom: 1px solid #CCCCCC;
  color: #494949;
  font-weight:bold;
  padding: 5px;
}

table.views-view-grid div.views-field-title {
  border-bottom: 1px solid #CCCCCC;
  color: #494949;
  font-weight:bold;
  padding: 5px;
}

table.views-view-grid div.views-field-title a {
  font-weight: bold;
  color: #494949;
  font-size: 14px;
}

table.views-view-grid div.views-field-name a {
  font-weight: bold;
  color: #494949;
  font-size: 14px;
}

/* Project Pages */
div.node-type-book h1, div.node-type-book h2 {
  padding-top: 15px;
  font-weight: bold;
}


/* Research Topics Page */
div.view-research-topic h3 {
  padding-top: 15px;
  font-weight: bold;
}

/* Tagged List Page */
div.view-tag-cloud-results h3 {
  padding-top: 15px;
  font-weight: bold;
}

/* Makes the print buttons a bit lower */
#block-print-0 {
 padding-top: 20px;
}


.breadcrumb {
  padding-bottom: 10px;
}

#search-block-form {
  text-align: center;
}

#block-menu-primary-links {
  padding: 5px;
}

.block {
  padding: 5px 5px 5px 10px;
}

/* For the footer */
.region-footer .block {
  padding: 0px;
  margin-bottom: 0px;
  border-top: 1px solid #CCCCCC; 
}

.footer-table {
 margin: 0px;
 padding: 0px;
 border: 0;
 width: 100%;
}

.gsd-footer-logos a {
  font-size: 0px;
}

.gsd-footer-logos img {
  height: 80px;
}

.gsd-footer-text {
  text-align: right;
  padding-right: 5px;
}

.footer-table td {
  margin: 0px;
  /*padding: 0px;*/
}

.footer-table p {
  margin: 0px;
  padding: 0px;
}

.ece-logo {
  width: 50px;
  padding: 0 5px 0 0;
}

/** Styles for the News **/
.date {
  font-size: 8px;
}

.view-recent-stories td {
  padding-bottom: 20px;
}


/** Styles for the print/pdf buttons **/
.print_html, .print_pdf {
  display: block;
  margin-left:1em;
}

.sidebar {
/*  margin-left: 900px;*/
}


/** Testimonials **/
.view-testimonial .views-field-tid {
  text-align: right;
}
.view-testimonial .views-field-body {
  margin-left: 7px;
  padding-top: 15px;
  font-style: italic;
}

.view-testimonial .views-field-body p {
  quotes: "“" "”" "‘" "’";
}






/** FROM HERE ON, GARLAND CSS STUFF! **/
input {
  font: 12px/100% Verdana, sans-serif;
  color: #494949;
}

textarea, select {
  font: 12px/160% Verdana, sans-serif;
  color: #494949;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
  font-weight: normal;
  font-family: Helvetica, Arial, sans-serif;
}

h1 {
  font-size: 170%;
  font-weight: bold;
  clear: both;
}

h2 {
  font-size: 160%;
  line-height: 130%;
}

h3 {
  font-size: 140%;
}

h4 {
  font-size: 130%;
}

h5 {
  font-size: 120%;
}

h6 {
  font-size: 110%;
}

ul, quote, code, fieldset {
  margin: .5em 0;
}

p {
  margin: 0.6em 0 1.2em;
  padding: 0;
}

a:link, a:visited {
  color: #027AC6;
  text-decoration: none;
}

a:hover {
  color: #0062A0;
  text-decoration: underline;
}

a:active, a.active {
  color: #5895be;
}

hr {
  margin: 0;
  padding: 0;
  border: none;
  height: 1px;
  background: #CCCCCC;
  /* background: #5294c1; ORIGINAL */
}

ul {
  margin: 0.5em 0 1em;
  padding: 0;
}

ol {
  margin: 0.75em 0 1.25em;
  padding: 0;
}

ol li, ul li {
  margin: 0.4em 0 0.4em .5em; /* LTR */
}

ul.menu, .item-list ul {
  margin: 0.35em 0 0 1px; /* LTR */
  padding: 0;
}

ul.menu ul, .item-list ul ul {
  margin-left: 0em; /* LTR */
}

ol li, ul li, ul.menu li, .item-list ul li, li.leaf {
  margin: 0.15em 0 0.15em .5em; /* LTR */
}

ul li, ul.menu li, .item-list ul li, li.leaf {
  padding: 0 0 .2em 1.5em;
  list-style-type: none;
  list-style-image: none;
  background: transparent url(../../../../../themes/garland/images/menu-leaf.gif) no-repeat 1px .35em; /* LTR */
}

ol li {
  padding: 0 0 .3em;
  margin-left: 2em; /* LTR */
}

ul li.expanded {
  background: transparent url(../../../../../themes/garland/images/menu-expanded.gif) no-repeat 1px .35em; /* LTR */
}

ul li.collapsed {
  background: transparent url(../../../../../themes/garland/images/menu-collapsed.gif) no-repeat 0px .35em; /* LTR */
}

ul li.leaf a, ul li.expanded a, ul li.collapsed a {
  display: block;
}

ul.inline li {
  background: none;
  margin: 0;
  padding: 0 1em 0 0; /* LTR */
}

ol.task-list {
  margin-left: 0; /* LTR */
  list-style-type: none;
  list-style-image: none;
}
ol.task-list li {
  padding: 0.5em 1em 0.5em 2em; /* LTR */
}
ol.task-list li.active {
  background: transparent url(../../../../../themes/garland/images/task-list.png) no-repeat 3px 50%; /* LTR */
}
ol.task-list li.done {
  color: #393;
  background: transparent url(http://gsd.uwaterloo.ca/sites/all/themes/misc/watchdog-ok.png) no-repeat 0px 50%; /* LTR */
}
ol.task-list li.active {
  margin-right: 1em; /* LTR */
}

fieldset ul.clear-block li {
  margin: 0;
  padding: 0;
  background-image: none;
}

dl {
  margin: 0.5em 0 1em 1.5em; /* LTR */
}

dl dt {
}

dl dd {
  margin: 0 0 .5em 1.5em; /* LTR */
}

img, a img {
  border: none;
}

table {
  margin: 1em 0;
  width: 100%;
}

thead th {
  border-bottom: 2px solid #d3e7f4;
  color: #494949;
  font-weight: bold;
}

th a:link, th a:visited {
  color: #6f9dbd;
}

td, th {
  padding: .3em .5em;
}

tr.even, tr.odd, tbody th {
  border: solid #d3e7f4;
  border-width: 1px 0;
}

tr.odd, tr.info {
  background-color: #edf5fa;
}

tr.even {
  background-color: #fff;
}

tr.drag {
  background-color: #fffff0;
}

tr.drag-previous {
  background-color: #ffd;
}

tr.odd td.active {
  background-color: #ddecf5;
}

tr.even td.active {
  background-color: #e6f1f7;
}

td.region, td.module, td.container, td.category {
  border-top: 1.5em solid #fff;
  border-bottom: 1px solid #b4d7f0;
  background-color: #d4e7f3;
  color: #455067;
  font-weight: bold;
}

tr:first-child td.region, tr:first-child td.module, tr:first-child td.container, tr:first-child td.category {
  border-top-width: 0;
}

span.form-required {
  color: #ffae00;
}

span.submitted, .description {
  font-size: 9px;
}

.description {
  line-height: 150%;
  margin-bottom: 0.75em;
  color: #898989;
}

.messages, .preview {
  margin: .75em 0 .75em;
  padding: .5em 1em;
}

.messages ul {
  margin: 0;
}

.form-checkboxes, .form-radios, .form-checkboxes .form-item, .form-radios .form-item {
  margin: 0.25em 0;
}

#center form {
  margin-bottom: 2em;
}

.form-button, .form-submit {
  margin: 2em 0.5em 1em 0; /* LTR */
}

#dblog-form-overview .form-submit,
.confirmation .form-submit,
.search-form .form-submit,
.poll .form-submit,
fieldset .form-button, fieldset .form-submit,
.sidebar .form-button, .sidebar .form-submit,
table .form-button, table .form-submit {
  margin: 0;
}

.box {
  margin-bottom: 2.5em;
}


/**
 * Primary navigation
 */
ul.primary-links {
  margin: 0;
  padding: 0;
  float: right; /* LTR */
  position: relative;
  z-index: 4;
}

ul.primary-links li {
  margin: 0;
  padding: 0;
  float: left; /* LTR */
  background-image: none;
}

ul.primary-links li a, ul.primary-links li a:link, ul.primary-links li a:visited {
  display: block;
  margin: 0 1em;
  padding: .75em 0 0;
  color: #fff;
  background: transparent url(../../../../../themes/garland/images/bg-navigation-item.png) no-repeat 50% 0;
}

ul.primary-links li a:hover, ul.primary-links li a.active {
  color: #fff;
  background: transparent url(../../../../../themes/garland/images/bg-navigation-item-hover.png) no-repeat 50% 0;
}

/**
 * Secondary navigation
 */
ul.secondary-links {
  margin: 0;
  padding: 18px 0 0;
  float: right; /* LTR */
  clear: right; /* LTR */
  position: relative;
  z-index: 4;
}

ul.secondary-links li {
  margin: 0;
  padding: 0;
  float: left; /* LTR */
  background-image: none;
}

ul.secondary-links li a, ul.secondary-links li a:link, ul.secondary-links li a:visited {
  display: block;
  margin: 0 1em;
  padding: .75em 0 0;
  color: #cde3f1;
  background: transparent;
}

ul.secondary-links li a:hover, ul.secondary-links li a.active {
  color: #cde3f1;
  background: transparent;
}


/**
 * Nodes & comments
 */
.node {
  margin: 0 -26px 1.5em;
  padding: 1.5em 26px;
}

ul.links li, ul.inline li {
  margin-left: 0;
  margin-right: 0;
  padding-left: 0; /* LTR */
  padding-right: 1em; /* LTR */
  background-image: none;
}

.node .links, .comment .links {
  text-align: left; /* LTR */
}

.node .links ul.links li, .comment .links ul.links li {}
.terms ul.links li {
  margin-left: 0;
  margin-right: 0;
  padding-right: 0;
  padding-left: 1em;
}

.picture, .comment .submitted {
  float: right; /* LTR */
  clear: right; /* LTR */
  padding-left: 1em; /* LTR */
}

.new {
  color: #ffae00;
  font-size: 0.92em;
  font-weight: bold;
  float: right; /* LTR */
}

.terms {
  float: right; /* LTR */
}

.preview .node, .preview .comment, .sticky {
  margin: 0;
  padding: 0.5em 0;
  border: 0;
  background: 0;
}

.sticky {
  padding: 1em;
  background-color: #fff;
  border: 1px solid #e0e5fb;
  margin-bottom: 2em;
}

#comments {
  position: relative;
  top: -1px;
  border-bottom: 1px solid #e9eff3;
  margin: -1.5em -25px 0;
  padding: 0 25px;
}

#comments h2.comments {
  margin: 0 -25px;
  padding: .5em 25px;
  background: #fff url(../../../../../themes/garland/images/gradient-inner.png) repeat-x 0 0;
}

.comment {
  margin: 0 -25px;
  padding: 1.5em 25px 1.5em;
  border-top: 1px solid #e9eff3;
}

.indented {
  margin-left: 25px; /* LTR */
}

.comment h3 a.active {
  color: #494949;
}

.node .content, .comment .content {
  margin: 0.6em 0;
}
