/**
* Лэйаут страницы
*/
* {
  margin: 0;
  padding: 0;
  font-size: 100.01%;
}

html {
  height: 100%;
  background: #FFF;
  min-width: 1002px;
}

body {
  font-weight: normal;
  font-family: Verdana, Tahoma, Arial;
  color: #000;
  font-size: 12px;
  line-height: 18px;
  min-height: 100%;
  height: 100%;
  min-width: 1002px;
}

#preload {
  position: absolute;
  top: -9999em;
  left: -9999em;
}

#container {
  position: relative;
  height: auto !important;
  min-height: 100%;
  height: 100%;
  min-width: 1002px;
  max-width: 1258px;
  margin: 0 auto 0 0;
}

#header {
  position: relative;
  height: 200px;
  background: url(/img/header_bg.jpg) 0 0 no-repeat;
}

a#logo:link, a#logo:visited, a#logo:hover, a#logo:active {
  display: block;
  position: absolute;
  padding: 0;
  margin: 0;
  width: 350px;
  height: 102px;
  line-height: 102px;
  top: 36px;
  left: 86px;
  background: url(/img/logo.jpg) 0 0 no-repeat;
  text-indent: 120px;
  overflow: hidden;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 24px;
  color: #517369;
}

#logo .slogan {
  position: absolute;
  display: block;
  top: 72px;
  left: 115px;
  font-weight: bold;
  font-style: italic;
  font-size: 13px;
  text-indent: 0;
}

#content {
/*  width: 630px;*/
/*  float: right;*/
  position: relative;
  margin: 30px 30px 0 340px;
/*  padding: 0 18px 0 0;*/
}

.content_item {
/*  padding: 10px 15px;*/
/*  background: #FFF;*/
  margin: 0 0 25px 0;
}

.content_item .news_date, h1 .news_date {
  display: inline-block;
  background: #517369;
  padding: 4px 6px;
  font-size: 12px;
  line-height: 12px;
  color: #FFF;
  margin: 0 10px 0 0;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px 2px 2px 2px ;
}

#sidebar {
  width: 280px;
  float: left;
  position: relative;
  z-index: 2;
  padding: 0;
  margin: 30px 0 0 30px;
}


h2#title {
  height: 45px;
  line-height: 50px;
  color: #1e0904;
  font-size: 14px;
  font-weight: normal;
  padding: 0;
  margin: 0;
  text-transform: uppercase;
}

#footer_guarantor {
  height: 100px;
  clear: both;
}

#footer {
  margin: -79px 0 0 0;
  height: 79px;
  clear: both;
  position: relative;
  background: #52736a url(/img/footer_bg.jpg) 0 0 no-repeat;
}

#footer .inner {
  position: relative;
  min-width: 1002px;
  max-width: 1258px;
  height: 79px;
}

#footer .inner .contacts {
  position: absolute;
  top: 12px;
  /*right: 55px;*/
  left: 50px;
  color: #fff;
}

#footer .inner .contacts a:link, #footer .inner .contacts a:visited,
#footer .inner .contacts a:hover, #footer .inner .contacts a:active {
  color: #fff;
}

/**
* Кнопки
*/
.mysms_btn, .schoolinfo_btn {
  display: block;
  position: absolute;
  top: 20px;
  height: 31px;
  width: 88px;
  overflow: hidden;
  text-indent: -9999px;
  margin: 5px 0 0 15px;
}

.mysms_btn:link, .mysms_btn:visited,
.schoolinfo_btn:link, .schoolinfo_btn:visited {
  opacity: 0.6;
}

.mysms_btn:hover, .mysms_btn:active,
.schoolinfo_btn:hover, .schoolinfo_btn:active {
  opacity: 1;
}

.mysms_btn {
  background: url(/img/buttons/mysms_button.png) 0 0 no-repeat;
  right: 30px;
}

.schoolinfo_btn {
  background: url(/img/buttons/schoolinfo_button.png) 0 0 no-repeat;
  right: 140px;
}






/**
* Типография
*/
a, a:link, a:visited, a:hover, a:active, a:focus {
  text-decoration: underline;
  font-weight: bold;
  color: #140501;
  outline: 0;
  
}

a:hover, a:active {
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  margin: 5px 0 10px 0;
  font-family: Arial;
}

h1 {
  font-size: 19px;
  line-height: 1.125em;
}

h2 {
  font-size: 18px;
  line-height: 1.125em;
}

h3 {
  font-size: 16px;
  line-height: 1.125em;
}

h4 {
  font-size: 14px;
  line-height: 1.125em;
}

h5, h6 {
  font-size: 13px;
  line-height: 1.125em;
}

/**
* Общее
*/
#content p {
  margin: 1em 0;
}

#content ul, #content ol {
  margin: 0 0 0 2em;
}

sub, sup {
  font-size: 0.75em;
}

.img_left {
  float: left;
  margin: 0 1em 1em 0;
}

.img_right {
  float: right;
  margin: 0 0 1em 1em;
}




/**
* Главное меню
*/
ul#mainmenu {
  position: absolute;
  z-index: 3;
  display: block;
  padding: 0;
  margin: 0;
  height: 30px;
  left: 35px;
  bottom: 0;
/*  top: 140px;*/
/*  width: 250px;*/
}

#mainmenu li {
  display: block;
  float: left;
  margin: 0 7px;
/*  width: 25%;*/
}

#mainmenu li a:link, #mainmenu li a:visited,
#mainmenu li a:hover, #mainmenu li a:active {
  display: block;
  position: relative;
  height: 30px;
  line-height: 36px;
  margin: 0;
  padding: 0 10px;
  color: #000;
  font-family: Arial;
  font-size: 18px;
  font-weight: normal;
  overflow: hidden;
  text-decoration: underline;
  min-width: 3px;
  white-space: nowrap;
}

#mainmenu li a:hover, #mainmenu li a:active,
#mainmenu li a.sel:link, #mainmenu li a.sel:visited {
  color: #62827a;
  text-decoration: none;
}


#mainmenu li ul {
  display: none;
  position: absolute;
  list-style: none;
  border: 1px solid #000;
  padding: 10px;
  background: #fff;
}

#mainmenu li li {
  display: inline;
  float: none;
  margin: 0;
}

#mainmenu li li a:link, #mainmenu li li a:visited,
#mainmenu li li a:hover, #mainmenu li li a:active {
  height: 22px;
  line-height: 22px;
  margin: 0;
  padding: 0;
  font-size: 14px;
}



/**
* Меню языков
*/
#lnmenu {
  list-style: none;
  position: absolute;
  top: 68px;
  /*right: 380px;*/
  left: 30px;
}

#lnmenu li {
  display: block;
/*  padding: 0 10px;*/
  margin: 5px 0;
}

#lnmenu li a:link, #lnmenu li a:visited,
#lnmenu li a:hover, #lnmenu li a:active {
  /*font-size: 14px;
  line-height: 19px;
  color: #4e7877;
  text-decoration: none;*/
  
  display: block;
  background: none;
  padding: 4px 5px;
  font-size: 10px;
  line-height: 10px;
  color: #4e7877;
/*  margin: 0 5px 0 0;*/
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px 3px 3px 3px ;
  text-decoration: none;
  text-transform: uppercase;
}

#lnmenu li a:hover, #lnmenu li a:active {
  color: #790000;
}

#lnmenu li.sel a:link, #lnmenu li.sel a:visited,
#lnmenu li.sel a:hover, #lnmenu li.sel a:active {
  color: #FFF;
  background: #517369;
}


/**
* Меню домой/обр.связь
*/
#homemenu {
  list-style: none;
  position: absolute;
  top: 21px;
  right: 360px;
}

#homemenu li {
  display: block;
  float: left;
  padding: 0 10px;
}

#homemenu li a:link, #homemenu li a:visited,
#homemenu li a:hover, #homemenu li a:active {
  display: block;
  height: 16px;
  width: 16px;
  text-indent: -9999em;
  overflow: hidden;
  background-image: url(/img/homemenu.gif);
}

#homemenu li.home a:link, #homemenu li.home a:visited {
  background-position: 0 0;
}

#homemenu li.home a:hover, #homemenu li.home a:active {
  background-position: 0 -16px;
}

#homemenu li.feedback a:link, #homemenu li.feedback a:visited {
  background-position: -16px 0;
}

#homemenu li.feedback a:hover, #homemenu li.feedback a:active {
  background-position: -16px -16px;
}

#homemenu li.basket a:link, #homemenu li.basket a:visited {
  background-position: -32px 0;
}

#homemenu li.basket a:hover, #homemenu li.basket a:active {
  background-position: -32px -16px;
}



/**
* Поиск
*/
#searchform {
  position: absolute;
  top: 20px;
  right: 30px;
  width: 290px;
}

#searchform .s {
  border: 1px solid #72868f;
  height: 19px;
  line-height: 19px;
  width: 245px;
  padding: 0 0 0 20px;
  background: url(/img/search_icon.gif) 3px 50% no-repeat;
}

#searchform .submit {
  position: absolute;
  border: 0;
  padding: 0;
  margin: 0;
  top: 0;
  right: 0;
  height: 21px;
  width: 16px;
  text-indent: -9999em;
  background: #FFF url(/img/search_submit.gif) 50% 50% no-repeat;
}

#searchform label {
  position: absolute;
  left: 0;
  margin: 1px 0 -2em 2em;
  cursor: text;
  color: #999;
}


/**
* Логин блок
*/
#login_box {
  position: absolute;
  padding: 10px 20px;
  top: 80px;
  right: 30px;
  width: 250px;
  height: 98px;
  margin: 0;
  border: 1px solid #72868f;
}

#login_box form input.text {
  display: block;
  width: 99%;
  margin: 7px 0;
  border: 0;
  border-bottom: 1px solid #517369;
  color: #4e7877;
  font-family: Arial;
  font-size: 13px;
}

#login_box label {
  position: absolute;
  float: left;
  margin: 0 0 -2em 0.2em;
  cursor: text;
  color: #999;
}


#login_box a, #login_box a:link, #login_box a:visited {
  font-weight: normal;
}

#login_box a:hover, #login_box a:active {
  text-decoration: none;
}

#login_box .submit {
/*  position: absolute;*/
/*  right: 0;*/
}

#login_box .registration, #login_box .recover {
  float: right;
  clear: right;
}

#login_box h4 {
  margin-top: 10px;
}

#login_box ul {
  list-style: none;
  display: block;
  margin: 5px 0 0 0;
  line-height: 16px;
}



/**
* Категории
*/
#categories_title {
  padding: 0 0 15px 20px;
  margin: 0;
  font-size: 18px;
  font-weight: normal;
  color: #324540;
}

#categories {
  list-style: none;
  display: block;
  position: relative;
  background: #efefdd;
  padding: 6px 0 6px 4px;
/*  margin: 45px 0 0 40px;*/
}

#categories li {
  display: inline;
}

#categories li ul {
  display: none;
}

#categories a:link, #categories a:visited,
#categories a:hover, #categories a:active {
  display: block;
  color: #517369;
  padding: 6px 15px 6px 0;
  margin-left: 20px;
  line-height: 20px;
  font-size: 15px;
  text-decoration: none;
  font-weight: bold;
}

#categories a.sel:link, #categories a.sel:visited,
#categories a:hover, #categories a:active {
/*  background: url(/img/categories_sel.gif) 0 50% no-repeat;*/
}

#categories li li a:link, #categories li li a:visited,
#categories li li a:hover, #categories li li a:active {
  color: #000;
  padding: 4px 15px 4px 0;
  margin-left: 35px;
  line-height: 16px;
  font-size: 13px;
  font-weight: normal;
}

#categories li li a.sel:link, #categories li li a.sel:visited,
#categories li li a:hover, #categories li li a:active {
  text-decoration: underline;
  background: none;
}

#categories li li li a:link, #categories li li li a:visited,
#categories li li li a:hover, #categories li li li a:active {
  padding: 2px 15px 2px 0;
  margin-left: 50px;
  line-height: 15px;
  font-size: 12px;
}

#categories li li li li a:link, #categories li li li li a:visited,
#categories li li li li a:hover, #categories li li li li a:active {
  padding: 2px 15px 2px 0;
  margin-left: 65px;
  line-height: 15px;
  font-size: 12px;
}

#categories span {
  position: absolute;
  height: 16px;
  width: 14px;
  margin: 2px 0 0 -18px;
  background: url(/img/categories_icons.png) 0 0 no-repeat;
}

#categories span:hover {
  background: url(/img/categories_icons.png) -16px 0 no-repeat;
}

#categories span.sel {
  background: url(/img/categories_icons.png) 0 -16px no-repeat;
}

#categories span.sel:hover {
  background: url(/img/categories_icons.png) -16px -16px no-repeat;
}

#categories li li span {
  margin-top: 0;
}

/**
* breadcrumbs
*/
#breadcrumbs {
  color: #848484;
  line-height: 22px;
  margin-bottom: 12px;
  overflow: hidden;
  zoom: 1;
}

#breadcrumbs span.delimiter {
  display: block;
  float: left;
  width: 26px;
  height: 18px;
  background: url(/img/breadcrumbs_delimiter.gif) 50% 50% no-repeat;
}

#breadcrumbs a:link, #breadcrumbs a:visited,
#breadcrumbs a:hover, #breadcrumbs a:active {
  display: block;
  float: left;
  height: 18px;
  line-height: 18px;
  font-size: 12px;
  color: #848484;
  text-decoration: none;
}

#breadcrumbs a:hover, #breadcrumbs a:active {
  text-decoration: underline;
}


/**
* контакты
*/
/*#contacts {
  margin: 20px 0 0 40px;
  color: #140501;
}

#contacts h3 {
  font-size: 12px;
  padding: 0;
  margin: 0 0 15px 0;
}*/


/**
*  product item
*/
.products {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

.product_item {
  position: relative;
  width: 50%;
  border-bottom: 1px solid #cad5d2;
  padding: 0;
  margin: 0;
  vertical-align: top;
}

.product_item .wrapper {
  position: relative;
  padding: 15px 30px 15px 0;
  margin: 0;
}

.product_item .wrapper .desc {
  position: relative;
  margin: 0 0 0 160px;
}

.product_item .wrapper .param {
/*  color: #517369;*/
  color: #324540;
  font-weight: bold;
}

.product_item .wrapper .param span {
  color: #848484;
  font-weight: normal;
}

.product_item.odd {
  border-right: 1px solid #cad5d2;
}

.product_item.last {
  border-bottom: 0px;
}

.product_item .desc a:link, .product_item .desc a:visited,
.product_item .desc a:hover, .product_item .desc a:active {
  display: block;
  color: #517369;
  margin: 0 0 10px 0;
  font-size: 14px;
  font-family: Arial;
}

.product_item .desc a:hover, .product_item .desc a:active {
  text-decoration: none;
}

.product_item div.price {
/*  display: none;*/
/*  position: absolute;*/
  margin: 10px 0 0 0;
  font-size: 14px;
  color: #790000;
  font-weight: bold;
}

.product_item .image_wrapper {
  float: left;
  padding: 0;
  width: 160px;
  text-align: center;
/*  background: url(/img/default_product_item_image.jpg) 50% 50% no-repeat;*/
}


/**
* product
*/
.product .images {
  display: block;
  margin: 20px 0;
}

.product #full_image_container {
  overflow: hidden;
  text-align: center;
}

.product #full_image {
/*  display: block;*/
}

/*.product .thumbnails {
  text-align: center;
  line-height: 27px;
}*/


.product .body {
  margin: 0 320px 0 0;
}

.product .body h1 {
  margin: 0;
  padding: 0;
/*  font-size: 19px;
  font-weight: bold;*/
}

.product .body h3.title div.short_desc {
  font-weight: normal;
  font-style: italic;
  font-size: 14px;
}

.product .body .desc {
/*  padding: 10px 15px;*/
  background: #FFF;
  margin: 15px 0;
}

.product .author, .product .format, .product .num_pages, .product .language {
  color: #324540;
  font-size: 14px;
  font-style: italic;
  font-weight: bold;
  margin: 5px 0;
}

.product .author span, .product .format span, .product .num_pages span, .product .language span {
  font-size: 13px;
  font-style: normal;
}


.product .recommendations {
  position: relative;
  width: 200px;
  float: right;
  clear: right;
  padding: 15px 45px 15px 44px;
  margin-top: 40px;
  background: #eaecec;
  border-left: 1px solid #000;
}

.product .recommendations h4 {
  padding: 0 0 15px 0;
  margin: 0;
  font-size: 12px;
}

.product .recommendations .arrow {
  position: absolute;
  top: 16px;
  left: -1px;
}

.product .recommendations a:link, .product .recommendations a:visited,
.product .recommendations a:hover, .product .recommendations a:active {
  display: block;
  font-style: italic;
  font-weight: normal;
  font-size: 11px;
  line-height: 14px;
  margin: 3px 0;
}

.product .basket {
  float: right;
  clear: right;
  width: 200px;
  padding: 20px 45px;
  background: #efefdd;
  font-size: 13px;
}


/**
* Таблица в корзине
*/
.basketTable th {
  background: #efefdd;
}

.basketTable td, .basketTable th {
  padding: 2px 5px;
/*  border: 1px solid black;*/
}

.basketTable td {
  /*border-bottom: 1px solid #e1c197;*/
}





/**
* Форма регистрации
*/
.stdform fieldset {
  margin: 1em 0;
  padding: 25px 25px 10px 25px;
  background: #efefdd;
  border: 0;
  position: relative;
/*  border: 1px solid #611f01;*/
}

.stdform legend {
  position: absolute;
  top: 8px;
  left: 25px;
  font-weight: bold;
  color: #000;
  font-size: 11px;
  text-transform: uppercase;
}

@-moz-document url-prefix() {
  .stdform legend {
    top: -17px;
    left: 0;
  }
}

#content .stdform p {
  margin: 5px 0;
  clear: both;
  overflow: auto;
  width: 100%;
}

.stdform div.left, .stdform div.right {
  text-align: left;
  width: 49%;
  float: left;
}

.stdform div.right {
  float: right;
  width: 48%;
}

.stdform label {
  display: block;
  text-transform: uppercase;
/*  font-weight: bold;*/
/*  margin-bottom: 2px;*/
  width: 40%;
  float: left;
  font-size: 10px;
}

.stdform input.text {
  width: 59%;
  float: right;
}

.stdform textarea {
  width: 59%;
  float: right;
  height: 100px;
}

.stdform .submit {
  border: 0;
  background: #517369;
  text-transform: uppercase;
  color: #fff;
  font-size: 11px;
  font-family: Verdana;
  padding: 5px 25px;
}

.stdform .small {
/*  display: block;*/
  font-family: Tahoma;
  text-transform: none;
  font-size: 10px;
  line-height: 12px;
  color: #7f7f7f;
}

/**
* Стили для всех форм
*/
textarea {
  font-size: 12px;
  border: 1px solid #517369;
}

/*.required {
  background: url(data:image/gif;base64,R0lGODlhCQAHALMPAP+7u/9VVf+qqv/u7v+IiP/d3f8REf8iIv9ERP93d/+Zmf9mZv8zM/8AAP/MzP///yH5BAEAAA8ALAAAAAAJAAcAAAQi8EnXnLyPWplY0p0CJIjRGEhSXMgRYA/BPMhyCYdUMMMTAQA7) center left no-repeat;
  padding-left: 12px;
}*/

span.star {
/*  font-size: 14px;*/
/*  height: 10px;*/
  overflow: hidden;
  color: red;
}

input.text {
  height: 16px;
  border: 1px solid #517369;
}

input.focused {
  border: 1px solid #000;
/*  background: #f1e8d6;*/
}

textarea.textarea {
  border: 1px solid #611f01;
}

textarea.focused {
  border: 1px solid #000;
/*  background: #f1e8d6;*/
}

input.error, textarea.error {
  border: 1px solid red;
}

input.valid, textarea.valid {
  border: 1px solid green;
}

input.hiddensubmit {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  left: -9999em;
}


/**
* Постраничная навигация
*/
#content ul.pagination {
  display: block;
  text-align: center;
  list-style: none;
  margin: 1.5em auto 0.5em auto;
  line-height: 1.5;
  clear: both;
}

.pagination li {
  display: inline;
  padding: 0 1px;
  font-weight: bold;
}

.pagination li a, .pagination li span {
  font-weight: bold;
  padding: 2px 6px 4px 6px;
  text-decoration: none;
/*  background: #e1c197;*/
}

.pagination li a:link, .pagination li a:visited { 
  color: #000;
}

.pagination li a:hover, .pagination li span {
  background: #517369;
  color: #fff;
}
