
body, div, li, td, th, span, input, textarea, table, form, p, h1,h2,h3,h4,h5,h6,h7  {
  font-family: Arial, Verdana, Tahoma, Arial, Helvetica, sans;
  font-size: 14px;
  color: #392b20;
}

h1,h2,h3,h4,h5 {
  color: #191919;
  margin: 2px;
  margin-bottom: 8px;
}

h1 { font-size: 14px; }
h2 { font-size: 13px; }
h3 { font-size: 12px; }
h4 { font-size: 11px; }
h5 { font-size: 10px; }

h1 a, h2 a, h3 a, h4 a, h5 a {
  color: inherit;
  background: inherit;
  font-size: inherit;
  font-family: inherit;
  text-decoration: inherit;
}


html {
  height: 100%;
}

#leftmenu  li ul li ul li.active a{
  background-position: 190px center;
}

table {
  border-spacing: 0;
  border-collapse: collapse;
}

#leftmenu li.active ul ul li.active a{
  padding-right: 45px;
}
#leftmenu li ul li li div {
  height: auto;
    padding-left: 20px;
}

td {
  padding: 2px;
}

form {
  margin: 0;
  padding: 0;
}

a {
  color: #64bef7;
}

a img {
  border: 0;
}

a:hover {
  text-decoration: underline;
}


p {
  margin: 0;
  margin-top: 15px;
  margin-bottom: 15px;
  padding: 0;
  line-height: 20px;
}

ul {
  margin: 0;
}

.text, select, textarea {
  border: 1px solid #acacac;
}

.text {
  width: 140px;
}

.clear {
  clear: both;
}

ul.menu, ul.menu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

ul.menu li {
  margin: 0;
  padding: 0;
}
/*
input, textarea, select {
  border: 1px solid #d3d2d0;
  font-size: 13px;
} */

input[type=text], textarea {
  width: 140px;

}
input.checkbox {
  border: 0; /*1px solid #d3d2d0 !important;*/
}


input.form_box {
  padding: 2px;
}

body {
  margin: 0;
  padding: 0;
  text-align: center;
  background: white;
  background: url(/images/bg_body.png) repeat-x;
}

#main {
  margin: 0 auto;
  padding: 0;
  width: 1002px;
  text-align: left;
  position: relative;
  min-height: 800px;
}

#bodytop {
  border: solid #8f8f8f;
  border-width: 0 1px 1px 1px;
  padding-bottom: 10px;
}


#top {
  height: 111px;
  background: white;
  position: relative;
}

h1#logo {
  margin: 0;
  padding: 0;
  float: left;
  position: absolute;
}

h1#logo a {
  display: block;
  width: 425px;
  height: 33px;
  background: url(/images/ozols-logo.png) no-repeat;
  color: transparent;
  text-indent: -9999px;
  outline: none;
  position: relative;
  top: 55px;
  left: 50px;
}

#top .box1 {
  float: right;
  padding-top: 0px;
  color: #606060;
  margin-right: 10px;
  width: 700px;
  text-align: right;
  position: relative;
}
#top .box1 form {
  color: #606060;
}


#top .box1 .text {
  width: 83px;
}


#top .box1 .button {
  position: relative;
  top: 5px;
  min-width: 90px;
  width: 90px;
}

#top .box1 .login_err {
  color: red;
  padding-right: 30px;
}

#top .langs {
  position: absolute;
  left: 8px;
  top: 6px;
}
#top .langs .active {
  font-weight: bold;
}

/* BUTTON */

.button {
  text-decoration: none;
  padding: 0;
  padding-left: 7px;
  border: none;
  color: white;
  cursor: pointer;
  outline: 0;
  background: none;
  min-width: 130px;
}

.button div {
  background: url(/images/btn_m.png) repeat-x;
  height: 21px;
  float: left;
  color: white;
  font-size: 14px;
  padding: 1px 9px 0 9px;
  cursor: pointer;
  border: none;
  margin: 0;
  white-space: nowrap;
}


.button span {
  display: block;
  height: 21px;
  background: url(/images/btn_r.png) no-repeat;
  float: left;
  padding-right: 10px;
}

.button p {
  margin: 0;
  padding: 0;
  width: 10px;
  background: url(/images/btn_l.png) no-repeat;
  height: 21px;
  float: left;
}

.button:hover div {
  color: yellow;
}

.button2 div {
  background: url(/images/btn2_m.png) repeat-x;
}
.button2 span {
  background: url(/images/btn2_r.png) no-repeat;
}
.button2 p {
  background: url(/images/btn2_l.png) no-repeat;
}


#top .pan {
  width: 457px;
  height: 34px;
  background: url(/images/toppan1.png) no-repeat;
  position: absolute;
  bottom: 1px;
  right: 0;
}

#top .pan .submit {
  width: 27px;
  height: 27px;
  background: none;
  position: relative;
  left: 16px;
  top: 5px;
  margin-right: 20px;
  border: 0;
  cursor: pointer;
  outline: 0;
}

#top .pan .text {
  position: relative;
  top: 1px;
  height: 17px;
  width: 169px;
}

#top .cartinfo {
  padding-left: 35px;
  margin-left: 20px;
  position: relative;
  top: 1px;
  background: url(/images/cart.png) no-repeat;
}

#top .cartinfo a {
  color: #606060;
}

#top .cartinfo a:hover {
  color: #808080;
}

#top .cartinfo span {
  color: red;
  font-weight: bold;
}


#topmenu {
  background: url(/images/bg_menu.png) repeat-x;
  height: 36px;
  padding-left: 55px;
}

#topmenu li {
  display: inline;
  padding-right: 23px;
  float: left;
}

#topmenu li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  line-height: 36px;
  height: 36px;
  display: block;
  float: left;
}

#topmenu li a:hover {
  text-decoration: underline;
}

#topmenu li.active a {
  background: url(/images/menu_act.png) no-repeat center bottom;
}


#columns {
  margin-top: 11px;
}


#columns .left {
  width: 240px;
  float: left;
  min-height: 100px;
}

#columns .right {
  width: 751px;
  float: left;
  min-height: 100px;
}

#columns .left2 {
  width: 364px;
  margin-right: 10px;
  float: left;
}

#columns .right2 {
  width: 354px;
  float: left;
}



#leftmenu {
  margin-right: 11px;
}


#leftmenu li {
  display: block;
}
#leftmenu div.w {
  position: relative;
}
#leftmenu div.t {
  background: url(/images/bg_menu1_top.png) repeat-x;
  min-height: 25px;
}
#leftmenu div.i {
  padding-top: 5px;
  padding-bottom: 5px;
  position: relative;
  z-index: 10;
  background: url(/images/menu_act2.png) no-repeat 206px center;

}
#leftmenu div.m {
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 100%;
  z-index: 1;
  background: #CAC9C9;
}
#leftmenu div.b {
  height: 100%;
  background: url(/images/bg_menu1_bottom.png) repeat-x bottom;
}

#leftmenu li a {
  display: block;
  color: #5e5e5e;
  padding-left: 12px;
  padding-right: 25px;
  line-height: 15px;
  font-size: 13px;
  font-weight: bold;
  text-decoration: none;
}

#leftmenu li a:hover {
  text-decoration: underline;
}


#leftmenu li li div {
  background: #d9e8f1;
  padding-top: 6px;
  padding-bottom: 6px;
}
#leftmenu li li a {
  min-height: 20px;
  color: #4682a8;
  background: none;
  padding-left: 20px;
}


#leftmenu li li ul {
  background: white;
  padding-top: 6px;
  padding-bottom: 6px;
}

#leftmenu li li li div {
  background: white;
  /*height: 23px; */
  padding: 0;

}
#leftmenu li li li a {
  /*height: 23px;
  line-height: 21px;*/
  color: #848484;
  font-weight: normal;
}

#leftmenu li li li.active a {
  color: #45b9ff;
  background: url(/images/menu_act3.png) no-repeat 194px 8px;
}


div.left div#banners {
  background:transparent;
  text-align: center;
}

.navbar {
  height: 25px;
  background: #dcdcdc;
  overflow: hidden;
  width:100%;
}

.navbar .menu {
  width: 10000px;
}

.navbar li {
  display: inline;
  float: left;
}

.navbar a, .navbar span {
  float: left;
  display: block;
  color: #505050;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  line-height: 23px;
  padding-left: 19px;
  padding-right: 19px;
  height: 25px;
}

.navbar.small a, .navbar.small span {
  font-size: 12px;
  padding-left: 14px;
  padding-right: 14px;
}

.navbar a:hover {
  text-decoration: underline;
}

.navbar li.active {
  background: #66c1fa;
}

.navbar li.active a, .navbar li.active span {
  color: white;
}

.navbar li .a {
  width: 13px;
  height: 25px;
  background: url(/images/a11.png) no-repeat;
  float: left;
}

.navbar li .b {
  width: 13px;
  height: 25px;
  background: url(/images/a12.png) no-repeat;
  float: left;
}

.navbar li.active .a {
  background: url(/images/a21.png) no-repeat;
}

.navbar li.active .b {
  background: url(/images/a22.png) no-repeat;
}


.content_box {
  border: 1px solid #dcdcdc;
  min-height: 300px;
  padding: 15px;
  margin-right: 10px;
  margin-top: 10px;
}
.content_box1 {
  border: 1px solid #dcdcdc;
  padding: 15px;
  margin-right: 10px;
  margin-top: 10px;
}
.content_box2 {
  border: 1px solid #dcdcdc;
  border-top: none;
  min-height: 100px;
  padding: 15px;
  margin-right: 10px;
}


#footer {
  height: 155px;
  background: url(/images/bg_footer.png) repeat-x;
}

#footer, #footer p {
  color: white;
  text-align: center;
  font-weight: bold;
}
#footer p {
  margin: 4px;
}


#footer .block {
  padding: 10px;
  width: 660px;
  margin: 0 auto;
  border-bottom: 1px solid white;
}


#footer .block, #footer .block p {
  font-size: 16px;
}


#catalog .meta {
  background: #e9f4fa;
  height: 25px;
  line-height: 23px;
  padding-left: 20px;
  padding-right: 20px;
  margin-top: 20px;
}

#catalog .meta .l {
  color: #8c8b8b;
}
#catalog .meta .l span {
  color: #1c8fcf;
  font-weight: bold;
}

#catalog .meta .r {
  text-align: right;
}

.pages {
  white-space: nowrap;
}

.pages a {
  margin-left: 3px;
  margin-right: 3px;
  text-decoration: none;
  font-weight: bold;
  color: #9b9c9c;
}

.pages .prev {
  margin-right: 15px !important;
}
.pages .next {
  margin-left: 15px !important;
}

.pages .prev, .pages .next {
  position: relative;
  top: 1px;
}

.pages a.active {
  color: #2a9ad7;
}

#products {
  margin-top: 10px;
}
#products table {
  table-layout: fixed;
  border-collapse: collapse;
}
#products td {
  padding: 0;
  vertical-align: top;
  background: white;
}
#products .ptop {
  text-align: center;
  margin: 0;
  padding: 0;
}
#products .pbottom {
  text-align: center;
  padding-bottom: 10px;
  margin: 0;
  padding: 0;
}

#products  tr td.spc {
  width: 13px;
  background: transparent
}
#products td.tptop {
  border: solid #dcdcdc;
  border-width: 1px 1px 0 1px;
  width: 174px;
}
#products td.tpbottom {
  border: solid #dcdcdc;
  border-width: 0 1px 1px 1px;
  width: 174px;
  padding-bottom: 10px;
}


.prod {
  width: 172px;
  height: 244px;
  border: 1px solid #dcdcdc;
  float: left;
  margin-right: 13px;
  margin-bottom: 10px;
  text-align: center;
}

.ptop .im,
.prod .im {
  margin-top: 10px;
  height: 135px;
  position: relative;
}
.ptop .im img,
.prod .im img {
  max-height: 135px;
}


.prod .im a {
  display: block;
}

.ptop p,
.pbottom p,
.prod p {
  margin: 0;
}

.pbottom .button,
.prod .button {
  margin-left: 40px;
  margin-top: 5px;
  display: block !important;
}
.pbottom .btn,
.prod .btn {
  margin-top: 4px;
}


.ptop .title,
.prod .title {
  color: #0874b0;
  font-weight: bold;
}

.pbottom .price,
.prod .price {
  color: #3d3d3d;
  font-weight: bold;
}

.pbottom .price .old,
.prod .price .old {
  color: #808080;
  font-size: 10px;
  font-weight: normal;
  text-decoration: line-through;
}

.pbottom .price .new,
.prod .price .new {
  color: #a62a4f;
}



#cart table {
  width: 100%;
}

#cart .count {
  width: 43px;
}

#cart .count .text {
  width: 40px;
}

#cart .title a {
  color: #392b20;
  text-decoration: none;
}
#cart .title a:hover {
  text-decoration: underline;
}


#cart th {
  color: #8d8d8d;
  font-size: 12px;
  font-weight: normal;
  background: #f1f1f1;
  border-bottom: 1px solid #66c1fa;
  padding-bottom: 3px;
}

#cart td {
  padding-top: 2px;
}


#cart .col1 td {
  background: #f1f1f1;
}

#cart .total td, #cart .total span {
  color: #0874b0;
  font-weight: bold;
}

#cart .button {
  margin-left: 200px;
  min-width: 300px;
  width: 300px;
}


.orderform {
  margin-left: 50px;
}

.orderform td .err {
  color: red;
}

.orderform td {
  vertical-align: top;
}

.orderform .desc span {
  color: red;
}

.orderform .button {
  margin-left: 200px;
  min-width: 300px;
  width: 300px;
}

.orderform .text, .orderform textarea {
  width: 277px;
  background: #f3f3f3;
}


#product {
  padding-bottom: 8px;
  border-bottom: 1px solid #66c1fa;
  margin-bottom: 10px;
}


#product .l {
  width: 194px;
  float: left;
}
#product .r {
  width: 510px;
  float: right;
}

#product .pic {
  display: block;
  border: 1px solid #b4b4b4;
  width: 177px;
  margin-bottom: 10px;
  text-align: center;
  position: relative;
}
#product .pic div {
  width: 15px;
  height: 15px;
  position: absolute;
  right: 3px;
  top: 3px;
  background: url(/images/plus.png) no-repeat;
}

#product .pics a {
  border: 1px solid #b4b4b4;
  width: 48px;
  height: 48px;
  text-align: center;
  display: block;
  float: left;
  margin-right: 14px;
  margin-bottom: 6px;
}

#product .pics a:hover {
  border: 1px solid #949494;
}

#product h1 {
  color: #0874b0;
}

#product .price {
  font-weight: bold;
  font-size: 16px;
}

#product .price.old {
  color: #808080;
}

#product .prodcode {
  margin-top: 0px;
}

#product .button {
  float: right;
  margin-bottom: 10px;
}


#product .desc {
  clear: both;
  border-top: 1px solid #66c1fa;
  padding-top: 10px;
}

#product h2 {
  color: #4eafe5;
  font-weight: normal;
}


#news {
  margin-top: 20px;
}

.post {
  margin-bottom: 8px;
}


.post h2 {
  color: #2a4e63;
  font-size: 16px;
  margin: 0;
  padding-bottom: 3px;
  margin-bottom: 2px;
  border-bottom: 1px solid #66c1fa;
}

.post .meta {
  color: #c3c3c3;
  font-size: 11px;
  text-align: right;
  margin-right: 8px;
}

.post .entry {
  margin-right: 15px;
  padding-top: 15px;
}

.post p {
  color: #7f7f7f;
  line-height: 20px;
  font-size: 13px;
  text-align: justify;
  margin-bottom: 0;
  margin-top: 0;
}

.post .link {
  margin-right: 10px;
  text-align: right;
}


.cat2 .meta {
  text-align: center;
}

.cat2 .prod {
  margin-right: 15px !important;
}

.cat2 .prod2 {
  margin-right: 0 !important;

}

.pages2 {
  margin-top: 0 !important;
  margin-bottom: 10px !important;
}

#products td.tpbottom.akcija,
#products td.tptop.akcija,
.prod.akcija {
  border-color: #a62a4f !important;
}

#products td.tpbottom.akcija .stamp,
#products td.tptop.akcija .stamp,
.prod.akcija .stamp {
  position: absolute;
  right: 0;
  top: -3px;
  width: 76px;
  height: 76px;
  background: url(/images/lv_akcija.png) no-repeat;
  outline: 0;
}

body.en #products td.tpbottom.akcija .stamp,
body.en #products td.tptop.akcija .stamp,
body.en .prod.akcija .stamp {
  background: url(/images/en_akcija.png) no-repeat;
}

body.ru #products td.tpbottom.akcija .stamp,
body.ru #products td.tptop.akcija .stamp,
body.ru .prod.akcija .stamp {
  background: url(/images/ru_akcija.png) no-repeat;
}

#products td.tpbottom.aktuali,
#products td.tptop.aktuali,
.prod.aktuali {
  border-color: #95ee32 !important;
}

#products td.tpbottom.aktuali .stamp,
#products td.tptop.aktuali .stamp,
.prod.aktuali .stamp {
  position: absolute;
  right: 0;
  top: -8px;
  width: 76px;
  height: 76px;
  background: url(/images/lv_aktuali.png) no-repeat;
  outline: 0;
}


#products td.tpbottom.jaunums,
#products td.tptop.jaunums,
.prod.aktuali {
  border-color: #57b105 !important;
}

#products td.tpbottom.jaunums .stamp,
#products td.tptop.jaunums .stamp,
.prod.jaunums .stamp {
  position: absolute;
  right: 0;
  top: -8px;
  width: 76px;
  height: 76px;
  background: url(/images/lv_jaunums.png) no-repeat;
  outline: 0;
}

body.en #products td.tpbottom.jaunums .stamp,
body.en #products td.tptop.jaunums .stamp,
body.en .prod.jaunums .stamp {
  background: url(/images/en_jaunums.png) no-repeat;
}
body.ru #products td.tpbottom.jaunums .stamp,
body.ru #products td.tptop.jaunums .stamp,
body.ru .prod.jaunums .stamp {
  background: url(/images/ru_jaunums.png) no-repeat;
}

.btn {
  background: url(/images/btn_r.png) no-repeat right;
  height: 21px;
  line-height: 21px;
  display: inline-block;
  margin: 0;
  padding: 0;
  padding-right: 9px;
  cursor: pointer;
  border: 0;
}
button.btn {
  padding-right: 7px;
}


a.btn {
  text-decoration: none;
}

a.btn:hover span {
  color: yellow;
}


.btn span {
  background: url(/images/b.png) no-repeat top left;
  height: 21px;
  padding-left: 20px;
  padding-right: 10px;
  line-height: 21px;
  display: inline-block;
  color: white;
}

button.btn span {

}

.btn2 {
  background: url(/images/btn2_r.png) no-repeat right !important;
}
.btn2 span {
  background: url(/images/b2.png) no-repeat !important;
}


#cartnotifier {
  position: relative;
  left: 200px;
  background-color: #FFF1D5;
  border: 1px solid black;
  width: 260px;
  padding: 5px;
  display: none;
  cursor: pointer;
  -moz-box-shadow: 1px 1px 3px #464646;
  -webkit-box-shadow: 1px 1px 3px #464646;
  box-shadow: 1px 1px 3px #464646;
}

#cartnotifier .closenotifier {
  text-align: right;
  font-size: 13px;
}


#filter {
  height: 21px;
  margin-left: 10px;
}

#filter select {
  max-width: 170px;
}


#filter .button {
  height: 21px;
  line-height: normal;
}

#categories {
  margin-top: 15px;
}
#categories .ptop {
  border: 1px solid #DCDCDC;
  padding: 7px;
  text-align: center;
}