* {margin: 0;/* padding: 0;*/}
body {background: #e9e9e9 url('img/bodybg.jpg') no-repeat center top; font: 12px/18px Tahoma, Verdana, sans-serif; width: 100%;}
a {color: #1267C4; outline: none; text-decoration: underline;}
a:hover {text-decoration: none;}
h1 {color: #001384; font: 24px/26px Verdana, Georgia, Tahoma, sans-serif; padding: 10px 0 20px 20px;}
h2,h3,h4,h5 {color: #001384; font: 18px/20px Verdana, Georgia, Tahoma, sans-serif; padding: 0 0 10px 20px;}
p {margin: 0 0 18px}
img {border: none; display: block;}
input {vertical-align: middle;}
#wrapper {width: 1000px; margin: 0 auto;}
.justifyright {text-align: right;}
.justifyleft {text-align: left;}
.center {text-align: center;}
.clear {clear: both;}
.left {float: left;}
.right {float: right;}

/* Header
-----------------------------------------------------------------------------*/
#header {height: 420px;}
#thead {height: 90px;}
#hlogo {float: left; margin: 25px 0 0 40px;}
#hname {float: left; margin: 25px 0 0 30px;}
#hname a {text-decoration: none;}
#hname1 {font: bold italic 22px/24px Franklin Gothic Medium, Georgia, Arial; color: #c3191a;}
#hname2 {font: bold 20px/30px Franklin Gothic Medium, Century Gothic, Arial; color: #001384;}
#hbut {width: 170px; float: right; margin: 22px 23px 0 0;}
#leng {margin-left: 35px;}
#leng a {margin-left: 22px;}
#leng a.selected {font-weight: bold;}
#hrus {float: left; margin: 0 0 0 57px;}
#heng {float: right; margin: 0 50px 0 0;}
#hico {margin-top: 6px;}
a#sico {width: 32px; height: 33px; background: url('img/sicons.png') no-repeat left top; display:block; float: left; margin: 0 10px 0 30px;}
a#mico {width: 32px; height: 33px; background: url('img/micons.png') no-repeat left top; display:block; float: left; margin-right: 10px;}
a#pico {width: 32px; height: 33px; background: url('img/picons.png') no-repeat left top; display:block; float: left; margin: 0 20px 0 0;}
a#sico:hover, a#mico:hover, a#pico:hover {background-position:0 -33px;}
#gal {height: 328px; margin-top: 2px;/* background: url('img/galbg.jpg') no-repeat center top;*/}

/* Menu
-----------------------------------------------------------------------------*/
#menu {width: 1004px; margin: 0 auto; background: url('img/menubg.png') no-repeat; margin-left: -2px;}
/* Main menu */
#menu ul {width: 100%; height: 46px; margin: 0;	padding: 10px 1px 0 2px; list-style: none;/* background-color: #fff;*/}
#menu ul li {float: left; text-align: center; line-height: 0; position: relative; padding: 0 0 10px 0;}
#menu ul a {width: 143px; float: left; height: 25px; font: 12px/25px Tahoma, Arial; color: #fff; text-decoration: none;}
#menu ul li a:hover, #menu ul li.active > a { height: 31px; background: url('img/amenu.png') repeat-x right top; width: 143px; -moz-border-radius: 3px 3px 0 0; border-radius: 3px 3px 0 0;}
#menu ul li:hover > ul {display: block;}

/* Sub-menu */
#menu ul ul {list-style: none; margin: 0; padding: 0; display: none; position: absolute; top: 35px; left: 0; z-index: 99999; background: #fff;}
#menu ul ul li {margin: 0; padding: 0; display: block;}
#menu ul ul a {padding: 10px 10px; height: 10px; min-width: 143px; width: 268px; color: #888; text-align: left; line-height: 1; display: block; white-space: nowrap; background: #eee; border-bottom: 1px solid #f9f9f9;}
* html #menu ul ul a {height: 10px;} /* IE6 */
#menu ul ul a:hover, #menu ul ul li.active > a  {height: 10px; width: 268px; color: #fff; text-align: left; background: #888;}
#menu ul ul li:last-child a {-moz-border-radius: 0 0 5px 5px; border-radius: 0 0 5px 5px;}
#menu ul ul li:first-child > a:after {content: ''; position: absolute; left: 30px; top: -5px; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 5px solid #eee;}
#menu ul li:first-child a:hover:after {border-bottom-color: #888;}

/* Clear floated elements */
#menu:after {visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0;}
* html #menu { zoom: 1; } /* IE6 */
*:first-child+html #menu { zoom: 1; } /* IE7 */

/* Middle
-----------------------------------------------------------------------------*/
#middle {width: 100%; height: 1%; position: relative; background-color: #fff;}
#middle:after {content: '.'; display: block; clear: both; visibility: hidden; height: 0;}
#container {width: 100%; float: left; overflow: hidden;}
#content {padding: 0 255px 20px 25px;}
#content2 {padding: 0 25px 20px 25px;}

/* Production
-----------------------------------------------------------------------------*/
#prodi {width: 285px; height: 100%; float: left; margin-bottom: 50px;}
#prodi .pri {margin: 0 0 10px;}
#prodi a {text-decoration: none;}
#prodi img {border: 1px solid #ccc;}
#prodi span {width: 250px; display: block; border: 1px solid #ccc; margin-top: -2px; text-align: center; background-color: #eee; color: #333;}
#prodip {text-align: justify;}
#podpic {float: left; margin: 0 20px 20px 0;}float: left; margin: 0 18px 20px 0;
#podpic img {border: 1px solid #ccc;}
.podsmpic {float: left; margin: 0 18px 20px 0;}
.podsmpic img {border: 1px solid #ccc;}

/* Gallery
-----------------------------------------------------------------------------*/
#gallery {margin: 0 auto;}
#gallery ul img {display: inline; margin-bottom: 3px;}
#gallery ul {padding-left: 10px; list-style:none;}
#gallery li {display: inline; margin-right: 3px;}
#gallery #main-img {background: url(img/bg_img.png) no-repeat 0 0; padding: 26px;}

/* Tables
-----------------------------------------------------------------------------*/
#produkt {width: 950px; margin-left:15px;}
#produkt td {padding: 0;}

#proekt {width: 950px; font: 14px/16px Tahoma, Verdana;}
#proekt p {margin-bottom: 5px;}
#proekt td {padding: 0;}
#proekt strong {font: bold 15px/18px Tahoma, Verdana; color: #0F1B50;}
/*.gallery {background-color: #efeded; border: 1px solid #e4dddd; -moz-border-radius: 5px; border-radius: 5px; padding: 4px 6px 6px;}*/
a.gallery {font: bold 14px/16px Tahoma, Verdana; color: #5674EA;}

#predstav {width: 695px; border-collapse: collapse; margin: 0 0 15px 105px;}
#predstav strong {font: bold 14px/18px Tahoma, Verdana; color: #0F1B50;}
#predstav td {vertical-align: top;}
.bbg {background-color: #f3f3f8; border: 1px solid #d0d4f4; font: 13px/15px Tahoma, Verdana;}

#conti {width: 300px; border-collapse: collapse; margin-bottom: 20px;}
#conti td {text-align: center; padding: 3px 0 6px;}
#conti td.nea {padding: 0; margin: 0;}

/* News
-----------------------------------------------------------------------------*/
#news {width: 710px;}
#news a {text-decoration: none;}
.hnews {height: 10px; background: url('img/nbg1.png') no-repeat;}
.mnews {height: 100%; background: url('img/nbg2.png') repeat-y; padding: 0 10px 7px;}
.mnews a {float: left; font-weight: bold; color: #000;}
.mnews span {float: right; font: italic 11px/12px Arial; color: #777;}
.bnews {height: 24px; background: url('img/nbg3.png') no-repeat; padding: 8px 0 0 26px;}
.bnews a {font-weight: bold; color: #fff; line-height: 6px;}

/* Contacts
-----------------------------------------------------------------------------*/
#respond {padding: 0 0 0 150px;}
#cont {float: left; width: 590px; font: 13px/16px Tahoma, Verdana; margin-left: 5px;}
#ctab {float: right; margin-top: -30px;}
.rbp {font-weight: bold; color: #f32121;}
.rbcp {font-weight: bold; color: #f32121; text-decoration:blink}
#cf {width: 700px;}
.cb {border: 1px solid #ccc; padding: 10px 15px 15px; width: 350px;}
.cm {font: bold 16px/20px Arial, Tahoma;}
.cbl {float: left; width: 335px; margin: 0 15px 20px 0;}
.cbl2 {float: left; width: 335px; margin: 0 15px 20px 0; margin-top: 10px;}
.hcbl {float: left; width: 150px;}
.hcbl2 {float: left; width: 150px; margin-left: 5px;}
.cmr {float: left; margin-right: 50px;}
#code {margin-top: 20px;}
#lcod {float: left; margin-right: 20px; width: 150px;}
#clcod {float: left; margin-right: 45px; width: 150px;}
#rcod {float: left; width: 145px; text-align: right; margin-top: 10px;}
#bcod {margin-top: 15px;}
.ccbl {float: left; width: 300px; margin: 0 15px 10px 0;}
.ccbl2 {float: left; width: 340px; margin: 0 15px 0 0;}
.errors {background: none repeat scroll 0 0 #FFCECE; border: 1px solid #CC4E4E; margin: 10px 10px 20px; padding: 5px; width: 620px;}

/* Sidebar Right
-----------------------------------------------------------------------------*/
#sideRight {width: 100%; height: 100%; float: left; margin-right: -3px; width: 227px; margin-left: -227px; position: relative; background: #F7F3F3; border: 1px solid #E5DCDC; border-right: none; -moz-border-radius: 5px 0 0 5px; border-radius: 5px 0 0 5px;}
#gsideRight {width: 100%; height: 100%; float: left; margin-right: -3px; width: 227px; margin-left: -227px; position: relative; background: #F7F3F3; border: 1px solid #E5DCDC; border-right: none; -moz-border-radius: 5px 0 0 5px; border-radius: 5px 0 0 5px;}
#sideRight img {margin-left: 8px;}
#sideRight img:first-child {margin: 9px 0 0 8px;}
#gsideRight img:first-child {margin-top: 9px;}
#gsideRight img {margin: 0 0 9px 8px; -webkit-box-shadow: 1px 1px 3px #888888; box-shadow: 1px 1px 3px #888888; -moz-border-radius: 2px; border-radius: 2px;}

/* Footer
-----------------------------------------------------------------------------*/
#footer {height: 242px; width: 1260px; background: url('img/nfootbg.jpg') no-repeat left bottom; margin-left: -260px;}
#kran {width: 313px; height: 140px; background: url('img/nkran.png') no-repeat; position:relative; margin: -140px 0 0 0;}
#ftxt {padding: 50px 0 0 480px; color: #444;}
#txt {float: left; width: 390px;}
#zw {float: right; width: 150px; color: #444; padding-top: 6px;}
#zw img {display: inline;}
#zw1 {float: left; width: 69px; line-height: 12px;}
#zw2 {float: right; width: 81px;}