body {
  margin-left: 3px;
  margin-right: 3px;
  padding: 0px;
  font-family: Arial,sans-serif;
}

h1 {
  font-size: 1.8em;
}

@media print { /* Стиль для печати */
  #id_form_doc\:id_bc,#id_form_doc\:id_pg_contents,#id_form_doc\:id_tb_1,#id_form_top {display: none;}
  .ui-grid-col-3 {display: none;}
  *{background:#fff !important;color:#000 !important;float:none !important;width:auto !important;height:auto !important;}
  #context{margin:0 !important;padding:0}
  #menu, #topmenu, #thedrot, .meta, #comments, #commentform, #postcomment, #resplink, #footer{display:none}
  #zag h1 span{font-size:small;display:block}
  a{border:0;text-decoration:none;}
  a img{border:0}
  a:after{content:" (" attr(href) ") ";font-size: 90%;}
  a[href^="/"]:after {content: "";}
  a[href^="#"]:after {content: "";}
  .ui-grid-row{display:block !important;}/* when use "display:-webkit-box;", when mozilla print preview, second page is empty */
}

.search_hit {
  background-color: #ff9;
}

a.wikilink1 {
  color: #0000EE !important;
}

a.wikilink2 {
  color: #0000EE !important;
}

/*
.ui-state-highlight a, .ui-widget-content .ui-state-highlight a, .ui-widget-header .ui-state-highlight a {
  color: white !important;
}
*/

/* for microsoft internet exporer responsive design */
@-ms-viewport{
  width: device-width;
}

/* for mobile browser responsive design */
@viewport{
  zoom: 1.0;
  width: device-width;
}

/* for mobile browser responsive design, image will take 100% of page width */
img
{
  max-width: 100%;
  height: auto !important;
}

.node-header h1{
  font-weight: bold; 
  text-decoration: underline;
}

.node-header {
  font-weight: bold; 
  text-decoration: underline;
  font-size: 1.8em;
  margin-top: 0;
}


.sc_doc_treenode {
  white-space: normal !important;
}