/**
 * Uniform design of standard content elements.
 *
 * @copyright Copyright 2005-2012, Dirk Jesse
 * @license   CC-BY 2.0 (http://creativecommons.org/licenses/by/2.0/),
 *            YAML-CDL (http://www.yaml.de/license.html)
 * @link      http://www.yaml.de
 */

/**
 * Zikula BlankTheme adaptation
 *
 * @author    Mateo Tibaquirá
 * @link      http://www.blanktheme.org
 */

/**
 * CSS Table of Contents
 *
 *  Global typography settings (content-typography)
 *      Headings
 *      Links
 *      General text formatting
 *      Miscellaneous
 *  Generic content classes (content-generic-classes)
 *  Tables (content-tables)
 *  General layout elements (content-layout)
 *  Links (content-links)
 *  Theme specific styles (content-theme)
 *  Zikula specific styles (content-zikula)
 *      Fixes
 *      Core overrides
 *  Customized styles (content-custom)
 */

@media all
{
  /**
   * Global typography settings
   *
   * @section content-typography
   *
   * vertical rhythm settings (based on em-unit)
   * -------------------------------------------
   * basefont-size:  14px (87.5%)
   * line-height  :  21px (factor: 1.5)
   */

  /**
   * reset font size for all elements to standard (16 Pixel)
   *
   * @see: http://webkit.org/blog/67/strange-medium/
   */
  html * {
    font-size: 100%;
  }

  /* reset monospaced elements to font size 16px in all 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 font size 14px */
  body {
    color: #444;
    font-family: "Droid Serif", Georgia, "Times New Roman", Times, serif;
    font-size: 87.50%; /* base: 14px */
  }

  /******* Headings *******/

  h1, h2, h3, h4, h5, h6 {
    color: #161e21;
    font-family: "Droid Serif", Georgia, "Times New Roman", Times, serif;
    font-weight: 400;
    margin: 0;
  }

  h1 {
    /* font-size: 48px; */
    font-size: 342.85714%;
    line-height: 0.875;
    margin: 0 0 0.4375em 0;
  }
  h2 {
    /* font-size: 32px; */
    font-size: 228.57143%;
    line-height: 1.3125;
    margin: 0 0 0.65625em 0;
  }
  h3 {
    /* font-size: 24px; */
    font-size: 171.42857%;
    line-height: 0.875;
    margin: 0 0 0.875em 0;
  }
  h4 {
    /* font-size: 21px; */
    font-size: 150%;
    line-height: 1;
    margin: 0 0 1em 0;
  }
  h5 {
    /* font-size: 18px; */
    font-size: 128.57143%;
    line-height: 1.16667;
    margin: 0 0 1.16667em 0;
  }
  h6 {
    /* font-size: 14px; */
    font-size: 100%;
    font-weight: bold;
    line-height: 1.5;
    margin: 0 0 1.5em 0;
  }

  /******* Lists *******/

  ul, ol, dl {
    font-size: 100%;
    line-height: 1.5;
    margin: 0 0 1.5em 0;
  }

  ul {
    list-style-type: disc;
  }
  ul ul {
    list-style-type: circle;
    margin-top: 0;
  }

  ol {
    list-style-type: decimal;
  }
  ol ol {
    list-style-type: lower-latin;
    margin-top: 0;
  }

  ol ul {
    list-style-type: circle;
    margin-top: 0;
  }

  li {
    font-size: 100%;
    line-height: 1.5;
    margin-left: 1.2em;
  }

  dt {
    font-weight: bold;
  }
  dd {
    margin: 0 0 1.5em 0.8em;
  }

  /******* General text formatting *******/

  p {
    font-size: 100%;
    line-height: 1.5;
    margin: 0 0 1.5em 0;
  }

  cite, blockquote, q {
    font-family: "Droid Serif", Georgia, "Times New Roman", Times, serif;
    font-style: italic
  }
  blockquote {
    background: transparent;
    color: #666;
    margin: 0 0 1em 1.6em;
  }

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

  big {
    /* font-size: 16px; */
    font-size: 114.28571%;
    line-height: 1.3125;
  }
  small {
    /* font-size: 12px; */
    font-size: 85.71429%;
    line-height: 1.75;
  }

  pre, code, kbd, tt, samp, var {
    font-size: 100%;
  }
  pre {
    font-size: 100%;
    line-height: 1.5;
    margin: 0 0 1.5em 0;
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;
  }
  pre, code {
    color: #800;
  }
  kbd, samp, var, tt {
    color: #666;
    font-weight: bold;
  }
  var, dfn {
    font-style: italic;
  }

  acronym, abbr {
    border-bottom: 1px dotted #aaa;
    cursor: help;
    font-variant: small-caps;
    letter-spacing: .07em;
  }

  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }

  mark {
    background: yellow;
    color: black;
  }

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

  /******* Miscellaneous *******/

  img, figure {
    margin: 0;
  }

  .flexible {
    height: auto;
    margin-top: 1.5em;
    max-width: 100%;
  }

  * html .flexible { /* IE6 support */
    width: 98%; /* 2% space for borders */
  }

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

  .z-buttons a img,
  .z-buttons button img {
    vertical-align: baseline;
  }

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

  .bordered {
    border: 2px #eee solid;
    border: 2px rgba(255,255,255,1) solid;
    -webkit-box-shadow: 0 0 3px rgba(0,0,0,.25);
    -moz-box-shadow: 0 0 3px rgba(0,0,0,.25);
    box-shadow: 0 0 3px rgba(0,0,0,.25);
    margin-top: 1.5em;
  }

  .box {
    border-radius: 0.3em;
    border-width: 1px;
    border-style: solid;
    border-color: #888;
    border-color: rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.2);
    box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.2);
    color: #444;
    color: rgba(0, 0, 0, 0.8);
    margin: 0 0 1.5em 0;
    padding: 1.42857em;
  }

  .box > *:last-child {
    margin-bottom: 0;
  }

  .label {
    background: #06C;
    border-radius: 3px;
    color: #fff;
    display: inline-block;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 10px;
    letter-spacing: normal;
    line-height: 12px;
    padding: 1px 6px 2px;
    vertical-align: middle;
    white-space: nowrap;
  }

  /* efa font resize styles */
  .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%;
  }



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

  .highlight {
    color: #c30;
  }
  .dimmed,
  .dimmed a {
    color: #888;
  }

  .small-text {
    font-size: 0.9em;
  }
  .smallerl-text {
    font-size: 0.8em;
  }
  .smallestl-text {
    font-size: 0.7em;
  }

  .largel-text {
    font-size: 1.15em;
  }
  .largerl-text {
    font-size: 1.25em;
  }
  .largestl-text {
    font-size: 1.35em;
  }

  .text-left {
    text-align: left;
  }
  .text-right {
    text-align: right;
  }
  .center {
    display: block;
    margin: 0 auto 1.5em auto;
    text-align: center;
  }

  .float-left {
    display: inline;
    float: left;
    margin: 0 1em 1.5em 0;
  }
  .float-right {
    display: inline;
    float: right;
    margin: 0 0 1.5em 1em;
  }

  .content-separator {
    border-bottom: 1px solid #ddd;
    display: block;
    margin: 22px 0 18px;
  }

  .text-separator {
    color: #bbb;
    padding: 0 2px;
  }



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

  table {
    border-collapse: collapse;
    color: #444444;
    border-top: 1px #ccc solid;
    border-bottom: 1px #ccc solid;
    margin: 0 0 1.35714em 0;
  }
  table.full,
  table.z-datatable {
    width: 100%;
  }
  table.narrow {
    margin: 0 0 1.42857em 0;
  }
  table.narrow th,
  table.narrow td {
    padding: 0 0.5em;
    line-height: 1.42857;
  }
  table.fixed {
    table-layout: fixed;
  }
  table.bordertable {
    border: 1px #ccc solid;
  }
  table.bordertable thead th {
    background: #e0e0e0;
    border-bottom: 1px #ccc solid;
    border-right: 1px #ccc solid;
  }
  table.bordertable tbody th[scope="row"] {
    background: #f0f0f0;
  }
  table.bordertable tbody th {
    border-right: 1px solid #ccc;
  }
  table.bordertable tbody td {
    border-right: 1px solid #ccc;
  }

  caption {
    font-variant: small-caps;
  }

  th,
  td {
    line-height: 1.5em;
    vertical-align: top;
    padding: 0.71429em 0.5em;
  }

  th *:first-child,
  td *:first-child {
    margin-top: 0;
  }

  th.nowrap,
  td.nowrap {
    white-space: nowrap;
  }

  table.z-datatable thead th a {
    color: #000;
    text-decoration: none;
  }

  table.z-datatable thead th {
    text-align: left;
    color: #000;
    border-bottom: 2px #000 solid;
  }

  table.z-datatable tbody th,
  table.z-datatable tbody td {
    border-top: 1px solid #ccc;
    text-align: left;
  }
  table.z-datatable tbody tr:hover th,
  table.z-datatable tbody tr:hover td {
    background: #f8f8f8;
  }

  table.z-datatable th,
  table.z-datatable td {
    padding: 0.5em;
  }



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

  /******* Fixes *******/

  /* js context menus */
  #bt-wikula .bt-func-edit .ym-col1 .ym-cbox,
  #bt-wikula .bt-func-edit #z-maincontent,
  #bt-content.bt-admin .ym-col1 .ym-cbox,
  #bt-content.bt-type-edit .ym-col1 .ym-cbox,
  #bt-content.bt-admin #z-maincontent,
  #bt-content.bt-type-edit #z-maincontent {
    position: inherit;
  }
  div.contextMenu ul li {
    margin-left: 0px;
  }

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

  /* Scribite */
  .htmlarea {
    border: 1px solid #ccc !important;
  }

  /******* Core overrides *******/

  .z-form div.z-formrow span label,
  .z-form div.z-formrow div label {
    padding: 0 1em 0 0.5em;
  }

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

  /* z-pager */
  .z-pager {
    color: #999;
  }
  .z-pager a:hover {
    text-decoration: none;
  }



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

  header {
    background: #eee;
    color: #ccc;
    height: 110px;
    padding: 0 1.5em; /* do not use top/bottom paddings with fixed height */
    position: relative;
    /*z-index: 100;*/ /* when the navigation is placed inside the header and a multi level menu is used this is needed for ie */
  }

    /* title and slogan */
    header h1 {
      background: transparent;
      margin: 0;
      padding: 37px 0 0 0;
    }
    header .slogan {
      color: #777;
      float: left;
      font-size: 16px;
      padding: 0.5em;
    }

    header h1,
    header h1 a {
      color: #349 !important;
      font-size: 36px;
      letter-spacing: -1px;
      line-height: 65%;
    }

    /* logo */
    header .logo {
      float: left;
      margin: 30px 12px 0 0;
    }

    /* top navigation container */
    #topnav {
      background: transparent;
      color: #aaa;
      font-size: 100%;
      line-height: 1.5;
      text-align: right; /* LTR */
      position: absolute;
      right: 10px; /* LTR */
      top: 10px;
    }

  nav {
    background: #222222;
  }

  main {
    padding: 1em 0;
  }

  footer {
    background: #eee;
    color: #444;
    font-size: 100%;
    line-height: 1.5;
    padding: 1.5em;
    text-align: left;
  }
    footer p {
      margin: 0;
    }
    #footer-sublinks {
      font-size: 90%;
    }



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

  /* general links */
  a {
    background: transparent;
    color: #4d87c7;
    text-decoration: none;
  }
  a:active {
    outline: none;
  }
  a:visited {
    color: #036;
  }
  a:hover,
  a:focus {
    /* if you use backgrounds or borders here
       you will interfere zikula core styles */
    color: #182e7a;
    text-decoration: underline;
  }

  /* top navigation links */
  #topnav a {
    background: transparent;
    color: #4d87c7;
    font-size: 100%;
    font-weight: normal;
    text-decoration: none;
  }
  #topnav a:focus,
  #topnav a:hover,
  #topnav a:active {
    background-color: transparent;
    text-decoration: underline;
  }

  /* title link */
  header h1 a:focus,
  header h1 a:hover,
  header h1 a:active {
    background: transparent;
    text-decoration: none;
  }

  /* footer links */
  footer a,
  footer a:visited {
    background: transparent;
    color: #555;
    /*font-weight: bold;*/
  }
  footer a:focus,
  footer a:hover,
  footer a:active {
    background: transparent;
    color: #4d87c7;
    text-decoration: underline;
  }
    #footer-sublinks a {
      font-size: 100%;
      font-weight: normal;
    }



  /**
   * Theme custom styles
   * customized styles for the theme
   *
   * @section content-theme
   */

  /* blocks styles */
  .z-block {
    margin-bottom: 15px;
  }
  .z-block .z-block-title {
    line-height: 22px;
    margin: 0;
    padding: 3px 4px;
  }
  .z-block .z-block-content {
    padding: 5px;
  }
  .z-block ul,
  .z-block ol,
  .z-block dl {
    margin: 0px;
  }

  /* top and bottom navigation blocks */
  .z-blockposition-topnav,
  .z-blockposition-bottomnav {
    margin: 0px;
  }

  /* header and footer blocks default styles */
  .z-blockposition-header,
  .z-blockposition-footer {
    float: right;
  }


  /* special styles for posts entries */
  .post {
    /* your stuff */
  }
}
