/****** sf-icon-xx ********/
@font-face {
    font-family: 'seafile-font';
    src:url('sf_font/seafile-font.eot');
    src:url('sf_font/seafile-font.eot?#iefix') format('embedded-opentype'),
        url('sf_font/seafile-font.woff') format('woff'),
        url('sf_font/seafile-font.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
[class^="sf-icon-"] {
    font-family: 'seafile-font';
    speak: none;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
}
.sf-icon-share:before { content:"\e001"; }
.sf-icon-removeformat:before { content:"\f1e7"; }
/****** sf2-icon-xx ********/
@font-face {
    font-family: 'sf-font2';
    src:url('sf_font2/sf-font2.eot');
    src:url('sf_font2/sf-font2.eot?#iefix') format('embedded-opentype'),
        url('sf_font2/sf-font2.ttf') format('truetype'),
        url('sf_font2/sf-font2.woff') format('woff'),
        url('sf_font2/sf-font2.svg#sf-font2') format('svg');
    font-weight: normal;
    font-style: normal;
}
[class^="sf2-icon-"], [class*=" sf2-icon-"] {
    font-family: 'sf-font2';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    vertical-align:baseline;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.sf2-icon-archive:before {
    content: "\e600";
}
/******* tags **********/
html { background:#fff; }
body,
h1,h2,h3,h4,h5,h6,
ul,ol,li,dl,dt,dd,
p,pre,blockquote,
form,input,textarea,select,button,img {
    padding:0;
    margin:0;
}
body, input, textarea, button, select {
    font: 13px/1.5 Arial, Helvetica, sans-serif;
    color: #333;
    word-wrap:break-word; /* for en */
}
input, button, select { line-height:19px;/*for ff*/ }
h1 { font-size:1.9em; margin:1.1em 0 0.5em; }
h2 { font-size:1.5em; color:#222;}
h3 { font-size:16px; color:#322; font-weight:normal; margin:0.95em 0 0.4em; }
h4 { font-size:1.1em; color:#222; font-weight:normal; margin:0.5em 0 0.2em; }
h5, h6 { font-size:1em; margin:0.4em 0 0.15em; }
ul { list-style:none; }
ol { padding-left:2em; }
dl { margin:1.5em 0; }
dt { color:#666; margin:24px 0 2px; }
dd { margin-bottom:.8em; color:#222; }
a { color:#ee8833; text-decoration:none; font-weight:bold; }
a.normal {font-weight: normal;}
a:hover { color: #ff9933; text-decoration: underline; }
img { border:none; }
textarea {
    overflow: auto; /* rm default vertical scrollbar in ie */
    resize: vertical; /* for drag */
    outline:0;
}
textarea, select, input { border: 1px solid #ddd; }
input { height:22px; margin:3px 0; outline:0; }
input, button { display:inline-block;/*for ie*/ }
input[type=submit],
input[type=button],
input.submit { 
    height:27px;/*for ff*/
    line-height:1.5;
}
button,
input[type=submit],
input[type=button],
input.submit,
.fileinput-button { 
    padding:3px;
    background: #efefef;
    border: 1px solid #ddd;
    border-radius: 3px;
}
button {
    overflow:visible;/*for ie 7*/
    padding-bottom:0 \9;/*for ie; to make height right*/
}
input[type=radio] {
    height:auto;
    border:0;/*for ie*/
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {/*for input type="number" in chrome: to hide up/download arrow*/
    -webkit-appearance: none;
    margin: 0;
}
input::-moz-focus-inner,
button::-moz-focus-inner {/*Remove button padding in FF*/
    border: 0;
    padding: 0;
}
input[type=submit],
input.submit {
    margin-top:8px;
}
input[type=submit]:hover,
input[type=reset]:hover,
input[type=button]:hover,
button:hover, 
.fileinput-button:hover {
    cursor:pointer;
    background-color:#fff;
}
input[type="file"] {
    border:none;
    height:24px;
    line-height:24px;
}
label {
    display: inline-block;
    margin:4px 0px;
}
iframe { display:block; width:100%; }
pre, code {
    font-family: Consolas,"Liberation Mono",Courier,monospace;
}
pre {
    white-space:pre-wrap;
    word-wrap: break-word;
}
table {
    border-spacing: 0;
    border-collapse: collapse;
    width:100%;
    table-layout:fixed;
    margin:8px 0 40px;
}
caption {font-size:1.1em; font-weight:bold; margin-bottom:.6em;}
th { text-align:left; font-weight:bold; }
td, th { padding:5px 3px; word-wrap:break-word; border-bottom:1px solid #eee; }
td { color: #333; }
table img { vertical-align:middle; }
p { margin:0.5em 0; }

/********** common class ***********/
.hl { background-color: #f8f8f8; }/*highlight*/
.fleft { float:left }
.fright { float:right }
.clear { clear:both; }
.show { display:block }
.hide { display:none }
.error { color:red; }
.errorlist { color: red; }
.ovhd { overflow:hidden; }
.bold { font-weight:bold; }
.no-bold { font-weight:normal; }
.w100 { width: 100%; }
.vh { visibility:hidden; }
.vam { vertical-align:middle; }
.tip { color:#808080; font-size:12px; }
.label { color:#333; font-size:12px; font-style:normal; }
.italic { font-style:italic; }
.alc { text-align: center;}
.cspt { cursor:pointer; }
/** for input, textarea in form **/ /* e.g repo-create */
.input, .textarea {
    width:260px;
    padding:2px 3px;
    border-radius:2px;
    margin-bottom:5px;
}
.textarea { height:70px; }
.loading-tip { /*for img*/
    display:block;
    margin:1em auto;
}
.icon-plus, .icon-minus, .icon-pencil,
.icon-star-empty, .icon-star {
    font-size:16px;
    line-height:1;
}
.icon-plus, .icon-minus, .icon-pencil {
    color:#444;
    margin-left:3px;
}
.icon-star-empty { color:#d0d0d0; }
.icon-star { color:#505050; }
.op,
.more {
    font-weight:normal;
    font-size:12px;
}
.op { font-size:13px; padding-right:2px; }
.op-target { color:#803; word-wrap:break-word; }
.op-icon {
    font-size:20px;
    line-height:1;
    color:#888;
    cursor:pointer;
    margin-right:3px;
}
.op-icon:hover {/** for <a> **/
    color:#888;
    text-decoration:none;
}
.big-more-btn {
    padding:.5em 0;
    color:#777;
}
.big-more-btn:hover {
    color:#000;
    background:#dfdfdf;
}
.no-deco,
.no-deco:hover {
    text-decoration:none;
}
.input-disabled {/* for type="password/text" etc*/
    background:#ebebe4;
}
.btn-disabled { /*for <input type="submit" />, <button>*/
    color:#999;
}
.btn-disabled:hover,
input.btn-disabled:hover {/*for input*/
    cursor:default;
    background: #efefef;
}
.op-icon-btn {/* icon btn */
    font-size:14px;
    padding:4px 12px;
    line-height:20px;
    text-shadow:0 1px 1px rgba(255, 255, 255, 0.75);
    background-color:#f5f5f5;background-image:-moz-linear-gradient(top, #ffffff, #e6e6e6);background-image:-webkit-linear-gradient(top, #ffffff, #e6e6e6);background-image:linear-gradient(to bottom, #ffffff, #e6e6e6);background-repeat:repeat-x;border:1px solid #cccccc;border-bottom-color:#b3b3b3;border-radius:4px;box-shadow:inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
}
.op-icon-btn:hover {
    background-color: #E6E6E6;
    background-position: 0 -15px; /* to rm background-image */
}
.op-list li,
.modalCloseImg {
    background:transparent url('../img/bg.png') no-repeat scroll 0 0;
}
.op-list li {
    padding-left:10px;
    line-height:20px;
    background-position:0 -102px;
}
.add {
    margin-right:3px;
}
.jstree a {
    font-weight:normal;
}
.placeholder { /*for ie */
    color: #aaa;
    line-height:1.5;
}
input:-moz-placeholder,
textarea:-moz-placeholder {/* for FF */
    color: #aaa;
    line-height:1.5;
}
::-webkit-input-placeholder {/*for chrome, safari */
    line-height:1.5;
}
.avatar {
    border-radius:3px;
}
.empty-tips {
    padding: 30px 40px;
    background-color: #FAFAFA;
    border: solid 1px #DDD;
    border-radius: 3px;
    box-shadow: inset 0 0 8px #EEE;
    margin-top:5.5em;
}

/*******ui widgets**************/
/****paginator****/
#paginator {
    text-align:center;
    margin:10px 0;
    font-size:14px;
}
#paginator .pg {
    font-weight:normal;
    margin:0 3px;
}
#paginator .prev {
    margin-right:30px;
}
#paginator .prev,
#paginator .next {
    text-decoration:underline;
}
#paginator .next {
    margin-left:30px;
}
/**** caret ****/
.outer-caret,
.inner-caret {
    height:0;
    width:1px;
    border:14px solid;
    border-color:#CBCBCB transparent;
    border-bottom-width:0;
    z-index:100;
    margin:0 auto;
}
.inner-caret {
    border-top-color:#fff;
    position:relative;
    top:-15px;
    left:-14px;
}
/**** info-item *****/
.info-item {
    border: 1px solid #eee;
    border-radius: 2px;
    margin-bottom: 12px;
}
.info-item h3,
.info-item p {
    margin:0;
}
.info-item h3 {
    font-size:1.15em;
}
.info-item-top {
    padding: 4px 10px;
    background: #f8f8f8;
    border-bottom: 1px solid #eee;
}
.info-item-bottom {
    padding: 8px 10px;
}
.info-item p.not-last {
    margin-bottom:0.4em;
}
/**** tabnav *****/
.tabnav {
    height:37px;
    border-bottom:1px solid #ddd;
    margin-bottom:16px;
}
.tabnav-tabs,
.tabnav-tab {
    display:inline-block;
}
.tabnav-tab {
    font-size:14px;
    padding:8px 10px;
    border:1px solid transparent;
    border-bottom:0;
}
.tabnav-tabs,
.tabnav-tab {
    *display:inline;
}
.tabnav-tab a {
    color:#666;
    font-weight:normal;
}
.tabnav-tab-cur {
    border-color:#ddd;
    border-radius:3px 3px 0 0;
    background:#fff;
    margin-bottom:-1px;
    color:#000;
}
.tabnav-tab-cur a {
    color:#000;
}
/**** side-tabnav ****/
.side-tabnav .hd,
.side-textnav .hd,
.side-info .hd,
#right-panel .hd {
    padding-bottom:4px;
    border-bottom:1px solid #ddd;
    margin-bottom:1em;
}
.side-tabnav .hd h3 {
    margin-bottom:0;
}
.side-tabnav .hd .avatar { /*for 'group'*/
    vertical-align:top;
	border-radius:1000px;
}
.side-tabnav .hd .icon-globe { /*for 'group'*/
    line-height:1;
    color:#666;
}
.side-tabnav-tabs .tab a {
    display:block;
    padding:2px 4px;
    color:#333;
    font-weight:normal;
    border-radius:2px;
}
.side-tabnav-tabs .tab a:hover {
    background:#feefb8;
    text-decoration:none;
}
.side-tabnav-tabs .tab [class*="icon-"],
.side-tabnav-tabs .tab [class*="sf2-icon-"] {
    display:inline-block;
    width:20px;
    font-size:16px;
    color:#999;
    line-height:24px;
    text-align:center;
    margin-right:5px;
}
.side-tabnav-tabs .tab-cur a,
.side-tabnav-tabs .tab-cur a:hover {
    background:#feac74;
}
.side-tabnav-tabs .tab-cur [class*="icon-"],
.side-tabnav-tabs .tab-cur [class*="sf2-icon-"],
.side-tabnav-tabs .tab-cur a {
    font-weight:bold;
    color:#fff;
}
.side-textnav .hd {
	margin:2em 0 .5em;
}
.side-textnav-tabs .tab a {
	display:block;
    padding:10px 0;
	font-weight:normal;
    color:#999;
    border-bottom:1px solid #eee;
    margin-bottom:3px;
}
.side-textnav-tabs .tab-cur a,
.side-textnav-tabs .tab a:hover {
    color:#de3f1c;
	text-decoration:none;
}

.side-info dt {
    margin-top:15px;
}
/**** checkbox ****/
.checkbox-orig {
    font-size:0;
    opacity:0;
    filter: alpha(opacity=0);
    cursor:pointer;
    position:absolute;
    margin:0;
}
.checkbox {
    display:inline-block;
    border:1px solid #ddd;
    margin-right:4px;
    position:relative;
}
.checkbox-orig,
.checkbox {
    width:14px;
    height:14px;
}
.checkbox-checked {
    background:transparent url('../img/tick.png') no-repeat scroll 1px 3px;
}
.checkbox-label .avatar,
.checkbox,
.checkbox-option {
    vertical-align:middle;
}
#simplemodal-container .checkbox-option {
    font-weight:normal;
}
#simplemodal-container .checkbox-label {
    margin:4px 0;
}
.checkbox-label {
    display:block;
}
/**** messages ****/
.messages {
    position:fixed;
    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    z-index:15; /* for repo.html: to show on top of fixed-hd */
}
.messages .info,
.messages .success {
    padding:5px;
    background:#C4ECA9;
    margin:0;
}
.messages .error {
    padding:5px;
    background:#FDF;
    margin:0;
    color:#000;
}
/**** narrow-panel ****/
.narrow-panel {
    width:320px;
    min-height:15em;
    padding:30px;
    border: 1px solid #ddd;
    border-radius:4px;
    margin:5em auto 0;
}
.narrow-panel h2,
.narrow-panel h3 {
    margin:0 0 0.9em;
    border-bottom:1px solid #ddd;
}
.narrow-panel h2 {
    font-size:1.3em;
}
.narrow-panel input {
    width:312px;
    padding:2px 3px;
    border-radius:2px;
    margin:0 0 0.6em;
}
.narrow-panel input.submit {
    width:auto; /*for fr,de etc*/
    height:28px;
    padding:4px 5px;
    margin:8px 0 0;
}
.narrow-panel .note {
    color: #666666;
    font-size: 11px;
    margin: 2px 0 5px;
}
/**** wide panel ****/ /* e.g. repo decrypt page */
.wide-panel {
    width: 928px;
    padding: 10px 10px 15px; 
    border: 1px solid #DDD; 
    border-radius: 3px;  
    margin: 2em auto 0;
}
/**** text-panel ****/ /* e.g. logout */
.text-panel {
    font-size:16px;
    text-align:center;
    padding-top:7em;
}
/**** tab-tabs ****/ /* tabs in tab, e.g. myhome libs */
.tab-tabs,
.tab-popup-tabs {
    font-size:1em;
    padding:0;
    border:0;
    min-height:150px;
}
.tab-tabs {
    margin-bottom:75px;
}
.tab-tabs .tab-tabs-nav {
    padding-top:0;
}
.tab-tabs-nav .tab {
    float:left;
    border:0;
    background:none;
}
.tab-tabs-nav .tab.long-tab {
    margin-left:.4em;
}
.tab-tabs-nav .tab .a {
    color:#8A948F;
    font-weight:normal;
    padding:.3em 0;
    margin-right:0.6em;
}
.tab-tabs-nav .ui-state-active .a {
    color:#DD4B39;
    border-bottom:2px solid #DD4B39;
}
.tab-tabs-nav .tab .a:hover {
    color:#DD4B39;
}
.tab-tabs .ui-tabs-panel {
    padding:0;
}
/**** tab-popup ****/ /* e.g repo-share */
.tab-popup {
    width:400px;
    padding-top:10px;
}
.tab-popup .hd {
    padding-left:12px;
}
.tab-popup-tabs ,
.tab-popup-tabs-nav .ui-state-active .a,
.tab-popup .bot {
    background:#fafafa;
}
.tab-popup-tabs .tab-popup-tabs-nav {
    height:30px;
    padding:0 0 0 12px;
    background:#fff;
    border-bottom:1px solid #ddd;
    border-radius:0;
}
.tab-popup-tabs-nav .tab {
    display:inline-block;
    border:1px solid transparent;
    border-bottom:0;
    background:none;
}
.tab-popup-tabs-nav .ui-state-active {
    background:#fafafa;
    border-color:#ddd;
    border-radius:3px 3px 0 0;
}
.tab-popup-tabs-nav .tab .a {
    color:#666;
    line-height:16px;
    padding:6px 13px;
}
.tab-popup-tabs-nav .tab .a:hover {
    color:#333;
}
.tab-popup-tabs .ui-tabs-panel .option-list {
    max-height:200px;
    overflow:auto;
    margin-bottom:5px;
    position:relative;/* to fix ie7 'scroll position' problem */
}
.tab-popup .ui-state-active a {
    border-radius:3px 3px 0 0;
}
.tab-popup .bot {
    padding:1em 1.4em;
    border-top:1px solid #ddd;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}
.tab-popup .tip {
    margin:0;
}
/**** op confirm popup ****/
.op-confirm {
    position:absolute;
    padding:0 15px 6px;
    background:#fff;
    border:1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0,0,0,.2);
    z-index:10;
}
.op-confirm button {
    margin-right:8px;
}
/**** simplemodal ****/
#basic-modal-content {display:none;}
#simplemodal-overlay { background-color:#000; }
#simplemodal-container {
    padding: 20px; 
    background-color:#fff; 
    border-radius:4px;
    -moz-border-radius:4px;
}
#simplemodal-container a {font-weight:normal;}
.modalCloseImg {
    position:absolute;
    width:25px;
    height:29px;
    background-position:0 0;
    cursor:pointer;
    top:-15px;
    right:-16px;
    z-index:3200;
}
#simplemodal-container h3 {
    font-size:1.5em;
    word-wrap:break-word;
    margin:0 0 4px;
}
#simplemodal-container h3,
#simplemodal-container h4,
#simplemodal-container label {
    font-weight:bold;
}
#simplemodal-container label {
    margin:8px 0 4px;
}
.simplemodal-close {
    margin-left:5px;
}
#confirm-popup {
    min-width:255px;
}
#confirm-popup .btn {
    margin-top:.8em;
}
/**** ui-autocomplete *****/
.ui-autocomplete {
    background:#fff;
    overflow:auto;
}
.ui-menu-item {
    background-image:none;
}
/**** article ****/
.article {
    padding:40px 200px 40px 60px;
    font-size:14px;
    line-height:1.6;
    color:#333;
}
.article h2,
.article h3,
.article h4,
.article h5,
.article h6 {
    margin: 1.2em 0 0.4em;
    color:#333;
    font-weight:bold;
}
.article h1 + p, .article h2 + p, .article h3 + p, .article h4 + p, .article h5 + p, .article h6 + p,
.article h1 + pre, .article h2 + pre, .article h3 + pre, .article h4 + pre, .article h5 + pre, .article h6 + pre,
.article h1 + ul, .article h2 + ul, .article h3 + ul, .article h4 + ul, .article h5 + ul, .article h6 + ul,
.article h1 + ol, .article h2 + ol, .article h3 + ol, .article h4 + ol, .article h5 + ol, .article h6 + ol {
    margin-top: 0;
}
.article p {
    margin:0.8em 0;
}
#md-edit-help ul,
.article ul {
    list-style-type:disc;
    padding-left:2em;
}
.article ul,
.article ol {
    margin:0.5em 0;
}
.article code {
    font-size:12px;
    white-space: pre-wrap;
    padding: 1px 5px 0;
    background-color: #F8F8F8;
    border: 1px solid #dadada;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    margin: 0 2px;
}
.article pre {
    font-size:13px;
    padding:5px 10px;
    background:#f8f8f8;
    border:1px solid #ddd;
    border-radius:3px;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
    margin:1em 0;
}
.article pre code {
    white-space:pre-wrap;
    padding:0;
    margin:0;
    border:none;
}
.article a {
    font-weight:normal;
}
.article blockquote {
    color: #777;
    padding: 0 15px; 
    border-left: 4px solid #DDD; 
    margin: 1.2em 0;
}
.article table {
    table-layout:auto;
    width:auto;
    margin:0.8em 0;
}
.article tr:nth-child(2n) {
    background-color: #F8F8F8;
}
.article th,
.article td {
    padding:6px 13px;
    border:1px solid #ccc;
}
/**** obvious btn ****/ /* e.g. download btn in shared file/dir */
.obv-btn {
    color:#fff;
    padding:4px 10px;
    background-color: #60b044;
    background-image:-webkit-linear-gradient(#8add6d, #60b044);
    background-image:linear-gradient(#79d858, #569e3d);
    background-repeat: repeat-x;
    border:1px solid #5ca941;
    border-radius:3px;

}
.obv-btn:hover {
    color:#fff;
    text-decoration:none;  
}
/********** container ***********/
#main, #footer,
#repo-top .block-inner,
#repo-file-list {
    width:950px;
}
#main, 
#repo-top .block-inner,
#repo-file-list {
    margin:0 auto;
}
#header {
    padding:6px 0;
    background:#f4f4f4;
    width:100%;
    font-size: 14px;
    font-weight: bold;
    border-bottom:1px solid #ddd;
    margin-bottom:25px;
}
#header-inner {
    height:40px;
    width:950px;
    margin:0 auto;
}
#main {
    min-height: 400px;
    _height: 400px;
}
#title-panel h2 {
    margin-bottom:0.45em;
}
#left-panel {
    float:left;
    width:200px;
}
#right-panel {
    float:right;
    width:700px;
}
#right-panel h3:first-child,
#left-panel h3:first-child {
    margin-top: 0px;
}
#right-panel .hd {
    border-radius:0; /* rm radius when 'hd' is also '.ui-corner-all' */
    margin-bottom:1.5em;
}
#right-panel .hd h3 {
    margin-bottom:0;
}
#right-panel .hd .tab {
    padding-bottom:0;
    margin-bottom:0;
}
#right-panel .hd .a {
    border:0; /* rm 'border-bottom' for cur tab */
    padding:4px 0;
    line-height:16px; /* for ff*/
}
#right-panel .hd button {
    padding-top:0;
    padding-bottom:0;
    height:24px;
    line-height:24px;
}
/* info-bar */
#info-bar,
#sharelink-infobar {
    color: #fff;
    padding:1px 25px 1px 10px;
    background: #f70;
}
#info-bar {
    position:relative;
}
#info-bar .close {
    cursor:pointer;
    position:absolute;
    right:5px;
    top:5px;
}
#info-bar-info {
    margin:3px 0;
}

/* top-bar */
.top-bar-inner {
    background:#2d2d2d;
}
.top-bar-con {
    height:24px;
    width:950px;
    margin:0 auto;
    position:relative;
}
.top-bar-con .account {
    text-align:right;
    position:relative;
}
.top-bar-con .top-link {
    display:inline-block;
    height:24px;
    padding:0 3px;
    line-height:24px;
    color:#ddd;
    font-weight:normal;
    vertical-align:middle;
}
.top-link .icon-wrench {
    margin-right:7px;
}
.top-link .icon-caret-right {
    margin-left:7px;
}
#my-info {
    color:#fff;
    font-weight:bold;
}
.top-bar-con .spliter {
    display:inline-block;
    height:16px;
    line-height:16px;
    vertical-align:middle;
    border-right:1px solid #aaa;
    margin:0 3px;
}
.top-bar-con .btn {
    padding:0 6px;
    border-radius:2px;
    line-height:16px;
    margin-right:2px;
    vertical-align:middle;
}
.top-bar-con .msg-count {
    color:red;
}
.top-bar-con .avatar {
    border-radius: 2px;
    vertical-align:middle;
}
.top-bar-con .top-link:hover {
    text-decoration:none;
    background:#a0a;
}
#lang-context-selector {
    position:absolute;
    top:24px;
    text-align:left;
    border:1px solid #bbb;
    background:#fff;
    min-width:65px;
    padding:5px 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,.2);
    -moz-box-shadow: -1px 1px 1px rgba(0,0,0,.2);
    -webkit-box-shadow: 0 2px 4px rgba(0,0,0,.2);
}
#lang-context-selector a,
#to-group a {
    color:#000;
    display:block;
    padding:1px 5px;
    font-weight:normal;
}
#lang-context-selector a:hover,
#to-group a:hover {
    background:#eee;
    text-decoration:none;
}
.top-bar-con .icon-signout {
    font-size:15px;
}
#send-msg-popup,
#user-info-popup {
    background:#fff;
    border:1px solid #ddd;
    box-shadow:0 0 5px #ccc;
    position:absolute;
    right:0;
    z-index:100;/* for pages with jquery tabs*/
}
#send-msg-popup {
    width:430px;
    padding:18px;
    top:35px;
}
#user-info-popup {
    width:200px;
    text-align:left;
    top:24px;
}
#user-info-popup .item {
    display:block;
    padding:8px 18px;
    border-top:1px solid #ddd;
}
#user-info-popup a.item:hover {
    background:#fafafa;
    text-decoration:none;
}
#msg-file-share {
    margin-top:8px;
    position:relative;
}
#msg-file-share-btn {
    color:#999;
    background:#fff;
    border-radius:0;
}
#msg-file-share .icon-remove {
    position:absolute;
    right:20px;
    top:0;
    cursor:pointer;
    font-size:1.2em;
    color:#888;
}
#msg-file-tree {
    padding:4px 0;
    border:1px solid #ddd;
}
.select2-container .avatar,
.select2-results .select2-result-label .avatar {
    vertical-align:middle;
    margin-right:3px;
}
/* header */
#notice-con {
    color:red;
    padding:3px 5px;
    background:#ffc;
    border-radius:1px;
    box-shadow:0 0 6px gray;
}
#logo {
    margin-right:30px;
}
#header .nav {
    float:left;
    padding-top:16px;
    font-size:15px;
}
#header .nav li {
    float: left;
    height:21px;
    margin:0 14px;
}
.ru #header .nav li {
    margin:0 11px;
}
#header .nav a,
#header .nav a:visited {
    color:#8A948F;
    font-weight:bold;
    text-decoration:none;
}
#header .nav a.cur {
    color:#000;
}
#header .nav a:hover {
    color: #ff9933;
    text-decoration: underline;
}

/* footer */
#footer { 
    color:#636363;
    font-size:12px;
    padding:20px 0 10px;
    margin:80px auto 25px;
    border-top:1px solid #DDD;
}
#footer .items {
    width:65%;
}
#footer .other-info {
    width:30%;
}
#footer .item {
    float:left;
    width:32%;
    padding:0 3% 0 2%;
}
#footer a {
    color:#888;
    font-weight:normal;
}

/*** for separate pages ***/
/* login */
.login-form a {
    font-size:12px;
    vertical-align:middle;
}
.captcha {
    float:right;
}
#id_captcha_1 {
    width:auto;
    margin:3px 0 0;
}
/*myhome*/
.home-profile .pic {
    margin-left:9px;
}
.home-profile .txt {
    width:135px;
}
.home-profile .a {
    font-weight:normal;
    color:#999;
    font-size:12px;
    display:inline-block;
    margin-top:5px;
}
.home-profile .a:hover {
    color:#333;
}
#quota-bar {
    display:block;
    height:1em;
    border:1px solid #ddd;
    margin:5px 0;
    border-radius:2px;
    overflow:hidden;/* for usage > 100% */
}
#quota-bar .usage {
    display:inline-block;
    height:100%;
    vertical-align:top;
}
#my-usage,
#quota-usage {
    background:#ddd;
}
#share-usage {
    background:#eee;
}
#usage-details {
    font-size:12px;
    color:#888;
}
#traffic-stat {
    color: #333;
    font-weight: normal;
}
#repo-create-form {
    padding:0 20px;
}
#repo-create-form .perm {
    width:268px;
    height:22px;
    margin-bottom:10px;
}
.event-group-hd {
    padding: 4px 8px;
    color: #444;
    text-shadow: 0 1px white;
    background: #f8f8f8;
    margin:0;
    border: 1px solid #eee;
    border-top-right-radius: 4px;
    border-top-left-radius: 4px; 
}
.event-group-bd {
    list-style-type: none;
    padding:0;
    margin: 0 0 15px 0;
    border: 1px solid #eee;
    border-top: none;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px
}
.event-item {
    padding: 8px;
    border-top: 1px solid #eee;
}
.event-item:first-child {
    border-top: none;
}
.event-item:last-child {
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px
}
.event-item:nth-child(2n) {
    background: #fdfdfd;
}
.event-item .txt {
    margin-left:45px;
}
.event-item .cmt-desc {
    display:block;
}
.event-item p {
    margin:0;
}
.event-item .time {
    color:#888;
}
.event-item .avatar {
    float:left;
    border-radius:3px;
}
#events-loading,
#events-more {
    text-align:center;
    width:100%;
}
#events-more {
    color:#777;
    padding:.5em 0;
    border:0;
}
#events-more:hover {
    color:#000;
    background:#dfdfdf;
}
#notices-more {
    margin-top: -40px;
}
#notices-more-btn {
    text-align:center;
    width:100%;
    color:#777;
    padding:.5em 0;
}
#notices-more-btn:hover {
    color:#000;
    background:#dfdfdf;
}
/* avatar */
.avatar-op .avatar,
.home-profile .avatar {
	border-radius: 4px;
	-moz-border-radius: 4px;
}
.group .avatar {
	background:#fdfdfd;
	border-radius: 1000px;
}
.avatar-op h3 {
    border:none;
    margin-bottom:2px;
}
.avatar-op .upload-new-avatar-hd {
    margin-top:15px;
}
/*user-basic-info*/
.setting-item {
    margin-top:15px;
    margin-bottom:30px;
}
.setting-item h3 {
    color:#000;
    padding-bottom:0.2em;
    border-bottom:1px solid #ddd;
    margin-bottom:0.7em;
}
#user-basic-info label {
    width:5.5em;
    margin-right:1em;
}
.ru #user-basic-info label {
    width:9em;
}
.es #user-basic-info label,
.hu #user-basic-info label {
    width:7em;
}
.it #user-basic-info label {
    width:6em;
}
.fr #user-basic-info label {
    width:8em;
}
#user-basic-info .avatar,
#user-basic-info textarea {
    vertical-align:text-top;
}
#user-basic-info .avatar {
    margin-bottom:8px;
}
#user-avatar-change {
    position:relative;
}
#user-avatar-form {
    position:absolute;
    top:5px;
}
#grp-avatar-form {
    position:relative;
    margin-left:10px;
}
/*repo page*/
#repo-top {
    padding-bottom:15px;
    border-bottom:1px solid #ddd;
    margin-bottom:5px;
    box-shadow:0 1px 1px #ddd;
}
#repo-basic-info {
    margin: 10px 0;
}
#repo-basic-info .desc {
    font-size:1.2em;
}
.split {
    border-left:2px solid #888;
    padding-left:1em;
    margin-left:1em;
}
#repo-file-list {
    margin-bottom:100px;
}
.path { margin: 1.4em 0 0; }
.access-notice { margin: 0.8em 0 0.4em; }
.repo-op {
    text-align:right;
}
.repo-top-op-btn,
.file-op button,
#file-op button,
.repo-op .op-btn {
    *margin-left:5px;/* for ie 7*/
}
.repo-top-op-btn,
.repo-op .op-btn {
    background-color:#f5f5f5;
}
.repo-op .op-btn:hover {
    background-color:#fff;
}
.repo-op .op-btn [class^="icon-"],
.repo-op .op-btn [class^="sf-icon-"] {
    margin-right:3px;
}
#featured-filetype {
    margin:5px 0;
}
#featured-filetype button {
    padding: 2px;
    line-height: 1.2;
    border: 1px solid #bbb;
    margin: 2px 0 5px;
}
.repo-file-list-outer-container,
.commit-list-outer-container {
    padding:3px;
    background:#eee;
    border-radius:3px;
    margin:10px 0 25px;
}
.repo-file-list-inner-container,
.commit-list-inner-container {
    min-height:250px;
    background:#fff;
    border:1px solid #ddd;
    border-radius:3px;
}
.repo-file-list-not-show {
    padding-left:10px;
}
.repo-file-list-topbar {
    padding:8px 0;
    border-bottom:1px solid #ddd;
}
.repo-file-list-inner-container .repo-file-list-topbar {
    padding:8px 10px;
}
.repo-file-list-topbar .path {
    line-height:25px;
    margin:0;
}
.repo-file-list {
    table-layout:auto;
    margin:0;
}
.repo-file-list .select {
    width:15px;
}
.repo-file-list .star {
    width:25px;
}
.repo-file-list .dirent-icon {
    width:27px;
}
.repo-file-list .dirent-name {
    display:inline-block;
    width:400px;
}
.repo-file-list .dirent-size {
    width:89px;
}
.repo-file-list .dirent-update {
    width:108px;
}
.repo-file-list .dirent-op {
    width:250px;
}
.repo-file-list .checkbox-label,
.repo-file-list .checkbox {
    margin:0;
}
.repo-file-list th {
    padding-top:20px;
}
#repo-file-list .fixed-hd {
    position:fixed;
    width:950px;
    background:#fff;
    top:0;
    z-index:11; /*make it on top of dirent op(popup)*/
    border-color:#efefef; /*for repo-file-list-topbar*/
}
.repo-file-list .fixed-hd th {
    -webkit-box-shadow:0 2px 2px -1px #aaa;
    box-shadow:0 2px 2px -3px #aaa;
}
.file-star {
    cursor:pointer;
    line-height:19px;
    vertical-align:middle;
}
.repo-file-list .repo-file-op {
    position:relative;
}
.displayed-op {
    display:inline;
    margin-right:8px;
}
.repo-file-list .hidden-op {
    position:absolute;
    background:#fff;
    padding:6px 1px;
    border:1px solid #eee;
    border-radius:5px;
    z-index:10;
}
.hidden-op li a {
    display:block;
    padding:0 12px;
}
.file-choose-form {
    width:500px;
    padding:10px 20px;
}
.file-tree-cont, .dir-tree-cont {
    padding:5px;
    height:280px;
    overflow:auto;
    border:1px solid #eee;
    margin:5px 0 10px;
}
.jstree .jstree-leaf[type=file] a ins.jstree-icon {
    background: transparent url('../img/file-icon-16.png') no-repeat left center;
    vertical-align:top;
}
.jstree-classic .jstree-leaf[type=dir] a ins.jstree-icon {
    background:transparent url('../jstree_pre1.0_stable/themes/classic/d.png') no-repeat scroll -56px -36px;
}
#mv-dir-list .icon-caret-down,
#mv-dir-list .icon-caret-right {
    margin-right:15px;
}
#rename-form .new-name {
    min-width:180px;
    margin-top:6px;
}
.repo-top-op-btn {
    font-size:14px;
}
.repo-top-op-btn [class^="icon-"] {
    color:#444;
    margin-right:2px;
}
#repo-latest-commit .avatar {
    vertical-align:middle;
}
#repo-latest-commit .time {
    color:#666;
    margin-left:5px;
}
#dirents-op {
    position:fixed;
}
#dirents-op .op-icon-btn {
    display:block;
    margin-bottom:6px;
}
#dirents-op .op-icon-btn .icon-trash {
    display:inline-block;
    width:14px;
    text-align:center;
}
.lsch,
.lsch-encrypted,
.file-diff {
    font-size:12px;
    font-weight:normal;
    color:#666;
    text-decoration:underline;
}
#ls-ch {/*repo commit details container*/
    min-width:300px;
    min-height:300px; 
    max-width:850px;
    max-height:550px;
    overflow:auto;
    line-height:1.6;
}
#ls-ch h2,
#ls-ch h3 {
    margin: 0 0 0.2em;
    color:#333;
    font-weight:bold;
}
#ls-ch .commit-time,
.commit-time {
    color:#333;
    font-size:13px;
    font-weight:normal;
    margin-top: 0em;
}
#ls-ch ul {
    padding:0 0 6px 0;
}
#ls-ch a {
    color:#e83;
    font-weight:normal;
}
#dirs { /* file mv */
    margin-top:8px;
}
/* file upload */
.fileupload-buttonbar .start,
.fileupload-buttonbar .cancel {
    *margin-left:5px;
}
.fileinput-button {
    display:inline-block;
    line-height:19px;
    position:relative;
    overflow:hidden;
}       
.fileinput-button input {
    position: absolute;
    top: 0;     
    right: 0;   
    margin: 0;  
    height:27px;
    opacity: 0;
    filter: alpha(opacity=0);
    cursor: pointer;
}       
.table {
    margin-bottom:0;
}   
.table .name {
    width:60%;
}   
.table .size {
    width:15%;
}
.template-upload .start {
    text-align:right;
}
.template-upload .start {
    text-align:right;
}
.template-upload .start,
.template-upload .cancel {
    width:12.5%;
}
.fileupload-progress {
    margin-top:10px;
}
.progress {
    background-color: #F7F7F7;
    background-image: linear-gradient(to bottom, #F5F5F5, #F9F9F9);
    background-repeat: repeat-x;
    border-radius: 4px 4px 4px 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
    height: 1em;
    overflow: hidden;
}
.template-upload .progress {
    width:90%;
}
.progress .bar {
    background:#e83;
    height:100%;
}
.fade {
    opacity:0;
    visibility:hidden;/*for ie*/
}
.fade.in {
    opacity:1;
    visibility:visible;/*for ie*/
}
#upload-file-form .tip {
    padding-left:1.5em;
    *padding-left:1.9em;
    margin-top:5px;
}
/* repo-history */
#back {
    margin-top:3px;
}
.commit-list {
    margin:0 0 20px;
}
.commit-list .time {
    padding-left:10px;
}
.commit-list .avatar {
    border-radius:2px;
}
/*repo-share-form*/
#link-send-input,
#upload-link-send-input,
#email_or_group,
#share-link,
#added-member-name {
    width:260px;
    height:80px;
    padding:2px;
}
#mods-enable-form {
    width:266px;
}

#email_or_group,
#added-member-name {
    width:98.5%;
}
#emails {
    width:98.5%;
    height:80px;
    padding:2px;
}
/* group-join-form */
#id_group_join_msg {
    width:260px;
    height:80px;
}
/* group, org */
.group-list,
.user-list {
    margin-top:30px;
}
.group-list .group,
.user-list .user {
    display:inline-block; /*to handle different height of items*/
    vertical-align:top;
    width:330px;
    margin:0 17px 30px 0;
}
.group-list .group {
	margin-bottom:25px;
}
.group-list .group,
.user-list .user {
    *display:inline; /* for ie 6,7 */
}
.group .txt,
.user-list .user .txt {
    color:#333;
    width:250px;
}
.group h4 {
    margin:0 0 4px;
}
.group p {
    margin:0;
}
.group .item-name {
    display:inline-block;
    width:5em;
    color:#666;
}
.group .fast .a {
    font-size:18px;
    color:#FEAC74;
    margin-right:5px;
    display:inline-block;
    vertical-align:middle;
    line-height:24px;
    height:24px;
}
.group .fast .discuss {
    margin-top:-2px; /* for vertical alignment */
}
.group .fast .a:hover {
    text-decoration:none;
}
.ru .group .item-name,
.de .group .item-name,
.it .group .item-name {
    width:6em;
}
.member {
    _height:21px;
    padding-bottom:4px;
}
.member .avatar {
    border-radius: 2px;
    -moz-border-radius: 2px;
    margin-right: 5px;
}
.member .avatar,
.member .name {
    vertical-align:middle;
}
#user-profile {
    width:318px;
    position:absolute;
    left:365px;
    top:50px;
    z-index:10;
    padding:15px;
    min-height:130px;
    border:1px solid #ddd;
    background:#fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.grp-profile {
    margin-top:2px;
}
.grp-profile .name {
    font-size:16px;
    font-weight:bold;
    margin:0 6px;
}
.grp-profile .avatar,
.grp-profile .name {
    vertical-align:middle;
}
.group-basic-info [class^="icon-"] {
    margin-left:8px;
}
.group-basic-info .avatar {
    float:left;
}
.group-basic-info .txt {
    margin-left:63px;
}
#grp-member-add {
    margin-top:2px;
}

/* notification admin */
.cur-note { color: red; font-size: 75%; }

/*user-profile*/
.user-profile .pic {
    width:80px;
    text-align:center;
}
.user-profile .avatar {
    border-radius:4px;
    -moz-border-radius:4px;
    margin-bottom:5px;
}
.user-profile .txt {
    width:225px;
    word-wrap:break-word;
}
.user-profile .txt p {
    margin-bottom:4px;
}
.user-profile .intro {
    color:#444;
    font-size:12px;
    margin-top:10px;
}

/* group message and replies */
#grp-repos-commits td {
    padding:6px 3px;
}
.msg-panel {
    width:640px;
    margin-top:10px;
}
.msg-num {
    font-size:12px;
    color:#333;
}
.msg-form {
    padding:6px;
    background:#f9f9f9;
    border:1px solid #c4c4c4;
    border-radius:5px;
    margin-left:64px;
    position:relative;
}
.msg-form .avatar {
    position:absolute;
    left:-64px;
    top:-1px;
}
.msg-input {
    width:550px;
    padding:3px 5px;
    height:25px;
    vertical-align:top;
}
.personal-msg-panel .msg-input {
    width:486px;
}
.say {
    position:absolute;
    width:10px;
    height:21px;
    background:transparent url('../img/say.png') no-repeat scroll left top;
    left:-10px;
    top:13px;
}
.msg {
    word-wrap: break-word;
    padding:1px 0; /* to fix 'top border missing' when only 1 discussion & no scrollbar in chrome */
    margin:15px 0 20px;
}
.msg .txt {
    margin-left:64px;
}
.personal-msg-panel .msg-form,
.personal-msg-panel .msg .txt {
    margin-right:64px;
}
.msg a {
    font-weight: normal;
}
.msg-main {
    position:relative;
    padding:16px;
    background:#fff;
    border:1px solid #ccc;
    border-top-left-radius:3px;
    border-top-right-radius:3px;
}
.personal-msg-panel .msg-main {
    border-radius:3px;
}
.msg-main .say {
    background-image:url('../img/say_white.png');
}
.msg-received .say {
    background-image:url('../img/say_white_reverse.png');
    left:auto;
    right:-10px;
}
.msg-attachment {
    padding-top:10px;
    border-top:1px solid #e9e9e9;
    margin-top:12px;
}
.msg-attachment .img-cont {
    display:block;
    text-align:center;
    line-height:0;
    background:#fcfcfc;
}
.msg-attachment .img {
    width:auto;
    height:auto;
    max-width:100%;
    max-height:300px;
}
.msg-hd .author {
    font-weight:bold;
}
.msg .time {
    font-size:11px;
    color:#999;
    margin-left:5px;
}
.msg .op {
    font-size:11px;
    color:#999;
    cursor:pointer;
    margin-left:5px;
}
.msg-hd .group,
.discussion-to-grp .time {
    color: #808080;
}
.msg-hd .group {
    margin-left:30px;
}
.msg-con {
    margin-bottom:0;
}
.msg-op {
    color:#444;
    padding:10px 16px;
    background:#f8f8f8;
    border:1px solid #d5d5d5;
    border-top:0;
    border-bottom-left-radius:3px;
    border-bottom-right-radius:3px;
}
.replies-op {
    font-weight:bold;
    cursor:pointer;
    margin-bottom:10px;
    position:relative;
}
.unfold-replies,
.fold-replies {
    padding-right:14px;
    background:transparent scroll no-repeat right center;
}
.unfold-replies {
    background-image:url('../img/unfold.png');
}
.fold-replies {
    background-image:url('../img/fold.png');
}
.unfold-replies-nobg {
    background-image:none;
}
.replies-loading-icon {
    position:absolute;
    top:0;
}
.msg .at {
    color:#808;
}
.reply {
    line-height:1.2;
    margin-bottom:15px;
}
.reply .txt {
    margin-left:38px;
}
.reply-con {
    font-size:12px;
    line-height:1.3;
    margin:4px 0 0;
}
.reply-input {
    width:530px;
    padding:5px;
    height:20px;
    vertical-align:top;
}
.msg-form .submit,
.msg-form .cancel,
.reply-submit,
.reply-cancel {
    margin-top:6px;
    margin-right:2px;
}
#msg-upward {
    position:fixed;
    font-weight:normal;
}
#msg-upward:hover {
    text-decoration:none;
}
#msgs-more {
    width:576px;
    margin-left:64px;
}
/*file upload*/
#upload-file-form {
    margin-top:10px;
}
.files-add {
    position: relative;
    overflow: hidden;
    margin-bottom:7px;
}
.files-add .op {
    font-size:1.15em;
    font-weight:bold;
    display:inline-block;
    padding-left:18px;
    background-color:#fff;
    background-position:0 -207px;
}
#user-avatar-input,
#grp-avatar-input,
#upload-file-form .files-add input {
    cursor:pointer;
    position: absolute;
    top: 0;
    margin: 0;
    opacity: 0;
    filter: alpha(opacity=0);
}
#user-avatar-input,
#grp-avatar-input {
    right:0;
}
#upload-file-form .MultiFile-label {
    padding:4px 0;
    border-bottom:1px solid #ebebeb;
}
#upload-file-form .MultiFile-remove {
    padding:0 4px;
    color:#000;
    font-weight:bold;
    border:1px solid #eee;
}
#upload-file-form .MultiFile-remove:hover {
    text-decoration:none;
}
.upload-progress-con,
.upload-cancel {
    margin-top:.8em;
}
.upload-progress-bar {/*for progress container*/
    height:1em;
    margin-top:-3px;
}
.upload-progress-bar .ui-progressbar-value {/*for progress*/
    background:#e83;
    margin:0;
}

/* file view online, file edit */
.file-op {
    color:#444;
    text-align:right;
}
#shared-link,
#shared-upload-link,
#shared-link-text,
#shared-upload-link-text {
    border:0;
}
#shared-link-text,
#shared-upload-link-text {
    background:transparent;
    height:auto;
}
#gen-upload-link-btn {
    margin-top: 0.5em;
}
.file-op {
    margin-top:0.8em;
}
.file-op a {
    font-weight:normal;
    margin-left:2px;
}
.file-op button {
    color:#444;
}
.file-op [class^='icon-'],
.file-op [class^='sf-icon-'] {
    font-size:1em;
    margin-right:3px;
    color:#666;
}
#file,
#text-diff-output {
    padding:3px;
    background:#dedede;
    border-radius:3px;
    -moz-border-radius:3px;
    margin-top:12px;
}
#file-op {
    padding:8px 10px;
    background:#fff;
    text-align:right;
    border:1px solid #ccc;
}
#file-op button {
    padding:2px 8px;
}
#file-enc-cont {
    width:950px;
    margin:-20px auto 6px;
    text-align:right;
}
#file-enc {
    border:1px solid #ddd;
    border-radius:2px;
    background:#efefef;
}
#file-view-tip {
    height: 150px;
    padding:10px;
    width:930px;
    background:#fff;
}
#docu-view {
    font-size:14px;/*override .ace_editor*/
    line-height:1.6em;
    font-family: Consolas,"Liberation Mono",Courier,monospace;/*override .ace_editor*/
    min-height: 200px;
}
#img-prev-next {
    font-size:1.1em;
    margin-bottom:5px;
}
#image-view {
    padding:1px;
    background:#fff;
    border:1px solid #eee;
}
#docu-view,
#svg-view,
#pdf,
#md-view,
#md-edit {
    background:#fff;
}
#md-view,
#md-edit {
    width:756px;
}
#md-view h2,
#wmd-preview h2,
#wiki-content h2 {
    border-bottom: 1px solid #ccc;
}
.wiki-image {
    display: block;
    margin-left: auto;
    margin-right: auto;     
    max-width: 100%;
}
#wiki-content img {
    padding: 5px; 
    border: 1px solid #DDD;
    box-shadow: 0 1px 1px #CCC;
    border-radius: 2px; 
    max-width:688px;
    margin:15px 0;
}
#wiki-content .file-icon {
    border:0;
    padding:0;
    border-radius:0;
    box-shadow:none;
    margin:0 2px 0 0;
}
.anchor {
   font-size:0.8em;
   margin-left:6px; 
}
.anchor:hover {
   text-decoration:none; 
}
#svg-view {
    min-height:500px;/*for ff*/
}
#svg-view,
#pdf {
    width:950px;
    margin:0 auto;
}
#doc-view {
    min-height:700px;
    _height:700px;
}
#pdf-op-bar {
    padding:10px 0 7px;
    margin-bottom:3px;
    border-bottom:1px solid #ddd;
}
#pdf-op-bar button {
    color:#000;
    border-color:#aaa;
    margin:0 5px;
}
#pdf-page {
    margin:0 10px;
}
#page-number {
    padding:0 3px;
    min-width:16px;
    width:30px;
    text-align:right;
    border-radius:3px;
    -moz-border-radius:3px;
}
#pdf-view {
    max-width:950px;
}
#op-after-edit {
    margin-top:.9em;
}
#op-after-edit button {
    margin-left:5px;
}
#file-edit-cancel {
    color:#900;
    font-weight: normal;
    margin-left: 3px;
}
#op-after-edit button,
#file-edit-cancel {
    vertical-align:middle; /* for ie 7 */
}
#sf {
    width:624px;
    /*font-size:15px;*/
    font-size:medium;
    background:#fff;
}
#sf, #md-view {
    padding:40px 96px;
}
#md-edit-help {
    width:550px;
}
/* shareadmin & useradmin */
.view-link-alert p {
    display: inline-block;
}
.share-permission-select,
.user-status-select {
    position:relative;/*for long text in other lang in 'share admin'*/
    background:#fff;
    border:1px solid #ddd;
    border-radius:2px;
}
/*bottom bar*/
#bottom-bar {
    position:fixed;
    bottom:0;
    right:10px;
}
#bottom-bar button {
    color:#fff;
    font-size:15px;
    background:#000;
    opacity:0.75;
    margin-left:5px;
}
#bottom-bar [class^='icon-'] {
    margin-right:3px;
}
#to-group,
#discuss-to-group {
    width:400px;
    padding:0 15px;
    position:fixed;
    right:10px;
    background:#fff;
    border:1px solid #cbcbcb;
    box-shadow: 0 2px 4px rgba(0,0,0,.2);
    -moz-box-shadow: -1px 1px 1px rgba(0,0,0,.2);
    -webkit-box-shadow: 0 2px 4px rgba(0,0,0,.2);
}
#discuss-to-group {
    padding-bottom:10px;
}
#discussions-to-grp {
    height:auto;
    overflow:auto;
    position:relative;/*for ie7*/
}
#discussions-to-grp .msg {
    width:380px;
}
#discussions-to-grp .msg-main {
    width:282px;/*for ie7*/
}
#discussions-to-grp .reply-input {
    width:270px;
}
#to-group-caret,
#discuss-to-group-caret {
    width:28px;
    position:fixed;
}
#to-group,
#discuss-to-group,
#to-group-caret,
#discuss-to-group-caret {
    z-index:12; /* to be on top of 'fixed-hd' in repo.html*/
}
/*to-group*/
#to-group {
    min-width:100px;
    width:auto;
    padding:6px 0;
}
/*discuss to group*/
#discuss-to-group-form .checkbox-label {
    display:inline-block;
    white-space:nowrap;
    padding-right:3px;
    margin-right:10px;
    margin-top:0;
}
#discuss-to-group-form .input {
    padding:5px;
    width:388px;
    height:5em;
    resize:none;
    vertical-align:top;
}
#discuss-to-group-form .attachment {
    margin-left:5px;
}
/* text file diff */
.file-modification-hd .modifier,
.file-modification-hd .time {
    font-weight:normal;
    font-size:13px;
    color:#666;
}
.file-modification-hd a {
    margin:0 3px 0 5px;
}
.file-modification-hd .avatar,
.file-modification-meta-info .span {
    vertical-align:middle;
}
.file-modification-hd .time {
    margin-left:5px;
}
#text-diff-output {
    font-size:14px;
    font-family:monospace;
}
#text-diff-output .blank-file,
#text-diff-output .diff-con {
    background:#fff;
    border:1px solid #ccc;
    margin:0;
}
#text-diff-output .blank-file {
    padding:2em 1em;
}
#text-diff-output th {
    text-align: center;
}
#text-diff-output td {
    font-size:12px;
    word-wrap:break-word;
    padding:2px 3px;
    border-bottom:none;
}
#text-diff-output .diff-header {
    text-align:right;
    vertical-align:top; /* make the line number stay there even its right td gets multi lines of content */
    background-color:#ebebeb;
    border-right:1px solid #eee;
}
.diff-add {
    color: #080;
}
.diff-sub {
    color: #c00;
}
.diff-chg {
    color: #c3f;
}
.pubinfo-item {
    display:inline-block;
    min-width:66px;
}
.pubinfo-item {
    *display:inline;
}
.ru .pubinfo-item {
    min-width:64px;
}
.de .pubinfo-item {
    min-width:63px;
}
.pubinfo-item .amount {
    font-size:28px;
    line-height:1;
    font-weight:bold;
    color:#222;
}
.pubinfo-item .obj {
    font-size:11px;
    color:#999;
}
.video-container {
    margin: auto;
    width: 800px;
    height: 400px;
}
.audio-container {
    margin: auto;
    width: 500px;
    height: 30px;
}

/* wiki page */
.wiki-top {
    text-align:right;
    padding-bottom:4px;
    border-bottom:1px solid #eee;
}
.wiki-top .op-btn {
    margin-left:3px;
    padding-top:0;
    padding-bottom:0;
    height:24px;
}
.wiki-nav .item {
    float:left;
    font-size:15px;
    line-height:24px;
    margin:0 5px 0 10px;
}
.wiki-nav .link {
    font-weight:normal;
}
.wiki-nav .cur-item .link {
    color:#333;
}
#wiki-area {
    padding: 0 0;
}
#wiki-last-modified {
    margin-top: 10px;
    font-size:12px;
    color: #666;
}
#wiki-pages {
   list-style-type:disc;
   padding-left:2em;
   margin-top:1.6em;
}
.wiki-page-missing {
    color:red;
}

/* search */
.search-form,
#search-form .input_and_submit {
    padding-left:5px;
    height:24px;
    border:1px solid #ddd;
    border-radius:3px;
    background:#fff;
    position:relative;
}
#top-search-form {
    margin-top:14px;
}
.search-input,
.search-form .search-submit {
    height:24px;
    border:0;
    margin:0;
    vertical-align:top;
}
.search-input {
    width:172px;
    outline:0;
}
.search-form .icon-caret-down {
    color:#bbb;
    cursor:pointer;
    line-height:24px;
}
#advanced-search-form {
    position:absolute;
    width:500px;
    padding:18px;
    height:auto;
    font-weight:normal;
    box-shadow:0 0 10px #ddd;
    z-index:100;/* for pages with jquery tabs*/
}
#advanced-search-form .search-input {
    width:98%;
    padding:0 3px;
    border:1px solid #ddd;
    border-radius:3px;
}
#advanced-search-form .submit {
    margin-bottom:0;
}
.search-scales {
    margin-top:8px;
}
.search-scales .item {
    width:48%;
}
.search-repos {
    border-bottom:1px dotted #ddd;
    margin-bottom:3px;
}
.custom-ftype-options {
    font-size:13px;
    padding:2px 0;
    background:#fafafa;
}
.custom-ftype-options .checkbox-label {
    display:inline-block;
    margin:0 10px 0 0;
}
.custom-ftype-options .fileext-input {
    padding:0 3px;
    width:70%;
}
.search-form .search-submit {
    width:30px;
    background:#fff;
}
.search-form .icon-search {
    font-size:16px;
    color:#aaa;
}
#search-form,
#search-user-form,
#search-repo-form{
    padding:7px 5px;
    height:auto;
    background:#f7f7f8;
    border:0;
    border-radius:2px;
}
#search-form .input_and_submit {
    display:inline-block;
    width:426px;
    *width:430px;
}
#search-form .advanced-search {
    color:#666;
    font-size:16px;
    cursor:pointer;
    margin-left:4px;
}
#search-form .search-input {
    width:392px;
}
#search-results {
    padding-top:15px;
}
#search-results a {
    font-weight: normal;
}
.search-results-item {
    margin-top:15px;
}
.search-results-item .main-con {
    margin-left:40px;
}
.search-results-item .avatar {
    vertical-align:middle;
}
.search-results-item .time {
    color:#666;
}
#plan-form {
    width:260px;
}
#mass-msg {
    width:424px;
    height:100px;
    padding:2px;
    margin-bottom:3px;
}
#mass-email {
    width:432px;
}
/* payments */
#current-plan p {
    font-size:15px;
}
#plan-form input[type=radio] {
    margin-right: 10px;
}
#search-repo-form label,
#search-user-form label {
    width:3.5em;
}
#search-repo-form .submit,
#search-user-form .submit {
    margin-left:3.5em;
}
#enable-mods {
    color:#888;
    margin-top:5px;
}
#enable-mods:hover {
    color:#666;
    cursor:pointer;
}
#add-msg .icon-pencil {
    font-size:1em;
    margin:0 3px 0 0;
}
#quit-group {
    margin-top:4px;
    font-size:12px;
    font-weight:normal;
    color:#888;
}
.help-con {
	padding:0 0 0 60px;
}
/* wiki index */
.wiki-index {
    margin-top:25px;
}
.wiki-index h3 {
    border-bottom:1px solid #ddd;
}
.wiki-index ul {
    list-style-type: square;
    padding-left: 1.5em;
    margin-bottom:5px;
}
