* {margin: 0; padding: 0; border: 0;-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box}
/* reset css */
:focus {outline: 0;}
a {color: #1752a6; text-decoration: none}
a:hover {color: #FF0000; text-decoration: underline}
img{max-width: 100%; height: auto; vertical-align:text-top;}
form {font-size: small}
h3 {padding: 0 0 2px 0}
hr {border-top: 1px solid gray}
p {margin-bottom: 4px;}
textarea {width: 100%; border: 1px solid #ADB7BF; padding: 5px; margin-bottom: 3px; border-radius: 2px; resize: vertical}
ul {padding-left: 20px}
input, select {border: 1px solid #ADB7BF; padding: 3px; border-radius: 2px}
p:last-child {margin-bottom: 0}
/* helpers */
.mb-3,.my-3 {margin-bottom: 4px}.mb-2{margin-bottom: 4px}
.mt-3,.my-3 {margin-top: 4px}
.mr-sm-2 {margin-right: 4px}
.text-muted {color: gray;}
/* main css */
body {background-color: #F4F4FE; color: #000000; font-family: Arial, Tahoma, sans-serif; font-size: small; max-width: 650px; margin: 0 auto}
#top {height: 0; line-height: 0; display: block}
#container {padding: 0 4px 4px; background-color: #fff}
#header .card-header {font-weight: normal;}


.top-menu {background-color: #F2F6F8; border: 1px solid #E9E9E9; color: #34617E; padding: 4px;margin-bottom: 4px}

.alert { padding: 10px; margin-bottom: 0px; border: 1px solid transparent; }
.alert-success{color:#155724;background-color:#d4edda;border-color:#c3e6cb}
.alert-success a{color:#0b2e13}
.alert-info { color: #394967; background-color: #d1e4f1; border-color: #bedaeb; }
.alert-info a{color:#062c33}
.alert-warning{color:#856404;background-color:#fff3cd;border-color:#ffeeba}
.alert-warning a{color:#533f03}
.alert-danger{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}
.alert-danger a{color:#491217}

.form-group {margin-bottom: 4px}
.form-group:last-child {margin-bottom: 0}
.form-control { padding: 4px 20px; color: #d6e0df; background-color: #000a10; border: 1px solid #21e0d7; border-radius: 50px; }
.form-inline .form-control{display:inline-block;width:auto}
.form-text {display: block}
.form-check-label {margin-left: 4px}

/* primary warning success danger */
.btn{display:inline-block; text-align:center; white-space:nowrap; border:1px solid transparent;padding:4px 8px;border-radius:2px;cursor: pointer;text-decoration: none}
.btn-primary{color:#fff;background-color:#00796B;border-color:#00796B}
.btn-primary:hover{color:#fff;background-color:#075F54;border-color:#075F54}
.btn-success{color:#fff;background-color:#28a745;border-color:#28a745}
.btn-success:hover{color:#fff;background-color:#218838;border-color:#1e7e34}
.btn-warning{color:#212529;background-color:#ffc107;border-color:#ffc107}
.btn-warning:hover{color:#212529;background-color:#e0a800;border-color:#d39e00}
.btn-danger{color:#fff;background-color:#dc3545;border-color:#dc3545}
.btn-danger:hover{color:#fff;background-color:#c82333;border-color:#bd2130}
.btn:hover {text-decoration: none}
.btn + .btn {margin-left: 4px}

.breadcrumb{background: #00796B; color: #FFF; margin-bottom: 4px; padding: 5px 4px}
.breadcrumb a{color: #ff0}

.card{}
.card-header{padding: 4px; font-weight: bold; border-bottom: 1px solid #dee2e6; background: #00796B; color: #FFF;}
.card-header a{color: #ff0}
.card-body{padding: 4px;border: 1px solid #dee2e6}
.card-body:not(:first-child) {border-top: 0}
.card-footer{background-color: #F2F6F8;border: 1px solid #dee2e6;border-top-width: 0;color: #34617E;padding: 4px}

.list-group:first-child {border-top: 1px solid #dee2e6}
.list-group-item {padding: 5px 4px; border: 1px solid #dee2e6; border-top-width: 0; word-wrap: break-word}
.list-group-item-success { color: #2f4369; background-color: #e6edff; }

.pagination > span, .pagination > a {display:inline-block; border: 1px solid #dee2e6; border-radius: 2px; padding: 4px; margin-left: 4px}
.pagination > span:first-child, .pagination > a:first-child {margin-left: 0}
.pagination .current {background-color: #00796B; color: #fff;}
.pagination .link:hover {background-color: #f9f9f9;}
.pagination .disabled {}

/*______________________-*/

/* BBCode */
.spoilerhead {background: #E8E8F2; color: #211F67; padding: 3px; border: 1px solid #9898AD}
.spoilerbody {background: #FAFAFC; border: 1px solid #AFAFC4; border-top: none; padding: 4px; color: #333; border-radius: 0px 0px 3px 3px}
.bblist {color: #4A5663; background: transparent url('../images/dot.gif') no-repeat left; padding: 0px 0px 0px 10px}
.phpcode {background-color: #E0E6E9; border: 1px dotted #9FAEBB; margin-top: 4px; padding: 0 2px 0 2px; /*overflow: auto;*/}
.quote {border-left: 4px solid #c0c0c0; color: #878787; font-size: x-small; margin-left: 2px; padding: 2px 0 2px 4px}
.quote_container {border: 1px solid #ccc;margin-top: 6px;margin-bottom: 6px}
.quote_header {font-weight: 700;color: #444;background-color: #E8F4FD;padding: 4px 8px;border-bottom: 1px solid #ccc}
.quote_body {font-style: italic;background-color: #fff6d4;padding: 5px 10px}
/* Embed player */
.embed-wrapper {max-width:500px; margin-left: auto;margin-right: auto}
.embed-container {position: relative;display: block;height: 0;padding: 0;padding-bottom: 56.25%;overflow: hidden}
.embed-container.soundcloud {padding-bottom: 30%}
.embed-container iframe, .video-container object, .video-container embed, .video-container video {position: absolute;top: 0;bottom: 0;left: 0;width: 100%;height: 100%;border: 0}

.status {color: #CD853F; font-size: x-small; font-weight: bold; padding-left: 0}
.sub { border-top: 1px dotted #ccc; font-size: 11px; margin-top: 3px; background: #c8d7e4; margin-bottom: -11px; margin-right: -11px; margin-left: -11px; padding: 5px; padding-left: 10px; font-weight: normal; }

/* helper */
.center {text-align: center}
.icon {padding: 3px 6px 3px 1px; vertical-align: middle}
.icon-inline {padding-right: 6px; vertical-align: middle}
.left {float: left}
.gray {color: #586776}
.alarm a {color: #FFFFFF; font-size: x-small}
.green, .green a {color: #008000}
.red, .red a {color: #FF0000}
/* todo: edit / library */
table.desc {border-top: 1px dotted #c6c17f; width: 100%; overflow: auto; font-size: x-small; margin-top: 4px}
table.desc td {font-size: x-small}
table.desc td.caption {width: 1%; text-align: right; color: #6f6f6f; white-space: nowrap}
.avatar {display: table-cell; vertical-align: top}
.avatar img {height: 60px; margin-right: 5px; margin-bottom: 5px; width: 60px}
.righttable {display: table-cell; vertical-align: top}

/* bbcode editor */
.bb_input {margin-bottom: 4px; background-color: #fff}
.bb_toolbar {line-height: 24px}
.bb_group {display: inline-block; background-color: #F0F7FC; border: 1px solid #D7EDFC; margin: 0 4px; border-radius: 3px}
.bb_group:first-child {margin-left: 0}
.bb_group a {display:inline-block; height: 24px;margin: 0 2px;}
.bbpopup {margin-top: 3px}
.bbpopup a {border: 1px solid #a7a7a7; height: 10px; display: inline-block; margin: 1px; vertical-align: middle; width: 10px}
.codepopup {margin-top: 3px;}
.codepopup a {border: 1px solid #a7a7a7; border-radius: 3px; background-color: #dddddd; color: black; font-weight: bold; padding: 2px 6px 2px 6px; display: inline-block; margin-right: 6px; margin-bottom: 3px; text-decoration: none}
/* forum vote */
.vote_result .result_label {margin-top: 3px}
.vote_result .result_bar {vertical-align: bottom;}
.vote_result .result_bar_container {display: inline-block; vertical-align: bottom; width: 102px; height: 12px; border: 1px solid #999; background-color: #ccc8c8}
.vote_result .bar {height: 10px}
.vote_result .bar.bg1 {background-color: #ff6666}
.vote_result .bar.bg2 {background-color: #ffc83c}
.vote_result .bar.bg3 {background-color: #b4e63c}
.vote_result .bar.bg4 {background-color: #64e600}
/* forum */
.forum-post .fa-avatar {width: 40px; padding-right: 4px}
.forum-post .fa-gender-icon {}
.forum-post .post-content {margin:4px -4px; padding: 4px; border-top: 1px solid #ccc;}
.list-group-item-dark { padding: 10px; border: 1px solid #dee2e6; border-top-width: 0; word-wrap: break-word; line-height: 20px; background: #f2f9ff; }

.card-header { padding: 10px; font-weight: bold; border-bottom: 1px solid #dee2e6; background: #b9c6e2; color: #505b71; }
.card-header a { color: #40495a; }
.card-footer { background-color: #F2F6F8; border: 1px solid #dee2e6; border-top-width: 0; color: #34617E; padding: 10px; }
.card-body { padding: 5px 10px 5px; border: 0px solid #dee2e6; line-height: 20px; background: #aebad4; border-top: 1px solid #dee2e6; color: #4b555a; padding-bottom: 10px; padding-top: 10px; }
.list-group-item { padding: 10px; border: 1px solid #dee2e6; border-top-width: 0; word-wrap: break-word; line-height: 20px; }
.btn-primary { color: #fff; background-color: #36587b; border-color: #26445d; margin-top: 5px; padding-left: 15px; padding-right: 15px; }
.breadcrumb { background: #95acd0; color: #FFF; margin-bottom: 0px; padding: 10px; border-bottom: 0px solid #9fabb7; }
.list-group-item a {color: #246a9e;font-weight: bold;line-height: 0px;}
.top-menu { background-color: #F2F6F8; border: 1px solid #E9E9E9; color: #34617E; padding: 10px; margin-bottom: 4px; }
.breadcrumb a {color:#476a84; font-weight: bold;}
.list5 { padding: 10px; border: 0px solid #dee2e6; border-top-width: 0; word-wrap: break-word; background: #292e3a; color: #fff;text-align: center;margin-top: -1px; }
.list5 a { color: #98afd0; text-decoration: none; }
.mt-3, .my-3 { margin-top: 0px; }
.bb_toolbar { line-height: 24px; display: none; }
.chat_message { color: #62656b; font-family: Arial, Tahoma, sans-serif; font-size: small; }
.list3 { padding: 10px; border: 1px solid #dee2e6; border-top-width: 0; word-wrap: break-word;background: #fff;padding-bottom: 13px; padding-top: 13px; }
.list4 { padding: 10px; border: 1px solid #dee2e6; border-top-width: 0; word-wrap: break-word; background: #d1dcec; border-left: 0px solid #dee2e6; border-right: 0px solid #dee2e6;padding-bottom: 13px; padding-top: 13px;}
.list3 a {font-weight: bold;color: #3d89ff;}
.list4 a {font-weight: bold;color: #3d89ff;}
#container { padding: 0 0px 0px; background-color: #fff; }
.mb-3, .my-3 { margin-bottom: -1px; }
.card-body2 { padding: 5px 10px 5px; border: 1px solid #dee2e6; line-height: 20px; background: #ffffff; border-top: 0px solid #dee2e6; }
.text-muted { color: white; }

.btn-success { color: #fff; background-color: #3b548c; border-color: #2a3c7d; }
.list6 { padding: 8px; border: 1px solid #dee2e6; border-top-width: 0; word-wrap: break-word; background: #fff; padding-bottom: 10px; padding-top: 10px; }
.chat-item:after {display:block; content:''; clear: both;}
.chat-avatar2 {float: left;padding-right: 5px;margin-right: 2px;}
.chat-message {margin-left: 40px; margin-top: -15px; font-weight: bold;}
.chat-time {font-size: smaller;color: gray;margin-top: 1px;}
.pagination { padding: 7px; border: 1px solid #dee2e6; border-top-width: 0; word-wrap: break-word; line-height: 20px; padding-left: 5px; background: #edf7ff; }
.current { background-color: #4d6e98; color: #fff; text-align: center; }
.pagination > span { display: inline-block; border: 1px solid #338ae2; border-radius: 2px; padding: 5px; margin-left: 4px; text-align: center; color: #ffffff; background: #338ae2; }
.pagination > a { display: inline-block; border: 1px solid #338ae2; border-radius: 2px; padding: 5px; margin-left: 4px; text-align: center; color: #338ae2; }
.pagination .current { background-color: #4193ea; color: #fff; }
.list-group-item3 { padding: 10px 10px 5px; border: 1px solid #dee2e6; border-top-width: 0; word-wrap: break-word; line-height: 17px; }
.space1 { padding: 3px; }
.img55 { max-width: 100%; height: auto; vertical-align: text-top; border-radius: 2px 0px 0px 10px; }
.list-group:first-child { border-top: 0px solid #dee2e6; }
.chat-time2 { font-size: 12px; color: #555556; margin-top: 0px; }
.card8 { position: relative; z-index: 1; color: #f5fcff; margin-bottom: -33px; padding-top: 19px; padding-left: 62%; text-shadow: 0 0 1px #00a1ff; padding-right: 2%; text-align: center; letter-spacing: 0.5em; font-weight: 400; font-family: Orbitron; }