/**
 * Haupt-CSS fuer die CD-Toolbox der VolkswagenStiftung
 *
 * Grob basierend auf den Vorgaben fuer die Hauptseite der Stiftung, ueberarbeitet
 * und modernisiert durch wirDesign in Braunschweig. 
 * Kompatibel zu IE6/7 und FF 2/3
 * 
 * @author   Thomas-Ivo Heinen <heinen@volkswagenstiftung.de>
 * @version  0.1
 * @date     20081023T0900Z 
 * @link     http://toolbox.volkswagenstiftung.de/
 *
 * @colordef #000033;  Dunkelblau; Trenner Hauptmenue, Schrift
 * @colordef #003366;  Blau; Seitenhintergrund, Fettschrift, Überschriften, Menüs
 * @colordef #a5df00;  Dunkelgruen; Hintergrund Metamenue
 * @colordef #cbec6c;  Hellgruen; Hintergrund aktiver Punkt im Metamenue
 * @colordef #ffffff;  Weiss; Hintergrund Contentbereich, Schrift im Header
 * @colordef #cccccc;  Hellgrau; Hintergrund Sitemap
 * @colordef #666666;  Grau; Schrift Hauptmenue
 * @colordef #333333;  Dunkelgrau; Links in der Sitemap
 * @colordef #ff0000;  Rot; Aufzaehlungsueberschriften, Fehler
 */



/**
 * Zuruecksetzen aller CSS-Voreinstellungen in Browsern, um die Entwicklung einfacher
 * und die Optik konsistenter zu machen.
 *
 * @section  browser-reset
 * @see      http://meyerweb.com/eric/tools/css/reset/
 */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, 
blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font,
img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, 
center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, 
tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

:focus {
  outline: 0;
}

ins {
  text-decoration: none;
}

del {
  text-decoration: line-through;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}



/**
 * Tag-basierte Formatierungen als globale Stilvorgaben
 *
 * @section  tag-based
 */
a {
  color: inherit;
  background: transparent;

  font-weight: bold;
  text-decoration: none;
}

body {
  color: #ffffff;
  background-color: #003366;

  font-size: 12px;
  font-family: 'Verdana', sans;
  text-align: center;
}



/**
 * Medien-basierte Formate
 *
 * Alle Elemente der Klasse "screen" anzeigen und der Klasse
 * "print" verstecken. Im Print-Stylesheet genau andersherum
 *
 * @section  screen-based
 */
.print {
  display: none;
}

.screen {
}



/**
 * Layout: Positionen, Abstände, Breiten etc
 *
 * @section  layout
 */
#container {
  width: 800px;

  margin: 20px auto 0; 

  text-align: left;
  }

  #header-top {
    overflow: hidden;
    height: 80px;
    }

    #header-top-left {
      float: left;
      width: 261px;
    }

    #header-top-right {
      float: left;
      width: 537px;
      }

      #font-selector {
        float: left;
        width: 265px;
        height: 20px;

        margin-top: 7px;
        margin-left: 294px;

        /* Schrift beibehalten */
        font-size: 12px !important;
        }

        #font-selector a {
          color: #ffffff !important;
        }

        #font-selector img {
          margin-bottom: -5px;
        }

        #font-selector span {
          margin-left: 20px;
          }

          #font-selector span.label {
            font-weight: bold;
      }

      /** Suche wurde wegrationalisiert */
      #search {
        float: left;
        width: 239px;

        font-size: 12px !important;
  }

  #header-bottom {
    clear: left;
    height: 102px;
    }

    #header-bottom-left {
      float: left;
      width: 243px;
      height: 102px;

      color: inherit;
      background: transparent url(../graphics/quadrate-243x102.gif) no-repeat 0 0;
    }

    #header-bottom-right {
      float: left;
      width: 557px;
      }
 
      #claim {
        height: 68px;
        }

        #claim img {
          margin: 5px 0 0 391px;
      }

      #metamenu-wrap {
        height: 46px;

        padding: 12px 0 0 17px;

        color: #003366;
        background-color: #a5df00;
  }

  #content {
    clear: left;
    height: auto;
    min-height: 600px; 

    color: #000033;
    background-color: #ffffff;
    }

    #content-left {
      width: 243px;
      float: left;

      padding-top: 10px;

      color: inherit;
      background-color: #ffffff;
    }

    #content-right {
      overflow: hidden;
      float: left;
      width: 500px;

      padding: 11px 37px 20px 20px;

      color: #000033;
      background-color: #ffffff;
  }

  #footer {
    clear: left;
}



/**
 * Haupt- und Metamenue-Formatierung
 *
 * @section  menus
 */
ul#metamenu {

  font-size: 10px;
  }

  ul#metamenu li {
    display: inline;

    margin-right: 10px;
    padding: 5px 3px;
    }

    ul#metamenu li.active {
      background-color: #cbec6c;
      }

      ul#metamenu li.active a.active {
    }

    ul#metamenu li a {
      color: #003366;
}

ul#mainmenu {
  }

  #mainmenu a {
    color: #666666;
    background: inherit;

    font-weight: normal;
    }

    #mainmenu a.active {
      color: #003366;

      font-weight: bold;
  }

  #mainmenu li ul {
    display: none;
    }

    #mainmenu li.active ul {
      display: block;
    }

    #mainmenu li.active li ul {
      display: none;
    }

    #mainmenu li.active li.active ul {
      display: block;
    }


    #mainmenu li.active li.active ul li ul {
      display: none;
    }

    #mainmenu li.active li.active ul li.active ul {
      display: block;
  }

  #mainmenu li {
    padding: 10px 0 15px 20px;
    border-bottom: 1px solid #000033;
    }

    #mainmenu li li {
      padding: 5px 0 5px 15px;
      border: 0;
}



/**
 * Formularformatierung
 *
 * @section  forms
 */
form {
  margin-top: 6px;
  margin-left: 40px;
  }

  input {
    height: 18px;

    border: 0;
    padding: 0;
    }

    input.suche {
      width: 53px;

      color: #ffffff;
      background: none;

      font-weight: bold;
      text-align: right;
}



/**
 * Formatierung des Inhaltsbereiches
 *
 * @section  content
 */
#content {
  margin-bottom: 25px;

  line-height: 1.6;
  }

  #content h1 {
    padding-bottom: 2px;

    color: #003366;
    background: inherit;

    font-size: 22px;
    font-family: 'Georgia', serif;
    font-weight: normal;
  }

  #content p {
    padding-bottom: 10px;
  }

  #content-right a {
    overflow: hidden; 

    color: #000033;

    font-weight: normal;
    text-decoration: underline;
  }

  #content-right div.csc-textpic {
    margin-top: 2em;
  }

  #content-right dl.csc-textpic-image {  
    padding-bottom: 1em;
  }

  #content-right img.frontEndEditIcons {
    display: none;
  }

  div.csc-textpic-image {
    text-align: center;
}



/**
 * Formatierungen fuer Extensions
 *
 * @section  extensions
 */
/** Sitemap */
div.csc-sitemap {
  width: 500px;

  padding-top: 6px;

  font-size: 13px;
  }

  div.csc-sitemap li {
    margin-bottom: 20px;
    background-color: #cccccc;
    color: #333333;
    }

    div.csc-sitemap li a {
      padding: 3px 4px;
      color: #333333;

      font-weight: normal;
      }

      div.csc-sitemap ul ul {
        background: #ffffff url(../../../fileadmin/graphics/vws_bg_grey.gif);
      }

      div.csc-sitemap li li {
        padding-left: 10px;
        margin-top: 1px;
        margin-bottom: 0;

        background-color: transparent;
    }

    div.csc-sitemap li li a {
      background: transparent url(../../../fileadmin/graphics/list_grey.gif) no-repeat 2px 8px;

	padding-left: 13px;
  }

  div.csc-sitemap li li ul {
    background-color: transparent;   
    background-image: none;
}

/** Downloadlisten */
div.tx-damdownloads-pi1 {
  }

  div.csc-header h4,
  div.csc-header h5 {
    width: 100%;

    color: #ff0000;
  }

  div.csc-header h4,
  div.csc-header h5 {
    border-bottom: 1px solid #ff0000;
    padding-top: 1em;
  }

  div.tx-damdownloads-pi1 ul {
    }
 
    div.tx-damdownloads-pi1 li {
      margin-top: 5px;
      padding-left: 25px;

      background: transparent none no-repeat 0 0;
      }

      div.tx-damdownloads-pi1 li.pdf {
        background-image: url(../graphics/icons/icon_pdf.gif);   
      }
      div.tx-damdownloads-pi1 li.qxd {
        background-image: url(../graphics/icons/icon_qxd.gif);
      }
      div.tx-damdownloads-pi1 li.eps {
        background-image: url(../graphics/icons/icon_eps.gif);
      }
      div.tx-damdownloads-pi1 li.ps {
        background-image: url(../graphics/icons/icon_eps.gif);
 	}
      div.tx-damdownloads-pi1 li.bmp,
      div.tx-damdownloads-pi1 li.gif,
      div.tx-damdownloads-pi1 li.jpg,
      div.tx-damdownloads-pi1 li.png {
        background-image: url(../graphics/icons/icon_image.gif);
  }

  div.tx-damdownloads-pi1 form {
    display: none;
}

/** Loginformular */
div.tx-newloginbox-pi1 {
  }

  div.tx-newloginbox-pi1 label {
    display: block;
    float: left;
    clear: left;
    width: 100px;

    margin-top: 5px;
  }

  div.tx-newloginbox-pi1 input {
    display: block;
    float: left;
    clear: none;

    margin-top: 5px;
    }

    div.tx-newloginbox-pi1 input.formtext {
      border: 1px solid #000033;
      padding: 1px 5px;
    }

    div.tx-newloginbox-pi1 input.button {
      clear: left;
      width: 100px;

      margin-top: 10px;  
      margin-left: 100px;
      border: 1px solid #000033;

      text-align: center;
}

/** Durchklickstrecken / Gallerie */
div.tx-rgsmoothgallery-pi1 {
  margin-top: 1em;
  margin-bottom: 20px;
  border-right: none;
  border-bottom: none;
  }

  div.tx-rgsmoothgallery-pi1,
  .jdGallery .slideElement,
  .jdGallery .loadingElement {
    background-color: #ffffff !important;
  }
  
  .myGallery {
    border: none !important;
    height: 430px !important;
    }
 
    /** Ausnahmen für hoehere Gallerien */
    div#myGallery2080,
    div#myGallery2084 {
      height: 520px !important;
    }
  
    div#myGallery2081 {
      height: 500px !important;
  }

  .jdGallery .slideElement {
    background-position: center top !important; 
  }

  /* InfoZone immer sichtbar */
  .jdGallery .slideInfoZone {
    visibility: visible !important;
    height: 20px !important;
    opacity: 1.0 !important;
    filter: Alpha(opacity=100) !important;

    color: #003366 !important;
    background-color: #ffffff !important; 
    }

    .jdGallery .slideInfoZone h2 {
      font-size: 100% !important;
      width: 100%; 
      text-align: center;
      margin-top: 1px !important;
  }

  /** Pfeilstile ändern: Immer undurchsichtig, in der SlideInfoZone */
  .jdGallery a.left,
  .jdGallery a.right {
    opacity: 1.0 !important;
    filter: Alpha(opacity=100) !important;

    position: absolute;
    height: 100% !important;
    z-index: 15 !important;
    background: transparent none no-repeat center bottom !important;
    }

    /** Andere Grafik für linken Pfeil */
    .jdGallery a.left {
      background-image: url(../graphics/icons/prev.gif) !important;
      background-position: left bottom !important;
    }

    /** Andere Grafik für rechten Pfeil */
    .jdGallery a.right {
      background-image: url(../graphics/icons/next.gif) !important;
      background-position: right bottom !important;
}



/**
 * Abweichende Stile fuer IE
 *
 * @section    ie-common
 * @workaround 
 * @affected   IE6
 * @css-for    all browsers
 * @valid      yes
 */
#content {
  height: auto !important;
  height: 550px;
}

#content-right {
  float: none !important;
  float: left;
  width: 500px !important;
  width: 550px;
}

#font-selector {
  margin-left: 274px !important;
  margin-left: 137px;
}

#metamenu-wrap {
  height: 22px !important;
  height: 34px;
}

div.tx-newloginbox-pi1 input.formtext {
  margin-right: 0 !important;
  margin-right: 200px;
}
