/* $Id: html-elements.css,v 1.1.2.2 2009/02/13 19:42:10 johnalbin Exp $ */

/****
 **** HTML ELEMENT STYLING
 ****/

html {
	background-image: url(logo-apacare-bg.png);
	background-repeat: repeat-x;
	background-position: left top;
}

/** fonts **/
  /*
   * Our font size and line height declarations are based on the following ALA
   * article:
   *   http://www.alistapart.com/articles/howtosizetextincss
   *
   * All modern browsrs use a 16px default font size. Specifying the font-size
   * and line-height in ems (relative to the 16px default font) allows the user
   * to resize the font in the browser and produces the most consistent results
   * across different browsers.
   */
  body
  {
	font-size: 100%;
	background-image: url(apacare-bg.jpg);
	background-repeat: no-repeat;
	background-position: center 130px;
  }

  #page
  {
    /*
     * To use a 12px font size on the page, delete the 14px declarations.
     * to use a 14px font size on the page, delete the 12px declarations.
     */

    /* Use a 12px base font size with a 16px line height */
    font-size: 0.75em; /* 16px x .75 = 12px */
    line-height: 1.333em; /* 12px x 1.333 = 16px */

    /* Use a 14px base font size with a 18px line height */
    /* font-size: 0.875em; /* 16px x .875 = 14px */
    /* line-height: 1.286em; /* 14px x 1.286 = 18px */
  }

  body, caption, th, td, input, textarea, select, option, legend, fieldset
  {
    /* The following font family declarations are based on the Microsoft core
     * web fonts which are common fonts available on most computer systems. The
     * Bitstream Vera fonts are commonly available on Linux systems where the MS
     * fonts are less common.
     *
     * A user's web browser will look at the comma-separated list and will
     * attempt to use each font in turn until it finds one that is available
     * on the user's computer. The final "generic" font (sans-serif or serif)
     * hints at what type of font to use if the web browser doesn't find any
     * of the fonts in the list.

    font-family: "Times New Roman", Times, Georgia, "Bitstream Vera Serif", serif;
    font-family: Times, "Times New Roman", Georgia, "Bitstream Vera Serif", serif;
    font-family: Georgia, "Times New Roman", "Bitstream Vera Serif", serif;

    font-family: Verdana, Tahoma, Arial, Helvetica, "Bitstream Vera Sans", sans-serif;
    font-family: Tahoma, Verdana, Arial, Helvetica, "Bitstream Vera Sans", sans-serif;
    font-family: Helvetica, Arial, "Bitstream Vera Sans", sans-serif;
    font-family: Arial, Helvetica, "Bitstream Vera Sans", sans-serif;

    font-family: "Bitstream Vera Sans Mono", "Courier New", monospace;

     */

    font-family: Verdana, Tahoma, Arial, Helvetica, "Bitstream Vera Sans", sans-serif;
  }

  pre, code
  {
    font-size: 1.1em; /* Monospace fonts can be hard to read */
    font-family: "Bitstream Vera Sans Mono", "Courier New", monospace;
  }

/** headings **/
  h1
  {
		font-weight: normal;
		font-size: 2.5em;
    line-height: 1.3em;
    margin-top: 0;
    margin-bottom: 0; /* 0.5em is equavalent to 1em in the page's base font.
                             Remember, a margin specified in ems is relative to
                             the element's font-size, not to the pages' base
                             font size. So, for example, if we want a 1em margin
                             (relative to the base font), we have to divide that
                             length by the element's font-size:
                             1em / 2em = 0.5em */
  }

  h2, h3
  {
    font-size: 1.5em;
    line-height: 1.3em;
    margin-top: 0.667em; /* Equivalent to 1em in the page's base font: 1 / 1.5 = 0.667em */
    margin-bottom: 0.667em;
		color: #3399cc;
  }

  h2
  {
	color: #434343;
	margin-top: 0;
	padding-left: 10px;
	margin-bottom: 40px;
  }

  h4, h5
  {
    font-size: 1.3em;
    line-height: 1.3em;
    margin-top: 0.769em; /* Equivalent to 1em in the page's base font: 1 / 1.3 = 0.769 */
    margin-bottom: 0.769em;
		color: #3399cc;
  }

  h4
  {
	color: #434343;
  }


	h6
  {
    font-size: 1.1em;
    line-height: 1.3em;
    margin-top: 0.909em; /* Equivalent to 1em in the page's base font: 1 / 1.3 = 0.769 */
    margin-bottom: 0.909em;
		color: #434343;
  }


/** color switch für produktunterseiten **/

/* Cumdente und Click Implants*/
  .cumdente h1
  {
	border-bottom-width: 20px;
	border-bottom-style: solid;
	color: #FFF;
	background-color: #77b4d3;
	padding-top: 30px;
	padding-right: 10px;
	padding-bottom: 4px;
	padding-left: 10px;
	border-bottom-color: #99cc00;
	background-image: url(2px-white.gif);
	background-repeat: repeat-x;
	background-position: left bottom;
  }
	
	#sidebar-right-inner.cumdente h2 {
	text-align: right;
	margin-top: 0;
	margin-bottom: 0px;
	}
	

/** Überschriften Box **/

.box h3
{
	font-size: 1em;
	line-height: 1em;
	color: #434343;
	margin-bottom: 0.5em;
}


/** block-level elements **/
  p, ul, ol, dl, pre, table, fieldset, blockquote
  {
    margin: 1em 0;
	font-size: 1em;
	line-height: 1.5em;
	color: #434343;
  }

/** lists **/
  /* standardize list item indentation */
  ul, ol
  {
    margin-left: 0;
    padding-left: 2em;
  }

  .block ul, /* Drupal overrides */
  .item-list ul
  {
    margin: 1em 0;
    padding: 0 0 0 2em;
  }

  ul ul, ul ol,
  ol ol, ol ul,
  .block ul ul, .block ul ol,
  .block ol ol, .block ol ul,
  .item-list ul ul, .item-list ul ol,
  .item-list ol ol, .item-list ol ul
  {
    margin: 0;
  }

  li
  {
    margin: 0;
    padding: 0;
  }

  .item-list ul li /* Drupal override */
  {
    margin: 0;
    padding: 0;
    list-style: inherit;
  }

  ul.menu li, /* Drupal override */
  li.expanded,
  li.collapsed,
  li.leaf
  {
	margin: 0;
	padding: 0;
	list-style-type: none;
  }

  ul          { list-style-type: disc; }
  ul ul       { list-style-type: disc; }
  ul ul ul    { list-style-type: disc; }
  ul ul ul ul { list-style-type: disc; }
  ol          { list-style-type: decimal; }
  ol ol       { list-style-type: lower-alpha; }
  ol ol ol    { list-style-type: decimal; }

  dt
  {
    margin: 0;
    padding: 0;
  }

  dd
  {
    margin: 0 0 0 2em;
    padding: 0;
  }

/** Main Navigation **/

	#navbar-inner ul li
	{
		line-height: 1em;
	}

	#navbar-inner ul li a
	{
	color: #FFF;
	text-decoration: none;
	display: block;
	/*height: 27px;*/
	/*padding-top: 15px;*/
	padding: 15px 10px 15px 0;
	font-weight: bold;
	}

	#navbar-inner ul li a:hover, #navbar-inner ul li a:focus
	{
	background-image: url(navbar-hover.png);
	background-repeat: repeat-x;
	background-position: left top;
	}
	
	#navbar-inner ul li a.active
	{
	background-image: url(navbar-active.png);
	background-repeat: repeat-x;
	background-position: left top;
	color: #77b4d3;
	}
	
	#navbar-inner li
	{
	position: relative;
	width: 120px;
	}
	
	#navbar-inner ul ul li
	{
	position: relative;
	text-align: left;
	clear: both;
	}
	
	#navbar-inner ul ul
	{
	position: absolute;
	top: 40px;
	left: 0px;
	}

	#navbar-inner ul ul.last
	{
	position: absolute;
	top: 40px;
	left: -60px;
	}
	
	#navbar-inner ul ul ul
	{
	position: absolute;
	top: 0px;
	left: 180px;
	}

	#navbar-inner ul ul li a
	{
	width: 150px;
	padding: 10px 10px 10px 30px;
	background-color: #666666;
	background-image: url(dreieck-hellgrau-auf-dunkelgrau.png);
	background-repeat: no-repeat;
	background-position: 10px center;
	}
	
	#navbar-inner ul ul ul li a
	{
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #c9c9c9;
	font-size: 0.9em;
	line-height: 1em;
	}
	
	#navbar-inner ul ul li a:hover, #navbar-inner ul ul li a:focus, #navbar-inner ul ul li a.active, #navbar-inner ul ul li a > ul li a:hover
	{
	background-image: url(dreieck-orange-auf-dunkelgrau.png);
	background-repeat: no-repeat;
	background-position: 10px center;
	font-weight: bold;
	}
	
	#navbar-inner ul ul, #navbar-inner ul li:hover ul ul
	{
	visibility: hidden;
	}

	#navbar-inner ul li:hover ul, #navbar-inner ul ul li:hover ul
	{
	visibility: visible;		
	}



/** Subnavigation **/
  #subnavi ul
  {
	  padding: 0em;
  }

  #subnavi ul li a
  {
	color: #666;
	/*background-color: #fff;*/
	display: block;
	border: 1px solid #fff;
	text-decoration: none;
	font-size: 1.2em;
	/*height: 24px;*/
	padding-top: 5px;
	padding-bottom: 5px;
	padding-right: 10px;
	padding-left: 30px;
	background-image: url(dreieck-dunkel-auf-weiss.png);
	background-repeat: no-repeat;
	background-position: 10px center;
  }

  #subnavi ul.menu ul li a
  {
	  padding-left: 50px;
  }
  
  #subnavi ul.menu ul ul li a
  {
	  padding-left: 70px;
  }
/* Farben Cumdente */
  #subnavi ul li a:hover, #subnavi ul li a:focus
  {
	color: #666;
	background-color: #e5e5e5;
	background-image: url(dreieck-dunkelgrau-auf-hellgrau.png);
  }
  
  #subnavi a.active
  {
	background-image: url(dreieck-orange-auf-weiss.png);
	font-weight: bold;
  }

/** links **/
  /* The order of link states are based on Eric Meyer's article:
   * http://meyerweb.com/eric/thoughts/2007/06/11/who-ordered-the-link-states
   */
	a {
		color: #3399cc;
	}
	
  a:link, a:visited
  {
	text-decoration: none;
  }

  a:visited
  {
  }

  a:hover,
  a:focus
  {
	text-decoration: underline;
  }

  a:active
  {
	text-decoration: none;
  }

	/** Box **/
	h1 a, .box-inner h2 a
	{
	text-decoration: none;
	}

	/** Footer **/

	#footer-inner ul
	{
	margin: 0px;
	padding-top: 35px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 10px;
	}

	#footer-inner li
	{
	display: inline;
	color: #333;
	margin-right: 30px;
	}
	
	#footer-inner a
	{
	color: #FFF;
	}

	#footer-inner a:link, #footer-inner a:visited
  {
	text-decoration: none;
  }

  #footer-inner a:hover,
  #footer-inner a:focus
  {
	text-decoration: none;
  }

  #footer-inner a:active
  {
	text-decoration: underline;
  }

/** tables **/
  /* Override Drupal default CSS */
  table
  {
    border-collapse: collapse;
		border-style: solid;
    /* width: 100%; */ /* Prevent cramped-looking tables */
  }

  th,
  thead th,
  tbody th
  {
    text-align: left;
    padding-right: 0;
    border-bottom: none;
  }

  tbody
  {
    border-top: none;
  }

/** abbreviations **/
  abbr
  {
    border-bottom: 1px dotted #666;
    cursor: help;
    white-space: nowrap;
  }

  /* Date-based "abbreviations" show computer-friendly timestamps which are not
     human-friendly. */
  abbr.created
  {
    border: none;
    cursor: auto;
    white-space: normal;
  }

/** images **/
  img
  {
	border-top-width: 0;
	border-right-width: 0;
	border-bottom-width: 0;
	border-left-width: 0;
  }
	
	img.inline
	{
		padding: 0px 5px;
	}
	
  .box img
  {
	margin-right: 10px;
	margin-bottom: 10px;
	vertical-align: text-top;
  }
	
	.box p
	{
	margin-top: 0.5em;
	margin-right: 0;
	margin-bottom: 0.5em;
	margin-left: 0;
	}


/** horizontal rules **/
  hr
  {
	height: 1px;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #c9c9c9;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
  }

/** forms **/
  form
  {
    margin: 0;
    padding: 0;
  }

  fieldset
  {
    margin: 1em 0;
    padding: 0.5em;
  }
	
/** custom layout classes **/
  .clear
  {
	  clear: both;
  }

	.float-left
	{
		float: left;
	}

	.float-right
	{
		float: right;
	}

	.date
	{
	font-size: 0.9em;
	color: #666;
	}

	.teaser-left
	{
	width: 160px;
	margin-right: 59px;
	float: left;
	}

	.teaser-right
	{
	width: 160px;
	float: left;
	}
	
	ul.inline-block li
	{
		display: inline-block;
		padding-right: 10px;
	}
