html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: none;
	font: inherit;
	vertical-align: baseline;
	text-decoration: none;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
b {font-weight:bold;}
a {color:#fff; text-decoration:underline;}
a:hover {color: #004A96;}
body {background: url("../img/HOME1.jpg"); background-size:cover; background-attachment:fixed;  font-family: Arial, Helvetica; font-size:12px; line-height:1.5; color:#fff; }
h1 {font-size:28px; text-transform:uppercase; }
h2 {font-size:22px; margin-bottom:20px; }
h3 {font-size:16px; font-weight:bold; color:#4072c3; margin-bottom:0px; }
h2 span {color:#4072c3;}
h4 {font-size:32px; font-weight:90%; color:#004a96; margin-left:200px; margin-top:35px; }
h5 {font-size:32px; font-weight:90%; color:#ffffff; margin-left:220px; margin-top:35px;}
 

.wrap {width:880px; margin:auto; }
.header {position: relative; height:85px; top:0px;}

.logo {;z-index:2; position:absolute; top:0px; left:20px; width:165px; height:165px;}
body.produkti .logo {position:fixed; left:50%; margin-left:-420px;}
ul.menu {z-index:1; position:absolute; top:30px; padding-left:200px; padding-top:15px; background:#00376f url(../img/menu-bg.png); width:680px; height:40px;}
ul.menu li {text-transform:uppercase; display:inline-block; line-height:25px; padding:0px 20px;}
ul.menu li {border-right:1px solid #6d7883; }
ul.menu li:last-child {border:0px;}
ul.menu li a {  color:#fff; text-decoration:none;}
ul.menu li a:hover {font-weight:bold;}
.menulogo {z-index:3; position:absolute; left:670px; top:43px;}
.bottom  {padding:20px; text-align:center; }
.bottom img {display:inline-block; width:250px; height:120px; margin:10px;}
.teksts { padding:160px 100px 60px 130px; text-align:justify;text-shadow:0px 0px 5px #000; }
.teksts  p {margin:10px 0px;}
.footer {text-shadow:0px 0px 5px #000; width:870px; margin:auto; bottom:0px; color:#ffffff; border-top:1px solid #adb1a8; padding-top:20px; }
body.produkti {background-image: url(../img/products-bg.jpg)}
.saraksts {width:160px; background-color:#ffffff; margin-left:20px; padding-bottom:20px; margin-top:90px; margin-bottom: 100px; float:left; position: fixed;}
ul.saraksts li {text-transform:uppercase; display:block; line-height:100%; padding-left:10px; margin-top:15px;}

ul.saraksts li a {color:#004a96; font-size:11px; font-weight: bold; text-decoration:none;}

ul.saraksts li a:hover  {color:#004a96; font-size:11px; font-weight: bold; text-decoration:underline;}

ul.saraksts2 li  {margin-top:0px;}
ul.saraksts2 li a {font-size:11px; line-height:90%; }
.popup {width:660px; height:660px; background-color:#ffffff;float:left; margin-left:40px; margin-bottom:10px; }
body.galerija {background-image: url(../img/GALLERY.jpg)}
.galerijas {width:530px; height:330px; margin-left:20px; margin-top:30px; margin-bottom:30px;}
.galerijas h2 {color: #004a96;}

.galerija1 img { width:300px; height:200px; float:left; margin-bottom:5px;}
.galerija2 img  {width:150px; height:150px; float:left; margin-left:5px;margin-bottom:5px;}
.galerija3 img {width:150px; height:150px; float:left;}
.galerija4 img {width:150px; height:150px; float:left;margin-left:5px;}
body.contacts {background-image: url(../img/CONTACTS.jpg)}
.adreses {margin-left:220px; margin-top:60px; width:220px; float:left; margin-bottom:30px;}
.personas {margin-left:20px; margin-top:77px;width:220px; float:left; margin-bottom:30px;}
.product {margin-top:10px; margin-left:210px; float:left; width:630px; background:url(../img/tr.png); color:#2e2e2e; padding:20px;  margin-bottom:40px}
.products h1 { text-shadow:0px 0px 5px #764428; margin-left:210px; float:left; margin-top:50px; height:30px; line-height:30px;}
.contacts h1 {margin-left:220px; margin-top:40px;}
.galerija h1 {margin-left:220px; margin-top:40px; color:#004a96;}
.products p {margin-bottom:10px;}
.active a {font-weight:bold;}

* {
  margin: 0;
}
html, body {
  height: 100%;
}
.wrap {
  min-height: 100%;
  /* equal to footer height */
  margin-bottom: -71px; 
}
.wrap:after {
  content: "";
  display: block;
}
.footer, .wrap:after {
  height: 50px; 
}
.footer {

}
ul.liste a {color:#004a96; text-decoration:none; font-weight:bold;}
ul.liste {margin-top:20px; list-style:circle; padding-left:30px;}