/****** icon-xx ********/
/* Font Awesome 3.2.1 by Dave Gandy - http://fortawesome.github.com/Font-Awesome */
@font-face {
    font-family: 'FontAwesome';
    src: url('font/fontawesome-webfont.eot?v=3.0.1');
    src: url('font/fontawesome-webfont.eot?#iefix&v=3.0.1') format('embedded-opentype'),
    url('font/fontawesome-webfont.woff?v=3.0.1') format('woff'),
    url('font/fontawesome-webfont.ttf?v=3.0.1') format('truetype');
    font-weight: normal;
    font-style: normal;
}
[class^="icon-"],
[class*=" icon-"] {
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    text-decoration: inherit;
    -webkit-font-smoothing: antialiased;
    vertical-align: baseline;
    speak: none;
}
.icon-cloud-download:before       { content: "\f0ed"; }
.icon-download:before             { content: "\f01a"; }
.icon-trash:before                { content: "\f014"; }
.icon-plus:before                 { content: "\f067"; }
.icon-minus:before                { content: "\f068"; }
.icon-pencil:before               { content: "\f040"; }
.icon-remove:before               { content: "\f00d"; }
.icon-star:before                 { content: "\f005"; }
.icon-star-empty:before           { content: "\f006"; }
.icon-upload:before               { content: "\f01b"; }
.icon-upload-alt:before           { content: "\f093"; }
.icon-ban-circle:before           { content: "\f05e"; }
.icon-plus-sign-alt:before        { content: "\f0fe"; }
.icon-double-angle-left:before    { content: "\f100"; }
.icon-double-angle-right:before   { content: "\f101"; }
.icon-double-angle-up:before      { content: "\f102"; }
.icon-double-angle-down:before    { content: "\f103"; }
.icon-zoom-in:before              { content: "\f00e"; }
.icon-zoom-out:before             { content: "\f010"; }
.icon-caret-down:before           { content: "\f0d7"; }
.icon-caret-up:before             { content: "\f0d8"; }
.icon-caret-left:before           { content: "\f0d9"; }
.icon-caret-right:before          { content: "\f0da"; }
.icon-search:before               { content: "\f002"; }
.icon-move:before                 { content: "\f047"; }
.icon-copy:before                 { content: "\f0c5"; }
.icon-lightbulb:before            { content: "\f0eb"; }
.icon-chevron-left:before         { content: "\f053"; }
.icon-building:before             { content: "\f0f7"; }
.icon-phone:before                { content: "\f095"; }
.icon-magic:before                { content: "\f0d0"; }
.icon-eye:before                  { content: "\f06e"; }
.icon-eye-slash:before            { content: "\f070"; }

.icon-font:before                 { content: "\f031"; }
.icon-text-height:before          { content: "\f034"; }
.icon-tint:before                 { content: "\f043"; }
.icon-bold:before                 { content: "\f032"; }
.icon-italic:before               { content: "\f033"; }
.icon-strikethrough:before        { content: "\f0cc"; }
.icon-underline:before            { content: "\f0cd"; }
.icon-list-ul:before              { content: "\f0ca"; }
.icon-list-ol:before              { content: "\f0cb"; }
.icon-indent-left:before          { content: "\f03b"; }
.icon-indent-right:before         { content: "\f03c"; }
.icon-align-left:before           { content: "\f036"; }
.icon-align-center:before         { content: "\f037"; }
.icon-align-right:before          { content: "\f038"; }
.icon-align-justify:before        { content: "\f039"; }
.icon-link:before                 { content: "\f0c1"; }
.icon-cut:before                  { content: "\f0c4"; }
.icon-picture:before              { content: "\f03e"; }
.icon-undo:before                 { content: "\f0e2"; }
.icon-repeat:before               { content: "\f01e"; }
.icon-question-sign:before        { content: "\f059"; }
.fa-1x {
    font-size: 1.3em;
}
/****** 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"; }
/******* 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:#eb8205; 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, 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:auto;
}
button,
input[type=submit],
input[type=button],
input.submit,
.btn-link,
.fileinput-button,
select {
    padding:5px 6px;
    background:-webkit-linear-gradient(top, #fafafb, #eeeeee);
    background:-moz-linear-gradient(top, #fafafb, #eeeeee);
    background:linear-gradient(top, #fafafb, #eeeeee);
    border: 1px solid #c5c5c5;
    border-radius: 2px;
}
select {
    outline:none;
}
.btn-link {
    color:#333;
    line-height:19px;
    display:inline-block;
    text-decoration:none;
    font-weight:normal;
}
.btn-link:hover {
    color:#333;
    text-decoration:none;
}
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;
}
::-webkit-scrollbar {
    height: 9px;
    width: 9px;
}
::-webkit-scrollbar-button {
    display: block;
    height: 4px;
}
::-webkit-scrollbar-track-piece {
    background: #e9e9eb;
}
::-webkit-scrollbar-track-piece:vertical:start {
    border-radius:5px 5px 0 0;
}
::-webkit-scrollbar-track-piece:vertical:end {
    border-radius:0 0 5px 5px;
}
::-webkit-scrollbar-track-piece:horizontal:start {
    border-radius:5px 0 0 5px;
}
::-webkit-scrollbar-track-piece:horizontal:end {
    border-radius:0 5px 5px 0;
}
::-webkit-scrollbar-thumb:vertical,
::-webkit-scrollbar-thumb:horizontal {
    background: #ccc;
    border-radius: 5px;
    display: block;
}
input[type=submit],
input.submit,
button.submit {
    margin-top:8px;
}
input[type=submit]:hover,
input[type=reset]:hover,
input[type=button]:hover,
button:hover,
.btn-link:hover,
.fileinput-button:hover {
    cursor:pointer;
    background:#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:normal; color:#9c9c9c; }
td, th { padding:5px 3px; word-wrap:break-word; border-bottom:1px solid #eee; }
td { color: #333; font-size:14px; }
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; }
.error-tip { text-align:center; margin-top:5em;}
.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; }
.pos-rel { position:relative; }
/** 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,
.repo-file-list .icon-star-empty,
.repo-file-list .icon-star {
    font-size:16px;
    line-height:1;
}
.icon-plus, .icon-minus, .icon-pencil {
    color:#444;
    margin-left:3px;
}
.repo-file-list .icon-star-empty { color:#d0d0d0; }
.repo-file-list .icon-star { color:#505050; }
.op,
.more {
    font-weight:normal;
    font-size:12px;
}
.op { font-size:13px; padding-right:2px; }
.op-target { color:#ee8204; word-wrap:break-word; }
.op-icon {
    font-size:20px;
    line-height:1;
    color:#888;
    cursor:pointer;
    margin-right:3px;
    vertical-align:middle;
}
.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,
.side-tabnav-tabs .tab a,
.checkbox,
.checkbox-checked,
.modalCloseImg {
    background:transparent url('../img/bg.png') no-repeat scroll 0 0;
}
.op-list li {
    padding-left:23px;
    line-height:23px;
    background-position:0 3px;
}
.add {
    color:#555;
    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;
}
.ellipsis {
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

/*******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:0;
    border-width:14px 14px 0; /* default: arrow to the bottom */
    border-style:dashed solid; /* 'dashed' for firefox */
    border-color:#CBCBCB transparent;
    z-index:100;
    margin:0 auto;
}
.inner-caret {
    border-top-color:#fff;
    position:relative;
    top:-15px;
    left:-14px;
}
.up-outer-caret,
.up-outer-caret .inner-caret {
    border-width:0 10px 10px;
}
.up-outer-caret .inner-caret {
    border-bottom-color:#fff;
    top:1px;
    left:-10px;
}
.up-outer-caret {
    position:absolute;
    top:-11px;
}
.right-outer-caret,
.right-outer-caret .inner-caret {
    border-width:10px 0 10px 10px;
    border-color: transparent transparent transparent #CBCBCB;
}
.right-outer-caret {
    position:absolute;
    right:-11px;
}
.right-outer-caret .inner-caret {
    border-left-color:#fff;
    top:-10px;
    left:-11px;
}
.bottom-outer-caret,
.bottom-outer-caret .inner-caret {
    border-width:10px 10px 0;
}
.bottom-outer-caret {
    position:absolute;
    bottom:-11px;
}
.bottom-outer-caret .inner-caret {
    border-top-color:#fff;
    top:-11px;
    left:-10px;
}
/**** 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-tabs,
.tabnav-tab {
    display:inline-block;
}
.tabnav-tabs,
.tabnav-tab {
    *display:inline;
}
/**** jquery tabs ****/
.ui-tabs { position: relative; padding: .2em; zoom: 1; }
.ui-tabs .ui-tabs-panel { display:block; padding: 1em 1.4em; }
.ui-tabs .ui-tabs-hide { display:none; }

/**** left-right-tabs ****/
.left-right-tabs {
    padding:0;
}
.left-right-tabs-nav {
    margin-right:15px;
}
.left-right-tabs-nav a {
    display:block;
    padding:5px 4px;
    border-radius:3px;
    color:#747476;
    font-size:14px;
    outline:none; /* to overwrite webkit ':focus' style */
}
.left-right-tabs-nav a:hover {
    text-decoration:none;
    background:#feefb8;
}
.left-right-tabs-nav .ui-state-active a,
.left-right-tabs-nav .ui-state-active a:hover {
    background:#feac74;
    color:#fff;
}
.left-right-tabs .tabs-panel {
    padding-top:0;
    min-width:400px;
}
/**** side-tabnav ****/
.side-textnav .hd,
.side-info .hd {
    padding-bottom:4px;
    border-bottom:1px solid #ddd;
    margin-bottom:1em;
}
.side-tabnav .hd {
    margin-bottom:0.5em;
}
.side-tabnav h3.hd,
.side-tabnav .hd h3 {
    color:#f7941d;
}
.side-tabnav .hd h3 {
    margin-bottom:0;
}
.side-tabnav .hd .avatar { /*for 'group'*/
    vertical-align:middle;
	border-radius:1000px;
    margin:0 6px 0 4px;
}
.side-tabnav .grp-name { /*for 'group'*/
    display:inline-block;
    width:130px;
}
.side-tabnav-tabs {
    margin-bottom:1em;
}
.side-tabnav-tabs .tab {
    border-radius:2px;
    overflow:hidden;
}
.side-tabnav-tabs .tab a { /* for IE 11: no border-radius here */
    display:block;
    font-size:15px;
    padding:5px 4px 5px 47px;
    color:#333;
    font-weight:normal;
}
.side-tabnav-tabs .tab .lib {
    background-position: 11px -20px;
}
.side-tabnav-tabs .tab-cur .lib {
    background-position: 11px -554px;
}
.side-tabnav-tabs .tab .star {
    background-position: 9px -48px;
}
.side-tabnav-tabs .tab-cur .star {
    background-position: 9px -596px;
}
.side-tabnav-tabs .tab .activity {
    background-position: 10px -82px;
}
.side-tabnav-tabs .tab-cur .activity {
    background-position: 10px -636px;
}
.side-tabnav-tabs .tab .wiki {
    background-position: 12px -122px;
}
.side-tabnav-tabs .tab-cur .wiki {
    background-position: 12px -680px;
}
.side-tabnav-tabs .tab .msgs {
    background-position: 10px -160px;
}
.side-tabnav-tabs .tab-cur .msgs {
    background-position: 10px -728px;
}
.side-tabnav-tabs .tab .clients {
    background-position: 10px -198px;
}
.side-tabnav-tabs .tab-cur .clients {
    background-position: 10px -772px;
}
.side-tabnav-tabs .tab .contacts {
    background-position: 11px -238px;
}
.side-tabnav-tabs .tab-cur .contacts {
    background-position: 11px -814px;
}
.side-tabnav-tabs .tab .folders {
    background-position: 11px -275px;
}
.side-tabnav-tabs .tab-cur .folders {
    background-position: 11px -855px;
}
.side-tabnav-tabs .tab .files {
    background-position: 13px -316px;
}
.side-tabnav-tabs .tab-cur .files {
    background-position: 13px -899px;
}
.side-tabnav-tabs .tab .links {
    background-position: 11px -357px;
}
.side-tabnav-tabs .tab-cur .links {
    background-position: 11px -940px;
}
.side-tabnav-tabs .tab .members {
    background-position: 13px -398px;
}
.side-tabnav-tabs .tab-cur .members {
    background-position: 13px -977px;
}
.side-tabnav-tabs .tab .admin {
    background-position: 10px -439px;
}
.side-tabnav-tabs .tab-cur .admin {
    background-position: 10px -1052px;
}
.side-tabnav-tabs .tab .group {
    background-position: 11px -475px;
}
.side-tabnav-tabs .tab-cur .group {
    background-position: 11px -1014px;
}
.side-tabnav-tabs .tab .traffic {
    background-position: 13px -515px;
}
.side-tabnav-tabs .tab-cur .traffic {
    background-position: 13px -1091px;
}
.side-tabnav-tabs .tab .org {
    background-position: 11px -1209px;
}
.side-tabnav-tabs .tab-cur .org {
    background-position: 11px -1247px;
}
.side-tabnav-tabs .tab .security {
    background-position: 10px -1285px;
}
.side-tabnav-tabs .tab-cur .security {
    background-position: 10px -1322px;
}
.side-tabnav-tabs .tab a:hover {
    background-color:#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-color:#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;
}
.side-search-form {
    margin-top:25px;
}
.side-search-form .input {
    width:188px;
    padding:2px 5px;
    background:#fafafa;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.075);
}
.side-search-form .input:focus {
    background:#fff;
}
/**** checkbox ****/
.checkbox-orig {
    width:14px;
    height:14px;
    font-size:0;
    opacity:0;
    filter: alpha(opacity=0);
    cursor:pointer;
    position:absolute;
    margin:0;
}
.checkbox {
    position:relative;
    display:inline-block;
    width:15px;
    height:15px;
    background-position: 0 -1135px;
    margin-right:4px;
}
.checkbox-checked {
    background-position: 0 -1153px;
}
.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 {
    padding:5px;
    background:#f9edbe;
    margin:0;
}
.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;
}
/**** new narrow panel  ****/
.new-narrow-panel {
    width:388px;
    border:1px solid #d5d5d5;
    border-radius:4px;
    box-shadow:0 3px 2px #f5f5f5;
    margin:5em auto;
}
.new-narrow-panel .hd {
    color:#fff;
    font-size:16px;
    padding:5px 20px;
    background:#feab79;
    border-bottom:1px solid #d5d5d5;
}
.new-narrow-panel .con {
    padding:30px 60px 60px;
}
.new-narrow-panel .input {
    font-size:14px;
    border-color:#c7c7c7;
    box-shadow:inset 0 1px 1px #f1f1f1;
    margin:5px 0 20px;
}
/**** 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 {
    min-width:400px;
    width:auto; /*for 'long' lang*/
    padding-top:10px;
}
.tab-popup .hd {
    padding-left:12px;
}
/*
.tab-popup-tabs ,
.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;
}
.tab-popup-tabs-nav .tab .a {
    color:#000;
    font-size:15px;
    line-height:16px;
    display:inline-block;
    padding:6px 13px 5px;
    border-bottom:3px solid transparent;
    margin-right:5px;
}
.tab-popup-tabs-nav .ui-state-active .a,
.tab-popup-tabs-nav .tab .a:hover {
    color:#eb8205;
    text-decoration:none;
    border-bottom-color:#eb8205;
}
.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:#fcfcfc;
    border-radius:4px;
    -moz-border-radius:4px;
}
#simplemodal-container a {font-weight:normal;}
.modalCloseImg {
    position:absolute;
    width:28px;
    height:28px;
    background-position:0 -1173px;
    cursor:pointer;
    top:-14px;
    right:-14px;
    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 {
    padding:2px;
    border:1px solid #ddd;
    border-radius:4px;
    background:#fff;
    overflow:auto;
}
.ui-menu .ui-menu-item a {
    display:block;
    padding:.2em .4em;
    font-size:1.1em;
    line-height:1.5;
    text-decoration:none;
    border:1px solid transparent;
    border-radius:4px;
    zoom:1;
}
.ui-menu .ui-menu-item a.ui-state-hover { border-color:#fbcb09; background: #fdf5ce; color: #c77405; }
/**** 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, .big-obv-btn {
    display:inline-block;
    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;
}
.big-obv-btn {
    font-size:14px;
    padding:6px 20px;
    font-weight:normal;
    background:-webkit-linear-gradient(top, #fafafb, #eeeeee);
    background:-moz-linear-gradient(top, #fafafb, #eeeeee);
    background:linear-gradient(top, #fafafb, #eeeeee);
    border: 1px solid #c5c5c5;
    color:#333;
}
.big-obv-btn:hover {
    color:#333;
    text-decoration:none;
}
/********** container ***********/
#main, #footer {
    width:950px;
}
#main {
    margin:0 auto;
}
#header {
    padding-top:16px;
    background:#f4f4f7 url('../img/nav.png') center top repeat-x;
    width:100%;
    font-size: 14px;
    margin-bottom:40px;
}
#header-inner {
    height:48px;
    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:710px;
}
#right-panel h3:first-child,
#left-panel h3:first-child {
    margin-top: 0px;
}
#right-panel .hd,
.tabnav,
.repo-file-list-topbar,
.commit-list-topbar,
#dir-view .repo-op,
.wiki-top {
    padding:9px 10px;
    background:#f2f2f2;
    margin-bottom:.5em;
    border-radius:2px;
}
#dir-view .repo-op {
    height:30px;
    position: relative; /* for '#upload-menu' */
}
#right-panel .hd,
.tabnav,
.wiki-top {
    padding-bottom:0;
    height:39px;
}
#organization-repos .hd {
    position:relative;
}
.commit-list-topbar,
.repo-file-list-topbar {
    margin-bottom:0;
}
#dir-view .repo-file-list-topbar {
    background:none;
    padding:0;
}
#right-panel .hd h3,
#right-panel h3.hd {
    line-height:30px;
    margin-bottom:0;
}
#right-panel .hd .tab {
    padding-bottom:0;
    margin-bottom:0;
    top:0;
}
#right-panel .hd .a,
.tabnav-tab a,
.wiki-nav .link {
    display:inline-block;
    font-size:15px;
    color:#333;
    line-height:1.5;
    font-weight:normal;
    padding: 4px 10px 9px;
    border-bottom: 3px solid transparent;
    margin-left:5px;
}
.tabnav-tab-cur a,
.tabnav-tab a:hover,
.wiki-nav .cur-item .link,
.wiki-nav .link:hover,
#right-panel .hd .ui-state-active .a,
#right-panel .hd .a:hover {
    color:#eb8205;
    text-decoration:none;
    border-bottom-color: #eb8205;
}
#right-panel .hd button,
.tabnav button,
.repo-file-list-topbar .op-btn,
.wiki-top .op-btn {
    height:29px;
    background:#fff;
    line-height:17px;
}
#add-pub-lib {
   outline:none;
}
/* info-bar */
#info-bar {
    color: #1f0600;
    padding:1px 25px 1px 10px;
    background: #fddaa4;
    position:relative;
}
#info-bar .close {
    cursor:pointer;
    position:absolute;
    right:5px;
    top:5px;
}
#info-bar-info {
    margin:3px 0;
}
#info-bar-info a {
    color:#a68558;
    text-decoration:underline;
}
/* top-bar */
#msg-count {
    position:relative;
    margin:10px 32px 0 25px;
}
#msg-count .num {
    position:absolute;
    color:#fff;
    font-size:12px;
    line-height:1;
    padding:1px 2px;
    background:#feac74;
    border:1px solid #cb8a5d;
    top:0;
    left:15px;
}
#notice-popup {
    position:absolute;
    top:38px;
    right:-80px;
    width:240px;
    background:#fff;
    border:1px solid #c9c9c9;
    border-radius:3px;
    box-shadow:0 0 1px #f3f3f3;
    z-index:20;
}
#notice-popup .hd {
    text-align:center;
    padding:5px 0 3px;
    border-bottom:1px solid #dfdfe1;
    margin:0 10px;
}
#notice-popup .con {
    padding:0 10px;
    overflow:auto;
}
#notice-popup a {
    font-weight:normal;
}
#notice-popup .close,
#discuss-to-group .close {
    position:absolute;
    top:.5em;
    right:10px;
    cursor:pointer;
}
#notice-popup li {
    padding:9px 0 3px;
    border-bottom:1px solid #dfdfe1;
}
#notice-popup .unread {
    background:#f5f5f7;
    border-left:2px solid #feac74;
    margin:0 -10px;
    padding-left:8px;
    padding-right:10px;
}
#notice-popup .avatar {
    border-radius:1000px;
    float:left;
}
#notice-popup .brief {
    margin-left:40px;
    margin-top:0;
}
#notice-popup .time {
    color:#999;
    text-align:right;
    margin:0;
}
#notice-popup .all {
    color:#a4a4a4;
}
#account {
    position:relative;
}
#account .avatar {
    vertical-align:middle;
    border-radius:1000px;
}
#my-info {
    cursor: pointer;
    color: #d6d6d6;
}
#user-info-popup .avatar {
    float:left;
}
#user-info-popup .txt {
    margin-left:45px;
}
#account .manage {
    position:absolute;
    left:60px;
    top:-16px;
}
#account .manage .a:hover {
    text-decoration:none;
}
#lang-context-selector {
    position:absolute;
    top:60px;
    border:1px solid #bbb;
    background:#fff;
    padding:5px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,.2);
    white-space:nowrap;
}
#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;
}
#send-msg-popup,
.top-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:38px;
    right:10px;
}
.top-info-popup {
    width:200px;
    text-align:left;
    top:48px;
    font-size:13px;
    border-radius:4px;
}
#user-info-popup {
    width:220px;
}
#top-nav-grp-info {
    width:235px;
    top:40px;
    font-size:14px;
}
#top-nav-grp-info .outer-caret {
    left:38px;
}
#notice-popup .outer-caret {
    left:143px;
}
#user-info-popup .outer-caret {
    top:-10px;
    left:181px;
}
.top-info-popup .item {
    display:block;
    padding:8px 18px;
    border-top:1px solid #ddd;
}
.top-info-popup a.item {
    color:#333;
    font-weight:normal;
}
#top-nav-grp-list .item {
    padding:5px 10px;
    border:none;
}
#top-nav-grp-list .item.hl {
    background:#fafafa;
    cursor:pointer;
}
#top-nav-grp-list .name {
    display:inline-block;
    width:143px;
}
.top-info-popup a.item:hover {
    background:#fafafa;
    text-decoration:none;
}
#top-nav-grp-info .avatar {
    border-radius:1000px;
    margin-right:5px;
    vertical-align:middle;
}
#top-nav-grp-info .a {
    margin-top:7px;
}
#top-nav-grp-info .all-grp {
    padding-left:50px;
}
#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:8px;
    font-size:15px;
}
#header .nav-item {
    float: left;
    height:21px;
    padding-bottom:19px;
    margin:0 14px;
}
.ru #header .nav-item {
    margin:0 11px;
}
#header .nav .a,
#header .nav .a:visited {
    color:#8A948F;
    font-weight:bold;
    text-decoration:none;
    white-space:nowrap;/* for ipad */
}
#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 */
#lang {
    font-weight:normal;
    font-size:13px;
    margin-top:12px;
}
#lang-context:hover {
    text-decoration:none;
}
.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;
    margin-bottom:5px;
}
#repo-create-form .checkbox-label { /* for "Encrypt" */
    margin:10px 0 0;
}
.activity-group-hd,
.event-group-hd {
    padding: 8px;
    color: #444;
    font-size:16px;
    border-bottom: 1px solid #e5e5e5;
    margin:0;
}
.activity-group-bd,
.event-group-bd {
    list-style-type: none;
    font-size:15px;
    line-height:21px;
    padding:0;
    margin: 0 0 15px 0;
}
.event-item {
    padding:7px 8px;
    border-bottom: 1px solid #e5e5e5;
}
.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:1000px;
    margin-top:3px;
}
#events-loading,
#notices-loading,
#activities-more,
#events-more,
#notices-more-btn {
    text-align:center;
    width:100%;
}
#activities-more,
#events-more,
#notices-more-btn {
    color:#777;
    padding:.5em 0;
    border:0;
    background: #efefef;
}
#activities-more:hover,
#events-more:hover,
#notices-more-btn:hover {
    color:#000;
    background:#dfdfdf;
}
#notices-more {
    margin-top: -20px;
}
/* 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.6em;
    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;
}
#repo-top .hd,
#repo-basic-info {
    display:inline-block;
}
#repo-top .hd {
    margin-right:15px;
}
#repo-basic-info .link-icon {
    margin:0 5px 0 15px;
}
.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-file-list .repo-op {
    text-align:right;
    margin-bottom:4px;
}
.file-op button,
#file-op button,
.repo-op .op-btn {
    *margin-left:5px;/* for ie 7*/
}
.repo-op .op-btn [class^="icon-"],
.repo-op .op-btn [class^="sf-icon-"] {
    margin-right:3px;
}
.repo-op .op-btn {
    vertical-align:middle;
}
#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;
}
.commit-list-inner-container .commit-list-topbar,
.repo-file-list-inner-container .repo-file-list-topbar {
    padding:8px 10px;
}
.commit-list-topbar .path,
.repo-file-list-topbar .path {
    font-size:14px;
    line-height:25px;
    margin:0;
}
#dir-view .path {
    font-size:16px;
    line-height:1.5;
    margin:0 0 5px;
}
#dir-view .repo-op .op-btn {
    padding:5px 14px;
}
.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;
    text-align:center;
}
.repo-file-list .dirent-name {
    display:inline-block;
    width:400px;
}
.repo-file-list .dirent-size {
    width:114px;
}
.repo-file-list .dirent-update {
    width:133px;
}
.repo-file-list .dirent-op {
    width:200px;
}
.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;
    top:0;
    z-index:11; /*make it on top of dirent op(popup)*/
    border-color:#efefef; /*for repo-file-list-topbar*/
}
#repo-file-list .repo-file-list-topbar.fixed-hd {
    width:930px;
    z-index:12; /* to make #upload-menu be on top of .repo-file-list tr.fixed-hd */
}
.repo-file-list .fixed-hd th {
    background:#fff;
    -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;
}
.displayed-op .dir-download,
.displayed-op .file-download {
    margin-right:5px;
}
.displayed-op .op:hover {
    text-decoration:none;
}
.audit-item .audit-select-hidden,
.repo-file-list .hidden-op {
    position:absolute;
    background:#fff;
    padding:6px 1px;
    border:1px solid #eee;
    border-radius:5px;
    z-index:10;
}
.audit-select-hidden li a,
.hidden-op a {
    display:block;
    padding:0 12px;
}
.hidden-op a:hover {
    background: #eee;
}
.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.file-tree-cont [root_node]  > a > .jstree-checkbox,
.jstree.file-tree-cont [type="dir"]  > a > .jstree-checkbox {
    display:none;
}
.jstree [root_node] > a > .jstree-icon,
.jstree .jstree-open[root_node] > a > .jstree-icon {
    background: transparent url('../img/lib-16.png') no-repeat scroll left center;
}
.jstree .jstree-leaf[type=file] a ins.jstree-icon {
    background: transparent url('../img/file-icon-16.png') no-repeat scroll left center;
    vertical-align:top;
}
.jstree-classic .jstree-leaf[type=dir] a ins.jstree-icon {
    background:transparent url('../js/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 */
.repo-op .upload-file-btn {
    display: inline-block;
    height: auto;
    padding: 5px 6px;
    border: 1px solid #c5c5c5;
    border-radius: 2px;
    position:relative;
    overflow:hidden;
}
#upload-menu,
#add-pub-lib-menu {
    position:absolute;
    z-index:12; /* make it on top of a checkbox */
    border:1px solid #c5c5c5;
    border-radius:2px;
    box-shadow: 0 0 2px #c5c5c5;
    background:#fff;
}
#upload-menu .item,
#add-pub-lib-menu .item {
    padding:0 10px;
    height:27px;
    line-height:27px;
    cursor:pointer;
}
#upload-menu .item {
    position:relative;
    text-align:left;
    overflow:hidden; /* for 'hover', as long 'input' in it. */
}
.fixed-upload-file-dialog {
    width: 540px;
    position: fixed;
    bottom: 0;
    right: 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
    box-shadow: 0 0 6px #ddd;
}
.fixed-upload-file-dialog .hd {
    padding: 6px 10px;
    background: #f0f0f0;
    margin:0;
}
.fixed-upload-file-dialog .con {
    height:164px;
    overflow-y:auto;
}
.fixed-upload-file-dialog .ops {
    position:absolute;
    top:10px;
    right:10px;
}
.fixed-upload-file-dialog .close,
.fileupload-buttonbar .cancel {
    *margin-left:5px;
}
.fileupload-progress {
    margin-top:5px;
}
.fileinput-button {
    display:inline-block;
    line-height:19px;
    position:relative;
    overflow:hidden;
}
.fileinput-button .icon-plus {
    font-size:13px;
    color:#333;
}
.fileinput-button input,
#upload-file input,
#upload-menu 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,
.table .error {
    padding-left:7px;
    margin:0;
}
.fixed-upload-file-dialog .fileupload-buttonbar .cancel,
.template-upload .btn {
    background: transparent;
    border: none;
    color: #e83;
}
.fixed-upload-file-dialog .fileupload-buttonbar .cancel {
    color:#909090;
}
.ui-progressbar,
.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;
}
#mv-progress {
    margin:10px 0;
}
.template-upload .progress {
    width:90%;
}
.ui-progressbar-value,
.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*/
#email_or_group,
#share-link,
#added-member-name {
    width:260px;
    height:80px;
    padding:2px;
}
#myhome-mods-enable-form,
#mods-enable-form {
    width:266px;
}
#email_or_group,
#added-member-name {
    width:98.5%;
}
#emails {
    width:98.5%;
    height:80px;
    padding:2px;
}
/* file/dir share popup */
#folder-perm-popup,
#file-share,
#share-popup {
    padding:15px;
    min-height:200px;
}
#folder-perm-popup .hd,
#file-share .hd,
#share-popup .hd {
    margin:0 0 8px 4px;
}
#file-share .tip,
#share-popup .tip {
    max-width:400px;
}
.ellipsis-op-target {
    display:inline-block;
    vertical-align:bottom;
}
#share-popup .op-target {
    max-width:400px;
}
#rename-form .op-target {
    max-width:280px;
}
#mv-form .op-target {
    max-width:410px;
}
#folder-perm-popup .op-target {
    max-width:540px;
}
/* group-join-form */
/* group-join-form */
#id_group_join_msg {
    width:260px;
    height:80px;
}
/* group, org */
.group-hl {
    background:#fbfbfb;
}
.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 {
    width:310px;
    padding:10px;
	margin-bottom:20px;
}
.group-list .group,
.user-list .user {
    *display:inline; /* for ie 6,7 */
}
.group .txt {
    width:240px;
}
.user-list .txt {
    width:265px;
}
.group h4 {
    margin:0 0 4px;
}
.group p {
    margin:0;
}
.group .item-name {
    display:inline-block;
    width:5em;
    color:#666;
}
.group .fast .a {
    margin:8px 12px 0 0;
    display:inline-block;
    vertical-align:middle;
}
.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;
}
.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;
}
#grp-member-add {
    margin-top:2px;
}

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

/* group message and replies */
#grp-repos-commits td {
    padding:6px 3px;
}
.msg-panel {
    width:640px;
    margin-top:10px;
}
.msg-form .avatar,
.msg .avatar {
    border-radius:1000px;
}
#personal-msg-panel {
    margin-top:22px;
}
.msg-num {
    font-size:12px;
    color:#333;
}
.msg-form {
    padding:10px;
    background:#f2f2f2;
    border-radius:3px;
    margin:0 0 22px 64px;
    position:relative;
}
#send-msg-form {
    padding:0;
    background:transparent;
    margin:0;
}
.msg-form .avatar {
    position:absolute;
    left:-64px;
    top:-1px;
}
#send-msg-form .avatar {
    border-radius:3px;
    position:static;
}
.msg-form .ops {
    text-align:right;
    margin-top:6px;
}
.msg-form .add-file {
    margin:9px 10px 0 3px;
}
#selected-files .item {
    text-align:left;
    padding:2px 3px;
}
#selected-files .rm {
    margin-right:3px;
}
#selected-files .rm,
.msg-form .add-file {
    cursor:pointer;
    opacity:0.8;
}
#selected-files .rm:hover,
.msg-form .add-file:hover {
    opacity:1;
}
.msg-input {
    width:544px;
    padding:3px 5px;
    height:25px;
    vertical-align:top;
}
.personal-msg-panel .msg-input {
    width:480px;
}
.say {
    position:absolute;
    width:10px;
    height:21px;
    background:transparent url('../img/say.png') no-repeat scroll left top;
    left:-10px;
    top:20px;
}
.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;
    padding:5px 0;
}
.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 {
    padding:5px 15px;
    background:#fff;
    margin-top:6px;
}
.msg-form .submit {
    color:#fff;
    background:#4abb49;
    border:1px solid #5cb25b;
}
.msg-form .submit:hover {
    background:#55ab22;
}
.msg-form .cancel {
    margin-left:6px;
}
#msg-upward {
    position:fixed;
    font-weight:normal;
}
#msg-upward:hover {
    text-decoration:none;
}
#msgs-more {
    width:576px;
    margin-left:64px;
}
/*file upload*/
.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;
}
#link-options {
    margin-bottom:10px;
}
#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;
}
#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,
#file-op .btn-link {
    padding:2px 8px;
}
#file-enc-cont {
    width:950px;
    margin:-20px auto 6px;
    text-align:right;
}
#file-enc {
    border:1px solid #ddd;
    padding:0;
}
#file-view-tip {
    height:130px;
    padding:30px 10px 10px;
    width:930px;
    background:#fff;
    text-align:center;
}
#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,
#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;
}
.pdf-page {
    display:block;
    max-width:950px;
    margin:0 auto 20px;
}
#doc-view {
    min-height:700px;
    _height:700px;
}
#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;
}
/* for repo, file_view page. */
#side-toolbar {
    position:fixed;
    right:0;
}
.side-toolbar .item {
    width:59px;
    height:40px;
    padding-top:18px;
    background:#fff;
    text-align:center;
    cursor:pointer;
    border:1px solid #c0c0c0;
    border-right:0;
    border-top:0;
}
.side-toolbar .item:first-child {
    border-top:1px solid #c0c0c0;
    border-top-left-radius:3px;
}
.side-toolbar .item:last-child {
    border-bottom-left-radius:3px;
}
/* shareadmin & useradmin */
.view-link-alert p {
    display: inline-block;
}
.perm-add-perm,
.user-perm-add-perm,
.group-perm-add-perm,
.perm-toggle-select,
#folder-perm-tabs .perm-select,
.share-permission-select,
.user-role-select,
.user-status-select {
    position:relative;/*for long text in other lang in 'share admin'*/
    padding:3px 2px;
    background:#fff;
    border:1px solid #ddd;
    border-radius:2px;
}
#to-group,
#discuss-to-group {
    width:400px;
    padding:0 15px;
    position:fixed;
    right:0;
    border-radius:5px 0 0 5px;
    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,
#discuss-to-group {
    z-index:12; /* to be on top of 'fixed-hd' in repo.html*/
}
/*to-group*/
#to-group {
    width:auto;
    min-width:250px;
    padding:0 12px 10px;
    right:78px;
}
#to-group .outer-caret {
    position:absolute;
    top: 15px;
    right: -15px;
}
#to-group .outer-caret,
#to-group .inner-caret {
    border-color:transparent #cbcbcb;
    border-right-width:0;
}
#to-group .inner-caret {
    border-left-color:#fff;
    top:-15px;
    left:-16px;
}
#to-group ul {
    padding-left: 20px;
    list-style-type: disc;
}
#to-group a {
    padding:1px 3px;
}
/*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 {/* for lang with long words */
    text-align:right;
    height:auto;
}
.wiki-top .op-btn {
    margin-left:3px;
}
.wiki-nav .item {
    float:left;
}
.wiki-nav .link {
    color:#333;
    font-weight:normal;
}
#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:7px;
}
.search-input,
.search-form .search-submit {
    padding:0;
    height:24px;
    border:0;
    margin:0;
    vertical-align:top;
}
.search-input {
    width:155px;
    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;
    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 b {
    font-weight: bold;
}
.search-results-item {
    margin-top:15px;
}
.search-results-item .main-con {
    margin-left:45px;
}
.search-results-item .parent-dir-link {
    color:#888;
}
.search-results-item .time {
    color:#666;
}
.search-results-item .highlight-content {
    margin:0;
}
#plan-form {
    width:260px;
}
#mass-msg {
    width:424px;
    height:100px;
    padding:2px;
    margin-bottom:3px;
}
#mass-email {
    width:432px;
    padding:0;
}
/* payments */
#plans {
    margin-top:24px;
}
#plans p {
    margin:13px 0;
}
#plans th,
#plans td {
    text-align:center;
    padding:6px 10px;
    border:1px solid #ede;
}
#plans th {
    color:#eb8205;
    font-weight:bold;
    font-size:16px;
}
#plans .price {
    color:#666;
    font-size:14px;
}
#plans tr:nth-child(even) td {
    background: #f8f8f8;
}
#plans .empty-cell {
    border-top-color:transparent;
    border-left-color:transparent;
}
#plans .item {
   text-align:right;
   font-weight:bold;
   color:#555;
}
#plan-form .options {
    margin-right: 15px;
}
.signup-btn {
    font-size:14px;
    padding:10px 14px;
    margin:10px 15px 20px 0;
}
#search-repo-form label,
#search-user-form label {
    width:3.5em;
}
#search-repo-form .submit,
#search-user-form .submit {
    margin-left:3.5em;
}
#myhome-enable-mods,
#enable-mods {
    margin-top:3px;
    cursor:pointer;
}
#edit-index {
    color:#d7d7d7;
    margin-top:3px;
}
#edit-index:hover {
    color:#666;
    cursor:pointer;
}
#add-msg .icon-pencil {
    font-size:1em;
    margin:0 3px 0 0;
}
.help-con {
	padding:0 0 0 30px;
}
#right-panel .help-con .hd {
    font-weight:normal;
    margin-bottom:15px;
}
/* wiki index */
.wiki-index {
    margin-top:25px;
}
.grp-wiki-index {
    margin-left:12px;
}
.wiki-index h3 {
    color:#333;
}
#wiki-index-con {
    padding-left:12px;
}
.grp-wiki-index #wiki-index-con {
    padding:0;
}
.wiki-index ul {
    list-style-type: square;
    padding-left: 1.5em;
    margin-bottom:5px;
    color:#8c8c8c;
}
.wiki-index a {
    font-weight:normal;
    color:#8c8c8c;
}
.wiki-index a:hover {
    color:#f93;
    text-decoration:underline;
}
.client-list .lib-num {
    cursor:pointer;
}
.client-list .dir-icon {
    color:#666;
}

/* side-info */
#left-panel .side-info .hd { /* '#left-panel' to override some style */
    margin-top:19px;
}
.go-back {
    position: absolute;
    left: -41px;
    top: 9px;
    padding: 0 5px;
    font-size: 25px;
    color:#ccc;
}
.go-back:hover {
    color:#f93;
    text-decoration: none;
}
#set-quota-form {
    min-width:255px;
}
/* lib setting */
.lib-setting .input,
.lib-setting .textarea {
    width:320px;
}
.lib-setting .form {
    margin-bottom:30px;
}

/* org reg */
#org-url {
    white-space: nowrap;
}
#org-url-prefix {
    width: 50px;
}

/* notice page */
#notices-table .unread {
    font-weight:bold;
}
#notices-table .avatar-cell {
    vertical-align:top;
    text-align:center;
    padding-top:8px;
}
#notices-table .avatar {
    border-radius:1000px;
}
#notices-table .brief,
#notices-table .detail {
    margin:0.2em 100px .2em 0;
}
#notices-table .detail {
    color:#9d9b9c;
    cursor:pointer;
    font-weight:normal;
}
#notice-list .topic,
#notices-table .topic {
    padding:4px 13px;
    border-left:3px solid #e0e0e0;
    margin-left:7px;
}
#notices-table a {
    font-weight:normal;
}

/* pwd strength */
#pwd_strength {
    margin:-15px 0 20px;
}
#pwd_strength span {
    display:inline-block;
    width:70px;
    height:16px;
    border:1px solid #fff;
    background:#e4e4e4;
    color:#cecece;
    text-align:center;
    vertical-align:middle;
    line-height:16px;
}

/* repo setting */
.user-perm-add-tr input,
.group-perm-add-tr input {
    padding:2px 5px;
}
#perm-add-grp-name {
    width: 95%;
}
.perm-add-select-folder {
    position:relative;
    right:18px;
    cursor:pointer;
}

/* file audit*/
.audit-show-select {
    font-weight: normal;
    font-size: 13px;
    padding-right: 2px;
}
#audit-unselect-op div {
    display: inline-block;
    height: 20px;
    border: 1px solid #ccc;
    background: #f2f2f2;
    cursor: pointer;
}
#audit-unselect-op span {
    margin-right: 5px;
}
#audit-unselect-op a {
    margin: 0 8px;
    text-decoration: none;
    font-size: 14px;
}
/* multi repo operation */
.repo-setting-icon,
.repo-trash-icon,
.repo-history-icon {
    width:30px;
    height:30px;
    background-image: url('../img/multi-repo-op.png');
    background-repeat: no-repeat;
    display:inline-block;
    margin-right:10px;
    outline:none; /* removing the dotted outline for FireFox */
}
.repo-setting-icon:hover {
    background-position: 0 -30px;
}
.repo-trash-icon {
    background-position: 0 -60px;
}
.repo-trash-icon:hover {
    background-position: 0 -90px;
}
.repo-history-icon {
    background-position: 0 -120px;
}
.repo-history-icon:hover {
    background-position: 0 -150px;
}

/* multi dirents operation */
#multi-dirents-op {
    padding: 0 10px;
}
#multi-dirents-op button {
    margin-left: -5px;
}
#multi-dirents-op button:focus {
    outline: 0; /* removing blue border after click for chrome */
}
#multi-dirents-op span {
    width: 16px;
    height: 16px;
    background-image: url('../img/multi-dirents-op.png');
    background-repeat: no-repeat;
    display: inline-block;
    margin-top:1px;
}
#multi-dirents-op .mv-dirents {
    background-position: -5px -5px;
}
#multi-dirents-op .cp-dirents {
    background-position: -31px -5px;
}
#multi-dirents-op .del-dirents {
    background-position: -57px -5px;
}
#dir-private-share .label {
    margin:6px 0 8px;
}
#dir-private-share .select2-container {
    margin-bottom:10px;
}
#dir-private-share .submit {
    margin-top:18px;
}
.lib-decrypt-form {
    padding:25px 40px 30px;
}
.lib-decrypt-form .intro {
    font-size:19px;
    color:#464646;
}
.lib-decrypt-form .input {
    height:30px;
    width:194px;
    margin-top:10px;
}
.lib-decrypt-form .submit {
    width:202px;
    height:36px;
    margin:21px 0 10px;
}

/* user & group folder perm */
#share-popup .tabs-panel,
#folder-perm-tabs .tabs-panel {
    width:550px;
}
#share-popup .share-permission-select,
#folder-perm-tabs .perm-select {
    height:30px;
}
#dir-user-share .submit,
#dir-group-share .submit,
#folder-perm-tabs .submit {
    margin-top:2px;
    height:30px;
}
#share-popup table,
#folder-perm-tabs table {
    margin-top:0;
}
.select2-result-label .text {
    display:inline-block;
    width:calc(100% - 42px);
}
.select2-results .select2-result-label .avatar {
    margin-right:10px;
}
.select2-result-label .avatar,
.select2-result-label .text {
    vertical-align:middle;
}

/* add repo to public */
#add-pubrepo-popup {
    width:500px;
}
#add-pubrepo-popup table {
    margin-bottom:8px;
}
#add-pubrepo-popup tbody {
    display: block;
    max-height: 150px;
    width: 500px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* share popup */
#download-link-operations dl {
    margin-top:0;
}
#download-link-operations dt {
    margin: 0;
}
#top-browser-tip {
    padding:7px 4px;
    background:#fff1a8;
    text-align:center;
    border-bottom:1px solid #ccc;
    margin:0;
}
#top-browser-tip .close {
    display:inline-block;
    margin-left:10px;
    cursor:pointer;
    color:#15c;
}
/* shared upload link */
#upload-link-panel {
    width:600px;
    padding:10px 20px 20px;
}
#upload-link-panel .avatar {
    vertical-align: middle;
}
/* sysadmin */
#import-users-btn .icon-upload-alt {
    color:#777;
    margin-right:3px;
}
#traffic-month-form {
    margin-top:10px;
}
#traffic-month-form .input {
    width:100px;
}
/* guide for new */
#guide-for-new {
    padding: 0 20px;
    width: 450px;
}
#guide-for-new .icon-lightbulb {
    font-size:6em;
    color:#feac74;
}
#guide-for-new .txt {
    margin-left:6.4em;
}
/* user profile */
#user-profile {
    width: 290px;
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden; /* for avatar */
    margin: 0 auto;
}
#user-profile .avatar {
    border-radius: 0;
}
#user-profile p {
    padding: 8px 15px;
    margin: 0;
}
#user-profile .nickname {
    font-size: 18px;
}
#user-profile .intro {
    color: #888;
    padding-top: 0;
}
#user-profile .info {
    border-top: 1px solid #eee;
}
#user-profile .info-detail {
    padding-left: 6px;
}
/* shared file view */
#shared-file-view-hd .cur-path,
#shared-file-view-hd .share-by {
    margin:0;
}
#shared-file-view-hd .btn,
#shared-file-view-hd .obv-btn {
    padding:7px;
    margin-top:11px;
}
/*random password */
#share-popup .passwd-wrapper,
#add-user-form .passwd-wrapper {
    position:relative;
    width:268px;
}
#share-popup .passwd,
#add-user-form .passwd {
    width:188px;
    padding-right:75px;
}
#share-popup .generate-random-password,
#add-user-form .generate-random-password,
#share-popup .show-or-hide-password,
#add-user-form .show-or-hide-password {
    position:absolute;
    top:4px;
    right:0;
    width:36px;
    height:26px;
    line-height:26px;
    text-align:center;
    opacity:0.65;
}
#share-popup .show-or-hide-password,
#add-user-form .show-or-hide-password {
    right:36px;
    background:#fff;
}
#share-popup .generate-random-password,
#add-user-form .generate-random-password {
    background:#ccc;
}
#share-popup .generate-random-password:hover,
#add-user-form .generate-random-password:hover,
#share-popup .show-or-hide-password:hover,
#add-user-form .show-or-hide-password:hover {
    opacity:1;
}

/* image thumbnail */
img.thumbnail {
    max-width: 24px;
    max-height: 24px;
}
