body, div, li, td, th, span, input, textarea, table, form  {
  font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
}

body {
background: #FFF url(/images/bg_body.gif) center repeat-y;
margin: 0;
padding: 0;
font-size: 70%;
color: #333;
}

input, textarea {
font-size: 100%;
}

a img {
border: 0;
}

a {
color: #3f658c;
}

a:hover {
color: #4a4a4a;
}

.foto {
border: 1px solid #a8a8a8;
}

#main {
margin: 0px auto 0px;
padding: 0;
width: 1000px;
}

#top {
background: url(/images/top.jpg) top no-repeat;
width: 1000px;
height: 159px;
float: left;
}

#bg_content {
background: url(/images/bg_content.jpg) top no-repeat;
margin: 0;
padding: 0;
width: 1000px;
float: left;
}

#left {
width: 190px;
padding: 23px 16px;
float: left;
}

#left p.title {
margin: 40px 0 0 0;
padding: 0 0 5px 0;
}

#left_menu {
width: 187px;
margin: 25px 0 40px 0;
padding: 0;
}

#left_menu ul {
padding: 0;
margin: 0;
}

#left_menu ul li {
margin: 0;
padding: 0;
list-style-type: none;
border-bottom: 1px dotted #abaeb2;
}

#left_menu ul li a {
padding: 6px 7px 7px 11px;
margin: 0;
display: block;
height: 17px;
color: #003366;
font: 130% Verdana;
text-decoration: none;
}

html>body #left_menu ul li a {
height: auto;
min-height: 17px;
}

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

#left_menu ul li ul {
margin: -4px 0 4px 0;
padding: 0;
}

#left_menu ul li ul li {
margin: 0;
border-bottom: none;
}

#left_menu ul li ul li a {
padding: 1px 7px 1px 11px;
font: 100% Tahoma;
color: #919191;
}

#left_menu ul li ul li a.active  {
background: #737373;
}

#content {
width: 530px;
padding: 17px 0 15px 17px;
float: left;
}

#content p {
margin: 0;
padding: 10px 0;
line-height: 150%;
}

#content p.more {
position: relative;
top: -20px;
}

#content p.more a {
color: #004b85;
}

#content h1 {
margin: 0;
padding: 0;
font: bold 15px Tahoma;
line-height: 22px;
}

#content h2 {
color: #003366;
text-transform: uppercase;
font: 14px Tahoma;
margin: 0;
padding: 20px 15px;
}

#content h3 {
margin: 0;
padding: 12px;
font: 20px Tahoma;
}

#content h4 {
margin: 30px 0 0 0;
padding: 0;
font: bold 120% Tahoma;
}

#content ul {
margin: 0;
padding: 0 0 30px 30px;
}

#content li {
padding-top: 10px;
line-height: 150%;
}

#content ol {
margin: 0;
padding: 0 0 0 30px;
}

#content ol ul {
margin: 0;
padding: 0 0 0 30px;
}

#content ol ul li {
list-style-type: disc;
}

#content a.list {
float: left;
text-decoration: none;
margin: 20px 10px;
width: 244px;
text-align: center;
}

#content a.list h1, #content a.list .text_1 {
text-align: left;
}

#content a.list img {
margin: 10px;
}

.path {
padding: 15px;
color: #7f7f7f;
}

.path a {
color: #003366;
}

.content_title {
background: #eceff4 url(/images/bg_title.gif) left top no-repeat;
width: 515px;
line-height: 40px;
padding-top: 4px;
color: #003366;
text-transform: uppercase;
font-size: 14px;
margin-bottom: 10px;
padding-left: 15px;
}

.content_text {
padding: 15px;
}

.content_text_blue {
background-color: #eceff4;
padding: 15px;
margin: 20px 0 10px 0;
line-height: 150%;
height: 1%;
}

#content .content_text_blue p {
padding: 0 0 20px 0;
}

.text_1 {
color: #a6a6a6;
font-size: 110%;
}

.book_top {
margin: 0;
padding: 0 12px;
width: 152px;
float: left;
}

#content .book_top p, #right .book_top p {
margin: 0;
padding: 5px 0 0 0;
font-size: 13px;
color: #003366;
}

#content .book_top p.text_1, #right .book_top p.text_1 {
padding: 0;
color: #a6a6a6;
font-size: 10px;
}

#content .book_top a, #right .book_top a {
text-decoration: none;
}

#content .book_top img {
margin-bottom: 5px;
}

.author {
padding: 10px 0;
color: #595959;
}

.img_right {
margin: 0 40px 10px 40px;
float: right;
}

.img_left {
margin: 0 10px 0 0;
float: left;
}

#content_but {
width: 100%;
text-align: right;
margin: 20px 0 0 0;
clear:both;
}

#content_but a {
margin-left: 20px;
}

#content_but a.nopirkt {
margin: 0;
float: left;
}

.nopirkt_down {
position: relative;
top: 12px;
left: 20px;
}

.line {
background-color: #5ea5cc;
width: 100%;
height: 2px;
clear: both;
}

.clear {
clear: both;
}

#right {
width: 210px;
padding: 23px 4px 0 0;
float: right;
}

#right p {
margin: 0;
padding: 0;
}

#right p.title {
padding-left: 16px;
}

#right p.title_1 {
padding-left: 13px;
}

#right_menu {
width: 175px;
margin: 25px 0 10px 19px;
padding: 0;
}

#right_menu ul {
padding: 0;
margin: 0;
}

#right_menu ul li {
margin: 0;
padding: 2px 0;
list-style-type: none;
}

#right_menu ul li a {
background: url(/images/right_menu.gif) center no-repeat;
padding: 0;
margin: 0;
display: block;
width: 175px;
height: 25px;
line-height: 25px;
color: #003366;
text-align: center;
}

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

#right_top {
width: 165px;
margin: 0 0 0 24px;
}

#right .book_top {
width: 100%;
margin: 15px 0;
padding: 0;
}

#right p.bg_book {
background-color: #fff;
width: 165px;
padding: 8px 0;
text-align: center;
}

#cards {
margin-left: 17px;
}

#banners {
width: 180px;
margin: 30px 0 30px 17px;
text-align: center;
}

#banners p {
margin: 0;
padding: 5px 0;
}

#contacts {
clear: both;
width: 530px;
margin-left: 240px;
padding: 10px 0;
border-top: 1px dotted #dcdcdc;
}

#contacts p {
text-align: center;
margin: 0;
padding: 5px 0;
color: #4d4d4d;
}

#contacts span {
padding-left: 20px;
}

#contacts span.address {
padding-left: 0;
color: #002a58;
font-weight: bold;
text-decoration: underline;
}

#contacts a {
color: #002a58;
}

#login_form {
width: 200px;
padding-top: 20px;
color: #4a4a4a;
float: right;
}

#login_form span {
padding-left: 20px;
}

#login_form .reg {
padding-top: 5px;
}

.form {
margin: 0;
padding: 0;
}

label {
margin-left: 1px;
}

.form_box, .form_box1, .form_box2, .form_box12, .form_search {
background: #FFF;
border: 0;
width: 160px;
height: 16px;
margin: 2px 0 5px 0;
padding: 2px 0 0 2px;
border: 1px solid #ababab;
}

.form_box2, .form_box12 {
height: 86px;
}

.but_order {
background: url(/images/but_order.gif) no-repeat;
width: 175px;
height: 28px;
margin: 5px 0 10px 20px;
padding: 0 0 5px 15px;
color: #FFF;
text-transform: uppercase;
border: 0;
text-align: left;
cursor: pointer;
}

.but {
margin: 0;
padding: 2px 0;
width: 77px;
}

.but_1 {
margin: 0;
padding: 2px 0;
width: 120px;
}

.but_2 {
margin: 3px 0;
padding: 3px 0;
width: 155px;
font-weight: bold;
}

a.button {
background: url(/images/button.gif) no-repeat;
width: 76px;
height: 22px;
line-height: 21px;
display: block;
text-align: center;
color: #000;
text-decoration: none;
}

.left {
text-align: left;
}

.tab_1 {
background: #FFF;
margin-left: 23px;
width: 169px;
padding: 0;
border: 2px solid #62a2ce;
border-top: 0;
}

.tab_1 td {
padding: 4px 8px 4px 4px;
text-align: right;
}

.tab_1 td.title {
padding: 4px 0px 4px 8px;
text-align: left;
}

.tab_1 .all_prices {
background-color: #eceff4;
}

.tab_2 {
margin-left: 10px;
}

/* S: Pirkumu grozs */
.tab_3 {
width: 100%;
font: 11px Verdana;
}

.tab_3 th {
font-size: 110%;
padding: 7px 5px;
white-space: nowrap;
}

.tab_3 td {
padding: 5px 3px;
text-align: center;
}

.tab_3 td.title {
text-align: left;
padding-left: 5px;
width: 260px;
}

.tab_3 td.number {
width: 20px;
margin: 0;
padding: 0;
}

.tab_3 td.add {
width: 20px;
margin: 0;
padding: 1px 0 0 0;
}

.tab_3 td.price {
text-align: right;
padding-right: 43px;
}

.tab_3 td.all_price {
border-top: 2px solid #5ea5cc;
font: bold 11px Verdana;
padding-left: 7px;
}

.tab_3 td.left {
text-transform: uppercase;
text-align: left;
}

.tab_3 td.right, .tab_3 td.send {
text-align: right;
}

.tab_3 td.cancel {
text-align: right;
padding-bottom: 10px;
}

/* B: Pirkumu grozs */

.tab_abonentizdevumi {
width: 100%;
margin-top: 20px;
}

.tab_abonentizdevumi td {
padding: 0;
text-align: center;
}

.tab_abonentizdevumi p {
margin: 0;
padding: 0;
color: #919191;
text-align: left;
}

.tab_abonentizdevumi .text {
padding: 0 10px;
border-bottom: 1px dotted #abaeb2;
}

.tab_abonentizdevumi a {
text-decoration: none;
font: 14px Verdana;
line-height: 25px;
}

.tab_abonentizdevumi .line_1 {
vertical-align: bottom;
height: 20px;
}

.tab_abonentizdevumi1 {
width: 480px;
margin: 20px 10px 10px 10px;
}

.tab_abonentizdevumi1 th {
padding: 10px;
}

.tab_abonentizdevumi1 td {
padding: 10px;
text-align: left;
border-top: 1px solid #cee4f0;
}

.tab_abonentizdevumi1 td.price {
color: #3f658c;
font-weight: bold;
text-align: center;
}

.tab_abonentizdevumi2 {
margin: 20px 10px 10px 10px;
width: 500px;
}

.tab_abonentizdevumi2 th {
padding: 5px;
width: 100px;
}

.tab_abonentizdevumi2 td {
padding: 5px;
text-align: left;
border-top: 1px solid #cee4f0;
}

.tab_bilance {
background-color: #eceff4;
width: 100%;
}

.tab_bilance td {
text-align: center;
}

.tab_bilance th {
text-align: left;
padding-left: 7px;
}

.tab_cenradis {
width: 100%;
margin-bottom: 30px;
}

.tab_cenradis th {
background-color: #eceff4;
}

.tab_cenradis td, .tab_cenradis th {
padding: 6px 8px;
text-align: center;
}

.tab_cenradis td.price {
color: #3f658c;
font-weight: bold;
}

.tab_seminari {
width: 100%;
margin: 10px 0;
}

.tab_seminari td {
padding: 10px 10px 10px 0;
vertical-align: top;
border-bottom: 1px solid #cee4f0;
line-height: 150%;
}

#books {
padding-top: 10px;
width: 100%;
}

#books a {
background: url(/images/bg_books.gif) no-repeat;
display: block;
width: 130px;
height: 41px;
line-height: 41px;
font-size: 12px;
color: #003366;
text-decoration: none;
padding-left: 20px;
margin: 13px;
}

#books a.long {
padding-top: 5px;
line-height: 15px;
height:36px;
}

#books p {
margin: 0;
padding: 0;
float: left;
}

#books a:hover {
background: url(/images/bg_books_h.gif) no-repeat;
text-decoration: underline;
}

#pages {
clear: both;
margin: 15px 0 5px 0;
text-align: center;
vertical-align: middle;
}

#pages a {
margin: 0 5px;
padding: 0 1px;
text-decoration: none;
font-weight: bold;
}

#pages a#active {
color: #333;
}
.oldprice, .oldprice * {
  text-decoration: line-through;
}


.subsform p {
  margin: 0 !important;
  padding: 0 !important;
  line-height: auto !important;
}


.form_1 .adr_type {
  margin-left: 40px;
  padding-top: 5px;
  display: inline-block;
}
.form_1 .adr_type input {
  margin: 0;
  padding: 0;
}
.form_1 .adr_type label {
  margin-left: 20px;
}
.form_1 .adr_type label span {
  position: relative;
  top: -3px;
  left: 5px;
}


#jur_table td {
  vertical-align: top;
  padding-top: 8px;
}
#fiz_table td {
  vertical-align: top;
}
#jur_table td b,
#fiz_table td b {
  padding-top: 4px;
  display: inline-block;
}

.paddr > div:first-child {
  display: none;
}
#f_pasts_addr_rajons,
#j_pasts_addr_rajons {
  display: none;
}
.paddr label {
  width: 156px;
  display: inline-block;
  vertical-align: top;
}
.lpaisais select,
.paddr select {
  width: 164px;
  border: 1px solid #ababab;
  margin-top: 0px;
  margin-bottom: 4px;
}
.lpaisais input,
.paddr input[type=text] {
  width: 160px;

  height: 16px;
  margin: 2px 0 5px 0;
  padding: 2px 0 0 2px;
  border: 1px solid #ababab;

  margin-top: 0px;
  margin-bottom: 4px;
}
.lpaisais textarea,
.paddr textarea {
  width: 160px;
  height: 80px;
  border: 1px solid #ababab;
  margin-top: 0px;
  margin-bottom: 4px;
}
#j_pasts_addr_tab_adreses > div {
  font-weight: bold;
  vertical-align: middle;
}

#ft_ar_roku td,
#jt_ar_roku td {
  padding-top: 0;
}
#ft_ar_roku td input,
#jt_ar_roku td input {
  margin-top: 0;
  margin-bottom: 2px;
}


