* {
  font-family: Arial, Tahoma, Verdana, Helvetica, sans-serif;
}

body {
  background: #fff url(/images/bg_body.gif) top repeat-x;
  margin: 0;
  padding: 0;
  font-size: 80%;
  color: #000;
}

input, textarea, table {
  font-size: 110%;  
}

a img {
  border: 0;
}


a {
  color: #0078fe;
  text-decoration: none;
}

a:hover {
  color: #a7a7a7;
}

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

#bg_main {
  background: url(/images/bg_main.gif) repeat-y;
  width: 1000px;
  float: left;
}

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

#lang {
  width: 295px;
  float: right;
}

#lang a {
  margin-right: 2px;
  display: block;
  width: 67px;
  height: 62px;
  float: left;
}

#lang a:hover {
  background-position: 0px -62px;
}

#lang_lv {
  background: url(/images/lv.gif) no-repeat;
}

#lang_lv_active {
  background: url(/images/lv.gif) 0 -62px no-repeat;
}

#lang_ru {
  background: url(/images/ru.gif) no-repeat;
}

#lang_ru_active {
  background: url(/images/ru.gif) 0 -62px no-repeat;
}

#lang_en {
  background: url(/images/en.gif) no-repeat;
}

#lang_en_active {
  background: url(/images/en.gif) 0 -62px no-repeat;
}

#left {
  background: url(/images/bg_left.jpg) top left no-repeat;
  width: 216px;
  height: 986px;
  position: relative;
  top: -16px;
  float: left;
}

html>body #left {
  height: auto;
  min-height: 986px;
}

#menu {
  width: 202px;
  position: relative;
  top: -19px;
  float: right;
}

#menu_1_top {
  position: relative;
  top: 19px;
}

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

#menu ul li {
  margin: 0;
  padding: 0;
  list-style-type: none;
  text-align: center;
}

#menu ul li a {
  background: url(/images/bg_menu_1.jpg) no-repeat;
  margin: 0;
  padding: 8px 0;
  display: block;
  height: 16px;
  font: bold 16px Arial;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
}

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

#menu ul li div {
  background: url(/images/bg_menu_2.jpg) repeat-y;
  width: 202px;
}

#menu ul li ul.menu_2 {
  background: url(/images/bg_menu_21.jpg) bottom no-repeat; 
  padding: 5px 0;
}

#menu ul li ul li {clear: both;
  text-align: left;
}

#menu ul li ul li a {
  background: none;  
  padding: 8px 0 8px 8px;
  margin: 1px 0;
  font-size: 14px;
  color: #2f71bb;
  text-transform: none;
}

#menu ul li ul li a:hover, #menu ul li ul li a.active {
  background: url(/images/bg_menu_2_active.jpg) repeat-y;
}

#menu ul li ul li a.active {
  color: #00a1fe;
}

#menu ul li ul li ul li a {
  background: none;  
  padding: 4px 0 4px 28px;
  margin: 0;
  font: normal 12px Arial;
  color: #000;
}

#menu ul li ul li ul li a:hover {
  background: none;
  color: #2f71bb;
}

#menu ul li ul li ul li a.active {
  background: none;
  color: #798491;
}

#menu_2_bottom {
  position: relative;
  top: -7px;
}

#content {
  width: 573px;
  height: 986px;
  padding: 0;
  position: relative;
  top: -7px;
  float: left;
}

#content_1 {
  background: url(/images/content_bottom.jpg) bottom right no-repeat;
  width: 573px;
  height: 986px;
  padding: 0;
  float: left;
}

html>body #content, html>body #content_1 {
  height: auto;
  min-height: 986px;
}

#content_1 .content_text {
  width: 473px;
  margin: 0 50px 10px 50px;
}

#content_1 p {
  margin: 0;
  padding: 5px 0;
  text-align: justify;
}

#content p {
  margin: 0;
  padding: 8px 20px;
  text-align: justify;
  line-height: 150%;
}

#content_1 h1 {
  margin: 0;
  padding: 10px 0;
  font: 30px Verdana;
  color: #00a2ff;
  text-align: center;
}

#content h1 {
  margin: 40px 20px 10px 20px;
  padding: 3px 0;
  font: 20px Arial;
  border-bottom: 1px solid #b1b1b1;
}

#content h2 {
  margin: 0;
  padding: 20px 20px 0 20px;
  font: 20px Arial;
  color: #0b4e98;
}

#content h2 img {
  margin: 0 15px 0px 0;
  font: 20px Arial;
  color: #0b4e98;
  float: left;
}

#content h2 a img {
  border: 1px solid #88baf2;
}

#content h2 a:hover img {
  border: 1px solid #fff;
}

#content h3 {
  margin: 0;
  padding: 10px 20px 10px 20px;
  font: 18px Arial;
  color: #4694eb;
  float: left;
}

#content h3 span {
  font: 16px Arial;
  color: #5f5f5f;
}

#content h4 {
  margin: 10px 20px 10px 20px;
  padding: 15px 0 0 0;
  font: 18px Arial;
  border-top: 1px solid #b1b1b1;
  color: #074e9e;
}

#content h5 {
  margin: 0;
  padding: 0 20px 0 20px;
  font: 14px Arial;
  color: #0079ff;
}

.prof {
  margin-left: 20px;
  font: 16px Arial;
  color: #949494;
}

.date {
  padding: 25px 20px 0 0;  
  font: 12px Arial;
  color: #a4a4a5;
  float: right;
}

.question_text {
  clear: both;
}

#content .question_text p {
  font: 120% Arial;
}

.bg_title {
  background: url(/images/bg_title.gif) top right no-repeat;  
  height: 31px;
  position: relative;
  left: 25px;
  float: left;
}

.title {
  background: url(/images/bg_title_1.gif) top left no-repeat;
  padding: 7px 25px 0 25px;
  font: bold 16px Arial;
  color: #fff;
  text-transform: uppercase;
  float: left;
}

.title a {
  color: #fff;
}


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


.content_box {
  clear: both;
  width: 537px;
  position: relative;
  left: 17px;
  background: #e5edf7;
  border: 1px solid #88baf2;
  padding-bottom: 10px;
  float: left;
}

#specialists, #questions {
  clear: both;
  border-top: 1px solid #88baf2;
  width: 539px;
  position: relative;
  left: 17px;
  float: left;
}

#questions h3 a:hover {
  color: #4694eb;
  text-decoration: underline;
}


.content_box_1, .content_box_2 {
  clear: both;
  width: 537px;
  background: #e5edf7;
  border: 1px solid #88baf2;
  border-top: 0;
  padding-bottom: 20px;
  float: left;
}

.content_box_1 .desc, .content_box_2 .desc, .content_box .desc {
  padding: 10px;
}


.content_box_2 {
  background: #c4d9f1;
}

.content_box h2 a, .content_box_1 h2 a, .content_box_2 h2 a {
  color: #0b4e98;
}
.content_box h2 a:hover, .content_box_1 h2 a:hover, .content_box_2 h2 a:hover {
  text-decoration: underline;
}

#questions .content_box_1, #questions .content_box_2, #questions .content_box_1, #questions .content_box_2 {
  padding-bottom: 10px;
}

.more {
  padding: 2px 20px 0 0; 
  text-align: right;
}

.more span {
  padding-left: 25px;
}

#tab_contacts {
  margin: 30px auto 30px;
}

#tab_question {
  margin: 10px auto 5px;
}

#tab_question td {
  padding: 5px 0;
  color: #417dc3;
}

#gallery {
  padding: 8px 0 8px 8px;
}

#gallery a {
  margin: 4px;
  float: left;
}

#gallery a img {
  border: 1px solid #e5edf7;
  opacity: 0.5;
  filter: alpha(opacity=50);
}

#gallery a:hover img {
  border: 1px solid #fff;
  opacity: 1;
  filter: alpha(opacity=100);
}

#right {
  background: url(/images/bg_right.jpg) top right no-repeat;
  width: 211px;
  height: 986px;
  position: relative;
  top: -16px;
  float: left;
}

html>body #right {
  height: auto;
  min-height: 986px;
}

#bg_interesting_title, .bg_right_title {
  background: url(/images/bg_interesting_title.jpg) no-repeat;
  width: 196px;
  height: 37px;
  text-align: center;
  float: left;
}

.bg_right_title {
  background: url(/images/bg_right_title.jpg) no-repeat;
}

#bg_interesting_title h1, .bg_right_title h1 {
  margin: 0;
  padding: 9px 0 0 0;
  font: bold 16px Arial;
  color: #fff;
  text-transform: uppercase;
}

.box_right {
  background: url(/images/box_right.jpg) repeat-y;
  width: 196px;
  float: left;
  margin-bottom: 10px;
}

.box_right_bottom {
  background: url(/images/box_right_bottom.jpg) bottom no-repeat;
  width: 196px;
  padding: 10px 0;
  text-align: center;
  float: left;
}

.box_right p {
  margin: 0;
  padding: 10px;
}

.box_right a {
  text-decoration: none;
  color: #000;
}

.box_right a:hover {
  text-decoration: none;
  color: #4675ac;
}

#right_bottom {
    clear: both;
  width: 196px;
  text-align: right;
  position: relative;
  top: -20px;
  float: left;
}

#right #question {
  clear: both;
  padding: 0px 0 10px 0;
}

#bottom {
  clear: both;
  background: url(/images/bg_bottom.jpg) no-repeat; 
  width: 1000px;
  height: 100px;
  float: left; 
}

#bottom_text {
  padding: 20px 0 0 143px;
  width: 725px;
  float: left;
}

#bottom_text p {
  margin: 0;
  padding: 0;
  text-align: center;
  color: #104f96;
}

#datateks { 
  width: 130px;
  position: relative;
  top: 47px;
  float: right;
}

#datateks a {
  display: block;
  width: 45px;
  height: 38px;
}

#datateks a#host {
  height: 15px;
}

#datateks a span {
  display: none;
}

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


.form_box {
  width: 274px;
  height: 19px;
  padding: 0 0 0 2px;
  border: 1px solid #c4daf1;
}

textarea.form_box {
  height: 88px;
}

.form_but {
  background: url(/images/but.gif) top left no-repeat;
  width: 120px;
  height: 30px;
  border: 0;
  color: #fff;
  text-transform: uppercase;
  font: bold 16px Arial;
  cursor: pointer;
}

.clear {
  clear: both;
}

.content_bottom {
  padding: 20px;
}

.content_box_inner {
  padding:10px;
}

#gallery h1, .content_box_inner h1 {
  margin: 0 !important;
  padding: 10px !important;
  font: 20px Arial !important;
  color: #00a2ff;
  text-align: left;
  background: none !important;
  border: none !important;
}

.left {
  float: left;
}


.right {
  float: right;
}

.err {
  color: red;
  font-weight: bold;
  padding:4px;
}

.msg {
  margin-top:10px;
  padding: 10px;
  font: 20px Verdana;
  color: #00a2ff;
}

.vdesc {
  margin: 10px;
  margin-left: 20px;
}

.content_new .pic {
  margin-left: 40px;
}


#popup {
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -338px;
  margin-top: -194px;
  width: 677px;
  height: 389px;
  text-align: center;
}
#popup2 {
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -374.5px;
  margin-top: -232px;
  width: 749px;
  height: 464px;
  text-align: center;
}

#overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
#overlay > .bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0.5;
  filter: alpha(opacity=50);
}
#overlay a {
  outline: 0;
}

.contact {

}
.contact td {
  vertical-align: top;
  padding-right: 30px;
  font-size: 13px;
}

