/* $Id: style.css,v 1.2.2.41 2008/09/29 02:11:30 hswong3i Exp $ */

/**
 * Project:
 *   Interactive Media
 *
 * Designer:
 *   Luka Cvrk, http://www.solucija.com/
 *
 * Developer:
 *   Edison Wong, http://edin.no-ip.com/
 *
 * Official Interactive Media project page:
 *   http://www.solucija.com/templates/demo/Interactive_Media/
 *
 * Drupal Interactive Media project page:
 *   http://drupal.org/project/interactive_media/
 *   http://pantarei.com.hk/projects/interactive_media/
 *
 * Sponsored by:
 *   http://pantarei.com.hk/
 */

html {
  direction: ltr; /* LTR */
}

/**
 * Generic elements
 */
body {
  direction: ltr; /* LTR */
  color: #555;
  background: #FFF;
  font-size: 72.5%;
  font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, Geneva, sans-serif;
  font-weight: normal;
  line-height: 1.7em;
  text-align: left; /* LTR */
  margin: 0 auto;
  padding: 0;
}
input {
  font-size: 12px;
  font-family: Verdana, sans-serif;
  line-height: 100%;
}
textarea, select {
  font-size: 12px;
  font-family: Verdana, sans-serif;
  line-height: 160%;
}
h1, h2, h3, h4, h5, h6 {
  display: block;
  margin: 1em 0 .75em;
  padding: 0;
  font-weight: bold;
  font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, Geneva, sans-serif;
}
h1 {
  font-size: 2.1em;
}
h2 {
  font-size: 1.5em;
}
h3 {
  font-size: 1.4em;
}
h4 {
  font-size: 1.3em;
}
h5 {
  font-size: 1.2em;
}
h6 {
  font-size: 1.1em;
}
code, fieldset {
  margin: .75em 0;
}
pre {
  background: #CCC;
  border: 1px solid #DDD;
  font-size: 12px;
  padding: .75em 1.5em;
}
blockquote {
  margin: 1.5em 0;
}
p {
  margin: .6em 0 1.2em;
  padding: 0;
}
a:link, a:visited {
  color: #007898;
  text-decoration: none;
  padding-bottom: 1px;
}
a:hover {
  border-bottom: 1px dotted #CCC;
  color: #808080;
  padding-bottom: 0;
}
ul {
  margin: .5em 0 1em;
  padding: 0;
}
ol {
  margin: .75em 0 1.25em;
  padding: 0;
}
ol li, ul li {
  margin: .4em 0 .4em .5em; /* LTR */
}
ul.menu, .item-list ul {
  margin: .35em 0 0 -.5em; /* LTR */
  padding: 0;
}
ul.menu ul, .item-list ul ul {
  margin-left: 0; /* LTR */
}
ol li, ul li, ul.menu li, .item-list ul li, li.leaf {
  margin: .15em 0 .15em .5em; /* LTR */
}
ul li, ul.menu li, .item-list ul li, li.leaf {
  padding: 0 0 .2em 1.5em; /* LTR */
  list-style-type: none;
  list-style-image: none;
  background: transparent url(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(images/menu-expanded.gif) no-repeat 1px .35em; /* LTR */
}
ul li.collapsed {
  background: transparent url(images/menu-collapsed.gif) no-repeat 0 .35em; /* LTR */
}
ul li.leaf a, ul li.expanded a, ul li.collapsed a {
  display: block;
}
fieldset {
  padding: .5em;
  border: 1px solid #CCC;
}
fieldset ul.clear-block li {
  margin: 0;
  padding: 0;
  background-image: none;
}
dl {
  margin: .5em 0 1em 1.5em; /* LTR */
}
dl dd {
  margin: 0 0 .5em 1.5em; /* LTR */
}
img, a img {
  border: none;
}
table {
  font-size: 1em;
  width: 100%;
}
thead th {
  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-width: 1px 0;
}
tr.odd, tr.info {
  background-color: #F5F5F5;
}
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 #CCC;
  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: .92em;
  color: #898989;
}
.description {
  line-height: 150%;
  margin-bottom: .75em;
  color: #898989;
}
.messages {
  margin: .75em 0;
  padding: .5em 1em;
}
.messages ul {
  margin: 0;
}
.form-checkboxes, .form-radios, .form-checkboxes .form-item, .form-radios .form-item {
  margin: .25em 0;
}
#center form {
  margin-bottom: 2em;
}
.form-button, .form-submit {
  margin: 2em .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: 2.5em 0;
}
.meta,
.meta * {
  background: none;
  font-weight: normal;
  line-height: 20px;
  margin: .2em 0 0;
  padding: 0;
}
.meta {
  color: #AAA;
}
.meta-footer {
  text-align: right; /* LTR */
}

/**
 * Special image mapping
 */
blockquote {
  padding: 0 0 0 24px; /* LTR */
  background: url(images/blockquote.png) left top no-repeat; /* LTR */
  border: none;
}
.comment-new h3.title {
  float: left; /* LTR */
  background: url(images/new.png) right center no-repeat; /* LTR */
  padding: 2px 20px 2px 0; /* LTR */
}
.meta .editlink {
  float: right; /* LTR */
  width: 16px;
  height: 16px;
  background: url(images/pencil.png) center center no-repeat; /* LTR */
  padding: 2px;
}
.meta .submitted {
  background: url(images/date.png) left center no-repeat; /* LTR */
  font-size: 1em;
  padding: 0 0 0 18px; /* LTR */
}
.meta .terms ul.links li {
  background: url(images/tag_blue.png) left center no-repeat; /* LTR */
  padding: 2px 0 2px 18px; /* LTR */
}
ul.links li.blog_usernames_blog {
  background: url(images/user.png) left center no-repeat; /* LTR */
  padding: 2px 0 2px 18px; /* LTR */
}
ul.links li.book_add_child {
  background: url(images/book.png) left center no-repeat; /* LTR */
  padding: 2px 0 2px 18px; /* LTR */
}
ul.links li.book_printer {
  background: url(images/printer.png) left center no-repeat; /* LTR */
  padding: 2px 0 2px 18px; /* LTR */
}
ul.links li.comment_forbidden {
  background: url(images/comment.png) left center no-repeat; /* LTR */
  padding: 2px 0 2px 18px; /* LTR */
}
ul.links li.comment_new_comments,
ul.links li.comment_reply,
ul.links li.comment_add {
  background: url(images/comment_add.png) left center no-repeat; /* LTR */
  padding: 2px 0 2px 18px; /* LTR */
}
ul.links li.comment_delete {
  background: url(images/comment_delete.png) left center no-repeat; /* LTR */
  padding: 2px 0 2px 18px; /* LTR */
}
ul.links li.comment_edit {
  background: url(images/comment_edit.png) left center no-repeat; /* LTR */
  padding: 2px 0 2px 18px; /* LTR */
}
ul.links li.comment_comments {
  background: url(images/comments.png) left center no-repeat; /* LTR */
  padding: 2px 0 2px 18px; /* LTR */
}
ul.links li.node_read_more {
  background: url(images/page_white_text.png) left center no-repeat; /* LTR */
  padding: 2px 0 2px 18px; /* LTR */
}
ul.links li.statistics_counter {
  background: url(images/chart_curve.png) left center no-repeat; /* LTR */
  padding: 2px 0 2px 18px; /* LTR */
}
ul.links li.upload_attachments {
  background: url(images/disk.png) left center no-repeat; /* LTR */
  padding: 2px 0 2px 18px; /* LTR */
}

/**
 * Layout
 */
#header-region {
  float: left;
  width: 100%;
  color: #808080;
  background: #181818;
}
#header-region .block-region {
  display: block;
  margin: 10px;
  padding: .5em;
}
#wrapper {
  float: left;
  width: 100%;
  background: #FFF url(images/body.png) repeat-x top left;
}
#wrapper #container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 10px;
}
#wrapper #container #header {
  height: 92px;
}
#wrapper #container #header #logo img {
  float: left; /* LTR */
  margin: 10px 10px 0 0; /* LTR */
}
#wrapper #container #header #slogan-floater {
  float: left; /* LTR */
  margin: 20px 0 0;
  padding: 0;
}
#wrapper #container #header #slogan-floater .site-slogan {
  float: left; /* LTR */
  clear: both;
}
/* With 3 columns, require a minimum width of 1020px to ensure there is enough horizontal space. */
body.two-sidebars {
  min-width: 980px;
}
/* With 2 columns, require a minimum width of 800px. */
body.no-sidebars,
body.sidebar-left,
body.sidebar-right {
  min-width: 760px;
}
/* We must define 100% width to avoid the body being too narrow for near-empty pages */
#center {
  float: left;
  width: 100%;
}
/* So we move the #center container over the sidebars to compensate */
body.sidebar-left #center {
  margin-left: -290px;
}
body.sidebar-right #center {
  margin-right: -290px;
}
body.two-sidebars #center {
  margin: 0 -290px;
}
/* And add blanks left and right for the sidebars to fill */
body.sidebar-left #squeeze {
  margin-left: 290px;
}
body.sidebar-right #squeeze {
  margin-right: 290px;
}
body.two-sidebars #squeeze {
  margin: 0 290px;
}
/* We ensure the sidebars are still clickable using z-index */
#wrapper #container .sidebar {
  width: 290px;
  float: left;
  z-index: 2;
  position: relative;
}
#wrapper #container .sidebar .block {
  margin: 0 0 10px;
}
#sidebar-left .block {
  padding-right: 60px;
}
#sidebar-right .block {
  padding-left: 60px;
}
.sidebar .block {
  margin: 0 0 10px;
}
.block .content {
  padding: 0 5px;
}
#sidebar-left .block-region {
  margin-right: 60px;
}
#sidebar-right .block-region {
  margin-left: 60px;
}
.block-region {
  padding: 1em;
  background: transparent;
  border: 2px dashed #007898;
  text-align: center;
  font-size: 1.2em;
}
/* Now we add the backgrounds for the main content shading */
#center .node h1,
#center .node h2,
#center .node h3 {
  border-bottom: 1px solid #CCC;
}
#center h1.title,
#center h2.title {
  font-size: 2.1em;
}
#center h3.title {
  font-size: 1.5em;
}
#center h1.title,
#center h2.title,
#center h3.title {
  display: inline;
  font-family: "Trebuchet MS", Arial;
  font-weight: normal;
  line-height: 1.2em;
  color: #121212;
  letter-spacing: -1px;
  background: url(images/bg-content-title.png) repeat-x bottom;
  border: none;
}
#center h1.title a, #center h1.title a:hover,
#center h2.title a, #center h2.title a:hover,
#center h3.title a, #center h3.title a:hover {
  color: #121212;
  border: none;
  font-weight: normal;
}
.block h2 {
  height: 26px;
  color: #FFF;
  background: #FFF url(images/bg-block-title.png) repeat-x top left;
  border-bottom: 2px solid #000;
  font-size: 1.2em;
  font-family: "Trebuchet MS", Arial;
  font-weight: bold;
  line-height: 26px;
  text-align: left; /* LTR */
  margin: 0 0 5px;
  padding: 0 10px;
}
.block h2 a,
.block h2 a:hover {
  color: #FFF;
  border: none;
}
#footer {
  float: left;
  width: 100%;
  color: #808080;
  border-top: 1px solid #CCC;
  text-align: center;
  line-height: 2.5em;
  margin: 20px 0 0;
}
#mission {
  display: block;
  float: left;
  width: 100%;
  padding: 0;
  margin: 0;
}
#search-theme-form {
  margin: 0 0 10px;
}
#search-theme-form label {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}
#breadcrumb {
  height: 24px;
  font-size: 1em;
  margin-bottom: 40px;
}
.breadcrumb {
  height: 24px;
  line-height: 24px;
  margin: 0;
  padding: 0;
}
.breadcrumb a {
  color: #768998;
  border: none;
}
.breadcrumb a:hover {
  color: #FFF;
  border: none;
}

/**
 * Header
 */
#wrapper #container #header {
  color: #768998;
}
#wrapper #container #header #slogan-floater h1.site-name {
  float: left; /* LTR */
  letter-spacing: 1px;
  font-size: 2em;
  line-height: 1.2em;
  margin: 0 0 5px;
  padding: 0;
}
#wrapper #container #header #slogan-floater h1.site-name a {
  color: #FFF;
  border-bottom: 1px dotted #CCC;
  padding: 0;
}
#wrapper #container #header #slogan-floater h1.site-name a:hover {
  color: #FFFCB3;
  border-bottom: 1px solid #CCC;
  padding: 0;
}

/**
 * Primary navigation
 */
#primary-links ul {
  float: right; /* LTR */
  list-style: none;
  text-align: center;
  vertical-align: text-bottom;
  margin: 46px 0 0;
  padding: 0;
}
#primary-links ul li {
  float: left; /* LTR */
  height: 46px;
  background: none;
  line-height: 46px;
  font-size: 1.1em;
  list-style: none;
  margin: 0 2px;
  padding: 0;
}
#primary-links ul li a {
  display: block;
  color: #768998;
  border: none;
  font-weight: normal;
  text-decoration: none;
  margin: 0;
  padding: 0 12px;
}
#primary-links ul li a:first-letter {
  border-bottom: 1px dotted #4B5761;
  padding: 0 0 3px;
}
#primary-links ul li a:hover,
#primary-links ul li a:active,
#primary-links ul li a.active {
  color: #FFF;
  background: url(images/bg-navigation-item-hover.png) no-repeat bottom center;
}

/**
 * Local tasks
 */
ul.primary, ul.primary li {
  background: none;
  margin: 1em 0;
  padding: 0;
}
ul.secondary, ul.secondary li {
  background: none;
  margin: .5em 0;
}

/**
 * Nodes & comments
 */
.node {
  margin: 0 0 30px;
}
ul.links li, ul.inline li {
  font-size: 1em;
  line-height: 20px;
  margin: 0 1em 0 0; /* LTR */
  padding: 0;
  background-image: none;
}
.picture {
  border: none;
  float: right; /* LTR */
  margin: 0 0 .5em .5em; /* LTR */
}
.sticky {
  padding: .5em;
  border: 1px solid #CCC;
}
.comment {
  border: 1px solid #CCC;
  margin: 1em 0 0;
  padding: .5em;
}
.indented {
  margin-left: 25px; /* LTR */
}
.node .content, .comment .content {
  margin: .6em 0;
}

/**
 * Aggregator.module
 */
#aggregator {
  margin-top: 1em;
}
#aggregator .feed-item-title {
  font-size: 160%;
  line-height: 130%;
}
#aggregator .feed-item {
  border-bottom: 1px solid #CCC;
  margin: -1.5em 0 1.75em;
  padding: 1.5em 0;
}
#aggregator .feed-item-categories {
  font-size: .92em;
}
#aggregator .feed-item-meta {
  font-size: .92em;
  color: #CCC;
}

/**
 * Menu.module
 */
tr.odd td.menu-disabled {
  background-color: #FFF;
}
tr.even td.menu-disabled {
  background-color: #FFF;
}

/**
 * OpenID.module
 */
#user-login-form li.openid-link,
#user-login li.openid-link {
  background-position: left center; /* LTR */
  margin: 0;
  padding: 2px 0 2px 18px; /* LTR */
}

/**
 * Tagadelic.module
 */
a.tagadelic {
  color: #25771F;
}
a.tagadelic:hover {
  background: #E7FEE5;
  color: #007898;
}

/**
 * Autocomplete.
 */
#autocomplete li {
  cursor: default;
  padding: 2px;
  margin: 0;
}

/**
 * Login Block
 */
#user-login-form {
  text-align: center;
}
#user-login-form ul {
  text-align: left; /* LTR */
}

/**
 * User profiles.
 */
.profile {
  margin-top: 1.5em;
}
.profile h3 {
  border-bottom: 0;
  margin-bottom: 1em;
}
.profile dl {
  margin: 0;
}
.profile dt {
  font-weight: normal;
  font-size: .92em;
  line-height: 1.3em;
  margin-top: 1.4em;
  margin-bottom: .45em;
}
.profile dd {
  margin-bottom: 1.6em;
}

/**
 * CSS support
 */

/*******************************************************************
 * Color Module: Don't touch                                       *
 *******************************************************************/

/**
 * Generic elements.
 */
.messages {
  background-color: #FFF;
  border: 1px solid #B8D3E5;
}
.preview {
  background-color: #FCFCE8;
  border: 1px solid #E5E58F;
}
div.status {
  color: #33A333;
  border-color: #C7F2C8;
}
div.error, tr.error {
  color: #A30000;
  background-color: #FCC;
}
.form-item input.error, .form-item textarea.error {
  border: 1px solid #C52020;
  color: #363636;
}

/**
 * dblog.module
 */
tr.dblog-user {
  background-color: #FCF9E5;
}
tr.dblog-user td.active {
  background-color: #FBF5CF;
}
tr.dblog-content {
  background-color: #FEFEFE;
}
tr.dblog-content td.active {
  background-color: #F5F5F5;
}
tr.dblog-warning {
  background-color: #FDF5E6;
}
tr.dblog-warning td.active {
  background-color: #FDF2DE;
}
tr.dblog-error {
  background-color: #FBE4E4;
}
tr.dblog-error td.active {
  background-color: #FBDBDB;
}
tr.dblog-page-not-found, tr.dblog-access-denied {
  background: #D7FFD7;
}
tr.dblog-page-not-found td.active, tr.dblog-access-denied td.active {
  background: #C7EEC7;
}

/**
 * Status report colors.
 */
table.system-status-report tr.error, table.system-status-report tr.error th {
  background-color: #FCC;
  border-color: #EBB;
  color: #200;
}
table.system-status-report tr.warning, table.system-status-report tr.warning th {
  background-color: #FFD;
  border-color: #EEB;
}
table.system-status-report tr.ok, table.system-status-report tr.ok th {
  background-color: #DFD;
  border-color: #BEB;
}
