html, body {
  min-height: 100%;
  min-width: 1000px;
  background: url('../graphics/design/back_bottom.jpg') no-repeat center bottom;
}

body {
  text-align: center;
  margin: 0 auto;
  font: 14px/1.5 CaviarDreams, Verdana, sans-serif;
  border-top: 10px solid #2e2e2e;
  position: relative;
  background: none;
}
h6{
  margin: 2ex 0 1ex;
  font-size: 90%;
  font-weight: normal;
}
.img-inline{
  margin: 0 0.8em 0 0;
}
#back {
  background: url('../graphics/design/back_top.jpg') no-repeat center 0;
  position: relative;
}
#nav {
  height: 52px;
  float: right;
  margin-right: 0px;
  color: #fff;
  font: 16px CaviarDreamsBold, Arial, sans-serif;
  overflow: visible;
  position: relative;
  z-index: 50;
}
#nav ul {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: top;
  color: inherit;
  float: right;
  background: url('../graphics/design/nav_back.gif') repeat-x;
  height: 52px;
  position: relative;
  overflow: visible;
}
#nav ul li {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: top;
  color: inherit;
  display: block;
  float: left;
  margin-left: -2px;
  background: url('../graphics/design/nav_border.gif') no-repeat 0 0;
  position: relative;
  overflow: visible;
  zoom: 1;
}
#nav ul ul li {
  clear: left;
  padding: 0;
  margin: 0;
  background: none;
}
#nav ul ul li a {
  padding: 6px 0;
  min-width: 130px;
  float: left;
}
#nav ul ul {
  position: absolute;
  margin-top: -10px;
  height: auto;
  background: #111;
  display: block;
  text-align: center;
  padding: 2px 15px 0;
  -webkit-border-bottom-left-radius: 7px;
  -webkit-border-bottom-right-radius: 7px;
  -moz-border-radius-bottomleft: 7px;
  -moz-border-radius-bottomright: 7px;
  border-bottom-left-radius: 7px;
  border-bottom-right-radius: 7px;
}
#nav ul li.shadow {
  position: absolute;
  margin: 0;
  padding: 10px 15px 30px 17px;
  top: -7px;
  -moz-transform: scaleY(-1);
  -webkit-transform: scaleY(-1);
  -o-transform: scaleY(-1);
  transform: scaleY(-1);
  -ms-filter: flipv; /*IE*/
  filter: flipv; /*IE*/
  color: #EEE;
  background: none;
}
#nav li a {
  text-decoration: none;
  padding: 12px 12px 30px 14px;
  display: block;
  color: #fff;
  position: relative;
}
#nav li.gradient {
  background: url('../graphics/design/nav_gradient.png') repeat-x left bottom;
  position: absolute;
  left: 0;
  right: 0;
  height: 27px;
  top: 25px;
}
#nav li a:hover,#nav li a:focus  {
  text-shadow: 0 0 11px #fff;
  outline: 0;
}
#pnav,#bnav {
  width: 52px;
  height: 52px;
  float: right;
  background: url('../graphics/design/nav_edge.png') no-repeat;
}
#bnav {
  background: url('../graphics/design/nav_edge.png') no-repeat -52px 0;
}
#mainlogo {
  position: absolute;
  left: -30px;
  display: inline;
  width: 329px;
  height: 123px;
  top: 13px;
}
#mainlogo a {
  display: block;
  width: 0;
  height: 0;
  padding: 123px 0 0 329px;
  overflow: hidden;
  background: url('../graphics/design/epos_pro.png') no-repeat 0 0;
}

#mainlogo.obis4 a {
  background: url('../graphics/design/obis4.png') no-repeat 0 0;
}

#mainlogo.obislite a {
  background: url('../graphics/design/obislite.png') no-repeat 0 0;
}

#contact {
  clear: right;
  float: right;
  margin: 15px 30px 0 0; 
  color: #800000;
  font-weight: bold;
  font-size: 18px;
  width: 350px;
}
#contact .phone,#contact .email {
  background: url('../graphics/design/icon_phone.png') no-repeat 10px 0;
  padding: 2px 0 10px 60px;
  position: relative;
}
#contact .email {
  background: url('../graphics/design/icon_email.png') no-repeat 0 2px;
}
#contact form{
  width: 145px;
  display:inline;
}
#contact input.search{
  background: rgb(255,255,255);
  background: rgba(255,255,255,0.2);
  border: 1px solid #800000;
  width: 145px;
  font-size: 90%;
  vertical-align: middle;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}
#main {
  width: 981px;
  text-align: left;
  position: relative;
  padding-bottom: 100px;
}
#presenter, #main-head {
  width: 966px;
  height: 245px;
  padding: 5px;
  border-bottom: 0;
  position: relative;
  background: #fff;
}
#main-head {
  height: auto;
}
#pres-shadow {
  background: url('../graphics/design/pres_shadow.jpg') no-repeat left bottom;
  height: 108px;
  left: -10px;
  right: -9px;
  position: relative;
  margin: -66px 0 -20px;
  width: 1000px;
  z-index: -1;
}
#inpresenter, #inmain-head {
  width: 916px;
  background: #800000;
  padding: 10px 25px;
}
#inpresenter {
  height: 225px;
}
#inpresenter #dots {
  position: absolute;
  left: 32px;
  bottom: 17px;
  height: 19px;
}
#inpresenter #dots a {
  display: block;
  width: 0;
  height: 0;
  padding: 19px 0 0 19px;
  overflow: hidden;
  background: url('../graphics/design/dot.gif') no-repeat center center;
  float: left;
}
#inpresenter #dots a.active {
  background-image: url('../graphics/design/dot_w.png');
}
#inpresenter h2, #inpresenter p, #inmain-head h2 {
  position: relative;
  width: 470px;
  color: #fff;
  text-shadow: 1px 1px 2px #444;
  font: 16px Arial, sans-serif;
  margin: 8px 0;
  z-index: 10;
}
#inpresenter h2, #inmain-head h2 {
  font: 36px 'Arial Black', sans-serif;
  line-height: 1.1em;
  margin: 0;
  position: absolute;
  bottom: 0;
  top: auto;
}
#inmain-head {
  overflow: hidden;
  height: 80px;
  position: relative;
}
#inmain-head img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 5px;
}
#inmain-head h2.mirror {
  position: relative;
  top: -29px;
  -moz-transform: scaleY(-1);
  -webkit-transform: scaleY(-1);
  -o-transform: scaleY(-1);
  transform: scaleY(-1);
  -ms-filter: flipv; /*IE*/
  filter: flipv; /*IE*/
  text-shadow: none;
  padding: 0;
}
#inmain-head .gradient {
  position: absolute;
  bottom: 0;
  background: url('../graphics/design/main_head_mirror.png') repeat-x 0 0;
  left: 0px;
  right: 0;
  height: 55px;
}
#inmain-head h2 {
  position: relative;
  width: auto;
  padding: 20px 0;
}
#inpresenter .heading {
  height: 79px;
  margin: 0;
  position: relative;
  width: 470px;
}
#presenter img.large {
  position: absolute;
  right: 0;
  bottom: 0;
}
#boxes {
  overflow: auto;
  margin: -40px auto -20px;
}

#boxes a {
  display: block;
  position: relative;
  width: 309px;
  display: block;
  height: 169px;
  float: left;
  margin: 0 9px;
}
#boxes a img {
  position: absolute;
  bottom: 0;
}
.underhead {
  overflow: auto;
}
.underhead p {
  margin: 0 0 0 15px;
  font: 17px Arial, sans-serif;
  line-height: 1.5em;
  width: 309px;
  float: left;
  display: block;
  position: relative;
  z-index: 50;
}
#text-outline {
  clear: left;
  padding: 6px;
  margin: 10px 0 0;
  float: left;
  width: 731px;
  background-image: linear-gradient(top, #fff 70%, #d3d3d3 100%);
  background-image: -o-linear-gradient(top, #fff 70%, #d3d3d3 100%);
  background-image: -moz-linear-gradient(top, #fff 70%, #d3d3d3 100%);
  background-image: -webkit-linear-gradient(top, #fff 70%, #d3d3d3 100%);
  background-image: -ms-linear-gradient(top, #fff 70%, #d3d3d3 100%);
  background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0.5, #fff),
    color-stop(1, #d3d3d3)
  );
  margin-bottom: 40px;
}
#text-outline.cd {

}
#text-outline.cd #text p, #text-outline.cd #text h2, #text-outline.cd #text h1 { 
  padding-left: 10px;
  padding-right: 10px;
}
#text-outline.cd #text{
  font-family: 'CaviarDreamsBold', regular;
  font-size: 10pt;
  padding: 0;
}
#text-outline.cd #text h1{
  font-size: 18pt;
}
#text-outline.cd #text p{
  margin: 18px 0;
}
#text {
  font: 13px Arial, sans-serif;
  background: #fff;
  padding: 12px 17px;
  overflow: auto;
}
#text p {
  margin: 8px 0;
}
#text h1 {
  font-size: 17px;
  color: #800000;
  margin: 32px 0 0;
}
#text h2 {
  font-size: 14px;
  color: #333;
  margin: 15px 0 10px;
  border-bottom: 1px solid #AAA;
  padding:  0 0 3px 2px;
}
#text h3 {
  font-weight: bold;
  font-size: 15px;
  color: #555;
  margin: 15px 0 -8px;
  font-style: italic;
  padding-left: 2px;
}
#text table {
  border: 2px solid #800000;
  margin: 15px auto;
}
#text td, #text th {
  border: 1px solid #800000;
  padding: 5px;
}
#text th {
  font-weight: bold;
  background: #800000;
  color: #fff;
}
#text hr {
  height: 1px;
  background: #;;
  border: 0;
}
#text ul li, #text ol li {
  padding-left: 20px;
  background: url('../graphics/design/ul_dot.gif') no-repeat 3px 7px;
}
#text ol li {
  list-style-type: decimal;
  margin: 0 0 0 20px;
  padding: 0;
  background: none;
}
#news {
  width: 204px;
  float: right;
  background: #393939;
  padding: 11px 9px 0;
  margin: 70px 5px 30px 0;
  position: relative;
}
#menu {
  width: 222px;
  float: right;
  margin: 70px 5px 30px 0;
  position: relative;
}
#menu ul, #menu ol, #menu li{
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: top;
  color: inherit;
}
#menu-fix{
  display: block;
  position:relative;
  top: 0;
  background: #393939;
  width:204px;
  padding: 11px 9px 0;
}
#menu-fix.fixed{
  position: fixed;
  top: 0;
}
#news a, #menu li a {
  color: #fff;
  text-decoration: none;
  display: block;
  background-image: linear-gradient(top, #636363 0%, #2f2f2f 50%);
  background-image: -o-linear-gradient(top, #636363 0%, #2f2f2f 50%);
  background-image: -moz-linear-gradient(top, #636363 0%, #2f2f2f 50%);
  background-image: -webkit-linear-gradient(top, #636363 0%, #2f2f2f 50%);
  background-image: -ms-linear-gradient(top, #636363 0%, #2f2f2f 50%);
  background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0, #636363),
    color-stop(0.50, #2f2f2f)
  );
  padding: 10px 13px;
  margin-bottom: 11px;
}
#menu a {
  color: #fff;
  font-size: 11pt;
  font-weight: bold;
  text-decoration: none;
}
#news a:hover, #menu a:hover {
  background-image: linear-gradient(bottom, #636363 0%, #2f2f2f 50%);
  background-image: -o-linear-gradient(bottom, #636363 0%, #2f2f2f 50%);
  background-image: -moz-linear-gradient(bottom, #636363 0%, #2f2f2f 50%);
  background-image: -webkit-linear-gradient(bottom, #636363 0%, #2f2f2f 50%);
  background-image: -ms-linear-gradient(bottom, #636363 0%, #2f2f2f 50%);
  background-image: -webkit-gradient(
    linear,
    left bottom,
    left top,
    color-stop(0, #636363),
    color-stop(0.50, #2f2f2f)
  );
  padding: 10px 13px;
  margin-bottom: 11px;
}
#menu li li a {
  background: none;
  padding-left: 30px;
  margin: -14px 0 6px;
  height: auto;
}
#menu li li a:hover {
  padding: 10px 13px 10px 30px;
  height: auto;
  margin: -14px 0 6px;
  background: none;
  color: #900000;
  text-decoration: underline;
}
#menu li {
  overflow: hidden;
}
#news span {
  display: block;
  padding-bottom: 3px;
}
#news h2 {
  position: absolute;
  top: -14px;
  font: 13px 'Arial Black', sans-serif;
  text-transform: uppercase;
}
#news small {
  display: block;
  padding-top: 10px;
  text-align: right;
  font-size: 83%;
}
#news a {
  font: bold 14px Arial, sans-serif;
}
#footer {
  position: absolute;
  bottom: 0;
  left: 60px;
  width: 860px;
  height: 75px;
  text-shadow: 1px 1px 1px #000;
}
#footer .epos_pro,#footer .eversmile,#footer .goup {
  position: absolute;
  height: 0;
  width: 0;
  overflow: hidden;
  padding: 51px 0 0 128px;
  left: -30px;
  top: 0px;
  background: url('../graphics/design/epos_pro_little.png') no-repeat 0 0;
}
#footer .eversmile {
  padding: 25px 0 0 180px;
  left: 421px;
  top: 25px;
  background-image: url('../graphics/design/eversmile_little.png');
}
#footer .goup {
  padding: 35px 0 0 56px;
  left: 798px;
  top: 36px;
  background-image: url('../graphics/design/go_up.png');
}
#footer .goup:focus {
  outline: 0;
}
#footer p {
  color: #fff;
  padding: 10px 0 0 170px;
  font: bold 14px Arial, sans-serif;
  width: 288px;
  line-height: 1.4em;
}
#footer p span {
  display: block;
  text-align: right;
}
.clearer {
  clear: both;
}
a {
  color: #800000;
}
a:hover {
  color: #A21813;
}

img.left {
  float: left;
  margin: 15px 15px 15px 0;
}
img.right {
  float: right;
}

.menu-libor a{
  color: #fff !important;
  text-decoration: none !important;
  display: block;
  padding: 0 !important;
  margin-bottom: 2px !important;
  font-size: 80% !important;
}
.menu-libor a:hover{
  color: #fff !important;
  text-decoration: none !important;
  display: block;
  padding: 0 !important;
  margin-bottom: 2px !important;
  font-size: 80% !important;
}

table#terezka td,table#terezka th{
  border: 0;
}
