html{
  height: 100%;
  overflow-y: scroll;
}

body{
  height: 100%;
  background: #2A2A2A;
  /*color: #D4D4D4;*/
  border-color: #666666;
}

a{
  color: #00BB11;
  /*font-weight: bold;*/
}

a:hover{
  color: #00C011;
  /*font-weight: bold;*/
}

h1{
  color: #00BB11;
}

/* Wrapper for page content to push down footer */
#wrap {
  min-height: 100%;
  height: auto !important;
  height: 100%;
  /* Negative indent footer by it's height */
  margin: 0 auto -80px;
}

.vertical-offset-100{
  padding-top:100px;
}

.dropdown-menu.show {
  left: auto;
  right: 0;
}

.icon-size{
  font-size: 87px;
}

#push{
  height: 80px;
}

#footer p{
  margin: 20px 0;
}

#main-container {
  background: #383838;
}

.forum-name-link{
  color: #00BB11;
}

a.forum-name-link{
  color: #00BB11;
  font-weight: bold;
}

a.forum-name-link:hover{
  color: #00C011;
  font-weight: bold;
}

a.forum-name-link:active{
  color: #00C011;
  font-weight: bold;
}

.card-body{
  color: #00BB11;
}

.forum-icon{
  color: #00BB11;
}

.card.forumlist{
  color: #00BB11;
}

.card.forumlist .card-body .forum-icon{
  color: #00BB11;
}

.card-header{
  color: #B0B0B0;
}

.row.m-0{
  background: #424242;
}

.card.forumlist .card-header .forum-count-col, .card.forumlist .card-header .forum-last-post-col {
  color: #B0B0B0;
}

.text-dark{
  color: #D4D4D4 !important;
  font-weight: bold;
}

a.text-dark:hover{
  color: #EEEEEE !important;
  font-weight: bold;
}

a.text-dark:active{
  color: #D4D4D4 !important;
  font-weight: bold;
}

a.text-dark:focus{
  color: #D4D4D4 !important;
  font-weight: bold;
}

.border-bottom {
  border-bottom: 1px solid #666666 !important;
}

.card {
  border: 1px solid #666666;
}

.fa-arrow-circle-right{
  /*color: #ff1400;*/
  color: #dc4e44;
}

.fa-rss-square{
  /*color: #ff1400;*/
  color: #dc4e44;
}

.fa-home{
  /*color: #ff1400;*/
  color: #dc4e44;
}

.breadcrumb{
  background-color: #383838;
}

.breadcrumb-item a{
  color: #00BB11;
}

.forum-page-statistics{
  color: #B0B0B0;
}

.statistics{
  color: #B0B0B0;
}

#footer{
  background-color: #383838;
}

.bg-light {
  background-color: #383838 !important;
}

.forum-last-post a{
  color: #D4D4D4;
  font-weight: bold;
}

.forum-last-post a:hover{
  color: #EEEEEE;
  font-weight: bold;
}

.bg-primary{
  background: #383838 !important;
}

a.btn-primary {
    color: #fff;
    background-color: #383838;
    border-color: #383838;
}

a.btn-primary:hover {
    color: #fff;
    background-color: #00BB11;
    border-color: #383838;
    font-weight: bold;
}

.card.topiclist .card-body .topic-icon {
  color: #00BB11;
}

.topic-last-post a {
    color: #D4D4D4;
    font-weight: bold;
}


.topic-created a {
    color: #D4D4D4;
    /*font-weight: bold;*/
}

.card.topiclist .card-header .topic-count-col, .card.topiclist .card-header .topic-last-post-col {
    color: #B0B0B0;
}

.post {
  background: #383838;
  border-color: #666666;
}

.card.post .card-body .post-content-wrapper .post-signature {
    border-top: 1px dashed #666666;
}

.card.post .card-body .post-sidebar, .topic-review .card-body .post-review .post-sidebar {
    border-left: 1px solid #666666;
}

a.btn-subscription {
    color: #fff;
    background-color: #383838;
    border-color: #383838;
}

a.btn-subscription:hover {
    color: #fff;
    background-color: #00BB11;
    border-color: #383838;
}

.post-content-wrapper{
  color: #d4d4d4;
}

.text-muted a{
  color: #d4d4d4;
  font-weight: bold;
}

.card.post-edit .card-header{
  color: #B0B0B0;
  background-color: #383838;
  border-bottom: 1px solid #666666;
}

.card.post-edit .card-body{
  color: #B0B0B0;
  background-color: #383838;
}

.card.post-edit .form-control{
  background-color: #2a2a2a;
  border-color: #383838;
}

.card.post-edit .form-control{
  background-color: #2a2a2a;
  border-color: #383838;
  color: #D4D4D4;
}

.card.post-edit input.form-control:focus{
  border-color: #666666;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(0, 255, 0, 0.6);
}

.editor-toolbar .fa{
  color: #00BB11;
}

.card-body textarea{
  color: #D4D4D4;
  font-family: arial, sans-serif;
  background: #2a2a2a !important;
  border: 1px inset #929292;
  border-radius: 5px;
  cursor: text;
}

.CodeMirror{
  color: #D4D4D4;
  background: #2a2a2a;
  border: 1px solid #666666;
}

.CodeMirror-cursor {
  border-left: 1px solid #d4d4d4;
  border-right: none;
  width: 0;
}

.CodeMirror-selectedtext {
  color: #000000;
  background: #666666;
}

.editor-toolbar {
  border-top: 1px solid #666666;
  border-left: 1px solid #666666;
  border-right: 1px solid #666666;
}

.editor-toolbar i.separator{
    /*color: #666666;*/
  border-left: 1px solid #666666;
  border-right: 1px solid #666666;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active{
  color: #B0B0B0;
  background-color: #2a2a2a;
  border-color: #666666;
}

.nav-tabs .nav-link{
    border-color: #666666;
}

select.form-control{
  color: #D4D4D4;
  background-color: #2a2a2a;
  border-color: #383838;
}

select.form-control:focus{
  color: #D4D4D4;
  border-color: #666666;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(0, 255, 0, 0.6);
}

.form-actions input.btn-primary{
  color: #fff;
  background-color: #00BB11;
  border-color: #383838;
}

.form-actions input.btn-primary:hover{
  color: #fff;
  background-color: #00BB11;
  border-color: #383838;
  font-weight: bold;
}

.form-actions input.btn-default{
  color: #fff;
  background-color: #383838;
  border-color: #383838;
}

.form-actions input.btn-default:hover{
  color: #fff;
  background-color: #00BB11;
  border-color: #383838;
}

.preview{
  background-color: #2A2A2A;
}

.preview .card-body{
  background-color: #383838;
}

.preview hr{
  border-top: 1px solid #666666;
}

.card.topic-review .card-header{
  color: #B0B0B0;
  background-color: #383838;
  border-bottom: 1px solid #666666;
}

.card.topic-review .card-body{
  color: #B0B0B0;
  background-color: #383838;
}

.topic-review .card-body .post-review {
  padding: 8px 0;
  border-bottom: 3px solid #666666;
}

.card.post-delete .card-header{
  color: #B0B0B0;
  background-color: #383838;
  border-bottom: 1px solid #666666;
}

.card.post-delete .card-body{
  color: #B0B0B0;
  background-color: #383838;
}

.card.topic-delete .card-header{
  color: #B0B0B0;
  background-color: #383838;
  border-bottom: 1px solid #666666;
}

.card.topic-delete .card-body{
  color: #B0B0B0;
  background-color: #383838;
}

.card-body{
  color: #B0B0B0;
  background-color: #383838;
}

.card-header{
  color: #B0B0B0;
  background-color: #383838;
  border-bottom: 1px solid #666666;
}

.controls input:focus{
  border-color: #666666;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(0, 255, 0, 0.6);
}

.controls input.btn-primary:focus{
  background-color: #00BB11;
  border-color: #666666;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(0, 255, 0, 0.6);
}


.controls input.btn-primary{
  color: #fff;
  background-color: #00BB11;
  border-color: #383838;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(0, 255, 0, 0.6);
}

.form-actions input.btn-primary:hover{
  color: #fff;
  background-color: #00BB11;
  border-color: #383838;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(0, 255, 0, 0.6);
}

.form-actions input.btn-primary:active{
  color: #fff;
  background-color: #00BB11;
  border-color: #383838;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(0, 255, 0, 0.6);
}

.form-actions input.btn-primary:focus{
  color: #fff;
  background-color: #00BB11;
  border-color: #383838;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(0, 255, 0, 0.6);
}

.form-actions input.btn-primary:active:focus{
  color: #fff;
  background-color: #00BB11;
  border-color: #383838;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(0, 255, 0, 0.6);
}

.form-actions input.btn-primary:not(:disabled):not(.disabled).active{
  color: #fff;
  background-color: #00BB11;
  border-color: #383838;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(0, 255, 0, 0.6);
}

.form-actions input.btn-primary:not(:disabled):not(.disabled):active{
  color: #fff;
  background-color: #00BB11;
  border-color: #383838;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(0, 255, 0, 0.6);
}

.resultslist .card-body .table {
  color: #B0B0B0;
  background-color: #383838;
}

/* Spoiler */
details {
  margin: 0px;
  padding: 6px;
  overflow: hidden;
  margin-bottom: 10px;
  display: block;
}

details summary {
  cursor: pointer;
  margin-bottom:2px
  width:90px;
  font-size:85%;
  font-weight: bold;
  color: white;
  margin:0px;
  padding:0px;
}
summary {
  display: block;
}
details[open] {
  border: 1px inset;
}
summary::before {
  content: '+ Показать';
}

details[open] > summary::before {
  content: '− Скрыть';
}

/* Hidden elements */
div.postright h3 {
  display: block;
  overflow: hidden;
  position: absolute;
  text-indent: -9999em;
  width: 0;
}

/* post signature */
.postsignature hr {
  height: 1px;
  margin-left: 0px;
  text-align: left;
  border-top: 1px solid #666666;
}

.postsignature {
  color: #526550;
}

.postsignature {
  font-size: 0.923em;
}

/* legacy images */

.postmsg img {
  vertical-align: middle;
}

.postmsg .postimg img {
  max-width: 98%;
  vertical-align: middle;
  margin: 7px 0.5em 7px 0;
}

.postmsg .postimg a:link img, .postmsg .postimg a:visited img {
  border-style: solid;
  border-width: 2px;
}


.postmsg .postimg a:link img, .postmsg .postimg a:visited img {
  border-color: #047E00;
}

.postmsg .postimg a:hover img, .postmsg .postimg a:active img, .postmsg .postimg a:focus img {
  border-color: #73A900;
}


/* quotations */

.quotebox {
  border-style: solid;
  border-width: 1px 1px 1px 3px;
  margin: 0.75em 1em;
  padding: 0 0.75em;
}

.quotebox cite {
  display: block;
  padding: 0.75em 0 0 0;
  font-weight: bold;
  line-height: 1.462em;
}

.quotebox blockquote {
  overflow: hidden;
  width: 100%;
}


.quotebox {
  background: #626262;
  border-color: #00BB11;
  color: #D4D4D4;
}

.quotebox cite {
  color: #B0B0B0;
}

/* quotations generated by markdown */

.post-content > blockquote {
  border-style: solid;
  border-width: 1px 1px 1px 3px;
  margin: 0.75em 1em;
  padding: 0 0.75em;
  overflow: hidden;
  background: #626262;
  border-color: #00BB11;
  color: #D4D4D4;
}

/* code bloacks and monospace pre-formatted blocks */

.codebox {
  border-style: solid;
  border-width: 1px;
  margin: 0.75em 1em;
  padding: 0;
}

.codebox pre {
  overflow: auto;
  width: 100%;
  direction: ltr;
  text-align: left;
}

* html .codebox pre {
  padding-bottom: 10px;
}

*:first-child+html .codebox pre {
  padding-bottom: 10px;
}

.codebox pre code {
  padding: 0.5em;
  white-space: pre;
}

div[class*=codebox] pre code {
  display: inline-block;
}

* html .codebox pre code {
  display: block;
}

.codebox pre.vscroll {
  height: 32em;
  overflow: auto;
  overflow-y: auto
}

.codebox, #punhelp .codebox code, .codebox code, .codebox pre code  {
  background: #626262;
  border-color: #00BB11;
  color: #D4D4D4;
}

pre, code {
  font-family: consolas, monaco, "bitstream vera sans mono", "courier new", courier, monospace;
  font-size: 1em;
}

pre code {
  font-size: 1em;
}


/* post edited by */


.postmsg .postedit {
  font-size: 0.857em;
}

.postmsg .postedit {
  color: #526550;
}


/* ---------- Moderator's warnings ---------------------------- */


.postwarn {
  border-style: solid;
  border-width: 0 0 0 3px;
  border-color: #e99;
  margin: 0.75em 1em 0em 2em;
  padding: 0 0.75em;
}

.postwarn cite {
  font-weight: bold;
}

.postwarn:before {
  content: "M";
  position: absolute;
  margin-left: -2em;
  font-size: 150%;
  font-weight: bold;
  color: #e99;
}

/* Pagination */

/*.pagination .page-item {
    padding: .25rem .5rem;
    font-size: .875rem;
    line-height: 1.5;
}
*/
.pagination .page-link {
    color: #00bb11;
    background-color: #424242;
    border: 1px solid #666666;
}

.page-item.disabled .page-link {
    color: #00bb11;
    background-color: #424242;
    border: 1px solid #666666;
}

.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #00bb11;
    border-color: #00bb11;
}

.page-link:focus {
    z-index: 2;
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(0,187,17,.25);
}


/* empty avatar */


.avatar a {
  color: #424242;
}

.avatar a:visited {
  color: #424242;
}

.avatar a:active {
  color: #424242;
}


/* user profile page */

.recent-posts .card .post {
    margin-bottom: 0;
    padding-top: 10px;
    border-bottom: 4px solid #666666;
}


.profile-sidebar .card .profile-avatar .avatar.empty {
    height: 150px;
    background: #626262;
    text-align: center;
    display: inline-block;
    color: #424242;
}


div.profile-username {
    background: #383838;
}


/* show links to posts in user post list view */
.member-posts .card.post .card-body .post-content-wrapper h4.subject a {
    display: inline;
}


/* markdown images */

.post-content img {
  vertical-align: middle;
}

.post-content img {
  max-width: 98%;
  vertical-align: middle;
  margin: 7px 0.5em 7px 0;
}

.post-content a:link img, .post-content a:visited img {
  border-style: solid;
  border-width: 2px;
}

.post-content a:link img, .post-content a:visited img {
  border-color: #047E00;
}

.post-content a:hover img, .post-content a:active img, .post-content a:focus img {
  border-color: #73A900;
}


/* hide h1 header in forum/topic list, topic detail, new post views */

#main_container > .row > .col-12 > h1 {
  display: none;
}


/* post link in forum list view */

a.forum-last-post-timestamp {
  color: #00BB11;
}

a.forum-last-post-timestamp:hover {
  color: #00BB11;
}


/* post link in topic list view */

a.topic-last-post-timestamp {
  color: #00BB11;
}

a.topic-last-post-timestamp:hover {
  color: #00BB11;
}


/* answers count, last post timestamp columns in topic list view*/

.topic-count-col, .topic-last-post-col {
  text-overflow: ellipsis;
  overflow : hidden;
  white-space: nowrap;
}

.topic-count-col:hover, .topic-last-post-col:hover {
  text-overflow: clip;
  white-space: normal;
  word-break: break-all;
}


/* underlined and striked-out legacy bbcode-formatted text */

.postmsg span.bbu {
  text-decoration: underline;
}

.postmsg span.bbs, .postmsg del {
  text-decoration: line-through;
}


/* horizontal ruler style for legacy messages*/

.postmsg hr {
    background: #bbc6b2;
}


/* horizontal ruler style for new messages*/

.post-content hr {
    background: #bbc6b2;
}

/* bbcode editor */
.editor {
    width: 100%;
    height: 300px;
    margin-bottom: 40px;
}
.editor-buttons {
    margin-bottom: 10px;
}
.editor-buttons .btn {
    cursor: pointer;
}




/* post signature */

.post-signature hr {
    border:none;
    height: 1px;
    margin-left: 0px;
    text-align: left;
}
.post-signature {
    font-size: 0.923em;
}
.post-signature, .postmsg .postedit {
    color: #526550;
}