
.navi-top {
  margin-top: 0px;
  margin-left: 4px;
  margin-bottom: 6px;
  padding-right: 0.5em;
  font-size: 76%;
  text-align: right;
}

.navi-top form {
  display: inline;
}

.navi-top a {
  color: #003399;
  text-decoration: none;
}

.navi-top a:hover {
  text-decoration: underline;
}

.navi-top .hierarchy {
  float: left;
}

.navi-top .hierarchy a {
  font-weight: bold;
  vertical-align: center;
}

.navi-top .hierarchy .op-edit {
  font-size: 90%;
}

.navi-top .hierarchy .op-edit a {
  font-weight: normal;
}

.navi-top form.searchbox {
}

.navi-top form.searchbox input.query-input {
  border: 1px solid gray;
  font-size: 12px;
  height: 14px;
  padding: 1px 3px;
  position: relative;
  top: 3px;
  vertical-align: top;
}

.navi-top form.searchbox input.submit {
  border: 1px solid black;
  background-color: #EEE;
  font-size: 10px;
  margin: 0;
}

#wiki-body {
  padding-top: 1px;
  position: relative;
  width: 100%;
  /* min-height: 600px; */
  font-size: 105%;
}

* html #wiki-body {
  height: 600px;
  padding-top: 0.8em;
  /* width: expression(document.body.clientWidth && document.body.clientWidth < 850 ? "850px" : "auto"); */
}

#wiki-body::after {
  height: 0;
  visibility: hidden;
  content: ".";
  display: block;
  clear: both;
}

#wiki-sidebar {
  width: 300px;
  position: relative;
  float: right;
  /* font-size: 92%; */
}

#wiki-body h1 { font-size: 180%; }
#wiki-body h2 { font-size: 140%; }
#wiki-body h3 { font-size: 117%; }

#wiki-body form {
  padding: 0;
  margin: 0;
}

#wiki-body h1, 
#wiki-body h2, 
#wiki-body h3, 
#wiki-body h4, 
#wiki-body h5 {
  line-height: 1.3;
}


.wiki-preview {
  font-size: 92%;
}
.wiki-preview h3 { margin: 0 }
.wiki-preview .wiki-content { margin-bottmon: 0; }

div.wiki-content {
  margin-right: 310px;
}

div.wiki-content .sfjp-widget-frame {
  width: 98%;
}

div.wiki-content div.embed-image {
  text-align: center;
}

div.wiki-content div.embed-image div.caption {
  font-size: 86%;
}

div.wiki-content a img.embed-image {
  border: none;
  margin: 0 0.8em;
}

div.wiki-content img.embed-image-left {
  margin-right: 0.8em;
}

div.wiki-content img.embed-image-right {
  margin-left: 0.8em;
}

#wiki-body .wiki-system-error {
  color: #000;
  background: #ffd url("../../dotnet/sfx/icon_warning.gif") no-repeat 5px 3px;
  border: 1px solid #fe6;
  padding: 2px .2em 2px 25px; 
  position: relative;
}

a.external
 {
  background: transparent url(../images/icons/external.png) no-repeat right center;
  padding-right: 13px;
}

a.tracker {
}

a.cvs {
}

a.svn {
}

a.project {
}

a.project-web {
}

a.user {
  background: transparent url(../../ic/user.gif) no-repeat left center;
  padding-left: 16px;
}

a.isbnbook {
  background: transparent url(../images/icons/external.png) no-repeat right center;
  padding-right: 13px;
}

div.wiki-edit h2 {
  margin-bottom: 0;
}

div.wiki-edit p {
  margin-left: 0.8em;
}

div.wiki-edit input#comment,
div.wiki-edit input#title
{
  padding: 2px;
  border: 1px solid #999;
  width: 100%;
  _width: 99%;
}

div.wiki-edit input#title {
  margin-bottom: 1em;
}

div.wiki-edit textarea.wikitext {
  border: 1px solid #999;
  margin: 0;
  clear: left;
  width: 99%;
}

div.wiki-edit .license_notice_message {
  margin-right: 0.8em;
}

ul.attach-file-list li {
  list-style-type: none;
  border-bottom: #F1F1F1 1px solid;
  margin: 1px 0;
  min-height: 24px;
  _height: 24px;
}

ul.attach-file-list li img {
  border: 0;
  vertical-align: middle;
}

ul.attach-file-list li a {
  text-decoration: none;
}

ul.attach-file-list .fileinfo {
  font-size: 80%;
  color: #333;
}

#history-ops form {
  display: inline;
}

table.history-list {
  width: 96%;
  margin-left: 2%;
}

div.diffview {
  margin: 0.8em;
  background-color: #F6F6F6;
  padding: 0.2em;
  overflow: hidden;
  font-style: monospace;
}

div.diffview .diff-chunkhead {
  border: 1px solid #999;
  background-color: #FFF;
}

div.diffview .diff-add {
  background-color: #E5F4FF;
  border: 1px solid #529DD7;
}

div.diffview .diff-del {
  background-color: #F7E5E2;
  border: 1px solid #CD3639;
}

div.content-footer {
  margin-right: 310px;
}

div.content-footer p {
  width: 96%;
  overflow: hidden;
}

div.content-footer p a {
  text-decoration: none;
}

/*** plugins ***/

div.pageoutline {
  border: 1px dotted #CCC;
  background-color: #FFFFEE;
  font-size: 86%;
}

div.pageoutline .pageoutline-title {
  font-weight: bold;
  position: relative;
  font-size: 108%;
}

div.pageoutline .pageoutline-title .action {
  font-weight: normal;
  float: right;
  background: none;
  text-indent: 0;
}

div.pageoutline .pageoutline-title .action button {
  border-width: 1px;
}

div.pageoutline ol,
div.pageoutline ul {
  margin-left: 2em;
  margin-top: 0;
}

div.pageoutline li {
  margin: 0;
  padding: 0;
}

div.pageoutline li a {
  color: #039;
  text-decoration: none;
}

div.pageoutline li a:visited {
  color: #039;
  text-decoration: none;
}

div.pageoutline li a:hover {
  text-decoration: underline;
}

ol.footnote {
  list-style: none;
  position: relative;
}

ol.footnote a.footnote-revref {
  text-decoration: none;
  position: absolute;
  left: -2.2em;
  width: 1.8em;
  display: block;
  text-align: right;
}

ol.footnote a.footnote-revref:hover {
  text-decoration: underline;
}

span.footnote-ref {
  font-size: 60%;
  vertical-align: top;
}

span.footnote-ref a {
  text-decoration: none;
}

span.footnote-ref a:hover {
  text-decoration: underline;
}

a.link-attach img {
  border: 0;
  vertical-align: middle;
}

#wiki-body textarea.linecomm-body {
  font-size: 92%;
  vertical-align: top;
}

#wiki-body textarea.templateproc-input-textarea {
  font-size: 92%;
  vertical-align: top;
}

.anchor:link, .anchor:visited {
  border: medium none;
  color: #D7D7D7;
  font-size: 0.8em;
  vertical-align: text-top;
}

.anchor:hover {
  background-color: #FAFAFA;
}

* > .anchor:link, * > .anchor:visited {
  visibility: hidden;
}

h1:hover .anchor, h2:hover .anchor,
 h3:hover .anchor, h4:hover .anchor,
 h5:hover .anchor, h6:hover .anchor {
  visibility: visible;
}

div.wiki-content div.pagenavi {
  border-top:2px solid #CCCCCC;
  border-bottom:2px solid #CCCCCC;
  font-size:85%;
  font-weight:normal;
  margin-bottom:16px;
  margin-top:16px;
  padding-bottom:1px;
  padding-top:1px;
}
div.wiki-content div.pagenavi div.prev {
  height: 1.3em;
}
div.wiki-content div.pagenavi div.next {
  float:right;
  height:100%;
  margin-left:1em;
  margin-top:-1.3em;
  padding-right:1px;
  text-align:right;
}
div.wiki-content div.pagenavi div.next a {
  background-image:url(../images/icons/navigation_next.png);
  background-position:right center;
  background-repeat:no-repeat;
  height:100%;
  padding-bottom:3px;
  padding-right:17px;
  padding-top:3px;
}
div.wiki-content div.pagenavi div.prev a {
  background-image:url(../images/icons/navigation_prev.png);
  background-position:1px center;
  background-repeat:no-repeat;
  height:100%;
  padding:1px 1em 1px 18px;
}
div.wiki-content div.pagenavi div.up a {
  background-image:url(../images/icons/navigation_up.png);
  background-position:1px center;
  background-repeat:no-repeat;
  display:block;
  height:100%;
  padding-left:19px;
}
div.wiki-content div.pagenavi span.label {
  display:none;
}

/*** search ***/

#wiki-search-frame {
  margin-right: 310px;
}

.search-info-head {
  float: right;
}

.search-head {

}

div.search-result {
  margin: 1em;
  margin-top: 0.5em;
}

div.search-result div.hitnode {
  margin: 0.2em 0 0.8em 0;
}

div.search-result div.hitnode h4 {
  font-size: 100%;
  padding: 0;
  margin: 0.1em 0 0.1em 0;
}

#frame div.search-result div.hitnode p.snippet {
  font-size: 82%;
  margin: 0.1em 0 0.1em 0;
  padding: 0;
}

#frame div.search-result div.hitnode .snippet .noperm {
  color: red;
}

#frame div.search-result div.hitnode .pageinfo {
  font-size: 82%;
  margin: 0.1em 0 0.1em 0;
  padding: 0;
  color: #666;
}

#wiki-search-frame .pager .cur {
  font-size: 120%;
  font-weight: bold;
}

div.search-result div.hitnode .pageinfo .uri {
  color: green;
}

div.editbox {
  margin: 0 0.8em 1em 0.8em;
}


div.editbox-options {
  float: right;
  height: 20px;
  font-size: 80%;
  margin-bottom: 2px;
}

div.editbox-options select {
  height: 18px;
  font-size: 72%;
}

div.editbox-foot {
  text-align: right;
  font-size: 93%;
}

div.editbox-appends {
  margin-top: 0.8em;
}

div.wiki-edit-actions {
  background-color: #EEE;
  padding: 0.6em;
}
  
div.wiki-edit-actions .act {
  width: 8em;
}

.wikitoolbar {
  border-left: 1px solid #d7d7d7;
  height: 18px;
  margin-left: 0;
  /* float: left; */
}

.wikitoolbar :link, .wikitoolbar :visited {
  background: transparent url(../images/edit_toolbar.png) no-repeat;
  border: 1px solid #d7d7d7;
  border-left-color: #FFF;
  cursor: default;
  display: block;
  float: left;
  width: 24px;
  height: 16px;
  overflow: hidden;
}

.wikitoolbar :link:hover, .wikitoolbar :visited:hover {
  background-color: transparent;
  border: 1px solid #fb2;
}

.wikitoolbar a#em { background-position: 0 0 }
.wikitoolbar a#strong { background-position: 0 -16px }
.wikitoolbar a#heading { background-position: 0 -32px }
.wikitoolbar a#link { background-position: 0 -48px }
.wikitoolbar a#code { background-position: 0 -64px }
.wikitoolbar a#hr { background-position: 0 -80px }
.wikitoolbar a#np { background-position: 0 -96px }
.wikitoolbar a#br { background-position: 0 -112px }
.wikitoolbar a#img { background-position: 0 -128px }
.wikitoolbar a#load-file-picker { background-position: 0 -144px }

/*** file picker ***/

#modal_container {
  border: 3px double #ccc;
}

#sfwiki-file-close {
  z-index: 20001;
  position: absolute;
  top: 0;
  right: 0;
}

#sfwiki-file-picker {
  padding-left: 8em;
  height: 100%;
  position: relative;
}

#sfwiki-file-picker .error-message {
  margin: 1em;
  padding: 0.2em;
  background-color: gray;
  color: white;
  font-weight: bold;
}

#sfwiki-file-pages {
  position: absolute;
  width: 8em;
  height: 100%;
  overflow: auto;
  left: 0;
  border-right: 1px solid gray;
}

#sfwiki-file-pages .pagename {
  border: 1px solid #fff;
  white-space: nowrap;
  cursor: default;
}

#sfwiki-file-pages .mouseover {
  border-color: #B2B7E3;
  background-color: #F3F4FC;
}

#sfwiki-file-pages .selected {
  border-color: #5A64BF;
  background-color: #CED1F5;
}

#sfwiki-file-list {
  margin: 0;
  padding: 0;
  overflow: auto;
  overflow-x: hidden;
  position: absolute;
  top: 0;
  left: 8em;
  right: 0;
  bottom: 9em;
  _position: relative;
  _height: 100%;
  _width: 100%;
  _margin-bottom: 5em;
  _left: 0;
  _bottom: 0;
}

#file-cand-table {
  position: relative;
  padding: 5px;
  width: 100%;
  cursor: default;
  margin: 1px;
  border-collapse: separate;
}

#file-cand-table td {
  text-align: center;
  vertical-align: middle;
  empty-cells: show;
  border: 1px solid #fff;
}

#file-cand-table .file-info {
  font-size: 60%;
}

#file-cand-table td.mouseover {
  border-color: #B2B7E3;
  background-color: #F3F4FC;
}

#file-cand-table td.selected {
  border-color: #5A64BF;
  background-color: #CED1F5;
}

#sfwiki-file-options {
  background-color: #EEE;
  padding: 5px;
  margin: 0;
  border-left: 1px solid gray;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 8em;
  _width: 98%;
}

#sfwiki-file-options input[type="text"] {
  border: 1px solid #666;
  width: 20em;
}

#sfwiki-file-options .actions {
  text-align: right;
}

.opt-float input { display: inline; }
.opt-float input[type=radio] { vertical-align: top; }
.opt-float label { display: inline; }
#file-picker-modal {top:5%; left: 40%; width: 80%; height: 80% }
#file-picker-modal .modal-body { max-height: 100%; padding: 5px; position: absolute; top: 48px; bottom: 0; right: 0; left: 0;}

div.content-footer {
  border: 1px solid #CCC;
  color: #333;
  margin-top: 3em;
  margin-left: 6px;
  clear: left;
}

div.content-footer p {
  margin: 0.5em;
  font-size: 90%;
}

div.content-footer-actions {
  background-color: #EEE;
  padding: 0.6em;
}

div.content-footer-actions .act {
  width: 5.5em;
}

div.content-footer-actions .btn-group .act {
  width: 4em;
}

#frame #wiki-body .dashboard-body {
  top: -0.8em;
}

#frame #wiki-body .dashboard-body table.event-list {
  margin: 0;
  padding: 0;
  font-size: 92%;
}

.recent-commit-rss-icon {
  margin-top: 3px;
}

/* plugin styles */
.repos-urls-box {
    height: 26px;
    margin-top: 0.35em;
    white-space: nowrap;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border: 1px solid #C9C9C9;
    border-color-top: #D4D4D4;
    border-bottom-color: #9A9A9A;
    border-radius: 3px;
    width: 98%;
    overflow: hidden;
    padding: 0;
    position: relative;
}

.repos-urls, .repos-urls-box-label {
    float: left;
    height: 26px;
}

.repos-urls-box ul.repos-urls {
    margin: 0;
    padding: 0;
}


.repos-urls li {
    list-style-type: none;
    float: left;
    margin: 0;
    padding: 0;
    height: 26px;
    white-space: nowrap;
}

.repos-urls li span {
    display: block;
    float: left;
    margin: 0;
    height: 26px;
    padding: 0 9px 0 9px;
    font-size: 11px;
    font-weight: bold;
    color: #333;
    text-shadow: 1px 1px 0 white;
    text-decoration: none;
    line-height: 27px;
    background: #F4F4F4;
    border-right: 1px solid #D4D4D4;
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#F4F4F4',endColorstr='#ECECEC');
    background: -webkit-gradient(linear,left top,left bottom,from(#F4F4F4),to(#ECECEC));
    background: -moz-linear-gradient(top,#F4F4F4,#ECECEC);
    cursor: pointer;
}

.repos-urls li span.selected {
    color: black;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.6);
    background: #6AB7FF;
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#6AB7FF',endColorstr='#4A80B2');
    background: -webkit-gradient(linear,0% 0,0% 100%,from(#6AB7FF),to(#4A80B2));
    background: -moz-linear-gradient(-90deg, #6AB7FF, #4A80B2);
}

.repos-urls li span.disabled {
    color: #999;
}

.repos-urls-box input.repos-git-url,
.repos-urls-box input.repos-git-url-disabled,
.repos-urls-box input.repos-scm-url,
.repos-urls-box input.repos-scm-url-disabled
 {
    width: 100%;
    padding: 3px 5px 2px 5px;
    height: 21px;
    line-height: 23px;
    font-size: 12px;
    color: #333;
    border: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.repos-urls-box input.repos-scm-url-git {
    padding-left: 20px;
    background: #EEE url(//static.osdn.net/scm-icons/git.png) no-repeat 3px 6px;
}

.repos-urls-box input.repos-scm-url-hg {
    padding-left: 20px;
    background: #EEE url(//static.osdn.net/scm-icons/hg.png) no-repeat 3px 6px;
}

.repos-urls-box input.repos-scm-url-svn {
    padding-left: 20px;
    background: #EEE url(//static.osdn.net/scm-icons/svn.png) no-repeat 3px 6px;
}

.repos-urls-box .fork-overflow {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    left: auto;
    color: black;
}

.repos-urls-box .fork-overflow:hover {
    text-decoration: none;
}

.wiki-content .recent-commits-info table.wikitable {
    margin-bottom: 0.1em;
}

.wiki-content .recent-commits-info ul.pager {
    margin-bottom: 1.5em;
    height: 2em; /* workaround for chrome... */
}

.wiki-content .recent-tickets-info table.wikitable tr:nth-child(1) > td {
    word-break: none;
    word-wrap: none;
    white-space: nowrap;
}

.wiki-content .recent-tickets-info table.wikitable tr:nth-child(n+1) > td:nth-child(2) {
    text-align: center;
}

.wiki-content .recent-tickets-info table.wikitable tr:nth-child(n+1) > td:nth-child(5),
.wiki-content .recent-tickets-info table.wikitable tr:nth-child(n+1) > td:nth-child(6) {
    font-size: 90%;
    word-break: none;
    word-wrap: none;
    white-space: nowrap;
}

.wiki-content .new-ticket-btn {
    margin-left: 0.8em;
    margin-top: 0.5em;
}

.repo-info-container {
    margin-top: 0.8em;
    margin-bottom: 0.8em;
}

.repo-info-container .scmviewer-link-buttons {
    margin-top: 0.3em;
}

.repo-info-container .scmviewer-link-buttons a.btn,
.repo-info-container .scmviewer-link-buttons a.btn:hover
{
    min-width: 7em;
    color: black;
    text-decoration: none;
}

.wiki-tagbox {
    border: 1px solid #ccc;
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    margin-bottom: 1em;
}

#wiki-sidebar .wiki-tagbox {
    width: 100%;
}

.wiki-content .recent-ticket {
    position: relative;
}
.wiki-content .recent-ticket table {
    width: 100%;
    table-collapse: collapse;
}
.wiki-content .recent-ticket table td.date {
    width: 1%;
    white-space: nowrap;
}

.wiki-content .recent-ticket table tr.item-body td {
    border-bottom: #ddd solid 1px;
}

.wiki-content .recent-ticket table .extrainfo {
    color: #444;
    font-size: 88%;
}

.recent-releases-widget .recent-releases-table {
    width: 100%;
    margin-left: 0;
    
}
.recent-releases-table td {
    border-bottom: 1px solid #DDD;
}
.recent-releases-table .date {
    white-space: nowrap;
    width: 1%;
}

/* ad-hoc responsive */
@media (max-width: 890px) {
  body {
    min-width: 300px;
  }
  .hidden-desktop {
    display: inherit !important;
  }
  .visible-desktop {
    display: none !important ;
  }

  #wiki-body {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
  }
  #wiki-sidebar {
    order: 9;
    margin: 1em 15px;
    width: auto;
  }
  .wiki-content, .content-footer {
    margin-right: 15px !important;
  }
  #breadcrumbs { word-break: normal; word-wrap: normal; }
  .no-sidebar-common {
    display: none;
  }
  .content-footer-actions .btn { margin-bottom: 8px; }
  #osdnsitefooter .cols {
    display: inline-block;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: -o-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  #osdnsitefooter .col {
    min-width: 180px;
    width: auto;
    margin-top: 2em;
  }
  #copyright { width: 100%; }
  .debug { display: none; }
}
/* end: ad-hoc responsive */
