html { height: 100%; margin: 0; padding:0; }
body, h1, h2, h3, h4, p, ul, li, form, fieldset, div, img {
    margin: 0; padding: 0; 
}
body {
    font-size: 1em; line-height: 1.7em;
    font-family: Georgia; color: white;
    background-color: black; text-align: center;
    background-image: url(../images/backgrounds/tlo.gif); height: 100%;
}
ul { list-style-type: square; }
dl { margin: 0.5em 0; line-height: 140%; }
dt { font-weight: bold; }
dd { margin-left: 0; }
p { margin-bottom: 0.5em; }
img {
   border: none;
}/*
img {
   behavior: url(http://www.magicdentalstudio.pl/www/themes/dental/css/pngbehavior.htc);
}*/

/*======================Global layaout==========================*/
#outer-wrapper {
    max-width: 1000px;
    width: 804px;
    margin: 0 auto;
    text-align: left;
    min-height: 100%;
}
* html #outer-wrapper { height: 100%; }

#top-nav {
    position: absolute; top: 110px; left: 310px;
    background: transparent;
    font-size: 1.1em;
    line-height: 1.4em;
}
* html #top-nav {
	line-height: 0.8em;
}
/*=========================Header===============================*/
#header {
  position: relative; height: 315px;
}
#baner {
  position: static; height: 302px; width: 804px;
  margin-top: 12px;
  background-image: url(../images/baner.jpg)
}

/*======================Main Content============================*/
#content {
  position: relative; margin: 0 auto 50px auto; min-height: 100%; width: 770px;
}
* html #content { height: 100%; }

#content h1 {
    font-size: 1.2em;
}
#content h1.pageTitle {
	  font-size: 2em; font-weight: normal;
    margin: 0.7em 0; padding-bottom: 0.5em;
    color: white; text-align: center;
}
#content ul {
    margin-left: 0;
    padding: 0;
    list-style-type: none;
}
#content li {
  background-image: url(../images/list-style.png);
	background-repeat: no-repeat;
  background-position: 0 .6em;
  padding-left: 1em;
}
#content a {
    color: white; text-decoration: none; border-bottom: 1px dotted #d7d7b8;
}
#content a:hover {
    color: white; text-decoration: none; border-bottom: 1px dotted white;
}
#content .pageImage {
  float: left;
  margin-bottom: 1.5em;
  margin-right: 2em;
  border: 1px solid black;
  background-color: white;
  padding: 3px;
  line-height: 0.5em;
}
#footer {
  position: relative;
  margin: -26px auto 0 auto;
  width: 100%;
  height: 26px;
  font-size: 0.7em;
  line-height: 1em;
}
* html #footer {
  margin-top: -25px;
}

#footerInner {
  width: 804px; margin: 0 auto;
  background: url('http://www.magicdentalstudio.pl/www/themes/dental/images/backgrounds/footerInnerBackground.jpg') left bottom no-repeat;
  padding-top: 8px; height: 18px;
  position: static;
}
#footer a, #footer a:hover, #footer a:focus {
	color: white; text-decoration: none;
}
#logo_stat {
	position: absolute; bottom: 0; right: 0; height: 28px; width: 90px;
}

fieldset {
    padding: 10px 0; border: none;
}
input, select, textarea {
    font-size: 0.9em;
}
textarea {
    font-size: 0.9em;
}
input[type="text"], input[type="password"] {
	border-top: 1px solid #7c7c7c;
	border-left: 1px solid #c3c3c3;
	border-right: 1px solid #c3c3c3;
	border-bottom: 1px solid #ddd;
	background: #fff url(../images/fieldbg.gif) repeat-x top;
}
dl.onSide dt {
    float: left;
    width: 120px;
    padding-right: 20px;
    text-align: right;
}
dl.onSide dd{
    margin-left: 140px;
    margin-bottom: 0.5em;
}
dl.onTop dd {
    margin: 0;
}
dd .error {
    display: block;
}
.message {
    text-align: center;
}
.message div {
    width: 60%;
    margin: 1em auto;
    padding: 0.5em;
    -moz-border-radius: 0.3em;
}
.errorMessage {
    border: 2px solid #FF3300;
    color: #FF3300;
}
.infoMessage {
    border: 2px solid #66A326;
    color: #99CC00;
}
.error, .required {
    color: #FF3300;
}
/* PEAR Errors--------------------*/
div.errorContainer {
    width: 80%;
    margin: 1em auto;
    padding: 0.5em;
    border: 2px solid #FF3300;
    -moz-border-radius: 0.3em;
    font-family: arial;
}
div.errorHeader {
    margin-bottom: 0.5em;
    font-size: 1.1em;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.3em;
    color: #FF3300;
}
div.errorContent {
    text-align: left;
}
a.langFlag {
    margin: 0 5px;
}
.floatLeft {
    float: left;
}
.floatRight {
    float: right;
}
.clear {
    clear: both;
}
.spacer {
    clear: both;
    visibility: hidden;
    line-height: 1px;
}
.left {
    text-align: left;
}
.right {
    text-align: right;
}
.center {
    text-align: center;
}
.hide {
    display: none;
}
.narrow {
    width: 45%;
}
.full {
    width: 100%;
}
.wideButton {
    width: 8em;
}
.noBg {
    background: none;
}
pre.codeExample {
    padding: 1em;
    background-color: #EEEEEE;
    border: 1px solid #666666;
    border-left: 5px solid #666666;
    font-size: 1em;
}
.tipOwner {
    position: relative;
    cursor: help;
    }
.tipOwner .tipText {
    display: none;
    position: absolute;
    top: 0;
    left: 105%;
    border: 1px solid transparent;
    border-color: #ffffff #333333 #333333 #ffffff;
    background-color: #FFE5F8;
    color: #184a84;
    text-align: center;
    width: 15em;
    padding: 2px 5px;
        -moz-opacity: 0.85;
    }
.tipOwner:hover .tipText {
    display: block;
}
table.kursy { width: 100%; border: none; margin: 0 auto; clear: left; }
table.kursy caption { caption-side: top; text-align: left; font-weight: bold; }
table.kursy td  { padding: 2px 0; }
table.kursy td.data { padding-right: 8px; font-weight: bold; vertical-align: top; }

/* ---------->>> global settings needed for thickbox <<<-----------------------------------------------------------*/
*{padding: 0; margin: 0;}
/* ---------->>> thickbox specific link and font settings <<<------------------------------------------------------*/
#TB_window {
  font: 12px Arial, Helvetica, sans-serif;
  color: #333333;
}
#TB_secondLine {
  font: 10px Arial, Helvetica, sans-serif;
  color:#666666;
}
#TB_window a:link {color: #666666;}
#TB_window a:visited {color: #666666;}
#TB_window a:hover {color: #000;}
#TB_window a:active {color: #666666;}
#TB_window a:focus{color: #666666;}

/* ---------->>> thickbox settings <<<-----------------------------------------------------------------------------*/
#TB_overlay {
  position: absolute;
  z-index:100;
  top: 0px;
  left: 0px;
  background-color:#000;
  filter:alpha(opacity=60);
  -moz-opacity: 0.6;
  opacity: 0.6;
}
#TB_window {
  position: absolute;
  background: #ffffff;
  z-index: 102;
  color:#000000;
  display:none;
  border: 4px solid #525252;
  text-align:left;
}
#TB_window img {
  display:block;
  margin: 15px 0 0 15px;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  border-top: 1px solid #666;
  border-left: 1px solid #666;
}
#TB_caption{
  height:25px;
  padding:7px 30px 10px 25px;
  float:left;
}
#TB_closeWindow{
  height:25px;
  padding:11px 25px 10px 0;
  float:right;
}
#TB_closeAjaxWindow{
  padding:5px 10px 7px 0;
  margin-bottom:1px;
  text-align:right;
  float:right;
}
#TB_ajaxWindowTitle{
  float:left;
  padding:7px 0 5px 10px;
  margin-bottom:1px;
}
#TB_title{
  background-color:#e8e8e8;
  height:27px;
}
#TB_ajaxContent{
  clear:both;
  padding:2px 15px 15px 15px;
  overflow:auto;
  text-align:left;
  line-height:1.4em;
}
#TB_ajaxContent p{
  padding:5px 0px 5px 0px;
}
#TB_load{
  position: absolute;
  display:none;
  height:100px;
  width:100px;
  z-index:101;
}
#TB_HideSelect{
  z-index:99;
  position:absolute;
  top: 0;
  left: 0;
  background-color:#fff;
  border:none;
  filter:alpha(opacity=0);
  -moz-opacity: 0;
  opacity: 0;
}
#TB_iframeContent{
  clear:both;
  border:none;
  margin-bottom:-1px;
  margin-top:1px;
  _margin-bottom:1px;
}
/*TO REMOVE WHEN ALL TEMPLATES ARE CONSOLIDATED====Default Theme BC========================*//*=====================Lang Switcher Block======================*/
#lang-switcher {
    position: absolute; right:0; top:20px; height: 25px;
}
/*====================Top Navigation Block======================*/
#top-nav ul {
  list-style-type: none;
}
#top-nav li {
	margin: 0; padding: 0;
}
#top-nav li a {
    display: block;
    color: white;
    text-decoration: none;
    border: none;
    margin: 0; padding: 0;
}
#top-nav li a:hover, #top-nav li.current a {
    color: black;
    text-decoration: none;
    border: none;
}
#nav {
    height: 50px;
    font-size: 0.75em;
}
#nav ul {
    position: absolute;
    width: 100%;
    padding: 0;
    margin: 0;
    background-color: #99CC00;
}
#nav ul li {
    float: left;
    display: inline;
    margin: 0;
}
#nav ul li a {
    display: block;
    position: relative;
    padding: 0.2em 1.5em;
    background-color: #0099CC;
    font-size: 1.3em;
    font-weight: bold;
    color: ;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0.05em;
    border-right: 1px solid #99CC00;
}
#nav ul li a:hover {
    color: #2666A3;
    text-decoration: underline;
}
#nav ul li.current a {
    color: #2666A3;
    background-color: #E5F8FF;
}
#nav ul li.current a:visited {
    color: #2666A3;
}
/* hide the sublevels */
#nav ul ul {
    display: none;
}
#nav ul li.current ul {
    position: absolute;
    left: 0;
    display: block;
    /* use max-width emulation hack from
     * http://www.svendtofte.com/code/max_width_in_ie/, using the IE5.0+ dynamic
     * properties syntax, see
     * http://msdn.microsoft.com/workshop/author/dhtml/overview/recalc.asp */
        padding: 0;
    background-color: #E5F8FF;
}
#nav ul li.current li {
    padding: 0.4em 0;
}
#nav ul li.current li a {
    /* hide first pipe */
    left: -1px;
    padding: 0 1em;
    font-weight: normal;
    font-size: 1.1em;
    color: #2666A3;
    border-right: none;
    border-left: 1px solid #2666A3;
}
/* hide 3rd or more levels */
#nav ul ul ul li {
    display: none;
}
