/**
 * Global
 * ~~~~~~
 */

body,
.ui-helper-reset
{
  line-height: 1.5;
}

p
{
  text-align: justify;
}

ul li
{
  list-style: none;
}

ol
{
  margin-left: 3em;
}

abbr.date,
.vcard abbr,
#tail abbr
{
  border-bottom: none;
}

h1
{
  font-size: 2.5em;
}

h2
{
  font-size: 1.75em;
}

h3
{
  font-size: 1.25em;
  font-weight: bold;
}

h4
{
  font-size: 1.1em;
  font-weight: bold;
}

.p
{
  margin: 0 0 1.5em;
}

.thinspace
{
  font-size: .5em;
}

/**
 * Layout
 * ~~~~~~
 */

body
{
  font-family: Arial, sans-serif;
  background-image: url('../images/background_big.png');
  background-repeat: repeat-x;
}

.container,
.span-24
{
  width: 965px !important;
}

/* for alternative media (print, text browsers, text2speech) only: */
.accessibility,
#head h1,
#head h3
{
  display: none;
}

/**
 * Header
 */

#head
{
  height: 90px;
  margin-bottom: 1em;
  border-bottom-width: .5em;
  border-style: solid;
}

body.simple #head
{
  margin-bottom: 0;
  border-bottom-width: 0;
}

#head-image
{
  display: block;
  float: left;
  width: 220px;
  height: 90px;
}

#head .head-image-genetics
{
  background-image: url('../media/images/header/helix1.png');
}

#head .head-image-allergy
{
  background-image: url('../media/images/header/allergy_tree.png');
}

/* Example for a new branch: */
/*#head .head-image-veterinary
{
  background-image: url('../media/images/header/veterinary.png');
}*/

#head .head-image-generic
{
  background-image: url('../media/images/header/lab1s.png');
}

#head-logo
{
  display: block;
  float: left;
  background-image: url('../images/logo.png');
  background-repeat: no-repeat;
  background-position: 2em center;
  width: 740px; /* = 960 - 220 */
  height: 90px;
}

body.simple #head-logo
{
  background-position: 375px center;
}
/**
 * Sidebar
 */

#sidebar ul
{
  margin: 0;
}

#sidebar a
{
  text-decoration: none;
}

#menu .item
{
  display: block;
  border-style: solid;
  border-width: 0 0 .1em .5em !important;
}

#menu .active
{
  font-weight: bolder;
}

#menu .depth1item
{
  padding: .5em 1em;
  font-size: 1.1em;
}

#menu li.depth1
{
  margin-bottom: .5em;
}

#menu .depth2item
{
  padding: .1em 1.5em;
}

#menu .depth3item
{
  padding: .1em 2em;
}

#menu .depth4item
{
  padding: .1em 2.5em;
}

#menu .depth5item
{
  padding: .1em 3em;
}

#menu .depth6item
{
  padding: .1em 3.5em;
}

#menu .depth7item
{
  padding: .1em 4em;
}

#language-switcher
{
  text-align: center;
}

#language-switcher li
{
  display: inline;
}

#language-switcher img
{
  padding: .5em;
}

#fontsizing
{
  text-align: center;
}

body.small,
#fontsizing .small
{
  font-size: 10px !important;
}

body.normal,
#fontsizing .normal,
.normalsize
{
  font-size: 12px !important;
}

body.big,
#fontsizing .big
{
  font-size: 15px !important;
}

body.bigger,
#fontsizing .bigger
{
  font-size: 18px !important;
}

/**
 * Content
 */

#content
{
  padding-bottom: 1em;
}

body.simple #content
{
  background-image: url('../images/two_color_background.png');
  padding-bottom: 0;
}

body.simple .intro-slogan p
{
  padding: 1em;
  font-size: 1.3em;
}

#content ul li
{
  background-image: url('../images/bullet.png');
  background-position: left .45em;
  background-repeat: no-repeat;
  padding-left: 1.2em;
  margin-bottom: .5em;
}

#content ul li:hover
{
  background-image: url('../images/bullet_hover.png');
}

#content a
{
  background-repeat: no-repeat;
}

#partnerlist .liam a
{
  background-repeat: no-repeat;
  background-image: url('../images/liam.png');
  background-position: right .35em;
  padding-right: 1.1em;
  margin-right: .1em;
}

#partnerlist .liam a:hover,
#partnerlist .liam a:focus
{
  background-image: url('../images/liam_hover.png');
}

#partnerlist p
{
  margin: 0;
}

#content .rich a
{
  background-image: url('../images/link.png');
  background-position: left center;
  padding-left: 1.1em;
  margin-left: .1em;
}

#content .rich a:hover,
#content .rich a:focus
{
  background-image: url('../images/link_hover.png');
}

#content a.external,
#content .rich a.external
{
  padding-left: 0;
  margin-left: 0;
  background-image: url('../images/link_external.png');
  background-position: right center;
  padding-right: 1.1em;
  margin-right: .1em;
}

#content a.external:hover,
#content a.external:focus,
#content .rich a.external:hover,
#content .rich a.external:focus
{
  background-image: url('../images/link_external_hover.png');
}

#content .rich a.no-icon
{
  background-image: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#content p .branding
{
  font-weight: bold;
}

.back-to-top
{
  text-align: center;
}

.submenu,
.feedinfo
{
  float: right;
  width: 160px;
  margin: 0 0 1em 1em;
}

.feedinfo
{
  background-image: url('../images/feed.png');
  background-repeat: no-repeat;
  background-position: left center;
  clear: both;
  margin: 1em 0;
}

.feedinfo p
{
  margin: 0 0 0 40px;
  text-align: left;
}

.ui-dialog ul
{
  margin: 0;
}

.ui-widget-header
{
  font-size: 1em;
}

#contactbox a
{
  background-image: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/*#contactbox.flyright
{
  float: right;
  margin-left: 1em;
  margin-bottom: .5em;
}*/

#company-page #contactbox
{
  margin: 0 auto;
}

/**
 * Tail
 */

#tail
{
  font-size: .9em;
  height: 500px;
  border-top-width: .5em;
  border-style: solid;
  background-image: url('../images/tail-background.png');
/*   background-image: url('http://jqueryui.com/themeroller/images/?new=567BC5&w=40&h=40&f=png&q=100&fltr[]=over|textures/08_diagonals_thick.png|0|0|7'); */
}

body.simple #tail
{
  border-top-width: 0;
}

#tail p
{
  text-align: center;
}

#tail img
{
  vertical-align: middle;
}

/**
 * Specific
 */

/* Intro */

#branch_intro *
{
  text-align: center;
}

#branch_intro table
{
  width: auto;
  margin: auto;
}

img.branch_intro
{
  padding: 1em;
}

#branch_intro table h2
{
  font-weight: bolder;
  font-size: 1.8em;
}

#branch_intro table h2 a
{
  text-decoration: none;
}

#branch_intro table p
{
  font-weight: bolder;
  font-size: 1.2em;
}

/* Intro infos */

#introinfo
{
  margin: 1em 0;
}

#introinfo ul
{
  margin: 0;
}

#introinfo ul li
{
  background-image: none !important;
  padding: 0;
  float: left;
}

#introinfo a
{
  display: block;
  width: 200px;
  background-position: left center;
  margin: 0 35px;
  padding: .7em 0 .7em 96px;
  border-width: 1px;
  border-style: solid;
  text-decoration: none;
  font-size: 1.7em;
  text-align: center;
  background-repeat: repeat-y;
}

#introinfo1 a
{
  background-image: url('../images/intro/patient.png');
}

#introinfo2 a
{
  background-image: url('../images/intro/physician.png');
}

#introinfo .hl
{
  font-weight: bolder;
}

/* Partners */

#countrylist li a
{
  background-repeat: no-repeat;
  background-position: center right;
  padding-right: 20px;
}

.native
{
  font-weight: bolder;
}

#partnerlist h2
{
  font-size: 1em;
  font-weight: bolder;
  margin: 0;
}

#partnerlist td
{
  padding-bottom: 1em;
}

#partnerlist .contact-infos
{
  vertical-align: bottom;
}

#partnerlist ul.partner-attributes
{
  margin: 0;
  padding: 0;
}

#partnerlist ul.partner-attributes li
{
  background: none;
  display: inline;
  padding-left: 0;
  padding-right: 1em;
}

#partnerlist ul.partner-attributes li .subli
{
  background-position: right;
  background-repeat: no-repeat;
  padding-right: 1.4em;
}

#partnerlist ul.partner-attributes li.checked  .subli
{
  background-image: url('../images/checked.png');
}

#partnerlist ul.partner-attributes li.notchecked  .subli
{
  background-image: url('../images/notchecked.png');
}

#partnerlist ul.partner-attributes li .verbose
{
  display: none;
}

/* About us & Products */

/**
 * @see print.css
 */

#teams h2,
#teams h3,
#productlist h2,
#productlist h3,
#productlist h4
{
  clear: left;
}

#teams .photo,
.hproduct .photo
{
  float: left;
  margin: 0 1em 1.5em 0;
}

#sitemap span.depth1
{
  font-weight: bolder;
}

/**
 * Cursors
 * ~~~~~~~
 */

#head,
#fontsizing *
{
  cursor: pointer;
}

/**
 * Colours
 * ~~~~~~~
 */

/* #fff */

.container
{
  background-color: #fff;
}

#menu a.ui-state-hover,
.ui-widget-header
{
  color: #fff !important;
}

/* grays */

body.simple
{
  background: #f7f7f7;
}

#menu .depth1item,
#tail *
{
  color: #eef !important;
}

#menu .item
{
  border-left-color: #eef;
  border-bottom-color: #e0e0e0;
}

#menu .depth3item,
#menu .depth4item,
#menu .depth5item,
#menu .depth6item,
#menu .depth7item
{
  background-color: #f3f3f3;
}

#menu .depth3item.hover
{
  background-color: #eee;
}

/* #eee */

#head
{
  border-bottom-color: #eee;
}

/* #ddd */

.jsnotice
{
  color: #ddd;
}

#tail
{
  border-top-color: #ddd;
}

/* main */

#head,
#tail,
#menu .depth1item,
.primary-1
{
  background-color: #567bc5; /* p1 */
}

h1,
a,
#fontsizing,
.ui-widget-content a
{
  color: #567bc5;
}

#menu a
{
  color: #567bc5 !important;
}

/* dark */

.primary-2
{
  background-color: #54668A; /* p2 */
}

/* extra dark */

.primary-3
{
  background-color: #143472; /* p3 */
}

h2,
a:hover,
a:focus,
.ui-widget-content a:hover,
.ui-widget-content a:focus
{
  color: #143472;
}

/* light */

.primary-4
{
  background-color: #A7C2F7; /* p4 */
}

#menu a.ui-state-hover,
#menu .hover
{
  border-left-color: #A7C2F7;
}

/* extra light */

#menu .depth2item,
body,
.primary-5
{
  background-color: #d7e2f7; /* p5 */
}

#menu .depth2item.hover
{
  background-color: #d2ddf2;
}

/* intro info colours */

#introinfo a
{
  border-color: #fff;
}

#introinfo1 a
{
  color: #506da6;
  background-color: #bdcff1;
}

#introinfo1 a:hover,
#introinfo1 a:focus
{
  border-color: #506da6;
}

#introinfo2 a
{
  color: #315499;
  background-color: #8dabe5;
}

#introinfo2 a:hover,
#introinfo2 a:focus
{
  border-color: #315499;
}

/* branch intro colors */

body.simple .intro-slogan
{
  color: #fff;
  background-color: #7599d0;
}

#branch_intro td.genetics,
#branch_intro td.genetics h2 a
{
  color: #fff !important;
}

#branch_intro td.allergy,
#branch_intro td.allergy h2 a
{
  color: #7599d0 !important;
}
