/* Box borders
   This sets a border around all
   the element boxes.
   
   It's only perpos is to ease
   development
#out-top, #out-bottom, #out-left, #out-right, #in-top, #in-bottom, #main { 
  border: 1px solid Black;
}
   */

#out-top {
    background: url('tline-bg.jpg') 0 100% repeat-x;
}
#out-top h1 {
    background: url('tline.jpg') 0 100% no-repeat;
    height: 100%;
    margin: 0;
}
#out-top h1 a {
    display: block;
    height: 0 !important;
    height: 151px; /* IE fix */
    width: 400px;
    overflow: hidden;
    padding-top: 151px; /* hide text */
    background: url('logo.jpg') no-repeat;    
}

#out-wrapper {
    background: url('menu-bg.jpg') 84px 0 repeat-y;
}

/* so main content does not fold under the menu */
#out-in-wrapper {
    width: 990px;
}

/* Menu Settings 

   list-style: none; - removes the dots
   padding:0; margin:0; - removes spaceing/indent
   */
#p_menu {
  list-style: none;
  padding: 0;
  margin: 2em 0 0 117px;
  width: 249px;
}
/* Menu link settings */
#p_menu a {
    font-weight: bold;
    font-size: 90%;
    text-decoration: none;
    padding: .4em 1em .4em 3em;
    margin-bottom: 1px;
    display: block;
    color: #222222;
}
/* Selected page/link */
#p_menu a.selected {
    border-bottom: solid 1px #6f6f6f;
    margin-bottom: 0;
}

#out-bottom {
    background: url('bline-bg.jpg') repeat-x;
}
#p_footer {
    background: url('bline.jpg') no-repeat;
    height: 0 !important;
    height: 53px; /* IE fix */
    overflow: hidden;
    padding-top: 53px;    
}

/*
#main p {
    text-align: justify;
}
*/

/* page tables and images formatting */
#main table,
.visualFontSizeCorrection table {
    border-collapse: collapse;
    width: 100%;
}
#main table,
#main table tbody td,
.visualFontSizeCorrection table,
.visualFontSizeCorrection table tbody td {
    border-style: hidden;
    border-width: 0;
}
/*
#main table tbody tr,
.visualFontSizeCorrection table tbody tr {
    vertical-align: top;
}
*/
#main table tbody td,
.visualFontSizeCorrection table tbody td {
    width: 50%;
}
#main tbody td img,
.visualFontSizeCorrection tbody td img {
    border: solid #6f6f6f;
    border-width: 0 5px;
}
#main tbody td p,
.visualFontSizeCorrection tbody td p {
    margin-right: 1em;
}


/* Remove document actions and the top header/page title (print & send-to) */
.documentActions, .documentFirstHeading {
  display: none;
}


/* Two-collum forms */
#kontakt-form { width: 400px; padding-top: 10px; }
#kontakt-form div.field { clear:both; }
#kontakt-form label { float:left; }
#kontakt-form div div.formError { float:right;}
#kontakt-form div.field input { float: right; }
#kontakt-form div.field textarea { float: right; }
#kontakt-form div div.formHelp { float:left; clear:left; }
#kontakt-form div.formButtons { clear:both; float:right; }
/* Cross browser fixes for the forms */
html > body #kontakt-form { padding-top: 0; }
html > body #kontakt-form div.formButtons { padding-top: 15px; }
html > body #kontakt-form div.field input { margin-top: -18px; }
html > body #kontakt-form div.field textarea { margin-top: -18px; }
html > body #kontakt-form label { margin-top: 15px; }




