/***************************************************************************
 * CSS for O+P AG Website 
 * $Id:$
 ***************************************************************************/

/***************************************************************************
 * generic helpers
 ***************************************************************************/

.legacy,
span.print {
  display: none
}

.clear_floats {
    clear: both;
    font-size: 0px;
    height: 0px;
}

.nobreak {
    white-space: nowrap;
}

/***************************************************************************
 * page setup
 ***************************************************************************/

body {
    text-align: center;
    font-family: arial, sans-serif;
    margin: 0px;
    padding: 0px;
}

#body a {
    color: #444;
    text-decoration: none;
    border-width: 0px;
    border-bottom-width: 1px;
    border-style: dotted;
    border-color: #999;
}

#body a:hover {
    color: #111;
    border-color: #444;
}


#body pre {
    border-color: #ddd;
    border-style: solid;
    border-width: 1px;
    background-color: #f8f8f8;
    padding: 10px;
    padding-left: 12px;   
}

/***************************************************************************
 * header
 ***************************************************************************/

div#header_wrapper {
    background-image: url("black-bar.png");
    background-repeat: repeat-x;
    background-position: 0px -20px;
    height: 54px;
    margin: 0px;
    padding: 0px;
    margin-bottom: 20px;
}

div#header,
div#page {
    text-align: left;
    max-width: 120ex;
    min-width: 570px;
    padding-left: 20px;
    padding-right: 20px;
    margin-left: auto;
    margin-right: auto;
}

div#logo {
    float: left;
    background-image: url("black-bar-title.en.png");
    background-position: 0px -20px;
    background-repeat: no-repeat;
    width: 405px;
    height: 68px;
} 

div#op_name {
    float: right;
    margin-left: 20px;
    background-image: url("black-bar-oep.png");    
    background-position: 0px -20px;
    height: 44px;
    width: 192px;
}

div#logo img,
div#op_name img {
    width: 100%;
    height: 100%;
}
   
/***************************************************************************
 * page body
 ***************************************************************************/
#adsense {
    padding-top: 20px;
    float: right;
}

#adsense_menu {
    padding: 10px;
}

#body {
    padding-left: 180px;
    padding-right: 130px; /* space for the right bar */
    line-height: 130%;
    padding-top: 10px;
}

#body p {
  margin-top: 1ex;
  margin-bottom: 1ex;
}

#body ul {
  margin-top: 1ex;
  margin-bottom: 1ex;
  padding: 0px;
  margin-left: 1ex;
}

#body h1 {
  line-height: 120%;
  padding-top: 0px;
  padding-bottom: 0px;
  margin-top: 0px;
  margin-bottom: 0.8ex;
}

#body h3,
#body h2,
#body h1 {
    color: #555;
}

#body div.author {
    margin-top: 0.1em;
    color: #888;
    font-size: 80%;
    margin-bottom: 0.2em;
}

#body dl>dt>a,
#body dl>dt {
    color: #555;
    margin-top: 0.8ex;
    font-weight: bold;
    margin-bottom: 0.2ex;
}

#body dl>dd {
    margin-left: 0;
}

#body dd>ul {
    padding-left: 1em;
    margin-top: 0.1ex;
    margin-bottom: 0.1ex;
}    

#body ul {
    padding-left: 2em;
}

#body li {
    list-style-type: circle;
}

#body input[type="submit"] {
    border-style: solid;
    border-width: 1px;
    border-color: #aaa;
    background: #eee;
    padding: 1px;
}

#body input[type="submit"]:hover {
    background: #ddd;
    border-color: #888;
}

/***************************************************************************
 * page footer
 ***************************************************************************/

div#footer_wrapper {
    background-image: url("grey-bar.png");
    background-repeat: repeat-x;
    background-position: bottom;
    margin-top: 4px;
    margin-bottom: 10px;
}
    
div#footer {
    height: 18px;
    padding-top: 5px;
    padding-right: 5px;
    font-size: 10px;
    background-image: url("grey-bar-left.png");
    background-position: bottom left;
    background-repeat: no-repeat;
    text-align: right;
    color: #a0a0a0;
}

div#footer a {
    color: #a0a0a0;
    text-decoration: none;
    border-width: 0px;
    border-bottom-width: 1px;
    border-style: dotted;
    border-color: #bbb;
}

div#actions {
    float: left;
    padding-left: 15px;
}

/***************************************************************************
 * menu
 ***************************************************************************/

div#menu {
    width: 148px;
    float: left;
    background-color: #ffffff;
    padding: 0;
    margin: 0;
    border-bottom-width: 4px;
    border-bottom-style: solid;
    border-bottom-color: #fff;
}


div#menu_top,
div#menu_bottom,
div#menu li > a,
div#menu li > span {
    background-color: #fefdc9;
    border-color: #fefcad;
    border-width: 0px;
    border-style: solid;
    border-right-width: 4px;
    border-left-width: 4px;
}

div#menu_wrapper {
    background-image: url("menu-background.png");
    background-repeat: repeat-y;
}

div#menu_top {
    background-image: url("menu-top.png");
    height: 47px;
    border-left-style: none;
}


div#menu ul {
    list-style: none; 
    margin: 0;
    padding: 0;
}

div#menu li > span,
div#menu li > a {
    margin: 0px;
    margin-top: 4px;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 6px;
    padding-right: 4px;
    font-size: 12px;
    text-decoration: none;
    font-weight: bold;
    display: block;
}

div#menu li li > span,
div#menu li li > a {
    padding-top: 1px;
    padding-bottom: 2px;
    padding-left: 12px;
    margin-top: 0px;
    font-size: 10px;
    border-top-width: 1px;     
}

div#menu li li li > span,
div#menu li li li > a {
    padding-left: 18px;
    padding-right: 4px;
}

div#menu a {
    color: #555;
}

div#menu span.selflink {
    background-color: #fefa61;
}

div#menu span.selflink,
div#menu li > a:hover {
    border-right-color: #fef800;
    border-left-color: #fef800;
}

div#menu li > span:hover,
div#menu li > a:hover {
    color: #434343;
}

div#menu_bottom {
    padding: 0px;
    margin: 0px;
    height: 100px;    
    margin-top: 4px;
}


/***************************************************************************
 * custom styles
 ***************************************************************************/


/* tables */
div#body table {
  border-collapse: collapse;
}

div#body table {
  margin-top: 0.2ex;
  margin-bottom: 0.2ex;
}
div#body table td,
div#body table th {
  vertical-align: top;
  padding: 0.2ex;
  padding-right: 0.4ex;
  padding-left: 0.4ex;
  border-width: 1px;
  border-style: solid;
  border-color: #eee;
}

div#body table div.person {
  margin: 0px;
  padding: 0px;
}

div#body table div.person img {
  margin: 0px;
  padding: 0px;
}

div#body li {
  margin-bottom: 0.2ex;
}
