
/* Ссылки */
a:link,a:visited {
  color: #1a7ebe;
  text-decoration: underline;
}

a:hover,a:active {
  color: #ff0000;
  text-decoration: underline;
}

a.new:link,a.new:visited {
  color: #ff0000;
  text-decoration: underline;
}

a.js-link:link,a.js-link:visited {
  color: #009840;
  text-decoration: none;
  border-bottom: 1px dashed #009840; 
}

a.js-link:hover,a.js-link:active {
  color: #ff0000;
  text-decoration: none;
  border-bottom: 1px dashed #ff0000; 
}

/* Заголовки */
h1,h2,h3,h4,h5,h6 {
  line-height: 1.3em;
}

h1 {
  font-size: 2.2em;
  font-weight: 300;
  padding: 0 0 0.5em;
  margin: 0;
}

h2 {
  margin: 20px 0 10px 0;
  font-size: 18px;
  font-weight: normal;
  color: #009840;
}

h2 a:link,h2 a:visited {
  color: #009840;
  text-decoration: none;
}

h2 a:hover,h2 a:active {
  color: #ff0000;
  text-decoration: none;
}

h3 {
}

/* Абзацы */
p {
  margin: 0 0 1em 0;
}

/* Блоки с закругленными углами */
.r-border .rounded-content {
  padding: 10px;
  margin-right: 10px;
  position: relative;
  background-color: #fff;
}

.r-border .tb,.r-border .bb {
  height: 15px;
  overflow: hidden;
  position: relative;
}

.r-border .cn {
  background: url("/img/general2010/r-border.png") repeat scroll 0 0 transparent;
  height: 60px;
  overflow: hidden;
  position: relative;
  width: 15px;
}

.r-border .r {
  left: -15px;
  margin-left: 100%;
  position: absolute;
  top: -15px;
}

.r-border .bb .cn {
  margin-top: -30px;
}

.r-border .l {
  margin-right: 15px;
  width: auto;
}

.r-border .content-l {
  background: url("/img/general2010/content-l.png") repeat-y scroll 0 0 transparent;
  position: relative;
}

.r-border .content-r {
  background: url("/img/general2010/content-r.png") repeat-y scroll right 0 transparent;
  margin-left: 10px;
}

/* Второй уровень Primary links */
.subprimary .tb,.subprimary .bb {
  height: 20px;
  overflow: hidden;
  position: relative;
}

.subprimary .cn {
  background: url("/img/general2010/subprimary.png") repeat scroll 0 0 transparent;
  height: 80px;
  overflow: hidden;
  position: relative;
  width: 20px;
}

.subprimary .r {
  left: -20px;
  margin-left: 100%;
  position: absolute;
  top: -20px;
}

.subprimary .bb .cn {
  margin-top: -40px;
}

.subprimary .l {
  margin-right: 20px;
  width: auto;
}

.subprimary .content-l {
  background: url("/img/general2010/subprimary-l.png") repeat-y scroll 0 0 transparent;
  position: relative;
}

.subprimary .content-r {
  background: url("/img/general2010/subprimary-r.png") repeat-y scroll right 0 transparent;
  margin-left: 10px;
}

/* Блок со скругленными углами - 2 */
.r-border-2 .tb,.r-border-2 .bb {
  height: 20px;
  overflow: hidden;
  position: relative;
}

.r-border-2 .cn {
  background: url("/img/general2010/r-border-2.png") repeat scroll 0 0 transparent;
  height: 80px;
  overflow: hidden;
  position: relative;
  width: 20px;
}

.r-border-2 .r {
  left: -20px;
  margin-left: 100%;
  position: absolute;
  top: -20px;
}

.r-border-2 .bb .cn {
  margin-top: -40px;
}

.r-border-2 .l {
  margin-right: 20px;
  width: auto;
}

.r-border-2 .content-l {
  background: url("/img/general2010/subprimary-l.png") repeat-y scroll 0 0 transparent;
  position: relative;
}

.r-border-2 .content-r {
  background: url("/img/general2010/subprimary-r.png") repeat-y scroll right 0 transparent;
  margin-left: 10px;
  padding-right:10px;
}