/*
 * Copyright Luna 2015 - 2018
 * Licensed under MIT
 */

@import url(//fonts.googleapis.com/css?family=Open+Sans:400,300);

/* General fixes and Bootstrap style reset */
body {
	background-color: #e8e8e8;
}

.col-lg-1,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-md-1,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-10,
.col-md-11,
.col-md-12,
.col-sm-1,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-xs-1,
.col-xs-2,
.col-xs-3,
.col-xs-4,
.col-xs-5,
.col-xs-6,
.col-xs-7,
.col-xs-8,
.col-xs-9,
.col-xs-10,
.col-xs-11,
.col-xs-12 {
	padding-right: 5px;
	padding-left: 5px;
}

.form-horizontal .form-group {
	margin-left: 0;
	margin-right: 0;
}

.help-block {
	font-size: 90%;
	font-weight: 500;
}

.tab-footer {
    padding: 10px;
    margin-top: -10px;
    margin-bottom: 10px;
}

.tab-content .form-group .col-sm-3 {
	padding-left: 0;
}

.tab-content .form-group .col-sm-9 {
	padding-right: 0;
}

@media (max-width:767px) {
	.tab-content .form-group .col-sm-3 {
		padding-right: 0;
	}
	
	.tab-content .form-group .col-sm-9 {
		padding-left: 0;
	}
}

@media (min-width:768px) {
	.tab-content .form-group .col-sm-6:first-child {
		padding-left: 15px;
	}
	
	.tab-content .form-group .col-sm-6:last-child {
		padding-right: 15px;
	}
}

body.ltr {
    direction: ltr;
}

body.rtl {
    direction: rtl;
}

.emoji,
.emoji-ed {
	font-family: "Segoe UI Emoji","Segoe UI Symbol","Apple Color Emoji","Android Emoji","NotoColorEmoji","EmojiSymbols" !important;
}

/* General styles */
* {
	border-radius: 0 !important;
}

.form-control,
.form-control:focus {
    box-shadow: none;
}

.overflow {
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Header customization */
.bkg .jumbotron.profile,
.bkg .navbar,
.bkg .heading,
.bkg.enforce body,
.bkg.bkg-force .title-block-primary {
    background-position: center top;
    background-size: cover;
    background-attachment: fixed;
}

.bkg-png .jumbotron.profile,
.bkg-png .navbar,
.bkg-png .heading,
.bkg-png.enforce body,
.bkg-png.bkg-force .title-block-primary {
    background-image: url('../../../img/header.png') !important;
}

.bkg-jpg .jumbotron.profile,
.bkg-jpg .navbar,
.bkg-jpg .heading,
.bkg-jpg.enforce body,
.bkg-jpg.bkg-force .title-block-primary {
    background-image: url('../../../img/header.jpg') !important;
}

.bkg .navbar {
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.bkg .navbar-inverse .navbar-toggle,
.bkg .navbar-inverse .navbar-toggle:hover,
.bkg .navbar-inverse .navbar-toggle:focus {
    background: none !important;
}

/* Responsive utility class */
@media all and (max-width:530px) {
	.hidden-xxs {
        display: none;
	}
}

/* Fonts */
body {
	font-family: "Segoe UI","Open Sans",Helvetica,Arial,sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 100;
}

.bold {
	font-weight: 700;
}

.no-board, .no-thread {
    font-size: 120%;
    font-weight: 100;
}

.no-board {
    padding: 5px 15px;
}

.no-thread {
    padding: 10px;
}

/* Title blocks */
.title-block {
	color: #fff;
	padding: 25px 10px 10px 10px;
}

.title-block h1,
.title-block h2,
.title-block h3,
.title-block h4,
.title-block h5,
.title-block h6 {
	margin-top: 0;
	margin-bottom: 0;
}

.title-block h2 .pull-right{
    margin-top: -5px;
}

.title-block-primary {
	background-color: #1a79bc;
}

.title-block-primary .btn {
	color: #1a79bc;
	border-color: transparent;
}

.title-block-danger {
	background-color: #dc3232;
}

.title-block-danger .btn {
	color: #dc3232;
	border-color: transparent;
}

.title-block-success {
	background-color: #64b450;
}

.title-block-success .btn {
	color: #64b450;
	border-color: transparent;
}

.title-block p {
	margin-top: 10px;
	margin-bottom: 0;
}

.title-block-nav {
	padding-bottom: 0;
}

.title-block-nav .nav-tabs {
	margin-top: 15px;
	border: none;
}

.title-block-nav .nav-tabs > li > a {
	color: rgba(255,255,255,.6);
	border: none;
}

.title-block-nav .nav-tabs > li > a:focus,
.title-block-nav .nav-tabs > li > a:hover {
	color: #fff;
	background: transparent;
}

.title-block-nav .nav-tabs > .active > a,
.title-block-nav .nav-tabs > .active > a:focus,
.title-block-nav .nav-tabs > .active > a:hover {
	color: #1a79bc;
	border: none;
	background: #fff;
}

/* Pagination */
.btn-pagination {
    margin-top: 1px;
}

.title-block .pagination {
    margin: 0;
}

.btn-pagination .btn + .btn,
.btn-pagination .btn + .btn-group,
.btn-pagination .btn-group + .btn,
.btn-pagination .btn-group + .btn-group {
    margin-left: 1px;
}

.btn-pagination .btn {
    padding: 8px 14px;
}

.btn-pagination .btn.disabled {
    background: #f6f6f6;
}

.btn-pagination .btn.btn-default {
    background: #eee;
}

.btn-pagination .btn.btn-default:hover,
.night .title-block .btn-pagination .btn.btn-default:hover {
    background: #e8e8e8;
}

.btn-pagination + .list-group-thread {
    margin-bottom: 0;
}

.list-group-thread + .btn-pagination {
    margin-top: 0;
    margin-bottom: 10px;
}

.title-block .btn-pagination .btn.btn-default,
.night .title-block .btn-pagination .btn.btn-default {
    background: #fff;
}

.title-block .btn-pagination .btn.disabled {
    background: rgba(255,255,255,.4);
    color: #fff;
}

.title-block .btn-pagination .btn.btn-primary,
.night .title-block .btn-pagination .btn.btn-primary {
    color: #fff;
}

.title-block .btn-pagination .btn {
    padding: 6px 12px;
}

.title-block:last-child {
    margin-bottom: 10px;
}

.pagination > .active > a, 
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus,
.pagination > .disabled > span,
.pagination > .disabled > span:hover,
.pagination > .disabled > span:focus,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus
.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus,
.pagination > li > a,
.pagination > li > span {
    border-color: transparent !important;
}

.pagination li a {
    margin-left: 1px;
}

/* Color choise */
.color-accent {
	padding: 21px;
	margin-right: 1px;
	margin-left: 1px;
}

.accent-group .btn {
	border: 3px solid #fff !important;
	box-shadow: none;
}

.accent-group .btn:hover,
.accent-group .btn:focus,
.accent-group .btn:active,
.accent-group .active.btn {
	border: 3px solid #bbb !important;
}

.btn-primary.color-accent.accent-1 {
	background-color: #14a3ff !important;
}

.btn-primary.color-accent.accent-2 {
	background-color: #2788cb !important;
}

.btn-primary.color-accent.accent-3 {
	background-color: #0d4382 !important;
}

.btn-primary.color-accent.accent-4 {
	background-color: #c58be2 !important;
}

.btn-primary.color-accent.accent-5 {
	background-color: #ea69ae !important;
}

.btn-primary.color-accent.accent-6 {
	background-color: #8bb805 !important;
}

.btn-primary.color-accent.accent-7 {
	background-color: #047a36 !important;
}

.btn-primary.color-accent.accent-8 {
	background-color: #ffcd21 !important;
}

.btn-primary.color-accent.accent-9 {
	background-color: #ff7521 !important;
}

.btn-primary.color-accent.accent-10 {
	background-color: #ff4444 !important;
}

.btn-primary.color-accent.accent-11 {
	background-color: #c71f1f !important;
}

.btn-primary.color-accent.accent-12 {
	background-color: #c78d68 !important;
}

.btn-primary.color-accent.accent-13 {
	background-color: #ccc !important;
}

.btn-primary.color-accent.accent-14 {
	background-color: #999 !important;
}

.btn-primary.color-accent.accent-15 {
	background-color: #444 !important;
}

/* Buttons */
.btn {
    border-color: transparent !important;
}

.btn:active {
    box-shadow: none !important;
}

/* Alerts */
.alert {
    border: none;
    margin-bottom: 10px;
}

.alert h4 {
    margin-bottom: 5px;
}

.alert.alert-default {
    padding: 0;
}

/* Tabpanels */
.tab-content {
	padding: 10px;
	border: 1px solid #1a79bc;
	margin-bottom: 10px;
}

.tab-content-danger {
	border-color: #dc3232 !important;
}

.tab-content-success {
	border-color: #64b450 !important;
}

.tab-content :first-child {
	margin-top: 0;
}

.tab-content :last-child {
	margin-bottom: 0;
}

/* Image classes */
.img-center {
	display: block;
	margin-right: auto;
	margin-left: auto;
}

/* Horizontal lines */
hr {
	margin-top: 10px;
	margin-bottom: 10px;
}

/* Tables */
.table-bordered {
	margin-top: 10px;
}

/* Navbar */
.navbar-inverse {
	background-color: #2788cb;
	border: none;
	margin-bottom: 0;
}

.navbar-inverse .navbar-nav > li > a,
.navbar-inverse .navbar-brand,
.navbar-inverse .navbar-brand:focus,
.navbar-inverse .navbar-brand:hover {
	color: #fff;
}

.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:focus,
.navbar-inverse .navbar-nav > .active > a:hover {
	background-color: transparent;
}

.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .open > a:focus,
.navbar-inverse .navbar-nav > .open > a:hover {
	background-color: #136cab;
}

.navbar-inverse .navbar-collapse,
.navbar-inverse .navbar-form {
	border: none;
}

.navbar-inverse .navbar-toggle:focus,
.navbar-inverse .navbar-toggle:hover {
	background-color: transparent;
}

.navbar-inverse .navbar-toggle {
	border-color: transparent;
}
	
.navbar-inverse .dropdown-menu .divider {
    margin: 0;
}
	
.dropdown-menu > li > a {
    padding: 10px 15px;
    white-space: normal;
}
	
.dropdown-menu .divider {
    margin: 0;
}

.navbar-nav .open .dropdown-menu > li > a,
.navbar-nav .open .dropdown-menu .dropdown-header {
    padding: 10px 15px !important;
}

@media (max-width:767px) {
	.navbar-inverse .navbar-nav .open .dropdown-menu .divider {
		background-color: rgba(255,255,255,.2);
	}
	
	.navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
		color: #fff;
	}
}

@media (min-width:768px) {
	.dropdown-menu {
		background-color: #136cab;
		padding: 0;
		border: none;
		border-color: transparent;
		box-shadow: none;
	}
	
	.dropdown-menu > li > a {
		color: #fff;
	}

	.dropdown-menu > li > a:focus,
	.dropdown-menu > li > a:hover {
		color: #fff;
		background-color: rgba(0,0,0,.2);
	}
	
	.navbar-inverse .navbar-nav .open .dropdown-menu .divider {
		background-color: rgba(0,0,0,.2);
	}
}

.navbar-text {
    margin-left: 0;
    color: #fff !important;
}

.btn-toolbar .btn-link {
    color: #fff;
}

.notification-menu {
	width: 400px;
}

@media screen and (min-width: 768px) {
	.notification-menu .timestamp {
		color: rgba(255,255,255,.5);
	}
}

.notification-menu .dropdown-header {
	color: #fff;
	font-size: 23px;
	padding: 10px 10px 5px 10px;
}

.notification-menu li {
	position: relative;
}

.notification-menu li:hover .notification-link {
	text-overflow: ellipsis;
	opacity: .8;
	overflow: hidden;
	white-space: nowrap;
}

.notification-menu .notification-link .timestamp {
	color: rgba(255,255,255,.6);
}

.notification-menu li:hover .notification-link .timestamp {
	display: none;
}

.notification-row:not(:first-child) {
    margin-top: 1px;
}

.notification-row .col-xs-10,
.notification-row .col-xs-2 {
    padding: 0;
}

.notification-row .btn {
    padding: 8px 12px;
    white-space: normal;
}

.notification-row .btn-default {
    background: #eee;
    text-align: left;
}

.notification-row .btn-default:hover {
    background: #ddd;
}

/* Search form */
.search-form {
	border: 1px solid #f3f3f3;
}

.search-form:hover,
.search-form:focus,
.search-form:active {
	border-color: rgba(19,108,171,.6);
}

.search-form * {
	border-color: transparent;
	box-shadow: none;
}

.search-form input[type="text"] {
	background-color: #f3f3f3;
	height: 40px;
}

.search-form .form-control:focus {
	border-color: transparent;
	box-shadow: none;
}

.search-form .btn {
	background-color: #f3f3f3;
	border-color: transparent;
	padding-top: 8px;
	padding-bottom: 10px;
}

/* Forum status indicators */
.status-solved {
    color: #64b450;
}

.comment.answer {
    border-left: 6px solid #64b450 !important;
}

.status-pinned {
    color: #ffb900;
}

.comment.soft {
    border-left: 6px solid #ffb900 !important;
}

.status-new {
    color: #b8b8b8;
}

.status-important {
    color: #826eb4;
}

.status-moved {
    color: #2788cb;
}

.status-closed {
    color: #dc3232;
}

.comment.marked {
    border-left: 6px solid #dc3232 !important;
}

/* Labels */	
.list-group-thread .list-group-item .label {
	background-color: #ccc;
}
	
.list-group-thread .list-group-item:hover .label {
	background-color: #bbb;
}

.list-group-thread .list-group-item.soft {
    border-right: 6px solid #ffb900 !important;
}

.list-group-thread .label {
	padding: .2em .6em;
	border-radius: 4px !important;
}

.list-group-forum .label-rounded {
	font-size: 100%;
	padding: .175em .195em .23em .21em;
	border-radius: 4px !important;
}

.label-primary {
	background: #e8e8e8;
	color: #8e8e8e;
}

.label-default {
	background: #b8b8b8;
}

.label-success {
	background: #95c636;
}

.label-info {
	background: #2ac6e2;
}

.label-warning {
	background: #ffae00;
}

.label-danger {
	background: #ea4322;
}

/* Forum */
@media all and (min-width:768px) {
	.title-block-forum .forum-title {
        display: inline;
        margin-bottom: 0;
	}
    
    .title-block .naviton .btn {
        float: right;
    }
}

.title-block-forum .forum-title {
    margin-bottom: 6px;
}

/* Comment */
.comment-default {
	background-color: #efefef;
	margin-top: 1px;
}

.comment-default .comment-heading {
	background-color: #e5e5e5;
}

.comment-default hr{
	border-color: #ccc;
}

.comment-body {
	padding: 10px;
}

.comment-body p:last-child {
	margin-bottom: 0;
}

.comment-body .btn:hover {
	text-decoration: none;
}

.comment .media-heading {
	margin-bottom: 0;
	margin-top: 9px;
}

.comment-avatar {
	height: 60px;
	width: auto;
}

#comment input[type="text"],
#edit input[type="text"] {
    background-color: #eee;
    margin-bottom: 10px;
    font-size: 20px;
    padding: 12px;
    height: 44px;
    border: #ddd;
    box-shadow: none;
}

/* Debug */
.panel-warning.debug {
	border-color: #ffa200;
    box-shadow: none;
    margin-bottom: 10px;
}

.panel-warning.debug > .panel-heading {
	border-color: #ffa200;
}

.panel-warning.debug > .panel-heading {
	color: #fff;
	background-color: #ffa200;
}

/* Jumbotron */
.jumbotron.first-run {
	color: #fff;
	background-color: transparent;
	background-size: cover;
	background-attachment: fixed;
	padding-top: 0;
	padding-bottom: 0;
	margin-top: 50px;
	margin-bottom: 0;
}

.heading {
	color: #fff;
	background-color: #1a79bc;
	background-size: cover;
	background-attachment: fixed;
	padding-top: 11px;
	padding-bottom: 10px;
	margin-top: -50px;
	margin-bottom: 0;
}

.jumbotron.first-run h2 {
	margin-top: 0;
	margin-bottom: 0;
}

.jumbotron.first-run .btn {
	vertical-align: top;
	border-color: transparent;
}

.jumbotron.first-run h3 {
	margin-top: 0;
	margin-bottom: 10px;
}

.jumbotron.first-run p {
	font-size: 14px;
	font-weight: 500;
}

.jumbotron.first-run .list-group {
	margin-bottom: 0;
}

.first-run .form-control {
    border-color: rgba(255,255,255,.4);
    background: rgba(255,255,255,.2);
    margin-bottom: 2px;
    color: #fff;
}

.first-run .form-control:focus {
    border-color: rgba(255,255,255,.6);
}

.first-run .form-control::-moz-placeholder{
    color: rgba(255,255,255,.6);
    opacity:1;
}

.first-run .form-control:-ms-input-placeholder{
    color: rgba(255,255,255,.6);
}

.first-run .form-control::-webkit-input-placeholder{
    color: rgba(255,255,255,.6);
}

.first-run .btn {
    background-color: rgba(255,255,255,.2);
}

.first-run .btn:hover {
    background-color: rgba(255,255,255,.4);
}

.profile-header .jumbotron {
	color: #000;
	background-size: cover;
	background-attachment: fixed;
	margin-top: -50px;
	margin-bottom: 0;
}

.index.profile-header .jumbotron {
	margin-top: -70px;
}

.profile-header .jumbotron .username {
	font-size: 80px;
	font-weight: 700;
	text-transform: uppercase;
	opacity: .2;
	margin: 0;
	margin-bottom: -11px;
    overflow: hidden;
	z-index: 999;
}

@media (max-width:767px) {
	.index.profile-header .jumbotron .username {
		font-size: 40px;
		margin-bottom: -5px;
	}
}

.container .jumbotron,
.container-fluid .jumbotron {
	padding-top: 75px;
	padding-bottom: 0;
}

@media (max-width:767px) {
	.profile-header .jumbotron .username {
		text-align: center;
	}
}

@media (min-width:768px) {
	.profile-header .jumbotron .col-sm-12 {
		padding: 0;
	}
}

.jumbotron.edit-title {
    padding-top: 15px;
    padding-bottom: 15px;
    margin-bottom: 0;
    color: #fff;
}

.jumbotron.edit-title .container {
    padding-left: 10px;
    padding-right: 10px;
}

.jumbotron.edit-title h2 {
    margin: 0;
}

.jumbotron.edit-title h2 .naviton {
    line-height: .7;
}

/* First run avatar */
.user-avatar {
	background-color: transparent;
	padding-bottom: 0;
	border: none;
	margin-bottom: 0;
}

.user-avatar .img-responsive {
	max-height: 128px;
    width: auto;
}

/* Userlist */
.filters .form-group {
	margin-bottom: 0;
}

.user-entry {
	background-color: #eee;
	padding: 0;
	margin-bottom: 0;
    margin-top: 10px !important;
	height: 100px;
}

.user-entry img.media-object {
	width: 100px;
	height: 100px;
}

.user-entry h2 {
	margin-top: 12px !important;
	margin-bottom: 0;
}

.user-entry h4 {
	margin: 0;
}

.tab-fix {
	padding: 0 5px;
}

.tab-content-fix {
    padding: 10px 15px;
}

.tab-content-fix hr {
    margin-bottom: 0;
}

.tab-fix .col-lg-12 {
    margin-top: 10px;
}

/* Profile */
.img-avatar {
	max-height: 128px;
	width: auto;
}

.profile .profile-btn-nav .btn-group {
    margin-bottom: 10px;
}

.profile .profile-btn-nav .btn {
    box-shadow: none;
}

.profile .profile-btn-nav .btn.btn-primary:not(.active) {
    background: #eee;
    color: #555;
}

.profile .profile-btn-nav h4 {
    margin-top: 0;
    margin-bottom: 4px;
}

.profile .img-avatar {
	margin-top: -40px;
	margin-bottom: 10px;
}

.profile .stats {
	padding-top: 30px;
	padding-bottom: 30px;
}

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

.profile .col-stats:first-child {
	margin-bottom: 15px;
}

.profile .stats h4 {
	margin: 0;
}

@media (max-width:767px) {
	.stats h4 {
		display: inline;
	}
	
	.stats .col-xs-12:not(:last-child) {
		margin-bottom: 15px;
	}
}

.tab-about h3 {
    font-size: 150%;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

.tab-about h3 small {
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #aaa;
}

.input-group-addon + .form-control {
    border-left: none;
}

.tab-contact .input-group:not(:first-child) {
    margin-top: 10px;
}

.title-block + .title-block {
    margin-top: 10px;
}

/* Addons */
#mail-addon,
#website-addon,
#microsoft-addon,
#facebook-addon,
#twitter-addon,
#google-addon {
	color: #fff;
}

#mail-addon {
	background-color: #fdcd00;
    border-color: #fdcd00;
}

#website-addon {
	background-color: #00c48a;
    border-color: #00c48a;
}

#microsoft-addon {
	background-color: #21c9ff;
    border-color: #21c9ff;
}

#facebook-addon {
	background-color: #4862a3;
    border-color: #4862a3;
}

#twitter-addon {
	background-color: #00acee;
    border-color: #00acee;
}

#google-addon {
	background-color: #da4836;
    border-color: #da4836;
}

/* Container */
.main {
	background: #fff;
	padding: 10px 20px 0;
}

.sub {
	padding: 10px;
}

.profile-header {
	padding: 0;
}

@media all and (max-width:991px) {
	.container {
		width: 100%;
	}
}

/* Errors */
.error h2 {
	color: #1a79bc;
	font-size: 80px;
	text-transform: uppercase;
	margin-top: 0;
	margin-bottom: 0;
}

@media (max-width:767px) {
	.error h2 {
		font-size: 50px;
	}
}

.error h2 .bold {
	color: #ddd;
}

.error h3 {
	margin-top: 0;
	margin-bottom: 25px;
}

/* In box */
.progress {
    margin-bottom: 10px;
    height: 30px;
    box-shadow: none;
}

.progress-bar {
    line-height: 30px;
    box-shadow: none;
}

.btn-toolbar-profile {
    margin-bottom: 10px;
}

.new-inbox .form-group,
.new-inbox .editor {
    margin-bottom: 0;
}

.btn-bottom {
    margin-top: 1px;
    margin-bottom: 10px;
}

/* Modal forms */
#login-form .modal-xs,
#delete-form .modal-xs {
	max-width: 300px;
}

@media screen and (max-width: 767px) {
	.modal-dialog {
		margin: 30px auto;
	}
}

#newpass .modal-xs,
#newmail .modal-xs,
#newpass .modal-xs {
	max-width: 500px;
}

.modal-form .modal-content {
	background: none;
	border: none;
}

.modal-form form {
	margin-bottom: 0;
}

.modal-form .modal-header,
.modal-form .modal-footer {
	color: #fff;
	background-color: #2788cb;
}

.modal-form#delete-form .modal-header,
.modal-form#delete-form .modal-footer {
	color: #fff;
	background-color: #d9534f;
}

.modal-form .modal-title {
	font-size: 30px;
}

.modal-form .modal-footer a {
	color: #fff;
}

.modal-form .modal-footer a:hover {
	color: #ccc;
	text-decoration: none;
}

.modal-form .modal-body {
	background-color: #e8e8e8;
}

#login-form .form-control,
#newmail .form-control,
#newpass .form-control {
	margin-bottom: 10px;
}

.modal-form .form-control {
	border: none;
}

/* Editor */
.editor {
	padding: 10px;
	background: #2788cb;
    margin-top: 0;
	margin-bottom: 10px;
}

.thread .editor {
    margin-top: 1px;
}

.editor-only .editor {
    margin-top: 0;
}

.tab-content .editor:last-child {
	margin-bottom: 0;
}

.editor .btn {
	padding: 9px 13px;
	color: #2788cb;
}

.editor .btn-toolbar-top {
	margin-bottom: 10px;
}

.editor .btn-toolbar-bottom {
	margin-top: 10px;
}

.editor *, .editor .btn:hover, .open > .dropdown-toggle.btn-default, .editor textarea:focus {
	border-color: transparent !important;
	box-shadow: none !important;
}

.editor .dropdown-menu {
	background-color: #136cab;
	padding: 0;
	border: none;
	border-color: transparent;
	box-shadow: none;
}

.editor .dropdown-menu > li > a {
	color: #fff;
	padding: 10px 15px;
}

.editor .dropdown-menu > li > a:focus,
.editor .dropdown-menu > li > a:hover {
	color: #fff;
	background-color: rgba(0,0,0,.2);
}

.editor .navbar-inverse .navbar-nav .open .dropdown-menu .divider {
	background-color: rgba(0,0,0,.2);
	margin: 0;
}

.editor .info-textfield {
	margin-bottom: 10px;
}

.editor .btn-success {
    color: #fff !important;
}

.admin-note-edit {
    border: none;
    padding: 0;
    background: transparent;
    color: #a94442;
}

/* Thread listings */
.logged-guest .middot {
    display: none;
}

.middot {
    opacity: 0;
}

.commented-item .middot {
    opacity: 1;
}

/* List groups */
.list-group-luna.container {
    padding-left: 15px;
    padding-right: 15px;
}

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

.list-group-item h4 {
	margin: 0;
}

.list-group.list-group-luna .list-group-item {
	border: none;
	margin-top: 1px;
    margin-bottom: 1px;
}

.list-group.list-group-luna .list-group-item .label {
    font-size: 100%;
    padding: .3em .45em .4em;
    border-radius: 6px !important;
}

.list-group.list-group-luna .list-group-item.active {
	color: #fff;
	background-color: #1a79bc;
}

.list-group.list-group-luna .list-group-item:not(.active):hover {
	background-color: #eee;
}

.list-group.list-group-forum .list-group-item {
	padding-top: 9px;
	padding-bottom: 10px;
}

.list-group.list-group-thread {
	margin-top: 1px;
}

.list-group.list-group-thread .list-group-item {
	background-color: #f9f9f9;
	border: none;
	border-left: 6px solid #efefef;
    margin-bottom: 1px;
}

.list-group.list-group-thread .list-group-item.active {
	background-color: #f3f3f3;
	border-left: 6px solid #e8e8e8;
}

.list-group.list-group-thread .list-group-item.new-item {
    background: #eee;
}

.list-group-transparent .list-group-item,
.night .list-group-transparent .list-group-item,
.list-group-transparent a.list-group-item.list-group-item-danger  {
	color: #fff;
	background: rgba(255, 255, 255, .2);
	padding: 9px 15px;
	border-color: transparent;
	margin-bottom: 1px;
}

.list-group-transparent a.list-group-item:focus,
.list-group-transparent a.list-group-item:hover,
.list-group-transparent a.list-group-item.active {
	color: #fff;
	background: rgba(255, 255, 255, .4);
	border-color: transparent;
}

.list-group-transparent a.list-group-item.list-group-item-danger:focus,
.list-group-transparent a.list-group-item.list-group-item-danger:hover {
	background: rgba(255, 177, 178, .6);
	border-color: transparent;
}

h5 {
    font-weight: 600;
    text-transform: uppercase;
}

.sidebar .list-group {
	margin-bottom: 10px;
}

/* Modal */
.modal-content {
	border: none;
}

.modal-header,
.modal-footer {
	background-color: #1a79bc;
	color: #fff;
}

.modal-title {
	margin-top: 10px !important;
	margin-bottom: 0 !important;
}

.modal-footer a {
	color: #fff;
}

/* Footer */
footer a {
	color: #fff;
	text-decoration: none;
}

footer a:hover {
	color: #fff;
	text-decoration: underline;
}

footer .dropup {
    display: inline;
}

footer .dropdown-toggle {
	color: #fff !important;
	text-decoration: none;
}

footer .back-to-top {
    padding: 10px 13px;
}
	
.stats {
	font-size: 110%;
	font-weight: 100;
	color: #fff;
	background-color: #2788cb;
	padding-bottom: 10px;
}

.stats h4 {
	margin-bottom: 0;
	font-weight: 600;
}

.footer {
	color: #fff;
	background-color: #1a79bc;
	padding: 10px;
}

@media (max-width:767px) {
	footer .stats {
		padding: 30px;
	}
}

/* Animations */
.flash {
    animation: flash 3s infinite;
}

@keyframes flash {
    50% {
        opacity: .2;
    }
}

/* BBCode */
.underline {
	text-decoration: underline;
}

.strikethrough {
	text-decoration: line-through;
}

.redtext {
	color: red;
}

.bluetext {
	color: blue;
}

blockquote {
	font-size: 14px;
    padding: 0 10px 4px 10px;
}

blockquote footer {
	font-size: 17px;
}

.comment-h3 {
    margin-top: 7px;
    margin-bottom: 7px;
}

.comment-h3:first-child {
    margin-top: 0;
}

.comment-h3:last-child {
    margin-bottom: 0;
}

.panel.panel-spoiler {
    box-shadow: none;
    border: none;
}

.panel.panel-spoiler .panel-heading {
    color: #fff;
    border: none;
}

.panel.panel-spoiler .panel-body {
    background-color: #fff !important;
    padding: 10px;
}

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

/* Night mode */
.night body {
    background: #292929;
    color: #fff;
}

.night body .help-block {
    color: #bbb;
}

.night .container.main {
    background: #404040;
}

.night hr {
    border-color: #333;
}

.night .list-group.list-group-thread .list-group-item {
    background-color: #4a4a4a;
    border-left: 6px solid #454545;
}

.night .list-group.list-group-thread .list-group-item:hover {
    background: #5a5a5a;
}

.night .list-group.list-group-thread .list-group-item.new-item {
    background: #505050;
}

.night .list-group-thread .list-group-item .label {
    background: #404040;
}

.night .list-group-thread .list-group-item:hover .label {
    background: #464646;
}

.night .list-group-item {
    background: #404040;
}

.night .list-group.list-group-luna :not(.active).list-group-item:hover {
    background: #333;
}

.night .list-group-item {
    color: #fff;
}

.night .nav-tabs li.active a,
.night .nav-tabs li.active a:hover,
.night .nav-tabs li.active a:focus {
    background: #404040;
    color: #fff;
}

.night .list-group-luna .list-group-item:hover {
    color: #fff;
}

.night .form-control {
    background: #404040;
    color: #fff;
    border-color: #333;
}

.night .well {
    background: #494949;
    border-color: #404040;
}

.night .accent-group .btn {
    border-color: #444 !important;
}

.night .accent-group .btn.active,
.night .accent-group .btn:hover {
    border-color: #555 !important;
}

.night .comment-default {
    background-color: #4f4f4f;
}

.night .comment-default .comment-heading,
.night .user-entry {
    background-color: #4a4a4a;
}

.night #comment input[type='text'],
.night #edit input[type='text'] {
    background-color: #545454;
}

.night .table-striped > tbody > tr:nth-of-type(2n+1) {
    background: #4f4f4f;
}

.night .panel-body,
.night .panel {
    background: #404040;
}

.night .table > thead > tr > th,
.night .table > tbody > tr > th,
.night .table > tfoot > tr > th,
.night .table > thead > tr > td,
.night .table > tbody > tr > td,
.night .table > tfoot > tr > td {
    border-color: #595959;
}

.night .table-hover > tbody > tr:hover,
.night .table > thead > tr > td.active,
.night .table > tbody > tr > td.active,
.night .table > tfoot > tr > td.active,
.night .table > thead > tr > th.active,
.night .table > tbody > tr > th.active,
.night .table > tfoot > tr > th.active,
.night .table > thead > tr.active > td,
.night .table > tbody > tr.active > td,
.night .table > tfoot > tr.active > td,
.night .table > thead > tr.active > th,
.night .table > tbody > tr.active > th,
.night .table > tfoot > tr.active > th {
    background: #505050;
}

.night code {
    color: #f57998;
    background: #413d3f;
}

.night pre {
    color: #eee;
    border: #333;
    background: #333;
}

.night pre code {
    color: #fff;
    background: transparent;
}

.night .status-solved {
    color: #77ca62;
}

.night .status-pinned {
    color: #ffd800;
}

.night .status-new {
    color: #dddddd;
}

.night .status-important {
    color: #9985cb;
}

.night .status-moved {
    color: #38a2eb;
}

.night .status-closed {
    color: #f34040;
}

.night .profile .profile-btn-nav .btn.btn-primary:not(.active) {
    background: #505050;
    color: #ddd;
}

.night .search-form {
    border-color: #555;
}

.night .search-form input[type='text'],
.night .search-form .btn {
    background: #555;
}

.night .search-form .btn {
    color: #fff;
}

.night .search-form .form-control {
    border-color: transparent;
}

.night .btn-pagination .btn.disabled {
    background: #434343;
}

.night .btn-pagination .btn.btn-default {
    background: #4f4f4f;
}

.night :not(.title-block) .btn-pagination .btn.btn-default {
    color: #fff;
}

.night .btn-pagination .btn.btn-default:hover {
    background: #5d5d5d;
}

.night .notification-row .btn {
    color: #fff;
}

.night .notification-row .btn-default {
    background: #4f4f4f;
}

.night .notification-row .btn-default:hover {
    background: #5a5a5a;
}

.night .alert-info {
    background-color: #31708f;
    color: #d9edf7;
}

.night .alert-success {
    background-color: #3c763d;
    color: #dff0d8;
}

.night .alert-warning {
    background-color: #d69422;
    color: #fcf8e3;
}

.night .alert-danger {
    background-color: #a94442;
    color: #f2dede;
}

.night .admin-note-edit {
    background: transparent;
    color: #f2dede;
}

.night .panel.panel-spoiler .panel-body {
    background-color: #444 !important;
}