/*
 * Used colors
 *
 *  @blackLight: #444
 *  @black: #130f30
 *
 *  @white: #fff
 *  @whiteDark: #f8f8f8
 *
 *  @grayLight: #eee
 *  @gray: #d9d9d9
 *  @grayDark: #999
 *  @grayDarker: #666
 *
 *  @blueLighter: #f1f7f8
 *  @blueLight: #e5f3f8
 *  @blue: #0489b7
 *
 *  @red: #c30
 *  @pink: #c36
 *  @orange: #c63
 *
 *  @greenLighter: #f1f7e4
 *  @greenLight: #9c9
 *  @green: #090
 *  @turquoise: #76b0bf
 */

/*
 * BASIC ELEMENT STYLING
 */

#header-meta, #footer, .header
{
    background-color: #eee;
}

#body, html#tp
{
    background: white;
}

html,
body
{
    height: 100%;
    overflow-x: hidden;
}

html
{
    color: #130f30;
    background: #FFF;
    width: 100%;
    margin: 0;
    padding: 0;
}

body
{
    background: #FFF;
    color: #130f30;
    width: 100%;

    font-family: sans-serif;
    font-size: 0.8125em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
}

a,
a:link
{
    text-decoration: none;
    color: #0489b7;
    cursor: pointer;
}

a:visited
{
    text-decoration: none;
}

a:hover
{
    text-decoration: underline;
}

p,
dd
{
    line-height: 1.5;
}

strong
{
    font-weight: bold;
}

em
{
    font-style: italic;
}

abbr,
acronym
{
    border-bottom: 1px dotted #130f30;
    cursor: help;
}

p,
fieldset,
pre
{
    margin-bottom: 1em;
}

th
{
    font-size: 110%;
    padding: 0 0 7px 0;
    background-color: inherit;
    color: #4b4742;
}

td
{
    padding: 5px 0;
}

h1, h2, h3, h4, h5, h6
{
    font-weight: normal;
    font-size: 100%;
    color: #999;
}

h1, h2, h3
{
    font-family: webfont_bold, 'Helvetica Neue', Helvetica, Helvetica, Arial, sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

h1
{
    font-size: 185%;
}

h2
{
    font-size: 170%;
}

h3
{
    font-size: 150%;
}

h4
{
    font-size: 137%;
}

h5
{
    font-size: 110%;
}

h6
{
    font-size: 100%;
}

body, div,
ul, ol, li,
h1, h2, h3, h4, h5, h6,
pre, code,
form, fieldset, legend,
p, blockquote
{
    margin: 0;
    padding: 0px;
}

input, textarea
{
    margin: 0;
}

table
{
    border-collapse: collapse;
    border-spacing: 0;
    font-size: inherit;
}

fieldset,
img
{
    border: 0;
}

address, caption, cite, code, dfn,
th, var
{
    font-style: normal;
    font-weight: normal;
}

li
{
    list-style: none;
}

caption,
th
{
    text-align: left;
    padding: 5px;
}

html[dir="rtl"] caption,
html[dir="rtl"] th
{
    text-align: right;
}

q:before,
q:after
{
    content: '';
}

abbr,
acronym
{
    border: 0;
    font-variant: normal;
}

sup
{
    vertical-align: text-top;
}

sub
{
    vertical-align: text-bottom;
}

input,
textarea,
select
{
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
}

legend
{
    background-color: inherit;
    color: #130f30;
}

pre, code, kbd, samp, tt
{
    font-family: monospace;
    line-height: 100%;
}

#ft
{
    clear: both;
}

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


/*
 * Icons
 */

[class^="icon-"],
[class*=" icon-"]
{
    background-repeat: no-repeat;
    display: inline-block;
    line-height: 16px;
    width: 16px;
    height: 16px;
    vertical-align: text-top;
}

ul.icons
{
    list-style-type: none;
    margin-left: 20px;
    text-indent: -20px;
}

html[dir="rtl"] ul.icons
{
    margin-right: 20px;
    margin-left: auto;
}

.icon-external-link
{
    margin-top: 3px;
    margin-left: 0.3em;
}

.icon-asc,
.icon-desc,
.icon-ascdesc
{
    vertical-align: middle;
}

/* Hack to avoid ugly underlines in the space between icons and text */

td.stats-name a:hover,
.last-action > a:hover,
.overview-actions-content a:hover
{
    text-decoration: none;
}

td.stats-name a:hover > i + span,
.last-action > a:hover > img + span,
.overview-actions-content a:hover > i + span
{
    text-decoration: underline;
}


/*
 * MAIN DIVs
 */

#wrapper
{
    width: 100%;
    min-height: 100%;
    height: 100%;
    margin-bottom: -62px; /* footer margin-top + height */
}

#content
{
    margin: 0 1em;
}


/*
 * FOOTER
 */

#footer
{
    background-color: #f8f8f8;
    color: #d9d9d9;
    border-top: 1px dashed #D9D9D9;
    clear: both;
    font-size: 12px;
    text-align: center;
    position: absolute;
    width: 100%;

    margin-top: 20px;
    height: 42px;
    line-height: 41px;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

#footer a
{
    color: #999;
}

#footer .nav li
{
    display: inline;
}

#footer .nav li:after
{
    content:  " | ";
    margin: 0 1em;
}

#footer .nav li:last-child:after
{
    content: '';
    margin: 0;
}



/*
 * PAGE SIDEBAR
 */

#sidebar
{
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 0;

    background-color: #fff;

    box-shadow: -1px 0px 2px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease 0s;
}

#sidebar:not(.sidebar-open) .js-sidebar-pane {
    /* Hide the contents when the sidebar is closed so they are not
       taken into account when calculating page height */
    display: none;
}

#sidebar.sidebar-open
{
    width: 30%;
}

html[dir="rtl"] #sidebar
{
    right: auto;
    left: 0;

    box-shadow: 1px 0px 2px rgba(0, 0, 0, 0.2);
}

#sidebar #staticpage
{
    display: none;
}

#sidebar.sidebar-open #staticpage
{
    display: block;
}

.sidebar-open #sidebar-toggle:after
{
    content: '»';
}

#sidebar-toggle:after
{
    content: '«';
}

#sidebar-toggle
{
    position: absolute;
    top: 1.5em;
    left: -1em;
    width: 1em;
    height: 1em;
    line-height: 1;

    background-color: #fff;
    color: #d9d9d9;
    text-align: center;
    text-decoration: none;
    font-size: 24px;

    box-shadow: -2px 0px 2px rgba(0, 0, 0, 0.2);
    border-radius: 2px 0 0 2px;
}

html[dir="rtl"] #sidebar-toggle
{
    left: auto;
    right: -1em;

    box-shadow: 2px 0px 2px rgba(0, 0, 0, 0.2);
    border-radius: 0 2px 2px 0;
}

#sidebar-tabs
{
    width: 100%;
    padding: 0 1em;
    padding-top: 1em;
    background-color: #f8f8f8;
    border-bottom: 1px solid #d9d9d9;
}


/*
 * POPUPS
 */

.popup-inline
{
    background-color: #fff;
    padding: 20px 30px;
    max-width: 650px;
    margin: 0 auto;
    position: relative;
}

.popup-ajax .mfp-content
{
    background-color: #fff;
    width: auto !important;
    max-width: 920px !important;
    display: inline-block;
}

/* for forms displayed in lightbox mode (via magnificPopup plugin), use different shadow */
.mfp-content .form
{
    box-shadow: 0px 2px 30px rgba(0, 0, 0, 0.5);
}

/*
 * MESSAGES
 */


/* Alerts from Bootstrap */

#alerts,
#noscript
{
    top: 31px; /* navbar height + border */
    width: 480px;
    left: 50%;
    margin-left: -240px;
    z-index: 101;
}

.alert
{
    padding: 8px 35px 8px 14px;
    margin-bottom: 1em;
    color: #c09853;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    background-color: #fcf8e3;
    border: 1px solid #fbeed5;
    border-radius: 4px;
}

.alert h4
{
    margin: 0;
}

.alert .close
{
    position: relative;
    top: -5px;
    right: -21px;
    line-height: 20px;
}

.alert-success
{
    color: #468847;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.alert-danger,
.alert-error
{
    color: #b94a48;
    background-color: #f2dede;
    border-color: #eed3d7;
}

.alert-info
{
    color: #3a87ad;
    background-color: #d9edf7;
    border-color: #bce8f1;
}

.alert-block
{
    padding-top: 14px;
    padding-bottom: 14px;
}

.alert-block > p,
.alert-block > ul
{
    margin-bottom: 0;
}

.alert-block p + p
{
    margin-top: 5px;
}

.close
{
    float: right;
    font-size: 20px;
    font-weight: bold;
    line-height: 20px;
    color: #000000;
    text-shadow: 0 1px 0 #ffffff;

    opacity: 0.2;
}

.close:hover
{
    color: #000000;
    text-decoration: none;
    cursor: pointer;

    opacity: 0.4;
}

button.close
{
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
}

.fade
{
  opacity: 0;
  transition: opacity 0.15s linear;
}

.fade.in
{
  opacity: 1;
}


/*
 * PAGE BODY
 */

#body
{
    margin: 0;
    padding: 0 0 4em;
    position: relative;
    width: 100%;
    display: inline-block;
    /* height calculated via js */
}

/* TABLES */

.module table,
.module-primary table
{
    width: 100%;
}

td.language,
td.code,
td.profile,
td.username
{
    padding-left: 5px;
}

html[dir="rtl"] td.language,
html[dir="rtl"] td.code,
html[dir="rtl"] td.profile,
html[dir="rtl"] td.username
{
    padding-left: 0;
    padding-right: 5px;
}

tr.view-row:nth-child(odd),
tr.item:nth-child(odd)
{
    background: #f5fbfd;
}

/* MODULES */

.clear
{
    clear: both;
}

.module
{
    width: 48%;
    float: right;
    margin: 0;
}

html[dir="rtl"] .module
{
    float: left;
}

.module.first
{
    float: left;
}

html[dir="rtl"] .module.first
{
    float: right;
}

.hd h2
{
    margin: 1em 0.5em 0;
    border-bottom: 1px solid #eee;
    clear:both;
    line-height: 120%;
}

html[dir="rtl"] .hd h2
{
    margin-left: 0;
    margin-right: 0.5em;
}

table.stats .last-updated .action-text
{
    display: none;
}


/* When browser size is 1440px or less, show the smaller version of the
 * last action message */
@media screen and (max-width: 1440px)
{
    table .last-action .action-text
    {
        display: none;
    }

    table.last .last-updated .action-text
    {
        display: none;
    }
}

html[dir="rtl"] .last-action
{
    margin-left: 0;
    margin-right: 1em;
}

.last-action img
{
    vertical-align: text-bottom;
    width: 20px;
    height: 20px;
}

.last-action .extra-item-meta
{
    color: #999;
}

.hd h3
{
    border-bottom: 1px solid #eee;
    margin: 1em 0 0;
}

html[dir="rtl"] .hd h3 span
{
    padding-right: 0;
    padding-left: 5px;
}

.bd
{
    margin: 1em;
}

.nomargin
{
    margin: 0;
}

.bd h2
{
    margin-bottom: 0.5em;
}

.bd h3
{
    font-size: 120%;
}

.bd h4
{
    margin-top: 0.5em;
    font-size: 110%;
    font-weight: bold;
}

/* USER PROFILES */

#user-profile
{
    float: none;
    width: 100%;
}

#user-contributions-wrapper
{
    margin-right: 220px;
}

html[dir="rtl"] #user-contributions-wrapper
{
    margin-right: auto;
    margin-left: 220px;
}

#user-contributions
{
    float: left;
    width: 100%;
}

html[dir="rtl"] #user-contributions
{
    float: right;
}

#user-contributions table
{
    margin-top: 0.5em;
    margin-bottom: 1.5em;
}

#user-contributions table td
{
    padding: 5px;
    width: 16.6%;
}

#user-meta-wrapper
{
    float: right;
    width: 200px;
}

html[dir="rtl"] #user-meta-wrapper
{
    float: left;
}

#user-meta
{
    margin: 0 20px;
}

#user-meta img
{
    border: 1px solid #eee;
    padding: 5px;
}

#user-meta .user-name
{
    font-size: 140%;
    line-height: 2;
}


/* UPLOAD FORM / UPDATE FROM VCS */

div#upload p,
div#upload ul,
div#update p
{
    margin-bottom: 0.5em;
}


/*
 * FORMS
 */

.form
{
    width: 30em;
    margin: 2em auto;
    padding: 1em;
    text-align: left;
    border-radius: 10px;
    box-shadow: 0px 2px 5px #777;
    background: linear-gradient(to bottom, #e5f3f8, #cde7f1);
}

html[dir="rtl"] .form
{
    text-align: right;
}

.form h2
{
    color: #666;
    margin-bottom: 0.5em;
}

.form p,
.form div.p
{
    margin-top: 1em;
}

.form input[type="text"],
.form input[type="password"],
.form select,
.form textarea
{
    width: 100%;
}

.form .buttons
{
    margin-top: 2em;
    margin-bottom: 0;
    text-align: right;
}

html[dir="rtl"] .form .buttons
{
    text-align: left;
}

.formlink
{
    margin: 0 auto 1em;
    font-size: 137%;
    text-align: center;
}

.form-horizontal.form-actions input
{
    display: inline-block;
    margin-right: 1em;
}

html[dir="rtl"] .form-horizontal.form-actions input
{
    margin-right: inherit;
    margin-left: 1em;
}

/* Form messages */

.form.message
{
    background: linear-gradient(to bottom,  #e5f3f8,  #cde7f1);
}

.form.success
{
    background: linear-gradient(to bottom,  #efd,  #cf9);
}

.form.error
{
    background: linear-gradient(to bottom,  #fee,  #fcc);
}

.form p.info
{
    margin: 0.3em 0;
}

.form .success
{
    color: #390;
}

.form .error
{
    color: #c33;
}

p.help,
span.help_text
{
    font-size: 85%;
    font-style: italic;
}

/* FORM ERROR LISTS */

ul.errorlist
{
    margin: 0;
    padding: 0;
}

.errorlist li
{
    color: #c33;
    margin-top: 0.2em;
}



/*
 * NEWS FORM
 */

.news-feed,
.news-feed-with-form
{
    margin-top: 2em;
}

.news-feed-with-form
{
    margin-left: 38em;
}

.news
{
    margin: 2em 0;
    float: left;
}

/*
 * CAPTCHA FORM
 */

.form .captcha
{
    text-align: left;
    margin-top: 1em;
}

.form .captcha label
{
    font-size: 120%;
    margin-right: 0.6em;
}

.form .captcha input[type="text"]
{
    font-size: 120%;
    width: 3em;
}

.form .captcha input[type="submit"]
{
    margin-left: 1em;
    vertical-align: bottom;
}

.form .captcha ul.errorlist
{
    float: right;
    line-height: 2em;
}


/*
 * STATIC PAGES, ABOUT, CONTRIBUTORS
 */

#about,
#staticpage
{
    margin: 2em auto;
    padding: 0 2em;
    font-size: 120%;
    max-width: 960px;
}

#about p
{
    margin: 1em 0;
}

#staticpage h1
{
    font-size: 2.2em;
    line-height: 85%;
    margin: 1em 0 0.5em;
    margin-bottom: 1em;
}

#staticpage h2
{
    color: rgba(25, 15, 0, 0.5);
    font-size: 1.8em;
    margin: 1em 0 0.5em;
}

#staticpage h3
{
    margin: 1em 0 0.5em;
}

#staticpage p
{
    margin: 0.5em 0;
}

#contributors ul,
#contributors ul li
{
    margin: 0;
    list-style-type: none;
}

#contributors ul li
{
    padding-left: 25px;
}

html[dir="rtl"] #contributors ul li
{
    padding-right: 25px;
}

#contributors ul li.lang
{
    font-weight: bold;
    font-size: 120%;
    margin-top: 12px;
}

#contributors ul li.proj
{
    font-weight: bold;
    font-size: 80%;
}

#contributors ul li.user
{
    font-weight: normal;
    font-size: 100%;
}


/*
 * SETTINGS PAGE
 */

div.settings-container
{
    display: block;
    margin: 0 auto 2em;
    margin: 1em;
}

.settings-container h2
{
    margin: 0 0 0.5em;
}

.settings-container h2,
.module .hd h2,
.module-primary .hd h2,
.hd h2
{
    font-family: webfont_light, 'Helvetica Neue', Helvetica, Helvetica, Arial, sans-serif;
    font-size: 2.2em;
}

.settings-container p
{
    margin-bottom: 1em;
}

.settings-container input,
.settings-container select,
.settings-container textarea,
#login input[type="text"],
#login input[type="password"],
#login select,
#register input[type="text"],
#register input[type="password"]
{
    display: block;
}

#login-wrapper
{
    margin: auto;
    overflow: hidden;
    padding: 2em;
}

#login-alternative
{
    float: right;
    padding-top: 2em;
    text-align: right;
}

html[dir="rtl"] #login-alternative
{
    float: left;
    text-align: left;
}

#login-alternative h4
{
    margin-bottom: 0.7em;
}

#login-alternative h5
{
    font-size: 1.15em;
    margin-bottom: 0.5em;
}

#forgot-password
{
    float: left;
}

html[dir="rtl"] #forgot-password
{
    float: right;
}

.settings-container table
{
    width: 100%;
    margin-bottom: 1em;
}

.settings-container td
{
    font-size: inherit;
}

div#settings
{
    margin-bottom: 2em;
}

/* ADMIN TABLE BACKGROUNDS */

.other-selected
{
    background-color: #8ec904 !important;
}

.delete-selected
{
    background-color: #e08566 !important;
}

.delete-selected:nth-child(even)
{
    background-color: #d67f62 !important;
}

.delete-selected > *
{
    opacity: 0.4;
}

.delete-selected td.DELETE
{
    opacity: 1;
}

.other-selected a,
.delete-selected a
{
    color: #fff;
}

/*
 * SUMMARIES
 */

div.newsitem-sep
{
    border-bottom: 1px solid #ddd;
    margin: 1.5em 0 2em;
}

div#rss-alerts ul,
div.latestnews ul
{
    margin: 0 1em;
}

div#rss-alerts li,
div.latestnews li
{
    list-style-type: square;
}

.subscribe
{
    margin-top: 1em;
}

tr.item.empty
{
    opacity: 0.65;
}

table.stats td.language,
table.stats td.project
{
    white-space: nowrap;
}

td.stats-name
{
    white-space: nowrap;
    line-height: 20px;
}

td.stats-number
{
    padding-right: 26px !important; /* magic number to put padding between right and left aligned column, and to right-align heading with number */
}

td.stats-percentage
{
    display: none;
}

table.stats .number,
th.stats-number,
td.stats-number,
td.stats-percentage,
table.stats td.last-updated
{
    text-align: right;
}

td.stats-number.need-translation a,
td.stats-number.suggestions a,
td.stats-number.critical a
{
    display: inline-block;
    background: #0489b7;
    color: #fff;
    padding: 0 0.5em;
    margin-right: -0.5em;

    border-radius: 1em;
}

td.stats-number.suggestions a
{
    background: #bbaa66;
}

td.stats-number.critical a
{
    background: #c30;
}

td.stats-name .user-nobody
{
    font-style: italic;
}

td.stats-name.folder
{
    font-weight: bold;
}

td.last-activity
{
    width: 100%;
}

html[dir="rtl"] td.language,
html[dir="rtl"] td.stats-name
{
    text-align: right !important;
}

.item
{
    padding: 1em;
}

.item .title
{
    font-weight: bold;
}

.item h2
{
    font-size: 100%;
}

/* Expanded checks */

.checks
{
    height: 100%;
    width: 100%;
}

.checks h4
{
    padding: 1em 0 0.5em;
    font-weight: normal;
}

.check
{
    float: left;
}

.check-name
{
    width: 10em;
    display: inline-block;
}

.check-count
{
    text-align: right;
    width: 3em;
    padding-right: 6em;
    display: inline-block;
}

html[dir="rtl"] .check-count
{
    padding-right: 0;
    padding-left: 5%;
}

#check-100 a
{
    font-weight: bold;
    color: #c00;
}


div.small
{
    font-size: 1em;
}

.tiny
{
    font-size: 0.9em;
}

/* PROGRESSBAR */

table.graph
{
    height: 9px;
    width: 200px;
    background-color: #ccc;
    font-size: 1px;
}

/* When browser size is 950px or less, show the smaller version of the progressbar */
@media screen and (max-width: 950px)
{
    table.graph
    {
        width: 100px;
    }
}

table.graph td
{
    padding: 0 !important;
}

table.graph .translated
{
    background-color: #090;
}

table.graph .fuzzy
{
    background-color: #9c9;
}

/* PROGRESSBAR LEGEND */

div.legend
{
    text-align: left;
}

html[dir="rtl"] div.legend
{
    text-align: right;
}

span.legend
{
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: #ccc;
    margin-right: 0.3em;
    margin-bottom: -0.1em;
}

span.legend.translated
{
    background-color: #090;
}

span.legend.fuzzy
{
    background-color: #9c9;
}

/* SORTABLE */

table.sortable th,
table tfoot,
#user-contributions table th
{
    color: #999;
    font-size: 85%;
}

table.sortable th
{
    cursor: pointer;
    white-space: nowrap;
}

table.sortable th i
{
  vertical-align: middle;
}

table.sortable th.sorttable_nosort
{
    cursor: default;
}

table.sortable td
{
    padding: 5px;
}


table.sortable th.sorttable_sorted,
table.sortable th.sorttable_sorted_reverse
{
    color: #130f30;
}

table.sortable th input
{
    float: left;
    margin-right: 5px;
}

html[dir="rtl"] table.sortable th input
{
    float: right;
    margin-right: 0;
    margin-left: 5px;
}

.sortkey
{
    display: none;
}

/* PAGER */

div.pagination-control
{
    margin: 1.5em 0;
}

ul.pager li
{
    display: inline-block;
}

ul.pager li a,
ul.pager li a:visited
{
    border: 1px solid #d9d9d9;
    text-decoration: none;
}

ul.pager li a:hover
{
    border-color: #68b8d4;
    background-color: #b3dbe9;
}

ul.pager li span.current-link,
ul.pager li a
{
    margin: 1px;
    padding: 0.2em 0.7em 0.3em;
}

ul.pager li span.current-link
{
    background-color: #68b8d4;
    color: #fff;
    border: 1px solid #0489b7;
    font-weight: bold;
}

html[dir="ltr"] ul.pager li:first-child > *
{
    padding-left: 1em;
    border-radius: 1em 0 0 1em;
}

html[dir="ltr"] ul.pager li:last-child > *
{
    padding-right: 1em;
    border-radius: 0 1em 1em 0;
}

html[dir="rtl"] ul.pager li:first-child > *
{
    padding-right: 1em;
    border-radius: 0 1em 1em 0;
}

html[dir="rtl"] ul.pager li:last-child > *
{
    padding-left: 1em;
    border-radius: 1em 0 0 1em;
}


/*
 * OVERVIEW PAGE
 */

#overview-actions li
{
    background-color: inherit;
}

.overview-actions-container
{
    padding: 1em 0;
    border-top: 1px solid #eee;
}

.overview-actions-container.first
{
    border-top: 0 none;
}

.overview-actions-group
{
    width: 20%;
    font-size: 85%;
    float: left;
}

html[dir="rtl"] .overview-actions-group
{
    float: right;
}

.overview-actions-content
{
    width: 75%;
    margin-left: 25%;
}

html[dir="rtl"] .overview-actions-content
{
    margin-left: 0;
    margin-right: 25%;
}

#overview-actions-translate-offline a
{
    color: #cc6633;
}

#overview-actions-translate-offline li
{
    display: inline;
}

#overview-actions-translate-offline li.odd
{
    margin-right: 25%;
}

html[dir="rtl"] #overview-actions-translate-offline li.odd
{
    margin-right: 0;
    margin-left: 25%;
}

#overview-actions-manage a
{
    color: #cc3366;
}

#overview-description
{
    margin: 1em 0;
}

/* Inline editing */

.markup-body
{
    line-height: 1.35;
}

.markup-body:hover .js-edit-details
{
    visibility: visible;
}

.js-edit-details
{
    background: #fe0;
    padding: 0.1em 0.5em;
    border: 1px dotted #0489b7;
}

/*
 * HEADER
 */

.header
{
    padding: 0 1.5em;
}

#header-tabs
{
    border-bottom: 1px solid #D9D9D9;
}

#header-meta
{
    line-height: 2;
    border-bottom: none;
}

/*
 * HEADER STATS
 */

#top-stats
{
    padding-bottom: 2em;
    padding-top: 0.2em;
}

#top-stats .label
{
    margin-top: -1.1em;
    width: 8em;
    padding-bottom: 0.5em;
}

#top-stats a
{
    position: relative;
}

.icon-collapse-stats,
.icon-expand-stats
{
    display: inline-block;
    position: absolute;
    top: -4px;
    left: -11px;
    z-index: 1;
}

#progressbar
{
    margin-left: 10px;
    position: relative;
}

#progressbar table.graph
{
    width: 100%;
    position: absolute;
}

.path-summary-more
{
    padding: 0 2em;
    display: none;
    border: 1px solid #d9d9d9;
    background: #f4f4f4;

    border-radius: 0 0 5px 5px;
}

.path-summary-more table.stats
{
    width: 40em;
}

.path-summary-more table.last
{
    width: 90em;
}

.path-summary-more td.stats-number
{
    padding-right: 3em !important;
}

/*
 * HEADER ACTIONS
 */

#actions
{
    padding-bottom: 1em;
}

#translate-actions
{
    display: inline-block;
    position: relative;
    top: 4px;
}

#translate-actions a
{
    text-decoration: none;
    color: #000;
}

#translate-actions ul
{
    display: inline-block;
    list-style-type: none;
}

#translate-actions li
{
    display: inline-block;
    margin-left: 2em;
    margin-right: -0.5em;
    font-weight: bold;
}

body.js-not-loaded #translate-actions li
{
    display: none;
}

#translate-actions .counter
{
    padding: 0.1em 0.9em;
    border-radius: 1em;
    background: #000;
    color: #fff;
    font-weight: normal;
    display: inline-block;
}

#translate-actions a:hover
{
    color: #000;
}

#translate-actions a:hover .counter
{
    background: #000 !important;
}

#translate-actions .translation-complete
{
    color: #090;
}

#translate-actions .translation-complete .counter
{
    background-color: #090;
}

#translate-actions .continue-translation,
#translate-actions .back-to-browser
{
    color: #0489b7;
}

#translate-actions .back-to-browser
{
    padding: 0.1em 0.4em;
    vertical-align: middle;
}

#translate-actions .continue-translation .counter,
#translate-actions .back-to-browser .counter
{
    background-color: #0489b7;
}

#translate-actions .review-suggestions
{
    color: #ba6;
}

#translate-actions .review-suggestions .counter
{
    background-color: #ba6;
}

#translate-actions .fix-errors
{
    color: #c30;
}

#translate-actions .fix-errors .counter
{
    background-color: #c30;
}

/* Translate action icon adjustments */

.icon-back
{
    margin-top: 1px;
}

/* Breadcrumbs */

.breadcrumb
{
    font-size: 1.5em;
    font-weight: normal;
    font-family: webfont_light, 'Helvetica Neue', Helvetica, Helvetica, Arial, sans-serif;
    visibility: hidden;
    margin-left: -5px;
    padding-top: 5px;
    min-height: 2.05em;
}

.breadcrumb li
{
    float: left;
    display: inline;
}

html[dir="rtl"] .breadcrumb li
{
    float: right;
}

.breadcrumb li:before
{
    content: " / ";
    font-weight: normal;
    color: #999;
}

.breadcrumb li:first-child:before
{
    content: normal;
}

.breadcrumb li.navigation + li::before
{
    content: ":";
}

/* select2 dropdown widgets in breadcrumbs */

.breadcrumb .navigation .select2-choice
{
    color: #0489b7;
}

/* HACK: display background as a thin line */
.breadcrumb-dropdown .select2-result-unselectable
{
    height: 1px;
    margin: 0.5em;
}

.breadcrumb-dropdown .select2-result-unselectable .select2-result-label
{
    cursor: default;
}
/* END HACK */

.select2-results .folder
{
    font-weight: bold;
}

.select2-result-label .text
{
    margin-left: 0.3em;
}

.select2-result-label
{
    white-space: nowrap;
}

.select2-result-label .file
{
    margin-left: 1.5em;
}

.select2-resource-root .file
{
    margin-left: auto;
}

.select2-match
{
    color: #000;
    background-color: rgba(255, 255, 0, 0.5);
}

.select2-results .select2-result.admin
{
    color: #c30;
}

.select2-results .select2-highlighted.admin
{
    background-color: #c30;
    color: #fff;
}

/* Tabs */

#tabs
{
    height: 34px;
}

#tabs li
{
    float: left;
}

html[dir="rtl"] #tabs li
{
    float: right;
}

#tabs a
{
    background-color: inherit;
    border: 1px solid transparent;
    color: #999;
    display: block;
    height: 30px;
    line-height: 2.2;
    margin: 3px 4px 0;
    padding: 0 11px;
    text-decoration: none;
}

#tabs a:hover
{
    /* TODO: merge with active tabs */
    background-color: #fff !important;
    border-color: #d9d9d9 #d9d9d9 #fff;
    border-style: solid;
}

#tabs a.admintab,
#tabs.admin a,
#tabs a .admin,
.tags-add
{
    color: #c30 !important;
}

body#dashboard #tabs a.dashboard,
body#settings #tabs a.settings,
body#profile #tabs a.profile,
body#password #tabs a.password,
body#admindashboard #tabs a.admindashboard,
body#admingeneral #tabs a.admingeneral,
body#adminusers #tabs a.adminusers,
body#adminlanguages #tabs a.adminlanguages,
body#adminprojects #tabs a.adminprojects,
body#adminpermissions #tabs a.adminpermissions,
body#adminstaticpages #tabs a.adminstaticpages,
#sidebar-tabs .active-sidebar-tab
{
    background-color: #fff;
    border-color: #d9d9d9 #d9d9d9 #fff;
    border-style: solid;
    color: #444;
    font-weight: bold;
}

.title a
{
    unicode-bidi: embed;
}


/* SEARCH */

#search
{
    display: inline-block;
}

#search-form
{
    position: relative;
    padding: 2px;

    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.075) inset;
}

#search-form,
.search-container
{
    background-color: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 3px;
}

#search-form.focused,
.search-container
{
    box-shadow: 0 0 2px #d9d9d9;
}

.search-wrapper
{
    font-size: 0;
    white-space: nowrap;
}

.search-wrapper input[type="text"],
.search-wrapper .btn-search
{
    vertical-align: middle;
}

#search-form input[type="text"]
{
    border: 0 none;
    height: 16px;
    line-height: 16px;
    padding: 0px 4px;
    width: 145px;
    background-color: #fff;
    color: #666;
    font-size: 12px;
    outline: 0;
}

#search-form input[type="text"]:focus
{
    color: #000;
}

.btn-search
{
    padding: 0;

    min-width: inherit;
    min-height: inherit;
    border: 0 none;

    box-shadow: none;

    border-radius: 0;
}

.btn-search,
.btn-search:hover
{
    background: transparent;
}

.btn-search-fields
{
    margin: 0;
}

.search-container
{
    padding: 5px;
    position: absolute;
    top: 30px;
    z-index: 200;
    width: 165px;
    outline: 0;
}

.search-container:after,
.search-container:before
{
    bottom: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.search-container:after
{
    border-color: rgba(255, 255, 255, 0);
    border-bottom-color: #fff;
    border-width: 5px;
    left: 50%;
    margin-left: -5px;
}

.search-container:before
{
    border-color: rgba(217, 217, 217, 0);
    border-bottom-color: #d9d9d9;
    border-width: 6px;
    left: 50%;
    margin-left: -6px;
}

.search-fields li,
.search-options li
{
    padding: 0.4em;
    font-size: 90%;
}

.search-fields li input,
.search-options li input
{
    vertical-align: top;
}

.search-options
{
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px solid #d9d9d9;
}

/* FILENAMES, STATS */

.icon
{
    float: left;
    margin-right: 8px;
}

.icon[dir="rtl"]
{
    float: right;
    margin-left: 8px;
}

/*
 * RSS ALERTS
 */

#rss-alerts div.bd div.centered
{
    width: 100%;
    text-align: center;
}

#rss-alerts iframe
{
    height: 25em;
}

/*
 * MISC
 */

a.collapse,
a.slide
{
    cursor: pointer;
}

.collapsethis,
.slidethis
{
    display: none;
}

.pull-left
{
    float: left;
}

html[dir="rtl"] .pull-left
{
    float: right;
}

.pull-right
{
    float: right;
}

html[dir="rtl"] .pull-right
{
    float: left;
}

.hr
{
    border-top: 1px solid #eee;
    padding: 1em 0 0;
}

table.stats span.muted
{
    /* by default, hide the zero placeholders */
    display: none;
}

body.js-not-loaded span.zero,
body.js-not-loaded span.non-zero,
body.js-not-loaded th.when-loaded
{
    /* Hide placeholders and certain headers by default */
    display: none;
}

body.js-not-loaded table.graph
{
    opacity: 0.3;
}

table.stats td.zero span.zero,
table.stats td.non-zero span.non-zero
{
    /* Show appropriate placeholders when 'zero' or 'non-zero' class is set */
    display: inline;
}

.muted
{
    color: #999;
}

.placeholder
{
    font-style: italic;
}

.danger
{
    color: #b94a48;
}

.hide
{
    display: none;
}

.invisible
{
    visibility: hidden;
}

.affix
{
    position: fixed;
}


/*
 * LANGUAGE SPECIFIC SETTINGS
 */

/*
 * Language codes that are styled with right-to-left (rtl) layout:
 *
 * ar (Arabic)
 * arc (Aramaic)
 * dv (Dhivehi)
 * fa (Persian)
 * he (Hebrew)
 * ks (Kashmir)
 * ps (Pashto)
 * ur (Urdu)
 * yi (Yiddish)
 *
 * See: http://translate.sourceforge.net/wiki/l10n/displaysettings
 * Also see: pagelayout.py::languagedir()
 *
 */

/* Doesn't work: [dir="rtl"] */
*:lang(ar), *:lang(arc), *:lang(dv), *:lang(fa), *:lang(he), *:lang(ks), *:lang(ps), *:lang(ur), *:lang(yi)
{
    /* If any styling is necessary for the rtl languages, add it here */
    direction: rtl;
}

:lang(ak)
{
    font-family: Lucida, "DejaVu Sans", inherit;
}

:lang(ar)
{
    font-family: sans-serif;
    font-size: 1em;
}

:lang(bn)
{
    font-family: FreeSans, MuktiNarrow, Vrinda, inherit;
    font-size: medium;
    line-height: 110%;
}

:lang(el)
{
    font-family: "DejaVu Sans", inherit;
}

:lang(fa)
{
    font-family: Terafik, Traffic, Roya, Nazli, Nazanin, inherit;
    font-size: large;
}

:lang(ja),
:lang(ko)
{
    font-size: medium;
}

:lang(zh)
{
    font-size: large;
}

:lang(km)
{
    font-family: "Khmer OS System", "Khmer OS", "Khmer Kampongtrach", "CDT Khmer", inherit;
    line-height: 170%;
}

:lang(vi)
{
    font-family: "Lucida Grande", "Vu Phu Tho", "DejaVu Sans", inherit;
}

:lang(vi) a:hover[href]
{
    text-decoration: none;
    color: #606047;
}

:lang(vi) a:active[href]
{
    text-decoration: none;
    color: #606047;
}

/* FIX FOR HEADING SIZES */

h2:lang(bn),
h2:lang(ja),
h2:lang(ko),
h2:lang(zh)
{
    font-size: 170%;
}

h2:lang(bn) a,
h2:lang(ja) a,
h2:lang(ko) a,
h2:lang(zh) a
{
    font-size: 100%;
}


/*
 * Obfuscated email addresses
 */

span.email
{
    direction: rtl;
    unicode-bidi: bidi-override;
}

html[dir="rtl"] span.email
{
    direction: ltr;
}

span.email .i
{
    display: none;
}


/*
 * Tagging styles
 *
 * See http://cssglobe.com/pure-css3-post-tags/ for explanation.
 */

.tag-list
{
    list-style: none;
    overflow: hidden;
}

.tag-list li,
.tag-list .tag
{
    float: left;
    position: relative;
}

html[dir="rtl"] .tag-list li,
html[dir="rtl"] .tag-list .tag
{
    float: right;
}

.tag-list li
{
    margin: 0px 10px 6px 10px;
}

.tag-list .tag
{
    padding: 0 8px 0 5px;
    background: #ddd;
    height: 20px;
    line-height: 20px;
    font-size: x-small;
    color: #666;
    text-decoration: none;
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
    opacity: 0.5;
}

.tag-list .tag-remove
{
    display: none;
    width: 12px;
    height: 13px;
    position: absolute;
    top: 3px;
    left: -5px;
    font-size: 1px;
    outline: none;
    background: url('../images/select2.png') right top no-repeat;
    background-position: right -11px;
}

/* Style for the tag arrow (or triangle) */
.tag-list .tag:before
{
    content: "";
    float: left;
    position: absolute;
    top: 0;
    left: -10px;
    width: 0;
    height: 0;
    border-color: transparent #ddd transparent transparent;
    border-style: solid;
    border-width: 10px 10px 10px 0;
}

.tag-list .tag:hover
{
    background: #4cace9;
    color: #fff;
    opacity: 1;
}

.tag-list .tag:hover:before
{
    border-color: transparent #4cace9 transparent transparent;
}


/* Tagging styles not related with tags */

a.tags-add
{
    margin-left: .5em;
    font-size: 12px;
    overflow: hidden;
    float: right;
}

html[dir="rtl"] a.tags-add
{
    margin-right: .5em;
    float: left;
}

a.tags-toggle,
a.filter-toggle
{
    font-size: x-small;
    text-decoration: none;
    opacity: 0.5;
}

a.tags-toggle:hover,
a.filter-toggle:hover
{
    text-decoration: none;
    opacity: 1;
}

.tags-aside,
.filter-aside
{
    float: right;
}

html[dir="rtl"] .tags-aside,
html[dir="rtl"] .filter-aside
{
    float: left;
}

.tags-filter-form
{
    margin-top: 2em;
}

table.sortable .tags-row td
{
    padding: 0pt;
}

.tags-bd
{
    padding: 0pt 1em 0pt 1em;
}

/*
 * Select2 fixes
 * https://github.com/ivaynberg/select2/pull/1877
 */

/* Fix the close button position in RTL */
html[dir="rtl"] .select2-search-choice-close
{
    right: auto;
    left: 3px;
}

/* align the selects to the right */
html[dir="rtl"] .select2-container-multi .select2-choices li
{
    float: right;
}
html[dir="rtl"] .select2-container-multi .select2-choices .select2-search-choice
{
    margin-left: 0;
    margin-right: 5px;
}

/*
 * Magnific-Popup fixes
 * https://github.com/dimsemenov/Magnific-Popup/pull/261
 */

html[dir="rtl"] .mfp-close
{
    right: auto;
    left: 0;
}
