/**
 * Content elements styles
 *
 * @copyright       Copyright 2005-2008, Dirk Jesse
 * @license         CC-A 2.0 (http://creativecommons.org/licenses/by/2.0/),
 *                  YAML-C (http://www.yaml.de/en/license/license-conditions.html)
 * @link            http://www.yaml.de
 */

/**
 * Zikula BlankTheme adaptation
 * @link            http://www.blanktheme.org
 *
 * @author          Mateo Tibaquira
 * @link            http://www.nestormateo.com
 * @author          Erik Spaan
 * @link            http://www.erikspaan.nl
 * @author          Dave Pahl
 * @link            http://www.dpahl.com
 * @version         $Id: content.css 431 2009-09-15 07:28:32Z mateo $
 */

/**
 * CSS Table of Contents
 *
 *  Global elements (content-global)
 *  General layout elements (content-layout)
 *  Links (content-links)
 *  Tables (content-tables)
 *  Generic content classes (content-generic-classes)
 *  Theme specific styles (content-theme-specific)
 *  Zikula Specific styles (content-zikula-specific)
 *     Fixes (content-zikula-fixes)
 *     Core styles (content-zikula-core)
 *     Value Addons (content-zikula-addons)
 *     Zikula Blocks (content-zikula-blocks)
 *     Miscelaneous (content-zikula-misc)
 *     Specific Zikula Zones (content-zikula-zones)
 */

@media all
{
  /**
   * Global elements
   * standar html elements styles
   * 
   * @section content-global
   */

  /* reset font size for all elements to standard (16 pixel) */
  html * { font-size: 100.01%; }

  /* reset monospaced elements to font size 16px in Gecko browsers */
  textarea, pre, code, kbd, samp, var, tt {
    font-family: Consolas, "Lucida Console", "Andale Mono", "Bitstream Vera Sans Mono", "Courier New", Courier;
  }

  /* base layout gets standard */
  body {
    color: #000000;
    font-family: Verdana, sans-serif;
    font-size: 75.00%; /* font size 12px */
  }

  h1, h2, h3, h4, h5, h6 {
    color: #666;
    /*font-family: "times new roman", times, serif;*/
    font-weight: bold;
    margin: 0 0 0.25em 0;
  }

  h1 {
    color: #004FA2;
    font-size: 1.5em;
  }
  h2 {
    color: #004FA2;
    font-size: 1.3em;
  }
  h3 {
    color: #004FA2;
    font-size: 1.2em;
  }
  h4 {
    font-size: 1.15em;
  }
  h5 {
    font-size: 1.1em;
  }
  h6 {
    font-size: 1.1em;
    font-style: italic;
  }

  /* Lists */

  ul, ol, dl {
    line-height: 1.5em;
    margin: 0 0 1em 1em;
  }
  li {
    line-height: 1.5em;
    margin-left: 1.5em;
  }

  dt {
    font-weight: bold;
  }
  dd {
    margin: 0 0 1em 2em;
  }

  /* text formatting */

  cite, blockquote, q {
    font-style: italic
  }
  blockquote {
    margin: 0 0 1em 1.6em;
  }

  strong, b {
    font-weight: bold;
  }
  em, i {
    font-style: italic;
  }

  pre, code, kbd, tt, samp, var {
    font-size: 100%;
  }
  pre, code {
    color: #800;
  }
  pre {
    line-height: 1.5em;
    margin: 0 0 1em 0;
  }
  kbd, samp, var {
    color: #666;
  }
  var {
    font-style: italic;
  }

  acronym, abbr {
    border-bottom: .1em dashed #c00;
    cursor: help;
    letter-spacing: .07em;
  }

  sub, sup {
    font-size: 91.6667%;
  }

  /* images (with optional captions) */

  p.icaption_left {
    display: inline;
    float: left;
    margin: 0 1em 0.15em 0;
  }
  p.icaption_right {
    display: inline;
    float: right;
    margin: 0 0 0.15em 1em;
  }

  p.icaption_left img,
  p.icaption_right img {
    border: 1px #888 solid;
    padding: 0;
  }

  p.icaption_left strong,
  p.icaption_right strong {
    background: #eee;
    display: block;
    font-size: 91.667%;
    font-weight: normal;
    margin-top: 2px;
    overflow: hidden;
    padding: 0.3em 0.5em;
  }

  /* Miscellaneous */

  a img,
  button img {
    vertical-align: middle;
  }

  fieldset {
    border: 1px solid #D9DAD5;
    padding: 5px 10px 10px;
  }

  p {
    line-height: 1.5em;
    margin: 0 0 1em 0;
  }

  hr {
    color: #fff;
    background: transparent;
    border: 0;
    border-bottom: 1px #eee solid;
    margin: 0 0 0.5em 0;
    padding: 0 0 0.5em 0;
  }



  /**
   * General layout elements
   * styles for the main containers and some of its specific contents
   * 
   * @section content-layout
   */

  #header h1 {
    color: #000;
    font-size: 36px;
    font-weight: normal;
    letter-spacing: -1px;
    line-height: 65%;
  }

  #header .slogan {
    color: #999;
    font-size: 16px;
  }

    #topnav {
      color: #3F598B;
      line-height: 23px;
      font-size: 12px;
      font-size: 12px;
    }

  #footer {
    color: #333;
    font-size: 11px;
    line-height: 150%; 
    text-align: right;
  }



  /**
   * Links
   * Formatting of hyperlinks
   * 
   * @section content-links
   */

  /* general links */
  a {
    color: #0057B1;
    text-decoration: underline;
  }
  a:focus,
  a:hover,
  a:active {
    text-decoration: none;
  }

  /* top navigation links */
  #topnav a {
    color: #0057B1;
    background: transparent;
    font-weight: normal;
    text-decoration: underline;
  }
  #topnav a:focus, 
  #topnav a:hover,
  #topnav a:active {
    background-color: transparent;
    text-decoration: none;
  }

  /* footer links */
  #footer a {
    background: transparent;
    color: #555;
    text-decoration: none;
  }
  #footer a:focus, 
  #footer a:hover,
  #footer a:active {
    background: transparent;
    text-decoration: underline;
  }



  /**
   * Emphasizing external Hyperlinks via CSS
   * 
   * @section             content-external-links
   * @app-yaml-default    disabled
   */

  /*
  #main a[href^="http://www.my-domain.com"],
  #main a[href^="https://www.my-domain.com"]
  {
    background-image: url('../../images/icons/ext_link.gif');
    background-position: 0 0.45em;
    background-repeat: no-repeat;
    padding-left: 12px;
  }
  */



  /**
   * Tables
   * Generic classes for table-width and design definition
   * 
   * @section content-tables
   */

  table {
    border-collapse: collapse;
    margin-bottom: 0.5em;
    /*width: auto;*/
  }
  table caption {
    font-variant: small-caps;
  }
  table.full,
  table.pn-datatable {
    width: 100%;
  }
  table.fixed {
    table-layout: fixed;
  }

  th,td {
    padding: 0.5em;
  }
  thead th {
    color: #000;
  }
  tbody th {
    background: #e0e0e0;
    color: #333;
  }
  tbody th[scope="row"], tbody th.sub {
    background: #f0f0f0;
  }
  tbody th {
    /*border-bottom: 1px solid #fff;*/
    text-align: left;
  }
  tbody td {
    /*border-bottom: 1px solid #eee;*/
  }

  tbody tr:hover th[scope="row"],
  tbody tr:hover tbody th.sub {
    background: #d9e9d9;
  }
  tbody tr:hover td {
    background: #e9f9e9;
  }

  thead th a {
    color: #000;
    text-decoration: underline;
  }



  /**
   * Generic Content Classes
   * standard classes for positioning and highlighting
   * 
   * @section content-generic-classes
   */

  .highlight {
    color: #f60;
  }
  .dimmed {
    color: #888;
  }

  .info {
    background: #f8f8f8;
    color: #666;
    font-size: 91.7%;
    margin-bottom: 0.5em;
    padding: 10px;
  }

  .note {
    background: #efe;
    border: 1px #484 solid;
    color: #040;
    margin-bottom: 1em;
    padding: 10px;
  }
  .important {
    background: #ffe;
    border: 1px #884 solid;
    color: #440;
    margin-bottom: 1em;
    padding: 10px;
  }
  .warning {
    background: #fee;
    border: 1px #844 solid;
    color: #400;
    margin-bottom: 1em;
    padding: 10px;
  }

  .text_left {
    text-align: left;
  }
  .text_right {
    text-align: right;
  }

  .float_left {
    display: inline;
    float: left;
    margin-bottom: 0.15em;
    margin-right: 1em;
  }
  .float_right {
    display: inline;
    float: right;
    margin-bottom: 0.15em;
    margin-left: 1em;
  }
  .center {
    display: block;
    margin: 0.5em auto;
    text-align: center;
  }
  
  .content_separator {
    border-bottom: 1px solid #DDDDDD;
    display: block;
    margin: 22px 0 18px;
  }
  .text_separator {
    color: #BBBBBB;
    padding: 0 2px;
  }



  /**
   * Theme specific styles
   * general styles defined by the theme
   * 
   * @section content-theme-specific
   */

  /* efa font resize styles, if not used comment out */
  .fontresize-large,
  .fontresize-reset, 
  .fontresize-small {
    width: 16px;
    height: 16px;
    padding: 3px 0;
  }
  .fontresize-large { 
    background: url(../../images/icons/font_resize.gif) no-repeat 0px 50%;
  }
  .fontresize-reset { 
    background: url(../../images/icons/font_resize.gif) no-repeat -20px 50%;
  }
  .fontresize-small { 
    background: url(../../images/icons/font_resize.gif) no-repeat -40px 50%;
  }

  /* Special styles for lists */
  ul {
    list-style-image: url('../../images/design/bg_li.gif')
  }

  /* Common corners definitions for the Design Boxes */
  .db_cornerstop,
  .db_cornerstop span,
  .db_cornersbottom,
  .db_cornersbottom span {
    display: block;
    font-size: 0px;
    height: 10px;
    line-height: 0;
  }
  .db_content,
  .db_content_inner {
    position: relative;
  }

  /* Design box #1 */
  .db1 {
    position: relative;
    margin: 0 0 10px;
  }
  .db1 .db_content {
    background: #fff url('../../images/design/bg_db1_content.png') no-repeat scroll top right;
  }
  .db1 .db_content_inner {
    background: url('../../images/design/bg_db1_content.png') no-repeat scroll top left;
    padding: 10px;
  }
  .db1 .db_title {
    background: #fff url('../../images/design/bg_db1_title.png') repeat-x;
    border-right: 1px solid #E8E8E8;
    float: none;
    height: 34px;
    margin: -10px -10px 10px;
  }
  .db1 .db_title h2,
  .db1 .db_title h3,
  .db1 .db_title h4 {
    background: url('../../images/design/bg_db1_title_left.png') no-repeat scroll top left;
    color: #004FA2;
    display: block;
    height: 27px;
    padding-left: 20px;    
    padding-top: 7px; 
  }
  .db1 .db_cornerstop,
  .db1 .db_cornerstop span,
  .db1 .db_cornersbottom,
  .db1 .db_cornersbottom span {
    display: none;
  }

  /* Design box #2 */
  .db2 {
    margin: 0 0 10px;
  } 
  .db2 .db_content {
    background: #fff url('../../images/design/bg_db2_content_right.png') repeat-y scroll right;
  }
  .db2 .db_content_inner {
    background: url('../../images/design/bg_db2_content_left.png') repeat-y scroll left;
    padding: 0px 10px 0px 10px;
  }

  .db2 .db_title h2,
  .db2 .db_title h3,
  .db2 .db_title h4 {
    border-bottom: 1px solid #E0E1E1;
    margin: 0 5px 10px 5px;
    padding: 0px 5px 5px 10px;
  }

  .db2 .db_cornerstop {
    background: url('../../images/design/bg_db2_right.png') no-repeat scroll right top;
  }
  .db2 .db_cornerstop span {
    background: url('../../images/design/bg_db2_left.png') no-repeat scroll left top;
  }
  .db2 .db_cornersbottom {
    background: url('../../images/design/bg_db2_right.png') no-repeat scroll right bottom;
  }
  .db2 .db_cornersbottom span {
    background: url('../../images/design/bg_db2_left.png') no-repeat scroll left bottom;
  }

  /* Design box #3 */
  .db3 {
    margin: 0 0 10px;
  }
  .db3 .db_content {
    background: #ebf3fa;
    border-left: 1px solid #b1c9d9;
    border-right: 1px solid #b1c9d9;
    padding: 0px 10px;
  }
  .db3 .db_title h2,
  .db3 .db_title h3,
  .db3 .db_title h4 {
    border-bottom: 1px solid #b1c9d9;
    margin: 0 5px 10px 5px;
    padding: 0px 5px 5px 10px;
  }

  .db3 .db_cornerstop {
    background: url('../../images/design/bg_db3_right.gif') no-repeat scroll right top;
  }
  .db3 .db_cornerstop span {
    background: url('../../images/design/bg_db3_left.gif') no-repeat scroll left top;
  }
  .db3 .db_cornersbottom {
    background: url('../../images/design/bg_db3_right.gif') no-repeat scroll right bottom;
  }
  .db3 .db_cornersbottom span {
    background: url('../../images/design/bg_db3_left.gif') no-repeat scroll left bottom;
  }

  /* Design box #4 */
  .db4 {
    margin: 0 0 10px;
  }
  .db4 .db_content {
    background: #FAFAFA;
    border-left: 1px solid #E0E1E1;
    border-right: 1px solid #E0E1E1;
    padding: 0px 10px;
  }
  .db4 .db_title h2,
  .db4 .db_title h3,
  .db4 .db_title h4 {
    border-bottom: 1px solid #E0E1E1;
    margin: 0 5px 10px 5px;
    padding: 0px 5px 5px 10px;
  }

  .db4 .db_cornerstop {
    background: url('../../images/design/bg_db4_right.png') no-repeat scroll right top;
  }
  .db4 .db_cornerstop span {
    background: url('../../images/design/bg_db4_left.png') no-repeat scroll left top;
  }
  .db4 .db_cornersbottom {
    background: url('../../images/design/bg_db4_right.png') no-repeat scroll right bottom;
  }
  .db4 .db_cornersbottom span {
    background: url('../../images/design/bg_db4_left.png') no-repeat scroll left bottom;
  }



  /**
   * Zikula specific styles
   * styles to be used in the Zikula templates
   * 
   * @section content-zikula-specific
   */


  /**
   * Fixes
   * @subsection content-zikula-fixes
   */

  /* multicategory selector */
  div.pn-formrow ul.selector_category li {
    list-style: none;
  }

  /* js context menus */
  #bt_wikula .bt_func_edit #col1_content,
  #bt_wikula .bt_func_edit #pn-maincontent,
  #bt_content.bt_type_edit #col1_content,
  #bt_content.bt_type_edit #pn-maincontent {
    position: inherit;
  }
  div.contextMenu ul li {
    margin-left: 0px;
  }

  /* jsCalendar */
  .calendar {
    z-index: 100;
  }
    .calendar tr.daysrow td.hilite {
      font-weight: bold;
    }

  /* Scribite */
  /* openwysiwyg fix*/
  .tableTextareaEditor th,
  .tableTextareaEditor td {
    padding: 0;
  }
  .tableTextareaEditor span {
    margin: 0;
  }


  /**
   * Core styles overrides
   * @subsection content-zikula-core
   */

  /* pn-menu */
  .pn-menu {
    color: #aaa;
    text-align: center;
    width: 100%;
  }
    .pn-menu a {
      padding: 3px 5px;
    }

  /* pn-pager */
  .pn-pager {
    color: #999;
    padding: 5px 4px;
  }
    .pn-pager a:hover {
      text-decoration: none;
    }

  /* main content */
  #pn-maincontent {
    display: block;
    position: relative;
  }


  /**
   * Value Addons styles
   * @subsection content-zikula-addons
   */
  
  /* News Articles */
  .news_index {
    padding: 15px 0 0;
  }
  .news_index h2 {
    margin: 0;
    padding: 2px 0px;
  }
  .news_index h2 a {
    text-decoration: none;
  }
  .news_index .news_hometext,
  .news_index .news_hometext p {
    line-height: 1.5em;
  }
  .news_index .news_hometext p {
    margin: 0;
  }
  .news_index_date {
    color: #AAA;
  }
  .news_title {
    margin-top: 10px;
  }
  .news_post_info {
    color: #777;
    font-size: 0.9em;
    margin: 0 0 0.3em;
  }
  .news_body,
  .news_body p {
    line-height: 1.5em;
  }
  .news_categories {
    border-top: 1px solid #EFEFEF;
    margin: 1em 0 0; /* optional */
    text-align: right;
  }
  #news_topic {
    float: right;
  }

  /* Ratings hook */
  #ratingsratecontent p {
    margin: 0;
  }


  /**
   * Zikula Blocks
   * @subsection content-zikula-blocks
   */

  /* General Blocks styles */
  .pn-block {
    margin-bottom: 15px;
  }
  .pn-block h4 {
    font-weight: 700;
    line-height: 22px;
    margin: 0;
    padding: 3px 4px;
  }
  .pn-block ul,
  .pn-block ol,
  .pn-block dl {
    margin: 0px;
  }

  /* Top Navigation Blocks */
  .pn-blockposition-navtop {
    margin-bottom: 0px;
  }

  /* Right Blocks */
  .pn-blockposition-right {
  }
  .pn-blockposition-right h4 {
  }

  /* Center Blocks */
  .pn-blockposition-center {
  }


  /**
   * Miscelaneous styles
   * @subsection content-zikula-misc
   */

  /* digger plugin */
  .diggers {
    background: #fff;
    /*border-top: 1px solid #EFEFEF;*/
    margin: 0px;
    /*margin-top: 1em; */
    padding: 2px;
    text-align: right;
  }

  .diggers a {
    background: none no-repeat bottom left ! important;
    margin-left: 5px;
    padding-left: 0 ! important;
  }


  /**
   * Specific Zikula Zones
   * @subsection content-zikula-zones
   */

  /* Example: Homepage main container */
  .bt_home #main {
    padding: 15px 0;
  }

  /* User profile information */
  #pnprofile table {
    width: 100%;
  }

}
