.navbar {
    margin-bottom: 0px;
}

.navbar .navbar-inner {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.well {
    border: 1px solid rgba(0, 0, 0, 0.15);
    background-color: #f0f5ea;
    margin-bottom: 6px;
    padding: 6px;
}

hr {
    margin: 15px 0;
}

.left-column a {
    color: #487858;
}

.left-column {
    width: 23%;
    float: left;
    margin-right: 6px;
}

.right-column {
    width: 116px;
    float: right;
}

.center-column {
    margin-top: 5px;
    margin-right: 8px;
    overflow: hidden;
}

.top-container, footer {
    width: 100%;
    background-color: #94ce4a;
}

.top-container {
    padding: 8px 0 0 0;
}

.top-container .logo.span4 {
    margin-left: 10px;
    margin-right: -10px;
}

.top-container .search {
    margin-top: 17px;
}

.search_results {

}
.search_results .item {
    margin: 4px 0px;
    border: 1px solid #ddd;
    -border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
}
.search_results .item .title {
    position: relative;
    height: 18px;
    padding: 4px 8px;
    color: white;
    font-weight: bold;
    background-color: #696;
    border-top-left-radius: 8px;
    -moz-border-top-left-radius: 8px;
    -webkit-border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    -moz-border-top-right-radius: 8px;
    -webkit-border-top-right-radius: 8px;
}
.search_results .item .title .source {
    position: absolute;
    right: 10px;
    width: 25%;
    text-align: right;
}
.search_results .item .title a{
    position: absolute;
    left: 10px;
    width: 70%;
    color: white;
    font-weight: bold;
 }
.search_results .item .desc {
    padding: 4px;
    margin-left: 1em;
}
.search-form * {
    margin: 2px;
}


footer {
    clear: both;
}

.top-container a, footer a{
    color: #487858;
}

.bottom-container .content {
    width: 49.5%;
    padding: 0;
    margin: 0 -2px 5px;
    float: left;
    overflow: hidden;
}

.bottom-container .content div,
.bottom-container .content h3 {
    margin: 5px;
}

.bottom-container .content.left {
    margin-left: 1%;
}

.bottom-container .example h4,
.bottom-container .example h5 {
    display: inline;
}

.content.video .row {
    margin: 0 auto;
    width: 620px;
    height: 200px;
}

.content.video .span301px {
    width: 310px;
    margin: 0;
    height: 200px;
    overflow: hidden;
}

.content.video .span301px p, .content.video .span301px h4 {
    padding: 0 4px;
}

.content.video h4 {
    color: #487858;
}

.content.video.list .row {
    height: 255px;
}

.content.video.list .span301px {
    height: 235px;
}

.errorlist {
    color: #B94A48;
}

form td {
    color: #999;
}

form formset textarea {
    width: 90%;
}

form formset p {
    color: #999;
}

.tags .active {
    color: #00a1ff;
}

/* sidebar-item */
.sidebar-item hr {
    margin: 0;
}

.sidebar-item p {
    margin-bottom: 5px;
}

.sidebar-item {
    overflow: hidden;
}
/* sidebar-item */

/* right-column */
.right-column a {
    color: #487858;
}

.right-column .well h5, .right-column .well p {
    line-height: 15px;
    font-size: 10px;
}

.well.yandex-money {
    padding: 0px;
}

.well.yandex-money table {
    margin-left: -1px;
}

.well.yandex-money h5, .well.yandex-money p {
    margin-left: 5px;
}

#spelling_error_count_pending,
#spelling_error_count_assigned,
#spelling_error_count_fixed,
#spelling_error_count_invalid {
    font-weight: bold;
    padding: 2px;
    border-radius: 3px;
}

#spelling_error_count_pending {
    border: 1px solid yellow;
}

#spelling_error_count_assigned {
    border: 1px solid orange;
}

#spelling_error_count_fixed {
    border: 1px solid green;
}

#spelling_error_count_invalid {
    border: 1px solid red;
}
/* right-column */

/* content */
.content {
    background-color: #f5f5f5;
}

.content a {
    color: #487858;
}
/* content */

/* toc */
.toc .nav-list .nav-header,
.toc.nav-list .nav-header {
    margin-top: 0;
    padding: 1px 15px;
}

.toc .nav-list li,
.toc.nav-list li {
    line-height: 16px;
    padding-left: 5px;
}
/* toc */

/* comments */
.comments {
    margin-top: 5px;
}

.comments .comment {
    min-height: 80px;
}

.comments .comment.new {
    border: 2px solid #94ce4a; 
}

.comments .comment .text {
    padding-top: 18px;
}

.comments .user_thumb {
    margin-right: 10px;
}

.comments a.link, .comments a.reply, .comments a.delete, .comments a.edit {
    margin: 0 3px;
}

.comments .replied {
    margin-left: 90px;
    margin-top: 20px;
    background-color: #d0ecf2;
    margin-bottom: -16px;
}

#comment-form textarea {
    width: 90%;
}
/* comments */


/* book */
.content pre {
    padding: 1px;
}

.content .token,
.content .command,
.content code.filename,
.content code.varname,
.content code.function,
.content code.classname {
    color: #80A930;
}

.content code.filename,
.content code.varname,
.content code.function,
.content code.classname {
    background-color: none;
    border: none;
    font-weight: bold;
}

.content .note {
    padding: 3px 10px;
    background-color: #d0ecf2;
    border: 1px solid #eee;
    border: 1px solid rgba(0, 0, 0, 0.05);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);    
}

.content table thead th,
.content table thead td {
    border: 1px solid #111;
}

.content dl {
    margin-bottom: 8px;
    margin-left: 2px;
}
/* book */

/* edit profile */

.edit-form formset textarea {
    width: 70%;
}

.edit-form formset input {
    width: 40%;
}
/* edit profile */

/* login */
.login-link {
    display: block;
    float: left;
    margin: 3px;
    width: 113px;
    height: 32px;
    text-decoration: none;
}

.login-link:hover {
    text-decoration: none;
}

.login-link.open-id {
    background: url(../img/login.png) 0 0px no-repeat;
}

.login-link.twitter {
    background: url(../img/login.png) -120px 0px no-repeat;
}

.login-link.google {
    background: url(../img/login.png) -222px 0px no-repeat;
}

.login-link.securelayer {
    background: url(http://djbook.ru/static/img/securelayer_button.png) 0px 0px no-repeat;
}
/* login */

form textarea {
    width: 400px;
}

.alert.message {
    margin-bottom: 4px;
}

.alert-error a {
    color: #B94A48;
}

a.btn-success {
    color: #fff;
}

.alert {
    margin-bottom: 6px;
}

.nav-pills > .active > a, .nav-pills > .active > a:hover {
    background-color: #C0DB8A;
    color: #487858;
    font-weight: bold;
}

.nav-tabs > .active > a, .nav-tabs > .active > a:hover {
    background-color: #f5f5f5;
    color: #487858;
    font-weight: bold;
}
