/*start*/
/*try ./data/styles/ksite.less*/
fieldset {
  margin: 0;
  padding: 3px 5px;
  border: 1px solid #b3b3b3;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
legend {
  font-weight: bold;
  padding: 0 3px;
  border: solid #b3b3b3;
  border-width: 0 1px;
  border-radius: 4px/5px;
}
input[type='text'],
input[type='password'],
textarea {
  border: 1px solid #b3b3b3;
}
#formatter div {
  float: left;
}
#formatter div.panel-right {
  float: right;
}
#formatter input {
  background: #fff;
  border: 1px solid #999;
  border-left: none;
  padding: 2px 5px;
  margin: 0;
  font-size: .75em;
}
#formatter input:hover {
  box-shadow: inset 0 0 2px rgba(0,0,0,0.4);
}
#formatter input:first-child {
  border-left: 1px solid #999;
}
#formatter input:first-child {
  border-radius: 5px 0 0 5px;
}
#formatter input:last-child {
  border-radius: 0 5px 5px 0;
}
#formatter input:only-child {
  border-radius: 5px;
}
#formatter span+input {
  border-left: 1px solid #999;
}
.sets {
  font-size: .8em;
}
.sets .subset {
  margin: 0;
  overflow: auto;
}
.sets .subset legend {
  float: right;
  font-weight: bolder;
  border: 1px solid;
  border-width: 0 0 1px 1px;
  font-size: .9em;
  opacity: .4;
  margin-top: -3px;
  margin-right: -5px;
  padding-right: 5px;
  border-radius: 0;
}
.sets .subset label {
  display: inline-block;
  clear: left;
  padding: 1px;
}
.sets .subset label:hover {
  box-shadow: 0 0 1px rgba(0,0,0,0.4);
  background: rgba(255,255,255,0.4);
}
.sets .ss2,
.sets .ss3,
.sets .ss4 {
  float: right;
  clear: right;
  width: 40%;
  min-height: 5em;
}
.sets .ss1 {
  float: left;
  width: 60%;
  min-height: 11em;
}
.sets .ss5 {
  width: 60%;
}
.wp-tags label {
  width: 90%;
  float: left;
}
label#page_title {
  width: 100%;
  display: block;
  padding: 0;
  margin: 0;
}
#page_title input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  font-weight: bold;
  font-size: 1.2em;
  padding: 0 1em;
  border: 1px solid #b2b2b2;
  border-bottom: none;
}
.label {
  border: 2px solid;
  border-width: 2px 0;
  border-radius: 15%;
  padding: .1em 1em;
  margin-right: 1em;
  display: inline-block;
  font-size: 12px;
  text-indent: 0;
  vertical-align: middle;
  text-shadow: none;
}
.label .draft {
  font-weight: bold;
  color: #172;
  background: #9f9;
}
#is_draft {
  font-weight: bold;
  color: #293;
  background: #9f9;
}
.attented {
  outline: 2px green solid;
  background: #9f9;
}
textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #b2b2b2;
  padding: 4px;
  padding-bottom: 17px;
}
#customStrings,
#customStrings li {
  list-style: none;
  padding: 0;
  margin: 0;
}
#customStrings {
  margin: 0 0 3px 3px;
}
#customStrings .cs-name {
  padding-right: 24px;
  border: none;
  background: url('../img/ksite/edit_p1.png') no-repeat right;
  box-sizing: border-box;
  margin-bottom: 2px;
  width: 90%;
  display: block;
  float: left;
  font-weight: bold;
}
#customStrings .cs-name:hover {
  background-color: #fff;
}
#customStrings .cs-name:focus {
  background: #fff;
  border: 1px solid;
  padding-right: 22px;
}
span.ud {
  display: inline-block;
  vertical-align: middle;
  margin-right: .5em;
  line-height: 1;
  min-width: 15px;
  text-align: center;
}
span.level {
  display: inline-block;
  position: relative;
  vertical-align: middle;
  height: .5em;
}
span.level .l6 {
  width: 7.2em;
}
span.level .l5 {
  width: 6em;
}
span.level .l4 {
  width: 4.8em;
}
span.level .l3 {
  width: 3.6em;
}
span.level .l2 {
  width: 2.4em;
}
span.level .l1 {
  width: 1.2em;
}
#topicList {
  background: rgba(0,0,0,0.01);
}
#topicList .sublist {
  padding-left: 2em;
  border-left: 1px solid rgba(0,0,0,0.3);
  padding: 4px 0 4px 15px;
  margin: 4px 0;
  position: relative;
}
#topicList .sublist > .ud {
  position: absolute;
  left: 0;
  top: 0;
  background: #fff;
  border-radius: 0 0 100% 0;
  border-top: 1px solid rgba(0,0,0,0.3);
}
#topicList .sublist:hover,
#topicList .item:hover {
  background: rgba(0,0,0,0.05);
}
#topicList .ui-state-highlight {
  background: rgba(150,150,50,0.1);
}
#link_register {
  margin-bottom: .5em;
  float: left;
  clear: both;
}
#login_form {
  width: 50%;
  float: left;
  clear: both;
  display: flex;
}
#loginFormAJAX #login_form {
  width: 100%;
}
#login_form fieldset {
  float: left;
  padding: 5px 10px;
}
#login_form fieldset > div {
  display: flex;
}
#login_form fieldset.submit {
  border: none;
  width: 6em;
  margin-left: -2px;
}
#login_form fieldset.submit input {
  width: 100%;
  height: 3.45em;
  font-weight: bold;
}
#login_form label {
  width: 100%;
  font-size: .85em;
}
#login_form input {
  float: right;
  height: 1.2em;
}
.tabs {
  border-bottom: 1px solid;
  padding: .5em 1% 0 1%;
  overflow: hidden;
  clear: both;
  font-size: .75em;
  width: 98%;
}
.tabs li {
  background-image: none;
  padding: 0;
  margin: 0;
  list-style: none;
  float: left;
}
.tabs li > * {
  padding: .1em .5em;
  margin: 0;
  margin-right: .1em;
  border: 1px solid;
  border-bottom: 0;
  font-weight: bold;
  border-top-right-radius: 10px;
  border-top-left-radius: 3px;
}
.tabs li a:hover {
  box-shadow: 0 0 5px;
}
form#news_form {
  font-size: .9em;
  margin-left: 5%;
  min-width: 25em;
  width: 60%;
  display: block;
  text-align: left;
}
html>body form#news_form {
  max-width: 40em;
}
div.window form#news_form {
  margin: 0;
}
form#news_form fieldset {
  display: block;
}
form#news_form div fieldset {
  display: inline;
}
html>body form#news_form div {
  display: table;
  width: 100%;
}
html>body form#news_form div fieldset {
  display: table-cell;
  width: 48.5%;
  vertical-align: middle;
  margin: 0 1%;
}
form#news_form input,
form#news_form select {
  width: 100%;
  box-sizing: border-box;
}
form#news_form input[type=checkbox],
form#news_form select[type=checkbox] {
  width: auto;
}
form#news_form textarea {
  display: block;
  width: 100%;
  height: 7em;
}
.require {
  font-weight: bold;
  position: relative;
  padding-left: .3em;
}
.require:before {
  content: '*';
  position: absolute;
  top: 0;
  left: -0.3em;
  color: #f00;
}
.form-file-panel {
  font-size: .8em;
  font-style: italic;
}
html>body form#news_form .nicEdit-panelContain .nicEdit-panel div {
  width: auto;
}
.formAlone {
  clear: both;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.formAlone fieldset {
  break-inside: avoid;
  flex: 1 0 400px;
  margin: 0 5px 0 0;
}
.formAlone fieldset.submit {
  flex: 10 0 100%;
}
fieldset.submit {
  border: none;
}
span.urgent,
span.question {
  font-weight: bold;
  color: #f00;
  font-size: .85em;
  float: left;
  background: #f88;
  border: 1px solid;
  padding: auto 2px;
  margin: 0 2px;
  width: 1.65em;
  text-align: center;
  text-indent: 0;
}
span.question {
  color: #0a0;
  background: #8f8;
}
.ui-sortable li:hover {
  background: rgba(250,250,250,0.6);
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
.underwindow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  overflow: hidden;
  background: rgba(0,0,0,0.5);
  width: 100%;
  height: 100%;
}
.window.dialog {
  margin: 10% auto;
  background: rgba(0,0,0,0.5);
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
  position: absolute;
  left: 50%;
  top: 50%;
}
.window.dialog .popupContent {
  margin: 1em;
  margin-top: 0;
  border: 1px solid;
  padding: 1em;
  background: rgba(250,250,250,0.9);
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
  color: #000;
}
.window .caption {
  text-align: center;
  font-weight: bold;
  font-size: 1.1em;
  color: #ccc;
}
.window.dialog fieldset {
  border: none;
}
.closeButton {
  position: absolute;
  top: -13px;
  right: -13px;
  z-index: 1;
  overflow: hidden;
  width: 30px;
  height: 30px;
  background: url(i/close.png) no-repeat;
  cursor: pointer;
}
div.message {
  border: 1px solid;
  padding: 5px;
  width: 50%;
  margin: 5px;
  border-radius: 5px;
}
div.message.notice {
  background: #d9da87;
  border-color: #585814;
  color: #000;
}
div.message.error {
  background: #f9a;
  border-color: #f00;
  color: #000;
}
div.tags-container {
  font-size: .8em;
  padding-left: 10px;
  clear: both;
  overflow: hidden;
  float: right;
  margin-bottom: 10px;
}
ul.tag-list {
  margin: 0;
  margin-left: 40px;
  padding: 5px;
  list-style: none;
  display: block;
  text-align: right;
}
li.tag-item {
  margin: 2px;
  float: left;
  clear: both;
}
li.tag-item a.tag {
  text-decoration: none;
  box-sizing: border-box;
  background: #888;
  padding: 0 4px 0 12px;
  border-radius: 0 3px 3px 0;
  color: #fff;
  text-shadow: 1px 1px 1px #000;
  position: relative;
  height: 20px;
  line-height: 20px;
  z-index: 3;
  display: inline-block;
  box-shadow: 0 1px 1px rgba(0,0,0,0.75), 1px 1px 1px rgba(0,0,0,0.75);
  font-size: 13px;
  font-weight: bold;
}
li.tag-item a.tag:before {
  content: '';
  display: inline-block;
  background: #888;
  width: 14.142135623731px;
  height: 15.142135623731px;
  transform: rotate(45deg);
  position: absolute;
  border-radius: 0 0 0 3px;
  left: -7px;
  top: 50%;
  margin-top: -7px;
  z-index: 1;
}
li.tag-item a.tag:after {
  border-radius: 50%;
  content: '';
  width: 6px;
  height: 6px;
  display: block;
  position: absolute;
  top: 50%;
  margin-top: -3px;
  left: 0;
  background: #f0f0f0;
  z-index: 4;
  box-shadow: inset 1px 1px rgba(0,0,0,0.75);
}
.tag-description {
  width: 100%;
  min-height: 1.2em;
  line-height: 1;
  padding: 0 2px;
}
#tag-popup-edit {
  width: 400px;
  height: 200px;
}
.page_controls {
  position: absolute;
  top: 1em;
  right: 1em;
}
#topicList .page-main {
  font-weight: bold;
}
img {
  border: 0;
  line-height: 1;
}
div.img_def {
  float: left;
  text-align: center;
  margin-right: 4px;
  border: 3px double #58b6c1;
}
div.img_def.right {
  margin-right: 0;
  margin-left: 4px;
  float: right;
}
div.img_def span {
  display: block;
  font: italic .8em/1 inherit;
}
ul {
  margin: 1em 0 .5em 0;
  padding-left: 15px;
  list-style-position: inside;
}
ul ul {
  margin: 0;
}
ul a.h,
ul span.h {
  font-weight: bold;
}
ol.breadcrumbs {
  font-size: .85em;
  list-style: none;
  margin: 0;
  padding: 0 0 0 1em;
}
ol.breadcrumbs > li {
  display: inline-block;
  list-style: none;
}
ol.breadcrumbs > li:before {
  content: '/';
  margin: 0 .4em;
}
ol.breadcrumbs > li:first-child:before {
  content: '';
  display: none;
}
/*finish*/
