* {
  box-sizing: border-box;
 -moz-box-sizing: border-box;
}

body {
  background: #fff;
  color: #000;
  cursor: default;
  margin: 0;
  padding: 0;
  line-height: 1.33em;
}

body, input.button, input.small-button, .note-text h1, .note-text h2, select { font-family: "Calibri", "Trebuchet MS", "Arial", sans-serif; } 
h1, h2 { font-family: "Cambria", "Trebuchet MS", "Arial", sans-serif; }
input, textarea, code, tt { font-family: "Consolas", "Courier New", fixed; font-size: 100%; }

img { border: 0; }
form { margin: 0; }

.v-aligned * { vertical-align: middle }

small {
  font-size: 80%;
  color: #666;
}

h2 {
  font-size: 175%;
  letter-spacing: -1px;
  font-weight: normal;
  margin: 0 0 1em 0;
  color: #803000;
}

h2.note-title {
  margin: 0 0 0.5em 0;
}

h3,
.note-text h1 {
  font-size: 133%;
  margin: 1em 0 0.25em 0;
  color: #401800;
}

span.tsp { display: inline; display: inline-block; display: -moz-inline-box; width: 0.12em; overflow: hidden; text-decoration: inherit; white-space: nowrap }

sup, sub { vertical-align: middle; font-size: 75%; font-weight: normal; }
sup { position: relative; bottom: 0.33em; }
sub { position: relative; top: 0.33em; }

.hidden {
  color: #999;
}

.important {
  margin-left: -15px;
  border-left: 5px #6c6 solid;
  padding-left: 10px;
}

.spacer {
  height: 20px;
}

a {
  cursor: pointer;
  cursor: hand;
}

a { color: #039; text-decoration: underline; }
a:hover { color: #666; text-decoration: underline; }
a.dashed { border-bottom: 1px #039 dashed; text-decoration: none; }
a.dashed:hover { border-bottom: 1px #666 dashed; text-decoration: none; }

input.text, select.text, textarea {
  width: 100%;
}

input.small-button {
  padding: .17em .67em;
  background: #f0f0f0;
}

input.button {
  padding: .67em 1.33em;
  background: #f0f0f0;
}

input.button,
input.small-button {
  color: #333;
}

input.button,
input.small-button,
input.checkbox,
label.checkbox,
input.radio,
label.radio {
  cursor: pointer;
  cursor: hand;
}

input.default {
  font-weight: bold;
  background: #fff0d0;
  color: #036;
  background: #333;
  color: #fff;
}

.admin-bar-wrapper {
  background: #f0f0f0;
}

.admin-bar-wrapper .admin-bar {
  position: relative;
  left: 0;
  top: 0;
  width: 100%;
  height: 50px;
  z-index: 100;
  color: #000;
  font-weight: bold;
  background: #f0f0f0 url('../../images/admin-bar-gradient.png') top repeat-x;
  filter: progid:DXImageTransform.Microsoft.Alpha(style=1,opacity=100,finishOpacity=0,startX=0,finishX=0,startY=80,finishY=100); 
  white-space: nowrap;
}

.admin-bar-wrapper .e2-login-any-page-csl {
  position: absolute;
  background-color: transparent;
}

.admin-bar span,
.admin-bar a,
.admin-bar a:hover {
  margin: 0 10px; 
  color: #000;
}

.admin-bar td { vertical-align: middle; }
.admin-bar .current {
  background: #000;
  background: #f0f0f0 url('../../images/admin-bar-active-gradient.png') top repeat-x;
} 

.admin-bar .current * {
  color: #fff;
}

.title-bar {
  position: relative;
  background: #f0f0f0;
  width: 100%;
  height: 80px;
  margin: 0;
  border-bottom: 1px #f0d2c0 solid;
  border-bottom: 1px #e0e0e0 solid;
  /*
  margin: 0 10px 20px 10px;
  border: 1px #ccc solid;
  border-top-width: 0;
  */
}

.e2-logo {
  position: absolute;
  left: 120px;
  top: 40px;
  margin: -16px;
}

.JC-logo {
  position: absolute;
  left: 120px;
  top: 40px;
  margin: -16px;
}

.site-title {
  position: absolute;
  top: 24px;
  left: 240px;
  margin: 0;
  padding-bottom: 5px;
  font-size: 175%;
  font-weight: normal;
  letter-spacing: -1px;
}

.site-title,
.site-title a {
  color: #c04800;
}

.white {
  background: #fff;
  padding: 40px 0;
}

.leftpane {
  float: left;
  width: 225px;
  padding: 0 25px;
}

.leftpane p {
  margin: 0 0 1em 0;
}

.leftpane p.list-title {
  margin: 0 0 .25em 0;
}

.message-bar {
  position: relative;
  background: #fc0;
  color: #000;
  padding: 20px 0;
}
.message-bar ul { margin: 0; padding: 0; }
.message-bar li { margin: 0; padding: 0; list-style: square outside; }
.message-bar * { color: #000; }

.main {
  position: relative;
  margin: 0 25px 0 240px;
}

.copyrights {
  clear: both;
  position: relative;
  border-top: 1px #e0e0e0 solid;
  padding-top: 20px;
}

.keywords-links {
  border-left: 5px #ccc solid;
  background: #ffffe8;
  margin: -10px -15px 1em;
  padding: 10px 15px 10px 10px;
}

.form {
  width: 100%;
  background: #f8f8f8;
  border-right: 5px #ccc solid;
  margin: 0 -15px;
  padding: 10px 10px 10px 15px;
}

.calendar {
  width: 100%;
  padding: 0.67em 0;
  margin: 0 -5px 40px;
  /*border-bottom: #666 1px solid;*/
  border: 0;
}

.page-switcher {
  width: 100%;
  text-align: center;
  margin: 0 0 20px 0;
}

.note {
  margin: 0 0 40px 0;
}

.answer {
  margin: 0 0 0 2.5em;
}

.comment-and-answer {
  margin: 20px 0;
}

.note-datetime {
  width: 100%;
  color: #000;
  padding: 0 5px 2px;
  /*
  margin: 0 -5px 5px;
  border-bottom: #09f 1px solid;
  border-bottom: #666 1px solid;
  */
  border: 0;
  margin: 0 -5px;
}

p.comments {
  margin: 1em 0 1em 2.5em;
  font-weight: bold;
  position: relative;
}

p.comments img {
  position: absolute;
  top: 0; left: -16px;
  margin-left: -.33em;
  margin-top: .33em;
}

.comment-header { position: relative; }
.comment-number { position: absolute; }
.comment-author { margin: 0 0 0 2.5em; }

.meta {
  font-size: 80%;
  margin: 0.5em 0;
}

.keywords-sort-modes {
  text-align: right;
  float: right;
}

.e2-highlight {
  background: #ffe090;
}

.keywords-tree {
  background: #ffffe8;
  border-right: 5px #ccc solid;
  margin: 0 -15px;
  padding: 10px 10px 10px 15px;

/* вариант просто с подчёркиванием
  width: 100%;
  margin: 0 -5px 5px;
  padding: 0 5px 1em;
  border-bottom: #09f 1px solid;
  border-bottom: #666 1px solid;
  */
}

.keywords-tree ul {
  padding: 0;
  margin: 0 0 0 1.25em;
  list-style-position: outside;
}

ul, ol {
  padding: 0;
  margin: 1em 0 1em 2.5em;
  list-style-position: outside;
}

ul.links-list, ol.links-list {
  padding: 0;
  margin: 0 0 0 0;
  list-style-position: outside;
  font-size: 80%;
}

ul { list-style-type: square; }

ul ul, ul ol, ol ul, ol ol {
  margin: 0 0 0 1.25em;
}

blockquote {
  margin: 1em 0 1em 2.5em;
}
  
.playlist_item {
  padding: 5px 10px;
}

.keywords_on_frontpage {
  font-size: 80%;
  float: right;
  width: 15%;
  padding: 10px;
}

.favourites_on_frontpage {
  font-size: 80%;
  float: right;
  width: 15%;
  padding: 10px;
}

.keywords_on_frontpage b {
  font-weight: normal;
}


.month_nav {
  float: right;
  font-size: 70%;
  font-weight: normal;
}

#internal_menu {
  position: absolute;
  left: 150px;
}

.settings_box {
  border: #ccc 1px solid;
  padding: 20px;
}

table {
  font-size: 100%;
  empty-cells: show;
  border-collapse: collapse;
  border: 0;
}

td {
  padding: 0;
}

.trackback-list li {
  margin-bottom: 1em;
}












/* comment_not_accepted */

.e2_comment_not_accepted {
  width: 100%;
  height: 200px;
}

.e2_editor {
  width: 100%;
  height: 400px;
  font-family: "Courier New", fixed;
}

/*
.input-text {
  border: 1px solid;
  border-color: #999 #ddd #ddd #999;
}

*/

.suggest-wide {
  width: 100%;
}

.e2_odd { background: #f2f2f2; }
.e2_even { background: #fdfdfd; }

.e2_prev_next_navigation {
  width: 100%;
  margin: 0 0 20px 0;
}

.e2_prev_next_navigation table {
  width: 100%;
}

.e2_prev_next_links td {
  color: #666;
}

.e2_prev_next_ctrl_arrows .e2_ctrl {
  padding: 0 0.33em;
}

.e2_prev_next_current {
  font-size: 80%;
}

/* теги */

.e2-not-used { text-decoration: line-through; }

.e2-tag-classic a.e2-not-used { color: #ccd6d9; }
.e2-tag-classic a.e2-rarely-used { color: #8099c0; }
.e2-tag-classic a.e2-moderately-used { color: #345ca9; }
.e2-tag-classic a.e2-frequently-used { color: #039; }

.e2-tag-classic span.e2-not-used { color: #ccccba; }
.e2-tag-classic span.e2-rarely-used { color: #818075; }
.e2-tag-classic span.e2-moderately-used { color: #353530; }
.e2-tag-classic span.e2-frequently-used { color: #000; }

.e2-tag-in-cloud a,
.e2-tag-in-cloud span { white-space: nowrap; margin-right: 10px; line-height: 1.5em }

.e2-tag-in-cloud a.e2-not-used { font-size: 100%; }
.e2-tag-in-cloud a.e2-rarely-used { font-size: 100%; }
.e2-tag-in-cloud a.e2-moderately-used { font-size: 150%; }
.e2-tag-in-cloud a.e2-frequently-used { font-size: 200%; }

.e2-tag-in-cloud span.e2-not-used { font-size: 100%; }
.e2-tag-in-cloud span.e2-rarely-used { font-size: 100%; }
.e2-tag-in-cloud span.e2-moderately-used { font-size: 150%; }
.e2-tag-in-cloud span.e2-frequently-used { font-size: 200%; }
