/* 
	html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline)
	v1.4 2009-07-27 | Authors: Eric Meyer & Richard Clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin:0;
  padding:0;
  border:0;
  outline:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}                  
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { 
    display:block;
}
nav ul { list-style:none; }
blockquote, q { quotes:none; }
blockquote:before, blockquote:after,
q:before, q:after { content:''; content:none; }
a { margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent; }
ins { background-color:#ff9; color:#000; text-decoration:none; }
mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; }
del { text-decoration: line-through; }
abbr[title], dfn[title] { border-bottom:1px dotted; cursor:help; }
table { border-collapse:collapse; border-spacing:0; }
hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; }
input, select { vertical-align:middle; }

/* End of Reset CSS 

fonts.css from the YUI Library: developer.yahoo.com/yui/ */

body { font:13px/1.231 sans-serif; *font-size:small; } /* hack retained to preserve specificity */
select, input, textarea, button { font:99% sans-serif; }
pre, code, kbd, samp { font-family: monospace, sans-serif; }


/* 
 * HTML5 Boilerplate - minimal base styles 
 */

body, select, input, textarea { 
  color: #444; 
  /* font-family: Georgia, serif;  */   
}
h1,h2,h3,h4,h5,h6 { font-weight: bold; }
html { overflow-y: scroll; }
a:hover, a:active { outline: none; }
a, a:active, a:visited { color: #607890; }
a:hover { color: #036; }
ul, ol { margin-left: 1.8em; }
ol { list-style-type: decimal; }
nav ul, nav li { margin: 0; } 
small { font-size: 85%; }
strong, th { font-weight: bold; }
td, td img { vertical-align: top; } 
sub { vertical-align: sub; font-size: smaller; }
sup { vertical-align: super; font-size: smaller; }
pre { 
  padding: 15px; 
  white-space: pre; /* CSS2 */
  white-space: pre-wrap; /* CSS 2.1 */
  white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
  word-wrap: break-word; /* IE */
}
textarea { overflow: auto; } /* thnx ivannikolic! www.sitepoint.com/blogs/2010/08/20/ie-remove-textarea-scrollbars/ */
.ie6 legend, .ie7 legend { margin-left: -7px; } /* thnx ivannikolic! */
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; }
.ie7 input[type="checkbox"] { vertical-align: baseline; }
.ie6 input { vertical-align: text-bottom; }
label, input[type=button], input[type=submit], button { cursor: pointer; }
button, input, select, textarea { margin: 0; }
input:valid, textarea:valid   {  }
input:invalid, textarea:invalid { 
      border-radius: 1px;
    -moz-box-shadow: 0px 0px 5px red; 
 -webkit-box-shadow: 0px 0px 5px red; 
         box-shadow: 0px 0px 5px red;
}
.no-boxshadow input:invalid, 
.no-boxshadow textarea:invalid { background-color: #f0dddd; }

/* By default the selection color is pink */
::-moz-selection{ background: #fa7d19; color:#fff; text-shadow: none; }
::selection { background:#fa7d19; color:#fff; text-shadow: none; } 
a:link { -webkit-tap-highlight-color: #fa7d19; } 
button {  width: auto; overflow: visible; }
.ie7 img { -ms-interpolation-mode: bicubic; }

/*
    // ========================================== \\
   ||                                              ||
   ||               Kandidatenscanner              ||
   ||                                              ||
    \\ ========================================== //
*/

html, body {
    overflow: hidden;
    height: 100%;
    font: 11px/125% Arial, Helvetica, sans-serif;
}

body {
    background: #555;
    text-align: center;
}

a {
    outline: none;
}

section {
    position: relative;
    width: 1024px;
    height: 680px;
    text-align: left;
    margin: 0 auto auto;
    
    -webkit-box-shadow: 0 0 1em rgba(0, 0, 0, .4);
       -moz-box-shadow: 0 0 1em rgba(0, 0, 0, .4);
            box-shadow: 0 0 1em rgba(0, 0, 0, .4);
}

header,
footer {
    position: relative;
    background: #AEAFAF url('../images/bg.jpg') repeat-y 50% 0%;
    height: 64px;
    overflow: hidden;
}

header h1 {
    font-weight: normal;
    color: white;
    font-size: 23px;
    position: absolute;
    top: 20px;
    left: 50px;
    padding: 0;
    margin: 0;
    line-height: 100%;
    cursor: pointer;
}

header h1 a {
    color: white !important;
    text-decoration: none;
}

header h1 strong,
header h1 a strong {
    font-weight: bold;
}

header h2 {
    position: absolute;
    background: url('../images/bnt_logo.png') no-repeat;
    top: 12px;
    right: 60px;
    text-indent: -2000px;
    overflow: hidden;
}

header h2,
header h2 a {
    display: block;
    width: 39px;
    height: 39px;
}

/** Picker
 ** ---------------------------------------------------------------- */

#picker,
#scanner {
    background: #ccc no-repeat scroll top left;
    width: 1024px;
    height: 584px;
    position: relative;
    text-align: center;
    z-index: 10;
}

#picker ul,
#picker ul li {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
}

#picker ul {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 580px;
    width: 100%;
}

#picker ul li a img {
    position: absolute;
    bottom: 0;
}

#picker .tooltip {
    display: none;
}

#picker-tooltip {
    position: absolute;
    background: rgba(255, 255, 255, .9) url('../images/picker-bubble-arr.png') no-repeat 14px 16px;
    border: 1px solid #FA7D19;
    border-left: 0 none;
    border-right: 0 none;
    z-index: 100;
    left: 200px;
    bottom: 104px;
    text-align: left;
    color: #FA7D19;
    padding: 14px 8px 8px 66px;
    width: 154px;
    min-height: 52px;
    cursor: pointer;

    -webkit-box-shadow: 0 0 1em rgba(0, 0, 0, .4);
       -moz-box-shadow: 0 0 1em rgba(0, 0, 0, .4);
            box-shadow: 0 0 1em rgba(0, 0, 0, .4);
}

.ie6 #picker-tooltip,
.ie7 #picker-tooltip,
.ie8 #picker-tooltip {
    background: white url('../images/picker-bubble-arr.png') no-repeat 14px 18px;
}


#picker-tooltip h2 {
    font-size: 19px;
    font-weight: normal;
    line-height: 23px;
    color: black;
}

#picker-tooltip p {
    margin-top: 8px;
    font-size: 16px;
    color: black;
}

/** Scanner
 ** ---------------------------------------------------------------- */

#scanner {
    display: none;
    z-index: 100;
}

#scanner #frame {
    position: absolute;
    width: 420px;
    height: 550px;
    top: 32px;
    right: 24px;
    background: url('../images/rahmen_scanner.png') no-repeat 50% 100%;
}

#scanner #bounds {
    position: absolute;
    top: 44px;
    left: 104px;
    width: 213px;
    height: 464px;
    background: url('../images/shape_frau.png') no-repeat scroll top left;
}

#scanner #hotspots {
    position: relative;
    height: 464px;
}

#scanner #hotspots a {
    display: block;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

#scanner #objects li a {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    display: block;
    background: url('../images/objekt_hotspot.png') no-repeat 50% 50%;
}

#scanner #objects,
#scanner #objects li,
#scanner #hotspots,
#scanner #hotspots li {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}

#scanner #hotspots li {
    position: absolute;
    top: 0;
    left: 0;
    margin-top: 16px; /*-20px*/
    margin-left: -10px;
    background: url('../images/hotspot.png') no-repeat;
    width: 21px;
    height: 20px;
}

#scanner .male #bounds {
    background-image: url('../images/shape_mann.png');
}

#scanner .groove {
    border-left: 1px solid #CCC;
    display: block;
    height: 420px;
    width: 1px;
    position: absolute;
    top: 44px;
    left: 32px;
    z-index: 1;
}

#info-box {
    position: absolute;
    top: 32px;
    left: 150px;
    background: white;
    border: 1px solid #CCC;
    width: 330px;
    text-align: left;
    color: #111;
    font-size: 16px;
    line-height: 125%;
    z-index: 10000;
    
    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .2);
       -moz-box-shadow: 0 0 5px rgba(0, 0, 0, .2);
            box-shadow: 0 0 5px rgba(0, 0, 0, .2);
}

#info-box .close-button {
    position: absolute;
    top: 8px;
    right: 8px;
    background: url('../images/close.png') no-repeat scroll top left;
    width: 16px;
    height: 16px;
}

#info-box #title h4 {
    font-weight: normal;
}

#info-box #title,
#info-box #questions,
#info-box #answers,
#info-box #help {
    padding: 10px 20px;
}

#info-box #answers {
    position: relative;
    padding: 0;
    background: #ccc;
    display: none;
    overflow: hidden;
    height: 272px;
}

#info-box #answers .body {
    position: absolute;
    left: 0;
    top: 32px;
    z-index: 100;
    background: white;
    overflow: hidden;
}

#info-box #answers .body div.text {
    padding: 1em;
    font-size: .8em;
}

#info-box #answers .body div.text p {
    padding-bottom: .5em;
}

#info-box #answers .body ul.slideshow,
#info-box #answers .body ul.slideshow li {
    display: block;
    padding: 0;
    margin: 0;
}

#info-box #answers .body ul.slideshow li {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
}

#info-box #answers .body img {
    position: absolute;
    top: -16px;
    left: 0;
    width: 432px;
    height: 324px;
    z-index: 500;
}

#info-box #answers .classification {
    z-index: 150;
}

#info-box #answers .body,
#info-box #answers .body ul.slideshow li,
#info-box #answers video,
#info-box #answers object {
    width: 432px;
    height: 240px;
    padding: 0;
    margin: 0;
}

#info-box #answers video,
#info-box #answers object {
    background: black;
}

#info-box #answers ul.tabs,
#info-box #answers ul.tabs li {
    display: inline;
    margin: 0;
    padding: 0;
    overflow: hidden;
    z-index: 1000;
}

#info-box #answers ul.tabs li a {
    float: left;
    width: 100px;
    height: 32px;
    padding: 0px 20px;
    line-height: 32px;
    background: #818384;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 12px;
    margin-right: 4px;
}

#info-box #answers ul.tabs li.active a {
    background-color: #FA7D19;
}

#info-box #answers ul.tabs li a,
#info-box #answers ul.tabs li a:active {
    color: white;
}

#info-box #title,
#info-box #questions,
#info-box #help {
    height: 40px;
    overflow: hidden;
}

#info-box #help,
#info-box #questions {
    border-top: 1px solid #CCC;
}

#info-box #help {
    color: #888;
    padding: 13px 32px 17px 72px;
    height: 30px;
    background: url('../images/icon_info.png') no-repeat 2% 50%;
/*    text-transform: uppercase;*/
    font-size: 12px;
    line-height: 150%;
}

#scanner #slider,
#scanner #play {
    display: block;
    background: url('../images/scanner-button.png') no-repeat;
    width: 59px;
    height: 59px;
    position: absolute;
    left: 3px;
    top: 0;
    margin-top: 36px;
    z-index: 1000;
}

#scanner #play {
/*    background-image: url('../images/play-button.png');*/
    left: 360px;
    cursor: pointer;
    display: block;
}

#scanner #play img {
/*    background: white;*/
}

#scanner #slider {
    cursor: move;
}

#scanner #beam,
#scanner #beam #xray-passive {
    position: absolute;
    display: block;
    left: 0;
    top: 0;
    width: 213px;
    height: 92px;
}

#scanner #beam {
    margin-top: -25px;
}

#scanner #beam #xray-passive {
    background: url('../images/scan_schein.png') no-repeat 50% 50%;
}

/* FIXME: include png fix and show halo */
.ie6 #scanner #beam #xray-passive,
.ie7 #scanner #beam #xray-passive,
.ie8 #scanner #beam #xray-passive {
    background: none;
}

#scanner #beam #xray {
    position: absolute;
    top: 21px;
    left: 0;
    margin-top: 24px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    width: 213px;
    height: 0px;
    border-top: 1px solid #DD783D;
    border-bottom: 1px solid #DD783D;
    display: block;
    overflow: hidden;
}

#scanner #beam #xray img {
    position: absolute;
    top: 0;
    left: 0;
}

/** Minipicker
 ** ---------------------------------------------------------------- */

#minipicker {
    position: absolute;
    width: 804px;
    left: 220px;
    height: 96px;
    overflow: hidden;
    bottom: 0;
    right: 65px;
    z-index: 5000;
}

#minipicker ul,
#minipicker ul li {
    margin: 0;
    padding: 0;
    list-style: none;
    display: block;
}

#minipicker ul li {
    display: block;
    overflow: visible;
    position: absolute;
    top: 16px;
    left: 0;
    margin-left: -220px;
}

#minipicker ul li img {
    position: absolute;
    top: 0;
    left: 0;
    vertical-align: top;
    overflow: visible;
    z-index: 5005;
}

.ie6 #minipicker ul li img.silhouette,
.ie7 #minipicker ul li img.silhouette {
    background-color: white;
    background-color: transparent;
}

.ie6 #minipicker ul li img.subject,
.ie7 #minipicker ul li img.subject {
    background-color: white;
    background-color: transparent;
}


#minipicker ul li img.silhouette {
    z-index: 5001;
}

p.bubble {
    position: absolute;
    display: block;
    background: white;
    border: 1px solid #888;
    color: black;
    z-index: 5000;
    top: 0;
    left: 0;
    padding: 4px 8px;
    margin: 0;
    font-size: 14px;

    -webkit-box-shadow: 0 0 1em rgba(0, 0, 0, .4);
       -moz-box-shadow: 0 0 1em rgba(0, 0, 0, .4);
            box-shadow: 0 0 1em rgba(0, 0, 0, .4);
    
    overflow: visible;
    z-index: 10000;
}

p.bubble:before,
p.bubble:after {
    content: "\00a0";
    position: absolute;
    display: block;
    left: 50%;
    margin-left: -7px;
    bottom: -7px;
    width: 0;
    height: 0;
    background: none transparent;
    border-color: white transparent;
    border-width: 7px 7px 0 7px;
    border-style: solid;
    overflow: visible;
}

p.bubble:before {
    bottom: -8px;
    border-color: #888 transparent;
}

p.bubble .sep {
    content: "\00a0";
    background: black;
    display: inline-block;
    width: 4px;
    height: 4px;
    font-size: 4px;
    margin: 6px 4px 3px;
}

p.bubble strong {
    font-weight: bold;
    display: inline-block;
}

/** Footer
 ** ---------------------------------------------------------------- */

footer {
    height: 32px;
}

footer ul,
footer ul li {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block;
}

footer ul {
    margin-left: 64px;
}

footer ul li {
    float: left;
}

footer ul li a,
footer ul li a:visited,
footer ul li a:active {
    display: block;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    padding: 11px 0;
    width: 72px;
    letter-spacing: 0.1em;
}

footer ul li a:hover {
    color: #fa7d19;
}

/** Boxen
 ** ---------------------------------------------------------------- */

#introbox,
#helpbox,
#creditsbox {
    position: absolute;
    top: auto;
    bottom: 73px;
    left: 52px;
    right: 52px;
    padding: 20px;
    z-index: 20000;
    cursor: pointer;
    display: none;
    font-size: 13px;
    line-height: 125%;
    background: white url('../images/close.png') no-repeat 888px 15px;
    background-color: rgba(255, 255, 255, .8);
    border: 1px solid #ccc;
    color: black;
}
.ie6 #introbox, .ie6 #helpbox, .ie6 #creditsbox,
.ie7 #introbox, .ie7 #helpbox, .ie7 #creditsbox {
    background-color: white;
}

#introbox {
    background-position: 788px 15px;
    left: 101px;
    right: 101px;
}

#introbox h3,
#helpbox h3,
#creditsbox h3 {
    padding: 0 0 1em;
}

#introbox h4,
#helpbox h4,
#creditsbox h4 {
    padding: .5em 0 0;
}

#introbox p,
#helpbox p,
#creditsbox p {
    padding: 0 0 .5em;
}

#creditsbox dl dt {
    width: 160px;
    display: block;
    float: left;
    font-weight: bold;
}

/* 
 * Non-semantic helper classes 
 */

/* for image replacement */
.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }

/* Hide for both screenreaders and browsers */
.hidden { display: none; visibility: hidden; } 

/* Hide only visually, but have it available for screenreaders */
.visuallyhidden { position: absolute !important;    
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px); }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Clearfix */
.clearfix:before, .clearfix:after {
  content: "\0020"; display: block; height: 0; visibility: hidden;	
} 
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }

/*
 *  CSS3 Media queries
 */

@media all and (orientation:portrait) { 
  
}

@media all and (orientation:landscape) { 
  
}

@media screen and (max-device-width: 480px) {
  
}

@media print {
  * { background: transparent !important; color: #444 !important; text-shadow: none !important; }
  a, a:visited { color: #444 !important; text-decoration: underline; }
  a:after { content: " (" attr(href) ")"; } 
  abbr:after { content: " (" attr(title) ")"; }
  .ir a:after { content: ""; }  /* Don't show links for images */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */ 
  tr, img { page-break-inside: avoid; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3{ page-break-after: avoid; }
}

