Program: CWE-79
Project: CVE-2014-2235
Buggy source:
@import url(jquery.autocomplete.css);
@import "lib_style.less"; /* Library of predifined less functions styles */

/* ----- General HTML Styles----- */

body {
    background: #FFF;
    font-size: 14px;
    line-height: 150%;
    margin: 0;
    padding: 0;
    color: #666;
    font-family:@body-font;
}

div {
    margin: 0 auto;
    padding: 0;
}

h1, h2, h3, h4, h5, h6, ul, li, dl, dt, dd, form, img, p {
    margin: 0;
    padding: 0;
    border: none;
}

label {
    vertical-align: middle;
}

hr {
    border: none;
    border-top: 1px dashed #ccccce;
}

input, select {
    vertical-align: middle;
    font-family: Trebuchet MS, "segoe ui", Helvetica, Tahoma, Verdana, MingLiu, PMingLiu, Arial, sans-serif;
    margin-left:0px;
}
select {
    width: 100%;
}

input[type="text"].prompt,
input[type="password"].prompt,
input.tipped-input.blank {
    font-style: italic;
    color: @info-text;
}

textarea:focus, input:focus{
    outline: none;
}

iframe {
    border: none;
}

p {
    font-size: 14px;
    line-height: 140%;
    margin-bottom: 6px;
}

a {
    color:@link;
    text-decoration: none;
    cursor: pointer;
}

h2 {
    font-size: 21px;
    padding: 3px 0 3px 5px;
}

h3 {
    font-size: 19px;
    padding: 3px 0 3px 5px;
}

ul {
    list-style: disc;
    margin-left: 20px;
    padding-left: 0px;
    margin-bottom: 1em;
}

ol {
    list-style: decimal;
    margin-left: 30px;
    margin-bottom: 1em;
    padding-left: 0px;
}

td ul {
    vertical-align: middle;
}

li input {
    margin: 3px 3px 4px 3px;
}

pre {
    font-family: Consolas, Monaco, Liberation Mono, Lucida Console, Monospace;
    font-size: 100%;
    margin-bottom: 10px;
    background-color: #F5F5F5;
    padding-left: 5px;
    padding-top: 5px;
    padding-bottom: 20px ! ie7;
}

code {
    font-family: Consolas, Monaco, Liberation Mono, Lucida Console, Monospace;
    font-size: 100%;
}

blockquote {
    margin-bottom: 10px;
    margin-right: 15px;
    padding: 10px 0px 1px 10px;
    background-color: #F5F5F5;
}

html {
    overflow-y: scroll;
}

/* http://pathfindersoftware.com/2007/09/developers-note-2/ */
* html .clearfix,
* html .paginator {
    height: 1;
    overflow: visible;
}
+ html .clearfix,
+ html .paginator {
    min-height: 1%;
}
.clearfix:after,
.paginator:after {
    clear: both;
    content:".";
    display:block;
    height: 0;
    visibility: hidden;
}

.badges a {
    color: #763333;
    text-decoration: underline;
}

a:hover {
    text-decoration: underline;
}

.avatar-box {
    text-decoration: none;
}

.badge-context-toggle.active {
    cursor: pointer;
    text-decoration: underline;
}

h1 {
    font-size: 24px;
    padding: 0px 0 5px 0px;
}


/* ----- Extra space above for messages ----- */

body.user-messages {
    margin-top: 2.4em;
}

/* ----- Custom positions ----- */

.left{float:left}
.right{float:right}
.clean{clear:both}
.center{
    margin: 0 auto;
    padding: 0;
}


/* ----- Notify message bar , check blocks/system_messages.html ----- */

.notify {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 34px;
    z-index: 100000;
    padding: 0;
    text-align: center;
    background-color: #f5dd69;
    font-family:@main-font;

    .notification {
        margin-top: 6px;
        /*margin-bottom: 6px;*/
        font-size: 16px;
        color:#424242
    }
}

.wait-icon-box {
    text-align: center;
    margin: 5px 0 8px;
}

#closeNotify {
    position: absolute;
    right: 5px;
    top: 7px;
    color: #735005;
    text-decoration: none;
    line-height: 18px;
    .sprites(-6px,-5px);
    cursor: pointer;
    width:20px;
    height:20px;
}

#closeNotify:hover {
    .sprites(-26px,-5px);
}

/* ----- Header, check blocks/header.html ----- */

#header {
    margin-top: 0px;
    background: @header-color;
    font-family:@main-font;
}

.content-wrapper {/* wrapper positioning class */
    width: 960px;
    margin: auto;
    position:relative;
}

#logo img{
    padding: 5px 0px 5px 0px;
    height: 75px;
    width: auto;
    float: left;
}

.lang-nav {
    position: relative;
    ul {
        display: none;
        list-style: none;
        z-index: 10000;
        margin: 0;
    }
    &:hover ul,
    ul:hover {
        display: block;
        position: absolute;
        width: 100px;
    }
    li {
        color: @info-text;
        background: white;
        display: block;
    }
}

#userToolsNav {/* Navigation bar containing login link or user information, check widgets/user_navigation.html*/
    height: 20px;
    padding-bottom:5px;
    white-space: nowrap;

    a {
        height: 35px;
        text-align: right;
        margin-left: 20px;
        text-decoration: underline;
        color:#d0e296;
        font-size:16px;
    }
    
    a:first-child {
        margin-left: 0;
    }
    
    a#ab-responses {
        margin-left: 3px;
    }
    
    .user-info,.user-micro-info{
        color:#b5b593;
    }

    a img {
        vertical-align:middle;
        margin-bottom:2px;
    }

    .user-info a {
        margin: 0;
        text-decoration: none;
    }
}

#metaNav {/* Top Navigation bar containing links for tags, people and badges, check widgets/header.html */
    float: right;/* for #header.with-logo it is modified */
    margin-right: 7px;

    a {
        color: #e2e2ae;
        padding: 0px 0px 0px 35px;
        height: 35px;
        line-height: 25px;
        margin:5px 0px 0px 10px;
        font-size: 18px;
        font-weight: 100;
        text-decoration: none;
        display: block;
        float: left;
    }

    a:hover {
        text-decoration: underline;
    }

    a.on {
        font-weight:bold;
        color: #FFF;
        text-decoration: none;
    }

    a.special {
        font-size: 18px;
        color: #B02B2C;
        font-weight: bold;
        text-decoration: none;
    }

    a.special:hover {
        text-decoration: underline;
    }

    #navTags{
        .sprites(0px,-95px);
    }

    #navUsers,
    #navGroups{
        .sprites(3px,-133px)
    }

    #navBadges{
        .sprites(3px,-170px)
    }

    a.group-name {
        padding: 0px;
        float:center;
        margin:5px 0px 5px 10px;
    }
    
    input.group-name{
        border:none;
        height: 25px;
        font-size: 18px;
        font-weight: 100;
        text-decoration: none;
        display: block;
        margin: 0px 10px 0px 10px;
        width: 140px;
        font-family: 'Open Sans Condensed', Arial, sans-serif;
        font-weight: 100;
    }

    input.group-name:focus{
        border:none;
    }

    a.group-name:hover{
        background-color: transparent;
    }

    span.dropdown:hover ul.dropdown-menu {
        display: block;    
    }

    div.dropdown-container:hover ul.dropdown-menu {
        display: block;    
    }

    .dropdown {
        float:left;
    }

    .dropdown-menu{
        border-top: none;
        left: 7%;
        z-index: 10100;
        a{
            color: #666;
            height: 25px;
        }
    }

}

#header.with-logo #userToolsNav {
    position:absolute;
    bottom: 0;
    right:0px;
}

#header.without-logo #userToolsNav {
    float:left;
    margin-top: 7px;
}


#secondaryHeader{ /* Div containing Home button, scope navigation, search form and ask button, check blocks/secondary_header.html */
    height:55px;
    background:#e9e9e1;
    border-bottom:#d3d3c2 1px solid;
    border-top:#fcfcfc 1px solid;
    margin-bottom:10px;
    font-family:@main-font;
}

#homeButton{
    border-right: #afaf9e 1px solid;
    .sprites(-6px,-36px);
    height:55px;
    width:43px;
    display:block;
    float:left;
}

#homeButton:hover{
    .sprites(-51px,-36px);
}

.scope-selector {
    display:block;
    float:left;
    font-size:20px;
    color:#7a7a6b;
    height:55px;
    line-height:55px;
    margin-left:16px
}

.scope-selector.on {
    background:url(../images/scopearrow.png) no-repeat center bottom;
}

.scope-selector.ask-message {
    font-size:24px;
}

.validate-email-page {
    label {
        color: @info-text;
        line-height: 1.35;
        display: block;
        margin: 10px 0;
    }
    #validation-code {
        padding-left:5px;
        border:#cce6ec 3px solid;
        height:25px;
        font-size: 14px;
        width: 200px;
    }
    form {
        margin-bottom: 30px;
    }
}

#searchBar { /* Main search form , check widgets/search_bar.html */
    display: block;
    background-color: #fff;
    border: 1px solid #c9c9b5;
    height: 41px;
    z-index: 10000;
    position: relative;

    input.searchInput {
        font-size: 22px;
        height: 26px;
        line-height: 26px;
        font-weight:300;
        background:#FFF;
        border:0px;
        color:#484848;
        font-family:@body-font;
        width: 100%;
        margin: 8px 0 6px 0;
        padding: 0;
        .box-shadow(0, 0, 0);
    }

    div.input-tool-tip {
        margin-top: -40px;
        padding-top: 10px;
        height: 30px;
        line-height: 20px;
        font-size: 20px;
        font-style: italic;
    }
}

.search-drop-menu {
    box-sizing: border-box;
    background: whitesmoke;
    border: 1px solid #c9c9b5;
    border-top: none;
    margin: 0;
    position: relative;
    top: 0;
    z-index: 10000;

    ul {
        list-style: none;
        overflow: auto;
        padding: 0 0 10px 0;
        margin: 0;
        position: relative;
        width: 100%;
        li {
            padding: 5px 10px;
            position: relative;
            a {
                text-decoration: none;
            }
        }
        li.selected {
            background: #08c;
            a {
                color: whitesmoke;
            }
        }
    }

    ul.empty {
        margin-bottom: 0;
    }

    .footer {
        text-align: center;
        padding: 9px 0 10px 0;
    }
}

.search-drop-menu.empty {
    ul {
        padding: 1px;
        margin: 0;
    }
}

.input-tool-tip {
    color: #999;
}
.input-tool-tip.dimmed {
    color: #ccc;
}

input[type="submit"].searchBtn {
    font-size: 10px;
    color: #666;
    background-color: #eee;
    height: 41px;
    border:#FFF 1px solid;
    line-height: 22px;
    text-align: center;
    float:right;
    margin: -39px -48px 0 0;
    width: 48px;
    .sprites(-98px,-37px);
    .rounded-corners(0);
    .box-shadow(0, 0, 0);
    cursor:pointer;
    position: relative;
    z-index: 10001;
}

.groups-page, /* todo: clean up - should not need this */
.tags-page,
.badges-pages,
.user-profile-page,
.meta,
.openid-signin,
.users-page {
    input[type="submit"].searchBtn {
        margin-top: 1px;
    }
}

.ask-page {
    input[type="submit"].searchBtn {
        display: none;
    }
    .input-tool-tip {
        color: white;
        height: 0;
        z-index: 0;
    }
    .search-drop-menu.empty {
        border: none;
        padding: 0;
        ul {
            padding: 0;
        }
    }
}

input[type="submit"].searchBtn:hover {
    background-image: none;
    background-image: none;
    background-image: none;
    background-image: none;
    background-image: none;
    background-image: none;
    .sprites(-98px-48,-37px);
}

input[type="button"].cancelSearchBtn {
    font-size: 30px !important;
    color: #aaa;
    background: #fff !important;
    height: 37px !important;
    line-height: 37px;
    border: 0px;
    .box-shadow(0, 0, 0);
    .rounded-corners(0);
    text-align: center;
    width: 35px !important;
    cursor:pointer;
    float: right;
    margin: -40px 0 0 0;
    position: relative;
    z-index: 10001;
}

.cancelSearchBtn:hover {
    color: #d84040;
}

button,
input[type="submit"],
input[type="button"],
input[type="reset"],
.button {
    cursor: pointer;
    color: @button-label;
    height: 27px;
    font-family: @main-font;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    .text-shadow(0px,1px,0px,#c6d9dd);
    border: 0 !important;
    border-top: #eaf2f3 1px solid;
    .linear-gradient(#d1e2e5,#a9c2c7);
    .rounded-corners(4px);
    .box-shadow(1px, 1px, 2px, #636363)
}
button.large,
input[type="submit"].large,
input[type="button"].large,
input[type="reset"].large,
.button.large {
    font-size: 20px;
    height: 35px;
    line-height: 35px;
    padding: 0 10px;
}

button:hover, 
input[type="submit"]:hover,
.button:hover {
    .linear-gradient(#cde5e9,#94b3ba);
    text-decoration:none;
    .text-shadow(0px, 1px, 0px, #c6d9dd);
}

input[type="submit"].link {
    .box-shadow(0, 0, 0);
    .text-shadow(0, 0, 0);
    font-weight: normal;
}

input[type="submit"].link:hover {
    text-decoration: underline;
}

#askButton { /* check blocks/secondary_header.html and widgets/ask_button.html*/
    float:right;
    font-size: 20px;
    height: 42px;
    line-height: 44px;
    margin-top: 6px;
    text-transform: uppercase;
    width: 200px;/* to match width of sidebar */
}

/* 
    Put the secondary navigation together:
    1) raise the search bar by 55px
    2) add padding to fit the buttons
*/
#searchBar {
    margin: 0 228px 0 327px;
    width: auto;
    margin-top: -49px;
    padding: 0 49px 0 8px;
}
/* line up drop menu the same way as the search bar */
.search-drop-menu {
    margin: 0 228px 0 327px;
    width: auto;
}
.ask-page .search-drop-menu,
body.anon.ask-page .search-drop-menu {
    margin: 0;
}
#scopeNav {
    height: 41px;
    float: left;
    width: 280px;
}
.scopes-True-True-False {
    #searchBar,
    .search-drop-menu {
        margin-left: 228px;
    }
    #scopeNav {
        width: 180px;
    }
}
.scopes-True-False-True {
    #searchBar,
    .search-drop-menu {
        margin-left: 203px;
    }
    #scopeNav {
        width: 150px;
    }
}
.scopes-False-True-True {
    #searchBar,
    .search-drop-menu {
        margin-left: 286px;
    }
    #scopeNav {
        width: 238px;
    }
}
.scopes-True-False-False,
.scopes-False-True-False,
.scopes-False-False-True,
.scopes-False-False-False {
    #searchBar,
    .search-drop-menu {
        margin-left: 52px;
    }
    #scopeNav {
        width: 0;
    }
}

/* ----- Content layout, check two_column_body.html or one_column_body.html ----- */

#ContentLeft {
    width: 730px;
    float: left;
    position: relative;
    padding-bottom:10px;
}

#ContentRight {
    width: 200px;
    float: right;
    padding: 0 0px 10px 0px;
}

#ContentFull {
    float: left;
    width: 960px;
}

/* ----- Sidebar Widgets Box, check main_page/sidebar.html or question/sidebar.html ----- */

.box {
    background: #fff;
    padding: 4px 0px 10px 1px;
    width:200px;
    overflow: hidden;

    p {
        margin-bottom: 4px;
        color: @info-text;
        font-family:@main-font;
        font-size: 14px;
    }

    p.info-box-follow-up-links {
        text-align: right;
        margin: 0;
    }

    h2 {
        padding-left: 0;
        background:#eceeeb;
        height:30px;
        line-height:30px;
        text-align:right;
        font-size:18px !important;
        font-weight:normal;
        color:#656565;
        padding-right:10px;
        margin-bottom:10px;
        font-family:@main-font;
        width:190px;
    }
    h3{
        color:#4a757f;
        font-size:18px;
        text-align:left;
        font-weight:normal;
        font-family:@main-font;
        padding-left:0px;
    }
    .contributorback{
        background: #eceeeb url(../images/contributorsback.png) no-repeat center left;
    }

    form {
        margin: 0px;
    }

    label {
        color: @info-text;
        font-size:15px;
        vertical-align: bottom;
        display: inline;
        text-align:left;
        font-family:@main-font;
    }

    #displayTagFilterControl label,
    #emailTagFilterControl label { /*Especial width just for the tag filter boxes in index page*/
        width:160px;
    }

    ul {
        margin-left: 22px;
    }

    li {
        list-style-type: disc;
        font-size: 13px;
        line-height: 20px;
        margin-bottom: 10px;
        color:@info-text;
    }
    ul.tags {
        list-style: none;
        margin: 0;
        padding: 0;
        line-height: 170%;
        display: block;
    }
    #displayTagFilterControl p label{
        color:@info-text;
        font-size:15px;
    }

    .inputs{
        #interestingTagInput,
        #ignoredTagInput,
        #subscribedTagInput,
        #ab-tag-search {
            width:152px;
            padding-left:5px;
            border:#c9c9b5 1px solid;
            height:25px;
            line-height:25px;
            font-size: 14px;
        }
        #ab-tag-search {
            width: 138px;
        }
        #interestingTagAdd,
        #ignoredTagAdd,
        #subscribedTagAdd,
        #ab-tag-search-add {
            border:0;
            margin-top:-2px;
        }
       #ab-tag-search-add {
            width: 47px;
       }
    }
    
    img.gravatar {
        margin:1px;
    }

/* widgets for question template */

    a.followed, a.follow{
        height: 34px;
        font-size: 21px;
        line-height:34px;
        border:0;
        font-weight:normal;
        margin-top:3px;
        display:block;
        .center;
        width: 130px;
    }

    a.followed div.unfollow{
        display:none;
    }

    a.followed:hover div{
        display:none;
    }
    a.followed:hover div.unfollow{
        display:inline;
        color:#a05736;
    }
    
    .favorite-number {
        padding: 5px 0 0 5px;
        font-size: 100%;
        font-family: Arial;
        font-weight: bold;
        color: #777;
        text-align:center;
    }

    /* notify by email box */
    .notify-sidebar #question-subscribe-sidebar {
        margin: 0 0 0 3px;
    }
}

.users-page .box label {
    display: inline;
    float: none;
}

.statsWidget p{
    color:@info-text;
    font-size:16px;
    border-bottom:#cccccc 1px solid;
    font-size:13px;

    strong{
        float:right;
        padding-right:10px;
    }
}
.questions-related {
    word-wrap: break-word;

    p {
        line-height: 20px;
        padding: 4px 0px 9px 0px;
        font-size: 16px;
        font-weight:normal;
        border-bottom:#cccccc 1px solid;
    }
    p:first-child {
        margin-top: -4px;
    }
    p:last-child {
        border: none;
    }
    a {
        font-size:13px;
        line-height: 1.3;
    }
}
/* tips and markdown help are widgets for ask template */

.question-instructions {
    background: #e9e9e1;
    -moz-border-radius: 5px;
    -khtml-border-radius: 5px;
    -webkit-border-radius: 5px;
    .box-shadow(1px, 1px, 3px, #999);
    padding: 7px 0 1px 2px;
    margin-bottom: 10px;
    width: 100%;
    ul {
        margin: 0 0 0 27px;
    }
}

#markdownHelp{
    li{
        color:@info-text;
       font-size:13px;
    }
    a{
        font-size:16px;
    }
}


/* ----- Sorting top Tab, check main_page/tab_bar.html ------*/

.tabBar {
    background-color: #eff5f6;
    height: 30px;
    margin-bottom: 3px;
    margin-top: 3px;
    float:right;
    font-family:@sort-font;
    font-size:16px;
    .rounded-corners(5px);
}

.tabBar h2 {
    float: left;
}

.tabsA, .tabsC {
    float: right;
    position: relative;
    display: block;
    height: 20px;
}

/* tabsA - used for sorting */
.tabsA { float: right; }
.tabsC { float: left; }

.tabsA a, .tabsC a{

    border-left: 1px solid #d0e1e4;
    color: @section-title;
    display: block;
    float: left;
    height: 20px;
    line-height: 20px;
    padding:4px 7px 4px 7px;
    text-decoration: none;
}

.tabsA a.on, .tabsC a.on, .tabsA a:hover, .tabsC a:hover {
    color: @button-label;
}

.tabsA a.rev.on, tabsA a.rev.on:hover {
}

.tabsA .label, .tabsC .label {
    float: left;
    color: #646464;
    margin:4px 5px 0px 8px;
}

.main-page .tabsA .label {
    margin-left: 8px;
}

.tabsB a {
    background: #eee;
    border: 1px solid #eee;
    color: #777;
    display: block;
    float: left;
    height: 22px;
    line-height: 28px;
    margin: 5px 0px 0 4px;
    padding: 0 11px 0 11px;
    text-decoration: none;
}

.tabsC .first{
    border:none;
}

.rss {
    float: right;
    font-size: 16px;
    color: #f57900;
    margin: 5px 0px 3px 7px;
    width:52px;
    padding-left: 2px;
    padding-top:3px;
    background:#fff url(../images/feed-icon-small.png) no-repeat center right;
    float:right;
    font-family:@sort-font;
    font-size:16px;
}

.rss:hover {
    color: #F4A731 !important;
}

/* ----- Headline, containing number of questions and tags selected, check main_page/headline.html ----- */

#questionCount{
    font-weight:bold;
    font-size:20px;
    color:@section-title;
    width:200px;
    float:left;
    margin-bottom:6px;
    padding-top: 6px;
    font-family:@main-font;
}

#listSearchTags{
    float:left;
    margin-top:3px;
    color:@info-text;
    font-size:16px;
    font-family:@main-font;
}

ul#searchTags {
    margin-left:10px;
    float:right;
    padding-top:2px;
}

.search-tips {
    font-size:16px;
    line-height:17px;
    color: @info-text;
    margin:5px 0 10px 0;
    padding:0px;
    float:left;
    font-family:@main-font;

    a {
        text-decoration: underline;
        color: @link;
    }
}

/* ----- Question list , check main_page/content.html and macros/macros.html----- */

#question-list {
    float: left;
    position: relative;
    background-color: #FFF;
    padding: 0;
    width: 100%;
}

.short-summary {
    position: relative;
    filter: inherit;
    padding: 10px 0 3px 0;
    border-bottom: 1px solid #DDDBCE;
    margin-bottom:1px;
    overflow: hidden;
    width: 733px;
    float: left;
    /*background: url(../images/summary-background.png) repeat-x;*/

    h2 {
        font-size: 20px;
        font-weight:normal;
        line-height: 26px;
        padding-left: 0;
        margin-bottom:7px;
        display:block;
        font-family:@main-font;
    }
    
    a {
        color:@question-link;
    }

    .userinfo {
        text-align:right;
        line-height:16px;
        font-family:@body-font;
        padding-right:4px;
    }
    

    .userinfo .timeago, span.anonymous 
     {
        font-size: 11px;
        clear:both;
        font-weight: normal;
        color: #555;
    }

    .userinfo a{
        font-weight:bold;
        font-size:11px;
    }
    
    .counts {
        float: right;
        margin: 4px 0 0 5px;
        font-family:@main-font;
    }
    
    .counts .item-count {
        padding:0px 5px 0px 5px;
        font-size: 25px;
        font-family:@main-font;
    }
    
    .counts .votes div,
    .counts .views div,
    .counts .answers div,
    .counts .favorites div
    {
        margin-top:3px;
        font-size: 14px;
        line-height:14px;
        color: #646464;
    }
    
    .tags {
        margin: 0 0 0 1px;
    }
    
    .votes, .answers, .favorites, .views {
        text-align: center;
        margin: 0 3px;
        padding: 8px 2px 0px 2px;
        width: 51px;
        float: right;
        height:44px;
        border:#dbdbd4 1px solid;
    }

    .votes{
        background: url(../images/vote-background.png) repeat-x;
    }

    .answers{
        background:url(../images/answers-background.png) repeat-x;
    }
    
    .views {
        background:url(../images/view-background.png) repeat-x;
    }

    .no-votes .item-count {
        color: #b1b5b6;
    }
    .some-votes .item-count {
        color: #4a757f;
    }
    
    .no-answers .item-count {
        color: #b1b5b6;
    }
    .some-answers .item-count {
        color: #eab243;
    }
    
    .no-views .item-count {
        color: #b1b5b6;
    }
    .some-views .item-count {
        color: #d33f00;
    }
    
    .accepted .item-count {
        background:url(../images/accept.png) no-repeat top right;
        display: block;
        text-align: center;
        width: 40px;
        color: #eab243;
    }

    .some-favorites .item-count {
        background:#338333;
        color:#d0f5a9;
    }
    .no-favorites .item-count {
        background: #eab243;
        color: yellow;
    }

}

/* ----- Question list Paginator , check main_content/pager.html and macros/utils_macros.html----- */

.evenMore {
    font-size: 13px;
    color:@info-text;
    padding:15px 0px 10px 0px;
    clear:both;
}

.evenMore a {
    text-decoration: underline;
    color:@link;
}

.pager {
    margin-top: 10px;
    margin-bottom: 16px;
}

.pagesize {
    margin-top: 10px;
    margin-bottom: 16px;
    float: right;
}

.paginator {
    padding: 5px 0 10px 0;
    font-size:13px;
    margin-bottom:10px;

    .prev a, .prev a:visited,
    .next a, .next a:visited {
         background-color: #fff;
        color: #777;
        padding: 2px 4px 3px 4px;
    }
    a{
        color:@section-title;
    }
    .prev {
        margin-right: .5em;
    }

    .next {
        margin-left: .5em;
    }

    .page a, .page a:visited, .curr {
        padding: .25em;
        background-color: #fff;
        margin: 0em .25em;
        color: #ff;
    }

    .curr {
        background-color: #8ebcc7;
        color: #fff;
        font-weight: bold;
    }
    .next a, .prev a{
        color:@section-title
    }
    .page a:hover,
    .curr a:hover,
    .prev a:hover,
    .next a:hover {
        color: #8C8C8C;
        background-color: #E1E1E1;
        text-decoration: none;
    }

    .text {
        color: #777;
        padding: .3em;
    }

    .paginator-container-left {
        padding: 5px 0 10px 0;
    }

}

/* ----- Tags Styles ----- */

/* tag formatting is also copy-pasted in template
   because it must be the same in the emails
   askbot/models/__init__.py:format_instant_notification_email()
*/

/* tag cloud */

.tag-size-1 {
    font-size:12px;
}
.tag-size-2 {
    font-size:13px;
}
.tag-size-3 {
    font-size:14px;
}
.tag-size-4 {
    font-size:15px;
}
.tag-size-5 {
    font-size:16px;
}
.tag-size-6 {
    font-size:17px;
}
.tag-size-7 {
    font-size:18px;
}
.tag-size-8 {
    font-size:19px;
}
.tag-size-9 {
    font-size:20px;
}
.tag-size-10 {
    font-size:21px;
}

ul.tags,
ul.tags.marked-tags,
ul#related-tags {
    list-style: none;
    margin: 0;
    padding: 0 0 0 1px;
    line-height: 170%;
    display: block;
}

ul.tags li {
    float:left;
    display: block;
    margin: 0 8px 8px 0;
    padding: 0;
    height:20px;
}

.wildcard-tags {
    clear: both;
}

ul.tags.marked-tags li,
.wildcard-tags ul.tags li {
    margin-bottom: 5px;
}

#tagSelector div.inputs {
    margin: 6px 0 12px 0;
}

.tags-page ul.tags li,
ul#ab-user-tags li {
    width: 160px;
    margin:5px;
    margin-left: 0;
}
.tags-page ul.tags {
    margin-left: 5px;
}

ul#related-tags li {
    margin: 0 5px 8px 0;
    float: left;
    clear: left;
}

/* .tag-left and .tag-right are for the sliding doors decoration of tags */

.tag-left {
    cursor: pointer;
    display: block;
    float: left;
    height: 17px;
    margin: 0 5px 0 0;
    padding: 0;
    .box-shadow(0px,0px,5px,#d3d6d7);
}

.tag-right {
    background: #f3f6f6;
    border:#fff 1px solid ;
    border-top:#fff 2px solid;
    outline:#cfdbdb 1px solid;
   /* .box-shadow(0px,1px,0px,#88a8a8);*/
    display: block;
    float: left;
    height: 17px;
    line-height: 17px;
    font-weight: normal;
    font-size: 11px;
    padding: 0px 8px 0px 8px;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    font-family:@body-font;
    color:#717179;
}
.deletable-tag {
    margin-right: 3px;
    white-space: nowrap;
    .rounded-corners-right(4px);
}

.tags a.tag-right,
.tags span.tag-right {
    color: #585858;
    text-decoration: none;

}
.tags a:hover{
    color: #1A1A1A;
}

.users-page,
.tags-page,
.groups-page,
.moderate-tags-page {
    th {
        padding-bottom: 5px;
        font-weight: normal;
    }
    h1 {
        float: left;
    }
}

.moderate-tags-page {
    button {
        line-height: 18px;
    }
    table {
        border-spacing: 0;
    }
    table.suggested-tags-table {
        width: 100%;
    }
    th {
        font-style: italic;
    }
    th, tr {
        vertical-align: top;
        text-align: left;
        padding-right: 20px;
    }
    td.per-thread-controls {
        width: 160px;/* 20px more to compensate for the padding */
        height: 30px;
        button {
            display: none;
        }
    }
    th.tags-col,
    th.users-col {
        width: 100px;
    }
    th.decision-col {
        width: 140px;
    }
    tr.per-tag-controls {
        height: 30px;
        text-align: center;
    }
    tr.thread-info {
        a {
            line-height: 18px;
        }
    }
    tr.thread-info td {
        padding-bottom: 5px;
    }
    td.tags-col,
    td.users-col {
        padding-top: 7px
    }
    td.thread-links-col {
        padding-top: 5px;
    }
}

.main-page h1 {
    margin-right: 5px;
}

.delete-icon {
    margin-top:-1px;
    float: left;
    height: 21px;
    width:18px;
    display: block;
    line-height:20px;
    text-align:center;
    background: #bbcdcd;
    cursor: default;
    color:#fff;
    border-top:#cfdbdb 1px solid;
    font-family:@body-font;
    .rounded-corners-right(4px);
    .text-shadow(0px,1px,0px,#7ea0a0)

}
.delete-icon:hover {
    background: #b32f2f;
}



.tag-number {
    font-weight: normal;
    float: left;
    font-size:16px;
    color:#5d5d5d;
}

.badges .tag-number {
    float: none;
    display: inline;
    padding-right: 15px;
}

/* ----- Ask and Edit Question Form template----- */

.section-title{
    color:@section-title;
    font-family:@main-font;
    font-weight:bold;
    font-size:24px;
}

#fmask{
    margin-bottom:30px;
    width:100%;
}

#askFormBar {
    display:inline-block;
    padding: 4px 0 0 0;
    margin-top:0px;
    width: 100%;
    
    p {
       margin:0 0 5px 0;
       font-size:14px;
       color:@info-text-dark;
       line-height:1.4;
    }
    .questionTitleInput {
        font-size: 24px;
        height: 36px;
        line-height: 36px;
        margin: 0;
        padding: 0;/*-left: 5px;*/
        border:#cce6ec 3px solid;
        width: 100%;/*719px;*/
    }
}

.ask-page, .edit-question-page {

    div#question-list {
        border-bottom:#f0f0ec 1px solid;
        float: none;
        a {
            line-height:30px;
        }

    }

    div#question-list h2 {
        font-size: 13px;
        padding-bottom: 0;
        color: @link;
        border-top: #f0f0ec 1px solid;
        border-left: #f0f0ec 1px solid;
        min-height: 30px;
        line-height: 30px;
        font-weight: normal;
    }

    div#question-list span {
        width:28px;
        height:26px;
        line-height:26px;
        text-align:center;
        margin-right: 10px;
        float:left;
        display:block;
        color:#fff;
        background: #b8d0d5;
        .rounded-corners(3px);
    }
    label{
        color:@info-text-dark;
        font-size:13px;
    }

    #id_tags {
        box-sizing: border-box;
        border: #cce6ec 3px solid;
        height: 31px;
        padding-left: 5px;
        font-size: 14px;
        width: 100%;
        max-width: 395px;
    }
    .lang-selector {
        margin: 1px 0 0 5px;
    }
}

.ask-page,
.question-page,
.edit-question-page,
.edit-answer-page {
    #id_post_author_username,
    #id_post_author_email {
        border: #cce6ec 3px solid;
        height: 25px;
        line-height: 25px;
        padding-left: 5px;
        font-size: 14px;
        width: 186px;
    }
    #id_post_author_email {
        margin-left: 10px;
    }
    table.proxy-user-info {
        border-spacing: 0px;
        width: 100%;

        .form-item {
            float: left;
        }
    }
}

.groups-input,
.users-input {
    width:152px;
    padding-left:5px;
    border:#c9c9b5 1px solid;
    height:25px;
    font-size: 14px;
}

.add-groups,
.add-users {
    border:0;
    margin-top:-2px;
}

.share-input-col {
    width: 160px;
    text-align: center;
}

.add-everyone-group {
    text-align: center;
    margin: auto;
    display: block;
    padding: 0 10px;
    height: 25px;
}

#id_user,
#id_user_author {
    border:#cce6ec 3px solid;
    height:25px;
    padding-left:5px;
    width:395px;
    font-size:14px;
}

.groups-input,
.users-input {
    width:152px;
    padding-left:5px;
    border:#c9c9b5 1px solid;
    height:25px;
    font-size: 14px;
}

.add-groups,
.add-users {
    border:0;
    margin-top:-2px;
}

.add-everyone-group {
    text-align: center;
    margin: auto;
    display: block;
    padding: 0 10px;
}

#id_user,
#id_user_author {
    border:#cce6ec 3px solid;
    height:25px;
    padding-left:5px;
    width:395px;
    font-size:14px;
}

.title-desc {
    color: @info-text;
    font-size: 13px;
    margin-bottom: 5px;
}

.ask-page, .question-page {
    .title-desc, .tags-desc {
        color: @info-text;
        font-style: italic;
        font-size: 16px;
    }
}

#fmanswer input.submit,
.ask-page input.submit,
.edit-question-page input.submit {
    float: left;
    font-weight:normal;
    height: 35px;
    font-size: 20px;
    margin-top:3px;
    margin-right:7px;
}

.wmd-container {
    border:#cce6ec 3px solid;
    textarea {
        border: none;
    }
}
.users-page .wmd-container {
    width: auto;
}
.ask-page,
.question-page,
.edit-question-page,
.edit-answer-page {
    .wmd-container {
        width: 723px;
        width: 100%;
    }
    #editor {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        width: 100%;
        height: 100%;
        padding: 6px;
    }
    .retagger-buttons {
        button {
            margin: 8px 10px 5px 0;
        }
    }
}

#editor { /* adjustment for editor preview */
    display: block;
    font-size: 100%;
    min-height: 210px;
    line-height: 18px;
    margin: 0;
    border: 0;
}

.users-page #editor {
    width: 187px;
}

#id_title {
    width: 100%;
}

.wmd-preview {
    color: #525252;
    margin: 0 0 12px 0;
    padding: 5px;
    background-color: #F5F5F5;
    min-height: 20px;
    overflow: auto;
    font-size:13px;
    font-family: @body-font;

    p {
       margin-bottom: 14px;
       line-height: 1.4;
       font-size: 14px;
    }

    p:last-child{
        margin-bottom: 0;
    }

    pre {
        background-color: #E7F1F8;
    }

    blockquote {
        background-color: #eee;
    }

    img {
        max-width: 600px;
    }

    a {
        color: @link;
    }

    li {
        margin-bottom:7px;
        font-size:14px;
    }
}

.defaultSkin table.mceLayout,
.defaultSkin table.mceLayout tr.mceFirst td {
    border: none;
}
.defaultSkin table.mceLayout tr.mceLast td {
    border-bottom: none;
}
.mceStatusbar {
    height: 5px;
    background: #fff;
}
.defaultSkin span.mce_askbot_imageuploader {
    background-position: -380px 0px;
}
.defaultSkin span.mce_askbot_attachment {
    background-image: url(../images/attachment.png);
    background-position: 0px 0px;
}

.user-page .wmd-buttons {
    width: 725px;
}

.preview-toggle {
    color: #b6a475; /*letter-spacing:1px;*/
    line-height: 28px;
    text-align: left;
    width: 100%;
}

.preview-toggle span:hover {
    cursor: pointer;
}

.after-editor {
    margin-top: 15px;
    margin-bottom: 15px;
}

.checkbox {
    margin-left:5px;
    font-weight:normal;
    cursor:help
}

.question-options {
    margin-top: 1px;
    color: #666;
    line-height: 13px;
    margin-bottom:5px;
}
.question-options label {
    vertical-align: text-bottom;
}

.edit-content-html {
    border-top: 1px dotted #D8D2A9;
    border-bottom: 1px dotted #D8D2A9;
    margin: 5px 0 5px 0;
}

.edit-question-page, #fmedit, .wmd-preview{
    color:@info-text-dark;
    
    #id_revision{
        font-size:14px;
        margin-top:5px;
        margin-bottom:5px;
        width: 100%;
    }
    #id_title{
        font-size: 24px;
        line-height: 24px;
        height: 36px;
        margin: 0px;
        padding: 0px 0 0 5px;
        border:#cce6ec 3px solid;
        width: 100%;
        margin-bottom:10px;
    }
    #id_summary{
        border:#cce6ec 3px solid;
        height:25px;
        padding-left:5px;
        width:395px;
        font-size:14px;
    }
    .title-desc{
        margin-bottom:10px;
    }
}

/* ----- Question template ----- */

.question-page{

    h1{
        padding-top:0px;
        font-family:@main-font;

        a {
            color:@question-link;
            font-size:26px;
            font-weight:normal;
            line-height:1;
        }
    }

    p.rss {
        float:none;
        clear:both;
        padding: 3px 0 0 23px;
        font-size: 15px;
        width:130px;
        background-position:center left;
        margin-left:0px !important;
    }

    p.rss a {
        font-family:@main-font;
        vertical-align: top;
    }

    .question-content {
        float:right;
        width:682px;
        margin-bottom:10px;
    }

    .question-content, .answer {
        pre, code {
            clear:both;
        }
    }

    #question-table{
        float:left;
        border-top:#f0f0f0 1px solid;
    }

    #question-table,
    .answer-table {
        margin: 8px 0 6px 0;
        border-spacing: 0px;
        width: 670px;
        padding-right:10px;
    }

    .answer-table {
        margin-top:0px;
        border-bottom: 1px solid #D4D4D4;
        float:right;
    }

    .answer-table td,
    #question-table td {
        width:20px;
        vertical-align:top;
    }
    .question-body, .answer-body {
        overflow: auto;
        margin-top:10px;
        font-family:@body-font;
        color:#4b4b4b;
        word-wrap: break-word;

        p{
            margin-bottom:14px;
          line-height:1.4;
          font-size:14px;
          padding:0px 5px 5px 0px;
        }
        
        a {
            color:@link;
        }
        
        li {
            margin-bottom:7px;
        }
    }

    .question-body IMG, .answer-body IMG {
        max-width: 600px;
    }

    .post-update-info-container {
        float: right;
        width: 175px;
    }

    .post-update-info {
        background: #fff url(../images/background-user-info.png) repeat-x bottom;
        float: right;
        font-size: 9px;
        font-family:@secondary-font;
        width: 158px;
        padding:4px;
        margin:0px 0px 5px 5px;
        line-height: 14px;
        .rounded-corners(4px);
        .box-shadow (0px, 2px,1px,#bfbfbf);
        
         p {
             line-height: 13px;
            font-size: 11px;
            margin: 0 0 2px 1px;
            padding: 0;
        }
        a{
            color:#444;
        }
        .gravatar {
            float: left;
            margin-right: 4px;
        }

        p.tip {
            color: #444;
            line-height: 13px;
            font-size: 10px;
        }
    }

    .post-controls{
        font-size: 11px;
        line-height: 12px;
        min-width: 200px;
        padding-left: 5px;
        text-align:right;
        clear: left;
        float: right;
        margin-top:10px;
        margin-bottom:8px;
        
        a,
        span.dropdown-toggle {
            color: #777;
            padding: 0px 7px 3px 18px;
            cursor: pointer;
            border: none;
            font-size:12px;
            font-family:@body-font;
            text-decoration: none;
            height:18px;
            line-height:18px;
            margin-top:-2px;
            margin-left:4px;
        }
        
        a:hover,
        span.dropdown-toggle:hover {
            background-color: #f5f0c9;
        }
        span.dropdown-toggle {
            background: url(../images/sprites.png) no-repeat -7px -242px;
            .rounded-corners(3px);
            position: relative;
        }
        span.dropdown-toggle:hover {
            padding-right: 0;
            background: url(../images/sprites.png) no-repeat -7px -274px;
            form {
                margin: 0;
            }
            input {
                display: block !important;
                height: 20px !important;
                line-height: 20px !important;
                margin: 0;
                padding: 0 5px;
                .rounded-corners(0);
                width: 100% !important;
            }
            .dropdown-menu {
                display: block;
                padding: 5px 0;
                right: -5px !important;
                left: auto;
                li,
                li:hover {
                    display: block !important;
                    margin: 0;
                    padding: 0;
                    width: 100% !important;
                }
                li:hover {
                    background-color: #f5f0c9;
                }
            }
        }
        .sep {
            color: #ccc;
            float:right;
            height:18px;
            font-size:18px;
        }
    }
    .post-controls, .answer-controls{
        .question-delete{
            background: url(../images/delete.png) no-repeat left -1px;
            padding-left:11px;
        }
        .question-flag{
            background: url(../images/flag.png) no-repeat 2px 0;
        }
        .answer-publish{
            background: url(../images/publish.png) no-repeat center left;
        }
        .answer-unpublish{
            background: url(../images/unpublish.png) no-repeat 2px center;
        }
        .question-edit{
            background: url(../images/edit2.png) no-repeat 3px 1px;
        }
        .question-retag{
            background: url(../images/retag.png) no-repeat center left;
        }
        .question-close{
            background: url(../images/close.png) no-repeat center left;
        }
        .permant-link{
            background: url(../images/link.png) no-repeat 2px 1px;
        }

        .answer-convert{
          float:right;
          clear: left;
          /*background: url(../images/link.png) no-repeat center left;*/
        }
        
        .answer-convert input{
            font-size:12px;
            color: #777;
            font-family:@body-font;
            text-decoration: none;
            display:inline;
            white-space:nowrap;
            padding-left: 0px;
            background: none;
            border: none;
            padding: 0px 7px 3px 18px;
            float:right;
            height:18px;
            line-height:18px;
            margin-top:-2px;
            margin-left:4px;
            box-shadow: none;
        }
        
        .answer-convert input:hover{
            background-color: #f5f0c9;
            .rounded-corners(3px);
        }
    }
    .tabBar{
       width:100%;
    }

    #questionCount{
        float:left;
        font-family:@main-font;
        line-height:15px;
    }

    .question-img-upvote, .question-img-downvote,
    .answer-img-upvote, .answer-img-downvote {
        width: 25px;
        height: 20px;
        cursor:pointer;
    }

    .question-img-upvote, .answer-img-upvote {
        background: url(../images/vote-arrow-up-new.png)  no-repeat;
    }

    .question-img-downvote, .answer-img-downvote {
        background: url(../images/vote-arrow-down-new.png) no-repeat;
    }

    .question-img-upvote:hover, .question-img-upvote.on,
    .answer-img-upvote:hover, .answer-img-upvote.on {
        background: url(../images/vote-arrow-up-on-new.png) no-repeat;
    }

    .question-img-downvote:hover, .question-img-downvote.on,
    .answer-img-downvote:hover, .answer-img-downvote.on {
        background: url(../images/vote-arrow-down-on-new.png) no-repeat;
    }

    #fmanswer_button{
        margin:8px 0px;
    }
    .question-img-favorite:hover {
        background: url(../images/vote-favorite-on.png)
    }
    div.comments {
        padding: 0;
    }
    #comment-title{
       font-weight:bold;
       font-size:23px;
       color:@section-title;
       width:200px;
       float:left;
       font-family:@main-font;
    }
    .comments {
        font-size: 12px;    
        clear: both;
        
        div.controls {
            clear: both;
            float:left;
            width: 100%;
            margin: 3px 0 20px 5px;
        }
        
        .controls a {
            border: none;
            color: #988e4c;
            padding: 0 3px 5px 22px;
            font-family: @body-font;
            font-size: 13px;
            font-weight: normal;
            background: url(../images/comment.png) no-repeat center left;
            .box-shadow(0, 0, 0);
            .text-shadow(0, 0, 0);
        }

        .controls a:hover {
            text-decoration: none;
        }

        .button {
            color: #988e4c;
            font-size: 11px;
            padding: 3px;
            cursor: pointer;
        }
        a {
            background-color: inherit;
            color: @link;
            padding: 0;
        }
        
        form.post-comments {
            padding: 6px 6px 7px 42px;
            border-bottom: 1px solid #edeeeb;
            margin-bottom: 0;
        }

        textarea {
            box-sizing: border-box;
            border: #cce6ec 3px solid;
            font-family: @body-font;
            font-size: 13px;
            height: 54px;
            line-height: 1.3;
            margin: -1px 0 7px 1px;
            outline: none;
            overflow:auto;
            padding: 0px 19px 2px 3px;
            width:100%;
        }
        input {
            margin-left: 10px;
            margin-top: 1px;
            vertical-align: top;
            width: 100px;
        }
        button.submit {
            height: 26px;
            line-height: 26px;
            padding: 0 8px;
            margin-right: 6px;
        }
        .counter {
            display: inline-block;
            width: 245px;
            float:right;
            color:#b6a475 !important;
            vertical-align: top;
            font-family:@body-font;
            float:right;
            text-align:right;
        }
        .comment {
            border-bottom: 1px solid #edeeeb;
            clear: both;
            margin: 0;
            padding-bottom: 4px;
            overflow: auto;
            font-family: @body-font;
            font-size: 11px;
            min-height: 25px;
        }
        div.comment:hover {
            background-color: #efefef;
        }
        a.author{
            background-color: inherit;
            color: @link;
            padding: 0;
        }

        a.author:hover {
            text-decoration: underline;
        }
        span.delete-icon{
            background:url(../images/close-small.png) no-repeat;
            border:0;
            width:14px;
            height:14px;
        }
        span.delete-icon:hover{
            border:#BC564B 2px solid;
            .rounded-corners(10px);
            margin: -3px 0px 0px -2px;
        }
        .content {
            margin-bottom: 7px;
        }

        .comment-votes {
            float: left;
            width: 37px;
            line-height: 130%;
            padding: 6px 5px 6px 3px;
        }

        .comment-body {
            line-height: 1.3;
            margin: 3px 26px 0 46px;
            padding: 5px 3px;
            color: #666;
            font-size:13px;

            .edit{
                padding-left:6px;
            }

            .convert-comment {
                display: inline;
                white-space: nowrap;
                padding-left: 0px;
                input {
                    background: none;
                    padding: 0px;
                    color: #1B79BD;
                    border:none;
                    height: 13px;
                    width:auto;
                    font-family: Arial;
                    font-size: 13px;
                    font-weight: normal;
                    line-height: 13px;
                    margin: 0 0 0 8px;
                    .box-shadow(0, 0, 0);
                    .text-shadow(0, 0, 0);
                }

                input:hover {
                    text-decoration: underline;
                    cursor: pointer;
                }
            }

        }

        .comment-body p{
            font-size:13px;
            line-height:1.3;
            margin-bottom: 3px;
            padding: 0;
        }

        .comment-delete {
            float: right;
            width: 14px;
            line-height: 130%;
            padding: 8px 6px;
        }

        .upvote {
            margin: 0px;
            padding-right: 17px;
            padding-top: 2px;
            text-align: right;
            height: 20px;
            font-size: 13px;
            font-weight: bold;
            color: #777;
        }

        .upvote.upvoted {
            color: #d64000;
        }

        .upvote.hover {
            background: url(../images/go-up-grey.png) no-repeat;
            background-position: right 1px;
        }

        .upvote:hover {
            background: url(../images/go-up-orange.png) no-repeat;
            background-position: right 1px;
        }

        .help-text{
            float: right;
            text-align:right;
            color: gray;
            margin-bottom: 0px;
            margin-top: 0px;
            line-height: 50%;
        }
    }
    #questionTools {
        font-size: 22px;
        margin-top: 11px;
        text-align: left;
    }

    .question-status {
        margin-top: 10px;
        margin-bottom:15px;
        padding: 20px;
        background-color: #fef7cc;
        text-align: center;
        border:#e1c04a 1px solid;
    }

    .question-status h3 {
        font-size: 20px;
        color:@info-text;
        font-weight:normal;
    }

    .vote-buttons {
        float: left;
        text-align: center;
        padding-top: 2px;
        margin:0px 10px 0px 3px;
        /* small IE fixes */
        *margin:0; 
        *height:210px;
        *width:30px;
    }

    .vote-buttons IMG {
        cursor: pointer;
    }

    .vote-number {
        font-family: @main-font;
        padding: 2px 0 5px 0;
        font-size: 25px;
        font-weight: bold;
        color: #777;
    }

    .vote-buttons .notify-sidebar {
        text-align: left;
        width:130px;
        margin-top: 7px;
        label {
            vertical-align: top;
        }
    }

    .tabBar-answer{
        margin-bottom:15px;
        padding-left:7px;
        width:723px;
        margin-top:10px;
    }
    .answer{
        .vote-buttons {
            float:left;
            margin-top: 10px;
        }
    }
    .accepted-answer {
        background-color: #f7fecc;
        border-bottom-color: #9BD59B;

        .vote-buttons {
            width:27px;
           margin-right:10px;
           margin-top:10px;
        }
    }

    .answer .post-update-info a{
        color:#444444;
    }
    
    .answered {
        background: #CCC;
        color: #999;
    }

    .answered-accepted {
        background: #DCDCDC;
        color: #763333;
        
        strong {
            color: #E1E818;
        }
    }

    .answered-by-owner {
        background: #F1F1FF;

        .comments .button {
            background-color: #E6ECFF;
       }
        .comments {
            background-color: #E6ECFF;
       }
        .vote-buttons {
           margin-right:10px;
        }
    }

    .answer-img-accept {
        background: url(../images/vote-accepted.png);
        width: 23px;
        height: 23px;
    }

    .accepted-answer .answer-img-accept,
    .answer-img-accept:hover {
        background: url(../images/vote-accepted-on.png)
    }

    .answer-body a {
        color:@link;
    }
    .answer-body li {
        margin-bottom:0.7em;
    }

    #fmanswer{
        color:@info-text;
        line-height:1.2;
        margin-top:10px;
 
        h2{
          font-family:@main-font;
          color:@section-title;
          font-size:24px;
        }
        label{
          font-size:13px;
        }
    }
    .message {
        padding: 5px;
        margin: 0px 0 10px 0;

    }

}

.facebook-share.icon, .twitter-share.icon, .linkedin-share.icon, .identica-share.icon {
    background: url(../images/socialsprite.png) no-repeat;
    display:block;
    text-indent:-100em;
    height:25px;
    width:25px;
    margin-bottom:3px;
}

.facebook-share.icon:hover, .twitter-share.icon:hover, .linkedin-share.icon:hover, .identica-share.icon:hover{
    opacity:0.8;
    filter: alpha(opacity=80);
}

.facebook-share.icon {
    background-position: -26px 0px;
}
.identica-share.icon {
    background-position: -78px 0px;
}
.twitter-share.icon {
    margin-top:10px;
    background-position: 0px 0px;
}
.linkedin-share.icon {
    background-position: -52px 0px;
}

/* -----Content pages, Login, About, FAQ, Users----- */

.openid-signin,
.meta,
.user-profile-edit-page,
{
    font-size:13px;
    line-height:1.3;
    color:@info-text-dark;
    p{
        font-size:13px;
        color:@info-text;
        line-height:1.3;
        font-family:@body-font;
        color:@info-text-dark;
        margin-bottom:12px;
    }
    h2{
        color:@info-text-dark;
        padding-left:0px;
        font-size:16px;
    }
}

.openid-signin,
.meta,
.users-page,
.user-profile-edit-page,
.user-profile-page {
    form{
        margin-bottom:15px;
    }

    input[type="text"],
    input[type="password"],
    select{
        border:#cce6ec 3px solid;
        height:25px;
        line-height: 25px;
        padding-left:5px;
        width:395px;
        font-size:14px;
    }
    select{
        width:405px;
        height:30px;
    }
    textarea{
        border:#cce6ec 3px solid;
        padding-left:5px;
        padding-top:5px;
        width:395px;
        font-size:14px;
    }
    input.submit{
        font-weight:normal;
        margin:5px 0px;
    }
    .cancel{
        background:url(../images/small-button-cancel.png) repeat-x top !important;
        color:#525252 !important;
    }
    .cancel:hover{
        background:url(../images/small-button-cancel.png) repeat-x bottom !important;
    }
    .re {
        float: left;
        width: 960px;
    }
}

.user-profile-page.inbox-group-join-requests {
    form {
        margin-bottom: 0;
    }
    table {
        margin-bottom: 13px;
    }
    td {
        padding-right: 10px;
    }
}

.inbox-flags.user-profile-page {
    .re {
        width: 810px;
    }
    .post-moderation-controls {
        float: left;
        width: 150px;
        margin-top: 23px;
        text-align: right;
    }
    .dropdown:hover {
        ul.dropdown-menu {
            display: block;
        }
    }
}

.openid-signin form {
    margin-bottom: 5px;
}

#email-input-fs,#local_login_buttons,#password-fs,#openid-fs{
    margin-top:10px;
    #id_email,#id_username,#id_password{
        font-size: 12px;
        line-height: 20px;
        height: 20px;
        margin: 0px;
        padding: 0px 0 0 5px;
        border:#cce6ec 3px solid;
        width:200px;
    }
}


.openid-input {
    background: url(../images/openid.gif) no-repeat;
    padding-left: 15px;
    cursor: pointer;
}

.openid-login-input {
    background-position: center left;
    background: url(../images/openid.gif) no-repeat 0% 50%;
    padding: 5px 5px 5px 15px;
    cursor: pointer;
    font-family: Trebuchet MS;
    font-weight: 300;
    font-size: 150%;
    width: 500px;
}

.openid-login-submit {
    height: 40px;
    width: 80px;
    line-height: 40px;
    cursor: pointer;
    border: 1px solid #777;
    font-weight: bold;
    font-size: 120%;
}

/* People page */

/*.users-page .tabBar{
    width:375px;
}*/

.users-page #group-openness-selector {
    width: 200px;
}

.user {
    padding: 5px 10px 5px 0;
    line-height: 140%;
    width: 166px;
    height: 32px;
    margin-bottom:5px;
    .user-micro-info{
        color:@info-text-dark;
    }
 
}

.user ul {
    margin: 0;
    list-style-type: none;
}

.user .thumb {
    clear: both;
    float: left;
    margin-right: 4px;
    display: inline;
}

/* tags page */

.tabBar-tags{
    margin-bottom:15px;
}

/* badges page */

a.medal {
    font-size: 17px;
    line-height: 250%;
    margin-right:5px;
    color: #333;
    text-decoration: none;
    background: url(../images/medala.gif) no-repeat;
    border-left: 1px solid #EEE;
    border-top: 1px solid #EEE;
    border-bottom: 1px solid #CCC;
    border-right: 1px solid #CCC;
    padding: 4px 12px 4px 6px;
}

a:hover.medal {
    color: #333;
    text-decoration: none;
    background: url(../images/medala_on.gif) no-repeat;
    border-left: 1px solid #E7E296;
    border-top: 1px solid #E7E296;
    border-bottom: 1px solid #D1CA3D;
    border-right: 1px solid #D1CA3D;
}

#award-list{
    .user{
        float:left;
       margin:5px;
    }
}

/* profile page */

.tabBar-profile{
    width:100%;
    margin-bottom:5px;
    float:left;
}

.user-profile-page {
    color:@info-text-dark;

    p{
        font-size:13px;
        line-height:1.3;
        color:@info-text-dark;
    }
    .avatar img {
        border:#eee 1px solid;
       padding:5px;
    }
    h2 {
        padding:10px 0px 10px 0px;
        font-family:@main-font;
    }

    .inputs {
        margin-top: 10px; 
        margin-bottom: 10px; 
    }
    select {
        margin-bottom: 12px;
    }
}

.user-details {
    font-size: 13px;
    h3{
        font-size:16px;
    }
}

.user-about {
    background-color: #EEEEEE;
    height: 200px;
    line-height: 20px;
    overflow: auto;
    padding: 10px;
    width: 90%;
    p{font-size:13px;}
}

.follow-toggle {
    height: auto;
}

.follow-toggle,.submit {
    font-weight:bold;
    line-height:26px;
    margin-top:-2px;
}

.follow-toggle:hover, .submit:hover {
    text-decoration:none !important;
}

.follow-toggle .follow{
    font-color: #000;
    font-style:normal;
}

.follow-toggle .unfollow div.unfollow-red{
    display:none;
}

.follow-toggle .unfollow:hover div.unfollow-red{
    display:inline;
    color:#fff;
    font-weight:bold;
    color:#A05736;
}

.follow-toggle .unfollow:hover div.unfollow-green{
    display:none;
}

.count {
    font-family: @main-font;
    font-size: 200%;
    font-weight: 700;
    color: #777
}

.scoreNumber {
    font-family: @main-font;
    font-size: 35px;
    font-weight: 800;
    color: #777;
    line-height: 40px; /*letter-spacing:0px*/
    margin-top: 3px;
}

.vote-count {
    font-family: Arial;
    font-size: 160%;
    font-weight: 700;
    color: #777;
}

.answer-summary {
    display: block;
    clear: both;
    padding: 3px;
}

.answer-votes {
    background-color: #EEEEEE;
    color: #555555;
    float: left;
    font-family: Arial;
    font-size: 15px;
    font-weight: bold;
    height: 17px;
    padding: 2px 4px 5px;
    text-align: center;
    text-decoration: none;
    width: 20px;
    margin-right: 10px;
    .rounded-corners(4px);
}

.karma-summary {
    padding:5px;
    font-size:13px;
}

.karma-summary h3 {
    text-align: center;
    font-weight: bold;
    padding:5px;
}

.karma-diagram {
    width:477px;
    height:300px;
    float:left;
    margin-right:10px;
}

.karma-details {
    float:right;
    width:450px;
    height:250px;
    overflow-y:auto;
    word-wrap:break-word;
    p{margin-bottom:10px;}
}

.karma-gained {
    font-weight:bold;
    background:#eee;
    width:25px;
    margin-right:5px;
    color:green;
    padding:3px;
    display:block;
    float:left;
    text-align:center;
    .rounded-corners(3px);
}

.karma-lost {
    font-weight:bold;
    background:#eee;
    width:25px;
    color:red;
    padding:3px;
    display:block;
    margin-right:5px;
    float:left;
    text-align:center;
    .rounded-corners(3px);
}

.submit-row{
    margin-bottom:10px;
}

/*-----  Revision pages ----- */

.revision {
    margin: 10px 0 10px 0;
    font-size: 13px;
    color:@info-text-dark;
    
    p{
        font-size:13px;
        line-height:1.3;
        color:@info-text-dark;
    }
    
    h3{
        font-family:@main-font;
        font-size:21px;
        padding-left:0px;
    }
    
    .header {
        background-color: #F5F5F5;
        padding: 5px;
        cursor: pointer;
    }

    .author {
        background-color: #e9f3f5;
    }

    .summary {
        padding: 5px 0 10px 0;
    }

    .summary span {
        background-color:#fde785;
        padding:6px;
        .rounded-corners(4px);
        display: inline;
        .box-shadow(1px, 1px, 4px, #cfb852);
    }

    .answerbody {
        padding: 10px 0 5px 10px;
    }

    .revision-mark {
        width: 150px;
        text-align: left;
        display: inline-block;
        font-size: 11px;
        overflow: hidden;

        .gravatar{
             float:left;
            margin-right:4px;
            padding-top:5px;
        }
    }

    .revision-number {
        font-size: 300%;
        font-weight: bold;
        font-family: sans-serif;
    }
}

del, del .post-tag {
    color: #C34719;
}

ins .post-tag, ins p, ins {
    background-color: #E6F0A2;
}

body.question-page ins,
body.main-page ins {
    /* a hack for google adwords
     * todo: make rule above more specific
     * and remove this one */
    background: transparent;
}

/* ----- Red Popup notification ----- */

.vote-notification {
    z-index: 1;
    cursor: pointer;
    display: none;
    position: absolute;
    font-family:@secondary-font;
    font-size:14px;
    font-weight:normal;
    color: white;
    background-color: #8e0000;
    text-align: center;
    padding-bottom:10px;
    .box-shadow(0px, 2px, 4px, #370000);
    .rounded-corners(4px);

    h3{
        background:url(../images/notification.png) repeat-x top;
       padding:10px 10px 10px 10px;
       font-size:13px;
       margin-bottom:5px;
       border-top:#8e0000 1px solid;
       color:#fff;
       font-weight:normal;
       .rounded-corners-top(4px);
    }
    a {
        color: #fb7321;
        text-decoration: underline;
        font-weight:bold;
    }

}


/* ----- Footer links , check blocks/footer.html----- */

#ground {
    width: 100%;
    clear: both;
    border-top: 1px solid #000;
    padding: 16px 0 0 0;
    background: @header-color;
    font-size:16px;
    font-family:@main-font;

    p {
        margin-bottom:0;
    }
}

.footer-links {
    color: #EEE;
    text-align:left;
    width:450px;
    float:left;
    a {
        color: #e7e8a8;
    }
}

.powered-link{
    width:450px;
    float:left;
    text-align:left;
    a{
        color:#8ebcc7;
    }
}

.copyright{
    color:#616161;
    width:500px;
    float:right;
    text-align:right;

    a{
        color:#8ebcc7;
    }
    img.license-logo {
        margin: 6px 0px 20px 10px;
        float:right;
    }
}


.notify-me {
    float: left;
}


span.text-counter {
    margin-right: 20px;
}

span.form-error {
    color: #990000;
    font-weight: normal;
    margin-left: 5px;
}

ul.errorlist {
    margin-bottom: 0;
}

p.form-item {
    margin: 0px;
}




.deleted {
    background: #F4E7E7 none repeat scroll 0 0;
}


/* openid styles */
.form-row {
    line-height: 25px;
}

table.form-as-table {
    margin-top: 5px;
}

table.form-as-table ul {
    list-style-type: none;
    display: inline;
}

table.form-as-table li {
    display: inline;
}

table.form-as-table td {
    text-align: right;
}

table.form-as-table th {
    text-align: left;
    font-weight: normal;
}

table.ab-subscr-form {
    width: 45em;
}

.submit-row {
    line-height: 30px;
    padding-top: 10px;
    display: block;
    clear: both;
}

.errors {
    line-height: 20px;
    color: #990000;
}

.error,
.openid-signin p.error {
    color: darkred;
    margin: 0;
    font-size: 12px;
    font-weight: bold;
    text-align: left;
}

.openid-signin p.error {
    text-align: center;
}

label.retag-error {
    color: darkred;
    padding-left: 5px;
    font-size: 10px;
}

.fieldset {
    border: none;
    margin-top: 10px;
    padding: 10px;
}


span.form-error {
    color: #990000;
    font-size: 90%;
    font-weight: normal;
    margin-left: 5px;
}


/*
.favorites-count-off {
    color: #919191;
    float: left;
    text-align: center;
}

.favorites-count {
    color: #D4A849;
    float: left;
    text-align: center;
}
*/

/* todo: get rid of this in html */
.favorites-empty {
    width: 32px;
    height: 45px;
    float: left;
}

.user-info-table {
    margin-bottom: 10px;
    border-spacing: 0;
}

/* todo: remove this hack? */
.user-stats-table .narrow {
    width: 660px;
}

.narrow .summary h3 {
    padding: 0px;
    margin: 0px;
}

.timeago {
    font-weight: bold;
    text-decoration: none;
}

.narrow .tags {
    float: left;
}




/* todo: make these more semantic */
.user-action-1 {
    font-weight: bold;
    color: #333;
}

.user-action-2 {
    font-weight: bold;
    color: #CCC;
}

.user-action-3 {
    color: #333;
}

.user-action-4 {
    color: #333;
}

.user-action-5 {
    color: darkred;
}

.user-action-6 {
    color: darkred;
}

.user-action-7 {
    color: #333;
}

.user-action-8 {
    padding: 3px;
    font-weight: bold;
    background-color: #CCC;
    color: #763333;
}

.revision-summary {
    background-color: #FFFE9B;
    padding: 2px;
}

.question-title-link a {
    font-weight: bold;
    color: #0077CC;
}

.answer-title-link a {
    color: #333;
}

/* todo: make these more semantic */
.post-type-1 a {
    font-weight: bold;

}

.post-type-3 a {
    font-weight: bold;

}

.post-type-5 a {
    font-weight: bold;
}

.post-type-2 a {
    color: #333;
}

.post-type-4 a {
    color: #333;
}

.post-type-6 a {
    color: #333;
}

.post-type-8 a {
    color: #333;
}

.hilite {
    background-color: #ff0;
}

.hilite1 {
    background-color: #ff0;
}

.hilite2 {
    background-color: #f0f;
}

.hilite3 {
    background-color: #0ff;
}

.gold, .badge1 {
    color: #FFCC00;
}

.silver, .badge2 {
    color: #CCCCCC;
}

.bronze, .badge3 {
    color: #CC9933;
}

.score {
    font-weight: 800;
    color: #333;
}


a.comment {
    background: #EEE;
    color: #993300;
    padding: 5px;
}

a.offensive {
    color: #999;
}

.message h1 {
    padding-top: 0px;
    font-size: 15px;
}

.message p {
    margin-bottom: 0px;
}

p.space-above {
    margin-top: 10px;
}

.warning {
    color: red;
}



button::-moz-focus-inner {
    padding:0;
    border:none;
}
.submit {
    cursor: pointer; /*letter-spacing:1px;*/
    background-color: #D4D0C8;
    height: 30px;
    border: 1px solid #777777; /*	width:100px; */
    font-weight: bold;
    font-size: 120%;
}

.submit:hover {
    text-decoration: underline;
}

.submit.small {
    margin-right:5px;
    height:20px;
    font-weight:normal;
    font-size:12px;
    padding:1px 5px;
}
.submit.small:hover {
    text-decoration:none;
}
.question-page a.submit {
    display: -moz-inline-stack;
    display: inline-block;
    line-height: 30px;
    padding: 0 5px;
    *display: inline;
}

.noscript {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 100;
    padding: 5px 0;
    text-align: center;
    font-family: sans-serif;
    font-size: 120%;
    font-weight: Bold;
    color: #FFFFFF;
    background-color: #AE0000;
}

.big {
    font-size: 14px;
}

.strong {
    font-weight: bold;
}

.orange {/* used in django.po */
    color: #d64000;
    font-weight: bold;
}

.grey {
    color: #808080;
}

.about div {
    padding: 10px 5px 10px 5px;
    border-top: 1px dashed #aaaaaa;
}

.highlight {
    background-color: #FFF8C6;
}

.nomargin {
    margin: 0;
}

.margin-bottom {
    margin-bottom: 10px;
}

.margin-top {
    margin-top: 10px;
}

.inline-block {
    display: inline-block;
}

.action-status {
    margin: 0;
    border: none;
    text-align: center;
    line-height: 10px;
    font-size: 12px;
    padding: 0;
}

.action-status span {
    padding: 3px 5px 3px 5px;
    background-color: #fff380; /* nice yellow */
    font-weight: normal;
    -moz-border-radius: 5px;
    -khtml-border-radius: 5px;
    -webkit-border-radius: 5px;
}

.list-table {
    td { 
        vertical-align: top;
    }
    border-spacing: 0;
}

/* these need to go */
table.form-as-table .errorlist {
    display: block;
    margin: 0;
    padding: 0 0 0 5px;
    text-align: left;
    font-size: 10px;
    color: darkred;
}

table.form-as-table input {
    display: inline;
    margin-left: 4px;
}

table.form-as-table th {
    vertical-align: bottom;
    padding-bottom: 4px;
}

.form-row-vertical {
    margin-top: 8px;
    display: block;
}

.form-row-vertical label {
    margin-bottom: 3px;
    display: block;
}

/* above stuff needs to go */
.text-align-right {
    text-align: center;
}

ul.form-horizontal-rows {
    list-style: none;
    margin: 0;
}

ul.form-horizontal-rows li {
    position: relative;
    height: 40px;
}

ul.form-horizontal-rows label {
    display: inline-block;
}

ul.form-horizontal-rows ul.errorlist {
    list-style: none;
    color: darkred;
    font-size: 10px;
    line-height: 10px;
    position: absolute;
    top: 2px;
    left: 180px;
    text-align: left;
    margin: 0;
}

ul.form-horizontal-rows ul.errorlist li {
    height: 10px;
}

ul.form-horizontal-rows label {
    position: absolute;
    left: 0px;
    bottom: 6px;
    margin: 0px;
    line-height: 12px;
    font-size: 12px;
}

ul.form-horizontal-rows li input {
    position: absolute;
    bottom: 0px;
    left: 180px;
    margin: 0px;
}

.narrow .summary {
    float: left;
}

.user-profile-tool-links {
    font-weight: bold;
    vertical-align: top;
}


ul.post-tags {
    margin-left: 3px;
}
ul.post-tags li {
    margin-top: 4px;
    margin-bottom: 3px;
}

ul.post-retag {
    margin-bottom:0px;
    margin-left:5px;
    input {
        width: 400px;
        height: 1.5em;
        margin: 3px 0 0 -3px;
    }
}

#question-controls .tags {
    margin: 0 0 3px 0;
}

#tagSelector {
    padding-bottom: 2px;
    margin-bottom: 0;
}

#related-tags {
    padding-left: 3px;
}

#hideIgnoredTagsControl {
    margin: 5px 0 0 0;
}

#hideIgnoredTagsControl label {
    font-size: 12px;
    color: #666;
}

#hideIgnoredTagsCb {
    margin: 0 2px 0 1px;
}

#recaptcha_widget_div {
    width: 318px;
    float: left;
    clear: both;
}

p.signup_p {
    margin: 20px 0px 0px 0px;
}

.simple-subscribe-options {
    ul {
        list-style: none;
        list-style-position: outside;
        margin: 0;
    }
    input {
        display: inline;
    }
}

.search-result-summary {
    font-weight: bold;
    font-size:18px;
    line-height:22px;
    margin:0px 0px 0px 0px;
    padding:2px 0 0 0;
    float: left;
}

.faq-rep-item { 
    text-align:right;
    padding-right:5px; 
}


.user-info-table .gravatar {
    margin:0;
}

#responses {
    clear:both;
    line-height:18px;
    margin-bottom:15px;
    h2 {
        margin: 0;
        padding: 0;
    }
}

#responses div.face {
    float:left;
    text-align: center;
    width: 54px;
    padding: 3px;
    overflow:hidden;
}

.response-parent {
    margin-top: 8px;
}

.response-parent strong{
    font-size: 20px;
}

.re {
    min-height: 57px;
    clear: both;
    margin-top: 10px;
}

#responses input {
    float:left;
}
#re_sections {
    margin-bottom:6px;
}
#re_sections .on {
    font-weight:bold;
}

.avatar-page ul {
    list-style: none;
}
.avatar-page li {
    display: inline;
}

.user-profile-page {
    .avatar p {
        margin-bottom: 0px;
    }
    .tabBar a#stats {
        margin-left: 0;
    }
    img.gravatar {
        margin: 2px 0 3px 0;
    }
    h3 {
        padding: 0;
        margin-top: -3px;
    }
    ul.tags {
        margin-left: 5px;
    }
}

.userList {
    font-size: 13px;
}

img.flag {
    border: 1px solid #eee;
    vertical-align: text-top;
}

.main-page img.flag {
    vertical-align: text-bottom;
}


a.edit {
    padding-left:3px;
    color: #145bff;
}

/* Pretty printing styles. Used with prettify.js. minified in one line */
.pln{color:#000}@media screen{.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun,.opn,.clo{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:red}}@media print,projection{.str{color:#060}.kwd{color:#006;font-weight:bold}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:bold}.lit{color:#044}.pun,.opn,.clo{color:#440}.tag{color:#006;font-weight:bold}.atn{color:#404}.atv{color:#060}}pre.prettyprint{padding:2px;border:1px solid #888}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style-type:none}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee}


#leading-sidebar {
    float: left;
}

/* language-specific fixes */
body.lang-es {
    #searchBar {
        /* need special left padding */
    }
}
body.anon.lang-es {
    #searchBar {
        /* need special left padding */
    }
}

/* user groups */
#user-groups ul {
    margin-bottom: 0px;
}
#user-groups .delete-icon {
    float: none;
    display: inline;
    color: #525252;
    padding: 0 3px 0 3px;
    background: #ccc;
    border-radius: 4px;
    line-height:inherit;
    -moz-border-radius: 4px;
    -khtml-border-radius: 4px;
    -webkit-border-radius: 4px;
}
#user-groups .delete-icon:hover {
    color: white;
    background: #b32f2f;
}

.question-page .post-update-info a.primary-group-name,
a.primary-group-name {
    color: #990E08;
    font-weight: bold;
}

.users-page {
    .wmd-prompt-dialog {
        background: #ccc;
    }
}

.group-wiki {
    .content {
        > p:last-child {
            margin-bottom: 5px;
        }
    }
    .group-logo {
        float: left;
        margin: 0 5px 3px 0;
    }
    .follow-toggle.group-join-btn {
        margin: 4px auto 10px auto;
        display: block;
    }
    .controls {
        margin: 0 0 10px 0;
    }
}

img.group-logo {
    height: 60px;/* important to align with the line spacing */
}

#groups-list {
    margin-left: 0px;
    .group-name {
        padding-right: 20px;
    }
    td {
        padding-bottom: 5px;
    }
}

.groups-page #groups-list {
    th, td {
        padding-right: 20px;
    }
    th {
        font-weight: bold;
    }
    th:nth-child(2),
    td:nth-child(2) {
        text-align: center;
    }
}

#reject-edit-modal {
    input, textarea {
        width: 514px;
    }
}

input.tipped-input,
textarea.tipped-input {
    padding-left: 5px;
}

.tipped-input.blank {
    color: @info-text;
}

.select-box {

    margin: 0;

    li {
        list-style-type: none;        
        list-style-position: inside;
        padding-left: 7px;
        font-size: 14px;
        line-height: 25px;
        input {
            margin: 0 0 2px -5px;
            font-size: 14px;
            line-height: 14px;
            vertical-align: middle;
            color: @info-text;
        }
    }
    li.selected,
    li.selected:hover {
        background-color: #fcf8e3;
        color: #c09853;
    }
    li:hover {
        background-color: #cecece;
        color: white;
    }
}

/* category selector */
.category-selector {
    border-spacing: 0;
    ul.select-box {
        height: 150px;
        width: 235px;
        overflow: auto;
        border: #ccc 3px solid;
    }
    td {
        vertical-align: top;
    }
    li {
        position: relative;
        color: @info-text;
    }
    li.tree:after {
        content: ">>";
        position: absolute;
        right: 5px;
        font-weight: bold;
    }
    li.selected.tree:after {
        color: #C09853;
    }
    th {
        color: @info-text;
        font-style: italic;
        font-size: 16px;
        font-weight: normal;
        padding-top: 5px;
        text-align: left;
    }
}

.question-page {
    .category-selector ul.select-box {
        width: 217px;
        input {
            width: 95px;
        }
    }
    .tag-editor {
        width: 660px;
        margin-left: 0;
    }
}

.editor-status {
    float: right;
    margin: 8px 350px 0 0;
    font-weight: bold;

    span {
        display: none;
    }
}

/* tag editor */
.tag-editor {
    height: 64px;
    border: #ccc 3px solid;
    padding-left: 8px;
    ul.tags {
        margin: 0;
        li {
            margin-top: 8px;
            height: 13px;
        }
    }
    input.new-tags-input,
    input.new-tags-input:focus {
        border: none;
        font-size: 15px;
        font-color: @info-text;
        height: 16px;
        line-height: 16px;
        margin-top: 9px;
        -webkit-box-shadow: none;/* undo bootstrap glow */
        -moz-box-shadow: none;
        box-shadow: none;
    }
}

/* fixes for bootstrap */
.caret {
    margin-bottom: 7px;
}
.btn-group {
    text-align: left;
}
.btn-toolbar {
    margin: 0;
}
.modal-footer {
    text-align: left;
}
.modal p {
    font-size: 14px;
}
.modal-body > textarea {
    width: 515px;
    margin-bottom: 0px;
}

/* modifications for small screens */
@media screen and (max-width: 960px) {/* content margins touch viewport */
    #homeButton {
        .sprites(1px,-36px);
    }
    #homeButton:hover {
        .sprites(-44px,-36px);
    }
}
@media screen and (max-width: 480px) {
    .content-wrapper {
        width: 100%;
    }
    #ContentRight {
        display: none;
    }
    #ContentLeft {
        width: 100%;
    }
    .main-page h1,
    #askButton,
    #metaNav #navBadges,
    .user-info,
    .copyright,
    .counts .views,
    .counts .votes,
    .help,
    .rss,
    .scope-selector,
    .settings,
    .tabBar,
    .tags,
    .userinfo,
    .widgets {
        display: none;
    }

    .ask-page,
    .edit-question-page {
        input[type="submit"].searchBtn {
            display: none;
        }
    }

    .ask-page,
    .edit-answer-page,
    .edit-question-page {
        .preview-toggle,
        .proxy-user-info,
        .answer-options,
        .question-options,
        .revision-comment,
        .wmd-preview,
        #wmd-hr-button,
        #wmd-heading-button {
            display: none;
        }
    }

    .edit-answer-page,
    .edit-question-page {
        label[for="id_title"],
        label[for="id_revision"],
        #id_revision {
            display: none;
        }
        #fmedit #id_title {
            margin: 15px 0 0 0;
        }
    }

    .question-page {
        .comment-votes {
            display: none;
        }
        .comments {
            form.post-comments {
                margin: 0 10px 0 0;
            }
            .comment .comment-body {
                margin-left: 5px;
            }
        }
        .post-update-info-container {
            float: none;
            width: 100%;
        }
        .post-update-info {
            float: none;
            margin-left: 0;
            width: 100%-5;

            br,
            .badge1,
            .badge2,
            .badge3,
            .gravatar,
            .reputation-score,
            .badge-count {
                display: none;
            }
        }
        .question-content,
        ul.post-retag input {
            width: 100%-12;
        }
        .answer-table,
        #question-table {
            width: 100%-15;
        }
    }

    .users-page {
        .userList td {
            display: block;
            width: 100%;
            .user {
                width: 100%;
            }
        }
    }

    .user-profile-page {
        td {
            display: block;
        }
    }

    .footer-links,
    .powered-link {
        text-align: center;
        width: 100%;
    }

    #userToolsNav {
        margin-left: 10px;
    }

    #metaNav {
        float: left;
        a#navUsers,
        a#navTags,
        a#navGroups {
            background: none;
            color: #d0e296;
            font-size: 16px;
            text-decoration: underline;
            margin-left: 20px;
            padding-left: 0;
        }
    }
    .powered-link {
        margin-bottom: 15px;
    }
    .short-summary:first-child {
        padding-top: 0;
    }
    #searchBar,
    body.anon #searchBar {
        margin: -49px 8px 0 52px;
    }
    .search-drop-menu,
    body.anon .search-drop-menu {
        margin: 0 8px 0 52px;
    }
    input[type="submit"].searchBtn {
        margin-right: 8px;
    }
    .short-summary {
        width: 100%;
    }
}

.tag-subscriptions {
    border-spacing: 10px; 
    border-collapse: separate;

    form {
        display: inline-block;
        margin-bottom: 0;
    }

    td {
        vertical-align: middle;
    }

    .action {
        cursor: pointer;
        color: #4A757F;
        font-family: 'Open Sans Condensed', Arial, sans-serif;
        text-decoration: none;
    }

    ul.tags li {
        margin: 2px 5px;
    }
}


Fixed version (ground truth):
@import url(jquery.autocomplete.css);
@import "lib_style.less"; /* Library of predifined less functions styles */

/* ----- General HTML Styles----- */

body {
    background: #FFF;
    font-size: 14px;
    line-height: 150%;
    margin: 0;
    padding: 0;
    color: #666;
    font-family:@body-font;
}

div {
    margin: 0 auto;
    padding: 0;
}

h1, h2, h3, h4, h5, h6, ul, li, dl, dt, dd, form, img, p {
    margin: 0;
    padding: 0;
    border: none;
}

label {
    vertical-align: middle;
}

hr {
    border: none;
    border-top: 1px dashed #ccccce;
}

input, select {
    vertical-align: middle;
    font-family: Trebuchet MS, "segoe ui", Helvetica, Tahoma, Verdana, MingLiu, PMingLiu, Arial, sans-serif;
    margin-left:0px;
}
select {
    width: 100%;
}

input[type="text"].prompt,
input[type="password"].prompt,
input.tipped-input.blank {
    font-style: italic;
    color: @info-text;
}

textarea:focus, input:focus{
    outline: none;
}

iframe {
    border: none;
}

p {
    font-size: 14px;
    line-height: 140%;
    margin-bottom: 6px;
}

a {
    color:@link;
    text-decoration: none;
    cursor: pointer;
}

h2 {
    font-size: 21px;
    padding: 3px 0 3px 5px;
}

h3 {
    font-size: 19px;
    padding: 3px 0 3px 5px;
}

ul {
    list-style: disc;
    margin-left: 20px;
    padding-left: 0px;
    margin-bottom: 1em;
}

ol {
    list-style: decimal;
    margin-left: 30px;
    margin-bottom: 1em;
    padding-left: 0px;
}

td ul {
    vertical-align: middle;
}

li input {
    margin: 3px 3px 4px 3px;
}

pre {
    font-family: Consolas, Monaco, Liberation Mono, Lucida Console, Monospace;
    font-size: 100%;
    margin-bottom: 10px;
    background-color: #F5F5F5;
    padding-left: 5px;
    padding-top: 5px;
    padding-bottom: 20px ! ie7;
}

code {
    font-family: Consolas, Monaco, Liberation Mono, Lucida Console, Monospace;
    font-size: 100%;
}

blockquote {
    margin-bottom: 10px;
    margin-right: 15px;
    padding: 10px 0px 1px 10px;
    background-color: #F5F5F5;
}

html {
    overflow-y: scroll;
}

/* http://pathfindersoftware.com/2007/09/developers-note-2/ */
* html .clearfix,
* html .paginator {
    height: 1;
    overflow: visible;
}
+ html .clearfix,
+ html .paginator {
    min-height: 1%;
}
.clearfix:after,
.paginator:after {
    clear: both;
    content:".";
    display:block;
    height: 0;
    visibility: hidden;
}

.badges a {
    color: #763333;
    text-decoration: underline;
}

a:hover {
    text-decoration: underline;
}

.avatar-box {
    text-decoration: none;
}

.badge-context-toggle.active {
    cursor: pointer;
    text-decoration: underline;
}

h1 {
    font-size: 24px;
    padding: 0px 0 5px 0px;
}


/* ----- Extra space above for messages ----- */

body.user-messages {
    margin-top: 2.4em;
}

/* ----- Custom positions ----- */

.left{float:left}
.right{float:right}
.clean{clear:both}
.center{
    margin: 0 auto;
    padding: 0;
}


/* ----- Notify message bar , check blocks/system_messages.html ----- */

.notify {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 34px;
    z-index: 100000;
    padding: 0;
    text-align: center;
    background-color: #f5dd69;
    font-family:@main-font;

    .notification {
        margin-top: 6px;
        /*margin-bottom: 6px;*/
        font-size: 16px;
        color:#424242
    }
}

.wait-icon-box {
    text-align: center;
    margin: 5px 0 8px;
}

#closeNotify {
    position: absolute;
    right: 5px;
    top: 7px;
    color: #735005;
    text-decoration: none;
    line-height: 18px;
    .sprites(-6px,-5px);
    cursor: pointer;
    width:20px;
    height:20px;
}

#closeNotify:hover {
    .sprites(-26px,-5px);
}

/* ----- Header, check blocks/header.html ----- */

#header {
    margin-top: 0px;
    background: @header-color;
    font-family:@main-font;
}

.content-wrapper {/* wrapper positioning class */
    width: 960px;
    margin: auto;
    position:relative;
}

#logo img{
    padding: 5px 0px 5px 0px;
    height: 75px;
    width: auto;
    float: left;
}

.lang-nav {
    position: relative;
    ul {
        display: none;
        list-style: none;
        z-index: 10000;
        margin: 0;
    }
    &:hover ul,
    ul:hover {
        display: block;
        position: absolute;
        width: 100px;
    }
    li {
        color: @info-text;
        background: white;
        display: block;
    }
}

#userToolsNav {/* Navigation bar containing login link or user information, check widgets/user_navigation.html*/
    height: 20px;
    padding-bottom:5px;
    white-space: nowrap;

    a {
        height: 35px;
        text-align: right;
        margin-left: 20px;
        text-decoration: underline;
        color:#d0e296;
        font-size:16px;
    }
    
    a:first-child {
        margin-left: 0;
    }
    
    a#ab-responses {
        margin-left: 3px;
    }
    
    .user-info,.user-micro-info{
        color:#b5b593;
    }

    a img {
        vertical-align:middle;
        margin-bottom:2px;
    }

    .user-info a {
        margin: 0;
        text-decoration: none;
    }
}

#metaNav {/* Top Navigation bar containing links for tags, people and badges, check widgets/header.html */
    float: right;/* for #header.with-logo it is modified */
    margin-right: 7px;

    a {
        color: #e2e2ae;
        padding: 0px 0px 0px 35px;
        height: 35px;
        line-height: 25px;
        margin:5px 0px 0px 10px;
        font-size: 18px;
        font-weight: 100;
        text-decoration: none;
        display: block;
        float: left;
    }

    a:hover {
        text-decoration: underline;
    }

    a.on {
        font-weight:bold;
        color: #FFF;
        text-decoration: none;
    }

    a.special {
        font-size: 18px;
        color: #B02B2C;
        font-weight: bold;
        text-decoration: none;
    }

    a.special:hover {
        text-decoration: underline;
    }

    #navTags{
        .sprites(0px,-95px);
    }

    #navUsers,
    #navGroups{
        .sprites(3px,-133px)
    }

    #navBadges{
        .sprites(3px,-170px)
    }

    a.group-name {
        padding: 0px;
        float:center;
        margin:5px 0px 5px 10px;
    }
    
    input.group-name{
        border:none;
        height: 25px;
        font-size: 18px;
        font-weight: 100;
        text-decoration: none;
        display: block;
        margin: 0px 10px 0px 10px;
        width: 140px;
        font-family: 'Open Sans Condensed', Arial, sans-serif;
        font-weight: 100;
    }

    input.group-name:focus{
        border:none;
    }

    a.group-name:hover{
        background-color: transparent;
    }

    span.dropdown:hover ul.dropdown-menu {
        display: block;    
    }

    div.dropdown-container:hover ul.dropdown-menu {
        display: block;    
    }

    .dropdown {
        float:left;
    }

    .dropdown-menu{
        border-top: none;
        left: 7%;
        z-index: 10100;
        a{
            color: #666;
            height: 25px;
        }
    }

}

#header.with-logo #userToolsNav {
    position:absolute;
    bottom: 0;
    right:0px;
}

#header.without-logo #userToolsNav {
    float:left;
    margin-top: 7px;
}


#secondaryHeader{ /* Div containing Home button, scope navigation, search form and ask button, check blocks/secondary_header.html */
    height:55px;
    background:#e9e9e1;
    border-bottom:#d3d3c2 1px solid;
    border-top:#fcfcfc 1px solid;
    margin-bottom:10px;
    font-family:@main-font;
}

#homeButton{
    border-right: #afaf9e 1px solid;
    .sprites(-6px,-36px);
    height:55px;
    width:43px;
    display:block;
    float:left;
}

#homeButton:hover{
    .sprites(-51px,-36px);
}

.scope-selector {
    display:block;
    float:left;
    font-size:20px;
    color:#7a7a6b;
    height:55px;
    line-height:55px;
    margin-left:16px
}

.scope-selector.on {
    background:url(../images/scopearrow.png) no-repeat center bottom;
}

.scope-selector.ask-message {
    font-size:24px;
}

.validate-email-page {
    label {
        color: @info-text;
        line-height: 1.35;
        display: block;
        margin: 10px 0;
    }
    #validation-code {
        padding-left:5px;
        border:#cce6ec 3px solid;
        height:25px;
        font-size: 14px;
        width: 200px;
    }
    form {
        margin-bottom: 30px;
    }
}

#searchBar { /* Main search form , check widgets/search_bar.html */
    display: block;
    background-color: #fff;
    border: 1px solid #c9c9b5;
    height: 41px;
    z-index: 10000;
    position: relative;

    input.searchInput {
        font-size: 22px;
        height: 26px;
        line-height: 26px;
        font-weight:300;
        background:#FFF;
        border:0px;
        color:#484848;
        font-family:@body-font;
        width: 100%;
        margin: 8px 0 6px 0;
        padding: 0;
        .box-shadow(0, 0, 0);
    }

    div.input-tool-tip {
        margin-top: -40px;
        padding-top: 10px;
        height: 30px;
        line-height: 20px;
        font-size: 20px;
        font-style: italic;
    }
}

.search-drop-menu {
    box-sizing: border-box;
    background: whitesmoke;
    border: 1px solid #c9c9b5;
    border-top: none;
    margin: 0;
    position: relative;
    top: 0;
    z-index: 10000;

    ul {
        list-style: none;
        overflow: auto;
        padding: 0 0 10px 0;
        margin: 0;
        position: relative;
        width: 100%;
        li {
            padding: 5px 10px;
            position: relative;
            a {
                text-decoration: none;
            }
        }
        li.selected {
            background: #08c;
            a {
                color: whitesmoke;
            }
        }
    }

    ul.empty {
        margin-bottom: 0;
    }

    .footer {
        text-align: center;
        padding: 9px 0 10px 0;
    }
}

.search-drop-menu.empty {
    ul {
        padding: 1px;
        margin: 0;
    }
}

.input-tool-tip {
    color: #999;
}
.input-tool-tip.dimmed {
    color: #ccc;
}

input[type="submit"].searchBtn {
    font-size: 10px;
    color: #666;
    background-color: #eee;
    height: 41px;
    border:#FFF 1px solid;
    line-height: 22px;
    text-align: center;
    float:right;
    margin: -39px -48px 0 0;
    width: 48px;
    .sprites(-98px,-37px);
    .rounded-corners(0);
    .box-shadow(0, 0, 0);
    cursor:pointer;
    position: relative;
    z-index: 10001;
}

.groups-page, /* todo: clean up - should not need this */
.badges-pages,
.user-profile-page,
.meta,
.openid-signin,
.users-page {
    input[type="submit"].searchBtn {
        margin-top: 1px;
    }
}

.ask-page {
    input[type="submit"].searchBtn {
        display: none;
    }
    .input-tool-tip {
        color: white;
        height: 0;
        z-index: 0;
    }
    .search-drop-menu.empty {
        border: none;
        padding: 0;
        ul {
            padding: 0;
        }
    }
}

input[type="submit"].searchBtn:hover {
    background-image: none;
    background-image: none;
    background-image: none;
    background-image: none;
    background-image: none;
    background-image: none;
    .sprites(-98px-48,-37px);
}

input[type="button"].cancelSearchBtn {
    font-size: 30px !important;
    color: #aaa;
    background: #fff !important;
    height: 37px !important;
    line-height: 37px;
    border: 0px;
    .box-shadow(0, 0, 0);
    .rounded-corners(0);
    text-align: center;
    width: 35px !important;
    cursor:pointer;
    float: right;
    margin: -40px 0 0 0;
    position: relative;
    z-index: 10001;
}

.cancelSearchBtn:hover {
    color: #d84040;
}

button,
input[type="submit"],
input[type="button"],
input[type="reset"],
.button {
    cursor: pointer;
    color: @button-label;
    height: 27px;
    font-family: @main-font;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    .text-shadow(0px,1px,0px,#c6d9dd);
    border: 0 !important;
    border-top: #eaf2f3 1px solid;
    .linear-gradient(#d1e2e5,#a9c2c7);
    .rounded-corners(4px);
    .box-shadow(1px, 1px, 2px, #636363)
}
button.large,
input[type="submit"].large,
input[type="button"].large,
input[type="reset"].large,
.button.large {
    font-size: 20px;
    height: 35px;
    line-height: 35px;
    padding: 0 10px;
}

button:hover, 
input[type="submit"]:hover,
.button:hover {
    .linear-gradient(#cde5e9,#94b3ba);
    text-decoration:none;
    .text-shadow(0px, 1px, 0px, #c6d9dd);
}

input[type="submit"].link {
    .box-shadow(0, 0, 0);
    .text-shadow(0, 0, 0);
    font-weight: normal;
}

input[type="submit"].link:hover {
    text-decoration: underline;
}

#askButton { /* check blocks/secondary_header.html and widgets/ask_button.html*/
    float:right;
    font-size: 20px;
    height: 42px;
    line-height: 44px;
    margin-top: 6px;
    text-transform: uppercase;
    width: 200px;/* to match width of sidebar */
}

/* 
    Put the secondary navigation together:
    1) raise the search bar by 55px
    2) add padding to fit the buttons
*/
#searchBar {
    margin: 0 228px 0 327px;
    width: auto;
    margin-top: -49px;
    padding: 0 49px 0 8px;
}
/* line up drop menu the same way as the search bar */
.search-drop-menu {
    margin: 0 228px 0 327px;
    width: auto;
}
.ask-page .search-drop-menu,
body.anon.ask-page .search-drop-menu {
    margin: 0;
}
#scopeNav {
    height: 41px;
    float: left;
    width: 280px;
}
.scopes-True-True-False {
    #searchBar,
    .search-drop-menu {
        margin-left: 228px;
    }
    #scopeNav {
        width: 180px;
    }
}
.scopes-True-False-True {
    #searchBar,
    .search-drop-menu {
        margin-left: 203px;
    }
    #scopeNav {
        width: 150px;
    }
}
.scopes-False-True-True {
    #searchBar,
    .search-drop-menu {
        margin-left: 286px;
    }
    #scopeNav {
        width: 238px;
    }
}
.scopes-True-False-False,
.scopes-False-True-False,
.scopes-False-False-True,
.scopes-False-False-False {
    #searchBar,
    .search-drop-menu {
        margin-left: 52px;
    }
    #scopeNav {
        width: 0;
    }
}

/* ----- Content layout, check two_column_body.html or one_column_body.html ----- */

#ContentLeft {
    width: 730px;
    float: left;
    position: relative;
    padding-bottom:10px;
}

#ContentRight {
    width: 200px;
    float: right;
    padding: 0 0px 10px 0px;
}

#ContentFull {
    float: left;
    width: 960px;
}

/* ----- Sidebar Widgets Box, check main_page/sidebar.html or question/sidebar.html ----- */

.box {
    background: #fff;
    padding: 4px 0px 10px 1px;
    width:200px;
    overflow: hidden;

    p {
        margin-bottom: 4px;
        color: @info-text;
        font-family:@main-font;
        font-size: 14px;
    }

    p.info-box-follow-up-links {
        text-align: right;
        margin: 0;
    }

    h2 {
        padding-left: 0;
        background:#eceeeb;
        height:30px;
        line-height:30px;
        text-align:right;
        font-size:18px !important;
        font-weight:normal;
        color:#656565;
        padding-right:10px;
        margin-bottom:10px;
        font-family:@main-font;
        width:190px;
    }
    h3{
        color:#4a757f;
        font-size:18px;
        text-align:left;
        font-weight:normal;
        font-family:@main-font;
        padding-left:0px;
    }
    .contributorback{
        background: #eceeeb url(../images/contributorsback.png) no-repeat center left;
    }

    form {
        margin: 0px;
    }

    label {
        color: @info-text;
        font-size:15px;
        vertical-align: bottom;
        display: inline;
        text-align:left;
        font-family:@main-font;
    }

    #displayTagFilterControl label,
    #emailTagFilterControl label { /*Especial width just for the tag filter boxes in index page*/
        width:160px;
    }

    ul {
        margin-left: 22px;
    }

    li {
        list-style-type: disc;
        font-size: 13px;
        line-height: 20px;
        margin-bottom: 10px;
        color:@info-text;
    }
    ul.tags {
        list-style: none;
        margin: 0;
        padding: 0;
        line-height: 170%;
        display: block;
    }
    #displayTagFilterControl p label{
        color:@info-text;
        font-size:15px;
    }

    .inputs{
        #interestingTagInput,
        #ignoredTagInput,
        #subscribedTagInput,
        #ab-tag-search {
            width:152px;
            padding-left:5px;
            border:#c9c9b5 1px solid;
            height:25px;
            line-height:25px;
            font-size: 14px;
        }
        #ab-tag-search {
            width: 138px;
        }
        #interestingTagAdd,
        #ignoredTagAdd,
        #subscribedTagAdd,
        #ab-tag-search-add {
            border:0;
            margin-top:-2px;
        }
       #ab-tag-search-add {
            width: 47px;
       }
    }
    
    img.gravatar {
        margin:1px;
    }

/* widgets for question template */

    a.followed, a.follow{
        height: 34px;
        font-size: 21px;
        line-height:34px;
        border:0;
        font-weight:normal;
        margin-top:3px;
        display:block;
        .center;
        width: 130px;
    }

    a.followed div.unfollow{
        display:none;
    }

    a.followed:hover div{
        display:none;
    }
    a.followed:hover div.unfollow{
        display:inline;
        color:#a05736;
    }
    
    .favorite-number {
        padding: 5px 0 0 5px;
        font-size: 100%;
        font-family: Arial;
        font-weight: bold;
        color: #777;
        text-align:center;
    }

    /* notify by email box */
    .notify-sidebar #question-subscribe-sidebar {
        margin: 0 0 0 3px;
    }
}

.users-page .box label {
    display: inline;
    float: none;
}

.statsWidget p{
    color:@info-text;
    font-size:16px;
    border-bottom:#cccccc 1px solid;
    font-size:13px;

    strong{
        float:right;
        padding-right:10px;
    }
}
.questions-related {
    word-wrap: break-word;

    p {
        line-height: 20px;
        padding: 4px 0px 9px 0px;
        font-size: 16px;
        font-weight:normal;
        border-bottom:#cccccc 1px solid;
    }
    p:first-child {
        margin-top: -4px;
    }
    p:last-child {
        border: none;
    }
    a {
        font-size:13px;
        line-height: 1.3;
    }
}
/* tips and markdown help are widgets for ask template */

.question-instructions {
    background: #e9e9e1;
    -moz-border-radius: 5px;
    -khtml-border-radius: 5px;
    -webkit-border-radius: 5px;
    .box-shadow(1px, 1px, 3px, #999);
    padding: 7px 0 1px 2px;
    margin-bottom: 10px;
    width: 100%;
    ul {
        margin: 0 0 0 27px;
    }
}

#markdownHelp{
    li{
        color:@info-text;
       font-size:13px;
    }
    a{
        font-size:16px;
    }
}


/* ----- Sorting top Tab, check main_page/tab_bar.html ------*/

.tabBar {
    background-color: #eff5f6;
    height: 30px;
    margin-bottom: 3px;
    margin-top: 3px;
    float:right;
    font-family:@sort-font;
    font-size:16px;
    .rounded-corners(5px);
}

.tabBar h2 {
    float: left;
}

.tabsA, .tabsC {
    float: right;
    position: relative;
    display: block;
    height: 20px;
}

/* tabsA - used for sorting */
.tabsA { float: right; }
.tabsC { float: left; }

.tabsA a, .tabsC a{

    border-left: 1px solid #d0e1e4;
    color: @section-title;
    display: block;
    float: left;
    height: 20px;
    line-height: 20px;
    padding:4px 7px 4px 7px;
    text-decoration: none;
}

.tabsA a.on, .tabsC a.on, .tabsA a:hover, .tabsC a:hover {
    color: @button-label;
}

.tabsA a.rev.on, tabsA a.rev.on:hover {
}

.tabsA .label, .tabsC .label {
    float: left;
    color: #646464;
    margin:4px 5px 0px 8px;
}

.main-page .tabsA .label {
    margin-left: 8px;
}

.tabsB a {
    background: #eee;
    border: 1px solid #eee;
    color: #777;
    display: block;
    float: left;
    height: 22px;
    line-height: 28px;
    margin: 5px 0px 0 4px;
    padding: 0 11px 0 11px;
    text-decoration: none;
}

.tabsC .first{
    border:none;
}

.rss {
    float: right;
    font-size: 16px;
    color: #f57900;
    margin: 5px 0px 3px 7px;
    width:52px;
    padding-left: 2px;
    padding-top:3px;
    background:#fff url(../images/feed-icon-small.png) no-repeat center right;
    float:right;
    font-family:@sort-font;
    font-size:16px;
}

.rss:hover {
    color: #F4A731 !important;
}

/* ----- Headline, containing number of questions and tags selected, check main_page/headline.html ----- */

#questionCount{
    font-weight:bold;
    font-size:20px;
    color:@section-title;
    width:200px;
    float:left;
    margin-bottom:6px;
    padding-top: 6px;
    font-family:@main-font;
}

#listSearchTags{
    float:left;
    margin-top:3px;
    color:@info-text;
    font-size:16px;
    font-family:@main-font;
}

ul#searchTags {
    margin-left:10px;
    float:right;
    padding-top:2px;
}

.search-tips {
    font-size:16px;
    line-height:17px;
    color: @info-text;
    margin:5px 0 10px 0;
    padding:0px;
    float:left;
    font-family:@main-font;

    a {
        text-decoration: underline;
        color: @link;
    }
}

/* ----- Question list , check main_page/content.html and macros/macros.html----- */

#question-list {
    float: left;
    position: relative;
    background-color: #FFF;
    padding: 0;
    width: 100%;
}

.short-summary {
    position: relative;
    filter: inherit;
    padding: 10px 0 3px 0;
    border-bottom: 1px solid #DDDBCE;
    margin-bottom:1px;
    overflow: hidden;
    width: 733px;
    float: left;
    /*background: url(../images/summary-background.png) repeat-x;*/

    h2 {
        font-size: 20px;
        font-weight:normal;
        line-height: 26px;
        padding-left: 0;
        margin-bottom:7px;
        display:block;
        font-family:@main-font;
    }
    
    a {
        color:@question-link;
    }

    .userinfo {
        text-align:right;
        line-height:16px;
        font-family:@body-font;
        padding-right:4px;
    }
    

    .userinfo .timeago, span.anonymous 
     {
        font-size: 11px;
        clear:both;
        font-weight: normal;
        color: #555;
    }

    .userinfo a{
        font-weight:bold;
        font-size:11px;
    }
    
    .counts {
        float: right;
        margin: 4px 0 0 5px;
        font-family:@main-font;
    }
    
    .counts .item-count {
        padding:0px 5px 0px 5px;
        font-size: 25px;
        font-family:@main-font;
    }
    
    .counts .votes div,
    .counts .views div,
    .counts .answers div,
    .counts .favorites div
    {
        margin-top:3px;
        font-size: 14px;
        line-height:14px;
        color: #646464;
    }
    
    .tags {
        margin: 0 0 0 1px;
    }
    
    .votes, .answers, .favorites, .views {
        text-align: center;
        margin: 0 3px;
        padding: 8px 2px 0px 2px;
        width: 51px;
        float: right;
        height:44px;
        border:#dbdbd4 1px solid;
    }

    .votes{
        background: url(../images/vote-background.png) repeat-x;
    }

    .answers{
        background:url(../images/answers-background.png) repeat-x;
    }
    
    .views {
        background:url(../images/view-background.png) repeat-x;
    }

    .no-votes .item-count {
        color: #b1b5b6;
    }
    .some-votes .item-count {
        color: #4a757f;
    }
    
    .no-answers .item-count {
        color: #b1b5b6;
    }
    .some-answers .item-count {
        color: #eab243;
    }
    
    .no-views .item-count {
        color: #b1b5b6;
    }
    .some-views .item-count {
        color: #d33f00;
    }
    
    .accepted .item-count {
        background:url(../images/accept.png) no-repeat top right;
        display: block;
        text-align: center;
        width: 40px;
        color: #eab243;
    }

    .some-favorites .item-count {
        background:#338333;
        color:#d0f5a9;
    }
    .no-favorites .item-count {
        background: #eab243;
        color: yellow;
    }

}

/* ----- Question list Paginator , check main_content/pager.html and macros/utils_macros.html----- */

.evenMore {
    font-size: 13px;
    color:@info-text;
    padding:15px 0px 10px 0px;
    clear:both;
}

.evenMore a {
    text-decoration: underline;
    color:@link;
}

.pager {
    margin-top: 10px;
    margin-bottom: 16px;
}

.pagesize {
    margin-top: 10px;
    margin-bottom: 16px;
    float: right;
}

.paginator {
    padding: 5px 0 10px 0;
    font-size:13px;
    margin-bottom:10px;

    .prev a, .prev a:visited,
    .next a, .next a:visited {
         background-color: #fff;
        color: #777;
        padding: 2px 4px 3px 4px;
    }
    a{
        color:@section-title;
    }
    .prev {
        margin-right: .5em;
    }

    .next {
        margin-left: .5em;
    }

    .page a, .page a:visited, .curr {
        padding: .25em;
        background-color: #fff;
        margin: 0em .25em;
        color: #ff;
    }

    .curr {
        background-color: #8ebcc7;
        color: #fff;
        font-weight: bold;
    }
    .next a, .prev a{
        color:@section-title
    }
    .page a:hover,
    .curr a:hover,
    .prev a:hover,
    .next a:hover {
        color: #8C8C8C;
        background-color: #E1E1E1;
        text-decoration: none;
    }

    .text {
        color: #777;
        padding: .3em;
    }

    .paginator-container-left {
        padding: 5px 0 10px 0;
    }

}

/* ----- Tags Styles ----- */

/* tag formatting is also copy-pasted in template
   because it must be the same in the emails
   askbot/models/__init__.py:format_instant_notification_email()
*/

/* tag cloud */

.tag-size-1 {
    font-size:12px;
}
.tag-size-2 {
    font-size:13px;
}
.tag-size-3 {
    font-size:14px;
}
.tag-size-4 {
    font-size:15px;
}
.tag-size-5 {
    font-size:16px;
}
.tag-size-6 {
    font-size:17px;
}
.tag-size-7 {
    font-size:18px;
}
.tag-size-8 {
    font-size:19px;
}
.tag-size-9 {
    font-size:20px;
}
.tag-size-10 {
    font-size:21px;
}

ul.tags,
ul.tags.marked-tags,
ul#related-tags {
    list-style: none;
    margin: 0;
    padding: 0 0 0 1px;
    line-height: 170%;
    display: block;
}

ul.tags li {
    float:left;
    display: block;
    margin: 0 8px 8px 0;
    padding: 0;
    height:20px;
}

.wildcard-tags {
    clear: both;
}

ul.tags.marked-tags li,
.wildcard-tags ul.tags li {
    margin-bottom: 5px;
}

#tagSelector div.inputs {
    margin: 6px 0 12px 0;
}

.tags-page ul.tags li,
ul#ab-user-tags li {
    width: 160px;
    margin:5px;
    margin-left: 0;
}
.tags-page ul.tags {
    margin-left: 5px;
}

ul#related-tags li {
    margin: 0 5px 8px 0;
    float: left;
    clear: left;
}

/* .tag-left and .tag-right are for the sliding doors decoration of tags */

.tag-left {
    cursor: pointer;
    display: block;
    float: left;
    height: 17px;
    margin: 0 5px 0 0;
    padding: 0;
    .box-shadow(0px,0px,5px,#d3d6d7);
}

.tag-right {
    background: #f3f6f6;
    border:#fff 1px solid ;
    border-top:#fff 2px solid;
    outline:#cfdbdb 1px solid;
   /* .box-shadow(0px,1px,0px,#88a8a8);*/
    display: block;
    float: left;
    height: 17px;
    line-height: 17px;
    font-weight: normal;
    font-size: 11px;
    padding: 0px 8px 0px 8px;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    font-family:@body-font;
    color:#717179;
}
.deletable-tag {
    margin-right: 3px;
    white-space: nowrap;
    .rounded-corners-right(4px);
}

.tags a.tag-right,
.tags span.tag-right {
    color: #585858;
    text-decoration: none;

}
.tags a:hover{
    color: #1A1A1A;
}

.users-page,
.tags-page,
.groups-page,
.moderate-tags-page {
    th {
        padding-bottom: 5px;
        font-weight: normal;
    }
    h1 {
        float: left;
    }
}

.moderate-tags-page {
    button {
        line-height: 18px;
    }
    table {
        border-spacing: 0;
    }
    table.suggested-tags-table {
        width: 100%;
    }
    th {
        font-style: italic;
    }
    th, tr {
        vertical-align: top;
        text-align: left;
        padding-right: 20px;
    }
    td.per-thread-controls {
        width: 160px;/* 20px more to compensate for the padding */
        height: 30px;
        button {
            display: none;
        }
    }
    th.tags-col,
    th.users-col {
        width: 100px;
    }
    th.decision-col {
        width: 140px;
    }
    tr.per-tag-controls {
        height: 30px;
        text-align: center;
    }
    tr.thread-info {
        a {
            line-height: 18px;
        }
    }
    tr.thread-info td {
        padding-bottom: 5px;
    }
    td.tags-col,
    td.users-col {
        padding-top: 7px
    }
    td.thread-links-col {
        padding-top: 5px;
    }
}

.main-page h1 {
    margin-right: 5px;
}

.delete-icon {
    margin-top:-1px;
    float: left;
    height: 21px;
    width:18px;
    display: block;
    line-height:20px;
    text-align:center;
    background: #bbcdcd;
    cursor: default;
    color:#fff;
    border-top:#cfdbdb 1px solid;
    font-family:@body-font;
    .rounded-corners-right(4px);
    .text-shadow(0px,1px,0px,#7ea0a0)

}
.delete-icon:hover {
    background: #b32f2f;
}



.tag-number {
    font-weight: normal;
    float: left;
    font-size:16px;
    color:#5d5d5d;
}

.badges .tag-number {
    float: none;
    display: inline;
    padding-right: 15px;
}

/* ----- Ask and Edit Question Form template----- */

.section-title{
    color:@section-title;
    font-family:@main-font;
    font-weight:bold;
    font-size:24px;
}

#fmask{
    margin-bottom:30px;
    width:100%;
}

#askFormBar {
    display:inline-block;
    padding: 4px 0 0 0;
    margin-top:0px;
    width: 100%;
    
    p {
       margin:0 0 5px 0;
       font-size:14px;
       color:@info-text-dark;
       line-height:1.4;
    }
    .questionTitleInput {
        font-size: 24px;
        height: 36px;
        line-height: 36px;
        margin: 0;
        padding: 0;/*-left: 5px;*/
        border:#cce6ec 3px solid;
        width: 100%;/*719px;*/
    }
}

.ask-page, .edit-question-page {

    div#question-list {
        border-bottom:#f0f0ec 1px solid;
        float: none;
        a {
            line-height:30px;
        }

    }

    div#question-list h2 {
        font-size: 13px;
        padding-bottom: 0;
        color: @link;
        border-top: #f0f0ec 1px solid;
        border-left: #f0f0ec 1px solid;
        min-height: 30px;
        line-height: 30px;
        font-weight: normal;
    }

    div#question-list span {
        width:28px;
        height:26px;
        line-height:26px;
        text-align:center;
        margin-right: 10px;
        float:left;
        display:block;
        color:#fff;
        background: #b8d0d5;
        .rounded-corners(3px);
    }
    label{
        color:@info-text-dark;
        font-size:13px;
    }

    #id_tags {
        box-sizing: border-box;
        border: #cce6ec 3px solid;
        height: 31px;
        padding-left: 5px;
        font-size: 14px;
        width: 100%;
        max-width: 395px;
    }
    .lang-selector {
        margin: 1px 0 0 5px;
    }
}

.ask-page,
.question-page,
.edit-question-page,
.edit-answer-page {
    #id_post_author_username,
    #id_post_author_email {
        border: #cce6ec 3px solid;
        height: 25px;
        line-height: 25px;
        padding-left: 5px;
        font-size: 14px;
        width: 186px;
    }
    #id_post_author_email {
        margin-left: 10px;
    }
    table.proxy-user-info {
        border-spacing: 0px;
        width: 100%;

        .form-item {
            float: left;
        }
    }
}

.groups-input,
.users-input {
    width:152px;
    padding-left:5px;
    border:#c9c9b5 1px solid;
    height:25px;
    font-size: 14px;
}

.add-groups,
.add-users {
    border:0;
    margin-top:-2px;
}

.share-input-col {
    width: 160px;
    text-align: center;
}

.add-everyone-group {
    text-align: center;
    margin: auto;
    display: block;
    padding: 0 10px;
    height: 25px;
}

#id_user,
#id_user_author {
    border:#cce6ec 3px solid;
    height:25px;
    padding-left:5px;
    width:395px;
    font-size:14px;
}

.groups-input,
.users-input {
    width:152px;
    padding-left:5px;
    border:#c9c9b5 1px solid;
    height:25px;
    font-size: 14px;
}

.add-groups,
.add-users {
    border:0;
    margin-top:-2px;
}

.add-everyone-group {
    text-align: center;
    margin: auto;
    display: block;
    padding: 0 10px;
}

#id_user,
#id_user_author {
    border:#cce6ec 3px solid;
    height:25px;
    padding-left:5px;
    width:395px;
    font-size:14px;
}

.title-desc {
    color: @info-text;
    font-size: 13px;
    margin-bottom: 5px;
}

.ask-page, .question-page {
    .title-desc, .tags-desc {
        color: @info-text;
        font-style: italic;
        font-size: 16px;
    }
}

#fmanswer input.submit,
.ask-page input.submit,
.edit-question-page input.submit {
    float: left;
    font-weight:normal;
    height: 35px;
    font-size: 20px;
    margin-top:3px;
    margin-right:7px;
}

.wmd-container {
    border:#cce6ec 3px solid;
    textarea {
        border: none;
    }
}
.users-page .wmd-container {
    width: auto;
}
.ask-page,
.question-page,
.edit-question-page,
.edit-answer-page {
    .wmd-container {
        width: 723px;
        width: 100%;
    }
    #editor {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        width: 100%;
        height: 100%;
        padding: 6px;
    }
    .retagger-buttons {
        button {
            margin: 8px 10px 5px 0;
        }
    }
}

#editor { /* adjustment for editor preview */
    display: block;
    font-size: 100%;
    min-height: 210px;
    line-height: 18px;
    margin: 0;
    border: 0;
}

.users-page #editor {
    width: 187px;
}

#id_title {
    width: 100%;
}

.wmd-preview {
    color: #525252;
    margin: 0 0 12px 0;
    padding: 5px;
    background-color: #F5F5F5;
    min-height: 20px;
    overflow: auto;
    font-size:13px;
    font-family: @body-font;

    p {
       margin-bottom: 14px;
       line-height: 1.4;
       font-size: 14px;
    }

    p:last-child{
        margin-bottom: 0;
    }

    pre {
        background-color: #E7F1F8;
    }

    blockquote {
        background-color: #eee;
    }

    img {
        max-width: 600px;
    }

    a {
        color: @link;
    }

    li {
        margin-bottom:7px;
        font-size:14px;
    }
}

.defaultSkin table.mceLayout,
.defaultSkin table.mceLayout tr.mceFirst td {
    border: none;
}
.defaultSkin table.mceLayout tr.mceLast td {
    border-bottom: none;
}
.mceStatusbar {
    height: 5px;
    background: #fff;
}
.defaultSkin span.mce_askbot_imageuploader {
    background-position: -380px 0px;
}
.defaultSkin span.mce_askbot_attachment {
    background-image: url(../images/attachment.png);
    background-position: 0px 0px;
}

.user-page .wmd-buttons {
    width: 725px;
}

.preview-toggle {
    color: #b6a475; /*letter-spacing:1px;*/
    line-height: 28px;
    text-align: left;
    width: 100%;
}

.preview-toggle span:hover {
    cursor: pointer;
}

.after-editor {
    margin-top: 15px;
    margin-bottom: 15px;
}

.checkbox {
    margin-left:5px;
    font-weight:normal;
    cursor:help
}

.question-options {
    margin-top: 1px;
    color: #666;
    line-height: 13px;
    margin-bottom:5px;
}
.question-options label {
    vertical-align: text-bottom;
}

.edit-content-html {
    border-top: 1px dotted #D8D2A9;
    border-bottom: 1px dotted #D8D2A9;
    margin: 5px 0 5px 0;
}

.edit-question-page, #fmedit, .wmd-preview{
    color:@info-text-dark;
    
    #id_revision{
        font-size:14px;
        margin-top:5px;
        margin-bottom:5px;
        width: 100%;
    }
    #id_title{
        font-size: 24px;
        line-height: 24px;
        height: 36px;
        margin: 0px;
        padding: 0px 0 0 5px;
        border:#cce6ec 3px solid;
        width: 100%;
        margin-bottom:10px;
    }
    #id_summary{
        border:#cce6ec 3px solid;
        height:25px;
        padding-left:5px;
        width:395px;
        font-size:14px;
    }
    .title-desc{
        margin-bottom:10px;
    }
}

/* ----- Question template ----- */

.question-page{

    h1{
        padding-top:0px;
        font-family:@main-font;

        a {
            color:@question-link;
            font-size:26px;
            font-weight:normal;
            line-height:1;
        }
    }

    p.rss {
        float:none;
        clear:both;
        padding: 3px 0 0 23px;
        font-size: 15px;
        width:130px;
        background-position:center left;
        margin-left:0px !important;
    }

    p.rss a {
        font-family:@main-font;
        vertical-align: top;
    }

    .question-content {
        float:right;
        width:682px;
        margin-bottom:10px;
    }

    .question-content, .answer {
        pre, code {
            clear:both;
        }
    }

    #question-table{
        float:left;
        border-top:#f0f0f0 1px solid;
    }

    #question-table,
    .answer-table {
        margin: 8px 0 6px 0;
        border-spacing: 0px;
        width: 670px;
        padding-right:10px;
    }

    .answer-table {
        margin-top:0px;
        border-bottom: 1px solid #D4D4D4;
        float:right;
    }

    .answer-table td,
    #question-table td {
        width:20px;
        vertical-align:top;
    }
    .question-body, .answer-body {
        overflow: auto;
        margin-top:10px;
        font-family:@body-font;
        color:#4b4b4b;
        word-wrap: break-word;

        p{
            margin-bottom:14px;
          line-height:1.4;
          font-size:14px;
          padding:0px 5px 5px 0px;
        }
        
        a {
            color:@link;
        }
        
        li {
            margin-bottom:7px;
        }
    }

    .question-body IMG, .answer-body IMG {
        max-width: 600px;
    }

    .post-update-info-container {
        float: right;
        width: 175px;
    }

    .post-update-info {
        background: #fff url(../images/background-user-info.png) repeat-x bottom;
        float: right;
        font-size: 9px;
        font-family:@secondary-font;
        width: 158px;
        padding:4px;
        margin:0px 0px 5px 5px;
        line-height: 14px;
        .rounded-corners(4px);
        .box-shadow (0px, 2px,1px,#bfbfbf);
        
         p {
             line-height: 13px;
            font-size: 11px;
            margin: 0 0 2px 1px;
            padding: 0;
        }
        a{
            color:#444;
        }
        .gravatar {
            float: left;
            margin-right: 4px;
        }

        p.tip {
            color: #444;
            line-height: 13px;
            font-size: 10px;
        }
    }

    .post-controls{
        font-size: 11px;
        line-height: 12px;
        min-width: 200px;
        padding-left: 5px;
        text-align:right;
        clear: left;
        float: right;
        margin-top:10px;
        margin-bottom:8px;
        
        a,
        span.dropdown-toggle {
            color: #777;
            padding: 0px 7px 3px 18px;
            cursor: pointer;
            border: none;
            font-size:12px;
            font-family:@body-font;
            text-decoration: none;
            height:18px;
            line-height:18px;
            margin-top:-2px;
            margin-left:4px;
        }
        
        a:hover,
        span.dropdown-toggle:hover {
            background-color: #f5f0c9;
        }
        span.dropdown-toggle {
            background: url(../images/sprites.png) no-repeat -7px -242px;
            .rounded-corners(3px);
            position: relative;
        }
        span.dropdown-toggle:hover {
            padding-right: 0;
            background: url(../images/sprites.png) no-repeat -7px -274px;
            form {
                margin: 0;
            }
            input {
                display: block !important;
                height: 20px !important;
                line-height: 20px !important;
                margin: 0;
                padding: 0 5px;
                .rounded-corners(0);
                width: 100% !important;
            }
            .dropdown-menu {
                display: block;
                padding: 5px 0;
                right: -5px !important;
                left: auto;
                li,
                li:hover {
                    display: block !important;
                    margin: 0;
                    padding: 0;
                    width: 100% !important;
                }
                li:hover {
                    background-color: #f5f0c9;
                }
            }
        }
        .sep {
            color: #ccc;
            float:right;
            height:18px;
            font-size:18px;
        }
    }
    .post-controls, .answer-controls{
        .question-delete{
            background: url(../images/delete.png) no-repeat left -1px;
            padding-left:11px;
        }
        .question-flag{
            background: url(../images/flag.png) no-repeat 2px 0;
        }
        .answer-publish{
            background: url(../images/publish.png) no-repeat center left;
        }
        .answer-unpublish{
            background: url(../images/unpublish.png) no-repeat 2px center;
        }
        .question-edit{
            background: url(../images/edit2.png) no-repeat 3px 1px;
        }
        .question-retag{
            background: url(../images/retag.png) no-repeat center left;
        }
        .question-close{
            background: url(../images/close.png) no-repeat center left;
        }
        .permant-link{
            background: url(../images/link.png) no-repeat 2px 1px;
        }

        .answer-convert{
          float:right;
          clear: left;
          /*background: url(../images/link.png) no-repeat center left;*/
        }
        
        .answer-convert input{
            font-size:12px;
            color: #777;
            font-family:@body-font;
            text-decoration: none;
            display:inline;
            white-space:nowrap;
            padding-left: 0px;
            background: none;
            border: none;
            padding: 0px 7px 3px 18px;
            float:right;
            height:18px;
            line-height:18px;
            margin-top:-2px;
            margin-left:4px;
            box-shadow: none;
        }
        
        .answer-convert input:hover{
            background-color: #f5f0c9;
            .rounded-corners(3px);
        }
    }
    .tabBar{
       width:100%;
    }

    #questionCount{
        float:left;
        font-family:@main-font;
        line-height:15px;
    }

    .question-img-upvote, .question-img-downvote,
    .answer-img-upvote, .answer-img-downvote {
        width: 25px;
        height: 20px;
        cursor:pointer;
    }

    .question-img-upvote, .answer-img-upvote {
        background: url(../images/vote-arrow-up-new.png)  no-repeat;
    }

    .question-img-downvote, .answer-img-downvote {
        background: url(../images/vote-arrow-down-new.png) no-repeat;
    }

    .question-img-upvote:hover, .question-img-upvote.on,
    .answer-img-upvote:hover, .answer-img-upvote.on {
        background: url(../images/vote-arrow-up-on-new.png) no-repeat;
    }

    .question-img-downvote:hover, .question-img-downvote.on,
    .answer-img-downvote:hover, .answer-img-downvote.on {
        background: url(../images/vote-arrow-down-on-new.png) no-repeat;
    }

    #fmanswer_button{
        margin:8px 0px;
    }
    .question-img-favorite:hover {
        background: url(../images/vote-favorite-on.png)
    }
    div.comments {
        padding: 0;
    }
    #comment-title{
       font-weight:bold;
       font-size:23px;
       color:@section-title;
       width:200px;
       float:left;
       font-family:@main-font;
    }
    .comments {
        font-size: 12px;    
        clear: both;
        
        div.controls {
            clear: both;
            float:left;
            width: 100%;
            margin: 3px 0 20px 5px;
        }
        
        .controls a {
            border: none;
            color: #988e4c;
            padding: 0 3px 5px 22px;
            font-family: @body-font;
            font-size: 13px;
            font-weight: normal;
            background: url(../images/comment.png) no-repeat center left;
            .box-shadow(0, 0, 0);
            .text-shadow(0, 0, 0);
        }

        .controls a:hover {
            text-decoration: none;
        }

        .button {
            color: #988e4c;
            font-size: 11px;
            padding: 3px;
            cursor: pointer;
        }
        a {
            background-color: inherit;
            color: @link;
            padding: 0;
        }
        
        form.post-comments {
            padding: 6px 6px 7px 42px;
            border-bottom: 1px solid #edeeeb;
            margin-bottom: 0;
        }

        textarea {
            box-sizing: border-box;
            border: #cce6ec 3px solid;
            font-family: @body-font;
            font-size: 13px;
            height: 54px;
            line-height: 1.3;
            margin: -1px 0 7px 1px;
            outline: none;
            overflow:auto;
            padding: 0px 19px 2px 3px;
            width:100%;
        }
        input {
            margin-left: 10px;
            margin-top: 1px;
            vertical-align: top;
            width: 100px;
        }
        button.submit {
            height: 26px;
            line-height: 26px;
            padding: 0 8px;
            margin-right: 6px;
        }
        .counter {
            display: inline-block;
            width: 245px;
            float:right;
            color:#b6a475 !important;
            vertical-align: top;
            font-family:@body-font;
            float:right;
            text-align:right;
        }
        .comment {
            border-bottom: 1px solid #edeeeb;
            clear: both;
            margin: 0;
            padding-bottom: 4px;
            overflow: auto;
            font-family: @body-font;
            font-size: 11px;
            min-height: 25px;
        }
        div.comment:hover {
            background-color: #efefef;
        }
        a.author{
            background-color: inherit;
            color: @link;
            padding: 0;
        }

        a.author:hover {
            text-decoration: underline;
        }
        span.delete-icon{
            background:url(../images/close-small.png) no-repeat;
            border:0;
            width:14px;
            height:14px;
        }
        span.delete-icon:hover{
            border:#BC564B 2px solid;
            .rounded-corners(10px);
            margin: -3px 0px 0px -2px;
        }
        .content {
            margin-bottom: 7px;
        }

        .comment-votes {
            float: left;
            width: 37px;
            line-height: 130%;
            padding: 6px 5px 6px 3px;
        }

        .comment-body {
            line-height: 1.3;
            margin: 3px 26px 0 46px;
            padding: 5px 3px;
            color: #666;
            font-size:13px;

            .edit{
                padding-left:6px;
            }

            .convert-comment {
                display: inline;
                white-space: nowrap;
                padding-left: 0px;
                input {
                    background: none;
                    padding: 0px;
                    color: #1B79BD;
                    border:none;
                    height: 13px;
                    width:auto;
                    font-family: Arial;
                    font-size: 13px;
                    font-weight: normal;
                    line-height: 13px;
                    margin: 0 0 0 8px;
                    .box-shadow(0, 0, 0);
                    .text-shadow(0, 0, 0);
                }

                input:hover {
                    text-decoration: underline;
                    cursor: pointer;
                }
            }

        }

        .comment-body p{
            font-size:13px;
            line-height:1.3;
            margin-bottom: 3px;
            padding: 0;
        }

        .comment-delete {
            float: right;
            width: 14px;
            line-height: 130%;
            padding: 8px 6px;
        }

        .upvote {
            margin: 0px;
            padding-right: 17px;
            padding-top: 2px;
            text-align: right;
            height: 20px;
            font-size: 13px;
            font-weight: bold;
            color: #777;
        }

        .upvote.upvoted {
            color: #d64000;
        }

        .upvote.hover {
            background: url(../images/go-up-grey.png) no-repeat;
            background-position: right 1px;
        }

        .upvote:hover {
            background: url(../images/go-up-orange.png) no-repeat;
            background-position: right 1px;
        }

        .help-text{
            float: right;
            text-align:right;
            color: gray;
            margin-bottom: 0px;
            margin-top: 0px;
            line-height: 50%;
        }
    }
    #questionTools {
        font-size: 22px;
        margin-top: 11px;
        text-align: left;
    }

    .question-status {
        margin-top: 10px;
        margin-bottom:15px;
        padding: 20px;
        background-color: #fef7cc;
        text-align: center;
        border:#e1c04a 1px solid;
    }

    .question-status h3 {
        font-size: 20px;
        color:@info-text;
        font-weight:normal;
    }

    .vote-buttons {
        float: left;
        text-align: center;
        padding-top: 2px;
        margin:0px 10px 0px 3px;
        /* small IE fixes */
        *margin:0; 
        *height:210px;
        *width:30px;
    }

    .vote-buttons IMG {
        cursor: pointer;
    }

    .vote-number {
        font-family: @main-font;
        padding: 2px 0 5px 0;
        font-size: 25px;
        font-weight: bold;
        color: #777;
    }

    .vote-buttons .notify-sidebar {
        text-align: left;
        width:130px;
        margin-top: 7px;
        label {
            vertical-align: top;
        }
    }

    .tabBar-answer{
        margin-bottom:15px;
        padding-left:7px;
        width:723px;
        margin-top:10px;
    }
    .answer{
        .vote-buttons {
            float:left;
            margin-top: 10px;
        }
    }
    .accepted-answer {
        background-color: #f7fecc;
        border-bottom-color: #9BD59B;

        .vote-buttons {
            width:27px;
           margin-right:10px;
           margin-top:10px;
        }
    }

    .answer .post-update-info a{
        color:#444444;
    }
    
    .answered {
        background: #CCC;
        color: #999;
    }

    .answered-accepted {
        background: #DCDCDC;
        color: #763333;
        
        strong {
            color: #E1E818;
        }
    }

    .answered-by-owner {
        background: #F1F1FF;

        .comments .button {
            background-color: #E6ECFF;
       }
        .comments {
            background-color: #E6ECFF;
       }
        .vote-buttons {
           margin-right:10px;
        }
    }

    .answer-img-accept {
        background: url(../images/vote-accepted.png);
        width: 23px;
        height: 23px;
    }

    .accepted-answer .answer-img-accept,
    .answer-img-accept:hover {
        background: url(../images/vote-accepted-on.png)
    }

    .answer-body a {
        color:@link;
    }
    .answer-body li {
        margin-bottom:0.7em;
    }

    #fmanswer{
        color:@info-text;
        line-height:1.2;
        margin-top:10px;
 
        h2{
          font-family:@main-font;
          color:@section-title;
          font-size:24px;
        }
        label{
          font-size:13px;
        }
    }
    .message {
        padding: 5px;
        margin: 0px 0 10px 0;

    }

}

.facebook-share.icon, .twitter-share.icon, .linkedin-share.icon, .identica-share.icon {
    background: url(../images/socialsprite.png) no-repeat;
    display:block;
    text-indent:-100em;
    height:25px;
    width:25px;
    margin-bottom:3px;
}

.facebook-share.icon:hover, .twitter-share.icon:hover, .linkedin-share.icon:hover, .identica-share.icon:hover{
    opacity:0.8;
    filter: alpha(opacity=80);
}

.facebook-share.icon {
    background-position: -26px 0px;
}
.identica-share.icon {
    background-position: -78px 0px;
}
.twitter-share.icon {
    margin-top:10px;
    background-position: 0px 0px;
}
.linkedin-share.icon {
    background-position: -52px 0px;
}

/* -----Content pages, Login, About, FAQ, Users----- */

.openid-signin,
.meta,
.user-profile-edit-page,
{
    font-size:13px;
    line-height:1.3;
    color:@info-text-dark;
    p{
        font-size:13px;
        color:@info-text;
        line-height:1.3;
        font-family:@body-font;
        color:@info-text-dark;
        margin-bottom:12px;
    }
    h2{
        color:@info-text-dark;
        padding-left:0px;
        font-size:16px;
    }
}

.openid-signin,
.meta,
.users-page,
.user-profile-edit-page,
.user-profile-page {
    form{
        margin-bottom:15px;
    }

    input[type="text"],
    input[type="password"],
    select{
        border:#cce6ec 3px solid;
        height:25px;
        line-height: 25px;
        padding-left:5px;
        width:395px;
        font-size:14px;
    }
    select{
        width:405px;
        height:30px;
    }
    textarea{
        border:#cce6ec 3px solid;
        padding-left:5px;
        padding-top:5px;
        width:395px;
        font-size:14px;
    }
    input.submit{
        font-weight:normal;
        margin:5px 0px;
    }
    .cancel{
        background:url(../images/small-button-cancel.png) repeat-x top !important;
        color:#525252 !important;
    }
    .cancel:hover{
        background:url(../images/small-button-cancel.png) repeat-x bottom !important;
    }
    .re {
        float: left;
        width: 960px;
    }
}

.user-profile-page.inbox-group-join-requests {
    form {
        margin-bottom: 0;
    }
    table {
        margin-bottom: 13px;
    }
    td {
        padding-right: 10px;
    }
}

.inbox-flags.user-profile-page {
    .re {
        width: 810px;
    }
    .post-moderation-controls {
        float: left;
        width: 150px;
        margin-top: 23px;
        text-align: right;
    }
    .dropdown:hover {
        ul.dropdown-menu {
            display: block;
        }
    }
}

.openid-signin form {
    margin-bottom: 5px;
}

#email-input-fs,#local_login_buttons,#password-fs,#openid-fs{
    margin-top:10px;
    #id_email,#id_username,#id_password{
        font-size: 12px;
        line-height: 20px;
        height: 20px;
        margin: 0px;
        padding: 0px 0 0 5px;
        border:#cce6ec 3px solid;
        width:200px;
    }
}


.openid-input {
    background: url(../images/openid.gif) no-repeat;
    padding-left: 15px;
    cursor: pointer;
}

.openid-login-input {
    background-position: center left;
    background: url(../images/openid.gif) no-repeat 0% 50%;
    padding: 5px 5px 5px 15px;
    cursor: pointer;
    font-family: Trebuchet MS;
    font-weight: 300;
    font-size: 150%;
    width: 500px;
}

.openid-login-submit {
    height: 40px;
    width: 80px;
    line-height: 40px;
    cursor: pointer;
    border: 1px solid #777;
    font-weight: bold;
    font-size: 120%;
}

/* People page */

/*.users-page .tabBar{
    width:375px;
}*/

.users-page #group-openness-selector {
    width: 200px;
}

.user {
    padding: 5px 10px 5px 0;
    line-height: 140%;
    width: 166px;
    height: 32px;
    margin-bottom:5px;
    .user-micro-info{
        color:@info-text-dark;
    }
 
}

.user ul {
    margin: 0;
    list-style-type: none;
}

.user .thumb {
    clear: both;
    float: left;
    margin-right: 4px;
    display: inline;
}

/* tags page */

.tabBar-tags{
    margin-bottom:15px;
}

/* badges page */

a.medal {
    font-size: 17px;
    line-height: 250%;
    margin-right:5px;
    color: #333;
    text-decoration: none;
    background: url(../images/medala.gif) no-repeat;
    border-left: 1px solid #EEE;
    border-top: 1px solid #EEE;
    border-bottom: 1px solid #CCC;
    border-right: 1px solid #CCC;
    padding: 4px 12px 4px 6px;
}

a:hover.medal {
    color: #333;
    text-decoration: none;
    background: url(../images/medala_on.gif) no-repeat;
    border-left: 1px solid #E7E296;
    border-top: 1px solid #E7E296;
    border-bottom: 1px solid #D1CA3D;
    border-right: 1px solid #D1CA3D;
}

#award-list{
    .user{
        float:left;
       margin:5px;
    }
}

/* profile page */

.tabBar-profile{
    width:100%;
    margin-bottom:5px;
    float:left;
}

.user-profile-page {
    color:@info-text-dark;

    p{
        font-size:13px;
        line-height:1.3;
        color:@info-text-dark;
    }
    .avatar img {
        border:#eee 1px solid;
       padding:5px;
    }
    h2 {
        padding:10px 0px 10px 0px;
        font-family:@main-font;
    }

    .inputs {
        margin-top: 10px; 
        margin-bottom: 10px; 
    }
    select {
        margin-bottom: 12px;
    }
}

.user-details {
    font-size: 13px;
    h3{
        font-size:16px;
    }
}

.user-about {
    background-color: #EEEEEE;
    height: 200px;
    line-height: 20px;
    overflow: auto;
    padding: 10px;
    width: 90%;
    p{font-size:13px;}
}

.follow-toggle {
    height: auto;
}

.follow-toggle,.submit {
    font-weight:bold;
    line-height:26px;
    margin-top:-2px;
}

.follow-toggle:hover, .submit:hover {
    text-decoration:none !important;
}

.follow-toggle .follow{
    font-color: #000;
    font-style:normal;
}

.follow-toggle .unfollow div.unfollow-red{
    display:none;
}

.follow-toggle .unfollow:hover div.unfollow-red{
    display:inline;
    color:#fff;
    font-weight:bold;
    color:#A05736;
}

.follow-toggle .unfollow:hover div.unfollow-green{
    display:none;
}

.count {
    font-family: @main-font;
    font-size: 200%;
    font-weight: 700;
    color: #777
}

.scoreNumber {
    font-family: @main-font;
    font-size: 35px;
    font-weight: 800;
    color: #777;
    line-height: 40px; /*letter-spacing:0px*/
    margin-top: 3px;
}

.vote-count {
    font-family: Arial;
    font-size: 160%;
    font-weight: 700;
    color: #777;
}

.answer-summary {
    display: block;
    clear: both;
    padding: 3px;
}

.answer-votes {
    background-color: #EEEEEE;
    color: #555555;
    float: left;
    font-family: Arial;
    font-size: 15px;
    font-weight: bold;
    height: 17px;
    padding: 2px 4px 5px;
    text-align: center;
    text-decoration: none;
    width: 20px;
    margin-right: 10px;
    .rounded-corners(4px);
}

.karma-summary {
    padding:5px;
    font-size:13px;
}

.karma-summary h3 {
    text-align: center;
    font-weight: bold;
    padding:5px;
}

.karma-diagram {
    width:477px;
    height:300px;
    float:left;
    margin-right:10px;
}

.karma-details {
    float:right;
    width:450px;
    height:250px;
    overflow-y:auto;
    word-wrap:break-word;
    p{margin-bottom:10px;}
}

.karma-gained {
    font-weight:bold;
    background:#eee;
    width:25px;
    margin-right:5px;
    color:green;
    padding:3px;
    display:block;
    float:left;
    text-align:center;
    .rounded-corners(3px);
}

.karma-lost {
    font-weight:bold;
    background:#eee;
    width:25px;
    color:red;
    padding:3px;
    display:block;
    margin-right:5px;
    float:left;
    text-align:center;
    .rounded-corners(3px);
}

.submit-row{
    margin-bottom:10px;
}

/*-----  Revision pages ----- */

.revision {
    margin: 10px 0 10px 0;
    font-size: 13px;
    color:@info-text-dark;
    
    p{
        font-size:13px;
        line-height:1.3;
        color:@info-text-dark;
    }
    
    h3{
        font-family:@main-font;
        font-size:21px;
        padding-left:0px;
    }
    
    .header {
        background-color: #F5F5F5;
        padding: 5px;
        cursor: pointer;
    }

    .author {
        background-color: #e9f3f5;
    }

    .summary {
        padding: 5px 0 10px 0;
    }

    .summary span {
        background-color:#fde785;
        padding:6px;
        .rounded-corners(4px);
        display: inline;
        .box-shadow(1px, 1px, 4px, #cfb852);
    }

    .answerbody {
        padding: 10px 0 5px 10px;
    }

    .revision-mark {
        width: 150px;
        text-align: left;
        display: inline-block;
        font-size: 11px;
        overflow: hidden;

        .gravatar{
             float:left;
            margin-right:4px;
            padding-top:5px;
        }
    }

    .revision-number {
        font-size: 300%;
        font-weight: bold;
        font-family: sans-serif;
    }
}

del, del .post-tag {
    color: #C34719;
}

ins .post-tag, ins p, ins {
    background-color: #E6F0A2;
}

body.question-page ins,
body.main-page ins {
    /* a hack for google adwords
     * todo: make rule above more specific
     * and remove this one */
    background: transparent;
}

/* ----- Red Popup notification ----- */

.vote-notification {
    z-index: 1;
    cursor: pointer;
    display: none;
    position: absolute;
    font-family:@secondary-font;
    font-size:14px;
    font-weight:normal;
    color: white;
    background-color: #8e0000;
    text-align: center;
    padding-bottom:10px;
    .box-shadow(0px, 2px, 4px, #370000);
    .rounded-corners(4px);

    h3{
        background:url(../images/notification.png) repeat-x top;
       padding:10px 10px 10px 10px;
       font-size:13px;
       margin-bottom:5px;
       border-top:#8e0000 1px solid;
       color:#fff;
       font-weight:normal;
       .rounded-corners-top(4px);
    }
    a {
        color: #fb7321;
        text-decoration: underline;
        font-weight:bold;
    }

}


/* ----- Footer links , check blocks/footer.html----- */

#ground {
    width: 100%;
    clear: both;
    border-top: 1px solid #000;
    padding: 16px 0 0 0;
    background: @header-color;
    font-size:16px;
    font-family:@main-font;

    p {
        margin-bottom:0;
    }
}

.footer-links {
    color: #EEE;
    text-align:left;
    width:450px;
    float:left;
    a {
        color: #e7e8a8;
    }
}

.powered-link{
    width:450px;
    float:left;
    text-align:left;
    a{
        color:#8ebcc7;
    }
}

.copyright{
    color:#616161;
    width:500px;
    float:right;
    text-align:right;

    a{
        color:#8ebcc7;
    }
    img.license-logo {
        margin: 6px 0px 20px 10px;
        float:right;
    }
}


.notify-me {
    float: left;
}


span.text-counter {
    margin-right: 20px;
}

span.form-error {
    color: #990000;
    font-weight: normal;
    margin-left: 5px;
}

ul.errorlist {
    margin-bottom: 0;
}

p.form-item {
    margin: 0px;
}




.deleted {
    background: #F4E7E7 none repeat scroll 0 0;
}


/* openid styles */
.form-row {
    line-height: 25px;
}

table.form-as-table {
    margin-top: 5px;
}

table.form-as-table ul {
    list-style-type: none;
    display: inline;
}

table.form-as-table li {
    display: inline;
}

table.form-as-table td {
    text-align: right;
}

table.form-as-table th {
    text-align: left;
    font-weight: normal;
}

table.ab-subscr-form {
    width: 45em;
}

.submit-row {
    line-height: 30px;
    padding-top: 10px;
    display: block;
    clear: both;
}

.errors {
    line-height: 20px;
    color: #990000;
}

.error,
.openid-signin p.error {
    color: darkred;
    margin: 0;
    font-size: 12px;
    font-weight: bold;
    text-align: left;
}

.openid-signin p.error {
    text-align: center;
}

label.retag-error {
    color: darkred;
    padding-left: 5px;
    font-size: 10px;
}

.fieldset {
    border: none;
    margin-top: 10px;
    padding: 10px;
}


span.form-error {
    color: #990000;
    font-size: 90%;
    font-weight: normal;
    margin-left: 5px;
}


/*
.favorites-count-off {
    color: #919191;
    float: left;
    text-align: center;
}

.favorites-count {
    color: #D4A849;
    float: left;
    text-align: center;
}
*/

/* todo: get rid of this in html */
.favorites-empty {
    width: 32px;
    height: 45px;
    float: left;
}

.user-info-table {
    margin-bottom: 10px;
    border-spacing: 0;
}

/* todo: remove this hack? */
.user-stats-table .narrow {
    width: 660px;
}

.narrow .summary h3 {
    padding: 0px;
    margin: 0px;
}

.timeago {
    font-weight: bold;
    text-decoration: none;
}

.narrow .tags {
    float: left;
}




/* todo: make these more semantic */
.user-action-1 {
    font-weight: bold;
    color: #333;
}

.user-action-2 {
    font-weight: bold;
    color: #CCC;
}

.user-action-3 {
    color: #333;
}

.user-action-4 {
    color: #333;
}

.user-action-5 {
    color: darkred;
}

.user-action-6 {
    color: darkred;
}

.user-action-7 {
    color: #333;
}

.user-action-8 {
    padding: 3px;
    font-weight: bold;
    background-color: #CCC;
    color: #763333;
}

.revision-summary {
    background-color: #FFFE9B;
    padding: 2px;
}

.question-title-link a {
    font-weight: bold;
    color: #0077CC;
}

.answer-title-link a {
    color: #333;
}

/* todo: make these more semantic */
.post-type-1 a {
    font-weight: bold;

}

.post-type-3 a {
    font-weight: bold;

}

.post-type-5 a {
    font-weight: bold;
}

.post-type-2 a {
    color: #333;
}

.post-type-4 a {
    color: #333;
}

.post-type-6 a {
    color: #333;
}

.post-type-8 a {
    color: #333;
}

.hilite {
    background-color: #ff0;
}

.hilite1 {
    background-color: #ff0;
}

.hilite2 {
    background-color: #f0f;
}

.hilite3 {
    background-color: #0ff;
}

.gold, .badge1 {
    color: #FFCC00;
}

.silver, .badge2 {
    color: #CCCCCC;
}

.bronze, .badge3 {
    color: #CC9933;
}

.score {
    font-weight: 800;
    color: #333;
}


a.comment {
    background: #EEE;
    color: #993300;
    padding: 5px;
}

a.offensive {
    color: #999;
}

.message h1 {
    padding-top: 0px;
    font-size: 15px;
}

.message p {
    margin-bottom: 0px;
}

p.space-above {
    margin-top: 10px;
}

.warning {
    color: red;
}



button::-moz-focus-inner {
    padding:0;
    border:none;
}
.submit {
    cursor: pointer; /*letter-spacing:1px;*/
    background-color: #D4D0C8;
    height: 30px;
    border: 1px solid #777777; /*	width:100px; */
    font-weight: bold;
    font-size: 120%;
}

.submit:hover {
    text-decoration: underline;
}

.submit.small {
    margin-right:5px;
    height:20px;
    font-weight:normal;
    font-size:12px;
    padding:1px 5px;
}
.submit.small:hover {
    text-decoration:none;
}
.question-page a.submit {
    display: -moz-inline-stack;
    display: inline-block;
    line-height: 30px;
    padding: 0 5px;
    *display: inline;
}

.noscript {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 100;
    padding: 5px 0;
    text-align: center;
    font-family: sans-serif;
    font-size: 120%;
    font-weight: Bold;
    color: #FFFFFF;
    background-color: #AE0000;
}

.big {
    font-size: 14px;
}

.strong {
    font-weight: bold;
}

.orange {/* used in django.po */
    color: #d64000;
    font-weight: bold;
}

.grey {
    color: #808080;
}

.about div {
    padding: 10px 5px 10px 5px;
    border-top: 1px dashed #aaaaaa;
}

.highlight {
    background-color: #FFF8C6;
}

.nomargin {
    margin: 0;
}

.margin-bottom {
    margin-bottom: 10px;
}

.margin-top {
    margin-top: 10px;
}

.inline-block {
    display: inline-block;
}

.action-status {
    margin: 0;
    border: none;
    text-align: center;
    line-height: 10px;
    font-size: 12px;
    padding: 0;
}

.action-status span {
    padding: 3px 5px 3px 5px;
    background-color: #fff380; /* nice yellow */
    font-weight: normal;
    -moz-border-radius: 5px;
    -khtml-border-radius: 5px;
    -webkit-border-radius: 5px;
}

.list-table {
    td { 
        vertical-align: top;
    }
    border-spacing: 0;
}

/* these need to go */
table.form-as-table .errorlist {
    display: block;
    margin: 0;
    padding: 0 0 0 5px;
    text-align: left;
    font-size: 10px;
    color: darkred;
}

table.form-as-table input {
    display: inline;
    margin-left: 4px;
}

table.form-as-table th {
    vertical-align: bottom;
    padding-bottom: 4px;
}

.form-row-vertical {
    margin-top: 8px;
    display: block;
}

.form-row-vertical label {
    margin-bottom: 3px;
    display: block;
}

/* above stuff needs to go */
.text-align-right {
    text-align: center;
}

ul.form-horizontal-rows {
    list-style: none;
    margin: 0;
}

ul.form-horizontal-rows li {
    position: relative;
    height: 40px;
}

ul.form-horizontal-rows label {
    display: inline-block;
}

ul.form-horizontal-rows ul.errorlist {
    list-style: none;
    color: darkred;
    font-size: 10px;
    line-height: 10px;
    position: absolute;
    top: 2px;
    left: 180px;
    text-align: left;
    margin: 0;
}

ul.form-horizontal-rows ul.errorlist li {
    height: 10px;
}

ul.form-horizontal-rows label {
    position: absolute;
    left: 0px;
    bottom: 6px;
    margin: 0px;
    line-height: 12px;
    font-size: 12px;
}

ul.form-horizontal-rows li input {
    position: absolute;
    bottom: 0px;
    left: 180px;
    margin: 0px;
}

.narrow .summary {
    float: left;
}

.user-profile-tool-links {
    font-weight: bold;
    vertical-align: top;
}


ul.post-tags {
    margin-left: 3px;
}
ul.post-tags li {
    margin-top: 4px;
    margin-bottom: 3px;
}

ul.post-retag {
    margin-bottom:0px;
    margin-left:5px;
    input {
        width: 400px;
        height: 1.5em;
        margin: 3px 0 0 -3px;
    }
}

#question-controls .tags {
    margin: 0 0 3px 0;
}

#tagSelector {
    padding-bottom: 2px;
    margin-bottom: 0;
}

#related-tags {
    padding-left: 3px;
}

#hideIgnoredTagsControl {
    margin: 5px 0 0 0;
}

#hideIgnoredTagsControl label {
    font-size: 12px;
    color: #666;
}

#hideIgnoredTagsCb {
    margin: 0 2px 0 1px;
}

#recaptcha_widget_div {
    width: 318px;
    float: left;
    clear: both;
}

p.signup_p {
    margin: 20px 0px 0px 0px;
}

.simple-subscribe-options {
    ul {
        list-style: none;
        list-style-position: outside;
        margin: 0;
    }
    input {
        display: inline;
    }
}

.search-result-summary {
    font-weight: bold;
    font-size:18px;
    line-height:22px;
    margin:0px 0px 0px 0px;
    padding:2px 0 0 0;
    float: left;
}

.faq-rep-item { 
    text-align:right;
    padding-right:5px; 
}


.user-info-table .gravatar {
    margin:0;
}

#responses {
    clear:both;
    line-height:18px;
    margin-bottom:15px;
    h2 {
        margin: 0;
        padding: 0;
    }
}

#responses div.face {
    float:left;
    text-align: center;
    width: 54px;
    padding: 3px;
    overflow:hidden;
}

.response-parent {
    margin-top: 8px;
}

.response-parent strong{
    font-size: 20px;
}

.re {
    min-height: 57px;
    clear: both;
    margin-top: 10px;
}

#responses input {
    float:left;
}
#re_sections {
    margin-bottom:6px;
}
#re_sections .on {
    font-weight:bold;
}

.avatar-page ul {
    list-style: none;
}
.avatar-page li {
    display: inline;
}

.user-profile-page {
    .avatar p {
        margin-bottom: 0px;
    }
    .tabBar a#stats {
        margin-left: 0;
    }
    img.gravatar {
        margin: 2px 0 3px 0;
    }
    h3 {
        padding: 0;
        margin-top: -3px;
    }
    ul.tags {
        margin-left: 5px;
    }
}

.userList {
    font-size: 13px;
}

img.flag {
    border: 1px solid #eee;
    vertical-align: text-top;
}

.main-page img.flag {
    vertical-align: text-bottom;
}


a.edit {
    padding-left:3px;
    color: #145bff;
}

/* Pretty printing styles. Used with prettify.js. minified in one line */
.pln{color:#000}@media screen{.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun,.opn,.clo{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:red}}@media print,projection{.str{color:#060}.kwd{color:#006;font-weight:bold}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:bold}.lit{color:#044}.pun,.opn,.clo{color:#440}.tag{color:#006;font-weight:bold}.atn{color:#404}.atv{color:#060}}pre.prettyprint{padding:2px;border:1px solid #888}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style-type:none}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee}


#leading-sidebar {
    float: left;
}

/* language-specific fixes */
body.lang-es {
    #searchBar {
        /* need special left padding */
    }
}
body.anon.lang-es {
    #searchBar {
        /* need special left padding */
    }
}

/* user groups */
#user-groups ul {
    margin-bottom: 0px;
}
#user-groups .delete-icon {
    float: none;
    display: inline;
    color: #525252;
    padding: 0 3px 0 3px;
    background: #ccc;
    border-radius: 4px;
    line-height:inherit;
    -moz-border-radius: 4px;
    -khtml-border-radius: 4px;
    -webkit-border-radius: 4px;
}
#user-groups .delete-icon:hover {
    color: white;
    background: #b32f2f;
}

.question-page .post-update-info a.primary-group-name,
a.primary-group-name {
    color: #990E08;
    font-weight: bold;
}

.users-page {
    .wmd-prompt-dialog {
        background: #ccc;
    }
}

.group-wiki {
    .content {
        > p:last-child {
            margin-bottom: 5px;
        }
    }
    .group-logo {
        float: left;
        margin: 0 5px 3px 0;
    }
    .follow-toggle.group-join-btn {
        margin: 4px auto 10px auto;
        display: block;
    }
    .controls {
        margin: 0 0 10px 0;
    }
}

img.group-logo {
    height: 60px;/* important to align with the line spacing */
}

#groups-list {
    margin-left: 0px;
    .group-name {
        padding-right: 20px;
    }
    td {
        padding-bottom: 5px;
    }
}

.groups-page #groups-list {
    th, td {
        padding-right: 20px;
    }
    th {
        font-weight: bold;
    }
    th:nth-child(2),
    td:nth-child(2) {
        text-align: center;
    }
}

#reject-edit-modal {
    input, textarea {
        width: 514px;
    }
}

input.tipped-input,
textarea.tipped-input {
    padding-left: 5px;
}

.tipped-input.blank {
    color: @info-text;
}

.select-box {

    margin: 0;

    li {
        list-style-type: none;        
        list-style-position: inside;
        padding-left: 7px;
        font-size: 14px;
        line-height: 25px;
        input {
            margin: 0 0 2px -5px;
            font-size: 14px;
            line-height: 14px;
            vertical-align: middle;
            color: @info-text;
        }
    }
    li.selected,
    li.selected:hover {
        background-color: #fcf8e3;
        color: #c09853;
    }
    li:hover {
        background-color: #cecece;
        color: white;
    }
}

/* category selector */
.category-selector {
    border-spacing: 0;
    ul.select-box {
        height: 150px;
        width: 235px;
        overflow: auto;
        border: #ccc 3px solid;
    }
    td {
        vertical-align: top;
    }
    li {
        position: relative;
        color: @info-text;
    }
    li.tree:after {
        content: ">>";
        position: absolute;
        right: 5px;
        font-weight: bold;
    }
    li.selected.tree:after {
        color: #C09853;
    }
    th {
        color: @info-text;
        font-style: italic;
        font-size: 16px;
        font-weight: normal;
        padding-top: 5px;
        text-align: left;
    }
}

.question-page {
    .category-selector ul.select-box {
        width: 217px;
        input {
            width: 95px;
        }
    }
    .tag-editor {
        width: 660px;
        margin-left: 0;
    }
}

.editor-status {
    float: right;
    margin: 8px 350px 0 0;
    font-weight: bold;

    span {
        display: none;
    }
}

/* tag editor */
.tag-editor {
    height: 64px;
    border: #ccc 3px solid;
    padding-left: 8px;
    ul.tags {
        margin: 0;
        li {
            margin-top: 8px;
            height: 13px;
        }
    }
    input.new-tags-input,
    input.new-tags-input:focus {
        border: none;
        font-size: 15px;
        font-color: @info-text;
        height: 16px;
        line-height: 16px;
        margin-top: 9px;
        -webkit-box-shadow: none;/* undo bootstrap glow */
        -moz-box-shadow: none;
        box-shadow: none;
    }
}

/* fixes for bootstrap */
.caret {
    margin-bottom: 7px;
}
.btn-group {
    text-align: left;
}
.btn-toolbar {
    margin: 0;
}
.modal-footer {
    text-align: left;
}
.modal p {
    font-size: 14px;
}
.modal-body > textarea {
    width: 515px;
    margin-bottom: 0px;
}

/* modifications for small screens */
@media screen and (max-width: 960px) {/* content margins touch viewport */
    #homeButton {
        .sprites(1px,-36px);
    }
    #homeButton:hover {
        .sprites(-44px,-36px);
    }
}
@media screen and (max-width: 480px) {
    .content-wrapper {
        width: 100%;
    }
    #ContentRight {
        display: none;
    }
    #ContentLeft {
        width: 100%;
    }
    .main-page h1,
    #askButton,
    #metaNav #navBadges,
    .user-info,
    .copyright,
    .counts .views,
    .counts .votes,
    .help,
    .rss,
    .scope-selector,
    .settings,
    .tabBar,
    .tags,
    .userinfo,
    .widgets {
        display: none;
    }

    .ask-page,
    .edit-question-page {
        input[type="submit"].searchBtn {
            display: none;
        }
    }

    .ask-page,
    .edit-answer-page,
    .edit-question-page {
        .preview-toggle,
        .proxy-user-info,
        .answer-options,
        .question-options,
        .revision-comment,
        .wmd-preview,
        #wmd-hr-button,
        #wmd-heading-button {
            display: none;
        }
    }

    .edit-answer-page,
    .edit-question-page {
        label[for="id_title"],
        label[for="id_revision"],
        #id_revision {
            display: none;
        }
        #fmedit #id_title {
            margin: 15px 0 0 0;
        }
    }

    .question-page {
        .comment-votes {
            display: none;
        }
        .comments {
            form.post-comments {
                margin: 0 10px 0 0;
            }
            .comment .comment-body {
                margin-left: 5px;
            }
        }
        .post-update-info-container {
            float: none;
            width: 100%;
        }
        .post-update-info {
            float: none;
            margin-left: 0;
            width: 100%-5;

            br,
            .badge1,
            .badge2,
            .badge3,
            .gravatar,
            .reputation-score,
            .badge-count {
                display: none;
            }
        }
        .question-content,
        ul.post-retag input {
            width: 100%-12;
        }
        .answer-table,
        #question-table {
            width: 100%-15;
        }
    }

    .users-page {
        .userList td {
            display: block;
            width: 100%;
            .user {
                width: 100%;
            }
        }
    }

    .user-profile-page {
        td {
            display: block;
        }
    }

    .footer-links,
    .powered-link {
        text-align: center;
        width: 100%;
    }

    #userToolsNav {
        margin-left: 10px;
    }

    #metaNav {
        float: left;
        a#navUsers,
        a#navTags,
        a#navGroups {
            background: none;
            color: #d0e296;
            font-size: 16px;
            text-decoration: underline;
            margin-left: 20px;
            padding-left: 0;
        }
    }
    .powered-link {
        margin-bottom: 15px;
    }
    .short-summary:first-child {
        padding-top: 0;
    }
    #searchBar,
    body.anon #searchBar {
        margin: -49px 8px 0 52px;
    }
    .search-drop-menu,
    body.anon .search-drop-menu {
        margin: 0 8px 0 52px;
    }
    input[type="submit"].searchBtn {
        margin-right: 8px;
    }
    .short-summary {
        width: 100%;
    }
}

.tag-subscriptions {
    border-spacing: 10px; 
    border-collapse: separate;

    form {
        display: inline-block;
        margin-bottom: 0;
    }

    td {
        vertical-align: middle;
    }

    .action {
        cursor: pointer;
        color: #4A757F;
        font-family: 'Open Sans Condensed', Arial, sans-serif;
        text-decoration: none;
    }

    ul.tags li {
        margin: 2px 5px;
    }
}